/* Server-rendered country sections: coverage and networks, from the UK,
   local places and popular plans (src/services/countryPageSections.js).
   Uses the country-experience tokens from city-experience.css. */
.cs-section { scroll-margin-top: 140px; }
.cs-section h2 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 12px; color: var(--ce-ink, #111b31); }
.cs-head { max-width: 720px; margin-bottom: 22px; }
.cs-head p:not(.ce-eyebrow) { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ce-muted, #59667a); }
.cs-icon { flex: 0 0 auto; width: 20px; height: 20px; }
.cs-note { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: #4a5670; }
.cs-note a, .cs-source a { color: var(--ce-brand, #4338ca); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

/* Coverage Details and Supported Networks panels */
.cs-coverage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cs-coverage-list li { display: flex; gap: 14px; align-items: flex-start; }
.cs-coverage-list .cs-icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #eef0ff; color: #4338ca; }
.cs-coverage-list h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #111b31; }
.cs-coverage-list p { margin: 0; font-size: 15px; line-height: 1.65; color: #475569; }
.cs-network-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-network-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border: 1px solid #e1e7f0; border-radius: 14px; background: #f8fafc; }
.cs-network-list strong { font-size: 16px; color: #111b31; overflow-wrap: anywhere; }
.cs-network-list small { grid-column: 1 / -1; font-size: 13px; color: #475569; }
.cs-badges { display: flex; gap: 6px; }
.cs-badge { padding: 3px 9px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; font-size: 12px; font-weight: 750; color: #334155; }
.cs-badge.is-5g { border-color: #4338ca; background: #4338ca; color: #fff; }

/* From the UK */
.cs-costs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.cs-costs li { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--ce-line, #e1e7f0); border-radius: 16px; background: #fff; min-width: 0; }
.cs-costs li.is-ours { border-color: #a5a0e4; background: var(--ce-soft, #f3f3ff); }
.cs-cost-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cs-cost-name { font-size: 14px; font-weight: 750; color: #283752; }
.cs-cost-top strong { font-size: 24px; letter-spacing: -0.03em; font-weight: 800; color: #111b31; white-space: nowrap; }
.cs-cost-top strong.is-note { font-size: 15px; letter-spacing: 0; font-weight: 750; color: #475569; }
.cs-bar { display: block; height: 8px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.cs-bar i { display: block; height: 100%; border-radius: inherit; background: #94a3b8; }
.is-ours .cs-bar i { background: #4338ca; }
.cs-costs p { margin: 0; font-size: 13px; line-height: 1.6; color: #475569; }
.cs-costs p a { color: var(--ce-brand, #4338ca); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.cs-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cs-links a, .cs-next a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid #cbd3e1; border-radius: 12px; background: #fff; color: var(--ce-ink, #111b31); font-size: 14px; font-weight: 700; text-decoration: none; }
.cs-links a:hover, .cs-next a:hover, .cs-picks a:hover { border-color: #4338ca; background: #fafaff; }
.cs-links a:focus-visible, .cs-next a:focus-visible, .cs-picks a:focus-visible, .cs-costs a:focus-visible, .cs-note a:focus-visible { outline: 3px solid #4338ca; outline-offset: 2px; }
.cs-links .cs-icon, .cs-next .cs-icon, .cs-pick-cta .cs-icon { width: 16px; height: 16px; color: #4338ca; }

/* Local places */
.cs-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.cs-place { padding: 22px; border: 1px solid var(--ce-line, #e1e7f0); border-radius: 18px; background: #fff; }
.cs-place h3 { margin: 0 0 12px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #111b31; }
.cs-place ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cs-place li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: #283752; }
.cs-place li .cs-icon { color: #4338ca; margin-top: 1px; }
.cs-place p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: #475569; }
.cs-source { font-size: 12px !important; margin: 0 !important; }

/* Popular plans and next steps */
.cs-picks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.cs-picks a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--ce-line, #e1e7f0); border-radius: 16px; background: #fff; color: var(--ce-ink, #111b31); text-decoration: none; min-height: 44px; }
.cs-pick-data { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.cs-pick-days { font-size: 13px; color: #475569; }
.cs-picks strong { margin-top: 8px; font-size: 18px; }
.cs-pick-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 750; color: var(--ce-brand, #4338ca); }
.cs-next { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-next a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; width: 100%; padding: 14px 18px; }
.cs-next strong { font-size: 15px; overflow-wrap: anywhere; }
.cs-next span { grid-column: 1; font-size: 13px; font-weight: 500; color: #475569; }
.cs-next .cs-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

@media (max-width: 700px) {
  .cs-section.ce-country-section { padding: 0 16px; margin: 28px auto; }
  .cs-costs li, .cs-place, .cs-picks a { padding: 16px; }
  .cs-cost-top strong { font-size: 22px; }
  .cs-links a { width: 100%; justify-content: space-between; }
}

/* Breadcrumb in the country hero (matches the BreadcrumbList schema) */
.cs-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0 0 10px; padding: 0; list-style: none; font-size: 13px; color: #4a5670; }
.cs-crumbs li + li::before { content: "/"; margin-right: 8px; color: #94a3b8; }
.cs-crumbs a { display: inline-block; padding: 4px 0; color: var(--ce-brand, #4338ca); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cs-crumbs a:focus-visible { outline: 3px solid #4338ca; outline-offset: 2px; border-radius: 3px; }
.cs-crumbs [aria-current] { color: #283752; font-weight: 600; }

/* Coverage panel with no named operators: one full-width column */
.cs-coverage-single .cs-coverage-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px 40px; }
.cs-coverage-single #network-coverage-details > .cs-note { margin: 22px 0 0; }

/* Older client-filled sections (Why choose, Network coverage, Popular
   destinations, FAQ) share the left-aligned heads, width and quieter cards of
   the server-rendered sections above them. */
.country-experience #main-content > section.py-12 > .max-w-7xl,
.country-experience #main-content > section.py-10 > .max-w-6xl { max-width: 1200px; padding-inline: 24px; }
.country-experience #main-content > section.py-12 > div > .text-center:first-child { max-width: 720px; margin-bottom: 22px; text-align: left; }
.country-experience #main-content > section.py-12 > div > .text-center:first-child h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.5vw, 2.125rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; color: var(--ce-ink, #111b31); }
.country-experience #main-content > section.py-12 > div > .text-center:first-child p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ce-muted, #59667a); }
.country-experience #why-choose-intro { text-align: left; font-size: 15px; }
.country-experience #why-choose-intro + * , .country-experience .prose.max-w-4xl.mx-auto { margin-left: 0; }
.country-experience #why-choose-heading ~ * .rounded-2xl,
.country-experience #main-content > section.py-12 .grid > .rounded-2xl[class*="bg-gradient"] { background: #fff; border: 1px solid var(--ce-line, #e1e7f0); box-shadow: none; transform: none; }
.country-experience #main-content > section.py-12 .grid > .rounded-2xl[class*="bg-gradient"] > div:first-child { width: 44px; height: 44px; border-radius: 12px; background: #eef0ff; }
.country-experience #main-content > section.py-12 .grid > .rounded-2xl[class*="bg-gradient"] > div:first-child svg { width: 22px; height: 22px; color: #4338ca; }
.country-experience #main-content > section.py-12 .grid > .rounded-2xl[class*="bg-gradient"] h3 { font-size: 17px; }
.country-experience #main-content > section.py-12 .bg-white.rounded-2xl.shadow-xl { border: 1px solid var(--ce-line, #e1e7f0); box-shadow: none; padding: 28px; }
.country-experience #main-content > section.py-12 .bg-white.rounded-2xl.shadow-xl h3 { font-size: 20px; }
.country-experience #main-content > section.py-12 .text-center.mt-8 { text-align: left; }

.country-experience .country-insights > .max-w-4xl { max-width: 1200px; padding-inline: 24px; }
.country-experience .country-insights > .max-w-4xl > * { max-width: 860px; }
@media (max-width: 640px) { .country-experience .country-insights > .max-w-4xl { padding-inline: 20px; } }

/* FAQ: denser rows, visible keyboard focus (the toggle is a button) */
.country-experience #country-faq { max-width: 860px; margin-left: 0; }
.country-experience #country-faq > .faq-item + .faq-item { margin-top: 8px; }
.country-experience #country-faq .faq-item { padding: 0; border-width: 1px; border-radius: 14px; }
.country-experience #country-faq .faq-question { padding: 0; font-size: 16px; }
.faq-question .faq-toggle { flex: 1; min-height: 56px; padding: 14px 0 14px 20px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.faq-question .faq-toggle:focus-visible { outline: 3px solid #4338ca; outline-offset: -3px; border-radius: 14px; }
.country-experience #country-faq .faq-question::after { padding-right: 20px; }
.country-experience #country-faq .faq-item.active .faq-answer { padding: 0 20px 18px; }

/* Plan comparison tables: on phones each row becomes a compact card, so the
   "Plan details" link no longer breaks one word per line. */
@media (max-width: 640px) {
  .country-experience .country-comparison-scroll { overflow: visible; }
  .country-experience .country-comparison-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .country-experience .country-comparison-scroll table, .country-experience .country-comparison-scroll tbody, .country-experience .country-comparison-scroll caption { display: block; }
  .country-experience .country-comparison-scroll tr { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
  .country-experience .country-comparison-scroll th, .country-experience .country-comparison-scroll td { display: block; padding: 0; border: 0; }
  .country-experience .country-comparison-scroll td:nth-child(2) { color: #475569; }
  .country-experience .country-comparison-scroll td:nth-child(3) { text-align: right; font-weight: 700; }
  .country-experience .country-comparison-scroll td:last-child { grid-column: 1 / -1; }
  .country-experience .country-comparison-scroll td:last-child a { display: inline-block; padding: 6px 0; }
  .country-experience #main-content > section.py-12 > .max-w-7xl,
  .country-experience #main-content > section.py-10 > .max-w-6xl { padding-inline: 20px; }
  .country-experience #main-content > section.py-12 .bg-white.rounded-2xl.shadow-xl { padding: 20px; }
}
/* Longer zone notes ("Europe Zone: check your plan") wrap instead of overflowing. */
.cs-cost-top { flex-wrap: wrap; }
.cs-cost-top strong.is-note { min-width: 0; white-space: normal; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }

/* Guides for travellers from each home country (links to /uk, /us, /de, /jp, /kr, /cn guides) */
.cs-markets { margin: 32px 0; }
.cs-markets p { margin: 0 0 12px; color: #475569; }
.cs-markets ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cs-markets a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #c7d2fe; border-radius: 999px; background: #fff; color: #4338ca; font-weight: 700; text-decoration: none; }
.cs-markets a:hover, .cs-markets a:focus-visible { background: #eef2ff; }
.cs-markets-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px 24px; }
