.language-switcher{padding:0 18px;margin:0 0 14px;display:flex;flex-direction:column;gap:5px}.language-control{position:relative;display:flex;align-items:center;gap:10px;border:1px solid #cbd3bc;border-radius:10px;background:#fafbf3;padding:0 12px;color:#465239;min-height:43px}.language-control>svg{width:19px;height:19px;flex-shrink:0}.language-control select{width:100%;min-width:0;border:0;background:transparent;color:inherit;padding:10px 18px 10px 0;font-size:12px;cursor:pointer;appearance:auto;font-family:var(--sans),"Microsoft YaHei",sans-serif}.language-control:focus-within{outline:3px solid #bccc9e;outline-offset:2px}.language-control select:focus-visible{outline:0}.language-status{font-size:10px;line-height:1.4;color:#6d775d;margin:0;padding:2px 3px}.language-control select:disabled{opacity:.6;cursor:wait}html:lang(zh-CN) body{font-family:var(--sans),"Microsoft YaHei","Noto Sans CJK SC",sans-serif}html:lang(zh-CN) h1,html:lang(zh-CN) h2,html:lang(zh-CN) h3{font-family:"Microsoft YaHei","Noto Sans CJK SC",var(--serif);letter-spacing:0;line-height:1.35}html:lang(zh-CN) .eyebrow{letter-spacing:.08em}
@media(min-width:1001px){body.sidebar-collapsed .language-switcher{padding:0;margin:0 0 12px}body.sidebar-collapsed .language-control{padding:0 6px;gap:2px;min-height:40px}body.sidebar-collapsed .language-control>svg{width:16px}body.sidebar-collapsed .language-control select{font-size:10px;padding:8px 0;width:45px}body.sidebar-collapsed .language-status{display:none}}
@media(max-width:1000px){.language-switcher{padding:0 24px 12px;margin:0;flex-direction:row;align-items:center;justify-content:flex-end;gap:12px}.language-control{width:145px;min-height:36px;flex-shrink:0}.language-control select{padding-block:7px}.language-status{font-size:10px;text-align:right}.site-header .language-switcher{border-bottom:1px solid #dfe4d5}}
@media(max-width:400px){.language-switcher{padding-inline:16px;gap:8px}.language-control{width:132px}.language-status{max-width:135px}}
@media print{.language-switcher{display:none}}

.language-code{display:none}@media(min-width:1001px){body.sidebar-collapsed .language-control{justify-content:center;gap:5px}body.sidebar-collapsed .language-control select{position:absolute;inset:0;opacity:0;width:100%;height:100%}body.sidebar-collapsed .language-code{display:inline;font-size:11px;font-weight:700}}
@media(min-width:1001px){.language-switcher{padding:0;margin:12px 0 0}body.sidebar-collapsed .language-switcher{margin-top:10px}}
@media(max-width:1000px){.language-control{width:174px}}@media(max-width:400px){.language-control{width:164px}.language-status{min-width:0}}
@media(max-width:420px){html:not(:lang(da)) .hero-stage-author>a{position:static;display:inline-flex;margin-top:9px;max-width:100%;font-size:11px}}

/* Compact recipe measurements stay next to the ingredients. */
.ingredients-heading{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px;min-width:0}
.ingredients-heading h3{flex:1 1 150px;min-width:0;margin:0;overflow-wrap:anywhere}
.recipe-system-control{display:flex;flex:0 1 165px;flex-direction:column;gap:4px;max-width:100%;min-width:0;color:var(--olive,#465239);font:600 11px/1.4 var(--sans)}
.recipe-system-control select{width:100%;min-width:0;min-height:40px;padding:8px 25px 8px 10px;border:1px solid #cbd3bc;border-radius:7px;background:var(--white,#fffef9);color:inherit;font:400 12px/1.4 var(--sans);cursor:pointer}
.recipe-system-control select:focus-visible{outline:3px solid var(--olive,#465239);outline-offset:3px}
.recipe-unit-note{margin:0 0 12px;color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:600px){.ingredients-heading{gap:10px;margin-bottom:10px}.recipe-system-control{flex-basis:160px}.recipe-system-control select{min-height:44px}}
@media print{.recipe-system-control{display:none}}

/* The selected country stays visible on the logo, including compact navigation. */
.brand-emblem{position:relative;display:block;flex:none;line-height:0}
.brand-country-flag{position:absolute;right:-4px;bottom:-2px;display:block;width:24px;height:18px;max-width:none;object-fit:cover;border:2px solid var(--paper,#fafbf3);border-radius:4px;box-shadow:0 1px 4px #26311f40;background:#fff;pointer-events:none}
@media(min-width:1001px){.brand-country-flag{width:22px;height:17px;right:-5px;bottom:-3px}.sidebar-collapsed .brand-emblem{margin-bottom:3px}}
@media(max-width:370px){.brand-country-flag{width:21px;height:16px;right:-3px}}

/* Reading direction follows the language; the navigation stays on the left. */
html[dir="rtl"] body{font-family:"Noto Sans Arabic","Noto Nastaliq Urdu",Tahoma,var(--sans),sans-serif}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] .brand{font-family:"Noto Sans Arabic",Tahoma,var(--sans),sans-serif;letter-spacing:0;line-height:1.45}
html[dir="rtl"] .eyebrow,html[dir="rtl"] .brand small{letter-spacing:0}
html[dir="rtl"] .card-title,html[dir="rtl"] .day-recipe-title,html[dir="rtl"] .food-category-jump,html[dir="rtl"] .typeahead-option,html[dir="rtl"] .plan-recipe-option{text-align:start}
html[dir="rtl"] .method-list{padding-left:0;padding-right:25px}
html[dir="rtl"] .method-list li{padding-left:0;padding-right:9px}
html[dir="rtl"] .recipe-system-control select{padding-left:25px;padding-right:10px}
html[dir="rtl"] .type-control select{direction:ltr;text-align:left}
html[dir="rtl"] .language-control{direction:ltr}
html[dir="rtl"] .language-status{text-align:start}
html[dir="rtl"] .hero-stage-copy,html[dir="rtl"] .hero-lookup{text-align:start}
html:lang(hi),html:lang(bn){--sans:"Nirmala UI","Noto Sans Bengali","Noto Sans Devanagari",Arial,sans-serif;--serif:var(--sans)}
html:lang(ja){--sans:"Yu Gothic","Noto Sans JP",Arial,sans-serif;--serif:var(--sans)}
html:lang(ko){--sans:"Malgun Gothic","Noto Sans KR",Arial,sans-serif;--serif:var(--sans)}
html:lang(ja) h1,html:lang(ja) h2,html:lang(ko) h1,html:lang(ko) h2,html:lang(hi) h1,html:lang(bn) h1{letter-spacing:0;line-height:1.35}
