/* RESPONSIVE COMPONENT CONTRACT V3.0 — authoritative <=1023 layer */
@media(max-width:1023px){
:root{--rc-page:clamp(14px,3.2vw,30px);--rc-gap:clamp(10px,1.8vw,18px);--rc-radius:clamp(16px,2.4vw,22px);--rc-dark:#07181b;--rc-paper:#fffdf8;--rc-ink:#10231e;--rc-muted:#5c6862;--rc-line:#dcd5c8;--rc-teal:#16d8d5;--rc-yellow:#ffd51f;}
html,body{max-width:100%;overflow-x:clip;}*,*::before,*::after{box-sizing:border-box;}img{max-width:100%;height:auto;}
/* header / logo / full bleed */
.hp-header{width:100%!important;max-width:none!important;margin:0!important;background:var(--rc-dark)!important;border-bottom:3px solid var(--rc-yellow)!important;}.hp-navwrap{width:min(100%,1180px)!important;max-width:1180px!important;margin:0 auto!important;padding-inline:var(--rc-page)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;}.hp-logo{flex:0 0 auto!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;margin:0!important;padding:0!important;}.hp-logo img,.hp-footer-v2-brand>img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}.hp-footer.hp-footer-v2{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;}.pl-v24-menu-button{display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#fff!important;padding:8px!important;appearance:none!important;-webkit-appearance:none!important;}.pl-v24-menu-button svg{width:28px!important;height:28px!important;}
/* compact section intros */
.hp-section-head,.hp-title-row{align-items:flex-start!important;gap:12px!important;}.hp-section-head .hp-handnote{display:none!important;}.hp-section-head h2,.hp-title-row h2{font-size:clamp(1.75rem,5vw,2.55rem)!important;line-height:1.02!important;margin-bottom:6px!important;}.hp-section-head p,.hp-title-row p{font-size:clamp(.9rem,2.1vw,1.05rem)!important;line-height:1.35!important;margin:0!important;}#neu .hp-title-row h2{font-size:0!important;}#neu .hp-title-row h2::after{content:"Neue Ideen";font-size:clamp(1.75rem,5vw,2.55rem);line-height:1.02;}
/* highlight image visibility */
.highlight-card__media:after,.hp-feature:after{background:linear-gradient(180deg,rgba(7,24,27,.02) 0%,rgba(7,24,27,.05) 48%,rgba(7,24,27,.76) 100%)!important;}
/* landing/content hero */
.themen-page .tm-hero{display:grid!important;grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;gap:var(--rc-gap)!important;align-items:stretch!important;padding:clamp(22px,4vw,34px) 0 clamp(16px,3vw,28px)!important;}.themen-page .tm-hero-copy,.themen-page .tm-hero-media{height:auto!important;min-height:0!important;border-radius:var(--rc-radius)!important;}.themen-page .tm-hero-copy{padding:clamp(20px,3.2vw,32px)!important;justify-content:center!important;overflow:hidden!important;}.themen-page .tm-hero-copy h1{font-size:clamp(2rem,5.3vw,3.45rem)!important;line-height:.98!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}.themen-page .tm-hero-copy p{font-size:clamp(.92rem,2.15vw,1.08rem)!important;line-height:1.42!important;}.themen-page .tm-hero-media img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;}
/* 4-way navigation */


/* recipe geometry */
body.recipe-page .recipe-hero{display:grid!important;grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important;gap:var(--rc-gap)!important;align-items:stretch!important;}body.recipe-page .recipe-hero>.hero-copy,body.recipe-page .recipe-hero>.hero-media{height:auto!important;min-height:0!important;border-radius:var(--rc-radius)!important;}body.recipe-page .recipe-hero>.hero-copy{padding:clamp(20px,3vw,30px)!important;overflow:visible!important;}body.recipe-page .recipe-hero h1{max-width:100%!important;font-size:clamp(1.75rem,4.5vw,3rem)!important;line-height:.98!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}body.recipe-page .recipe-hero>.hero-media img{width:100%!important;height:100%!important;object-fit:cover!important;}body.recipe-page .facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;}body.recipe-page .fact{min-width:0!important;grid-template-columns:26px minmax(0,1fr)!important;gap:6px!important;}body.recipe-page .fact-icon{width:26px!important;height:26px!important;}body.recipe-page .fact b{white-space:normal!important;overflow:visible!important;}
body.recipe-page .recipe-grid{display:grid!important;grid-template-columns:minmax(0,38fr) minmax(0,62fr)!important;gap:var(--rc-gap)!important;align-items:stretch!important;}body.recipe-page .ingredients,body.recipe-page .prep{min-width:0!important;padding:clamp(18px,2.8vw,28px)!important;}body.recipe-page .ingredient-list li{grid-template-columns:clamp(42px,5vw,52px) minmax(0,1fr)!important;gap:10px!important;}body.recipe-page .ingredient-thumb{width:clamp(40px,5vw,50px)!important;height:clamp(40px,5vw,50px)!important;border-radius:12px!important;}body.recipe-page .ingredient-thumb img{width:91%!important;height:91%!important;object-fit:contain!important;}body.recipe-page .step{grid-template-columns:32px minmax(0,1fr)!important;gap:10px!important;padding:12px 0!important;}body.recipe-page .step h3{font-size:clamp(1rem,2.25vw,1.35rem)!important;line-height:1.1!important;overflow-wrap:normal!important;word-break:normal!important;}body.recipe-page .step p{font-size:clamp(.78rem,1.65vw,.94rem)!important;line-height:1.36!important;}
body.recipe-page .secondary-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:var(--rc-gap)!important;align-items:stretch!important;}body.recipe-page .variants{background:var(--rc-dark)!important;color:#fff!important;}body.recipe-page .variants h2,body.recipe-page .variants .variant{color:#fff!important;}body.recipe-page .recipe-pairing-v3{background:var(--rc-paper)!important;color:var(--rc-ink)!important;}body.recipe-page .pairing-grid-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;}body.recipe-page .pairing-card-v3{min-width:0!important;}
.related-grid,.category-more-grid{gap:var(--rc-gap)!important;}.category-recipe-card,.recipe-card,.category-more-card{min-width:0!important;}
/* footer */
.hp-footer-v2-brand>img{flex:0 0 auto!important;width:76px!important;height:76px!important;}.hp-footer-v2-social a svg,.hp-footer-v2-social a img{width:24px!important;height:24px!important;}
}
/* TABLET PORTRAIT */
@media(min-width:768px) and (max-width:1023px) and (orientation:portrait){
.hp-navwrap{height:82px!important;min-height:82px!important;}.hp-logo{width:64px!important;height:64px!important;}.hp-nav,.hp-social{display:none!important;}.pl-v24-menu-button{display:grid!important;}.hp-section{padding-left:var(--rc-page)!important;padding-right:var(--rc-page)!important;}.hp-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}.hp-topic img{aspect-ratio:1.55/1!important;}.hp-topic span{min-height:48px!important;padding:10px 12px!important;}.pl-related-grid,.related-grid,.category-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.hp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.hp-footer-v2-inner{grid-template-columns:1.35fr .9fr .8fr!important;gap:28px!important;padding-inline:var(--rc-page)!important;}.hp-footer-v2-bottom{padding-inline:var(--rc-page)!important;}

}
/* PHONE PORTRAIT */
@media(max-width:767px) and (orientation:portrait){
.hp-navwrap{height:72px!important;min-height:72px!important;}.hp-logo{width:52px!important;height:52px!important;}.hp-nav,.hp-social{display:none!important;}.pl-v24-menu-button{display:grid!important;}.hp-brand-hero .hp-hero-stage{height:clamp(500px,142vw,650px)!important;}.hp-brand-hero .hp-hero-content{padding-inline:var(--rc-page)!important;align-items:center!important;}.hp-brand-hero h1{font-size:clamp(2.35rem,11vw,3.25rem)!important;line-height:.96!important;}.hp-brand-hero .hp-hero-copy p{font-size:clamp(1rem,4.4vw,1.18rem)!important;line-height:1.38!important;}.hp-section{padding-left:var(--rc-page)!important;padding-right:var(--rc-page)!important;}.hp-section-head,.hp-title-row{display:block!important;margin-bottom:16px!important;}.hp-title-row>a{display:inline-block!important;margin-top:8px!important;font-size:.9rem!important;}.hp-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.hp-topic img{aspect-ratio:1.45/1!important;}.hp-topic span{min-height:48px!important;padding:10px!important;font-size:.95rem!important;}.hp-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.hp-feature.highlight-card{min-height:0!important;border-radius:18px!important;display:grid!important;grid-template-rows:auto auto!important;background:var(--rc-dark)!important;}.highlight-card__media{position:relative!important;inset:auto!important;aspect-ratio:16/10!important;}.highlight-card__media:after{background:linear-gradient(180deg,transparent 70%,rgba(7,24,27,.18))!important;}.highlight-card__content{position:relative!important;min-height:0!important;max-width:none!important;padding:12px!important;background:var(--rc-dark)!important;justify-content:flex-start!important;}.highlight-card__copy h2{font-size:clamp(1rem,4.6vw,1.25rem)!important;line-height:1.08!important;-webkit-line-clamp:3!important;margin:0 0 8px!important;}.highlight-card__copy p{display:none!important;}.highlight-card__cta{min-height:38px!important;padding:0 12px!important;width:100%!important;}.highlight-card__cta:before{font-size:.84rem!important;}.hp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}.hp-content-card>img{aspect-ratio:1.35/1!important;}.hp-content-card>div{padding:12px!important;}.hp-content-card h3{font-size:clamp(.95rem,4.4vw,1.12rem)!important;overflow-wrap:normal!important;word-break:normal!important;}.hp-content-card p{font-size:.84rem!important;line-height:1.3!important;}
.themen-page .tm-hero{grid-template-columns:1fr!important;}.themen-page .tm-hero-copy{padding:24px!important;}.themen-page .tm-hero-copy h1{font-size:clamp(2rem,9vw,2.8rem)!important;}.themen-page .tm-hero-media{aspect-ratio:16/10!important;}.pl-related-grid,.category-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.recipe-page .recipe-grid{grid-template-columns:1fr!important;}body.recipe-page .ingredients,body.recipe-page .prep{padding:20px!important;}body.recipe-page .secondary-grid{grid-template-columns:1fr!important;}body.recipe-page .pairing-grid-v3{grid-template-columns:repeat(3,minmax(0,1fr))!important;}body.recipe-page .pairing-copy-v3 p{display:none!important;}body.recipe-page .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.recipe-page .recipe-card b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.hp-footer-v2-inner{grid-template-columns:1fr 1fr!important;gap:24px 18px!important;padding:28px var(--rc-page) 24px!important;}.hp-footer-v2-brand{grid-column:1/-1!important;}.hp-footer-v2-brand>img{width:64px!important;height:64px!important;}.hp-footer-v2-social{display:block!important;}.hp-footer-v2-social>a{display:flex!important;width:auto!important;height:auto!important;gap:8px!important;margin:8px 0!important;}.hp-footer-v2-social>a span{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;white-space:normal!important;margin:0!important;}.hp-footer-v2-bottom{grid-template-columns:1fr auto!important;padding:14px var(--rc-page) 20px!important;}.hp-footer-v2-bottom>span{grid-column:1/-1!important;}.hp-backtop span{display:none!important;}
}
/* PHONE LANDSCAPE — desktop information architecture, compact density */
@media(max-width:932px) and (orientation:landscape) and (max-height:500px){
:root{--rc-page:16px;--rc-gap:10px;}.hp-navwrap{height:56px!important;min-height:56px!important;}.hp-logo{width:42px!important;height:42px!important;}.hp-nav,.hp-social{display:none!important;}.pl-v24-menu-button{display:grid!important;width:40px!important;height:40px!important;}.hp-brand-hero .hp-hero-stage{height:min(72vh,300px)!important;}.hp-brand-hero .hp-hero-content{padding-inline:var(--rc-page)!important;}.hp-brand-hero h1{font-size:clamp(2rem,6vw,3rem)!important;line-height:.92!important;margin:8px 0 10px!important;}.hp-brand-hero .hp-kicker{font-size:.68rem!important;}.hp-brand-hero .hp-hero-copy p{font-size:.92rem!important;line-height:1.25!important;margin-bottom:12px!important;}.hp-hero-cta{padding:10px 18px!important;font-size:.9rem!important;}.hp-section{padding:24px var(--rc-page) 0!important;}.hp-section-head,.hp-title-row{display:block!important;margin-bottom:12px!important;}.hp-section-head h2,.hp-title-row h2,#neu .hp-title-row h2::after{font-size:1.7rem!important;}.hp-section-head p,.hp-title-row p{font-size:.84rem!important;}.hp-title-row>a{display:inline-block!important;margin-top:6px!important;font-size:.82rem!important;}.hp-topic-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;}.hp-topic img{aspect-ratio:1.55/1!important;}.hp-topic span{min-height:38px!important;padding:7px!important;font-size:.72rem!important;}.hp-feature-grid{gap:10px!important;}.hp-feature.highlight-card{min-height:220px!important;}.highlight-card__content{min-height:220px!important;padding:18px!important;max-width:70%!important;}.highlight-card__copy h2{font-size:1.45rem!important;}.highlight-card__copy p{font-size:.78rem!important;margin-bottom:10px!important;}.highlight-card__cta{min-height:36px!important;padding:0 12px!important;}.hp-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;}.hp-content-card>img{aspect-ratio:1.5/1!important;}.hp-content-card>div{padding:9px!important;}.hp-content-card h3{font-size:.82rem!important;}.hp-content-card p{font-size:.7rem!important;}.hp-content-card small{font-size:.55rem!important;}
.themen-page .tm-hero{grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;padding:16px 0 12px!important;}.themen-page .tm-hero-copy{padding:16px!important;}.themen-page .tm-hero-copy h1{font-size:clamp(1.65rem,4.6vw,2.4rem)!important;margin:6px 0 8px!important;}.themen-page .tm-hero-copy p{font-size:.78rem!important;line-height:1.28!important;}.themen-page .tm-hero-media{min-height:0!important;}.category-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.recipe-page .recipe-main{margin-top:14px!important;padding-inline:16px!important;}body.recipe-page .recipe-hero{grid-template-columns:minmax(0,42fr) minmax(0,58fr)!important;gap:10px!important;}body.recipe-page .recipe-hero>.hero-copy{padding:14px!important;}body.recipe-page .recipe-hero h1{font-size:clamp(1.35rem,4vw,2.1rem)!important;margin:6px 0 8px!important;}body.recipe-page .recipe-hero .kicker{font-size:.62rem!important;}body.recipe-page .recipe-hero p{font-size:.72rem!important;line-height:1.25!important;}body.recipe-page .facts{padding-top:8px!important;gap:5px!important;}body.recipe-page .fact{grid-template-columns:22px minmax(0,1fr)!important;}body.recipe-page .fact-icon{width:22px!important;height:22px!important;font-size:.7rem!important;}body.recipe-page .fact small{font-size:.55rem!important;}body.recipe-page .fact b{font-size:.65rem!important;}body.recipe-page .recipe-grid{grid-template-columns:minmax(0,40fr) minmax(0,60fr)!important;gap:10px!important;}body.recipe-page .ingredients,body.recipe-page .prep{padding:14px!important;}body.recipe-page .ingredient-list li{grid-template-columns:34px minmax(0,1fr)!important;min-height:0!important;padding:5px 0!important;}body.recipe-page .ingredient-thumb{width:32px!important;height:32px!important;}body.recipe-page .ingredient-main{font-size:.7rem!important;}body.recipe-page .ingredient-note{font-size:.6rem!important;}body.recipe-page .step{grid-template-columns:24px minmax(0,1fr)!important;gap:7px!important;padding:7px 0!important;}body.recipe-page .step-num{width:24px!important;height:24px!important;font-size:.75rem!important;}body.recipe-page .step h3{font-size:.9rem!important;}body.recipe-page .step p{font-size:.68rem!important;}body.recipe-page .secondary-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)!important;gap:10px!important;}body.recipe-page .variants,body.recipe-page .recipe-pairing-v3{padding:14px!important;}body.recipe-page .variant{font-size:.68rem!important;margin:7px 0!important;}body.recipe-page .pairing-copy-v3{padding:7px!important;}body.recipe-page .pairing-copy-v3 h3{font-size:.72rem!important;}body.recipe-page .pairing-copy-v3 p{display:none!important;}body.recipe-page .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}body.recipe-page .recipe-card-live{display:grid!important;grid-template-columns:40% 60%!important;}body.recipe-page .recipe-card-live img{height:100%!important;aspect-ratio:auto!important;}body.recipe-page .recipe-card-live>div{padding:9px!important;}
.hp-footer-v2-inner{grid-template-columns:1.5fr 1fr 1fr!important;gap:20px!important;padding:20px 16px!important;}.hp-footer-v2-brand>img{width:56px!important;height:56px!important;}.hp-footer-v2-brand h2{font-size:1.1rem!important;}.hp-footer-v2-brand p{font-size:.72rem!important;}.hp-footer-v2-bottom{padding:10px 16px 14px!important;}
}

/* V3.1 CENTRAL AUDIT CORRECTIONS — responsive-only; protected >=1024 untouched */
@media (min-width:768px) and (max-width:1023px) and (orientation:portrait){
  /* Tablet portrait: compact entry density, keep desktop-like information architecture */
  .hp-section-head h2,.hp-title-row h2,#neu .hp-title-row h2::after{font-size:2rem!important;line-height:1.04!important;}
  .hp-section-head p,.hp-title-row p{font-size:.95rem!important;line-height:1.32!important;}
  .hp-feature:after{background:none!important;}
  
  
  
  
  
}
@media (max-width:767px) and (orientation:portrait){
  /* Phone portrait: compact intros and clean feature imagery */
  .hp-section-head h2,.hp-title-row h2,#neu .hp-title-row h2::after{font-size:1.55rem!important;line-height:1.04!important;}
  .hp-section-head p,.hp-title-row p{font-size:.84rem!important;line-height:1.3!important;}
  .hp-feature:after{background:none!important;}
  .hp-section-head,.hp-title-row{margin-bottom:14px!important;}
}
@media (max-width:932px) and (orientation:landscape) and (max-height:500px){
  /* Phone landscape: preserve desktop-like structure, reduce vertical density */
  .hp-feature:after{background:linear-gradient(90deg,rgba(7,24,27,.68) 0%,rgba(7,24,27,.28) 50%,rgba(7,24,27,.03) 100%)!important;}
  .hp-section-head h2,.hp-title-row h2,#neu .hp-title-row h2::after{font-size:1.5rem!important;}
  .hp-section-head p,.hp-title-row p{font-size:.8rem!important;line-height:1.25!important;}
}

/* V3.2 SUBPAGE PORTRAIT CONTRACT — central component quality gates; homepage untouched */
@media (max-width:767px) and (orientation:portrait){
  /* Shared density tokens: verbose cards need real reading width. */
  :root{--rc-readable-card-min:250px;--rc-compact-card-min:145px;}

  /* Landing/content pages: long-form cards are single-column. */
  
  
  
  
  
  
  

  /* Verbose helper/orientation cards: one readable card per row. */
  
  
  
  
  

  /* Related/content cards on landing pages: avoid narrow two-column prose. */
  .themen-page .pl-related-grid,.themen-page .category-more-grid{grid-template-columns:1fr!important;gap:14px!important;}

  /* Recipe hub: recipe-world cards are editorial, not compact tiles. */
  .hub-main .hub-topic-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .hub-main .hub-topic-card{display:grid!important;grid-template-columns:42% minmax(0,1fr)!important;min-height:0!important;}
  .hub-main .hub-topic-card img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;}
  .hub-main .hub-topic-card>div{padding:14px!important;min-width:0!important;}
  .hub-main .hub-topic-card h3{font-size:1.05rem!important;line-height:1.12!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
  .hub-main .hub-topic-card p{font-size:.82rem!important;line-height:1.34!important;margin-bottom:10px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
  .hub-main .hub-topic-card span{font-size:.82rem!important;}
  .hub-main .hub-related-grid,.hub-main .recipes-related-grid{grid-template-columns:1fr!important;gap:14px!important;}

  /* Recipe-category pages: hero stacks; recipe cards become horizontal full-width rows. */
  .recipe-category-hub .category-hub-hero{grid-template-columns:1fr!important;min-height:0!important;border-radius:18px!important;}
  .recipe-category-hub .category-hub-copy{padding:22px!important;}
  .recipe-category-hub .category-hub-copy h1{font-size:clamp(2rem,9vw,2.75rem)!important;line-height:.98!important;margin:8px 0 12px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
  .recipe-category-hub .category-hub-copy p{font-size:.9rem!important;line-height:1.4!important;}
  .recipe-category-hub .category-hub-media{aspect-ratio:16/10!important;}
  .recipe-category-hub .category-hub-media img{width:100%!important;height:100%!important;object-fit:cover!important;}
  .recipe-category-hub .category-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .recipe-category-hub .category-recipe-card{grid-template-columns:42% minmax(0,1fr)!important;min-height:190px!important;height:auto!important;}
  .recipe-category-hub .category-recipe-card>img{width:100%!important;height:100%!important;min-height:190px!important;object-fit:cover!important;}
  .recipe-category-hub .category-card-copy{padding:14px!important;min-width:0!important;}
  .recipe-category-hub .category-card-copy h2{font-size:1.08rem!important;line-height:1.12!important;margin:7px 0 10px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
  .recipe-category-hub .category-card-meta{font-size:.78rem!important;gap:6px!important;}
  .recipe-category-hub .category-card-link{padding-top:14px!important;font-size:.85rem!important;}
  .recipe-category-hub .category-more-grid{grid-template-columns:1fr!important;gap:14px!important;}
  .recipe-category-hub .category-more-card{display:grid!important;grid-template-columns:40% minmax(0,1fr)!important;}
  .recipe-category-hub .category-more-card img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover!important;}
  .recipe-category-hub .category-more-card div{padding:14px!important;min-width:0!important;}

  /* Recipe detail: recommendations need readable width; no narrow desktop-style split cards. */
  body.recipe-page .related-grid{grid-template-columns:1fr!important;gap:14px!important;}
  body.recipe-page .recipe-card-live,body.recipe-page .recipe-card{min-width:0!important;width:100%!important;}
  body.recipe-page .recipe-card-live{display:grid!important;grid-template-columns:42% minmax(0,1fr)!important;}
  body.recipe-page .recipe-card-live img{width:100%!important;height:100%!important;min-height:150px!important;object-fit:cover!important;}
  body.recipe-page .recipe-card-live>div{padding:14px!important;min-width:0!important;}
  body.recipe-page .recipe-card-live b,body.recipe-page .recipe-card b{font-size:1rem!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;}
  body.recipe-page .recipe-card-live small,body.recipe-page .recipe-card small{font-size:.8rem!important;line-height:1.3!important;}
}

/* V3.2.1 RECIPE CATEGORY PORTRAIT INTRINSIC-SIZE GUARD — central, subpage-only */
@media (max-width:767px) and (orientation:portrait){
  .recipe-category-hub .category-hub-hero>*{min-width:0!important;max-width:100%!important;}
  .recipe-category-hub .category-hub-media{min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden!important;}
  .recipe-category-hub .category-hub-media img{min-width:0!important;width:100%!important;max-width:100%!important;}
  .recipe-category-hub .category-summary{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;gap:8px!important;padding:28px 0 16px!important;}
  .recipe-category-hub .category-summary>*{min-width:0!important;max-width:100%!important;}
  .recipe-category-hub .category-count{white-space:normal!important;justify-self:start!important;font-size:.88rem!important;}
}

/* SMARTPHONE PORTRAIT CONTENT DENSITY SYSTEM V1.0 — component contract, subpages only */
@media (max-width:767px) and (orientation:portrait){
  /* 1) Compact navigation = four equal slots. Navigation carries no prose. */
  
  
  
  
  
  
  
  
  
  
  
  

  /* 2) Editorial content = two columns, image above text. */
  
  .themen-page .pl-related-grid,
  .themen-page .category-more-grid,
  .hub-main .hub-topic-grid,
  .hub-main .hub-related-grid,
  .hub-main .recipes-related-grid,
  .recipe-category-hub .category-grid,
  .recipe-category-hub .category-more-grid,
  body.recipe-page .related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
  }
  
  .hub-main .hub-topic-card,
  .recipe-category-hub .category-recipe-card,
  .recipe-category-hub .category-more-card,
  body.recipe-page .recipe-card-live,
  body.recipe-page .recipe-card{
    display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:auto!important;overflow:hidden!important;
  }
  
  .hub-main .hub-topic-card img,
  .recipe-category-hub .category-recipe-card>img,
  .recipe-category-hub .category-more-card img,
  body.recipe-page .recipe-card-live img,
  body.recipe-page .recipe-card img{
    width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;object-fit:cover!important;flex:0 0 auto!important;
  }
  
  .hub-main .hub-topic-card>div,
  .recipe-category-hub .category-card-copy,
  .recipe-category-hub .category-more-card>div,
  body.recipe-page .recipe-card-live>div,
  body.recipe-page .recipe-card>div{
    display:block!important;padding:10px!important;min-width:0!important;height:auto!important;
  }
  
  .hub-main .hub-topic-card h3,
  .recipe-category-hub .category-card-copy h2,
  .recipe-category-hub .category-more-card strong,
  body.recipe-page .recipe-card-live b,body.recipe-page .recipe-card b{
    font-size:.86rem!important;line-height:1.12!important;margin:0 0 6px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  }
  .hub-main .hub-topic-card p,
  .recipe-category-hub .category-card-meta,
  .recipe-category-hub .category-more-card small,
  body.recipe-page .recipe-card-live small,body.recipe-page .recipe-card small{
    font-size:.7rem!important;line-height:1.28!important;margin:0!important;
  }
  .recipe-category-hub .category-card-link{font-size:.72rem!important;padding-top:8px!important;}

  /* Problem/focus cards = two columns, compact icon + text. */
  
  
  
  
  

  /* 3) Long form remains one column. Pairing remains three mini cards. */
  body.recipe-page .recipe-grid,
  body.recipe-page .secondary-grid{grid-template-columns:1fr!important;}
  body.recipe-page .pairing-grid-v3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}

  /* Mobile hierarchy + vertical rhythm. */
  .themen-page main>section,.hub-main>section,.recipe-category-hub main>section,body.recipe-page .recipe-main>section{margin-block:clamp(18px,5vw,28px)!important;}
  .themen-page h2,.hub-main h2,.recipe-category-hub h2,body.recipe-page .recipe-main>h2{font-size:clamp(1.45rem,6vw,1.85rem)!important;line-height:1.04!important;}
  .category-more-head p,.tm-section-head p,.hub-section-head p{font-size:.82rem!important;line-height:1.3!important;}
}

/* SMARTPHONE PORTRAIT SUBPAGE SYSTEM V2.0 — central component contract */
@media (max-width:767px) and (orientation:portrait){
  /* NEVER AGAIN: long titles stay inside every card. */
  .hp-content-card,.hp-content-card>div,.hp-content-card h3,
  .recipe-category-hub .category-recipe-card,.recipe-category-hub .category-card-copy,.recipe-category-hub .category-card-copy h2,
  body.recipe-page .recipe-card,body.recipe-page .recipe-card-live,body.recipe-page .recipe-card b{
    min-width:0!important;max-width:100%!important;
  }
  .hp-content-card h3,.recipe-category-hub .category-card-copy h2,
  body.recipe-page .recipe-card b,body.recipe-page .recipe-card-live b{
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
    word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
  }
  .hp-content-card>div,.recipe-category-hub .category-card-copy,
  body.recipe-page .recipe-card>div,body.recipe-page .recipe-card-live>div{height:auto!important;min-height:0!important;overflow:visible!important;}
  .hp-card-grid-compact .hp-content-card>div{min-height:0!important;height:auto!important;}
  .tm-head,.hub-section-head,.tm-section-head,.category-more-head{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;}
.tm-head h2,.hub-section-head h2,.tm-section-head h2,.category-more-head h2{max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}

  /* Unified mobile hero contract: copy | image, never stacked. */
  .themen-page .tm-hero,
  .recipe-category-hub .category-hub-hero{
    display:grid!important;grid-template-columns:minmax(0,44fr) minmax(0,56fr)!important;
    gap:8px!important;align-items:stretch!important;min-height:0!important;height:auto!important;
  }
  .themen-page .tm-hero-copy,.themen-page .tm-hero-media,
  .recipe-category-hub .category-hub-copy,.recipe-category-hub .category-hub-media,
  body.recipe-page .recipe-hero>.hero-copy,body.recipe-page .recipe-hero>.hero-media{
    min-width:0!important;min-height:0!important;height:auto!important;max-width:100%!important;border-radius:18px!important;overflow:hidden!important;
  }
  .themen-page .tm-hero-copy,.recipe-category-hub .category-hub-copy{
    padding:14px!important;align-self:stretch!important;justify-content:center!important;
  }
  .themen-page .tm-hero-copy h1,.recipe-category-hub .category-hub-copy h1{
    font-size:clamp(1.25rem,5.7vw,1.65rem)!important;line-height:1.02!important;margin:6px 0 9px!important;
    white-space:normal!important;overflow:visible!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:auto!important;
  }
  .themen-page .tm-hero-copy p,.recipe-category-hub .category-hub-copy p{
    font-size:clamp(.67rem,2.75vw,.78rem)!important;line-height:1.3!important;margin:0!important;
  }
  .themen-page .tm-hero-media,.recipe-category-hub .category-hub-media,body.recipe-page .recipe-hero>.hero-media{aspect-ratio:auto!important;}
  .themen-page .tm-hero-media img,.recipe-category-hub .category-hub-media img,body.recipe-page .recipe-hero>.hero-media img{
    width:100%!important;height:100%!important;min-height:100%!important;object-fit:cover!important;
  }

  /* Compact navigation: exactly four equal cards in one row on every 4-way hub. */
  
  
  
  
  
  

  /* Compact problem navigation: selection is navigation, not content. */
  
  
  
  
  

  /* Editorial/content cards stay 2-up with media above copy. */
  .themen-page .pl-related-grid,.themen-page .category-more-grid,
  .hub-main .hub-topic-grid,.hub-main .hub-related-grid,.hub-main .recipes-related-grid,
  .recipe-category-hub .category-grid,.recipe-category-hub .category-more-grid,
  body.recipe-page .related-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
  }
  .recipe-category-hub .category-recipe-card,.recipe-category-hub .category-more-card,
  body.recipe-page .recipe-card-live,body.recipe-page .recipe-card{
    display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;
  }
  .recipe-category-hub .category-recipe-card>img,.recipe-category-hub .category-more-card img,
  body.recipe-page .recipe-card-live img,body.recipe-page .recipe-card img{
    width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:4/3!important;object-fit:cover!important;
  }

  /* Recipe core: readability wins. Ingredients and preparation remain full-width, but denser. */
  body.recipe-page .recipe-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  body.recipe-page .ingredients,body.recipe-page .prep{padding:14px!important;min-width:0!important;}
  body.recipe-page .ingredient-list li{grid-template-columns:38px minmax(0,1fr)!important;gap:8px!important;padding:7px 0!important;min-height:0!important;}
  body.recipe-page .ingredient-thumb{width:36px!important;height:36px!important;border-radius:10px!important;}
  body.recipe-page .ingredient-main{font-size:.78rem!important;line-height:1.2!important;}
  body.recipe-page .ingredient-note{font-size:.66rem!important;line-height:1.2!important;}
  body.recipe-page .step{grid-template-columns:28px minmax(0,1fr)!important;gap:8px!important;padding:9px 0!important;}
  body.recipe-page .step-num{width:28px!important;height:28px!important;font-size:.78rem!important;}
  body.recipe-page .step h3{font-size:.96rem!important;line-height:1.1!important;margin-bottom:3px!important;}
  body.recipe-page .step p{font-size:.76rem!important;line-height:1.32!important;}

  /* Recipe secondary: two balanced panels; pairing keeps 3 mini cards. */
  body.recipe-page .secondary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;}
  body.recipe-page .variants,body.recipe-page .recipe-pairing-v3{padding:12px!important;min-width:0!important;height:auto!important;}
  body.recipe-page .variants h2,body.recipe-page .recipe-pairing-v3 h2{max-width:100%!important;font-size:.9rem!important;line-height:1.08!important;white-space:normal!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}
  body.recipe-page .pairing-grid-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;}
  body.recipe-page .pairing-card-v3{min-width:0!important;}
  body.recipe-page .pairing-copy-v3{padding:6px!important;}
  body.recipe-page .pairing-copy-v3 h3{font-size:.62rem!important;line-height:1.08!important;overflow-wrap:break-word!important;hyphens:auto!important;}
  body.recipe-page .pairing-copy-v3 p{display:none!important;}

  /* Vertical density: compact headings without changing page hierarchy. */
  .themen-page main>section,.hub-main>section,.recipe-category-hub main>section,body.recipe-page .recipe-main>section{margin-block:18px!important;}
  .themen-page h2,.hub-main h2,.recipe-category-hub h2,body.recipe-page .recipe-main>h2{font-size:clamp(1.35rem,5.7vw,1.7rem)!important;line-height:1.04!important;}
}


/* RESPONSIVE CONTENT CONTRACT V1.0 CANDIDATE — Real-device findings 2026-09-30 */
@media (max-width:767px) and (orientation:portrait){
  /* Hero copy: compact content, never word-staircases. */
  .themen-page .tm-kicker,.recipe-category-hub .category-kicker{
    white-space:nowrap!important;overflow:visible!important;hyphens:none!important;
    font-size:clamp(.52rem,2.15vw,.62rem)!important;letter-spacing:.08em!important;
  }
  

  /* Recipe hero: remove duplication and keep every meta value self-explanatory. */

  /* Recipe secondary: content density wins. Full width, then horizontal pairing rows. */
  body.recipe-page .secondary-grid{grid-template-columns:1fr!important;gap:10px!important;align-items:start!important;}
  body.recipe-page .variants,body.recipe-page .recipe-pairing-v3{width:100%!important;height:auto!important;padding:14px!important;}
  body.recipe-page .variants h2,body.recipe-page .recipe-pairing-v3 h2{font-size:1.05rem!important;margin-bottom:10px!important;}
  body.recipe-page .variant{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;margin:9px 0!important;font-size:.78rem!important;line-height:1.22!important;}
  body.recipe-page .variant .check{width:28px!important;height:28px!important;}
  body.recipe-page .variant b{display:block!important;margin-bottom:1px!important;}
  body.recipe-page .variant span:not(.check){display:block!important;}
  body.recipe-page .pairing-grid-v3{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;}
  body.recipe-page .pairing-card-v3{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;align-items:center!important;min-height:62px!important;border-radius:12px!important;overflow:hidden!important;}
  body.recipe-page .pairing-card-v3>img{width:82px!important;height:62px!important;aspect-ratio:auto!important;object-fit:cover!important;margin:0!important;}
  body.recipe-page .pairing-copy-v3{padding:8px 11px!important;min-width:0!important;}
  body.recipe-page .pairing-copy-v3 h3{font-size:.82rem!important;line-height:1.1!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;margin:0!important;}
  body.recipe-page .pairing-copy-v3 p{display:none!important;}
}

/* RESPONSIVE CONTENT CONTRACT V1.1 — consolidated real-device rules 2026-10-01 */
@media (max-width:767px) and (orientation:portrait){
  /* Compact navigation: one geometry everywhere. Icon + label are one centered unit. */
  
  
  
  

  /* Compact section intros: one line where the component is navigation/orientation. */
  
  .hub-main .hub-section-head p,.category-more-head p{
    white-space:nowrap!important;font-size:clamp(.66rem,2.85vw,.80rem)!important;line-height:1.2!important;
  }

  /* Home/order hub: mobile labels are orientation, not mini articles. */
  .hub-main .hub-topic-card h3,.hub-main .hub-related-grid b{
    white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;hyphens:none!important;
    font-size:clamp(.82rem,3.35vw,1rem)!important;line-height:1.08!important;
  }
  .hub-main .hub-topic-card p{font-size:.76rem!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .hub-main .hub-related-grid>*>div{min-height:44px!important;padding:9px 10px!important;display:flex!important;align-items:center!important;}

  /* Category tip: one compact idea, not an article. */
  .recipe-category-hub .category-hub-tip{padding:16px 18px!important;}
  .recipe-category-hub .category-hub-tip h2{font-size:1rem!important;line-height:1.2!important;margin-top:5px!important;max-width:34ch!important;}

  /* Recipe card naming: max two lines, no hyphenation hacks. */
  .recipe-category-hub .category-card-copy h2,.recipe-category-hub .category-recipe-card h2,
  body.recipe-page .recipe-card b{
    display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    overflow:hidden!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;
  }

  /* Ingredient thumbnails inherit the proven square desktop geometry. */
  body.recipe-page .ingredient-list li{grid-template-columns:46px minmax(0,1fr)!important;gap:9px!important;}
  body.recipe-page .ingredient-thumb{width:44px!important;height:44px!important;aspect-ratio:1/1!important;border-radius:10px!important;overflow:hidden!important;}
  body.recipe-page .ingredient-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important;}

  /* Preparation: readable action blocks, no excessive vertical copy. */
  body.recipe-page .step{grid-template-columns:30px minmax(0,1fr)!important;gap:9px!important;padding:10px 0!important;}
  body.recipe-page .step h3{font-size:.94rem!important;line-height:1.08!important;margin-bottom:3px!important;}
  body.recipe-page .step p{font-size:.76rem!important;line-height:1.3!important;margin:0!important;}
}


/* RESPONSIVE CONTENT CONTRACT V1.2 — QA corrections 2026-10-01
   Scope: smartphone portrait only. Desktop Golden Master remains untouched. */
@media (max-width:767px) and (orientation:portrait){

  /* COMPACT SECTION HEADLINES: navigation/orientation stays on one line. */
  

  /* COMPACT NAV: icon + label are one centered unit; artwork may never be clipped. */
  
  
  

  /* CATEGORY TIP: label stays one line, supporting line compact. */
  .recipe-category-hub .category-hub-tip span{display:block!important;white-space:nowrap!important;font-size:.68rem!important;line-height:1!important;}
  .recipe-category-hub .category-hub-tip h2{font-size:.88rem!important;line-height:1.16!important;margin-top:5px!important;max-width:31ch!important;}

  /* INGREDIENT MEDIA: square container + contained artwork, matching desktop logic. */
  body.recipe-page .ingredient-list li{grid-template-columns:50px minmax(0,1fr)!important;gap:10px!important;}
  body.recipe-page .ingredient-thumb{width:48px!important;height:48px!important;min-width:48px!important;aspect-ratio:1/1!important;border-radius:12px!important;padding:0!important;overflow:hidden!important;}
  body.recipe-page .ingredient-thumb img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;border-radius:10px!important;transform:none!important;}

  /* PAIRING: three compact cards in one row; image above, one-line label below. */
  body.recipe-page .secondary-grid{grid-template-columns:1fr!important;gap:10px!important;}
  body.recipe-page .pairing-grid-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;}
  body.recipe-page .pairing-card-v3{display:flex!important;flex-direction:column!important;min-width:0!important;width:auto!important;min-height:0!important;overflow:hidden!important;border-radius:12px!important;}
  body.recipe-page .pairing-card-v3>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;margin:0!important;}
  body.recipe-page .pairing-copy-v3{display:grid!important;place-items:center!important;padding:7px 3px 8px!important;min-height:31px!important;text-align:center!important;}
  body.recipe-page .pairing-copy-v3 h3{margin:0!important;font-size:clamp(.62rem,2.7vw,.76rem)!important;line-height:1.05!important;white-space:nowrap!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important;}
  body.recipe-page .pairing-copy-v3 p{display:none!important;}
}

/* RESPONSIVE CONTENT CONTRACT V1.3 — Mobile Portrait QA corrections
   Scope: smartphone portrait only. Desktop/Tablet Golden states untouched. */
@media (max-width:767px) and (orientation:portrait){
  /* Single-line compact section titles via optional mobile copy. */
  [data-mobile-title]{font-size:0!important;line-height:0!important;}
  [data-mobile-title]::after{content:attr(data-mobile-title);display:block;font-size:clamp(.92rem,4vw,1.12rem)!important;line-height:1.05!important;white-space:nowrap!important;hyphens:none!important;word-break:normal!important;}

  /* Compact nav geometry: artwork + label is one centered unit. */
  
  
  
  
  

  /* Feierabend tip: keep label and supporting copy compact, allow later wrap point. */
  .recipe-category-hub .category-hub-tip h2{font-size:.82rem!important;line-height:1.14!important;max-width:36ch!important;text-wrap:balance!important;}

  /* Ingredient thumbnails: true square, no squeeze. */
  body.recipe-page .ingredient-thumb{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;aspect-ratio:1/1!important;border-radius:12px!important;overflow:hidden!important;}
  body.recipe-page .ingredient-thumb img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border-radius:10px!important;}

  /* Pairing: enforce the approved three-card row after all legacy rules. */
  body.recipe-page .recipe-pairing-v3{width:100%!important;padding:14px!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-grid-v3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-card-v3{display:flex!important;flex-direction:column!important;width:auto!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border-radius:12px!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-card-v3>img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;display:block!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-copy-v3{display:grid!important;place-items:center!important;min-height:30px!important;padding:7px 2px!important;text-align:center!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-copy-v3 h3{font-size:clamp(.60rem,2.6vw,.74rem)!important;line-height:1!important;white-space:nowrap!important;margin:0!important;}
  body.recipe-page .recipe-pairing-v3 .pairing-copy-v3 p{display:none!important;}

  /* Related/content cards: mobile copy can be shorter without changing desktop/SEO copy. */
  .pl-related-card [data-mobile-label]{font-size:0!important;line-height:0!important;}
  .pl-related-card [data-mobile-label]::after{content:attr(data-mobile-label);display:block;font-size:.62rem!important;line-height:1!important;white-space:nowrap!important;}
  .pl-related-card [data-mobile-card-title]{font-size:0!important;line-height:0!important;}
  .pl-related-card [data-mobile-card-title]::after{content:attr(data-mobile-card-title);display:block;font-size:clamp(.84rem,3.6vw,1rem)!important;line-height:1.08!important;max-height:2.16em!important;overflow:hidden!important;}
}


/* RESPONSIVE CONTENT CONTRACT V1.4 — FINAL MOBILE PORTRAIT CORRECTIONS
   Scope strictly smartphone portrait. Desktop/tablet remain visually untouched. */
@media (max-width:767px) and (orientation:portrait){
  /* One source of truth for compact problem headings: no duplicate pseudo-copy. */
  .qa-dual-title .qa-desktop-title{display:none!important;}
  .qa-dual-title .qa-mobile-title{display:block!important;white-space:nowrap!important;font-size:clamp(.92rem,4vw,1.12rem)!important;line-height:1.05!important;}

  /* Related content: short mobile naming, more image, maximum two title lines. */
  .pl-related-grid{gap:10px!important;}
  .pl-related-card>div{padding:9px 10px 11px!important;min-height:58px!important;}
  .pl-related-card small{margin:0 0 4px!important;font-size:.58rem!important;line-height:1!important;white-space:nowrap!important;}
  .pl-related-card h3{font-size:.82rem!important;line-height:1.06!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  .pl-related-card img{aspect-ratio:4/2.8!important;object-fit:cover!important;}

  /* Recipe hero: fit all facts and preserve the food motif. */
  /* Recipe hero facts/meta owner — Mobile Portrait. */
  body.recipe-page .recipe-hero .facts{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;margin-top:7px!important;padding-top:5px!important;}
  body.recipe-page .recipe-hero .fact{display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;gap:5px!important;min-width:0!important;align-items:center!important;}
  body.recipe-page .recipe-hero .fact-icon{width:17px!important;height:17px!important;font-size:.56rem!important;}
  body.recipe-page .recipe-hero .fact small{display:none!important;}
  body.recipe-page .recipe-hero .fact b{display:block!important;min-width:0!important;font-size:clamp(.56rem,2.35vw,.64rem)!important;line-height:1.08!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}
  /* Recipe hero media owner — Mobile Portrait. Preserve the full food motif without distortion. */
  body.recipe-page .recipe-hero>picture.hero-media{background:#f5efe4!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;align-self:stretch!important;min-width:0!important;min-height:0!important;border-radius:18px!important;}
  body.recipe-page .recipe-hero>picture.hero-media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important;border-radius:0!important;}

  /* Ingredient image sits slightly inside the approved square green tile. */
  body.recipe-page .ingredient-thumb{display:grid!important;place-items:center!important;background:#073f3d!important;}
  body.recipe-page .ingredient-thumb img{width:88%!important;height:88%!important;max-width:88%!important;max-height:88%!important;object-fit:contain!important;border-radius:8px!important;}
}

@media (min-width:768px){
  .qa-dual-title .qa-mobile-title{display:none!important;}
  .qa-dual-title .qa-desktop-title{display:inline!important;}
}

/* RECIPE HERO GEOMETRY OWNER — DECLARATION CLEANUP PHASE 1
   Scope: Mobile Portrait geometry only. Typography, facts, image-fit and all other components stay on baseline. */
@media (max-width:767px) and (orientation:portrait){
  body.recipe-page .recipe-hero{
    display:grid!important;
    grid-template-columns:minmax(0,48fr) minmax(0,52fr)!important;
    gap:8px!important;
    align-items:stretch!important;
    min-height:0!important;
    height:auto!important;
  }
  body.recipe-page .recipe-hero>.hero-copy{
    padding:12px!important;
    align-self:stretch!important;
    min-height:0!important;
  }
  body.recipe-page .recipe-hero>picture.hero-media{
    aspect-ratio:auto!important;
  }
}

/* RECIPE HERO CONTENT & TYPOGRAPHY OWNER — DECLARATION CLEANUP PHASE 2
   Scope: Mobile Portrait recipe-hero copy only. Geometry, facts/meta and media-fit remain owned elsewhere. */
@media (max-width:767px) and (orientation:portrait){
  body.recipe-page .recipe-hero h1{
    font-size:clamp(1rem,4.25vw,1.22rem)!important;line-height:1.02!important;
    margin:4px 0 6px!important;letter-spacing:-.02em!important;
    white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
  }
}

/* =========================================================
   SYSTEMIC RESPONSIVE OWNER V2.0
   Scope: confirmed regression classes only.
   Owner rules are centralized here; no page-specific patches.
   ========================================================= */

/* 1) Recipe hero geometry + textbox + facts */
.recipe-hero {
  align-items: stretch !important;
}
.recipe-hero > .hero-copy,
.recipe-hero > picture.hero-media {
  align-self: stretch !important;
  min-height: 0 !important;
}
.recipe-hero > .hero-copy {
  height: auto !important;
  overflow: visible !important;
}
.recipe-hero > picture.hero-media {
  display: flex !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}
.recipe-hero > picture.hero-media > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}
.recipe-hero .hero-facts,
.recipe-hero .facts,
.recipe-hero .recipe-facts {
  min-width: 0 !important;
}
.recipe-hero .hero-facts > *,
.recipe-hero .facts > *,
.recipe-hero .recipe-facts > * {
  min-width: 0 !important;
}

/* 2) Ingredient geometry: square is invariant across breakpoints */
.recipe-ingredients img,
.ingredients img,
.ingredient-card img,
.ingredient-item img,
.ingredient-media img {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
}

/* 3) Choice/icon cards: geometry belongs to component, not viewport */
.choice-card,
.choice-tile,
.choice-item {
  min-width: 0 !important;
}
.choice-card img,
.choice-tile img,
.choice-item img {
  object-fit: contain !important;
}

/* 4) Text containers may wrap naturally; no clipping as text solution */
.recipe-hero h1,
.recipe-hero h2,
.choice-card h3,
.choice-tile h3,
.content-card h3,
.recipe-card h3 {
  overflow: visible !important;
  text-overflow: clip !important;
}

/* 5) Five-view responsive ownership.
   Breakpoints intentionally map existing device classes without adding
   page-specific variants. */
@media (max-width: 767px) {
  .recipe-hero > picture.hero-media { border-radius: 18px !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .recipe-hero > picture.hero-media { border-radius: 18px !important; }
}
@media (min-width: 1024px) {
  .recipe-hero > picture.hero-media { border-radius: 18px !important; }
}

/* =========================================================
   COMPACT OVERVIEW CARD CONTENT & GEOMETRY CONTRACT V1.0
   Applies to homepage compact overview cards on all viewports.
   ========================================================= */
.hp-content-card {
  height: auto !important;
  min-height: 0 !important;
}
.hp-content-card > div {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 16px !important;
}
.hp-content-card small {
  display: block !important;
  margin-bottom: 7px !important;
  white-space: nowrap !important;
}
.hp-content-card h3 {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}
.hp-content-card p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* =========================================================
   HIGHLIGHT CARD LANDSCAPE GEOMETRY OWNER V1.0
   Scope: phone landscape only. Portrait/tablet/desktop untouched.
   ========================================================= */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  .hp-feature.highlight-card {
    height: auto !important;
    min-height: 0 !important;
  }
  .hp-feature.highlight-card > img,
  .hp-feature.highlight-card > picture,
  .hp-feature.highlight-card .highlight-card__media {
    height: clamp(150px, 42vh, 210px) !important;
    min-height: 0 !important;
  }
  .hp-feature.highlight-card > img,
  .hp-feature.highlight-card > picture img,
  .hp-feature.highlight-card .highlight-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hp-feature.highlight-card .highlight-card__content,
  .hp-feature.highlight-card .highlight-card__copy {
    height: auto !important;
    min-height: 0 !important;
  }
}

/* =========================================================
   HIGHLIGHT LANDSCAPE MEDIA WIDTH FIX V1.1
   Phone landscape only: media spans the full card width.
   ========================================================= */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
  .hp-feature.highlight-card {
    display: block !important;
  }
  .hp-feature.highlight-card > img,
  .hp-feature.highlight-card > picture,
  .hp-feature.highlight-card .highlight-card__media {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }
  .hp-feature.highlight-card > img,
  .hp-feature.highlight-card > picture img,
  .hp-feature.highlight-card .highlight-card__media img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hp-feature.highlight-card .highlight-card__content,
  .hp-feature.highlight-card .highlight-card__copy {
    width: 100% !important;
  }
}

/* =========================================================
   MASTERWIDE CONTENT + GEOMETRY CONTRACT V2.0
   Shared component safety across phone/tablet/desktop.
   ========================================================= */
 
 
 
@media (max-width: 767px) {
   
   
  .tip-wide { height: auto !important; min-height: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
   
  .tip-wide { height: auto !important; min-height: 0 !important; }
}

/* =========================================================
   ROOT CAUSE COMPONENT OWNER V2.4
   Actual selectors: .tm-tip, .tm-helper-card, .tm-hero-copy, .pl-related-card
   ========================================================= */
.tm-tip { height:auto !important; min-height:0 !important; }
.tm-tip h2, .tm-tip p { max-width:100% !important; overflow:visible !important; }



.pl-related-card { min-width:0 !important; overflow:hidden !important; }
.pl-related-card small { white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
.pl-related-card h3 { display:block !important; overflow:visible !important; -webkit-line-clamp:unset !important; }
@media (max-width:767px) {
  .tm-hero-copy { min-width:0 !important; overflow:hidden !important; }
  .tm-hero-copy .tm-kicker { white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; }
  .tm-hero-copy h1 { font-size:clamp(1.55rem,7vw,2.2rem) !important; line-height:1.02 !important; margin:8px 0 10px !important; }
  .tm-hero-copy .tm-lead { font-size:clamp(.9rem,3.8vw,1.05rem) !important; line-height:1.28 !important; }
  .tm-tip { padding:22px 24px !important; border-radius:18px !important; }
  .tm-tip h2 { font-size:clamp(1.35rem,6vw,1.8rem) !important; line-height:1.08 !important; margin:5px 0 9px !important; }
  .tm-tip p { font-size:clamp(.92rem,3.8vw,1.05rem) !important; line-height:1.38 !important; }
  
  
  .pl-related-card>div { padding:10px 11px 12px !important; min-height:0 !important; }
  .pl-related-card small { font-size:.62rem !important; }
  .pl-related-card h3 { font-size:.92rem !important; line-height:1.1 !important; }
}
