/*
Theme Name: Jishantang Overseas
Theme URI: https://www.jishantang.org/
Author: Jishantang
Author URI: https://www.jishantang.org/
Description: A clean, lightweight, multilingual-ready WordPress theme for Jishantang TCM (overseas edition). Sections: Home, About the Hospital, ISA Therapy, Case Studies, Contact. Fully editable from the admin panel. Works with Polylang / WPML for Chinese, English, Malay and Thai.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jishantang-overseas
Domain Path: /languages
Tags: medical, responsive-layout, translation-ready, custom-menu, custom-logo, featured-images, one-column, two-columns
Requires PHP: 7.4
Requires at least: 5.8
*/

/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
  --jst-primary: #0f5c4a;
  --jst-primary-dark: #0a4034;
  --jst-primary-light: #17856c;
  --jst-accent: #c8a45c;
  --jst-accent-dark: #a9873f;
  --jst-ink: #17211d;
  --jst-body: #46544e;
  --jst-muted: #7c8a84;
  --jst-line: #e3e9e6;
  --jst-soft: #f5f8f7;
  --jst-white: #ffffff;
  --jst-radius: 14px;
  --jst-radius-sm: 8px;
  --jst-shadow: 0 10px 30px rgba(15, 92, 74, .08);
  --jst-shadow-lg: 0 20px 50px rgba(15, 92, 74, .14);
  --jst-maxw: 1180px;
  --jst-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans",
    "Noto Sans Thai", "Noto Sans Malayalam", Roboto, sans-serif;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jst-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--jst-body);
  background: var(--jst-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--jst-ink);
  line-height: 1.3;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
a { color: var(--jst-primary); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--jst-primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em 1.3em; padding: 0; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--jst-line); margin: 2.5em 0; }
:focus-visible { outline: 2px solid var(--jst-accent); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.jst-container { width: 100%; max-width: var(--jst-maxw); margin: 0 auto; padding: 0 24px; }
.jst-container--narrow { max-width: 800px; }
.jst-section { padding: 78px 0; }
.jst-section--soft { background: var(--jst-soft); }
.jst-section--tight { padding: 52px 0; }
.jst-grid { display: grid; gap: 28px; }
.jst-grid--2 { grid-template-columns: repeat(2, 1fr); }
.jst-grid--3 { grid-template-columns: repeat(3, 1fr); }
.jst-grid--4 { grid-template-columns: repeat(4, 1fr); }

.jst-eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--jst-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.jst-section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.jst-section-head p { color: var(--jst-muted); margin-bottom: 0; }
.jst-section-head--left { margin-left: 0; text-align: left; }

.jst-lede { font-size: 1.06rem; color: var(--jst-body); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.jst-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: .95rem; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  text-align: center;
}
.jst-btn--primary { background: var(--jst-primary); color: #fff; box-shadow: 0 8px 20px rgba(15,92,74,.22); }
.jst-btn--primary:hover { background: var(--jst-primary-dark); color: #fff; transform: translateY(-2px); }
.jst-btn--ghost { background: transparent; color: var(--jst-primary); border-color: var(--jst-primary); }
.jst-btn--ghost:hover { background: var(--jst-primary); color: #fff; }
.jst-btn--light { background: #fff; color: var(--jst-primary); }
.jst-btn--light:hover { background: var(--jst-soft); color: var(--jst-primary-dark); }
.jst-btn--block { width: 100%; }

.jst-link-arrow { font-weight: 600; font-size: .93rem; display: inline-flex; align-items: center; gap: 6px; }
.jst-link-arrow::after { content: "\2192"; transition: transform .2s; }
.jst-link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   5. Header
   ========================================================================== */
.jst-topbar {
  background: var(--jst-primary-dark);
  color: rgba(255,255,255,.86);
  font-size: .82rem;
}
.jst-topbar .jst-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.jst-topbar a { color: rgba(255,255,255,.9); }
.jst-topbar a:hover { color: #fff; }
.jst-topbar-meta { display: flex; gap: 18px; flex-wrap: wrap; }

.jst-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--jst-line);
}
.jst-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.jst-brand { display: flex; align-items: center; gap: 12px; }
.jst-brand img { max-height: 46px; width: auto; }
.jst-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.jst-brand__name { font-size: 1.22rem; font-weight: 800; color: var(--jst-primary); letter-spacing: .01em; }
.jst-brand__tag { font-size: .74rem; color: var(--jst-muted); letter-spacing: .08em; text-transform: uppercase; }

.jst-nav { display: flex; align-items: center; gap: 26px; }
.jst-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.jst-nav li { margin: 0; position: relative; }
.jst-nav a {
  color: var(--jst-ink); font-weight: 600; font-size: .95rem; padding: 6px 0;
  display: inline-block; position: relative;
}
.jst-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--jst-accent); transition: width .22s;
}
.jst-nav a:hover::after, .jst-nav .current-menu-item > a::after,
.jst-nav .current_page_item > a::after { width: 100%; }
.jst-nav li.current-menu-item > a { color: var(--jst-primary); }

.jst-header__actions { display: flex; align-items: center; gap: 14px; }

/* language switcher */
.jst-lang { position: relative; }
.jst-lang__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--jst-soft); border: 1px solid var(--jst-line);
  border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600;
  color: var(--jst-ink); cursor: pointer;
}
.jst-lang__toggle:hover { border-color: var(--jst-primary); color: var(--jst-primary); }
.jst-lang__list {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--jst-line); border-radius: var(--jst-radius-sm);
  box-shadow: var(--jst-shadow); list-style: none; margin: 0; padding: 6px;
  min-width: 158px; display: none; z-index: 120;
}
.jst-lang.is-open .jst-lang__list { display: block; }
.jst-lang__list li { margin: 0; }
.jst-lang__list a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: .88rem; color: var(--jst-ink); font-weight: 500; }
.jst-lang__list a:hover { background: var(--jst-soft); color: var(--jst-primary); }
.jst-lang__list .is-current { color: var(--jst-primary); font-weight: 700; }
.jst-lang__flag { font-size: 1.05rem; }

/* mobile nav */
.jst-nav-toggle {
  display: none; background: none; border: 1px solid var(--jst-line);
  border-radius: var(--jst-radius-sm); width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.jst-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--jst-ink); transition: transform .2s, opacity .2s; }
.jst-nav.is-open { display: block; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.jst-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a4034 0%, #0f5c4a 45%, #17856c 100%);
  color: #fff; padding: 96px 0 92px;
}
.jst-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(200,164,92,.28), transparent 42%),
    radial-gradient(circle at 12% 78%, rgba(255,255,255,.10), transparent 38%);
  pointer-events: none;
}
.jst-hero .jst-container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.jst-hero h1 { color: #fff; margin-bottom: 18px; }
.jst-hero p { color: rgba(255,255,255,.88); font-size: 1.06rem; max-width: 560px; }
.jst-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.jst-hero__stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.jst-hero__stats div span { display: block; }
.jst-hero__stat-num { font-size: 1.8rem; font-weight: 800; color: var(--jst-accent); line-height: 1.1; }
.jst-hero__stat-label { font-size: .82rem; color: rgba(255,255,255,.72); }

.jst-hero__art {
  position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--jst-shadow-lg);
}
.jst-hero__art img { width: 100%; height: 100%; object-fit: cover; }

/* decorative meridian glyph */
.jst-glyph { width: 74%; max-width: 320px; opacity: .95; }

/* ==========================================================================
   7. Cards
   ========================================================================== */
.jst-card {
  background: #fff; border: 1px solid var(--jst-line); border-radius: var(--jst-radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  height: 100%; display: flex; flex-direction: column;
}
.jst-card:hover { transform: translateY(-4px); box-shadow: var(--jst-shadow); border-color: #cfe0da; }
.jst-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(15,92,74,.09); color: var(--jst-primary); font-size: 1.4rem; font-weight: 800; margin-bottom: 18px;
}
.jst-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.jst-card p { color: var(--jst-muted); font-size: .95rem; margin-bottom: 0; }
.jst-card__num {
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--jst-accent);
  text-transform: uppercase; margin-bottom: 10px;
}

/* steps (ISA) */
.jst-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.jst-step { position: relative; background: #fff; border-radius: var(--jst-radius); padding: 34px 28px 32px; border: 1px solid var(--jst-line); }
.jst-step__badge {
  width: 46px; height: 46px; border-radius: 50%; background: var(--jst-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; margin-bottom: 18px;
}
.jst-step h3 { margin-bottom: 8px; }
.jst-step h3 small { display: block; font-size: .8rem; font-weight: 600; color: var(--jst-accent); letter-spacing: .06em; margin-top: 4px; }
.jst-step p { color: var(--jst-muted); font-size: .95rem; margin-bottom: 0; }
.jst-step::after {
  content: ""; position: absolute; right: -22px; top: 50%; width: 16px; height: 2px;
  background: linear-gradient(90deg, var(--jst-accent), transparent);
}

/* ==========================================================================
   8. Case studies
   ========================================================================== */
.jst-case {
  background: #fff; border: 1px solid var(--jst-line); border-radius: var(--jst-radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.jst-case:hover { transform: translateY(-4px); box-shadow: var(--jst-shadow); }
.jst-case__thumb { aspect-ratio: 16/10; background: var(--jst-soft); overflow: hidden; }
.jst-case__thumb img { width: 100%; height: 100%; object-fit: cover; }
.jst-case__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.jst-case__meta { font-size: .78rem; color: var(--jst-muted); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.jst-case__tag {
  background: rgba(15,92,74,.08); color: var(--jst-primary); border-radius: 999px;
  padding: 3px 11px; font-size: .74rem; font-weight: 600;
}
.jst-case__title { font-size: 1.06rem; font-weight: 700; color: var(--jst-ink); margin-bottom: 10px; line-height: 1.45; }
.jst-case__title a { color: inherit; }
.jst-case__title a:hover { color: var(--jst-primary); }
.jst-case__excerpt { font-size: .92rem; color: var(--jst-muted); margin-bottom: 16px; }
.jst-case__foot { margin-top: auto; }

/* ==========================================================================
   9. Page header (inner pages)
   ========================================================================== */
.jst-pagehead {
  background: linear-gradient(120deg, var(--jst-primary-dark), var(--jst-primary-light));
  color: #fff; padding: 62px 0 58px; text-align: center;
}
.jst-pagehead h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.jst-pagehead p { color: rgba(255,255,255,.82); margin: 0 auto; max-width: 620px; }

.jst-breadcrumb { font-size: .82rem; color: var(--jst-muted); margin-bottom: 14px; }
.jst-breadcrumb a { color: var(--jst-muted); }
.jst-breadcrumb a:hover { color: var(--jst-primary); }
.jst-pagehead .jst-breadcrumb, .jst-pagehead .jst-breadcrumb a { color: rgba(255,255,255,.75); }

.jst-content { padding: 66px 0; }
.jst-content h2 { margin-top: 1.5em; }
.jst-content h2:first-child { margin-top: 0; }
.jst-content ul { padding-left: 1.2em; }
.jst-content li { margin-bottom: .5em; }
.jst-content blockquote {
  border-left: 3px solid var(--jst-accent); margin: 1.6em 0; padding: 4px 0 4px 20px;
  color: var(--jst-muted); font-style: italic;
}

/* ==========================================================================
   10. About page blocks
   ========================================================================== */
.jst-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.jst-split__media { border-radius: var(--jst-radius); overflow: hidden; background: var(--jst-soft); min-height: 300px; }
.jst-split__media img { width: 100%; height: 100%; object-fit: cover; }
.jst-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.jst-fact { background: var(--jst-soft); border-radius: var(--jst-radius-sm); padding: 18px 20px; }
.jst-fact strong { display: block; font-size: 1.35rem; color: var(--jst-primary); line-height: 1.2; }
.jst-fact span { font-size: .85rem; color: var(--jst-muted); }

.jst-logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* timeline / milestones */
.jst-timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--jst-line); }
.jst-timeline li { position: relative; padding: 0 0 26px 26px; margin: 0; }
.jst-timeline li::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--jst-accent); border: 2px solid #fff;
}
.jst-timeline strong { display: block; color: var(--jst-primary); font-size: .95rem; }

/* ==========================================================================
   11. Contact page
   ========================================================================== */
.jst-contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.jst-info-card {
  background: var(--jst-soft); border-radius: var(--jst-radius); padding: 28px; margin-bottom: 18px;
}
.jst-info-card h3 { font-size: 1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 9px; }
.jst-info-card p { margin: 0; font-size: .93rem; color: var(--jst-muted); }
.jst-info-card a { font-weight: 600; }

.jst-form { background: #fff; border: 1px solid var(--jst-line); border-radius: var(--jst-radius); padding: 34px; box-shadow: var(--jst-shadow); }
.jst-form label { display: block; font-size: .86rem; font-weight: 600; color: var(--jst-ink); margin-bottom: 6px; }
.jst-form input[type="text"], .jst-form input[type="email"], .jst-form input[type="tel"],
.jst-form select, .jst-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--jst-line); border-radius: var(--jst-radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--jst-ink); margin-bottom: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.jst-form input:focus, .jst-form textarea:focus, .jst-form select:focus {
  outline: none; border-color: var(--jst-primary); box-shadow: 0 0 0 3px rgba(15,92,74,.10);
}
.jst-form textarea { min-height: 130px; resize: vertical; }
.jst-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jst-form__note { font-size: .8rem; color: var(--jst-muted); margin: 14px 0 0; }
.jst-form__msg { padding: 12px 16px; border-radius: var(--jst-radius-sm); margin-bottom: 18px; font-size: .9rem; }
.jst-form__msg--ok { background: rgba(15,92,74,.09); color: var(--jst-primary); }
.jst-form__msg--err { background: #fdecea; color: #a33; }

.jst-map { border-radius: var(--jst-radius); overflow: hidden; border: 1px solid var(--jst-line); background: var(--jst-soft); }
.jst-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ==========================================================================
   12. CTA band
   ========================================================================== */
.jst-cta {
  background: linear-gradient(120deg, var(--jst-primary) 0%, var(--jst-primary-light) 100%);
  color: #fff; border-radius: 22px; padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.jst-cta h2 { color: #fff; margin-bottom: 6px; }
.jst-cta p { color: rgba(255,255,255,.82); margin: 0; max-width: 520px; }

/* ==========================================================================
   13. Disclaimer
   ========================================================================== */
.jst-disclaimer {
  background: var(--jst-soft); border-left: 3px solid var(--jst-accent);
  border-radius: 0 var(--jst-radius-sm) var(--jst-radius-sm) 0;
  padding: 18px 22px; font-size: .86rem; color: var(--jst-muted); margin-top: 40px;
}
.jst-disclaimer p:last-child { margin-bottom: 0; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.jst-footer { background: #0d2b25; color: rgba(255,255,255,.72); margin-top: 0; }
.jst-footer a { color: rgba(255,255,255,.78); }
.jst-footer a:hover { color: #fff; }
.jst-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 44px; }
.jst-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.jst-footer ul { list-style: none; margin: 0; padding: 0; }
.jst-footer li { margin-bottom: 9px; font-size: .9rem; }
.jst-footer__brand { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 12px; display: block; }
.jst-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0;
  font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ==========================================================================
   15. Posts / pagination / misc
   ========================================================================== */
.jst-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.jst-pagination .page-numbers {
  padding: 9px 15px; border: 1px solid var(--jst-line); border-radius: var(--jst-radius-sm);
  font-size: .9rem; font-weight: 600; color: var(--jst-ink); background: #fff;
}
.jst-pagination .page-numbers.current { background: var(--jst-primary); color: #fff; border-color: var(--jst-primary); }
.jst-pagination .page-numbers:hover { border-color: var(--jst-primary); color: var(--jst-primary); }

.jst-entry-meta { font-size: .82rem; color: var(--jst-muted); margin-bottom: 12px; }
.jst-no-result { text-align: center; padding: 60px 0; color: var(--jst-muted); }

.jst-searchform { display: flex; gap: 8px; }
.jst-searchform input[type="search"] { flex: 1; padding: 11px 14px; border: 1px solid var(--jst-line); border-radius: var(--jst-radius-sm); }

/* ==========================================================================
   16. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .jst-hero .jst-container { grid-template-columns: 1fr; gap: 40px; }
  .jst-hero__art { order: -1; aspect-ratio: 16/9; }
  .jst-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .jst-contact { grid-template-columns: 1fr; }
  .jst-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .jst-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .jst-steps { grid-template-columns: 1fr; }
  .jst-step::after { display: none; }
  .jst-split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .jst-nav-toggle { display: flex; }
  .jst-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--jst-line); padding: 16px 24px 22px;
    box-shadow: var(--jst-shadow);
  }
  .jst-nav ul { flex-direction: column; gap: 4px; }
  .jst-nav li { width: 100%; }
  .jst-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--jst-line); width: 100%; }
  .jst-nav a::after { display: none; }
  .jst-header__inner { position: relative; min-height: 66px; }
  .jst-header__actions .jst-btn { display: none; }
}

@media (max-width: 640px) {
  .jst-section { padding: 54px 0; }
  .jst-hero { padding: 60px 0 56px; }
  .jst-hero__stats { gap: 22px; }
  .jst-grid--2, .jst-grid--3, .jst-grid--4 { grid-template-columns: 1fr; }
  .jst-footer__top { grid-template-columns: 1fr; }
  .jst-facts { grid-template-columns: 1fr; }
  .jst-cta { padding: 34px 26px; }
  .jst-form { padding: 24px; }
  .jst-form__row { grid-template-columns: 1fr; gap: 0; }
  .jst-logo-grid { grid-template-columns: 1fr; }
  .jst-topbar .jst-container { justify-content: center; text-align: center; }
}

/* ------------------------------------------------- region suggestion bar */
.jst-geo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: var(--jst-primary-dark);
  color: #fff;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .22);
  border-top: 3px solid var(--jst-accent);
}
.jst-geo__inner {
  max-width: var(--jst-maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.jst-geo__text { margin: 0; font-size: 15px; line-height: 1.6; }
.jst-geo__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.jst-geo__close {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 6px 2px;
}
.jst-geo__close:hover { color: #fff; text-decoration: underline; }
.jst-btn--sm { padding: 9px 18px; font-size: 14px; }

@media (max-width: 640px) {
  .jst-geo__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 18px; }
  .jst-geo__text { font-size: 14px; }
}
