/* ═══════════════════════════════════════════════════════════════
   ADLP NEWS SYSTEM - base.css
   Variabili, font Poppins, reset minimo.
   Scoped su body.adlp-* per non inquinare il resto del sito.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body.adlp-single-article,
body.adlp-category-archive,
body.adlp-year-archive {
  --red: #B32B0C;
  --red-accent: #CC0000;
  --red-hover: #9E260A;
  --cream: #F0E6D3;
  --cream-light: #F7F1E5;
  --cream-featured: #FAF5EB;
  --charcoal: #111111;
  --text: #2a2825;
  --text-soft: #5a5852;
  --text-muted: #8a8782;
  --line: #e4e0d9;
  --line-strong: #c9c4ba;
  --bg-soft: #faf8f3;
  --layout-max: 1620px;
  --layout-padding: 40px;
  --reading-max: 720px;

  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body.adlp-single-article a,
body.adlp-category-archive a,
body.adlp-year-archive a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.adlp-single-article a:hover,
body.adlp-category-archive a:hover,
body.adlp-year-archive a:hover {
  color: var(--red-hover);
}

body.adlp-single-article img,
body.adlp-category-archive img,
body.adlp-year-archive img {
  max-width: 100%;
  display: block;
}

/* Box icona categoria — usata in tutti i template */
body.adlp-single-article .cat-icon-box,
body.adlp-category-archive .cat-icon-box,
body.adlp-year-archive .cat-icon-box {
  width: 18px;
  height: 18px;
  background: var(--red);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.adlp-single-article .cat-icon-box svg,
body.adlp-category-archive .cat-icon-box svg,
body.adlp-year-archive .cat-icon-box svg {
  width: 11px;
  height: 11px;
  fill: white;
}

/* Versione large (per hero categoria) */
body.adlp-single-article .cat-icon-box.lg,
body.adlp-category-archive .cat-icon-box.lg,
body.adlp-year-archive .cat-icon-box.lg {
  width: 100px;
  height: 100px;
  border-radius: 14px;
}
body.adlp-single-article .cat-icon-box.lg svg,
body.adlp-category-archive .cat-icon-box.lg svg,
body.adlp-year-archive .cat-icon-box.lg svg {
  width: 52px;
  height: 52px;
}

/* Reset padding aggiuntivo Extra/Divi per evitare doppia gabbia */
body.adlp-single-article #main-content,
body.adlp-category-archive #main-content,
body.adlp-year-archive #main-content {
  padding-top: 0;
}

body.adlp-single-article .et_pb_section,
body.adlp-category-archive .et_pb_section,
body.adlp-year-archive .et_pb_section,
body.adlp-single-article .et_pb_row,
body.adlp-category-archive .et_pb_row,
body.adlp-year-archive .et_pb_row {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100%;
  width: 100%;
}

/* Nascondo la sidebar Extra e il titolo pagina default */
body.adlp-single-article #sidebar,
body.adlp-category-archive #sidebar,
body.adlp-year-archive #sidebar,
body.adlp-single-article .entry-title,
body.adlp-category-archive .entry-title,
body.adlp-year-archive .entry-title,
body.adlp-single-article .et_post_meta_wrapper,
body.adlp-category-archive .et_post_meta_wrapper,
body.adlp-year-archive .et_post_meta_wrapper {
  display: none !important;
}

body.adlp-single-article #left-area,
body.adlp-category-archive #left-area,
body.adlp-year-archive #left-area {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.adlp-single-article #main-footer,
body.adlp-category-archive #main-footer,
body.adlp-year-archive #main-footer {
  margin-top: 0 !important;
}
