/* ==========================================================================
   The Jigger — liquid culture
   Stili del tema. Palette e tipografia dal mockup definitivo (Claude Design):
   CREMA ~60% · BRUNO/MARRONE ~22% · CORALLO ~14% · SALMONE · POP/TURCHESE ~2%
   Font: Unbounded (titoli) · Inter (testo) · Lora italic (accento editoriale)
   ========================================================================== */

:root {
  /* Token dal brief, valori dal mockup definitivo */
  --crema: #FBF3DE;          /* sfondo dominante */
  --crema-soft: #FBEBDA;     /* hero, sezioni calde */
  --crema-alt: #EFE4C9;      /* sezioni alternative */
  --marrone: #3A2A1E;        /* testo forte, footer, bottoni scuri */
  --marrone-scuro: #2A1D13;
  --corallo: #ED5A33;        /* accento, CTA, link */
  --corallo-hover: #D84A26;
  --salmone: #F5977F;
  --turchese: #45E6DB;       /* accento pop, evidenziatore */
  --panna: #FCEEDD;          /* testo su fondi scuri/corallo */
  --bianco-caldo: #FFF6EA;
  --card-bg: #FCF6E6;
  --card-border: #ECDFC1;
  --testo: #463A2D;
  --testo-soft: #6B5D4F;
  --muted: #A2937E;
  --lora-accent: #C2593B;
  --placeholder-bg: #E7DCC2;
  --placeholder-border: #D3C4A2;
  --font-display: 'Unbounded', sans-serif;
  --font-testo: 'Inter', sans-serif;
  --font-editoriale: 'Lora', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crema);
  font-family: var(--font-testo);
  color: var(--testo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--marrone);
  margin: 0;
}

a { color: var(--corallo); }
a:hover { color: var(--corallo-hover); }

img { max-width: 100%; height: auto; }

/* Accessibilità: focus visibile e skip link */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--corallo);
  outline-offset: 2px;
  border-radius: 4px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  z-index: 100;
  position: fixed;
  top: 10px;
  left: 10px;
  background: var(--marrone);
  color: var(--panna);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Etichetta editoriale in corsivo (Lora)
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-editoriale);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  color: var(--lora-accent);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Bottoni
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--corallo); color: var(--panna); }
.btn-primary:hover { background: var(--corallo-hover); color: var(--panna); }
.btn-outline {
  background: transparent;
  color: var(--marrone);
  border: 2px solid var(--marrone);
  padding: 13px 26px;
}
.btn-outline:hover { background: var(--marrone); color: var(--panna); }
.btn-small { font-size: 14px; padding: 12px 22px; }

/* --------------------------------------------------------------------------
   Header sticky
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 34px;
  background: var(--crema-soft);
  border-bottom: 1px solid #F0DCC0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo,
.logo a {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--marrone);
  letter-spacing: -.3px;
}
.logo img.custom-logo { max-height: 48px; width: auto; }

.main-nav .menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
}
.main-nav a {
  color: var(--marrone);
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--corallo); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta {
  background: var(--corallo);
  color: var(--panna);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .18s ease;
}
.header-cta:hover { background: var(--corallo-hover); color: var(--panna); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger div {
  width: 20px;
  height: 2px;
  background: var(--marrone);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] div:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] div:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] div:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--crema-soft);
  padding: 70px 0 66px;
}
.hero--compact { padding: 60px 0 44px; }
.hero h1 {
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -1px;
  margin: 0 0 20px;
  max-width: 820px;
}
.hero--compact h1 { font-size: 52px; letter-spacing: -.8px; margin-bottom: 16px; }
.hero h1 .accent { color: var(--corallo); }
.hero .lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--testo-soft);
  max-width: 600px;
  margin: 0 0 30px;
}
.hero--compact .lead { margin-bottom: 0; font-size: 18px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.link-underline {
  color: var(--lora-accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */
.section { padding: 56px 0 16px; }
.section-title {
  font-size: 34px;
  letter-spacing: -.5px;
  margin: 0 0 8px;
}
.section-sub {
  font-size: 16px;
  color: var(--testo-soft);
  margin: 0 0 30px;
  max-width: 560px;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head-row .section-sub { margin-bottom: 0; }
.link-forward {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--corallo);
  text-decoration: none;
  white-space: nowrap;
}
.link-forward:hover { color: var(--corallo-hover); }
.empty-state {
  font-size: 17px;
  color: var(--testo-soft);
  background: var(--card-bg);
  border: 1px dashed var(--placeholder-border);
  border-radius: 18px;
  padding: 34px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Griglie e card generiche
   -------------------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 24px;
}
.feature-card .emoji { font-size: 30px; margin-bottom: 12px; }
.feature-card h3 { font-size: 21px; margin: 0 0 9px; }
.feature-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--testo-soft);
  margin: 0 0 16px;
}
.feature-card p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Card articolo
   -------------------------------------------------------------------------- */
.post-card {
  height: 100%;
}
.post-card-link {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.post-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -18px rgba(58, 42, 30, .45);
}
.post-card-img {
  aspect-ratio: 16/10;
  background: var(--placeholder-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #B0A283;
  font-size: 12px;
  border-bottom: 1px dashed var(--placeholder-border);
  overflow: hidden;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-img .emoji { font-size: 24px; line-height: 1; }
.post-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.post-card .cat-badge { align-self: flex-start; }
.post-card h3 {
  font-size: 19px;
  line-height: 1.2;
  text-wrap: pretty;
}
.post-card-excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--testo-soft);
}
.post-card .date {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--muted);
}

/* Card in evidenza (primo articolo del blog) */
.post-grid .post-card--featured { grid-column: 1 / -1; }
.post-card--featured .post-card-link { flex-direction: row; }
.post-card--featured .post-card-img {
  flex: 1.2;
  aspect-ratio: auto;
  border-bottom: none;
  border-right: 1px dashed var(--placeholder-border);
}
.post-card--featured .post-card-body {
  flex: 1;
  padding: 30px;
  justify-content: center;
  gap: 14px;
}
.post-card--featured h3 { font-size: 28px; letter-spacing: -.4px; }

.cat-badge {
  display: inline-block;
  background: var(--corallo);
  color: var(--panna);
  font-family: var(--font-testo);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  text-decoration: none;
}
a.cat-badge:hover { background: var(--corallo-hover); color: var(--panna); }

/* --------------------------------------------------------------------------
   Banner scuro "chi c'è dietro"
   -------------------------------------------------------------------------- */
.dark-banner {
  background: var(--marrone);
  border-radius: 24px;
  padding: 52px 54px;
  position: relative;
  overflow: hidden;
}
.dark-banner .watermark {
  position: absolute;
  right: -20px;
  bottom: -40px;
  opacity: .14;
  line-height: 0;
}
.dark-banner .inner { position: relative; max-width: 720px; }
.dark-banner .eyebrow { font-size: 16px; color: #E0A88C; }
.dark-banner blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--panna);
  margin: 0 0 26px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Guide in evidenza
   -------------------------------------------------------------------------- */
.guides-section {
  background: var(--crema-alt);
  padding: 60px 0;
  margin-top: 40px;
}
.guides-section .section-head-row { align-items: flex-end; }

/* --------------------------------------------------------------------------
   Newsletter — blocco forte corallo
   -------------------------------------------------------------------------- */
.newsletter-cta {
  background: var(--corallo);
  color: var(--panna);
  position: relative;
  overflow: hidden;
  padding: 60px 52px;
  border-radius: 24px;
}
.newsletter-cta .watermark {
  position: absolute;
  right: -30px;
  bottom: -50px;
  opacity: .13;
  line-height: 0;
}
.newsletter-cta .inner { position: relative; max-width: 640px; }
.newsletter-cta .eyebrow { font-size: 16px; color: #FDD9C9; margin-bottom: 10px; }
.newsletter-cta h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--bianco-caldo);
}
.newsletter-cta p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: #FCE3D6;
  max-width: 520px;
}
.newsletter-cta .fine-print { margin: 0; font-size: 13px; color: #FCD9C9; }
.cta-wrap { padding: 48px 0 56px; }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.newsletter-form input {
  flex: 1;
  min-width: 210px;
  border: none;
  border-radius: 999px;
  padding: 15px 22px;
  font-family: var(--font-testo);
  font-size: 15px;
  background: var(--bianco-caldo);
  color: var(--marrone);
  outline: none;
}
.newsletter-form button {
  border: none;
  background: var(--marrone);
  color: var(--panna);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease;
}
.newsletter-form button:hover { background: var(--marrone-scuro); }

/* Newsletter inline a metà articolo */
.newsletter-inline {
  background: var(--panna);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 30px;
  margin: 36px 0;
}
.newsletter-inline-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.newsletter-inline-head svg { flex-shrink: 0; }
.newsletter-inline-head strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--marrone);
  line-height: 1.3;
}
.newsletter-inline p {
  margin: 0 0 16px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: var(--testo-soft) !important;
}
.newsletter-inline .newsletter-form input {
  background: var(--crema);
  border: 1.5px solid #E4D6BC;
}
.newsletter-inline .newsletter-form button { background: var(--corallo); }
.newsletter-inline .newsletter-form button:hover { background: var(--corallo-hover); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--marrone);
  color: #F3E8D5;
  padding: 52px 34px 26px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.5fr 1.4fr;
  gap: 38px;
  max-width: 1120px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.footer-logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--panna);
  letter-spacing: -.3px;
  line-height: .95;
}
.footer-tagline {
  font-family: var(--font-editoriale);
  font-style: italic;
  font-weight: 500;
  color: #ED8A6E;
  font-size: 15px;
  margin-bottom: 12px;
}
.footer-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #B9A88F;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 15px;
  color: var(--panna);
  margin: 0 0 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  margin: 0;
  padding: 0;
}
.footer-links a { color: #C9B8A3; text-decoration: none; }
.footer-links a:hover { color: var(--corallo); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-social a { text-decoration: none; color: #C9B8A3; }
.footer-social a.primary { color: var(--corallo); }
.footer-social a:hover { color: var(--corallo); }
.footer-nl-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--panna);
  margin-bottom: 8px;
}
.footer-nl-form { display: flex; gap: 6px; }
.footer-nl-form input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 999px;
  padding: 9px 13px;
  font-family: var(--font-testo);
  font-size: 12.5px;
  background: #4A382A;
  color: var(--panna);
  outline: none;
}
.footer-nl-form input::placeholder { color: #B9A88F; }
.footer-nl-form button {
  border: none;
  background: var(--corallo);
  color: var(--panna);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
}
.footer-nl-form button:hover { background: var(--corallo-hover); }
.footer-widgets {
  max-width: 1120px;
  margin: 30px auto 0;
  font-size: 13.5px;
  color: #B9A88F;
}
.footer-bottom {
  max-width: 1120px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: #9A8A73;
}
.footer-bottom a { color: #9A8A73; text-decoration: none; }
.footer-bottom a:hover { color: var(--corallo); }
.footer-bottom .legal { display: flex; gap: 16px; }

/* --------------------------------------------------------------------------
   Filtri categoria (blog e categorie)
   -------------------------------------------------------------------------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-chip {
  background: transparent;
  color: var(--marrone);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid #D8C9AC;
  transition: border-color .15s ease, color .15s ease;
}
.filter-chip:hover { border-color: var(--corallo); color: var(--corallo); }
.filter-chip.active {
  background: var(--corallo);
  color: var(--panna);
  border-color: var(--corallo);
}
.filter-chip.active:hover { color: var(--panna); }

/* Paginazione */
.pagination { margin: 40px 0 8px; }
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--marrone);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid #D8C9AC;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--corallo);
  border-color: var(--corallo);
  color: var(--panna);
}
.pagination .page-numbers.dots { border: none; }

/* --------------------------------------------------------------------------
   Articolo
   -------------------------------------------------------------------------- */
.article-head {
  max-width: 740px;
  margin: 0 auto;
  padding: 44px 24px 0;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--corallo); }
.breadcrumb .current { color: var(--corallo); }
.article-head .cat-badge {
  font-size: 11px;
  letter-spacing: .7px;
  padding: 6px 13px;
  margin-bottom: 18px;
}
.article-title {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -.6px;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--testo-soft);
  margin-bottom: 30px;
}
.article-meta strong { color: var(--marrone); font-weight: 700; }
.avatar-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--marrone);
  border-radius: 50%;
  flex-shrink: 0;
}
.article-cover {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.article-cover img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* Corpo articolo: lettura comoda + stili dei blocchi Gutenberg */
.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 20px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--testo);
}
.article-body > p { margin: 0 0 22px; }
.article-body h2 {
  font-size: 28px;
  margin: 38px 0 14px;
  letter-spacing: -.3px;
}
.article-body h3 { font-size: 22px; margin: 30px 0 12px; }
.article-body ul,
.article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body img { border-radius: 16px; }
.article-body figure { margin: 30px 0; }
.article-body figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* Citazioni → pull-quote scura del mockup */
.article-body blockquote,
.article-body .wp-block-quote {
  background: var(--marrone);
  border: none;
  border-radius: 20px;
  padding: 34px;
  margin: 32px 0;
}
.article-body blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--panna);
  margin: 0;
}
.article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-editoriale);
  font-style: italic;
  font-size: 15px;
  color: #E0A88C;
}

/* Pull-quote editoriale in serif (variante chiara):
   aggiungi la classe "quote-serif" al blocco citazione */
.article-body .quote-serif {
  background: transparent;
  padding: 10px 0 10px 28px;
  border-left: 4px solid var(--corallo);
  border-radius: 0;
}
.article-body .quote-serif p {
  font-family: var(--font-editoriale);
  font-style: italic;
  font-weight: 500;
  color: var(--lora-accent);
  font-size: 26px;
}

/* Evidenziatore turchese: <mark> o classe "evidenzia" */
.article-body mark,
.article-body .evidenzia {
  background: var(--turchese);
  padding: 0 6px;
  border-radius: 4px;
  color: var(--marrone);
}

/* Box "5 cose da sapere" — blocco Gruppo con classe extra "box-focus" */
.article-body .box-focus {
  background: var(--panna);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 34px 36px;
  margin: 32px 0;
}
.article-body .box-focus h3,
.article-body .box-focus h2 { margin-top: 0; }
.article-body .box-focus ol { margin-bottom: 0; }

/* Box ricetta — blocco Gruppo con classe extra "box-ricetta"
   (compatibile con lo schema ricetta di RankMath: il markup resta pulito) */
.article-body .box-ricetta {
  background: var(--crema-alt);
  border-radius: 20px;
  padding: 34px 36px;
  margin: 32px 0;
}
.article-body .box-ricetta h3,
.article-body .box-ricetta h2 { margin-top: 0; }
.article-body .box-ricetta h4 {
  font-family: var(--font-testo);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--corallo);
  margin: 18px 0 10px;
}
.article-body .box-ricetta ul,
.article-body .box-ricetta ol { margin-bottom: 0; }

/* Colonne del blocco ricetta su desktop */
.article-body .box-ricetta .wp-block-columns { gap: 30px; }

/* Firma / author box (senza volto, predisposto per il futuro) */
.author-box {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 26px 28px;
}
.author-box .avatar-badge { width: 56px; height: 56px; }
.author-box .eyebrow { font-size: 14px; color: #B36A4E; margin-bottom: 3px; }
.author-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--testo-soft);
}
.author-box p strong { color: var(--marrone); }
.article-box {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

/* Correlati */
.related-section {
  background: var(--crema-soft);
  padding: 52px 0;
}
.related-section h2 {
  font-size: 30px;
  letter-spacing: -.4px;
  margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   Landing newsletter
   -------------------------------------------------------------------------- */
.nl-hero {
  background: var(--corallo);
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.nl-hero .watermark {
  position: absolute;
  left: -40px;
  top: -40px;
  opacity: .1;
  line-height: 0;
}
.nl-hero .inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 24px;
}
.nl-hero .eyebrow { font-size: 18px; color: #FDD9C9; }
.nl-hero h1 {
  font-size: 52px;
  line-height: 1.04;
  color: var(--bianco-caldo);
  margin: 0 0 16px;
  letter-spacing: -.8px;
}
.nl-hero .lead {
  font-size: 18px;
  line-height: 1.55;
  color: #FCE3D6;
  margin: 0 0 30px;
}
.signup-card {
  background: var(--bianco-caldo);
  border-radius: 22px;
  padding: 32px 34px;
  text-align: left;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
}
.signup-card .newsletter-form input {
  background: var(--crema);
  border: 1.5px solid #E4D6BC;
}
.signup-card .newsletter-form input:focus { border-color: var(--corallo); }
.signup-card .newsletter-form button { background: var(--corallo); }
.signup-card .newsletter-form button:hover { background: var(--corallo-hover); }
.signup-fine-print {
  text-align: center;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.nl-features { padding: 60px 0 40px; }
.nl-features h2 {
  font-size: 32px;
  margin: 0 0 28px;
  text-align: center;
  letter-spacing: -.5px;
}
.nl-preview-section {
  background: var(--crema-alt);
  padding: 56px 0;
}
.nl-preview-section .eyebrow {
  text-align: center;
  font-size: 16px;
  color: #B36A4E;
  margin-bottom: 16px;
}
.email-preview {
  max-width: 640px;
  margin: 0 auto;
  background: var(--crema);
  border: 1px solid #E2D5BB;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 34px -22px rgba(58, 42, 30, .4);
}
.email-preview .email-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  border-bottom: 1px solid #E9DCC1;
}
.email-preview .email-head .brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--marrone);
}
.email-preview .email-head .when {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.email-preview .email-body { padding: 22px 24px; }
.email-preview .subject-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.email-preview h3 { font-size: 22px; margin: 0 0 10px; }
.email-preview p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--testo-soft);
  margin: 0;
}

/* Embed Brevo: che respiri nel contesto */
.brevo-embed iframe { max-width: 100%; }

/* --------------------------------------------------------------------------
   Thank you page
   -------------------------------------------------------------------------- */
.thanks-hero {
  padding: 80px 0 60px;
  text-align: center;
}
.thanks-hero .badge-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: var(--marrone);
  border-radius: 50%;
  margin-bottom: 26px;
}
.thanks-hero h1 {
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.thanks-hero .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--testo-soft);
  max-width: 560px;
  margin: 0 auto 14px;
}
.thanks-hero .lead strong { color: var(--marrone); }
.thanks-hero .fine-print { font-size: 15px; color: var(--muted); margin: 0 0 30px; }
.thanks-hero .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.start-here {
  background: var(--crema-soft);
  padding: 56px 0;
}
.start-here h2 {
  font-size: 30px;
  text-align: center;
  letter-spacing: -.4px;
  margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   Form di ricerca
   -------------------------------------------------------------------------- */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.search-form input[type="search"] {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  border: 1.5px solid #E4D6BC;
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--font-testo);
  font-size: 15px;
  background: var(--bianco-caldo);
  color: var(--marrone);
  outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--corallo); }

/* --------------------------------------------------------------------------
   Chi siamo — frase manifesto in serif corsivo
   -------------------------------------------------------------------------- */
.manifesto {
  font-family: var(--font-editoriale);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.35;
  color: var(--lora-accent);
  max-width: 760px;
  margin: 0;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Pagine generiche (legali, contenuti liberi)
   -------------------------------------------------------------------------- */
.page .article-title { font-size: 52px; }
.page-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
}

/* ==========================================================================
   Responsive — mobile first sotto i breakpoint del mockup
   ========================================================================== */
@media (max-width: 960px) {
  .site-header { padding: 13px 16px; }
  .logo span { font-size: 18px; }
  .header-cta { font-size: 12.5px; padding: 7px 13px; }
  .hamburger { display: flex; }

  /* Nav a tendina sotto l'header */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--crema-soft);
    border-bottom: 1px solid #F0DCC0;
    box-shadow: 0 18px 30px -20px rgba(58, 42, 30, .35);
    padding: 6px 22px 16px;
  }
  .main-nav.open { display: block; }
  .main-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav .menu a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #F0DCC0;
  }
  .main-nav .menu li:last-child a { border-bottom: none; }
}

@media (max-width: 820px) {
  .hero { padding: 40px 0 42px; }
  .hero h1, .hero--compact h1 { font-size: 34px; letter-spacing: -.5px; }
  .hero .lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .section { padding: 34px 0 12px; }
  .section-title { font-size: 25px; }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .post-card--featured .post-card-link { flex-direction: column; }
  .post-card--featured .post-card-img {
    aspect-ratio: 16/10;
    border-right: none;
    border-bottom: 1px dashed var(--placeholder-border);
  }
  .post-card--featured .post-card-body { padding: 18px; }
  .post-card--featured h3 { font-size: 21px; }

  .dark-banner { padding: 30px 26px; border-radius: 20px; }
  .dark-banner blockquote { font-size: 21px; line-height: 1.25; }

  .newsletter-cta { padding: 40px 24px; border-radius: 20px; }
  .newsletter-cta h2 { font-size: 30px; }
  .cta-wrap { padding: 28px 0 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-chip { flex-shrink: 0; white-space: nowrap; font-size: 13px; }

  .article-head { padding-top: 28px; }
  .article-title { font-size: 29px; line-height: 1.12; letter-spacing: -.3px; }
  .page .article-title { font-size: 32px; }
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: 22px; }
  .article-body blockquote { padding: 24px; border-radius: 16px; }
  .article-body blockquote p { font-size: 19px; }
  .article-body .quote-serif p { font-size: 21px; }
  .article-body .box-focus,
  .article-body .box-ricetta { padding: 24px; border-radius: 16px; }
  .author-box { padding: 20px; }

  .nl-hero { padding: 36px 0; }
  .nl-hero h1 { font-size: 32px; letter-spacing: -.5px; }
  .nl-hero .lead { font-size: 14.5px; }
  .signup-card { padding: 22px; border-radius: 18px; }

  .thanks-hero { padding: 44px 0 40px; }
  .thanks-hero .badge-circle { width: 76px; height: 76px; }
  .thanks-hero h1 { font-size: 40px; letter-spacing: -.6px; }
  .thanks-hero .lead { font-size: 15px; }
  .thanks-hero .actions { flex-direction: column; align-items: stretch; }

  .manifesto { font-size: 22px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Riduzione movimento per chi lo preferisce */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .post-card-link:hover { transform: none; }
  * { transition: none !important; }
}
