:root{--coral:#ff555e;--red:#e72f3b;--cream:#fff0e7;--ink:#241d1c;--muted:#82736d;--line:#ede7e4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Hind,Arial,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.container{width:calc(100% - 56px);max-width:1080px;margin:auto}.preview-notice{background:#302928;color:#fff;text-align:center;font-size:10px;letter-spacing:1px;padding:7px}.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}.brand{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.brand img{max-width:230px;max-height:58px;object-fit:contain}.brand-caption{font-size:10px;color:#82716a;line-height:1.4;margin-top:2px}.logo-fallback{font:700 27px Lora,Georgia,serif;letter-spacing:-1px}.logo-fallback em{font-style:normal;color:#e82e38}nav{display:flex;align-items:center;gap:23px;white-space:nowrap;font-size:12px;font-weight:700}nav .newsletter-link{color:#cf343b;border:1px solid #eebebd;border-radius:30px;padding:8px 13px}.hero{margin-top:24px;display:grid;grid-template-columns:1fr 1.08fr;min-height:350px;border-radius:13px;overflow:hidden}.hero-copy{background:var(--coral);padding:clamp(25px,4.3vw,51px);display:flex;flex-direction:column;justify-content:center}.kicker{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:#df3e46}.hero-kicker{color:#2c1f1d}.hero h1,h2,h3{font-family:Lora,Georgia,serif}.hero h1{font-size:clamp(31px,4.05vw,52px);line-height:1.08;letter-spacing:-1.4px;margin:14px 0 18px}.hero-copy p{font-size:13px;line-height:1.6;margin:0 0 19px}.ad-slot{max-width:750px;height:61px;border:1px dashed #e2dfdc;display:grid;place-items:center;margin:23px auto 26px;color:#aaa;text-transform:uppercase;letter-spacing:1px;font-size:10px}.section{margin-bottom:38px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:17px}h2{font-size:clamp(23px,2.7vw,31px);line-height:1.2;letter-spacing:-.7px;margin:6px 0 0}.section-more{color:#cd3942;font-size:11px;font-weight:700;white-space:nowrap}.recipe-grid,.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.recipe-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}.recipe-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #0001}.recipe-photo{aspect-ratio:1.15;overflow:hidden;background:#f0e5e0}.recipe-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.recipe-card:hover img{transform:scale(1.045)}.recipe-body{padding:11px}.recipe-body small{font-size:9px;color:#ce4b50;text-transform:uppercase;font-weight:700}.recipe-body h3{font-size:16px;line-height:1.35;margin:4px 0 0}.newsletter{background:var(--cream);border:1px solid #f6d6c6;border-radius:12px;padding:clamp(22px,3.3vw,38px);display:grid;grid-template-columns:1fr 1.05fr;gap:25px;align-items:center;margin:0 0 39px}.newsletter-copy{display:flex;align-items:flex-start;gap:14px}.mail-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;background:#ffdccc;color:#bd4c44;font-size:25px}.newsletter h2{font-size:clamp(22px,2.5vw,27px);margin:6px 0 9px}.newsletter p{font-size:12px;line-height:1.55;color:#745e56;margin:0}.newsletter-form{display:flex;gap:6px}.newsletter-form input{width:100%;min-width:0;flex:1;border:1px solid #ebcbbc;background:#fff;border-radius:6px;padding:12px;font-size:12px}.newsletter-form button{border:0;border-radius:6px;background:var(--red);color:#fff;padding:11px 14px;font-size:11px;font-weight:700;white-space:nowrap}.newsletter .privacy{font-size:10px;color:#917569;margin-top:9px}.newsletter .form-status{margin-top:7px;color:#a44240;font-size:11px}.section-intro{font-size:11px;color:var(--muted);margin:0 0 15px}.category-card{position:relative;aspect-ratio:1.3;overflow:hidden;border-radius:8px;background:#dbc8be}.category-card img{width:100%;height:100%;object-fit:cover;filter:brightness(.83);transition:transform .25s}.category-card:hover img{transform:scale(1.06)}.category-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#1c120fae)}.category-card span{position:absolute;z-index:1;bottom:10px;left:11px;right:8px;color:#fff;text-shadow:0 1px 4px #0006;font:700 16px/1.25 Lora,Georgia,serif}.site-footer{background:#2c2524;color:#eee;text-align:center;padding:24px}.site-footer strong{font:700 20px Lora,Georgia,serif}.site-footer small{display:block;color:#c6b8b1;font-size:10px;margin-top:6px}.demo-footer{background:#f1efec;color:#887a72;font-size:10px;text-align:center;padding:11px}
@media(max-width:760px){.container{width:calc(100% - 30px)}.header-inner{min-height:70px}nav{gap:12px;font-size:11px}.hero{min-height:270px}.hero-copy{padding:24px}.hero h1{font-size:clamp(26px,4.4vw,39px)}.recipe-grid,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.newsletter{grid-template-columns:1fr;gap:17px}.recipe-body h3{font-size:14px}}
@media(max-width:520px){.container{width:calc(100% - 28px)}.brand img{max-width:170px}.brand-caption{font-size:9px}.logo-fallback{font-size:19px}nav{gap:8px}nav > a:first-child{display:none}nav .newsletter-link{padding:7px 9px}.hero{display:flex;flex-direction:column;margin-top:13px}.hero-copy{padding:29px 22px}.hero h1{font-size:35px}.section-heading h2{font-size:24px}.recipe-grid,.category-grid{gap:10px}.recipe-body{padding:9px}.recipe-body h3{font-size:13px}.newsletter{padding:21px 16px}.newsletter h2{font-size:22px}.mail-icon{width:43px;height:43px;font-size:22px}.newsletter-form{flex-direction:column}.newsletter-form button{padding:12px}.category-card{aspect-ratio:1.05}.category-card span{font-size:13px}}

/* Local integration of the final reference. */
:focus-visible{outline:2px solid #241d1c;outline-offset:3px}.newsletter-right{min-width:0}.newsletter-help{margin-top:8px!important}.newsletter-help a,.footer-links a{text-decoration:underline;text-underline-offset:3px}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 18px;margin-top:14px}.category-card:focus-visible{outline-color:var(--red)}.recipe-card,.category-card{min-width:0}.category-card img{position:absolute;inset:0}.category-card span{overflow-wrap:anywhere}.ad-slot{color:#646464}.newsletter-form input{font-size:16px}.section-intro,.newsletter .privacy{font-size:12px}
@media(max-width:350px){.brand img{max-width:136px}nav{gap:5px}.hero h1{font-size:30px}.newsletter-copy{gap:8px}.mail-icon{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.recipe-card,.recipe-photo img,.category-card img{transition:none}.recipe-card:hover,.recipe-card:hover img,.category-card:hover img{transform:none}}

.footer-brand { display: inline-block; }
.footer-brand img { width: min(220px, 100%); height: auto; margin-inline: auto; }
.footer-brand:focus-visible { outline-color: #fff; }

.header-inner { position: relative; }
.category-menu summary {
  display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 12px;
  border: 1px solid #eebebd; border-radius: 30px; background: var(--cream); color: #a82831;
  font-weight: 700; letter-spacing: .04em; list-style: none; cursor: pointer;
}
.category-menu summary::-webkit-details-marker { display: none; }
.category-menu-icon {
  flex: 0 0 14px; height: 2px; border-radius: 1px; background: currentColor;
  box-shadow: 0 -4px currentColor, 0 4px currentColor;
}
.category-menu summary:hover,
.category-menu[open] summary { border-color: #a82831; background: #fff; }
.category-menu summary:focus-visible { outline: 2px solid #a82831; outline-offset: 3px; }
@media (max-width: 350px) {
  .category-menu summary { gap: 5px; padding-inline: 8px; }
}
.category-panel { position: absolute; z-index: 10; top: calc(100% - 4px); right: 0; width: min(650px, 100%); max-height: min(65vh, 480px); overflow: auto; overscroll-behavior: contain; padding: 12px 16px; border: 1px solid var(--line); border-top: 3px solid var(--coral); border-radius: 12px; background: var(--cream); box-shadow: 0 12px 28px #241d1c25; white-space: normal; }
.category-menu-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; list-style: none; padding: 0; margin: 0; }
.category-menu-links a { display: flex; align-items: center; min-height: 44px; padding: 7px 9px; border-radius: 6px; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.category-menu-links a:hover, .category-menu-links a:focus-visible { background: #fff; color: #a82831; }
.category-card--text { display: grid; place-items: center; padding: 14px; background: var(--cream); border: 1px solid var(--line); }
.category-card--text::after { content: none; }
.category-card--text span { position: static; color: var(--ink); text-align: center; text-shadow: none; }
.category-card--text:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .category-panel { padding: 9px; }
  .category-menu-links { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
  .category-menu[open] .category-panel { animation: category-open .16s ease-out; }
  @keyframes category-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}

.newsletter-form button, .newsletter-form input { min-height: 44px; }

/* Keep the hosted form at its natural height in both layouts. */
#infolettre.newsletter {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  padding: 18px clamp(12px, 2.5vw, 28px);
}
#infolettre .newsletter-copy {
  width: 100%;
  max-width: 540px;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
#infolettre .mail-icon { width: 42px; height: 42px; font-size: 22px; }
#infolettre h2 { font-size: clamp(21px, 2.35vw, 26px); line-height: 1.18; margin: 4px 0 6px; }
#infolettre .newsletter-copy p { font-size: 14px; line-height: 1.45; }
#infolettre .newsletter-right { width: 100%; max-width: 620px; }
#infolettre .newsletter-help { text-align: center; }
@media (min-width: 850px) {
  #infolettre.newsletter {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
  }
  #infolettre .newsletter-copy { justify-content: flex-start; }
}
@media (max-width: 520px) {
  #infolettre.newsletter {
    margin-inline: -14px;
    padding: 14px 4px;
  }
  #infolettre .newsletter-copy { padding-inline: 7px; gap: 9px; }
  #infolettre .mail-icon { width: 34px; height: 34px; font-size: 18px; }
}
.recipe-photo-unavailable { display: grid; place-items: center; height: 100%; padding: 12px; color: var(--muted); }
.ad-slot--live { min-height: 90px; height: auto; border: 0; letter-spacing: normal; text-transform: none; }
.ad-slot--mobile {
  width: min(300px, 100vw); min-height: 250px;
  position: relative; inset-inline-start: 50%; margin-inline: 0; transform: translateX(-50%);
}

.section-title-heart::after {
  content: '♥';
  margin-inline-start: .35em;
  color: var(--red);
  font-size: .58em;
  line-height: 0;
}

/* Full-width photo, with the original Codex search geometry scoped to the hero. */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); isolation: isolate; min-height: clamp(420px, 40vw, 530px); }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; z-index: -1; }
.hero-copy { background: rgba(255, 74, 82, .92); padding: clamp(24px, 4.2vw, 64px); }
.hero-copy p { margin-bottom: 0; }
.hero .search { margin-top: clamp(22px, 3.1vw, 42px); font-size: 16px; }
.hero .search label { display: block; margin-bottom: 6px; font-weight: 600; }
.hero .search-controls { display: flex; gap: 5px; padding: 5px; background: #fff; border-radius: 9px; }
.hero .search input { width: 100%; min-width: 0; padding: 8px 10px; border: 0; background: #fff; color: #111; }
.hero .search input:focus-visible { outline-offset: -2px; }
.hero .search button { min-height: 44px; padding: 8px 13px; border: 0; border-radius: 5px; background: #111; color: #fff; font-weight: 600; }
.hero .search button:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto clamp(180px, 43vw, 310px); min-height: 0; }
  .hero-background { object-position: 62% center; }
}
@media (max-width: 359px) {
  .hero-copy { padding: 22px 15px; }
  .hero .search input { padding-inline: 6px; }
  .hero .search button { padding-inline: 8px; }
}


/* Featured recipes use native scrolling for touch, keyboard and pointer input. */
.recipe-carousel { position: relative; padding-top: 54px; }
.recipe-carousel-controls { position: absolute; top: 0; right: 0; display: flex; gap: 8px; }
.recipe-carousel-controls button {
  width: 44px; min-height: 44px; border: 1px solid currentColor; border-radius: 50%;
  background: #fff; color: var(--red); font-size: 24px; line-height: 1;
}
.recipe-carousel-controls button[aria-disabled="true"] { opacity: .4; cursor: default; }
.recipe-grid.recipe-carousel-track {
  display: grid; grid-template-columns: none; grid-auto-flow: column; gap: 16px;
  grid-auto-columns: calc((100% - 48px) / 4);
  overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
  padding: 5px 4px 14px; scroll-padding-inline-start: 4px;
}
.recipe-carousel-track > .recipe-card { scroll-snap-align: start; }
@media (max-width: 850px) {
  .recipe-grid.recipe-carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 520px) {
  .recipe-grid.recipe-carousel-track { grid-auto-columns: 82%; }
}
