/* Mobile-first navigation, preserving the CiM black-and-gold brand */
.cim-mobile-menu{display:none;cursor:pointer;border:1px solid #b58a3e;background:#21180e;color:#f3cf7c;border-radius:11px;padding:10px 14px;font-weight:750;font-size:14px;min-height:44px}
.hero.cim-recipe-hero{margin-top:23px;margin-bottom:14px}
.hero.cim-recipe-hero h1{font-size:clamp(30px,4.1vw,52px)}
@media(max-width:760px){
 .wrap{padding:12px 14px 28px}
 .top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;min-height:0;padding:6px 0 12px;gap:8px}
 .brand{min-width:0;flex:1 1 100%;justify-content:center}
 .brand-full-logo{width:min(225px,66vw)!important;max-height:110px;object-fit:contain;margin:auto}
 .header-right{display:flex;flex:1 1 100%;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;position:relative}
 .cim-mobile-menu{display:inline-flex;align-items:center;justify-content:center;order:1}
 .header-right .lang{order:2;min-height:44px}
 .header-right #prototypeTag{order:3;font-size:10px;padding:8px 10px;white-space:normal;text-align:center}
 #navSlot{order:4;flex:1 1 100%;width:100%}
 #mainNav{display:none!important;margin:6px 0 0!important;width:100%;flex-direction:column;gap:7px;align-items:stretch}
 #mainNav.cim-nav-open{display:flex!important}
 #mainNav button{width:100%;min-height:44px;text-align:left;font-size:14px;padding:11px 13px}
 .hero{margin-top:18px!important;margin-bottom:15px!important}
 .hero h1,.hero.cim-recipe-hero h1{font-size:clamp(30px,8vw,39px)}
 .hero-side{margin-top:12px}
 .recipe-layout{grid-template-columns:minmax(0,1fr)}
 .recipe-actions{gap:8px}
 .recipe-actions button,.recipe-actions label{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 .recipe-form-grid{grid-template-columns:minmax(0,1fr)}
 .recipe-line{grid-template-columns:minmax(0,1fr) minmax(80px,.7fr) auto}
 .recipe-stat strong{font-size:21px}
 .card{min-width:0}
}
@media(max-width:390px){.header-right #prototypeTag{flex-basis:100%;max-width:220px}.recipe-stat-grid{grid-template-columns:1fr}}
