/* ==========================================================================
   Regional homepages (/my/ /pk/ /bd/): extra blocks on top of funnel.css.
   Load after funnel.css. Only adds fr-* classes; never restyles funnel ones,
   except the smaller H1 these pages opt into with .fr-h1.
   ========================================================================== */

/* longer local headline than the English one: one size step down */
.h1.fr-h1 { font-size: clamp(38px, 6.6vw, 78px); }

/* breadcrumb at the top of the hero */
.fr-bc ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fr-bc li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.fr-bc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-3); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* the plain answer that AI assistants quote, under the "what is" heading */
.fr-answer { max-width: 760px !important; padding: 18px 22px; text-align: left; background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--sh); }
.fr-answer b { font-weight: 600; }
.fr-answer-label { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-text); }

/* compact section for the local blocks */
.sec.fr-sec { padding-block: clamp(64px, 8vw, 112px); }
.fr-head { display: grid; gap: 16px; max-width: 880px; margin-bottom: clamp(26px, 3.4vw, 40px); }
.fr-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.fr-head .lead { max-width: 720px; }
.h2.fr-h2 { font-size: clamp(30px, 3.9vw, 50px); line-height: 1.02; letter-spacing: -0.045em; }
.fr-h3 { margin-top: 28px; font-size: clamp(20px, 2vw, 24px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; }

/* long-form copy */
.fr-prose { max-width: 780px; display: grid; gap: 16px; font-size: 17px; line-height: 1.6; color: var(--body); }
.fr-prose.wide { max-width: 1040px; }
.fr-prose b, .fr-prose strong { color: var(--ink); font-weight: 650; }
.fr-prose ul, .fr-prose ol { display: grid; gap: 10px; padding-left: 0; list-style: none; }
.fr-prose ul > li { position: relative; padding-left: 26px; }
.fr-prose ul > li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; background: var(--lime); border: 2px solid var(--ink); border-radius: 3px; }
.fr-prose ol { counter-reset: fr; }
.fr-prose ol > li { position: relative; padding-left: 38px; counter-increment: fr; }
.fr-prose ol > li::before { content: counter(fr); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700; background: var(--lime); border: 2px solid var(--ink); border-radius: 8px; color: #0A0A0F; }
.fr-prose a, .fr-note a, .fr-src a, .fr-tpl-note a { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--lime-3); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.fr-prose a:hover { text-decoration-color: var(--ink); }
.dark .fr-prose { color: var(--p-muted); }
.dark .fr-prose b, .dark .fr-prose strong, .dark .fr-prose a, .dark .fr-note a, .dark .fr-src a { color: var(--p-text); }
.dark .fr-prose ul > li::before { border-color: var(--lime); }

/* text + picture side by side */
.fr-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.fr-split > * { min-width: 0; }
.fr-fig { margin: 0; display: grid; gap: 10px; }
.fr-fig img { width: 100%; height: auto; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--sh-lg); }
.fr-fig figcaption { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) { .fr-split { grid-template-columns: minmax(0, 1fr); } }

/* comparison and limits tables */
.fr-table-wrap { max-width: 1120px; margin-inline: auto; }
.fr-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.4; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.fr-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fr-table th, .fr-table td { padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1.5px solid var(--line); }
.fr-table tr:last-child > * { border-bottom: 0; }
.fr-table thead th { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--elevated); border-bottom: 2px solid var(--ink); }
.fr-table tbody th { font-weight: 700; width: 17%; }
.fr-table .us { background: #F1FFE9; }
.fr-table thead .us { color: #0A0A0F; background: var(--lime); }
.fr-table small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.fr-table .num { font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }
.fr-mk { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; font-size: 12px; font-weight: 800; border: 1.5px solid var(--ink); border-radius: 6px; vertical-align: -3px; }
.fr-mk.good { background: var(--lime); color: #0A0A0F; }
.fr-mk.mid { background: #FEF3C7; color: #0A0A0F; }
.fr-mk.bad { background: #FEE2E2; color: #B91C1C; }
.dark .fr-table { box-shadow: 5px 5px 0 var(--lime-3); }
@media (max-width: 760px) {
  .fr-table, .fr-table tbody, .fr-table tr, .fr-table th, .fr-table td { display: block; width: 100%; }
  .fr-table thead { display: none; }
  .fr-table tr { border-bottom: 2px solid var(--ink); }
  .fr-table tr:last-child { border-bottom: 0; }
  .fr-table tbody th { width: 100%; background: var(--elevated); border-bottom: 1.5px solid var(--line); }
  .fr-table td { border-bottom: 1px dashed var(--line); }
  .fr-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .fr-table tr > *:last-child { border-bottom: 0; }
}

/* the dated line and sources under a table */
.fr-meta { max-width: 1120px; margin: 16px auto 0; display: grid; gap: 6px; }
.fr-stamp { justify-self: start; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; background: var(--lime); color: #0A0A0F; border: 1.5px solid var(--ink); border-radius: 8px; }
.fr-src, .fr-note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.fr-note { max-width: 780px; margin-top: 18px; }
.dark .fr-src, .dark .fr-note { color: var(--p-muted); }

/* message templates */
.fr-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(24px, 3vw, 36px); }
.fr-tpl { display: grid; gap: 12px; align-content: start; padding: 20px; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); }
.fr-tpl-tag { justify-self: start; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; background: var(--elevated); border: 1.5px solid var(--ink); border-radius: 7px; }
.fr-tpl h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; }
.fr-tpl-msg { font-size: 15px; line-height: 1.6; padding: 12px 14px; background: #E7FFDB; border: 1.5px solid var(--ink); border-radius: 12px 12px 4px 12px; overflow-wrap: anywhere; }
.fr-var, .fr-spin { padding: 0 4px; font-family: var(--mono); font-size: .9em; border-radius: 5px; }
.fr-var { color: var(--lime-text); background: #fff; border: 1px solid #9BE58A; }
.fr-spin { color: #6D28D9; background: #F3EEFF; border: 1px solid #C4B5FD; }
.fr-tpl-note { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) { .fr-tpls { grid-template-columns: minmax(0, 1fr); } }

/* link cards (guides, countries) reuse .ct-card; three across when there are three */
.fr-cards { margin-top: 0; }
.fr-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; }
@media (max-width: 1000px) { .fr-cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fr-cards.three { grid-template-columns: minmax(0, 1fr); } }

/* legal cards: the same .trig cards with room for longer, sourced text */
.fr-legal .trig p a { color: var(--p-text); text-decoration: underline; text-decoration-color: var(--lime-3); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.fr-legal .trig .n { color: var(--lime); }

/* the local headline is longer than the English one: the "Account suspended" card sits above it at every width */
.fr-h1-wrap .susp { --r: -3deg; position: relative; right: auto; top: auto; margin: 0 auto 34px; }
.fr-prose .fr-h3 { color: var(--ink); }
.dark .fr-prose .fr-h3 { color: var(--p-text); }
