/* Install button and sheet, the phone's tab bar, and the installed-app frame. */

/* the install button in the nav */
.install-btn { display: none; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px 0 14px; border-radius: 99px; border: 0; cursor: pointer;
  background: color-mix(in oklab, var(--p-accent) 38%, var(--p-bg)); color: var(--ink); font: 500 15px/1 var(--font-text); transition: transform .15s ease, background .15s ease; }
.install-btn:hover { background: color-mix(in oklab, var(--p-accent) 55%, var(--p-bg)); }
.install-btn:active { transform: scale(.97); }
.install-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.can-install .install-btn:not([hidden]) { display: inline-flex; }
@media (max-width: 1023px) {
  .can-install .nav:not(.is-open) .nav__actions > .btn--primary { display: none; }
  .can-install .nav:not(.is-open) .nav__actions > .install-btn:not([hidden]) { display: inline-flex; }
  .nav.is-open .nav__actions .install-btn:not([hidden]) { width: 100%; height: 48px; order: 1; }
}

/* the install sheet: a card that rises above the tab bar on a phone, sits bottom-right on a desktop */
.install-sheet { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 44px 16px 16px; border-radius: 24px; background: var(--pc-card, #fff); color: var(--ink);
  box-shadow: 0 0 0 1px var(--pc-line, rgb(0 0 0 / .08)), 0 24px 48px -16px rgb(20 40 30 / .35);
  transform: translateY(24px); opacity: 0; transition: transform .26s cubic-bezier(.2, .8, .2, 1), opacity .26s ease; }
.install-sheet.is-in { transform: none; opacity: 1; }
.ins__icon img { display: block; border-radius: 14px; }
.ins__text h2 { margin: 2px 0 4px; font: 500 18px/1.25 var(--font-display); letter-spacing: -.02em; }
.ins__text p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ins__steps { color: var(--ink) !important; }
.ins__chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 7px; border-radius: 99px; background: var(--pc-soft, #f3f3f3); color: var(--ink); font-weight: 500; vertical-align: -3px; }
.ins__chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ins__row { display: flex; gap: 8px; margin-top: 12px; }
.ins__row .btn { height: 44px; padding-inline: 20px; font-size: 15px; }
.btn--quiet { background: transparent; color: var(--muted); border: 0; }
.btn--quiet:hover { color: var(--ink); background: var(--pc-soft, #f3f3f3); }
.ins__x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: var(--muted); cursor: pointer; }
.ins__x:hover { background: var(--pc-soft, #f3f3f3); color: var(--ink); }
.ins__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (min-width: 1024px) { .install-sheet { left: auto; right: 24px; bottom: 24px; width: 400px; } }
@media (prefers-reduced-motion: reduce) { .install-sheet { transition: none; transform: none; } }

/* the phone's tab bar: the app's four places, within thumb reach */
.tabbar { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--p-bg) 88%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 52px; border-radius: 16px; color: var(--muted); text-decoration: none; font: 500 11.5px/1 var(--font-text); letter-spacing: .01em; -webkit-tap-highlight-color: transparent; transition: color .15s ease, background .15s ease; }
  .tabbar a:active { background: var(--pc-soft, #f3f3f3); }
  .tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a[aria-current="page"] { color: var(--p-action, var(--ink)); }
  .tabbar a[aria-current="page"] svg { fill: color-mix(in oklab, var(--p-accent) 45%, transparent); }
  .tabbar .tab-count { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--p-action, var(--ink)); color: var(--p-action-ink, #fff); font-size: 10px; line-height: 16px; text-align: center; }
  .tabbar .tab-count[hidden] { display: none; }
}

/* inside the installed app: no browser bar, so the page clears the notch and the nav sticks quietly */
.is-app .install-btn, .is-app .install-sheet { display: none !important; }
@media (display-mode: standalone) { html { overscroll-behavior-y: none; } body { -webkit-user-select: none; user-select: none; } input, textarea, .post__body, [data-o] { -webkit-user-select: text; user-select: text; } }
.nav { padding-top: env(safe-area-inset-top); }
@media print { .tabbar, .install-sheet { display: none !important; } }
@media (max-width: 479px) {
  .install-btn { width: 44px; padding: 0; }
  .install-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav.is-open .nav__actions .install-btn:not([hidden]) { width: 100%; }
  .nav.is-open .nav__actions .install-btn span { position: static; width: auto; height: auto; clip-path: none; }
}
/* the tab bar already leads to the names, so the smallest phones drop the nav's second button */
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions > .btn--primary { display: none; } }

/* the language switch: the country's languages side by side, the current one filled */
.lang-switch { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--pc-soft, #f2ece1); }
.lang-switch a { display: inline-grid; place-items: center; min-width: 44px; height: 38px; padding: 0 12px; border-radius: 99px; color: var(--muted); font: 600 14px/1 var(--font-text); text-decoration: none; transition: background .15s ease, color .15s ease; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--pc-card, #fff); color: var(--ink); box-shadow: 0 1px 2px rgb(31 42 36 / .12); }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .btn--primary { display: none; }
  .nav:not(.is-open) .nav__actions > .lang-switch { display: inline-flex; }
  .nav.is-open .nav__actions .lang-switch { order: 0; align-self: flex-start; }
}
@media (max-width: 359px) { .lang-switch a { min-width: 38px; padding: 0 9px; } }

/* Pages in a script other than Latin: the script's own face for the whole interface, without the Latin display tracking */
html[lang|="bn"] { --face: "Noto Sans Bengali"; }
html[lang|="hi"], html[lang|="mr"] { --face: "Noto Sans Devanagari"; }
html[lang|="ta"] { --face: "Noto Sans Tamil"; }
html[lang|="te"] { --face: "Noto Sans Telugu"; }
html[lang|="ur"] { --face: "Noto Naskh Arabic"; }
html:is([lang|="bn"], [lang|="hi"], [lang|="mr"], [lang|="ta"], [lang|="te"], [lang|="ur"]) { --font-display: var(--face), "Urbanist", system-ui, sans-serif; --font-text: var(--face), "Urbanist", system-ui, sans-serif; --display-tracking: 0; --display-tracking-xl: 0; }
html:is([lang|="bn"], [lang|="hi"], [lang|="mr"], [lang|="ta"], [lang|="te"], [lang|="ur"]) :is(h1, h2, h3) { line-height: 1.3; font-weight: 600; letter-spacing: 0; }
html:is([lang|="bn"], [lang|="hi"], [lang|="mr"], [lang|="ta"], [lang|="te"], [lang|="ur"]) body { line-height: 1.7; }
html[lang|="ur"] body { line-height: 1.9; }
[lang|="bn"] { font-family: "Noto Sans Bengali", var(--font-text); }
[lang|="ta"] { font-family: "Noto Sans Tamil", var(--font-text); }
[lang|="te"] { font-family: "Noto Sans Telugu", var(--font-text); }

/* the smallest phones: the install button waits inside the menu so the language switch and menu button fit */
@media (max-width: 359px) { .nav:not(.is-open) .nav__actions > .install-btn { display: none !important; } }

/* the language menu: for a country with more than three languages */
.lang-menu { position: relative; }
.lang-menu summary { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px 0 16px; border-radius: 99px; background: var(--pc-soft, #f2ece1); color: var(--ink); font: 600 14px/1 var(--font-text); cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 12px; height: 12px; transition: transform .15s ease; }
.lang-menu[open] summary svg { transform: rotate(180deg); }
.lang-menu ul { position: absolute; z-index: 70; top: calc(100% + 8px); inset-inline-end: 0; min-width: 180px; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--pc-card, #fff); box-shadow: 0 0 0 1px var(--pc-line, rgb(0 0 0 / .08)), 0 20px 40px -16px rgb(20 40 30 / .35); }
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 16px; }
.lang-menu a:hover { background: var(--pc-soft, #f2ece1); }
.lang-menu a[aria-current="true"] { background: color-mix(in oklab, var(--p-accent) 35%, var(--p-bg)); font-weight: 600; }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .lang-menu { display: block; }
  .nav.is-open .nav__actions .lang-menu { order: 0; }
  .nav.is-open .nav__actions .lang-menu ul { position: static; box-shadow: none; padding: 4px 0 0; }
}

/* long words in Indic scripts: let a heading break inside a word rather than run past the page edge */
html:is([lang|="ta"], [lang|="te"], [lang|="bn"], [lang|="hi"], [lang|="mr"], [lang|="ur"]) :is(h1, h2, h3, p, .t-lead) { overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .lang-menu summary { height: 44px; padding: 0 10px 0 12px; font-size: 13px; gap: 4px; }
  .lang-menu summary span { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav__logo { font-size: 17px; }
}

/* the header: install is a quiet icon beside the theme switch (its words show inside the open phone menu), so the one filled button stays the call to action */
.install-btn { width: 44px; padding: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong, rgb(0 0 0 / .18)); }
.install-btn:hover { background: var(--pc-soft, #f2ece1); }
.install-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav.is-open .nav__actions .install-btn:not([hidden]) { width: 100%; gap: 8px; }
.nav.is-open .nav__actions .install-btn span { position: static; width: auto; height: auto; clip-path: none; }
.nav__actions { gap: 10px; }
@media (min-width: 1024px) { .nav__actions { align-items: center; } .lang-menu summary, .lang-switch { margin-inline: 2px; } }

/* ---------------------------------------------------------------- the menus
   Faiths and countries open as a soft card under their word, not a full-width band: each choice is a tile with its own mark
   (the faith's script, the country's code), a name and one quiet line. On a phone the same tiles stack inside the open menu. */
.mm { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 14px 10px 10px !important; border-radius: 18px; text-decoration: none; color: var(--ink); transition: background .15s ease, transform .15s ease; }
.mm:hover, .mm:focus-visible { background: var(--pc-soft, #f2ece1); color: var(--ink) !important; }
.mm:active { transform: scale(.985); }
.mm-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in oklab, var(--p-accent) 38%, var(--p-bg)); color: var(--p-action); font-size: 19px; font-weight: 500; line-height: 1; overflow: hidden; white-space: nowrap; }
.mm-ico.mm-code { font: 600 14px/1 var(--font-text); letter-spacing: .04em; }
.mm-t { display: grid; gap: 2px; min-width: 0; }
.mm-t b { font-weight: 600; font-size: 16px; letter-spacing: -.005em; }
.mm-t span { color: var(--muted); font-size: 14px; font-weight: 400 !important; }
.mm[aria-current="true"] { background: color-mix(in oklab, var(--p-accent) 28%, var(--p-bg)); }
.mm[aria-current="true"] .mm-ico { background: var(--p-action); color: var(--p-action-ink, #fff); }

@media (min-width: 1024px) {
  .nav__item { position: static; }
  .nav__item > .nav__menu { left: 50%; right: auto; top: calc(100% - 6px); min-width: 400px; width: max-content; max-width: 560px; margin: 0; padding: 8px; border: 0; border-radius: 26px;
    background: var(--pc-card, #fff); box-shadow: 0 0 0 1px var(--pc-line, rgb(0 0 0 / .08)), 0 28px 56px -20px rgb(20 40 30 / .38);
    transform: translate(-50%, -8px) scale(.985); transform-origin: 50% 0; }
  .nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu { transform: translate(-50%, 0) scale(1); }
  .nav__item > .nav__menu .wrap { width: auto; margin: 0; padding: 0; display: block; }
  .nav__item > .nav__menu .menu-col { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px; }
  .nav__item > .nav__menu .menu-col a { padding: 10px 14px 10px 10px; }
}
@media (max-width: 1023px) {
  .nav.is-open .menu-col { gap: 2px; }
  .nav.is-open .mm { padding: 8px 6px !important; }
  .nav.is-open .mm-ico { width: 44px; height: 44px; font-size: 17px; }
}
.menu-col a.mm .mm-ico { color: var(--p-action); font-size: 19px; font-weight: 500; }
.menu-col a.mm .mm-ico.mm-code { font-size: 14px; font-weight: 600; }
.menu-col a.mm[aria-current="true"] .mm-ico { color: var(--p-action-ink, #fff); }
.menu-col a.mm .mm-t b { color: var(--ink); }
.menu-col a.mm .mm-t span { color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- the menus with a preview
   A short list on the left; hovering or focusing a choice shows its picture, a line about it and sample names on the right.
   Pure CSS (:has), so it works without script and nothing loads on hover. */
@media (min-width: 1024px) {
  .nav__item > .nav__menu.mm-menu { min-width: 0; width: 700px; max-width: calc(100vw - 48px); padding: 10px; }
  .mm-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 12px; }
  .nav__item > .nav__menu .mm-list { display: grid; gap: 2px; align-content: start; }
  .mm-preview { position: relative; min-height: 100%; padding: 12px; border-radius: 20px; background: var(--pc-soft, #f2ece1); }
  .mm-pane { position: absolute; inset: 10px; display: grid; grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 18px; align-content: start; visibility: hidden; opacity: 0; transition: opacity .2s ease; }
  .mm-pane[data-def] { visibility: visible; opacity: 1; }
  .mm-wrap:has(.mm:is(:hover, :focus-visible)) .mm-pane { visibility: hidden; opacity: 0; }
  .mm-wrap:has(.mm[data-i="0"]:is(:hover, :focus-visible)) .mm-pane[data-i="0"], .mm-wrap:has(.mm[data-i="1"]:is(:hover, :focus-visible)) .mm-pane[data-i="1"],
  .mm-wrap:has(.mm[data-i="2"]:is(:hover, :focus-visible)) .mm-pane[data-i="2"], .mm-wrap:has(.mm[data-i="3"]:is(:hover, :focus-visible)) .mm-pane[data-i="3"],
  .mm-wrap:has(.mm[data-i="4"]:is(:hover, :focus-visible)) .mm-pane[data-i="4"], .mm-wrap:has(.mm[data-i="5"]:is(:hover, :focus-visible)) .mm-pane[data-i="5"],
  .mm-wrap:has(.mm[data-i="6"]:is(:hover, :focus-visible)) .mm-pane[data-i="6"], .mm-wrap:has(.mm[data-i="7"]:is(:hover, :focus-visible)) .mm-pane[data-i="7"] { visibility: visible; opacity: 1; }
  .mm-img { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: color-mix(in oklab, var(--p-accent) 30%, var(--p-bg)); }
  .mm-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .mm-pane:hover .mm-img img { transform: scale(1.03); }
  .mm-pane h3 { margin: 14px 4px 4px; font: 600 19px/1.2 var(--font-display); letter-spacing: -.01em; }
  .mm-pane p { margin: 0 4px; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .mm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 4px 4px; padding: 0; list-style: none; }
  .mm-chips li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--pc-card, #fff); font-size: 13.5px; font-weight: 500; box-shadow: 0 0 0 1px var(--pc-line); max-width: 100%; }
  .mm-chips li span { font-size: 15px; color: var(--p-action); font-weight: 500; }
  @keyframes mm-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1023px) { .mm-preview { display: none; } .mm-wrap { display: block; } }
@media (prefers-reduced-motion: reduce) { .mm-pane { animation: none; } }
@media (min-width: 1024px) { .mm-preview { display: grid; align-content: center; } }


/* ---------------------------------------------------------------- menu size: 350px tall and wide, the picture beside the words */
@media (min-width: 1024px) {
  .nav__item > .nav__menu.mm-menu { width: 900px; max-width: calc(100vw - 32px); padding: 10px; }
  .mm-wrap { grid-template-columns: 290px minmax(0, 1fr); height: 350px; gap: 12px; }
  .mm-wrap--ctry { grid-template-columns: 450px minmax(0, 1fr); }
  .nav__item > .nav__menu .mm-wrap--ctry .mm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 4px; }
  .mm-wrap--ctry .mm { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 8px 10px 8px 8px !important; }
  .mm-wrap--ctry .mm-ico { width: 40px; height: 40px; font-size: 13px; }
  .mm-wrap--ctry .mm-t b { font-size: 14px; line-height: 1.25; }
  .mm-preview { position: relative; display: block; padding: 0; height: 100%; min-height: 0; overflow: hidden; }
  .mm-img { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: auto; height: 100%; border-radius: 20px 0 0 20px; }
  .mm-pane h3 { grid-column: 2; margin: 22px 18px 6px 0; font-size: 22px; }
  .mm-pane p { grid-column: 2; margin: 0 18px 0 0; -webkit-line-clamp: 4; font-size: 14.5px; }
  .mm-chips { grid-column: 2; margin: 16px 18px 0 0; align-self: start; }
  .mm-wrap--ctry .mm-pane { grid-template-columns: 170px minmax(0, 1fr); }
  .mm-wrap--ctry .mm-pane h3 { font-size: 20px; }
}
@media (min-width: 1024px) {
  .nav__item > .nav__menu .mm-list { height: 100%; grid-auto-rows: 1fr; }
  .nav__item > .nav__menu .mm-wrap:not(.mm-wrap--ctry) .mm { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 6px 12px 6px 8px !important; }
  .mm-wrap:not(.mm-wrap--ctry) .mm-ico { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
  .mm-wrap:not(.mm-wrap--ctry) .mm-t b { font-size: 15.5px; }
  .mm-wrap:not(.mm-wrap--ctry) .mm-t span { font-size: 13px; }
  .mm-preview { align-self: stretch; }
  .mm-pane { inset: 0; }
}
@media (min-width: 1024px) {
  .mm-wrap { grid-template-columns: 236px minmax(0, 1fr); }
  .mm-wrap--ctry { grid-template-columns: 430px minmax(0, 1fr); }
  .mm-pane { grid-template-columns: 300px minmax(0, 1fr); }
  .mm-wrap--ctry .mm-pane { grid-template-columns: 210px minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- the footer
   A call to action, then a brand block and three short columns, the names A to Z folded away, and one quiet legal line. */
.footer .closing__links { display: grid; gap: 40px; padding-top: 8px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 36px 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.ft-brand { display: grid; gap: 14px; align-content: start; }
.ft-brand .footer__lede { margin: 0; font-size: 20px; line-height: 1.3; max-width: 24ch; color: var(--ink); }
.ft-mail { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; padding: 0 16px 0 14px; border-radius: 99px; background: var(--pc-soft, #f2ece1); color: var(--ink); font-size: 15px; text-decoration: none; transition: background .15s ease; }
.ft-mail:hover { background: color-mix(in oklab, var(--p-accent) 34%, var(--p-bg)); }
.ft-mail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft-col h3 { margin: 0 0 14px; font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ft-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font-size: 16px; position: relative; }
.ft-col a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: currentColor; transition: right .2s ease; }
.ft-col a:hover::after { right: 0; }
.ft-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px !important; }
.ft-chips a { justify-content: center; width: 100%; min-height: 44px; border-radius: 14px; background: var(--pc-soft, #f2ece1); font-size: 14px; transition: background .15s ease, color .15s ease; }
.ft-chips a::after { display: none; }
.ft-chips a:hover { background: color-mix(in oklab, var(--p-accent) 40%, var(--p-bg)); }
.ft-chips a[aria-current="true"] { background: var(--p-action); color: var(--p-action-ink, #fff); }
.ft-az { border-top: 1px solid var(--line); padding-top: 8px; }
.ft-az summary { display: flex; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; list-style: none; font: 600 16px/1 var(--font-text); }
.ft-az summary::-webkit-details-marker { display: none; }
.ft-az__n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 99px; background: var(--pc-soft, #f2ece1); color: var(--muted); font-size: 13px; font-weight: 500; }
.ft-az summary svg { width: 14px; height: 14px; margin-inline-start: auto; transition: transform .2s ease; }
.ft-az[open] summary svg { transform: rotate(180deg); }
.ft-az ul { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ft-az li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; color: var(--ink); text-decoration: none; font-size: 15px; transition: background .15s ease; }
.ft-az li a:hover { background: var(--pc-soft, #f2ece1); }
.ft-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.ft-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.ft-top svg { width: 12px; height: 12px; transition: transform .2s ease; }
.ft-top:hover svg { transform: translateY(-2px); }
@media (max-width: 1023px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-col--ctry { grid-column: 1 / -1; }
  .ft-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 479px) { .ft-grid { padding-top: 28px; } .ft-brand .footer__lede { font-size: 18px; } }
.footer.closing:has(.ft-az) { height: auto; min-height: 0; }
