/* banglita.css — Banglita · Media bilingue italiano-bengalese */
/* v2026-05-14 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,700&family=Noto+Sans+Bengali:wght@400;700&display=swap');

@font-face {
  font-family: 'Fedra';
  src: url('/static/fonts/FedraBook.ttf') format('truetype');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'Fedra';
  src: url('/static/fonts/FedraBookItalic.ttf') format('truetype');
  font-weight: 400; font-style: italic;
}
@font-face {
  font-family: 'Fedra';
  src: url('/static/fonts/FedraLight.ttf') format('truetype');
  font-weight: 300; font-style: normal;
}
@font-face {
  font-family: 'Fedra';
  src: url('/static/fonts/FedraLightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic;
}
@font-face {
  font-family: 'Fedra';
  src: url('/static/fonts/FedraBold.otf') format('opentype');
  font-weight: 700; font-style: normal;
}

/* ════════════════════════════════════════
   RESET & VARIABILI
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0b0b0b;
  --surf:     #111111;
  --card:     #181818;
  --brd:      rgba(255,255,255,0.07);
  --brd2:     rgba(255,255,255,0.13);
  --red:      #0D9488;
  --accent:   #0D9488;
  --gold:     #5EEAD4;
  --gold-lt:  #99f6e4;
  --verde-lt: #0D9488;
  --verde:    #0D9488;
  --ink:      #ede8db;
  --muted:    rgba(237,232,219,0.52);
  --dim:      rgba(237,232,219,0.20);
  --fi:       'Fedra', 'Cormorant Garamond', Georgia, serif;
  --fb:       'Noto Sans Bengali', 'Arial Unicode MS', sans-serif;
  --col-gap:  28px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fi);
  font-size: 20px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(11,11,11,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--brd);
}

.hdr-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1360px; margin: 0 auto; padding: 0 32px;
  height: 125px; position: relative;
}

.logo-wrap {
  position: absolute; left: 10%; transform: translateX(-50%);
  display: block; cursor: pointer;
}
.logo-img {
  height: 120px; width: auto; display: block;
  padding: 10px 0;
}

/* Barra ricerca */
.hdr-search {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.28); padding: 6px 14px;
  position: relative; margin-left: auto;
}
.hdr-search input {
  background: none; border: none; outline: none;
  color: var(--ink); font-family: var(--fi); font-size: 15px; width: 200px;
}
.hdr-search input::placeholder { color: rgba(237,232,219,0.45); }
.search-ico { color: rgba(237,232,219,0.55); font-size: 16px; }
.hdr-user-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: 8px;
  color: rgba(237,232,219,0.55); text-decoration: none; flex-shrink: 0;
  border-radius: 50%; transition: color .15s, background .15s;
}
.hdr-user-btn:hover { color: var(--ink); background: var(--brd); }
.hdr-soc { display: flex; align-items: center; gap: 14px; margin-left: 16px; }
.hdr-soc .ft-soc svg { width: 17px; height: 17px; }
.search-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: var(--card); border: 1px solid var(--brd2);
  display: none; z-index: 99; max-height: 320px; overflow-y: auto;
}
.search-results.open { display: block; }
.search-item {
  padding: 10px 14px; cursor: pointer;
  border-bottom: 1px solid var(--brd); transition: background .15s;
}
.search-item:hover { background: var(--surf); }
.search-item:last-child { border-bottom: none; }
.si-it { font-size: 14px; color: var(--ink); line-height: 1.3; font-family: var(--fi); }
.si-bn { font-family: var(--fb); font-size: 14px; color: var(--muted); }

/* Nav categorie */
.cat-nav {
  max-width: 1360px; margin: 0 auto; padding: 0 32px;
  border-top: 1px solid var(--brd);
}
.cat-row {
  display: flex; align-items: center; height: 36px;
  overflow-x: auto; scrollbar-width: none; gap: 0;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-lnk {
  display: flex; align-items: center; gap: 5px;
  padding: 0 14px; height: 36px; flex-shrink: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer; transition: all .18s; white-space: nowrap;
}
.cat-lnk:hover, .cat-lnk.on { border-bottom-color: var(--red); }
.cl-it {
  font-size: 14px; letter-spacing: 0.3px;
  color: var(--muted); font-family: var(--fi); transition: color .18s;
}
.cl-dot { font-size: 8px; color: var(--dim); }
.cl-bn {
  font-family: var(--fb); font-size: 13px; color: var(--muted);
  transition: color .18s;
}
.cat-lnk:hover .cl-it, .cat-lnk.on .cl-it { color: var(--ink); }
.cat-lnk:hover .cl-bn, .cat-lnk.on .cl-bn { color: var(--muted); }

/* Ticker */
.ticker {
  background: var(--red); height: 30px;
  display: flex; align-items: center; overflow: hidden;
}
.ticker-lbl {
  background: rgba(0,0,0,0.22); padding: 0 14px; height: 100%;
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12px; letter-spacing: 2px; font-family: var(--fi);
}
.tl-bn { font-family: var(--fb); font-size: 12px; letter-spacing: 0; }
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex; gap: 40px; padding: 0 20px;
  animation: tick 13s linear infinite; white-space: nowrap;
  font-size: 13px; letter-spacing: 0.2px; font-family: var(--fi);
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(var(--tick-shift,-50%))} }
.t-sep { color: rgba(255,255,255,.3); margin: 0 4px; }
.t-bn  { font-family: var(--fb); font-size: 13px; }

/* Ticker verticale su mobile */
@media (max-width: 768px) {
  .ticker {
    height: 44px;
    position: relative;
  }
  .ticker-scroll {
    position: relative;
    height: 44px;
    overflow: hidden;
  }
  .ticker-track {
    animation: none;
    white-space: normal;
    display: block;
    padding: 0;
    position: relative;
    width: 100%;
    height: 44px;
  }
  .ticker-track span.visible {
    display: block;
  }
}

/* ════════════════════════════════════════
   LAYOUT BASE
════════════════════════════════════════ */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

.main-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 52px;
  padding: 44px 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  padding: 0;
}

/* ════════════════════════════════════════
   LAYOUT BILINGUE — colonne speculari
════════════════════════════════════════ */
.bi {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
}
.bi-sep { background: var(--brd); align-self: stretch; }

.col-it {
  padding: 0 var(--col-gap) 0 0;
  font-family: var(--fi);
}

.col-bn {
  padding: 0 0 0 var(--col-gap);
  font-family: var(--fb);
  direction: ltr;
}

/* ════════════════════════════════════════
   IMMAGINI ARTICOLO
════════════════════════════════════════ */
.art-img-wrap {
  position: relative; overflow: hidden;
  background: var(--card);
  border-bottom: 1px solid var(--brd);
}
.art-img {
  width: 100%; height: 320px;
  object-fit: cover; object-position: center;
  display: block; opacity: 0.86;
}
.art-img-ph {
  width: 100%; height: 320px;
  background: var(--card);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  color: var(--dim);
}
.art-img-ph-icon { font-size: 28px; opacity: .3; }
.art-img-ph-txt  { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  padding: 24px 28px 12px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.cap-it { font-size: 11.5px; color: rgba(237,232,219,.65); font-style: italic; font-family: var(--fi); }
.cap-bn { font-family: var(--fb); font-size: 13px; color: rgba(237,232,219,.55); }

.card-img { grid-column: 1 / -1; grid-row: 1; overflow: hidden; }
.card-img img {
  width: 100%; height: 200px;
  object-fit: cover; opacity: .84; transition: opacity .3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero-wrap {
  cursor: pointer;
  border-bottom: 1px solid var(--brd2);
  margin-bottom: 0;
  display: block;
}
.hero-wrap:hover .hero-title { opacity: .8; }

.hero-cols {
  border-top: 1px solid var(--brd);
}
.hero-cols.bi {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-top: 1.2rem;
}

.hero-wrap .col-it { padding: 26px var(--col-gap) 36px 0; }
.hero-wrap .col-bn { padding: 26px 0 36px var(--col-gap); }

.h-meta {
  display: block;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px; font-family: var(--fi);
}
.col-bn .h-meta {
  font-family: var(--fb); font-size: 13px;
  letter-spacing: 0; text-transform: none;
}

.hero-title {
  font-family: var(--fi); font-size: 27px; font-weight: 700;
  line-height: 1.2; margin-bottom: 12px; transition: opacity .2s;
}
.col-bn .hero-title {
  font-family: var(--fb); font-size: 25px; font-weight: 700; line-height: 1.4;
}

.hero-sub {
  font-size: 17px; color: var(--gold-lt); font-style: italic;
  margin-bottom: 14px; line-height: 1.5;
}
.col-bn .hero-sub { font-style: normal; font-size: 17px; line-height: 1.6; font-family: var(--fb); }

.hero-exc {
  font-size: 17px; color: var(--muted); line-height: 1.82;
  display: -webkit-box; -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; overflow: hidden;
}
.col-bn .hero-exc { font-size: 17px; line-height: 1.95; font-family: var(--fb); }

/* ════════════════════════════════════════
   CARD ARTICOLO
════════════════════════════════════════ */
.article-card {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--brd);
  cursor: pointer; transition: opacity .18s;
}
.article-card:hover { opacity: .82; }
.article-card:hover .art-title { color: var(--gold-lt); }

.article-card .col-it { padding: 22px var(--col-gap) 22px 0; }
.article-card .col-bn { padding: 22px 0 22px var(--col-gap); }

.card-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: 8px 0;
}

.a-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}

.a-badge {
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(13,148,136,.35);
  padding: 2px 8px; font-family: var(--fi);
}
.col-bn .a-badge {
  font-family: var(--fb); font-size: 11px;
  letter-spacing: 0; text-transform: none;
}
.a-date { font-size: 10px; color: var(--muted); letter-spacing: .5px; font-family: var(--fi); }
.badge-ev {
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: 2px 7px; font-family: var(--fi);
}

.art-title {
  font-family: var(--fi); font-size: 22px; font-weight: 700;
  line-height: 1.25; margin-bottom: 6px; color: var(--ink);
  transition: color .18s;
}
.art-title.bn { font-family: var(--fb); font-size: 20px; font-weight: 700; line-height: 1.4; }

.art-sub {
  font-size: 15px; color: var(--gold); font-style: italic;
  margin-bottom: 10px; line-height: 1.45;
}
.art-sub.bn { font-style: normal; font-size: 15px; line-height: 1.6; font-family: var(--fb); }

.art-exc {
  font-size: 16px; color: var(--muted); line-height: 1.78;
  display: -webkit-box; -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; overflow: hidden;
}
.art-exc.bn { font-size: 16px; line-height: 1.9; font-family: var(--fb); }

.art-fonte {
  font-size: 11px; color: var(--muted); margin: 4px 0 8px;
  font-family: var(--fi);
}
.art-fonte a { color: var(--gold); }

.more {
  margin-top: 14px; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 5px; font-family: var(--fi);
}
.col-bn .more {
  font-family: var(--fb); letter-spacing: 0;
  text-transform: none; font-size: 13px;
}

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.sb-block { margin-bottom: 34px; border-top: 2px solid var(--red); padding-top: 14px; }

.sb-title {
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--fi);
}
.sb-title-ar {
  font-family: var(--fb); font-size: 13px;
  letter-spacing: 0; text-transform: none; color: var(--dim);
}

.adv-slot {
  background: var(--card);
  border: 1px dashed var(--brd2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--dim); font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase; gap: 4px;
  margin-bottom: 20px; overflow: hidden;
}
@media (min-width: 769px) {
  .adv-slot img { max-width: 300px; width: auto; height: auto; }
}
.adv-300x250 { width: 100%; }
.adv-300x600 { width: 100%; }
.adv-728x90  { width: 100%; max-width: 728px; margin: 0 auto 20px; }
.adv-320x100 { width: 100%; }
.adv-inline-label {
  font-size: 9px; color: var(--muted); letter-spacing: 1.5px;
  text-transform: uppercase; font-family: var(--fi); margin-bottom: 6px;
}

.flash-item { padding: 10px 0; border-bottom: 1px solid var(--brd); cursor: pointer; }
.flash-item:last-child { border-bottom: none; }
.flash-time { font-size: 10px; color: var(--red); letter-spacing: .5px; margin-bottom: 2px; font-family: var(--fi); }
.flash-t { font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .18s; font-family: var(--fi); }
.flash-t.bn { font-family: var(--fb); font-size: 14px; line-height: 1.6; margin-top: 3px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-pill {
  font-size: 13px; padding: 4px 10px;
  border: 1px solid var(--brd); color: var(--muted);
  cursor: pointer; transition: all .18s; font-family: var(--fi);
  text-decoration: none; display: inline-block;
}
.tag-pill:hover { border-color: var(--red); color: var(--ink); }
.tag-pill.bn { font-family: var(--fb); font-size: 12px; letter-spacing: 0; }

/* ════════════════════════════════════════
   PAGINA CATEGORIA / TAG
════════════════════════════════════════ */
.cat-hdr { padding: 40px 0 28px; border-bottom: 1px solid var(--brd); }
.cat-eyebrow {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px; font-family: var(--fi);
}
.cat-name-it { font-family: var(--fi); font-size: 46px; font-weight: 700; line-height: 1; }
.cat-name-ar { font-family: var(--fb); font-size: 36px; font-weight: 700; display: block; margin-top: 4px; }

.pag {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 40px 0; border-top: 1px solid var(--brd);
}
.pg-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brd); cursor: pointer; font-size: 15px;
  color: var(--muted); transition: all .18s;
  font-family: var(--fi); text-decoration: none;
}
.pg-btn:hover { border-color: var(--red); color: var(--ink); }
.pg-btn.cur   { border-color: var(--red); color: var(--red); }

/* ════════════════════════════════════════
   SINGOLO ARTICOLO
════════════════════════════════════════ */
.art-hdr { padding: 36px 0 28px; border-bottom: 1px solid var(--brd); }

.art-hdr-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; margin-bottom: 20px;
  flex-wrap: wrap; gap: 10px;
}
.art-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ab {
  font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border: 1px solid rgba(13,148,136,.38);
  color: var(--red); cursor: pointer; font-family: var(--fi);
  transition: all .18s; text-decoration: none;
}
.ab:hover { background: var(--red); color: #fff; }
.ab .bn { font-family: var(--fb); font-size: 12px; letter-spacing: 0; text-transform: none; }
.art-source {
  font-size: 12px; color: var(--muted); font-family: var(--fi); white-space: nowrap;
}
.art-source a { color: var(--gold-lt); }

.a-h1 {
  font-family: var(--fi); font-size: 32px; font-weight: 700;
  line-height: 1.2; margin-bottom: 10px;
}
.a-h1-ar {
  font-family: var(--fb); font-size: 30px; font-weight: 700;
  line-height: 1.35; margin-bottom: 10px;
}
.a-h2    { font-size: 18px; color: var(--gold-lt); font-style: italic; line-height: 1.45; font-family: var(--fi); }
.a-h2-ar { font-family: var(--fb); font-size: 18px; color: var(--gold-lt); line-height: 1.6; }

.art-hdr .col-it { padding: 0 var(--col-gap) 0 0; }
.art-hdr .col-bn { padding: 0 0 0 var(--col-gap); }

.art-body { padding: 36px 0; }
.art-body .col-it { padding: 0 var(--col-gap) 0 0; }
.art-body .col-bn { padding: 0 0 0 var(--col-gap); }

.art-body .col-it p {
  font-family: var(--fi); font-size: 20px;
  line-height: 1.88; color: var(--ink); margin-bottom: 24px;
}
.art-body .col-bn p {
  font-family: var(--fb); font-size: 19px;
  line-height: 1.95; color: var(--ink); margin-bottom: 24px;
}

/* Parole evidenziate */
.hl {
  border-bottom: 1px solid var(--gold); color: var(--gold);
  cursor: pointer; transition: color .15s, border-color .15s;
}

.nota-red {
  background: var(--card); border-left: 3px solid var(--gold);
  padding: 16px 20px; margin: 28px 0;
  font-size: 16px; color: var(--muted); font-style: italic;
  font-family: var(--fi);
}

.art-abstract {
  background: var(--card); border-left: 3px solid var(--gold);
  padding: 20px; margin: 24px 0;
}
.art-abstract .col-it { font-size: 18px; color: var(--ink); }
.art-abstract .col-bn { font-family: var(--fb); font-size: 18px; }

/* Glossario */
.glossary { border-top: 1px solid var(--brd); padding: 28px 0; }
.gl-hdr {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px; font-family: var(--fi);
}
.gl-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.gl-item {
  background: var(--card); border: 1px solid var(--brd);
  padding: 12px 14px; cursor: pointer; transition: border-color .18s;
  text-decoration: none; display: block;
}
.gl-item:hover { border-color: var(--gold); }
.gl-it { font-size: 30px; font-weight: 700; color: var(--ink); font-family: var(--fi); }
.gl-bn { font-family: var(--fb); font-size: 26px; color: var(--gold-lt); margin-top: 4px; font-weight: 700; }
.gl-tr { font-size: 15px; color: var(--muted); font-style: italic; margin-top: 2px; font-family: var(--fi); }

/* Correlati */
.correlati-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 28px 0; }
.corr-card {
  border: 1px solid var(--brd); padding: 18px;
  cursor: pointer; transition: border-color .18s;
  text-decoration: none; display: block;
}
.corr-card:hover { border-color: var(--red); }
.corr-cat { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-family: var(--fi); }
.corr-title-it { font-family: var(--fi); font-size: 17px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; color: var(--ink); }
.corr-title-bn { font-family: var(--fb); font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Tooltip dizionario */
.dtip {
  position: fixed; background: var(--card);
  border: 1px solid var(--brd2); border-left: 3px solid var(--gold);
  padding: 14px 18px; width: 272px; z-index: 9999;
  display: none; pointer-events: none;
  box-shadow: 0 20px 48px rgba(0,0,0,.7);
}
.dtip.on { display: block; }
.tt-it { font-size: 17px; font-weight: 700; color: var(--ink); font-family: var(--fi); margin-bottom: 4px; }
.tt-bn { font-family: var(--fb); font-size: 20px; color: var(--gold-lt); }
.tt-tr { font-size: 17px; color: var(--muted); font-style: italic; font-family: var(--fi); margin-top: 4px; }
.tt-lnk {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--red); margin-top: 10px; display: block;
  pointer-events: all; cursor: pointer; text-decoration: none;
}

/* ════════════════════════════════════════
   DIZIONARIO
════════════════════════════════════════ */
.dict-search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--brd2); padding: 10px 16px;
  max-width: 500px; margin-bottom: 32px;
}
.dict-search input {
  background: none; border: none; outline: none;
  color: var(--ink); font-family: var(--fi); font-size: 19px; flex: 1;
}
.dict-search button {
  background: var(--red); color: #fff; border: none;
  padding: 6px 16px; cursor: pointer;
  font-family: var(--fi); font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
}
.dict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 12px;
}
.dict-card {
  background: var(--card); border: 1px solid var(--brd);
  padding: 16px 18px; cursor: pointer; transition: border-color .18s;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  text-decoration: none;
}
.dict-card:hover { border-color: var(--gold); }
.dc-cat { font-size: 11px; color: var(--dim); letter-spacing: .5px; font-family: var(--fi); margin-top: 2px; }
.dc-tr  { font-size: 15px; color: var(--muted); font-style: italic; font-family: var(--fi); margin-top: 2px; }
.dc-it  { font-family: var(--fi); font-size: 30px !important; font-weight: 700; color: var(--ink); }
.dc-bn  { font-family: var(--fb); font-size: 28px !important; font-weight: 700; color: var(--gold-lt); flex-shrink: 0; }

/* ════════════════════════════════════════
   STATO VUOTO
════════════════════════════════════════ */
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty-icon { font-size: 48px; opacity: .2; margin-bottom: 16px; }
.empty-txt  { font-size: 19px; font-family: var(--fi); }
.empty-ar   { font-family: var(--fb); font-size: 19px; color: var(--dim); margin-top: 6px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--surf);
  border-top: 1px solid var(--brd);
  padding: 28px 0; margin-top: 60px;
}
.ft-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.ft-logo { display: flex; align-items: baseline; gap: 10px; }
.ft-it {
  font-family: var(--fi); font-size: 20px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
}
.ft-it em { color: var(--red); font-style: normal; }
.ft-info { font-size: 11px; color: var(--dim); letter-spacing: .5px; font-family: var(--fi); }
.ft-social { display: flex; align-items: center; gap: 18px; }
.ft-soc { display: inline-flex; align-items: center; color: var(--muted); transition: color .2s; }
.ft-soc:hover { color: var(--gold); }
.ft-soc svg { width: 20px; height: 20px; fill: currentColor; display: block; }

.ft-adv {
  max-width: 1360px; margin: 0 auto 0;
  padding: 20px 32px 0;
  display: flex; justify-content: center;
}

.leaderboard-wrap {
  border-top: 1px solid var(--brd);
  padding: 20px 0;
  display: flex; justify-content: center;
}

/* ════════════════════════════════════════
   TRANSIZIONI
════════════════════════════════════════ */
.page-fade { animation: fadeIn .28s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ════════════════════════════════════════
   LOADING OVERLAY
════════════════════════════════════════ */
#loading-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
.loading-box {
  background: var(--card);
  border: 1px solid var(--brd2);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 40px 52px;
  text-align: center;
  min-width: 280px;
}
.loading-spin {
  width: 44px; height: 44px;
  border: 3px solid var(--brd2);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-it { font-family: var(--fi); font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.loading-bn { font-family: var(--fb); font-size: 18px; color: var(--dim); }

/* ════════════════════════════════════════
   HOME — SEZIONI PER CATEGORIA
════════════════════════════════════════ */
.cat-section {
  border-top: 2px solid var(--red);
  margin-bottom: 60px;
  padding-top: 0;
}

.cs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0 0;
  margin-bottom: 0;
}

.cs-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cs-name-it {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  font-family: var(--fi);
  font-weight: 700;
}

.cs-sep { color: var(--dim); font-size: 10px; }

.cs-name-bn {
  font-family: var(--fb);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.cs-all-link {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--fi);
  text-decoration: none;
  transition: color .18s;
  flex-shrink: 0;
}

.cs-all-link:hover { color: var(--gold-lt); }
.cs-all-sep { color: var(--dim); }
.cs-all-bn {
  font-family: var(--fb);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
.cs-all-arrow { color: var(--red); }

.cs-hero { margin-top: 0; }

.cs-titoli {
  border-top: 1px solid var(--brd);
  margin-top: 0;
}

.cs-titolo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  padding: 13px 0;
  border-bottom: 1px solid var(--brd);
  text-decoration: none;
  transition: opacity .18s;
  cursor: pointer;
  align-items: start;
}

.cs-titolo-row:hover { opacity: .75; }
.cs-titolo-row:hover .cs-tr-title { color: var(--gold-lt); }

.cs-tr-it {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cs-tr-date {
  font-size: 10px;
  color: var(--red);
  font-family: var(--fi);
  letter-spacing: .4px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--brd);
  padding: 4px 7px;
  min-width: 38px;
  line-height: 1.3;
  text-align: center;
  gap: 0;
}

.cs-tr-day { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1; }
.cs-tr-mon { font-size: 9px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); line-height: 1; }
.cs-tr-yr  { font-size: 9px; color: var(--dim); line-height: 1; }

.cs-tr-title {
  font-family: var(--fi);
  font-size: 0.95rem;
  font-weight: 400;
  color: #EDE8DC;
  line-height: 1.3;
  transition: color .18s;
}

.cs-tr-bn {
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 400;
  color: #EDE8DC;
  opacity: 0.9;
  line-height: 1.5;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.cs-footer { padding: 14px 0 0; }

.cs-more-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--fi);
  text-decoration: none;
  transition: color .18s;
}

.cs-more-link:hover { color: var(--gold-lt); }
.cs-more-sep { color: var(--dim); }
.cs-more-bn {
  font-family: var(--fb);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 768px) {
  .cs-titolo-row { grid-template-columns: 1fr; gap: 4px; }
  .cs-tr-it { order: 1; }
  .cs-tr-bn { order: 2; font-size: 0.95rem; padding-top: 2px; }
  .cs-all-link { font-size: 9px; }
}

/* ════════════════════════════════════════
   SIDEBAR DIZIONARIO
════════════════════════════════════════ */
.sb-parola {
  display: block;
  background: var(--card);
  border: 1px solid var(--brd);
  padding: 10px 12px;
  margin-bottom: 6px;
  text-decoration: none;
  transition: border-color .18s;
}
.sb-parola:hover { border-color: var(--gold); opacity: .75; }
.sb-parola:last-child { margin-bottom: 0; border-bottom: none; }
.sb-parola:hover .sb-p-it { color: var(--gold-lt); }

.sb-p-it {
  font-family: var(--fi);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  transition: color .18s;
}
.sb-p-ar {
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-lt);
  display: block;
  margin-top: 2px;
}
.sb-p-sep { display: none; }
.sb-p-tr {
  font-family: "Gentium Plus", "Gentium", "DejaVu Serif", serif;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* ════════════════════════════════════════
   TABLET — max 900px
════════════════════════════════════════ */
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid  { grid-template-columns: 1fr; }
  .gl-grid { grid-template-columns: repeat(2,1fr); }
  .correlati-grid { grid-template-columns: 1fr; }
  .hdr-search { display: none; }
  .hdr-soc    { display: none; }
}

/* ════════════════════════════════════════
   MOBILE — max 768px
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Layout */
  .wrap { padding: 0 16px; }
  .main-grid, .cat-grid { grid-template-columns: 1fr; gap: 0; }
  aside { display: none; }

  /* Header */
  .hdr-top { padding: 0 16px; height: 70px; }
  .hdr-search { display: none; }
  .logo-wrap { left: 50%; transform: translateX(-50%); }
  .logo-img { height: 80px; width: auto; }

  /* Hamburger */
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 6px;
    background: none; border: none; margin-left: auto;
  }
  .hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--gold-lt); transition: all .25s;
  }

  .cat-nav { display: none !important; }
  .cl-it { font-size: 11px; }
  .cl-bn { font-size: 11px; }

  /* Drawer */
  .mob-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.65); z-index: 900;
    animation: fadeIn .2s ease;
  }
  .mob-overlay.open { display: block; }
  .mob-drawer {
    position: fixed; top: 0; right: -100%; bottom: 0; width: 240px;
    background: var(--surf); z-index: 901;
    border-left: 1px solid var(--brd2); padding: 20px 18px;
    transition: right .28s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; overflow-y: auto;
  }
  .mob-drawer.open { right: 0; }
  .mob-drawer-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 18px;
  }
  .mob-lang-toggle {
    display: flex; border: 1px solid var(--brd2);
    border-radius: 3px; overflow: hidden; margin-bottom: 18px;
  }
  .mob-lang-btn {
    flex: 1; padding: 7px 0; text-align: center; font-size: 12px;
    cursor: pointer; border: none; background: none;
    color: var(--muted); font-family: var(--fi); transition: all .18s;
  }
  .mob-lang-btn.bn { font-family: var(--fb); font-size: 14px; }
  .mob-lang-btn.active { background: var(--red); color: #fff; }
  .mob-nav-links { display: flex; flex-direction: column; gap: 0; flex: 1; }
  .mob-nav-link {
    padding: 12px 0; border-bottom: 1px solid var(--brd);
    font-size: 14px; color: var(--muted); text-decoration: none;
    display: flex; justify-content: space-between; align-items: center;
    transition: color .18s;
  }
  .mob-nav-link:hover { color: var(--ink); }
  .mob-nav-link .lnk-bn { font-family: var(--fb); font-size: 15px; color: var(--dim); }
  .mob-nav-link.active-link { color: var(--red); }
  body:not(.lang-bn) .mob-nav-link .lnk-bn { display: none; }
  body.lang-bn .mob-nav-link .lnk-it { display: none; }
  body.lang-bn .mob-nav-link .lnk-bn { color: var(--muted); }

  /* Hero mobile — colonna singola */
  .hero-cols.bi {
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-cols .bi-sep { display: none; }
  .hero-wrap .col-it { padding: 16px 0 12px 0; border-bottom: none; }
  .hero-wrap .col-bn { padding: 10px 0 20px 0; border-top: 1px solid var(--brd); }
  .hero-title { font-size: 22px; }
  .hero-sub   { font-size: 15px; }
  .hero-exc   { font-size: 15px; -webkit-line-clamp: 3; }

  /* Card articolo — colonna singola */
  .article-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 0;
  }
  .article-card .bi-sep { display: none !important; }
  .article-card .col-it {
    padding: 14px 0 10px 0;
    border-right: none; border-bottom: none;
  }
  .article-card .col-bn {
    padding: 8px 0 16px 0;
    border-top: 1px solid var(--brd);
    border-left: none !important;
  }
  .card-img img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }

  /* Qualsiasi .bi non dentro articolo — colonna singola */
  .bi {
    display: flex !important;
    flex-direction: column !important;
  }
  .bi-sep { display: none !important; }
  .col-it { padding: 0 0 16px 0; border-bottom: 1px solid var(--brd); }
  .col-bn { padding: 16px 0 0 0; border-left: none !important; }

  /* Articolo singolo */
  .art-lang-tabs {
    display: flex; background: var(--surf);
    border-bottom: 1px solid var(--brd2);
    position: sticky; top: 70px; z-index: 100;
  }
  .art-lang-tab {
    flex: 1; padding: 10px; text-align: center; font-size: 13px;
    cursor: pointer; border: none; background: none;
    color: var(--muted); border-bottom: 2px solid transparent;
    font-family: var(--fi); transition: all .18s;
  }
  .art-lang-tab.bn { font-family: var(--fb); font-size: 15px; }
  .art-lang-tab.active { color: var(--ink); border-bottom-color: var(--red); }

  .mob-hide { display: none !important; }
  .mob-show { display: block !important; }

  .art-body { padding: 0; }
  .art-body .col-it, .art-body .col-bn { padding: 20px 0; }
  .art-hdr .col-it { padding: 0 0 12px 0; border-bottom: 1px solid var(--brd); }
  .art-hdr .col-bn { padding: 12px 0 0 0; }
  .art-img { height: 200px; }

  .gl-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gl-it, .gl-bn { font-size: 20px; }
  .correlati-grid { grid-template-columns: 1fr; gap: 10px; }
  .dict-grid { grid-template-columns: 1fr; }

  .ticker { height: 26px; }
  .ticker-track { font-size: 12px; animation-duration: 12.5s; }

  .ft-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 16px; }
  .ft-social { gap: 20px; }
}

/* Solo desktop */
@media (min-width: 769px) {
  .hamburger        { display: none; }
  .mob-overlay      { display: none !important; }
  .mob-drawer       { display: none !important; }
  .art-lang-tabs    { display: none !important; }
  .mobile-ad-inline { display: none !important; }
}

/* Ad inline mobile */
.mobile-ad-inline {
  margin: 16px 0; padding: 10px 0 14px;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  text-align: center;
}

/* ════════════════════════════════════════
   SAVE / PDF BUTTON
════════════════════════════════════════ */
.art-hdr-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.save-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--brd2);
  color: var(--muted); cursor: pointer; padding: 5px 14px;
  font-family: var(--fi); font-size: 13px; letter-spacing: .5px;
  transition: all .2s; white-space: nowrap;
}
.save-btn:hover      { border-color: var(--red); color: var(--ink); }
.save-btn.saved      { border-color: var(--red); color: var(--red); }
.save-icon           { font-size: 16px; line-height: 1; }
.save-label-ar       { font-family: var(--fb); font-size: 14px; color: var(--muted); }
.save-btn.saved .save-label-ar { color: var(--red); }

.pdf-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--brd2); color: var(--muted);
  padding: 5px 14px; font-family: var(--fi); font-size: 13px;
  letter-spacing: .5px; transition: all .2s;
  text-decoration: none; white-space: nowrap;
}
.pdf-btn:hover  { border-color: var(--gold); color: var(--gold-lt); }
.pdf-btn-ar     { font-family: var(--fb); font-size: 13px; color: var(--dim); }

.card-save-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: none; color: var(--muted);
  cursor: pointer; padding: 2px 0; font-family: var(--fi);
  font-size: 12px; letter-spacing: .5px; transition: color .2s;
  white-space: nowrap; user-select: none;
}
.card-save-btn:hover  { color: var(--ink); }
.card-save-btn.saved  { color: var(--red); }
.card-save-btn .save-icon       { font-size: 14px; line-height: 1; }
.card-save-btn .save-sep        { color: var(--brd2); font-size: 9px; }
.card-save-btn .save-label-ar   { font-family: var(--fb); font-size: 13px; color: var(--muted); }
.card-save-btn:hover .save-label-ar { color: var(--ink); }
.card-save-btn.saved .save-label-ar { color: var(--red); }

/* ════════════════════════════════════════
   LOGIN POPUP
════════════════════════════════════════ */
.login-popup {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  z-index: 9000; display: flex; align-items: center; justify-content: center;
}
.lp-box {
  background: var(--card); border: 1px solid var(--brd2);
  border-top: 3px solid var(--red); padding: 40px 48px;
  max-width: 380px; width: 90%; text-align: center; position: relative;
}
.lp-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none;
  color: var(--muted); font-size: 18px; cursor: pointer; transition: color .18s;
}
.lp-close:hover { color: var(--ink); }
.lp-icon { font-size: 40px; color: var(--dim); margin-bottom: 18px; line-height: 1; }
.lp-it   { font-family: var(--fi); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.lp-ar   { font-family: var(--fb); font-size: 17px; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.lp-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; padding: 12px 28px;
  font-family: var(--fi); font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; transition: opacity .18s;
}
.lp-cta:hover { opacity: .85; }

/* ════════════════════════════════════════
   PAGINA ACCEDI
════════════════════════════════════════ */
.accedi-page { min-height: calc(100vh - 250px); }
.accedi-hero { background: var(--surf); border-bottom: 1px solid var(--brd); padding: 60px 0; }
.accedi-eyebrow { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; font-family: var(--fi); }
.accedi-headline { font-family: var(--fi); font-size: 38px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }
.accedi-sub { font-family: var(--fi); font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 36px; }
.accedi-features { display: flex; flex-direction: column; gap: 20px; }
.accedi-feat     { display: flex; align-items: flex-start; gap: 16px; }
.af-icon { font-size: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; width: 28px; text-align: center; }
.af-it   { font-family: var(--fi); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.af-desc { font-family: var(--fi); font-size: 14px; color: var(--muted); line-height: 1.55; }
.accedi-form-wrap  { padding: 64px 0 80px; display: flex; justify-content: center; }
.accedi-form-box   { width: 100%; max-width: 520px; padding: 0 32px; }
.accedi-form-hdr   { margin-bottom: 32px; }
.accedi-form-title { font-family: var(--fi); font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.accedi-form-note  { font-family: var(--fi); font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.accedi-form  { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.accedi-input {
  background: var(--card); border: 1px solid var(--brd2);
  color: var(--ink); font-family: var(--fi); font-size: 18px;
  padding: 14px 18px; outline: none; transition: border-color .2s; width: 100%;
}
.accedi-input:focus        { border-color: var(--gold); }
.accedi-input::placeholder { color: var(--dim); }
.accedi-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; background: var(--red); color: #fff; border: none;
  padding: 14px 28px; font-family: var(--fi); font-size: 15px;
  letter-spacing: 1.2px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: opacity .18s; width: 100%;
}
.accedi-btn:hover { opacity: .88; }
.btn-sep { color: rgba(255,255,255,.5); }
.accedi-magic-note {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px; border: 1px solid var(--brd); background: var(--surf);
}
.mn-icon { font-size: 18px; color: var(--dim); flex-shrink: 0; margin-top: 2px; }
.mn-it   { font-family: var(--fi); font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.mn-bn   { font-family: var(--fb); font-size: 14px; color: var(--dim); line-height: 1.7; }
.accedi-alert     { padding: 14px 18px; margin-bottom: 16px; }
.accedi-alert-err { background: rgba(204,51,51,.1); border-left: 3px solid var(--red); }
.alert-it { font-family: var(--fi); font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.alert-bn { font-family: var(--fb); font-size: 14px; color: var(--muted); line-height: 1.7; }
.accedi-success { text-align: center; padding: 32px 0; }
.success-icon   { font-size: 52px; color: var(--gold); margin-bottom: 20px; line-height: 1; }
.success-it     { font-family: var(--fi); font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.success-bn     { font-family: var(--fb); font-size: 18px; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }
.success-note   { font-family: var(--fi); font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 6px; }

/* ════════════════════════════════════════
   AREA PERSONALE
════════════════════════════════════════ */
.ap-hdr { padding: 48px 0 32px; border-bottom: 1px solid var(--brd); }
.ap-eyebrow { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; font-family: var(--fi); }
.ap-title   { font-family: var(--fi); font-size: 38px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
.ap-email   { font-size: 14px; color: var(--muted); font-family: var(--fi); letter-spacing: .3px; }
.ap-actions { margin-top: 20px; }
.ap-logout {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--brd2); color: var(--muted);
  padding: 7px 16px; font-family: var(--fi); font-size: 12px;
  letter-spacing: .8px; text-transform: uppercase;
  text-decoration: none; transition: all .18s;
}
.ap-logout:hover { border-color: var(--red); color: var(--ink); }
.ap-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding: 32px 0; margin-bottom: 16px;
}
.ap-feat-card {
  background: var(--card); border: 1px solid var(--brd);
  padding: 20px 22px; text-decoration: none; display: block; transition: border-color .18s;
}
.ap-feat-card:hover { border-color: var(--gold); }
.apf-icon { display: block; font-size: 22px; color: var(--gold); margin-bottom: 10px; }
.apf-it   { font-family: var(--fi); font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.apf-bn   { font-family: var(--fb); font-size: 14px; color: var(--muted); }
.ap-section     { padding-bottom: 60px; }
.ap-section-hdr { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; border-top: 2px solid var(--red); padding-top: 24px; }
.ap-section-it  { font-family: var(--fi); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.ap-section-bn  { font-family: var(--fb); font-size: 14px; color: var(--dim); }
.ap-articles    { display: flex; flex-direction: column; }

/* ════════════════════════════════════════
   SHARE
════════════════════════════════════════ */
.art-share { display: flex; justify-content: center; align-items: center; padding: 18px 0 10px; }
.share-icons { display: flex; align-items: center; gap: 10px; }
.share-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  text-decoration: none; opacity: 0.82;
  transition: transform .18s, opacity .18s;
}
.share-icon:hover   { opacity: 1; transform: scale(1.1); }
.share-icon svg     { width: 20px; height: 20px; fill: currentColor; }
.share-fb           { background: #1877f2; color: #fff; }
.share-tw           { background: #000; color: #fff; }
.share-wa           { background: #25d366; color: #fff; }
.share-tg           { background: #2aabee; color: #fff; }
.share-li           { background: #0a66c2; color: #fff; }
.share-native-btn {
  display: none;
  align-items: center; gap: 8px;
  background: none; border: 1px solid var(--brd2);
  color: var(--muted); padding: 8px 18px; cursor: pointer;
  font-family: var(--fi); font-size: 13px;
  transition: all .2s;
}
.share-native-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.share-native-btn:hover { border-color: var(--gold); color: var(--gold-lt); }
@media (max-width: 768px) {
  .share-native-btn { display: flex; }
  .share-icons      { display: none; }
}

/* ════════════════════════════════════════
   COMMENTI
════════════════════════════════════════ */
.commenti-expander { border-top: 1px solid var(--brd); margin-top: 44px; }
.commenti-expander[open] { padding-bottom: 40px; }
.commenti-summary {
  padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 14px; color: var(--muted); font-family: var(--fi);
  transition: color .18s;
}
.commenti-summary:hover { color: var(--ink); }
.commenti-summary::-webkit-details-marker { display: none; }
.commenti-anchor {
  display: inline-block; margin: 10px 0 0;
  font-size: 13px; color: var(--muted); font-family: var(--fi);
  border-bottom: 1px solid var(--brd2); padding-bottom: 1px;
  text-decoration: none; transition: color .18s, border-color .18s;
}
.commenti-anchor:hover { color: var(--accent); border-color: var(--accent); }
.commenti-hdr {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); font-family: var(--fi);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px; flex-wrap: wrap; padding-top: 20px;
}
.commenti-titolo { color: var(--ink); font-size: 13px; }
.commenti-empty {
  font-size: 15px; color: var(--muted); font-style: italic;
  padding: 12px 0 24px;
}
.commenti-login {
  margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 15px; color: var(--muted); align-items: center;
}
.commenti-login a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.commento {
  background: var(--card); border: 1px solid var(--brd);
  border-radius: 8px; padding: 16px 20px; margin-bottom: 16px;
  transition: border-color .2s;
}
.commento:hover { border-color: var(--brd2); }
.commento-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.commento-autore { font-size: 13px; font-weight: 600; color: var(--gold-lt); letter-spacing: .3px; }
.commento-data   { font-size: 11px; color: var(--muted); }
.badge-lingua {
  font-size: 10px; background: rgba(176,138,48,.12); color: var(--gold);
  border: 1px solid rgba(176,138,48,.25); border-radius: 3px;
  padding: 1px 6px; font-family: var(--fb); letter-spacing: 0;
}
.commento-testo { font-size: 16px; line-height: 1.65; color: var(--ink); }
.commento-risposta { margin-top: 14px; border-left: 2px solid var(--red); padding-left: 14px; }
.risposta-label {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px; display: block;
}
.risposta-testo { font-size: 15px; line-height: 1.62; color: var(--muted); }

/* Form commenti */
#commenti-form { margin-top: 24px; }
#commento-testo {
  width: 100%; background: var(--card); border: 1px solid var(--brd2);
  border-radius: 6px; color: var(--ink); font-family: var(--fi);
  font-size: 16px; line-height: 1.6; padding: 12px 14px;
  resize: vertical; min-height: 96px; outline: none;
  transition: border-color .2s;
}
#commento-testo:focus { border-color: var(--gold); }
#commento-testo::placeholder { color: var(--dim); font-style: italic; font-size: 15px; }
.commento-counter { font-size: 11px; color: var(--muted); text-align: right; margin-top: 4px; }
.btn-commenta {
  margin-top: 10px; background: var(--red); color: #fff; border: none;
  border-radius: 5px; padding: 8px 22px; font-family: var(--fi);
  font-size: 14px; cursor: pointer; transition: opacity .15s;
}
.btn-commenta:hover { opacity: .88; }

/* ════════════════════════════════════════
   ARTICOLO — TAB LINGUA (solo mobile)
════════════════════════════════════════ */
.art-lang-tabs { display: none; }