:root{--cream:#f5f0e7;--paper:#fffdf8;--ink:#293943;--muted:#6e7776;--terracotta:#b95f43;--terracotta-dark:#974a34;--sky:#c9dfe3;--border:#e3dbce;--shadow:0 14px 38px rgba(35,47,48,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Karla,Arial,sans-serif;font-size:16px;line-height:1.7}a{color:var(--terracotta-dark);text-underline-offset:3px}a:hover{color:var(--terracotta);text-decoration-thickness:2px}img{max-width:100%;height:auto;display:block}.shell{width:min(1120px,calc(100% - 40px));margin-inline:auto}h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;line-height:1.14;letter-spacing:-.015em;margin:.25em 0 .55em}h1{font-size:clamp(2.5rem,5vw,4rem)}h2{font-size:clamp(1.8rem,3.4vw,2.5rem)}h3{font-size:1.55rem}p{margin:.35em 0 1em}.site-header{position:relative;z-index:5;background:#243b45;color:#fff;padding:18px 0;box-shadow:0 4px 22px #142a341f}.nav-shell{display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{text-decoration:none;color:inherit;display:flex;flex-direction:column;line-height:1.05;white-space:nowrap}.brand span{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.6rem,3vw,2.25rem);font-weight:700}.brand em{font-style:italic;color:#d88a69}.brand small{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;margin-top:5px;opacity:.75}.site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap}.site-header nav a,.nav-link-button{color:#fff;text-decoration:none;font-size:.95rem;font-weight:600}.site-header nav a:hover,.nav-link-button:hover{color:#f0cbb9}.nav-inline{display:inline;margin:0}.nav-link-button{background:none;border:0;padding:0;cursor:pointer;font-family:inherit}.main-content{min-height:64vh}.hero{position:relative;background:linear-gradient(120deg,#203b46 0%,#365a64 58%,#a76a4f 160%);color:#fff;overflow:hidden}.hero:after{content:"";position:absolute;right:-7%;bottom:-35%;width:42vw;height:42vw;border:1px solid #ffffff21;border-radius:50%;box-shadow:0 0 0 50px #ffffff08,0 0 0 100px #ffffff05;pointer-events:none}.hero-inner{position:relative;z-index:1;padding:clamp(70px,11vw,145px) 0 clamp(78px,10vw,125px)}.eyebrow{font-size:.75rem;letter-spacing:.17em;text-transform:uppercase;font-weight:700;color:var(--terracotta);margin:0 0 12px}.hero .eyebrow{color:#c9dfe3}.hero h1{font-size:clamp(3.2rem,7vw,6.2rem);max-width:850px;margin:.15em 0 .28em}.hero h1 em,.story-band h2 em,.page-intro h1 em{font-weight:500;color:#edb49b}.hero-lead{font-size:clamp(1.1rem,2vw,1.35rem);max-width:650px;color:#f0f4f3}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--terracotta);border:1px solid var(--terracotta);border-radius:999px;color:#fff!important;text-decoration:none;padding:12px 22px;min-height:46px;font-family:inherit;font-size:.95rem;font-weight:700;cursor:pointer;transition:transform .15s,background .15s}.button:hover{background:var(--terracotta-dark);border-color:var(--terracotta-dark);transform:translateY(-1px)}.button-light{background:transparent;border-color:#ffffff8a}.button-light:hover{background:#ffffff18;border-color:#fff}.button-outline{background:transparent;color:var(--terracotta-dark)!important;border-color:var(--border)}.button-outline:hover{color:#fff!important}.full-width{width:100%}.small-button{padding:8px 15px;min-height:36px;font-size:.85rem}.section{padding-top:68px;padding-bottom:68px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.section-heading h2{margin-bottom:0}.text-link{font-weight:700;text-decoration:none}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.recipe-card{background:var(--paper);border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px #233a4014}.card-image{display:block;aspect-ratio:4/3;background:#e6ded0;text-decoration:none}.card-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.8rem;color:#7b6251;background:linear-gradient(145deg,#ede1d0,#d7e0da)}.card-body{padding:22px}.card-meta{font-size:.8rem;letter-spacing:.05em;color:var(--terracotta-dark);font-weight:700;margin:0 0 7px}.card-body h2,.card-body h3{font-size:1.75rem;margin:0 0 10px}.card-body h2 a,.card-body h3 a,.post-row h2 a,.post-row h3 a{color:var(--ink);text-decoration:none}.card-body>p:not(.card-meta){color:#596365;font-size:.96rem}.recipe-details{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px;padding-top:13px;border-top:1px solid var(--border);font-size:.85rem;color:var(--muted)}.story-band{background:#e8dfd1;padding:62px 0}.story-band-inner{display:flex;align-items:center;justify-content:space-between;gap:36px}.story-band h2{max-width:680px}.story-band p:not(.eyebrow){max-width:620px;color:#586363}.empty-state{background:var(--paper);border:1px solid var(--border);border-radius:14px;padding:clamp(25px,5vw,48px);text-align:center}.empty-state p{max-width:650px;margin:0 auto 12px;color:var(--muted)}.post-list{border-top:1px solid var(--border)}.post-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0;border-bottom:1px solid var(--border)}.post-row h2,.post-row h3{margin:.15em 0 .35em}.post-row p{color:#5c6564;margin-bottom:0}.post-row>div{max-width:780px}.page-intro{padding-top:75px;padding-bottom:30px}.page-intro>p:last-child{max-width:750px;color:var(--muted);font-size:1.1rem}.recipe-page{padding-top:65px;padding-bottom:90px;max-width:1000px}.recipe-page>h1{font-size:clamp(2.8rem,6vw,4.8rem);max-width:850px}.recipe-deck,.article-deck{font-size:1.25rem;max-width:780px;color:#5a6766}.recipe-hero-image{margin:30px 0 22px}.recipe-hero-image img,.article-image{width:100%;max-height:620px;object-fit:cover;border-radius:16px}.recipe-hero-image figcaption,.step figcaption{font-size:.82rem;color:var(--muted);margin-top:7px}.recipe-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--border);padding:22px 0;margin:24px 0 36px;gap:20px}.recipe-summary div{display:flex;flex-direction:column;gap:5px}.recipe-summary small{font-size:.72rem;letter-spacing:.12em;color:var(--muted)}.recipe-summary strong{font-size:1rem}.recipe-intro{max-width:790px;font-size:1.1rem;margin-bottom:45px}.recipe-content-grid{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:48px}.ingredient-list{padding:0;list-style:none;border-top:1px solid var(--border)}.ingredient-list li{padding:13px 0;border-bottom:1px solid var(--border)}.ingredient-list li span{font-weight:700;color:var(--terracotta-dark);margin-right:5px}.step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:21px 0;border-bottom:1px solid var(--border)}.step-number{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.9rem;color:var(--terracotta)}.step h3{font-size:1.35rem;margin:0 0 6px}.step figure{margin:12px 0 0}.step figure img{width:100%;border-radius:12px}.history-note{margin-top:55px;padding:28px;background:#ece4d7;border-radius:14px}.article-page,.legal-page{max-width:850px;padding-top:65px;padding-bottom:90px}.article-page h1,.legal-page h1{font-size:clamp(2.4rem,5vw,3.5rem)}.article-image{margin:25px 0}.article-body{white-space:pre-line;font-size:1.08rem;margin:30px 0}.legal-page h2{font-size:1.55rem;margin-top:1.7em}.legal-page p,.legal-page li{font-size:1rem}.legal-notice,.notice{padding:15px 18px;background:#eee4d7;border-left:4px solid var(--terracotta);border-radius:4px;margin:24px 0 30px}.account-wrap{display:flex;justify-content:center;padding-top:68px;padding-bottom:85px}.account-card{width:min(100%,520px);background:var(--paper);padding:clamp(25px,5vw,42px);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}.account-card h1{font-size:2.65rem}.muted{color:var(--muted)}.form-stack{display:flex;flex-direction:column;gap:17px;margin-top:24px}.form-stack label:not(.check-row){display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:.94rem}.form-stack input:not([type=checkbox]),.form-stack textarea,.form-stack select{width:100%;padding:12px 13px;border:1px solid #cfc8bc;border-radius:7px;background:#fffefa;color:var(--ink);font:inherit;font-weight:400}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{outline:2px solid #d99a7f;outline-offset:2px}.check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.45;font-size:.9rem;font-weight:400!important}.check-row input{margin-top:4px;accent-color:var(--terracotta);flex:0 0 auto}.form-switch{margin-top:22px;font-size:.92rem}.form-page{padding-top:60px;padding-bottom:90px;max-width:920px}.form-page>h1{font-size:clamp(2.5rem,5vw,3.6rem)}.lead{font-size:1.13rem;color:var(--muted);max-width:750px}.wide-form{background:var(--paper);padding:clamp(20px,4vw,38px);border:1px solid var(--border);border-radius:15px}.form-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.consent-box{border-top:1px solid var(--border);padding-top:18px;margin-top:3px}.consent-box>p{font-size:.9rem}.flash{margin-top:18px;padding:13px 17px;border-radius:8px}.flash-success{background:#e1eddf;color:#234e2d}.flash-error{background:#f6e0d8;color:#762f21}.message-page{padding-top:80px;padding-bottom:100px;display:flex;justify-content:center}.message-card{width:min(100%,720px);background:var(--paper);border:1px solid var(--border);border-radius:15px;padding:clamp(28px,6vw,55px);box-shadow:var(--shadow)}.message-card p:not(.eyebrow){margin-bottom:24px}.admin-list{border-top:1px solid var(--border)}.admin-item{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--border)}.admin-item h3{margin:.35em 0;font-size:1.5rem}.admin-item p{margin:0;font-size:.88rem}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.status{display:inline-block;border-radius:99px;padding:3px 10px;font-size:.75rem;font-weight:700;background:#e9e2d6;color:#4e524e}.status-published{background:#dcebdc;color:#28562d}.status-pending_review{background:#f7e8ce;color:#79551b}.status-rejected{background:#f2d9d2;color:#832f23}.site-footer{background:#243b45;color:#eff1ec;padding:42px 0 18px;margin-top:35px}.footer-grid{display:flex;justify-content:space-between;gap:35px;align-items:start}.footer-brand{color:#fff}.site-footer p{color:#c2cfcd;font-size:.9rem}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-links a{color:#e9c0ab;text-decoration:none;font-size:.9rem}.footer-note{border-top:1px solid #ffffff25;margin-top:28px;padding-top:14px;color:#aabbb9;font-size:.8rem}
@media(max-width:850px){.nav-shell{align-items:flex-start;flex-direction:column;gap:15px}.site-header nav{justify-content:flex-start;gap:14px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-content-grid{grid-template-columns:1fr;gap:26px}.story-band-inner{align-items:flex-start;flex-direction:column}.recipe-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.shell{width:calc(100% - 30px)}.hero-inner{padding:68px 0 78px}.hero h1{font-size:3.1rem}.section{padding-top:48px;padding-bottom:48px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.card-grid{grid-template-columns:1fr}.card-body{padding:18px}.post-row,.admin-item{align-items:flex-start;flex-direction:column;gap:14px}.form-cols{grid-template-columns:1fr}.recipe-page,.article-page,.legal-page{padding-top:45px;padding-bottom:65px}.recipe-summary{gap:16px}.footer-grid{flex-direction:column}.step{grid-template-columns:35px minmax(0,1fr);gap:12px}}

/* Campo esca antispam, invisibile agli utenti e agli screen reader */
.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* === RESTYLING SAPORE DELLO STRETTO === */
:root {
  --cream: #f7f8f4;
  --paper: #ffffff;
  --ink: #193b46;
  --muted: #667b7d;
  --terracotta: #c46c4e;
  --terracotta-dark: #a95238;
  --sky: #d9eceb;
  --border: #e2e9e5;
  --shadow: 0 16px 42px rgba(25, 59, 70, .09);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #cde6e1;
  color: #193b46;
}

a {
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: var(--terracotta-dark);
}

.site-header {
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-bottom: 1px solid rgba(25, 59, 70, .09);
  box-shadow: 0 5px 24px rgba(25, 59, 70, .045);
  backdrop-filter: blur(14px);
}

.site-header .brand,
.site-header nav a,
.site-header .nav-link-button {
  color: var(--ink);
}

.site-header .brand span {
  letter-spacing: -.045em;
}
/* Forza l'header ad essere solido e ben visibile */
.site-header {
  background-color: #243b45 !important; /* Colore blu scuro solido */
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important; /* Aggiunge profondità */
}
.site-header .brand em {
  color: var(--terracotta);
}

.site-header .brand small {
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .66rem;
}

.site-header nav a:hover,
.site-header .nav-link-button:hover {
  color: var(--terracotta);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 18%, rgba(210, 235, 228, .24), transparent 35%),
    linear-gradient(125deg, #173d49 0%, #245866 55%, #39777a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -210px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.035),
              0 0 0 78px rgba(255,255,255,.025);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

.hero .eyebrow {
  color: #cce4dc;
  letter-spacing: .17em;
}

.hero h1 {
  max-width: 850px;
  letter-spacing: -.045em;
  line-height: .99;
  text-wrap: balance;
}

.hero h1 em {
  color: #f0c5a9;
}

.hero-lead {
  max-width: 570px;
  color: rgba(255,255,255,.83);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.button {
  border-radius: 999px;
  padding: .85rem 1.4rem;
  box-shadow: 0 8px 20px rgba(15, 35, 40, .12);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(15, 35, 40, .16);
}

.button-light {
  border: 1px solid rgba(255,255,255,.42);
}

.section {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.section-heading {
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.story-band h2 {
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.eyebrow {
  letter-spacing: .15em;
  font-size: .72rem;
  font-weight: 700;
}

.card-grid {
  gap: 1.5rem;
}

.recipe-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 4px 18px rgba(25, 59, 70, .035);
  transition: transform .25s ease, box-shadow .25s ease;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-image {
  overflow: hidden;
  background: linear-gradient(135deg, #dcece6, #f2dfd0);
}

.card-image img {
  transition: transform .5s ease;
}

.recipe-card:hover .card-image img {
  transform: scale(1.035);
}

.image-placeholder {
  color: #315c61;
  letter-spacing: .03em;
}

.card-body {
  padding: 1.35rem;
}

.card-meta {
  color: var(--terracotta-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card-body h3 {
  line-height: 1.2;
  letter-spacing: -.02em;
}

.card-body h3 a,
.post-row h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card-body h3 a:hover,
.post-row h3 a:hover {
  color: var(--terracotta-dark);
}

.recipe-details {
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: .85rem;
}

.text-link {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.story-band {
  position: relative;
  overflow: hidden;
  background: #e6f0eb;
  border-top: 1px solid #d9e6df;
  border-bottom: 1px solid #d9e6df;
}

.story-band-inner {
  gap: 2rem;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.story-band h2 em {
  color: var(--terracotta-dark);
}

.story-band p:not(.eyebrow) {
  max-width: 620px;
  color: #526d70;
}

.post-list {
  border-top: 1px solid var(--border);
}

.post-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1.5rem;
}

.post-row h3 {
  line-height: 1.2;
  letter-spacing: -.02em;
}

.empty-state {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed #c9d9d3;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
}

.site-footer {
  background: #173943;
  color: #e9f1ed;
}

.site-footer .brand,
.site-footer .brand span,
.site-footer a {
  color: #f8fbf8;
}

.site-footer .brand em {
  color: #f0c5a9;
}

.site-footer p,
.footer-note {
  color: #c0d2cf;
}

.site-footer a:hover {
  color: #f0c5a9;
}

.footer-note {
  border-top-color: rgba(255,255,255,.16);
}

input,
select,
textarea {
  max-width: 100%;
  border-radius: 10px;
}

:focus-visible {
  outline: 3px solid #d58b69;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .hero-inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .section-heading {
    align-items: start;
  }

  .story-band-inner {
    align-items: start;
  }

  .recipe-card {
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* === FINE RESTYLING === */


/* === ONDE MEDITERRANEE: FINITURA HOMEPAGE === */

.hero {
  isolation: isolate;
  margin-bottom: 0;
  background:
    radial-gradient(ellipse at 82% 24%, rgba(205, 232, 224, .20), transparent 34%),
    linear-gradient(125deg, #173d49 0%, #245866 54%, #39777a 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -5% -2px -5%;
  height: 62px;
  background: var(--cream);
  clip-path: ellipse(56% 48% at 50% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: 12px;
  width: 56%;
  height: 48px;
  border-top: 2px solid rgba(220, 239, 230, .48);
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-inner {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.section {
  position: relative;
}

.story-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 120%, rgba(255,255,255,.7), transparent 48%),
    linear-gradient(120deg, #e4f0e9, #d7e9e7);
  border: 0;
}

.story-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -4%;
  top: -24px;
  width: 108%;
  height: 48px;
  background: var(--cream);
  border-radius: 50%;
}

.story-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -180px;
  width: 360px;
  height: 280px;
  border: 1px solid rgba(37, 91, 97, .16);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(37, 91, 97, .035),
    0 0 0 46px rgba(37, 91, 97, .03),
    0 0 0 72px rgba(37, 91, 97, .025);
  pointer-events: none;
}

.story-band-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(68, 123, 126, .26), transparent 42%),
    #173943;
}

.site-footer::before {
  content: "";
  display: block;
  height: 24px;
  margin-top: -1px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 20%, 80% 75%, 60% 35%, 40% 85%, 20% 40%, 0 75%);
}

@media (max-width: 700px) {
  .hero::before {
    height: 35px;
  }

  .hero::after {
    width: 75%;
    bottom: 5px;
  }

  .story-band::before {
    top: -16px;
    height: 32px;
  }
}

/* === FINE ONDE MEDITERRANEE === */






/* LOGO SITO */
.site-header .brand {
  display: inline-grid;
  grid-template-columns: 48px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
}
.site-header .brand-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.site-header .brand span,
.site-header .brand small {
  grid-column: 2;
}
.site-header .brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
}
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.hero h1,
.hero h1 em {
  font-family: "Cormorant Garamond", Georgia, serif;
}
@media (max-width: 560px) {
  .site-header .brand {
    grid-template-columns: 38px auto;
    column-gap: 8px;
  }
  .site-header .brand-logo {
    width: 38px;
    height: 38px;
  }
  .footer-logo {
    width: 42px;
    height: 42px;
  }
}

/* AVVISO DOCUMENTI LEGALI NELL'AREA UTENTI */
.legal-links-notice {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid #dfcbbd;
  border-radius: 12px;
  background: #fbf5ef;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.legal-links-notice p {
  margin: 0 0 .6rem;
}
.legal-links-notice p:last-child {
  margin-bottom: 0;
}
.legal-links-notice a {
  text-underline-offset: 3px;
}

/* CORREZIONE ALLINEAMENTO LOGO E NOME */
.site-header .nav-shell > .brand {
  display: grid;
  grid-template-columns: 48px max-content;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  justify-content: start;
}
.site-header .nav-shell > .brand .brand-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  align-self: center;
}
.site-header .nav-shell > .brand span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}
.site-header .nav-shell > .brand small {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}
@media (max-width: 560px) {
  .site-header .nav-shell > .brand {
    grid-template-columns: 38px max-content;
    column-gap: 8px;
  }
  .site-header .nav-shell > .brand .brand-logo {
    width: 38px;
    height: 38px;
  }
}
/* ============================================
   RESTYLING LOVABLE - ALLINEAMENTO TOTALE
   ============================================ */

:root {
  --colore-blu: #1B3A5C;
  --colore-crema: #FDF6EC;
  --colore-rosso: #C0392B;
  --colore-testo: #333333;
  --font-titoli: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-testo: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Forza i font e i colori di base */
body {
  font-family: var(--font-testo) !important;
  color: var(--colore-testo) !important;
  background-color: var(--colore-crema) !important;
}

h1, h2, h3, h4, h5, h6, .brand span {
  font-family: var(--font-titoli) !important;
  color: var(--colore-blu) !important;
}

/* Header solido e ben visibile */
header, .site-header, .navbar {
  background-color: var(--colore-blu) !important;
  background-image: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}
.site-header nav a {
  color: var(--colore-crema) !important;
  font-family: var(--font-testo) !important;
  font-weight: 500 !important;
}

/* Pulsanti */
.btn-primary, .button {
  background-color: var(--colore-rosso) !important;
  border-color: var(--colore-rosso) !important;
  font-family: var(--font-testo) !important;
}
.btn-primary:hover, .button:hover {
  background-color: #a03023 !important;
}
.btn-secondary, .button-light {
  border-color: var(--colore-crema) !important;
  color: var(--colore-crema) !important;
}

/* Card Ricette e Storie */
.recipe-card, .story-card {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(27,58,92,0.08) !important;
  border: none !important;
  overflow: hidden !important;
}
.recipe-body h3, .story-body h3 {
  color: var(--colore-blu) !important;
  font-family: var(--font-titoli) !important;
}
.recipe-badge {
  background-color: var(--colore-crema) !important;
  color: var(--colore-blu) !important;
  font-weight: 700 !important;
}

/* Sezione Diario */
.section-diario, .diary-wash {
  background-color: #f4ebd9 !important;
}
.diario-text h2 em, .diario-text h2 span {
  color: var(--colore-rosso) !important;
  font-style: italic !important;
}

/* Footer */
footer, .site-footer {
  background-color: var(--colore-blu) !important;
  color: var(--colore-crema) !important;
}
footer a, .site-footer a {
  color: var(--colore-crema) !important;
}
/* FORZA HEADER SOLIDO E SCURO */
header, .site-header, .navbar, .navbar-brand, .main-header {
  background-color: #1B3A5C !important;
  background-image: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

/* Assicura che il logo e il testo siano visibili sul blu */
header .brand, header .brand span, header .brand em {
  color: #FDF6EC !important;
}
header nav a {
  color: #FDF6EC !important;
}
