/* Shared writing-system and locale controls, also used by the original guide. */
:root { --sans: 'Manrope', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans Arabic', Arial, sans-serif; }
:root:lang(ja) { --sans: 'Noto Sans JP', 'Manrope', 'Noto Sans KR', 'Noto Sans Arabic', sans-serif; --serif: var(--sans); }
:root:lang(ko) { --sans: 'Noto Sans KR', 'Manrope', 'Noto Sans JP', 'Noto Sans Arabic', sans-serif; --serif: var(--sans); }
:root:lang(ar) { --sans: 'Noto Sans Arabic', 'Manrope', 'Noto Sans JP', 'Noto Sans KR', sans-serif; --serif: var(--sans); }
:lang(ja) { line-break: strict; word-break: normal; }
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ar) { letter-spacing: normal; }
bdi[lang="tr"], bdi[lang="en"] { font-family: 'Manrope', sans-serif; }
.language-switch { position: relative; flex-shrink: 0; font: 500 14px/1.5 'Manrope', sans-serif; }
.language-switch summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 7px 10px; cursor: pointer; border: 1px solid var(--line); border-radius: 3px; white-space: nowrap; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary>span:first-child { font-size: 23px; line-height: 1; }
.language-switch summary:hover, .language-switch[open] summary { background: var(--surface); }
.language-switch nav { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 10px); width: 235px; max-width: calc(100vw - 36px); max-height: min(520px,70vh); overflow: auto; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 45px #29282017; z-index: 30; padding: 8px; }
.language-switch nav a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 43px; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
.language-switch nav a:hover { background: var(--surface); }
.language-switch a[aria-current="page"] { color: var(--burgundy); background: var(--surface); font-weight: 700; }
.language-switch nav bdi { font: 500 12px/1.5 'Manrope',sans-serif; color: var(--muted); }
.language-switch a:lang(ja) { font-family: 'Noto Sans JP',sans-serif; }
.language-switch a:lang(ko) { font-family: 'Noto Sans KR',sans-serif; }
.language-switch a:lang(ar), :lang(ar) .language-switch summary { font-family: 'Noto Sans Arabic',sans-serif; }
.language-switch a:lang(ar) { letter-spacing: 0; }
.root-mobile-language { width: 100%; margin-top: 10px; }
.root-mobile-language .language-switch { width: max-content; }
.root-mobile-language .language-switch nav { inset-inline-start: 0; inset-inline-end: auto; }
@media(max-width:800px) { .root-language { display: none; } }
.language-switch :focus-visible, .locale-page :focus-visible { outline: 2px solid var(--burgundy); outline-offset: 4px; }
.locale-page *, .locale-page *::before, .locale-page *::after { box-sizing: border-box; }
.locale-page { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.8 var(--sans); }
.locale-page h1,.locale-page h2,.locale-page h3,.locale-page p,.locale-page figure { margin: 0; }
.locale-page h1,.locale-page h2,.locale-page h3 { font-weight: 600; }
.locale-page img { display: block; max-width: 100%; height: auto; }
.locale-page a { color: inherit; text-underline-offset: 4px; }
.locale-page button,.locale-page input { font: inherit; }
.locale-page button { cursor: pointer; }
.locale-page button:disabled { cursor: default; opacity: .4; }
.locale-page [hidden] { display: none !important; }
.local-wrap { width: min(1320px,calc(100% - 80px)); margin-inline: auto; }
.local-skip { position: fixed; inset-block-start: 8px; inset-inline-start: 16px; background: var(--burgundy); color: var(--paper) !important; padding: 12px 20px; transform: translateY(-200%); z-index: 100; }
.local-skip:focus { transform: none; }
.local-edition { background: var(--surface); font-size: 12px; color: var(--green); }
.local-edition>div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 20px; padding-block: 7px; }
.local-header { min-height: 108px; display: flex; align-items: center; gap: 35px; border-bottom: 1px solid var(--line); }
.local-logo { display: inline-flex; flex-shrink: 0; }
.local-logo img { width: 285px; height: auto; }
.local-nav { margin-inline-start: auto; display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.local-nav a { text-decoration: none; padding-block: 12px; }
.local-breadcrumb { display: flex; flex-wrap: wrap; gap: 13px; font-size: 13px; padding-block: 26px; color: var(--muted); }
.local-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.section-label { display: block; color: var(--green); font-size: 13px; font-weight: 500; line-height: 1.6; margin-bottom: 17px; }
.local-hero h1 { font-size: clamp(44px,4.6vw,72px); line-height: 1.16; letter-spacing: -.05em; text-wrap: balance; color: var(--burgundy); overflow-wrap: anywhere; }
.local-hero h1>span { display: block; }
.local-hero-copy>p { margin-top: 26px; max-width: 460px; color: var(--muted); line-height: 1.9; }
.local-button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 13px 23px; background: var(--burgundy); color: var(--paper) !important; border: 1px solid var(--burgundy); text-decoration: none; font-size: 14px !important; font-weight: 500; line-height: 1.6; }
.local-button:hover { background: #4a1e2a; }
.local-hero .local-button { margin-top: 32px; }
.local-hero figure { position: relative; }
.hero-photo { width: 100%; height: 590px !important; object-fit: cover; }
.local-hero figcaption { font-size: 12px; margin-top: 10px; color: var(--muted); }
.local-story { max-width: 840px; margin: 90px auto; text-align: center; }
.local-story h2 { font-size: 36px; line-height: 1.35; letter-spacing: -.03em; margin-bottom: 20px; }
.local-story>p { color: var(--muted); font-size: 19px; line-height: 1.95; }
.local-section { padding-block: 65px 80px; border-top: 1px solid var(--line); scroll-margin-top: 25px; }
.local-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; margin-bottom: 35px; }
.local-heading h2,.local-recipe h2 { font-size: 44px; line-height: 1.25; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: anywhere; }
.local-heading p { font-size: 15px; color: var(--muted); }
.local-filters { display: flex; align-items: end; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-buttons button { padding: 9px 20px; min-height: 44px; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 14px; border-radius: 2px; }
.filter-buttons [aria-pressed="true"] { color: var(--paper); background: var(--green); border-color: var(--green); }
.local-search { display: block; width: min(310px,100%); }
.local-search>span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.local-search input { border: 1px solid var(--line); background: transparent; width: 100%; border-radius: 2px; padding: 10px 12px; min-height: 46px; font-size: 16px; color: var(--ink); }
.local-dishes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.local-dish>img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; }
.local-dish-body { padding-top: 22px; }
.local-dish h3 { font-size: 27px; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 10px; overflow-wrap: anywhere; }
.local-dish .section-label { font-size: 12px; margin-bottom: 11px; }
.local-dish-body>p:not(.local-name) { font-size: 15px; color: var(--muted); margin-top: 13px; }
.local-name { font-size: 13px; color: var(--green); line-height: 1.8; }
.text-link { display: inline-block; font-size: 14px; color: var(--burgundy) !important; margin-top: 18px; }
.local-caption { color: var(--muted); font-size: 13px; line-height: 1.85; margin-top: 20px !important; }
.local-places { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
.local-place { background: var(--surface); padding: 32px; }
.local-place h3 { font-size: 28px; line-height: 1.4; margin-bottom: 18px; }
.local-place>p { font-size: 15px; color: var(--muted); }
.local-address { margin-top: 22px !important; font-size: 13px !important; }
.place-links { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-top: 24px; font-size: 14px; }
.place-links a { color: var(--burgundy); }
.recipe-lead { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; align-items: center; }
.recipe-lead>div>p { margin-top: 23px; color: var(--muted); }
.recipe-lead>img { width: 100%; height: 280px; object-fit: cover; }
.local-recipe-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 35px; padding-block: 24px; margin-top: 35px; border-block: 1px solid var(--line); font-size: 14px; }
.local-portions { display: flex; align-items: center; gap: 15px; }
.local-portions button { border: 1px solid var(--line); background: transparent; color: var(--ink); width: 44px; height: 44px; font-size: 21px; }
.local-recipe-columns { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; margin-top: 45px; }
.local-recipe h3 { font-size: 25px; line-height: 1.4; letter-spacing: -.02em; margin-bottom: 23px; }
.local-ingredients { padding: 0; list-style: none; margin: 0; }
.local-ingredients li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.local-ingredients label { display: flex; align-items: baseline; gap: 13px; cursor: pointer; }
.local-ingredients input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
.local-ingredients input:checked+span { text-decoration: line-through; color: var(--muted); }
.ingredient-quantity { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ingredient-quantity b { font-weight: 600; }
.quantity-gap { margin-inline-start: 5px; }
.local-steps { margin: 0; padding-inline-start: 25px; }
.local-steps li { padding-inline-start: 10px; margin-bottom: 24px; }
.local-steps li::marker { color: var(--burgundy); font-weight: 600; }
:root:lang(ar) .local-steps { list-style-type: arabic-indic; }
.local-tip { background: var(--surface); border-inline-start: 3px solid var(--green); padding: 25px 30px; margin-top: 30px; }
.local-tip h3 { font-size: 17px; margin-bottom: 12px; color: var(--green); }
.local-tip p { font-size: 15px; }
.local-recipe-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 28px; }
.local-button-outline { color: var(--burgundy) !important; background: transparent; }
.local-button-outline:hover { background: var(--surface); }
.local-sources { border-top: 1px solid var(--line); padding-block: 28px 55px; font-size: 13px; }
.local-sources summary { cursor: pointer; display: flex; justify-content: space-between; gap: 15px; padding-block: 12px; list-style: none; }
.local-sources summary>span { font-size: 22px; }
.local-sources details>div { max-width: 900px; padding-top: 18px; color: var(--muted); }
.local-sources ul { padding-inline-start: 20px; }
.local-sources li { margin-top: 14px; overflow-wrap: anywhere; }
.local-footer { background: var(--surface); padding-block: 50px 25px; }
.local-footer p { color: var(--muted); max-width: 480px; font-size: 15px; margin-top: 24px; }
.local-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 13px; color: var(--muted); }
:root:lang(ar) .locale-page { line-height: 1.95; }
:root:lang(ar) .local-hero h1,:root:lang(ar) .local-heading h2,:root:lang(ar) .local-recipe h2 { letter-spacing: 0; line-height: 1.55; }
:root:lang(ar) .local-dish h3,:root:lang(ar) .local-story h2,:root:lang(ar) .local-place h3 { letter-spacing: 0; line-height: 1.6; }
:root:lang(ar) .local-recipe h3 { letter-spacing: 0; }
:root:lang(ar) .direction-arrow { transform: rotate(180deg); }
:root:lang(ja) .local-hero h1,:root:lang(ko) .local-hero h1 { font-size: clamp(38px,3.7vw,58px); line-height: 1.55; letter-spacing: -.025em; }
:root:lang(ja) .local-heading h2,:root:lang(ko) .local-heading h2,:root:lang(ja) .local-recipe h2,:root:lang(ko) .local-recipe h2 { font-size: 37px; line-height: 1.5; }
:root:lang(ja) .local-dish h3,:root:lang(ko) .local-dish h3 { font-size: 24px; line-height: 1.5; }
@media(max-width:1150px) {
  .local-header { gap: 25px; flex-wrap: wrap; padding-block: 22px 17px; }
  .local-nav { order: 3; width: 100%; margin: 0; gap: 30px; }
  .local-header>.language-switch { margin-inline-start: auto; }
  .local-hero { gap: 40px; }
  .hero-photo { height: 530px !important; }
  .local-dishes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 28px; }
  .local-dish>img { aspect-ratio: 4/3; }
  .local-recipe-columns { gap: 45px; }
}
@media(max-width:750px) {
  .local-wrap { width: calc(100% - 40px); }
  .local-hero { grid-template-columns: 1fr; gap: 35px; }
  .local-hero-copy { padding-block: 15px 0; }
  .local-hero h1 { font-size: 53px; max-width: 590px; }
  .local-hero-copy>p { max-width: 100%; }
  .hero-photo { height: 490px !important; }
  .local-story { margin-block: 65px; text-align: start; }
  .local-story h2 { font-size: 32px; }
  .local-story p { font-size: 17px; }
  .local-heading { grid-template-columns: 1fr; gap: 20px; }
  .local-heading h2,.local-recipe h2 { font-size: 36px; }
  .local-places { grid-template-columns: 1fr; gap: 22px; }
  .recipe-lead { grid-template-columns: 1fr; gap: 28px; }
  .recipe-lead>img { height: 300px; }
  .local-recipe-columns { grid-template-columns: 1fr; gap: 40px; }
  .local-section { padding-block: 45px 55px; }
}
@media(max-width:500px) {
  .locale-page { font-size: 16px; }
  .local-wrap { width: calc(100% - 36px); }
  .local-logo img { width: 230px; }
  .local-header { gap: 17px; }
  .local-header>.language-switch { margin-inline-start: 0; }
  .local-nav { gap: 10px 23px; }
  .local-nav a { padding-block: 5px; }
  .local-header .language-switch nav { inset-inline-start: 0; inset-inline-end: auto; }
  .local-breadcrumb { padding-block: 20px; }
  .local-hero h1 { font-size: 45px; line-height: 1.2; }
  .local-hero-copy>p { margin-top: 23px; }
  .hero-photo { height: 400px !important; }
  .local-dishes { grid-template-columns: 1fr; gap: 35px; }
  .local-dish h3 { font-size: 28px; }
  .local-story h2 { font-size: 30px; }
  .local-heading h2,.local-recipe h2 { font-size: 33px; }
  .local-place { padding: 25px; }
  .local-search { width: 100%; }
  .local-tip { padding: 22px; }
  .local-recipe-meta { gap: 15px 24px; }
  .local-portions { width: 100%; }
  :root:lang(ja) .local-hero h1,:root:lang(ko) .local-hero h1 { font-size: clamp(29px,9vw,36px); }
  :root:lang(ja) .local-hero h1>span { white-space: nowrap; }
  :root:lang(ja) .local-heading h2,:root:lang(ko) .local-heading h2,:root:lang(ja) .local-recipe h2,:root:lang(ko) .local-recipe h2 { font-size: 29px; }
  .site-header .header-tools { gap: 3px; }
  .site-header .header-tools .language-switch summary { padding-inline: 7px; }
}
@media print {
  .local-header,.local-edition,.local-breadcrumb,.local-hero,.local-story,#food,#places,.local-footer,.local-sources,.local-recipe-actions,.local-portions button,#save-note { display: none !important; }
  .local-wrap { width: 100%; }
  .local-recipe { border: 0; padding: 0; }
  .recipe-lead>img { display: none; }
  .recipe-lead,.local-recipe-columns { display: block; }
  .local-recipe-columns>div { margin-top: 25px; }
  .locale-page { font-size: 12pt; color: #000; background: #fff; }
  .local-tip { break-inside: avoid; }
}
@media(prefers-reduced-motion:no-preference) { .locale-page { scroll-behavior: smooth; } }
