/*
Theme Name: ReviewNews Child
Theme URI: https://ziua-de-ilfov.ro
Description: Child theme – v2.2 FINAL (ziar serios + radio evidențiat)
Author: Cosmin Matache
Template: reviewnews
Version: 2.2.0
Text Domain: reviewnews-child
*/

/* ==========================================================
   PALETĂ FINALĂ – LOCKED
   ========================================================== */
:root{
  --zi-verde:#1F6B4E;        /* identitate */
  --zi-albastru:#0B3C7D;     /* nav/UI */
  --zi-rosu:#B11226;         /* breaking */
  --zi-galben:#E2B100;       /* focus/accent */
  --zi-text:#1F2933;         /* text */
  --zi-text-soft:#4B5563;    /* meta */
  --zi-bg:#F1F3F5;           /* fundal */
  --zi-gri-top:#ECECEC;      /* top-header */
  --zi-border:#D1D5DB;       /* linii */
}

/* ==========================================================
   FONTURI – ZIAR SERIOS
   UI = SANS, ARTICOLE = SERIF
   ========================================================== */

/* UI / NAV / WIDGETURI */
body.aft-default-mode,
body.aft-default-mode .main-navigation,
body.aft-default-mode .top-header,
body.aft-default-mode .widget,
body.aft-default-mode button,
body.aft-default-mode input,
body.aft-default-mode select,
body.aft-default-mode textarea,
body.aft-default-mode .custom-menu-link,
body.aft-default-mode .search-watch,
body.aft-default-mode .entry-meta,
body.aft-default-mode .post-meta{
  font-family:'Inter','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

/* ARTICOLE */
body.aft-default-mode .entry-content,
body.aft-default-mode .entry-content p,
body.aft-default-mode .single .entry-title,
body.aft-default-mode blockquote{
  font-family:Georgia,'Times New Roman',serif;
}

/* Mărimi & ritm tipografic */
body.aft-default-mode{background:var(--zi-bg);color:var(--zi-text);font-size:15px;line-height:1.55;}
body.aft-default-mode .entry-content{font-size:18px;line-height:1.75;}
body.aft-default-mode .entry-meta,
body.aft-default-mode .post-meta{font-size:14px;color:var(--zi-text-soft);}

body.aft-default-mode h1.entry-title{font-size:38px;line-height:1.18;color:var(--zi-verde);margin:.35em 0 .6em;}
body.aft-default-mode h2{font-size:30px;line-height:1.22;margin:.9em 0 .45em;}
body.aft-default-mode h3{font-size:24px;line-height:1.28;margin:.9em 0 .45em;}
body.aft-default-mode h4{font-size:20px;line-height:1.32;margin:.9em 0 .45em;}

/* ==========================================================
   TOP HEADER – GRI (CA ÎN IMAGINE)
   ========================================================== */
body.aft-default-mode .reviewnews-header .top-header,
body.aft-default-mode .top-header{
  background:var(--zi-gri-top);
  color:#333;
  border-bottom:1px solid var(--zi-border);
  padding:6px 0;
}
body.aft-default-mode .top-header .topbar-date,
body.aft-default-mode .top-header #topbar-time{
  color:#333;
  font-weight:600;
}

/* ==========================================================
   HEADER MIJLOCIU (LOGO + PROMO)
   ========================================================== */
body.aft-default-mode .af-middle-header{
  background:#fff;
  border-bottom:1px solid var(--zi-border);
}

/* (tema îți ascunde deja site-title/description prin inline CSS; nu forțăm aici) */

/* ==========================================================
   RADIO – EVIDENȚIERE EDITORIALĂ (SUBTIL)
   ========================================================== */
body.aft-default-mode .header-promotion{
  position:relative;
  /*border-left:4px solid var(--zi-verde);*/
  padding-left:16px;
}

/* etichetă constantă RADIO */

/* widgetul cu banner custom – fără fundal/border suplimentar */
body.aft-default-mode .header-promotion .widget{
  background:transparent;
  border:none;
  padding:0;
}

/* ==========================================================
   MENIU PRINCIPAL
   ========================================================== */
body.aft-default-mode #main-navigation-bar{
  background:var(--zi-albastru);
}

/* linkuri meniu */
body.aft-default-mode .main-navigation .menu > ul > li > a,
body.aft-default-mode #main-navigation-bar #primary-menu > li > a{
  color:#fff;
  font-weight:700;
  font-size:15px;
}

/* hover – discret */
body.aft-default-mode .main-navigation .menu > ul > li > a:hover{
  color:#fff;
  opacity:.92;
}

/* underline (tema îl pune pe ::after; îl setăm galben) */
@media only screen and (min-width: 993px){
  body.aft-default-mode .main-navigation .menu-desktop > li.current-menu-item::after,
  body.aft-default-mode .main-navigation .menu-desktop > ul > li.current-menu-item::after,
  body.aft-default-mode .main-navigation .menu-desktop > li::after,
  body.aft-default-mode .main-navigation .menu-desktop > ul > li::after{
    background-color:var(--zi-galben) !important;
  }
}

/* ==========================================================
   ZONA DREAPTA MENIU: dark/light + search + subscribe
   (corectăm blocurile ca în mockup)
   ========================================================== */

/* buton dark/light – neutru, integrat */
body.aft-default-mode #aft-dark-light-mode-wrap a{
  opacity:.9;
}
body.aft-default-mode #aft-dark-light-mode-wrap .aft-icon-circle{
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
}

/* search icon – alb, fără zgomot */
body.aft-default-mode .search-icon{color:#fff;opacity:.92;}
body.aft-default-mode .search-icon:hover{opacity:1;}

/* SUBSCRIBE – buton verde curat (fără icon play) */
body.aft-default-mode .custom-menu-link a{
  background:var(--zi-verde);
  color:#fff;
  font-weight:700;
  font-size:14px;
  border-radius:0;
}
body.aft-default-mode .custom-menu-link a:hover{
  background:#195741;
}
body.aft-default-mode .custom-menu-link a i{display:none !important;}

/* ==========================================================
   BREAKING NEWS
   ========================================================== */
body.aft-default-mode .exclusive-now,
body.aft-default-mode .aft-breaking-news,
body.aft-default-mode .aft-breaking-news .breaking-news-title{
  background:var(--zi-rosu);
  color:#fff;
  font-weight:800;
}

/* ==========================================================
   CARDURI / WIDGETURI – PRESĂ, FĂRĂ UMBRE
   ========================================================== */
body.aft-default-mode .aft-post-wrapper,
body.aft-default-mode .reviewnews-widget,
body.aft-default-mode .widget{
  background:#fff;
  border:1px solid var(--zi-border);
  box-shadow:none !important;
  border-radius:0;
}

/* ==========================================================
   TITLURI ÎN LISTE (homepage widgets)
   ========================================================== */
body.aft-default-mode .aft-post-title a{color:var(--zi-verde);}
body.aft-default-mode .aft-post-title a:hover{text-decoration:underline;}

/* ==========================================================
   LINKURI ÎN CONȚINUT (WCAG)
   ========================================================== */
body.aft-default-mode .entry-content a{
  color:var(--zi-albastru);
  text-decoration:underline;
}
body.aft-default-mode .entry-content a:hover{
  text-decoration-thickness:2px;
}

/* Focus vizibil (WCAG 2.1 AA) */
body.aft-default-mode a:focus-visible,
body.aft-default-mode button:focus-visible,
body.aft-default-mode input:focus-visible{
  outline:3px solid var(--zi-galben);
  outline-offset:2px;
}

/* ==========================================================
   PRINT / PDF – CURAT, CU LOGO
   ========================================================== */
@media print{
  body{
    background:#fff !important;
    color:#000 !important;
    font-family:Georgia,'Times New Roman',serif !important;
    font-size:12pt;
    line-height:1.55;
  }

  /* ascundem UI */
  nav,
  .top-header,
  .main-navigation,
  #main-navigation-bar,
  .header-promotion,
  .search-watch,
  .exclusive-posts,
  .banner-exclusive-posts-wrapper,
  footer,
  #scroll-up{
    display:none !important;
  }

  /* logo rămâne */
  .site-branding{
    display:block !important;
    margin:0 0 18px !important;
  }

  h1,h2,h3{page-break-after:avoid;}
  img{max-width:100% !important;page-break-inside:avoid;}

  /* arătăm URL-urile */
  a::after{
    content:" (" attr(href) ")";
    font-size:10pt;
  }
}

/* ==========================================================
   PATCH v2.2.1 – RESTAURARE ICON PLAY (RADIO / SUBSCRIBE)
   ========================================================== */

/* afișăm din nou iconul */
body.aft-default-mode .custom-menu-link a i.fas.fa-play{
  display:inline-block !important;
  margin-right:8px;
  font-size:13px;
  line-height:1;
  vertical-align:middle;
  opacity:.9;
}

/* aliniere text + icon */
body.aft-default-mode .custom-menu-link a{
  display:flex;
  align-items:center;
  gap:8px;
}

/* icon discret, nu CTA agresiv */
body.aft-default-mode .custom-menu-link a i.fas.fa-play{
  color:#ffffff;
  opacity:.85;
}

/* hover subtil */
body.aft-default-mode .custom-menu-link a:hover i.fas.fa-play{
  opacity:1;
}

