/* ============================================================
   italyalarabi.com - Stylesheet principale (v3)
   ============================================================ */

/* ---------- Variabili tema ---------- */
:root {
  /* Tricolore */
  --it-green: #006837;
  --it-green-dark: #004d29;
  --it-green-soft: #e8f3ed;
  --it-red: #cd212a;
  --it-red-dark: #a01821;
  --it-red-soft: #fbe9eb;
  --it-white: #ffffff;

  /* Caldi italiani */
  --tuscan-gold: #d4a857;
  --tuscan-terra: #c97b4a;
  --tuscan-cream: #faf3e3;
  --sky-warm: #ffe8c8;
  --sun-yellow: #fbbf24;

  /* Neutrali */
  --bg: #ffffff;
  --bg-soft: #faf6ef;
  --bg-warm: #fef7e9;
  --bg-card: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-soft: #f0ebe0;

  /* Tipografia */
  --font-heading: 'Reem Kufi', 'Cairo', 'Tahoma', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Cairo', 'Tahoma', sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img, video, table, pre { max-width: 100%; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--it-green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--it-red); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
blockquote {
  border-inline-start: 4px solid var(--it-green);
  background: var(--bg-soft);
  padding: 1em 1.2em;
  margin: 1.5em 0;
  border-radius: var(--radius);
}
hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }
::selection { background: var(--it-green); color: #fff; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 20px; }

/* ---------- Tricolore ---------- */
.tricolor-bar {
  height: 4px;
  background: linear-gradient(
    to left,
    var(--it-green) 0%, var(--it-green) 33.33%,
    var(--it-white) 33.33%, var(--it-white) 66.66%,
    var(--it-red) 66.66%, var(--it-red) 100%
  );
}
.tricolor-bar--thin { height: 3px; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo:hover { color: var(--it-green); }
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.logo-mark span { flex: 1; display: block; }
.logo-mark span:nth-child(1) { background: var(--it-green); }
.logo-mark span:nth-child(2) { background: var(--it-white); }
.logo-mark span:nth-child(3) { background: var(--it-red); }

.main-nav { display: none; }
.main-nav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 4px; align-items: center;
}
.main-nav a {
  color: var(--text);
  font-size: .95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  transition: all .2s ease;
}
.main-nav a:hover { background: var(--it-green-soft); color: var(--it-green); }
.main-nav a.active { color: var(--it-green); background: var(--it-green-soft); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav a:hover { background: var(--it-green-soft); color: var(--it-green); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 30px 0 70px;
  background:
    radial-gradient(circle at 90% 10%, var(--sky-warm) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, var(--it-green-soft) 0%, transparent 55%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg-warm) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(0,104,55,.06) 1.2px, transparent 1.2px),
    radial-gradient(circle at 75% 70%, rgba(205,33,42,.05) 1.2px, transparent 1.2px);
  background-size: 50px 50px, 70px 70px;
  pointer-events: none;
  opacity: .6;
}

/* Hero image (banner foto) */
.hero-image {
  display: block;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(140, 90, 30, 0.18), 0 10px 25px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
  border: 3px solid rgba(255,255,255,0.7);
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero bottom (titolo SEO + CTA) */
.hero-bottom {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin-bottom: 14px;
  line-height: 1.3;
  font-weight: 700;
}
.hero-title .accent {
  color: var(--it-green);
  position: relative;
  display: inline;
  background-image: linear-gradient(to top, rgba(205, 33, 42, 0.22) 0, rgba(205, 33, 42, 0.22) 6px, transparent 6px);
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 100%;
  padding: 0 2px;
}
.hero-title .accent::after { display: none; }
.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .hero-image { margin-bottom: 28px; border-radius: var(--radius); border-width: 2px; }
  .hero-title { font-size: 1.4rem; }
  .hero-lead { font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--it-green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 104, 55, 0.3);
}
.btn-primary:hover {
  background: var(--it-green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 104, 55, 0.4);
}
.btn-secondary {
  background: var(--it-white);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--it-green);
  color: var(--it-green);
  transform: translateY(-2px);
}
.btn-fb { background: #1877f2; color: #fff; }
.btn-fb:hover { background: #145dbf; color: #fff; transform: translateY(-2px); }

/* ---------- STATS ---------- */
.stats {
  background: linear-gradient(135deg, var(--it-green) 0%, var(--it-green-dark) 100%);
  padding: 45px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  inset-inline-end: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(205,33,42,0.18) 0%, transparent 70%);
}
.stats::after {
  content: '';
  position: absolute;
  bottom: -50%;
  inset-inline-start: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 10px;
}
.stat-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  color: #fff;
}
.stat-label {
  font-size: .92rem;
  opacity: .92;
  color: #fff;
}

/* ---------- Sezioni ---------- */
.section { padding: 70px 0; }
.section--soft { background: var(--bg-warm); }
.section--cream { background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); }
.section-header { margin-bottom: 40px; text-align: center; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--it-red);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 8px; }
.section-header p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* ---------- Categorie ---------- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--text);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: var(--cat-accent, var(--it-green));
  transform: scaleX(0.25);
  transform-origin: right;
  transition: transform .4s ease;
}
.cat-card:hover {
  border-color: var(--cat-accent, var(--it-green));
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  color: var(--text);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card .cat-icon {
  width: 60px;
  height: 60px;
  background: var(--cat-bg, var(--it-green-soft));
  color: var(--cat-accent, var(--it-green));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.85rem;
  transition: transform .3s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-4deg); }
.cat-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.cat-card p { color: var(--text-muted); font-size: .95rem; margin: 0; line-height: 1.6; }

.cat-card--italia    { --cat-bg: #fef3e0; --cat-accent: #d97706; }
.cat-card--docs      { --cat-bg: #e8f3ed; --cat-accent: #006837; }
.cat-card--lavoro    { --cat-bg: #fbe9eb; --cat-accent: #cd212a; }
.cat-card--casa      { --cat-bg: #f0eaf7; --cat-accent: #7c3aed; }
.cat-card--lingua    { --cat-bg: #e6f1fb; --cat-accent: #2563eb; }
.cat-card--salute    { --cat-bg: #d8f3e3; --cat-accent: #059669; }
.cat-card--istruz    { --cat-bg: #fff4e6; --cat-accent: #ea580c; }
.cat-card--vita      { --cat-bg: #fef9c3; --cat-accent: #a16207; }
.cat-card--comunita  { --cat-bg: #e0f2fe; --cat-accent: #0369a1; }
.cat-card--risorse   { --cat-bg: #fce7f3; --cat-accent: #be185d; }

/* ---------- Articoli featured (con illustrazioni SVG) ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--it-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.article-card-illu {
  height: 200px;
  background: var(--card-grad, linear-gradient(135deg, var(--it-green), var(--it-green-dark)));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-card-illu svg {
  width: 100%;
  height: 100%;
  display: block;
}
.article-card--docs   { --card-grad: linear-gradient(135deg, #038150 0%, #004d29 100%); }
.article-card--lavoro { --card-grad: linear-gradient(135deg, #e63946 0%, #a01821 100%); }
.article-card--lingua { --card-grad: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.article-card--italia { --card-grad: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }

.article-card .article-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--it-red);
  background: var(--it-red-soft);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.4; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--it-green); }
.article-card p { color: var(--text-muted); font-size: .95rem; margin: 0 0 14px; flex: 1; }
.article-card .read-more {
  font-weight: 600;
  font-size: .9rem;
  color: var(--it-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card .read-more::after { content: '←'; transition: transform .2s ease; }
.article-card:hover .read-more::after { transform: translateX(-4px); }

/* ---------- Facebook CTA ---------- */
.fb-cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--it-green) 0%, var(--it-green-dark) 100%);
  color: #fff;
  padding: 55px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 30px 0;
}
.fb-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  inset-inline-end: -20%;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.fb-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  inset-inline-start: -10%;
  width: 250px;
  height: 250px;
  background: rgba(205,33,42,0.18);
  border-radius: 50%;
}
.fb-cta h2 { color: #fff; margin-bottom: 12px; position: relative; z-index: 2; font-size: 1.7rem; }
.fb-cta p {
  color: rgba(255,255,255,0.95);
  max-width: 560px;
  margin: 0 auto 26px;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}
.fb-cta .btn-fb { position: relative; z-index: 2; font-size: 1.05rem; padding: 15px 30px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .9rem;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: '/'; margin-inline-start: 8px; color: var(--text-light); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--it-green); }
.breadcrumb li:last-child { color: var(--text); font-weight: 500; }

/* ---------- Articolo ---------- */
.article-page { padding: 40px 0 60px; }
.article-page h1 { margin-bottom: .3em; }
.article-meta {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.article-content { font-size: 1.05rem; line-height: 1.85; }
.article-content h2 {
  margin-top: 2em;
  padding-top: .3em;
  border-top: 3px solid var(--it-green);
  display: inline-block;
  padding-inline-end: 30px;
}
.article-content h3 { margin-top: 1.8em; color: var(--it-green-dark); }
.article-content ul li::marker { color: var(--it-green); }
.article-content table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.article-content th { background: var(--it-green); color: #fff; padding: 12px 16px; text-align: right; font-weight: 600; }
.article-content td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) td { background: var(--bg-soft); }

.info-box {
  background: var(--it-green-soft);
  border-inline-start: 4px solid var(--it-green);
  padding: 20px 24px;
  margin: 1.8em 0;
  border-radius: var(--radius);
}
.info-box.warning { background: #fff7e6; border-color: #f59e0b; }
.info-box.danger { background: var(--it-red-soft); border-color: var(--it-red); }
.info-box h4 { margin: 0 0 8px; font-size: 1.05rem; }
.info-box p:last-child { margin-bottom: 0; }

/* ---------- AdSense ---------- */
.ad-slot {
  position: relative;
  margin: 32px auto;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefce8;
  border: 1px dashed #d4a857;
  border-radius: var(--radius);
  color: #92400e;
  font-size: .85rem;
  overflow: hidden;
}
.ad-slot::before {
  content: 'AdSense';
  position: absolute;
  top: 8px;
  inset-inline-end: 12px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #d4a857;
  text-transform: uppercase;
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 3px;
}
.ad-slot.in-article { max-width: 728px; }
.ad-slot.banner-top { margin-top: 20px; margin-bottom: 0; }
.ad-slot.banner-bottom { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #9ca3af; font-size: .95rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9ca3af; font-size: .95rem; }
.footer-col a:hover { color: var(--it-white); }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 20px 0 24px;
  text-align: center;
  color: #6b7280;
  font-size: .85rem;
}
.footer-bottom .tricolor-bar { margin-bottom: 20px; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.divider-tricolor {
  display: block;
  width: 60px;
  height: 4px;
  margin: 0 auto 18px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(
    to left,
    var(--it-green) 0%, var(--it-green) 33.33%,
    var(--it-white) 33.33%, var(--it-white) 66.66%,
    var(--it-red) 66.66%, var(--it-red) 100%
  );
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 50px 0; }
  .hero { padding: 40px 0 60px; }
  .fb-cta { padding: 40px 22px; }
  .article-content { font-size: 1rem; }
  .stat-number { font-size: 1.8rem; }
}

@media print {
  .site-header, .site-footer, .ad-slot, .fb-cta, .breadcrumb { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ============================================================
   Page Hero per pagine sezione (con o senza banner foto)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 90px 0 100px;
  background-color: var(--section-color, var(--it-green));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  inset-inline-end: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  inset-inline-start: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  font-size: 3rem;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
  font-weight: 700;
}
.page-hero .page-hero-lead {
  color: rgba(255,255,255,0.95);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

/* Varianti colore per sezione (override section-color) */
.page-hero--italia    { --section-color: #d97706; background-color: #d97706; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-italia.jpg'); }
.page-hero--generic   { --section-color: #1e3a8a; background-color: #1e3a8a; background-image: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.60) 100%), url('../img/banner-italia.jpg'); }
.page-hero--docs      { --section-color: #006837; background-color: #006837; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-documenti.jpg'); }
.page-hero--lavoro    { --section-color: #cd212a; background-color: #cd212a; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-lavoro.jpg'); }
.page-hero--casa      { --section-color: #7c3aed; background-color: #7c3aed; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-casa.jpg'); }
.page-hero--lingua    { --section-color: #2563eb; background-color: #2563eb; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-lingua.jpg'); }
.page-hero--salute    { --section-color: #059669; background-color: #059669; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-salute.jpg'); }
.page-hero--istruz    { --section-color: #ea580c; background-color: #ea580c; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-istruzione.jpg'); }
.page-hero--vita      { --section-color: #a16207; background-color: #a16207; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-vita-quotidiana.jpg'); }
.page-hero--comunita  { --section-color: #0369a1; background-color: #0369a1; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-comunita.jpg'); }
.page-hero--risorse   { --section-color: #be185d; background-color: #be185d; background-image: linear-gradient(135deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%), url('../img/banner-risorse.jpg'); }

/* Section intro testo */
.section-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  padding: 50px 20px 30px;
  text-align: center;
}
.section-intro p { margin-bottom: 1em; }
.section-intro p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .page-hero { padding: 60px 0 70px; }
  .page-hero-icon { width: 72px; height: 72px; font-size: 2.4rem; border-radius: 18px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero .page-hero-lead { font-size: 1rem; }
  .section-intro { font-size: 1rem; padding: 36px 16px 20px; }
}

/* ============================================================ */
/* COOKIE BANNER GDPR */
/* ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 3px solid var(--it-green);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 20px;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cookie-banner__text h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--text);
}
.cookie-banner__text p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--it-red);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  transition: background .2s;
}
.btn-secondary:hover {
  background: var(--bg-soft);
}
@media (max-width: 768px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cookie-banner__actions {
    flex-direction: column;
  }
  .cookie-banner__actions button {
    width: 100%;
  }
}

/* ============================================================ */
/* CONTACT FORM */
/* ============================================================ */
.contact-form {
  margin: 30px 0;
  padding: 30px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: .95rem;
}
.form-row .required {
  color: var(--it-red);
  font-weight: 700;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  color: var(--text);
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--it-green);
  box-shadow: 0 0 0 3px rgba(0,140,69,0.1);
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row--checkbox {
  margin-top: 24px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-label span {
  font-size: .9rem;
  color: var(--text-light);
}
.checkbox-label a {
  color: var(--it-red);
  text-decoration: underline;
}

/* ============================================================ */
/* FAQ (details/summary) */
/* ============================================================ */
.faq-item {
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-inline-end: 50px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--it-green);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq-item p {
  padding: 16px 20px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item p a {
  color: var(--it-red);
}

/* ============================================================ */
/* SIMPLE HERO (per blog, lezioni - senza banner immagine) */
/* ============================================================ */
.simple-hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.simple-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 12px;
  color: var(--text);
}
.simple-hero .hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================ */
/* CONTACT FORM - feedback, errori, loading */
/* ============================================================ */
.form-feedback {
  margin: 20px 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1.5;
  border-inline-start: 4px solid transparent;
}
.form-feedback--success {
  background: #ecfdf5;
  color: #065f46;
  border-inline-start-color: #10b981;
}
.form-feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border-inline-start-color: #ef4444;
}
.form-feedback[hidden] { display: none; }

.error-msg {
  display: none;
  margin-top: 6px;
  color: #dc2626;
  font-size: .85rem;
  font-weight: 500;
}

.form-row input.input-error,
.form-row select.input-error,
.form-row textarea.input-error {
  border-color: #dc2626;
  background: #fef2f2;
}
.form-row input.input-error:focus,
.form-row select.input-error:focus,
.form-row textarea.input-error:focus {
  box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}

#submit-btn {
  position: relative;
  min-width: 180px;
}
#submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}
#submit-btn .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#submit-btn .btn-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================ */
/* MOBILE FIXES per testi lunghi (override clamp con valori espliciti) */
/* ============================================================ */
@media (max-width: 600px) {
  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0 10px;
  }
  .hero-lead {
    font-size: .95rem !important;
    padding: 0 10px;
  }
  .hero-bottom {
    padding: 20px 0;
  }
  .hero-cta {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 1.15rem !important; }
  .page-hero { padding: 50px 0 60px !important; }
  .page-hero h1 { font-size: 1.5rem !important; }
  .page-hero .page-hero-lead { font-size: .95rem !important; padding: 0 15px; }
  .container, .container-narrow {
    padding: 0 16px;
  }
  .cats-grid { grid-template-columns: 1fr !important; }
  .article-content { font-size: .98rem; }
  .article-content p, 
  .article-content li {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* Ulteriori protezioni mobile per parole miste italiane/inglesi nell'arabo */
@media (max-width: 600px) {
  .article-content h2,
  .article-content h3,
  .article-content h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .breadcrumb ol {
    flex-wrap: wrap;
  }
  .breadcrumb li {
    font-size: .85rem;
  }
  .info-box {
    padding: 14px 16px;
  }
  .info-box p,
  .info-box h4 {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  code {
    word-break: break-all;
  }
  /* Tabelle responsive */
  table {
    font-size: .85rem;
  }
}

/* ============================================================ */
/* MIGLIORIE UX: Reading Progress Bar */
/* ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 104, 55, 0.08);
  z-index: 10000;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--it-green) 0%, #ffffff 50%, var(--it-red) 100%);
  transition: width .1s ease-out;
  box-shadow: 0 0 8px rgba(205, 33, 42, 0.3);
}

/* ============================================================ */
/* MIGLIORIE UX: Bottone "Torna Su" */
/* ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--it-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.9);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(0, 104, 55, 0.3), 0 2px 6px rgba(0, 0, 0, 0.1);
  border: none;
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: #00582d;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 104, 55, 0.4), 0 4px 8px rgba(0, 0, 0, 0.12);
}
.back-to-top:active {
  transform: translateY(-2px) scale(1);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 600px) {
  .back-to-top {
    bottom: 20px;
    inset-inline-end: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================ */
/* MIGLIORIE UX: Hover animato sulle card categoria */
/* ============================================================ */
.cat-card {
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.1),
              box-shadow .35s cubic-bezier(.2, .9, .3, 1.1),
              border-color .25s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--it-green) 0%, var(--it-red) 100%);
  transform: scaleX(0);
  transform-origin: inset-inline-end;
  transition: transform .4s cubic-bezier(.2, .9, .3, 1);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10),
              0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--it-green);
}
.cat-card:hover::before {
  transform: scaleX(1);
}
.cat-card .cat-icon {
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.3);
}
.cat-card:hover .cat-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* ============================================================ */
/* FORM CONTATTI: stati di errore, loading, successo */
/* ============================================================ */

/* Messaggio di errore singolo campo */
.error-msg {
  display: none;
  color: var(--it-red);
  font-size: .85rem;
  margin-top: 6px;
  padding-inline-start: 2px;
}
.error-msg.show {
  display: block;
  animation: shakeIn .25s ease-out;
}
@keyframes shakeIn {
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Campo con errore */
.form-row input.has-error,
.form-row select.has-error,
.form-row textarea.has-error {
  border-color: var(--it-red);
  background-color: rgba(205, 33, 42, 0.03);
}
.form-row input.has-error:focus,
.form-row select.has-error:focus,
.form-row textarea.has-error:focus {
  box-shadow: 0 0 0 3px rgba(205, 33, 42, 0.1);
}

/* Errore globale del form (network error, server error) */
.form-error-global {
  background: rgba(205, 33, 42, 0.08);
  border: 1px solid rgba(205, 33, 42, 0.3);
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: .95rem;
  animation: shakeIn .3s ease-out;
}

/* Stato loading sul bottone submit */
#submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}
#submit-btn .btn-loading {
  display: inline-block;
}
#submit-btn .btn-loading::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-end: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Messaggio di successo (sostituisce il form) */
.form-success {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, rgba(0, 104, 55, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 2px solid rgba(0, 104, 55, 0.2);
  border-radius: 12px;
  margin: 30px 0;
  animation: successPop .5s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes successPop {
  0% { opacity: 0; transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}
.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--it-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 104, 55, 0.3);
  animation: bounceIn .6s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  color: var(--it-green);
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.form-success p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ============================================
   AdSense placeholder hidden during review
   Quando AdSense approva il sito:
   - Per Auto Ads: lascia questa regola attiva
   - Per Display Ads: commenta o cancella questa regola
   ============================================ */
.ad-slot {
  display: none !important;
}


/* ============================================
   Contatore visite (nel footer)
   ============================================ */
.visitor-counter {
  text-align: center;
  padding: 10px 0 4px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
}
.visitor-counter-icon {
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}
.visitor-counter-label {
  vertical-align: middle;
}
.visitor-counter-number {
  color: white;
  font-weight: 700;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  min-width: 30px;
}
.visitor-counter-number.loading::after {
  content: "...";
  opacity: 0.5;
}


/* ============================================
   BOX AUTORE MOHAMMED (E-E-A-T AdSense)
   Iniettato automaticamente da main.js
   ============================================ */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, rgba(0,104,55,0.06), rgba(206,43,55,0.03));
  border: 1px solid rgba(0,104,55,0.15);
  border-radius: 16px;
  padding: 22px 20px;
  margin: 36px 0 24px;
}
.author-box__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,104,55,0.25);
  flex-shrink: 0;
}
.author-box__avatar-fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--it-green), #008752);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  border: 3px solid rgba(0,104,55,0.25);
}
.author-box__info { flex: 1; }
.author-box__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--it-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}
.author-box__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.author-box__bio {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.author-box__bio strong { color: var(--text); }

/* ============================================
   BOX CONSIGLIO DI MOHAMMED
   Uso: <div class="mohammed-tip">...</div>
   ============================================ */
.mohammed-tip {
  background: linear-gradient(135deg, rgba(0,104,55,0.07), rgba(0,104,55,0.03));
  border-right: 4px solid var(--it-green);
  border-radius: 0 12px 12px 0;
  padding: 18px 20px 18px 24px;
  margin: 24px 0;
  position: relative;
}
.mohammed-tip::before {
  content: "💬";
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 1.4rem;
  background: white;
  padding: 0 6px;
  border-radius: 50%;
}
.mohammed-tip__header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--it-green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mohammed-tip p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}
.mohammed-tip p + p { margin-top: 8px; }

/* ============================================
   BOX FONTI UFFICIALI
   Uso: <div class="official-sources">...</div>
   ============================================ */
.official-sources {
  background: rgba(26,79,160,0.05);
  border: 1px solid rgba(26,79,160,0.15);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 28px 0;
}
.official-sources h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a4fa0;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.official-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.official-sources ul li a {
  color: #1a4fa0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.official-sources ul li a::before {
  content: "→";
  font-size: 0.8rem;
  opacity: 0.6;
}
.official-sources ul li a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-box__label { text-align: center; }
}
