/* ── VARIABILE CSS (CULORI, SPAȚIERI) ─────────── */
:root {
  --np-bg:              #ffffff;
  --np-surface:         #ffffff;
  --np-surface-2:       #eef0f2;
  --np-text:            #000000;
  --np-text-secondary:  #333333;
  --np-muted:           #8a8a8a;
  --np-border:          #bdbdbd;
  --np-header-bg:       #fbfbfb;
  --np-subnav-bg:       #eeeeee;
  --np-subnav-color:    #535353;
  --np-desc-color:      #494949;
  --np-date-color:      #747171;
  --np-last-news:       #0230a8;
  --np-hover-bg:        #f3f3f3;
  --np-exchange-bg:     #f0f0f0;
  --np-author-color:    #e85d00;
  --np-footer-border:   #bbbdbd;
  --np-green:           #00a544;
  --np-red:             #e40014;
  --np-chip-up-bg:      #e6f7ec;
  --np-chip-dn-bg:      #fde8ea;
  --np-cream-bg:        #fffaf0;
  --np-cream-text:      #8a5a12;
  --np-cream-border:    #c98a2c;
  --np-cream-divider:   #eadfc7;
}

/* ── TEMA INTUNECATA ───────────────────────────── */
:root[data-theme="dark"] {
  --np-bg:              #121316;
  --np-surface:         #1b1d21;
  --np-surface-2:       #202226;
  --np-text:            #f2f2f2;
  --np-text-secondary:  #cfcfcf;
  --np-muted:           #8f9096;
  --np-border:          #33353a;
  --np-header-bg:       #17181c;
  --np-subnav-bg:       #24262b;
  --np-subnav-color:    #a8a8a8;
  --np-desc-color:      #b5b5b5;
  --np-date-color:      #9a9a9a;
  --np-last-news:       #6d93ff;
  --np-hover-bg:        #24262b;
  --np-exchange-bg:     #24262b;
  --np-author-color:    #ff9142;
  --np-footer-border:   #33353a;
  --np-green:           #2ecc71;
  --np-red:             #ff4d5e;
  --np-chip-up-bg:      #163826;
  --np-chip-dn-bg:      #3a1620;
  --np-cream-bg:        #2b2416;
  --np-cream-text:      #e0b073;
  --np-cream-border:    #8a5a12;
  --np-cream-divider:   #3d3320;
}

/* ── GLOBAL ───────────────────────────────────── */
body        { font-family: 'Inter', Arial, Helvetica, sans-serif; background: var(--np-bg); color: var(--np-text); transition: background-color .2s ease, color .2s ease; }
a           { text-decoration: none; color: inherit; }
img         { max-width: 100%; }

/* ── AD BANNER (TEST) ─────────────────────────── */
.ad-banner       { background: var(--np-surface); padding: 10px 24px; display: flex; justify-content: center; border-bottom: 1px solid var(--np-border); }
.ad-banner:has(+ .ad-banner) { border-bottom: 0; }

/* ── HEADER ───────────────────────────────────── */
.site-header     { background: var(--np-header-bg); border-bottom: 1px solid var(--np-border); position: sticky; top: 0; z-index: 1000; }
.site-header .navbar-nav .nav-link {
  font-size: 15px; font-weight: 700; color: var(--np-text); padding: 8px 12px; border-radius: 4px;
}
.site-header .navbar-nav .nav-link:hover { background: var(--np-subnav-bg); }
.site-logo       { height: 40px; width: auto; display: block; }
#headerLogo      { margin-top: 6px; }
.search-box      { border: 1px solid var(--np-border); border-radius: 24px; padding: 5px 14px; background: var(--np-surface); display: flex; align-items: center; gap: 8px; width: 180px; }
.search-box input { border: none; outline: none; font-size: 14px; color: var(--np-muted); background: transparent; width: 100%; }
.btn-theme       { border: 1px solid var(--np-border); border-radius: 50%; background: var(--np-surface); color: var(--np-text); width: 34px; height: 34px; font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-theme[hidden], .footer-link-btn[hidden] { display: none; }
.navbar-toggler  { border: 1px solid var(--np-border); color: var(--np-text); background: var(--np-surface); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── MEGA MENU ("...") ────────────────────────── */
.mega-menu-wrap  { position: relative; }
.mega-menu-toggle { border: none; background: transparent; cursor: pointer; }
.mega-menu-panel {
  display: none; position: absolute; top: 100%; left: 0; z-index: 1001;
  background: var(--np-surface); border: 1px solid var(--np-border); border-radius: 8px;
  padding: 18px 24px; margin-top: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  width: max-content; gap: 32px; flex-wrap: wrap;
}
.mega-menu-panel.show { display: flex; }
.mega-menu-col   { display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.mega-menu-col a { font-size: 14px; font-weight: 600; color: var(--np-text); padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.mega-menu-col a:hover { background: var(--np-subnav-bg); }
@media (max-width: 767px) {
  .mega-menu-panel { position: static; box-shadow: none; margin-top: 4px; }
}

/* ── SUBHEADER (breaking) ─────────────────────── */
.subheader       { background: var(--np-cream-bg); border-bottom: 1px solid var(--np-border); height: 38px; overflow: hidden; }
.subheader-inner { display: flex; align-items: center; justify-content: center; max-width: 1272px; margin: 0 auto; padding: 0 16px; height: 100%; }
.subheader-scroll { min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subheader-scroll::-webkit-scrollbar { display: none; }
.subheader-track { display: flex; gap: 32px; white-space: nowrap; }
.subheader-track a { flex-shrink: 0; }
@media (max-width: 991px) {
  .subheader-inner { justify-content: flex-start; padding: 0 12px; }
  .subheader-track { gap: 22px; }
}
.subheader-track a { font-size: 13px; color: var(--np-cream-text); }
.subheader-track a:hover { color: var(--np-text); }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── EXCHANGE BAR ─────────────────────────────── */
.exchange-bar    { display: flex; align-items: center; gap: 8px; padding: 8px; }
.ex-scroll       { display: flex; align-items: center; gap: 8px; overflow-x: auto; scroll-behavior: smooth; flex: 1; min-width: 0; }
.ex-scroll::-webkit-scrollbar { display: none; }
.ex-item         { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--np-border); border-radius: 10px; background: var(--np-surface); flex-shrink: 0; cursor: pointer; }
.ex-item:hover   { background: var(--np-exchange-bg); border-color: var(--np-muted); }
.ex-label        { font-size: 12px; font-weight: 700; color: var(--np-text-secondary); text-transform: uppercase; }
.ex-val          { font-size: 15px; font-weight: 700; color: var(--np-text); }
.ex-chg          { font-size: 12px; font-weight: 700; padding: 2px 5px; border-radius: 3px; white-space: nowrap; }
.ex-chg.up       { color: var(--np-green); background: var(--np-chip-up-bg); }
.ex-chg.dn       { color: var(--np-red);   background: var(--np-chip-dn-bg); }
.ex-nav-btn      { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--np-border); background: var(--np-surface); color: var(--np-text); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ex-nav-btn:hover { background: var(--np-exchange-bg); }

/* ── PAGE WRAP ────────────────────────────────── */
.page-wrap       { max-width: 1272px; margin: 0 auto; }

/* Coloana content + sidebar fix 320px */
.layout-grid     { display: grid; grid-template-columns: 1fr 320px; align-items: start; }
.content-col     { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.sidebar-col     { width: 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Restul paginii, sub randul hero, pe toata latimea (homepage) */
.full-col        { min-width: 0; display: flex; flex-direction: column; gap: 32px; padding: 12px; }

/* Overrides specifice paginii de articol */
body.page-article .layout-grid  { gap: 0; }
body.page-article .sidebar-col  { position: sticky; top: 92px; }

/* ── CARD WRAPPER ─────────────────────────────── */
.card-wrap       { border: 1px solid var(--np-border); border-radius: 6px; overflow: hidden; background: var(--np-surface); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
a.card-wrap      { transition: background-color .15s ease; }
a.card-wrap:hover { background: var(--np-hover-bg); }

/* ── HOVER GENERIC: orice caseta de continut clickabila din site ── */
.hero-sec-card,
.advertorial-item,
.stack-item,
.ed-card,
.cat-main,
.cat-side,
.cat-list-item,
.act-card,
.video-card,
.article-nav-card { transition: background-color .15s ease; }
.hero-sec-card:hover,
.advertorial-item:hover,
.stack-item:hover,
.cat-main:hover,
.cat-side:hover,
.act-card:hover,
.article-nav-card:hover { background: var(--np-hover-bg); }
/* video-card traieste pe un fundal deja gri (.video-block); foloseste
   suprafata alba/dark-surface ca sa se vada contrastul la hover. */
.video-card:hover { background: var(--np-surface); }

/* ── HERO: 2 COLOANE, CARD-URI SEPARATE (homepage) ── */
.hero-row        { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px, 360px); gap: 12px; align-items: start; }
.hero-col-left   { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-col-right  { display: flex; flex-direction: column; gap: 12px; }

.hero-img        { position: relative; overflow: hidden; display: block; }
.hero-img img    { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.hero-overlay    {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75) 80%);
  padding: 28px 14px 14px;
}
.hero-overlay h3 { font-size: 21px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.hero-overlay .date { font-size: 12px; color: rgba(255,255,255,.7); }

.hero-body       { padding: 12px 14px; }
.hero-body h2    { font-size: 25px; font-weight: 700; color: var(--np-text); line-height: 1.28; margin-bottom: 6px; }

/* carduri secundare (stanga, sub stirea principala) */
.hero-secondary-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-sec-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.hero-sec-body   { padding: 10px 12px; }
.hero-sec-body h4 { font-size: 14px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin-bottom: 4px; }

/* ── ARTICOLE ADVERTORIALE ─────────────────────── */
.advertorial-block { padding: 14px 16px; background: var(--np-cream-bg); }
.advertorial-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--np-cream-divider); cursor: pointer; align-items: center; }
.advertorial-item:first-of-type { border-top: none; padding-top: 0; }
.advertorial-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.advertorial-item h4 { font-size: 13px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin-bottom: 4px; }
.advertorial-tag { font-size: 10px; font-weight: 700; color: var(--np-cream-text); text-transform: uppercase; letter-spacing: .5px; }

/* ── STIVUIRE DE STIRI (coloana dreapta homepage), acelasi format ca
   Articolele Advertoriale - imagine mica + titlu, intr-o lista unica ── */
.stack-block { padding: 14px 16px; }
.stack-item  { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--np-border); cursor: pointer; align-items: center; }
.stack-item:first-of-type { border-top: none; padding-top: 0; }
.stack-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.stack-item h4 { font-size: 13px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin-bottom: 4px; }

/* ── DATE ─────────────────────────────────────── */
.np-date         { font-size: 12px; color: var(--np-date-color); }
.item-category   { color: var(--np-last-news); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }

/* ── CATEGORIE: HERO PE 2 COLOANE EGALE (imagine + text stivuit) ── */
.cat-hero        { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.cat-hero-img    { overflow: hidden; }
.cat-hero-img img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cat-hero-body   { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; }
.cat-hero-body h2 { font-size: 25px; font-weight: 700; color: var(--np-text); line-height: 1.28; margin-bottom: 10px; }
.cat-hero-body p  { font-size: 15px; color: var(--np-desc-color); line-height: 1.5; margin-bottom: 10px; }
@media (max-width: 640px) {
  .cat-hero      { grid-template-columns: 1fr; }
}

/* ── CATEGORIE: RAND SECUNDAR CU 4 CARDURI (sub hero) ── */
.hero-secondary-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* ── LISTA ARTICOLE CATEGORIE (stil Anadolu, caseta proprie) ── */
.cat-article-list { display: flex; flex-direction: column; gap: 12px; }
.cat-article-row { display: flex; gap: 20px; padding: 16px; cursor: pointer; }
.cat-article-row img { width: 260px; flex-shrink: 0; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; }
.cat-article-body   { display: flex; flex-direction: column; min-width: 0; justify-content: center; }
.cat-article-body h3 { font-size: 19px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin-bottom: 8px; }
.cat-article-row:hover .cat-article-body h3 { color: var(--np-accent, #c00); }
.cat-article-body p  { font-size: 14px; color: var(--np-desc-color); line-height: 1.55; margin-bottom: 8px; }
@media (max-width: 900px) {
  .hero-secondary-row-4 { grid-template-columns: repeat(2, 1fr); }
  .video-block--shorts .video-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .hero-secondary-row-4 { grid-template-columns: 1fr; }
  .cat-article-row { flex-direction: column; gap: 10px; }
  .cat-article-row img { width: 100%; }
}

/* ── EDITORIALE ───────────────────────────────── */
.cat-pill-row    { position: relative; margin: 0 0 20px; }
.cat-pill-row .cat-pill-center { margin: 0; }
.cat-pill-row .btn-tumu { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; }
.cat-pill-center { display: block; text-align: center; margin: 0 0 20px; }
.editorial-row   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ed-card         { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; border-radius: 6px; cursor: pointer; }
.ed-card:hover   { background: var(--np-cream-bg); }
.ed-avatar       { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.ed-columnist    { font-size: 14px; font-weight: 700; color: var(--np-text); }
.ed-card .np-date { margin: 2px 0 10px; }
.ed-card h4      { font-size: 15px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin: 0; }

/* ── PAGINA EDITORIALIST ──────────────────────── */
.columnist-header { display: flex; align-items: center; gap: 20px; padding: 24px 12px; }
.columnist-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.columnist-name  { font-size: 24px; font-weight: 900; color: var(--np-text); margin-bottom: 4px; }
.columnist-bio   { font-size: 14px; color: var(--np-desc-color); line-height: 1.5; margin: 0; }

/* ── RAND TITLU SECTIUNE + buton "Vezi mai mult" (orice sectiune
   full-width: ACTUALITATE, EXTERN, ECONOMIE, SPORT, VIDEO...) ── */
.section-pill-row { margin: 0 0 20px; }
.section-pill-row .cat-pill, .section-pill-row .video-pill { margin: 0; }
.section-pill-row .btn-tumu { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* in interiorul unui .cat-block (EXTERN/ECONOMIE/SPORT), fara padding propriu -
   randul preia spatierea pe care altfel o dadea .cat-pill singur */
.cat-block .section-pill-row { padding: 14px 16px 10px; margin: 0; }
/* in interiorul unui .video-block, care are deja padding:16px */
.video-block .section-pill-row { margin: 0 0 14px; }

/* ── ACTUALITATE (fost "ANALIZĂ ȘI OPINII") - fiecare articol are
   caseta proprie, coloana din centru afiseaza 3 articole ── */
.act-grid        { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 12px; align-items: start; }
.act-card        { cursor: pointer; }
.act-main, .act-side { padding: 14px 16px; }
.act-main img, .act-side img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.act-main h3, .act-side h3 { font-size: 18px; font-weight: 700; color: var(--np-text); line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.act-list        { display: flex; flex-direction: column; gap: 12px; }
.act-list-item   { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.act-list-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.act-list-body   { min-width: 0; }
.act-list-item h4 { font-size: 14px; font-weight: 700; color: var(--np-text); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── BLOC CATEGORIE (SPORT / ECONOMIE / EXTERN) ── */
.cat-block       { border: 1px solid var(--np-border); border-radius: 6px; overflow: hidden; background: var(--np-surface); }
.cat-pill        { display: flex; align-items: center; color: var(--np-text); font-size: 15px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin: 14px 16px 10px; }
.cat-grid        { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; }
.cat-main        { border-right: 1px solid var(--np-border); padding: 14px 16px; cursor: pointer; }
.cat-main img    { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.cat-main h3     { font-size: 18px; font-weight: 700; color: var(--np-text); line-height: 1.3; margin-bottom: 6px; }
.cat-list        { border-right: 1px solid var(--np-border); display: flex; flex-direction: column; }
.cat-list-item   { padding: 14px 16px; border-bottom: 1px solid var(--np-border); cursor: pointer; flex: 1; }
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { background: var(--np-hover-bg); }
.cat-list-item h4 { font-size: 14px; font-weight: 700; color: var(--np-text); line-height: 1.4; margin-bottom: 4px; }
.cat-side        { padding: 14px 16px; cursor: pointer; }
.cat-side img    { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.cat-side h3     { font-size: 18px; font-weight: 700; color: var(--np-text); line-height: 1.3; margin-bottom: 6px; }
.cat-side p      { font-size: 13px; color: var(--np-desc-color); line-height: 1.55; margin-bottom: 6px; }

/* ── VIDEOURI (landscape, sectiunea "VIDEO") ──── */
.video-block     { background: var(--np-surface-2); border-radius: 6px; padding: 16px; }
.video-pill      { display: flex; align-items: center; gap: 8px; color: var(--np-text); font-size: 15px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.video-row       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.video-card      { cursor: pointer; padding: 8px; margin: -8px; border-radius: 6px; }
.video-thumb     { position: relative; border-radius: 6px; overflow: hidden; }
.video-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.video-play      { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); }
.video-play-btn  { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #000; padding-left: 3px; }
.video-title     { font-size: 14px; font-weight: 700; color: var(--np-text); line-height: 1.4; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* sectiunea VIDEO: 2 coloane egale - stanga un video mare cu titlu+
   rezumat, dreapta un grid 2x2 de videouri mici doar cu titlu ── */
.video-split     { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.video-main-title { font-size: 17px; font-weight: 700; color: var(--np-text); line-height: 1.35; margin-top: 10px; }
.video-main-excerpt { font-size: 13px; color: var(--np-desc-color); line-height: 1.55; margin-top: 6px; }
.video-grid-2x2  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* videoclipurile scurte (Shorts/Reels/TikTok) au format vertical standard
   9:16 (ex. 1080x1920) - grid pe 6 coloane, optimizat pentru latimea
   noastra, ca inaltimea rezultata sa ramana echilibrata cu restul paginii */
.video-block--shorts .video-row { grid-template-columns: repeat(6, 1fr); }
.video-block--shorts .video-thumb img { aspect-ratio: 9/16; }
.video-block--shorts .video-title { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── SIDEBAR BANNER ───────────────────────────── */
.sb-banner       { display: flex; justify-content: center; margin-top: 12px; }
.banner-slot     { width: 300px; max-width: 100%; background: var(--np-surface-2); border: 1px dashed var(--np-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--np-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }
.banner-slot:hover { background: var(--np-hover-bg); }
.banner-slot.s300x250 { height: 250px; }

/* ── RECLAMA REALA INTR-UN SLOT (motorul Nordpres Ads / servicii externe) ── */
.banner-slot:has(.ad-creative-img, .ad-creative-video, .ad-creative-iframe, .ad-creative-text) {
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: default;
  overflow: hidden;
  padding: 0;
}
.ad-creative-link   { display: block; width: 100%; height: 100%; }
.ad-creative-img,
.ad-creative-video  { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-creative-iframe { display: block; width: 100%; height: 100%; border: 0; }
.ad-creative-text   { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0 16px; text-align: center; font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: normal; color: var(--np-text); }
.ad-placeholder-text { pointer-events: none; }

/* ── SIDEBAR EN SON ───────────────────────────── */
.sb-ensn         { padding: 14px 16px; margin: 0 10px; }
.sb-ensn-title   { font-size: 16px; font-weight: 900; color: var(--np-last-news); letter-spacing: .2px; min-width: 0; }
.btn-tumu        { font-size: 13px; color: var(--np-text-secondary); border: 1px solid var(--np-border); border-radius: 20px; padding: 3px 12px; background: var(--np-surface); cursor: pointer; flex-shrink: 0; }
.btn-tumu:hover  { background: var(--np-hover-bg); }

.sb-item         { display: flex; gap: 8px; cursor: pointer; align-items: stretch; }
.sb-text         { padding-bottom: 14px; min-width: 0; }
.sb-item:hover .sb-title { text-decoration: underline; }
.sb-dot-col      { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.sb-dot          { width: 8px; height: 8px; border-radius: 50%; background: var(--np-last-news); flex-shrink: 0; margin-top: 4px; }
.sb-line         { width: 1px; background: var(--np-border); flex: 1; margin-top: 3px; }
.sb-date         { font-size: 11px; color: var(--np-date-color); margin-bottom: 2px; }
.sb-title        { font-size: 14px; font-weight: 600; color: var(--np-text); line-height: 1.4; }
.sb-see-all      { font-size: 13px; color: var(--np-desc-color); font-weight: 600; cursor: pointer; margin-top: 4px; }
.sb-see-all:hover { color: var(--np-text); }

/* ── ARTICOL ───────────────────────────────────── */
.article-tags    { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags .cat-pill { margin: 14px 0 10px; }
.article-title   { font-size: 34px; font-weight: 900; color: var(--np-text); line-height: 1.2; margin: 16px 0 10px; }
.article-summary { font-size: 18px; color: var(--np-desc-color); line-height: 1.5; margin-bottom: 16px; }

.article-byline  { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--np-border); border-bottom: 1px solid var(--np-border); margin-bottom: 16px; }
.article-author  { font-size: 14px; font-weight: 700; color: var(--np-text); }
.article-meta    { font-size: 13px; color: var(--np-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.article-share-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--np-border); background: var(--np-surface); color: var(--np-text); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.article-share-btn:hover { background: var(--np-hover-bg); }
.article-byline-share { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.article-hero-img { border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.article-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

.article-dateline { font-size: 13px; font-weight: 700; color: var(--np-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }

.article-body p  { font-size: 17px; color: var(--np-text); line-height: 1.75; margin-bottom: 18px; }
.article-body blockquote { font-size: 18px; font-style: italic; color: var(--np-desc-color); border-left: 3px solid var(--np-text); padding-left: 16px; margin: 20px 0; }

/* Butoane Google (sursa preferata / Discover) sub imaginea principala */
.google-follow-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 20px; }
.google-follow-pill { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; padding: 10px 14px; border: 1px solid var(--np-border); border-radius: 8px; background: var(--np-surface); color: var(--np-text); text-decoration: none; transition: background-color .15s ease; }
.google-follow-pill:hover { background: var(--np-hover-bg); color: var(--np-text); }
.google-follow-pill i.fa-google { font-size: 18px; flex-shrink: 0; }
.google-follow-pill span { font-size: 13px; font-weight: 600; line-height: 1.3; flex: 1; }
.google-follow-pill i.fa-chevron-right { font-size: 12px; color: var(--np-muted); flex-shrink: 0; }

/* Bloc "Urmareste pe Google News" de la finalul articolului */
.google-news-box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--np-border); border-radius: 8px; background: var(--np-surface); color: var(--np-text); text-decoration: none; margin-bottom: 16px; transition: background-color .15s ease; }
.google-news-box:hover { background: var(--np-hover-bg); color: var(--np-text); }
.google-news-box i.fa-google { font-size: 20px; flex-shrink: 0; }
.google-news-box i.fa-chevron-right { font-size: 12px; color: var(--np-muted); margin-left: auto; flex-shrink: 0; }
.gnews-label { font-size: 11px; font-weight: 700; color: var(--np-muted); letter-spacing: .5px; }
.gnews-text { font-size: 14px; font-weight: 700; }

/* Bloc "Stirea ta" - sesizari foto/video de la cititori */
.stirea-ta-box { padding: 14px; border: 1px solid var(--np-cream-border); border-radius: 8px; background: var(--np-cream-bg); margin-bottom: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.stirea-ta-label { font-size: 14px; color: var(--np-text); margin-bottom: 0; flex: 1 1 auto; }
.stirea-ta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.stirea-btn { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; }
.stirea-btn:hover { opacity: .9; color: #fff; }
.stirea-btn-form { background: var(--np-red); }
.stirea-btn-whatsapp { background: var(--np-green); }
.stirea-btn-facebook { background: #1877f2; }

.redactie-box { padding: 14px; border: 1px solid var(--np-cream-border); border-radius: 8px; background: var(--np-cream-bg); margin-bottom: 24px; }
.redactie-title { font-size: 14px; font-weight: 700; color: var(--np-text); margin-bottom: 6px; }
.redactie-text { font-size: 13px; color: var(--np-muted); margin: 0; line-height: 1.5; }

.article-nav     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.article-nav-card { display: flex; gap: 12px; align-items: center; cursor: pointer; padding: 4px; }
.article-nav-card.next { flex-direction: row-reverse; text-align: right; }
.article-nav-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.article-nav-eyebrow { font-size: 11px; font-weight: 700; color: var(--np-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.article-nav-card h4 { font-size: 14px; font-weight: 700; color: var(--np-text); line-height: 1.35; }

/* ── IMAGINE IN CONTINUT (in corpul articolului) ── */
.article-inline-img { margin: 22px 0; }
.article-inline-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; }
.article-caption { font-size: 13px; color: var(--np-muted); line-height: 1.4; margin-top: 8px; }

/* ── VIDEO INSERAT (YouTube / Facebook / alta sursa) ── */
.article-video-embed { position: relative; width: 100%; aspect-ratio: 16/9; margin: 22px 0; border-radius: 6px; overflow: hidden; background: #000; }
.article-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── GALERIE FOTO ──────────────────────────────── */
.article-gallery-block { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--np-border); }
.article-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.article-gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; cursor: pointer; display: block; }

/* ── LISTA DE IMAGINI LA FINAL DE ARTICOL ─────── */
.article-image-list { margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--np-border); display: flex; flex-direction: column; gap: 20px; }
.article-image-list figure { margin: 0; }
.article-image-list img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; display: block; }

/* ── LIGHTBOX (vizualizare galerie) ────────────── */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; align-items: center; justify-content: center; padding: 60px; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; border-radius: 6px; object-fit: contain; }
.lightbox-close, .lightbox-nav { border: none; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 50%; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; font-size: 18px; }
.lightbox-nav   { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 18px; }
.lightbox-prev  { left: 16px; }
.lightbox-next  { right: 16px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.5); padding: 4px 14px; border-radius: 20px; }

/* ── COMENTARII ARTICOL ──────────────────────────────────── */
.comments-section { margin: 8px 0 28px; }
.comments-section .cat-pill { margin: 0 0 16px; }

.comment-alert { padding: 12px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 12px; }
.comment-alert-success { background: rgba(40,167,69,.1); color: #1e7e34; border: 1px solid rgba(40,167,69,.25); }
.comment-alert-error { background: rgba(220,53,69,.1); color: #b02a37; border: 1px solid rgba(220,53,69,.25); }
.comment-alert-error ul { padding-left: 18px; margin: 0; }
.comment-share-fb { display: inline-flex; width: auto; height: auto; padding: 8px 16px; border-radius: 20px; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 16px; }

.comment-empty { font-size: 14px; color: var(--np-muted); margin-bottom: 20px; }

.comment-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.comment-item { display: flex; gap: 12px; }
.comment-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--np-cream-bg); color: var(--np-text); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.comment-body-wrap { flex: 1; min-width: 0; }
.comment-meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.comment-author { font-size: 14px; font-weight: 700; color: var(--np-text); }
.comment-date { font-size: 12px; color: var(--np-muted); }
.comment-text { font-size: 14px; color: var(--np-text); line-height: 1.6; margin: 4px 0 6px; white-space: pre-line; }
.comment-reply-btn { background: none; border: none; padding: 0; font-size: 12px; font-weight: 700; color: var(--np-muted); cursor: pointer; }
.comment-reply-btn:hover { color: var(--np-last-news); text-decoration: underline; }
.comment-replies { margin: 14px 0 0 0; padding-left: 18px; border-left: 2px solid var(--np-border); display: flex; flex-direction: column; gap: 14px; }

.comment-form-wrap { padding: 16px; border: 1px solid var(--np-cream-border); border-radius: 8px; background: var(--np-cream-bg); }
.comment-form-title { font-size: 15px; font-weight: 700; color: var(--np-text); margin: 0 0 12px; }
.comment-replying-to { font-size: 13px; color: var(--np-muted); background: var(--np-cream-bg); border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; }
.comment-replying-to strong { color: var(--np-text); }
.comment-replying-to button { background: none; border: none; padding: 0; color: var(--np-last-news); font-size: 13px; font-weight: 700; cursor: pointer; }
.comment-form .tip-field { margin-bottom: 12px; }
.comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--np-border); border-radius: 6px; background: var(--np-surface); color: var(--np-text); font-size: 14px; font-family: inherit; resize: vertical; }
.comment-form textarea:focus { outline: none; border-color: var(--np-last-news); }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comment-submit { padding: 10px 22px; }
.comment-hint { font-size: 12px; color: var(--np-muted); margin: 8px 0 0; }
.comment-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .comment-form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ───────────────────────────────────── */
.site-footer     { background: var(--np-surface); border-top: 1px solid var(--np-footer-border); margin-top: 32px; }
.footer-logo-img { height: 34px; width: auto; display: block; }
.footer-col h5   { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--np-text-secondary); padding-bottom: 8px; border-bottom: 1px solid var(--np-footer-border); }
.footer-col a,
.footer-col span { display: block; font-size: 14px; color: var(--np-desc-color); margin-bottom: 6px; }
.footer-col a:hover { color: var(--np-text); }
.footer-col a.article-share-btn { display: flex; margin-bottom: 0; }
.footer-copy     { font-size: 12px; color: var(--np-muted); }

/* ── SCROLL TOP ───────────────────────────────── */
.scroll-top      { position: fixed; bottom: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--np-surface); color: var(--np-text); border: 1px solid var(--np-border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1); z-index: 999; }
.scroll-top:hover { background: var(--np-hover-bg); }

/* ── MOBIL: TOTUL STIVUIT PE O SINGURA COLOANA ── */
@media (max-width: 768px) {
  /* header: meniul se pliaza sub un buton hamburger */
  .navbar-collapse { margin-top: 10px; }
  .navbar-nav       { width: 100%; }
  .navbar-collapse .d-flex { width: 100%; margin-top: 8px; }
  .search-box       { width: 100%; }

  /* hero + sidebar: o singura coloana */
  .layout-grid      { grid-template-columns: 1fr; }
  .sidebar-col       { width: 100%; }
  body.page-article .sidebar-col { position: static; }

  /* hero: coloana stanga/dreapta stivuite */
  .hero-row          { grid-template-columns: 1fr; }
  .hero-secondary-row { grid-template-columns: 1fr; }

  /* blocuri categorie (EXTERN/ECONOMIE/SPORT): 3 coloane -> stivuit */
  .cat-grid          { grid-template-columns: 1fr; }
  .cat-main, .cat-list { border-right: none; border-bottom: 1px solid var(--np-border); }

  /* ACTUALITATE: 3 coloane -> stivuit */
  .act-grid          { grid-template-columns: 1fr; }

  /* editoriale: 4 carduri -> stivuite */
  .editorial-row     { grid-template-columns: 1fr; }

  /* videouri (landscape): grid 4 coloane -> stivuit */
  .video-row         { grid-template-columns: 1fr; }

  /* sectiunea VIDEO: 2 coloane -> stivuite, grid 2x2 ramane 2 coloane */
  .video-split       { grid-template-columns: 1fr; }

  /* videouri scurte (portret): raman pe 2 coloane si pe mobil */
  .video-block--shorts .video-row { grid-template-columns: repeat(2, 1fr); }

  /* footer: coloanele -> stivuite */
  .site-footer .row.g-4 > div { width: 100%; max-width: 100%; flex: 0 0 100%; }
  .site-footer .row.g-4 { row-gap: 20px; }
  .site-footer .d-flex.justify-content-between { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* titluri putin mai mici pe ecrane inguste */
  .hero-body h2      { font-size: 21px; }
  .hero-overlay h3   { font-size: 18px; }
  .cat-main h3, .cat-side h3 { font-size: 16px; }
  .act-main h3, .act-side h3 { font-size: 16px; }

  .article-title    { font-size: 24px; }
  .article-summary  { font-size: 16px; }
  .article-nav      { grid-template-columns: 1fr; }
  .article-nav-card.next { flex-direction: row; text-align: left; }
  .article-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pagina "Stirea ta" - trimite o stire/foto/video la redactie */
.tip-hero { background: var(--np-cream-bg); border: 1px solid var(--np-cream-border); border-radius: 6px; padding: 32px; text-align: center; }
.tip-hero h1 { color: var(--np-text); font-size: 30px; font-weight: 900; margin-bottom: 14px; line-height: 1.2; }
.tip-hero p { color: var(--np-text); max-width: 640px; margin: 0 auto 24px; font-size: 15px; line-height: 1.6; }
.tip-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tip-hero-actions .stirea-btn { padding: 10px 20px; font-size: 14px; }
.tip-hero-actions .stirea-btn-facebook { background: #fff; color: #1877f2; }

.tip-steps { text-align: center; padding-top: 32px; margin-top: 28px; border-top: 1px solid var(--np-cream-divider); }
.tip-steps-title { font-size: 20px; font-weight: 900; color: var(--np-text); margin-bottom: 24px; }
.tip-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--np-last-news); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.tip-step h3 { font-size: 16px; font-weight: 700; color: var(--np-text); margin-bottom: 6px; }
.tip-step p { font-size: 14px; color: var(--np-muted); line-height: 1.5; }

.tip-form-wrap { max-width: 640px; margin: 0 auto; width: 100%; }
.tip-form-wrap h2 { font-size: 26px; font-weight: 900; color: var(--np-text); text-align: center; margin-bottom: 24px; }
.tip-form { display: flex; flex-direction: column; gap: 18px; }
.tip-field label { display: block; font-size: 14px; font-weight: 700; color: var(--np-text); margin-bottom: 6px; }
.tip-required { color: var(--np-red); }
.tip-optional { font-weight: 400; color: var(--np-muted); }
.tip-field input[type="text"], .tip-field input[type="email"], .tip-field input[type="tel"], .tip-field textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--np-border); border-radius: 6px; background: var(--np-surface); color: var(--np-text); font-size: 14px; font-family: inherit;
}
.tip-field input:focus, .tip-field textarea:focus { outline: none; border-color: var(--np-last-news); }
.tip-hint { font-size: 12px; color: var(--np-muted); margin-top: 6px; }

.tip-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 28px 16px; border: 1.5px dashed var(--np-border); border-radius: 8px; background: var(--np-surface); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.tip-dropzone:hover, .tip-dropzone.is-dragover { border-color: var(--np-last-news); background: var(--np-hover-bg); }
.tip-dropzone i { font-size: 22px; color: var(--np-muted); }
.tip-dropzone-text { font-size: 14px; color: var(--np-text); }
.tip-dropzone-hint { font-size: 12px; color: var(--np-muted); }
.tip-dropzone-filenames { font-size: 12px; color: var(--np-text); font-weight: 700; word-break: break-word; }

.tip-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--np-muted); line-height: 1.5; }
.tip-consent input { margin-top: 3px; flex-shrink: 0; }

.tip-submit { background: var(--np-last-news); color: #fff; border: none; border-radius: 6px; padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.tip-submit:hover { opacity: .92; }

@media (max-width: 640px) {
  .tip-hero { padding: 24px 20px; }
  .tip-hero h1 { font-size: 24px; }
  .tip-steps-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── COOKIE CONSENT ──────────────────────────────────────── */
.footer-link-btn { background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
.footer-link-btn.footer-copy { color: var(--np-muted); }
.footer-link-btn.footer-copy:hover { color: var(--np-text); }

.np-consent-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 99990; }
.np-consent-overlay.np-consent-visible { display: block; }

.np-consent-banner {
  display: none; position: fixed; left: 20px; bottom: 20px; z-index: 100000;
  width: 380px; max-width: calc(100vw - 40px); background: var(--np-surface); color: var(--np-text);
  border: 1px solid var(--np-border); border-radius: 10px; padding: 18px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.np-consent-banner.np-consent-visible { display: block; }
.np-consent-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.np-consent-icon { font-size: 20px; }
.np-consent-title { font-size: 16px; font-weight: 900; margin: 0; color: var(--np-text); }
.np-consent-text { font-size: 13px; line-height: 1.5; color: var(--np-text-secondary); margin: 0 0 14px; }
.np-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.np-consent-btn { border-radius: 6px; padding: 9px 14px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid transparent; }
.np-consent-btn-accept { background: var(--np-last-news); color: #fff; }
.np-consent-btn-accept:hover { opacity: .92; }
.np-consent-btn-reject { background: var(--np-surface-2); color: var(--np-text); border-color: var(--np-border); }
.np-consent-btn-reject:hover { background: var(--np-hover-bg); }
.np-consent-btn-customize { background: none; color: var(--np-last-news); border: none; padding: 9px 4px; text-decoration: underline; }

.np-consent-modal {
  display: none; position: fixed; inset: 0; z-index: 100001; align-items: center; justify-content: center; padding: 20px;
}
.np-consent-modal.np-consent-visible { display: flex; }
.np-consent-modal-box {
  width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto; background: var(--np-surface); color: var(--np-text);
  border-radius: 10px; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.np-consent-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.np-consent-modal-title { font-size: 19px; font-weight: 900; margin: 0; }
.np-consent-modal-close { background: none; border: none; font-size: 22px; line-height: 1; color: var(--np-muted); cursor: pointer; padding: 0 4px; }
.np-consent-modal-subtitle { font-size: 13px; color: var(--np-text-secondary); margin: 8px 0 16px; }

.np-consent-category { border: 1px solid var(--np-border); border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.np-consent-category-header { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.np-consent-category-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.np-consent-category-desc { font-size: 12.5px; color: var(--np-text-secondary); line-height: 1.5; }

.np-consent-toggle { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.np-consent-toggle input { opacity: 0; width: 0; height: 0; }
.np-consent-toggle-slider { position: absolute; inset: 0; background: var(--np-border); border-radius: 999px; transition: background-color .15s ease; cursor: pointer; }
.np-consent-toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s ease; }
.np-consent-toggle input:checked + .np-consent-toggle-slider { background: var(--np-last-news); }
.np-consent-toggle input:checked + .np-consent-toggle-slider::before { transform: translateX(18px); }
.np-consent-toggle-disabled { opacity: .6; }
.np-consent-toggle-disabled .np-consent-toggle-slider { cursor: not-allowed; }

.np-consent-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

.legal-inline-btn { background: none; border: none; padding: 0; font: inherit; color: var(--np-last-news); text-decoration: underline; cursor: pointer; }
.legal-cookie-settings-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--np-last-news); color: #fff; border: none;
  border-radius: 6px; padding: 10px 16px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.legal-cookie-settings-btn:hover { opacity: .92; }

.legal-text h2 { font-size: 18px; font-weight: 800; color: var(--np-text); margin: 26px 0 10px; }
.legal-text h3 { font-size: 15px; font-weight: 800; color: var(--np-text); margin: 18px 0 8px; }
.legal-text p, .legal-text li { font-size: 14.5px; line-height: 1.7; color: var(--np-text-secondary); }
.legal-text ul { padding-left: 22px; margin-bottom: 14px; }
.legal-text a { color: var(--np-last-news); }

.np-consent-gate-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: var(--np-surface-2); border: 1px dashed var(--np-border); border-radius: 8px; padding: 32px 20px; min-height: 220px;
}
.np-consent-gate-placeholder i { font-size: 26px; color: var(--np-muted); }
.np-consent-gate-placeholder p { font-size: 13.5px; color: var(--np-text-secondary); max-width: 380px; margin: 0; }
.np-consent-gate-btn { background: var(--np-last-news); color: #fff; border: none; border-radius: 6px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.np-consent-gate-btn:hover { opacity: .92; }

@media (max-width: 480px) {
  .np-consent-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
.article-hero-credit { font-size: 12px; margin: -7px 0 16px; line-height: 1.2; }

/* Mobil: bannerele se scaleaza proportional pe latimea ecranului (fara decupare) */
.banner-slot .ad-creative-img,
.banner-slot .ad-creative-video { object-fit: contain; }
.ad-banner .banner-slot { flex: 0 1 auto; min-width: 0; }
@media (max-width: 767px) {
  .ad-banner { padding: 8px 8px; }
}

/* Mobil: butoanele din caseta ȘTIREA TA raman in caseta, pe un singur rand */
@media (max-width: 575px) {
  .stirea-ta-actions { flex-shrink: 1; width: 100%; gap: 6px; flex-wrap: nowrap; justify-content: center; }
  .stirea-ta-actions .stirea-btn { flex: 1 1 0; min-width: 0; justify-content: center; gap: 5px; padding: 8px 6px; font-size: 12px; white-space: nowrap; }
  .stirea-ta-actions .stirea-btn-form { flex-grow: 1.5; }
}
@media (max-width: 340px) {
  .stirea-ta-actions .stirea-btn { font-size: 11px; padding: 8px 4px; gap: 4px; }
}
@media (max-width: 575px) {
  .stirea-ta-box { justify-content: center; }
  .stirea-ta-label { flex: 0 0 100%; text-align: center; white-space: nowrap; font-size: clamp(9px, calc((100vw - 56px) / 28), 14px); }
}

/* Footer: linkurile legale nu se rup pe mai multe randuri; trec intregi pe rand nou */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal > a, .footer-legal > button { white-space: nowrap; }
.site-footer .d-flex.justify-content-between.footer-copy { flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 767px) {
  .footer-legal { gap: 8px 16px; }
}
@media (max-width: 767px) {
  .site-footer .d-flex.justify-content-between.footer-copy { align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }
}
