:root {
  --myge-bg: #f6f8fb;
  --myge-surface: #ffffff;
  --myge-surface-soft: #f8fafc;
  --myge-text: #111827;
  --myge-muted: #475569;
  --myge-blue: #2563eb;
  --myge-blue-soft: #eef5ff;
  --myge-orange: #f97316;
  --myge-orange-dark: #ea580c;
  --myge-orange-soft: #fff3ea;
  --myge-border: #e2e8f0;
  --myge-radius: 24px;
  --myge-radius-lg: 30px;
  --myge-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  --myge-shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.10);
}

body[data-page-kind="content"] {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 125, 40, 0.12), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(43, 93, 191, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
  color: var(--myge-text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
}

body[data-page-kind="public"] {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 125, 40, 0.12), transparent 26%),
    radial-gradient(circle at 88% 0%, rgba(43, 93, 191, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

@media (min-width: 761px) {
  body[data-page-kind="public"] .page {
    width: min(100% - 24px, 1880px);
    margin: 0 auto;
    padding: 18px 0 52px;
  }

  body[data-page-kind="public"] .hero {
    display: grid;
    gap: 18px;
  }

  body[data-page-kind="public"] .page-toolbar {
    top: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(214, 224, 238, 0.9);
    box-shadow: 0 18px 42px rgba(24, 38, 65, 0.08);
    backdrop-filter: blur(14px);
  }

  body[data-page-kind="public"] .control-shell-summary {
    margin-top: 0;
  }

  body[data-page-kind="public"] .filter-summary-bar {
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    background:
      radial-gradient(circle at 12% 18%, rgba(255, 125, 40, 0.10), transparent 26%),
      radial-gradient(circle at 92% 6%, rgba(43, 93, 191, 0.10), transparent 30%),
      rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  }

  body[data-page-kind="public"] .filter-summary-bar.filters-applied .ghost-btn.filter-summary-btn {
    color: #fff;
    border-color: rgba(234, 103, 38, 0.72);
    background: linear-gradient(180deg, #e97832 0%, #d96524 100%);
    box-shadow: 0 12px 24px rgba(230, 95, 34, 0.18);
  }

  body[data-page-kind="public"] .filter-summary-bar.filters-applied .search-submit.filter-summary-btn {
    color: #1f2937;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: none;
  }

  body[data-page-kind="public"] .filter-summary-bar.filters-dirty .ghost-btn.filter-summary-btn {
    color: #1f2937;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: none;
  }

  body[data-page-kind="public"] .filter-summary-bar.filters-dirty .search-submit.filter-summary-btn {
    color: #fff;
    border-color: rgba(234, 103, 38, 0.72);
    background: linear-gradient(180deg, #e97832 0%, #d96524 100%);
    box-shadow: 0 12px 24px rgba(230, 95, 34, 0.18);
  }

  body[data-page-kind="public"] .table-wrap {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    overflow-x: auto;
  }
}

.content-page,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.filter-pending-note {
  color: #c2410c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

body[data-page-kind="public"] .filter-summary-bar.filters-applied .ghost-btn.filter-summary-btn {
  color: #fff;
  border-color: rgba(234, 103, 38, 0.72);
  background: linear-gradient(180deg, #e97832 0%, #d96524 100%);
  box-shadow: 0 12px 24px rgba(230, 95, 34, 0.18);
}

body[data-page-kind="public"] .filter-summary-bar.filters-applied .search-submit.filter-summary-btn {
  color: #1f2937;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: none;
}

body[data-page-kind="public"] .filter-summary-bar.filters-dirty .ghost-btn.filter-summary-btn {
  color: #1f2937;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: none;
}

body[data-page-kind="public"] .filter-summary-bar.filters-dirty .search-submit.filter-summary-btn {
  color: #fff;
  border-color: rgba(234, 103, 38, 0.72);
  background: linear-gradient(180deg, #e97832 0%, #d96524 100%);
  box-shadow: 0 12px 24px rgba(230, 95, 34, 0.18);
}

.content-nav {
  position: relative;
  z-index: 9500;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 224, 238, 0.9);
  border-radius: var(--myge-radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 42px rgba(24, 38, 65, 0.08);
  backdrop-filter: blur(14px);
}

.quick-links a,
.site-footer-links a,
.primary-link {
  color: var(--myge-blue);
  text-decoration: none;
  font-weight: 700;
}

.content-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.content-brand-logo {
  width: clamp(148px, 24vw, 178px);
  height: 46px;
  display: block;
}

.content-nav-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.content-nav-btn,
.locale-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  color: #1f4ed8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(32, 64, 120, 0.06);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.content-nav-btn svg,
.locale-title svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-nav-primary {
  color: #fff;
  border-color: rgba(234, 103, 38, 0.72);
  background: linear-gradient(135deg, #ff8a3d, var(--myge-orange-dark));
  box-shadow: 0 12px 24px rgba(230, 95, 34, 0.22);
}

.content-nav-btn:hover,
.content-nav-btn:focus-visible,
.locale-option:hover,
.locale-option:focus-visible,
.locale-option.active {
  transform: translateY(-1px);
  border-color: rgba(43, 93, 191, 0.36);
  box-shadow: 0 12px 24px rgba(32, 64, 120, 0.12);
}

.content-locale-menu {
  position: relative;
}

.content-mobile-menu {
  display: none;
  position: relative;
}

.content-locale-menu[open],
.content-mobile-menu[open] {
  z-index: 10001;
}

.content-locale-menu summary {
  list-style: none;
  cursor: pointer;
}

.content-mobile-menu summary {
  list-style: none;
  cursor: pointer;
}

.content-locale-menu summary::-webkit-details-marker {
  display: none;
}

.content-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.content-locale-trigger {
  width: 38px;
  padding-inline: 0;
}

.content-mobile-menu-trigger {
  width: 38px;
  padding-inline: 0;
}

.content-locale-panel {
  position: absolute;
  z-index: 10001;
  top: calc(100% + 10px);
  right: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(24, 38, 65, 0.16);
  backdrop-filter: blur(14px);
}

.content-mobile-menu-panel {
  position: absolute;
  z-index: 10001;
  top: calc(100% + 10px);
  right: 0;
  width: min(290px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 54px rgba(24, 38, 65, 0.16);
  backdrop-filter: blur(14px);
}

.content-mobile-menu-panel strong {
  display: block;
  margin: 2px 4px 10px;
  color: var(--myge-ink);
  font-size: 0.84rem;
}

.content-mobile-menu-panel a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 10px;
  border-radius: 14px;
  color: var(--myge-ink);
  text-decoration: none;
}

.content-mobile-menu-panel a:hover,
.content-mobile-menu-panel a:focus-visible {
  background: #f6f8fb;
}

.content-mobile-menu-panel svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--myge-blue);
}

.locale-row {
  display: grid;
  gap: 10px;
}

.locale-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.currency-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #64748b;
  font-size: 11px;
}

.locale-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.locale-option {
  min-height: 32px;
  min-width: 42px;
  padding: 7px 11px;
  font-size: 12px;
  box-shadow: none;
}

.locale-divider {
  height: 1px;
  margin: 14px 0;
  background: #edf2f7;
}

.guides-hero,
.city-hero,
.content-card,
.guide-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: var(--myge-shadow);
}

.guides-hero,
.city-hero {
  display: grid;
  gap: 18px;
  margin: 4px 0 18px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 125, 40, 0.16), transparent 28%),
    radial-gradient(circle at 92% 6%, rgba(43, 93, 191, 0.16), transparent 32%),
    linear-gradient(145deg, #ffffff, #f7fbff);
}

.guides-hero-visual,
.city-hero-visual {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: center;
  overflow: hidden;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-template-rows: 118px 118px;
  gap: 10px;
  min-height: 246px;
}

.hero-photo,
.home-hero-photo,
.city-hero-photo,
.article-hero-photo,
.article-aside-photo,
.inline-photo,
.guide-card-media,
.home-city-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e2e8f0;
}

.hero-photo img,
.home-hero-photo img,
.city-hero-photo img,
.article-hero-photo img,
.article-aside-photo img,
.inline-photo img,
.guide-card-media img,
.home-city-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.hero-photo figcaption,
.home-hero-photo figcaption,
.city-hero-photo figcaption,
.article-hero-photo figcaption,
.article-aside-photo figcaption,
.inline-photo figcaption,
.guide-card-media figcaption,
.home-city-media figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(15, 23, 42, 0.42);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.hero-photo {
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.hero-photo:first-child {
  grid-row: span 2;
}

.home-hero-photo,
.city-hero-photo {
  height: min(330px, 34vw);
  min-height: 240px;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.content-kicker,
.section-label,
.guide-category {
  color: #e97832;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page h1 {
  max-width: 840px;
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.content-page h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: 0;
}

.content-page h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.content-page p,
.content-page li {
  color: #475569;
  font-size: 16px;
  line-height: 1.72;
}

.lead {
  max-width: 760px;
  color: #334155 !important;
  font-size: 18px !important;
}

.featured-row,
.guide-section,
.city-layout {
  margin: 18px 0;
}

.featured-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid.single {
  grid-template-columns: 1fr;
}

.guide-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.guide-topic-card {
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--myge-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.78)),
    var(--myge-surface);
  color: var(--myge-text);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.guide-topic-card:hover,
.guide-topic-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.38);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.12);
}

.guide-topic-card span {
  color: var(--myge-orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-topic-card p {
  margin: 0;
  color: var(--myge-muted);
  font-size: 14px;
  line-height: 1.5;
}

.guide-section.two-col,
.city-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.guide-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 300px;
  padding: 20px;
  border-radius: 22px;
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(233, 120, 50, 0.16), rgba(37, 99, 235, 0.12));
  transform: rotate(12deg);
}

.guide-card-media {
  height: 126px;
  margin: -20px -20px 4px;
  border-radius: 22px 22px 16px 16px;
}

.guide-card-media::after,
.home-city-media::after,
.article-hero-photo::after,
.inline-photo::after,
.home-hero-photo::after,
.city-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, 0.22));
  pointer-events: none;
}

.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(233, 120, 50, 0.32);
  background:
    radial-gradient(circle at 88% 86%, rgba(233, 120, 50, 0.12), transparent 30%),
    linear-gradient(145deg, #fffaf6, #f8fbff);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  text-decoration: none;
}

.guide-card:hover .guide-card-media img,
.guide-card:focus-visible .guide-card-media img,
.home-city-card:hover .home-city-media img,
.city-hero-photo:hover img,
.home-hero-photo:hover img,
.inline-photo:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.guide-card,
.guide-card:hover,
.guide-card:focus-visible,
.guide-card *,
.guide-card:hover *,
.guide-card:focus-visible * {
  text-decoration: none;
}

.guide-featured {
  min-height: 245px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(233, 120, 50, 0.1), transparent 38%),
    #fff;
}

.guide-featured .guide-card-media {
  height: 172px;
  margin: -28px -28px 8px;
  border-radius: 22px 22px 18px 18px;
}

.guide-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.22;
}

.guide-featured h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.guide-card p,
.guide-card span,
.guide-meta {
  position: relative;
  z-index: 1;
}

.guide-card p {
  margin: 0;
  font-size: 14.5px;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-self: end;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.article-aside,
.article-main,
.content-card {
  padding: clamp(20px, 3vw, 34px);
  border-radius: 24px;
}

.article-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.article-main {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.article-hero-photo {
  height: clamp(230px, 34vw, 390px);
  margin: 22px 0 30px;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.article-aside-photo {
  height: 150px;
  border-radius: 18px;
}

.article-inline-gallery,
.city-photo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 8px;
}

.article-inline-gallery-wide,
.city-photo-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.city-photo-row {
  margin: 18px 0;
}

.inline-photo {
  height: 210px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.article-inline-gallery-wide .inline-photo {
  height: 180px;
}

.article-main h2 {
  margin-top: 34px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.quick-links,
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
}

.quick-links.stacked {
  display: grid;
}

.related-box,
.content-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.city-facts ul,
.content-card ul {
  padding-left: 20px;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 28px 0 42px;
  color: #64748b;
}

.site-footer p {
  max-width: 700px;
  margin: 6px 0 0;
  line-height: 1.6;
}

.home-intro,
.home-search-card,
.home-guides,
.home-trust,
.home-city-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.home-intro,
.home-guides,
.home-trust {
  margin: 0 0 18px;
  padding: 22px;
  border-radius: 24px;
}

.home-intro h1,
.home-guides h2,
.home-trust h2 {
  margin: 0 0 10px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: 0;
}

.home-intro p,
.home-guides p,
.home-trust p {
  max-width: 860px;
  color: #475569;
  line-height: 1.6;
}

.home-links,
.home-city-grid,
.home-guide-preview {
  display: grid;
  gap: 12px;
}

.home-links {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}

.home-links a {
  padding: 11px 13px;
  border-radius: 15px;
  background: #f8fafc;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 800;
}

.home-city-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
}

.home-city-card {
  overflow: hidden;
  padding: 0 18px 18px;
  border-radius: 22px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.home-city-card:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 120, 50, 0.32);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.home-city-media {
  height: 152px;
  margin: 0 -18px 16px;
  border-radius: 22px 22px 16px 16px;
}

.home-city-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.home-city-card p,
.home-city-card li {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.home-guide-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-page-shell {
  display: grid;
  gap: 16px;
}

.trust-hero-card {
  background:
    linear-gradient(135deg, rgba(255, 243, 234, 0.94), rgba(238, 245, 255, 0.92)),
    var(--myge-surface);
}

.trust-hero-card > p:not(.content-kicker) {
  max-width: 760px;
  color: var(--myge-muted);
  font-size: 18px;
}

.trust-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trust-summary-card {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.trust-summary-card span {
  color: var(--myge-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-summary-card p {
  margin: 8px 0 0;
  color: var(--myge-text);
  font-weight: 800;
  line-height: 1.45;
}

.portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  gap: 26px;
  align-items: center;
  margin: 12px 0 22px;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 243, 234, 0.96), rgba(238, 245, 255, 0.98) 58%, rgba(255, 255, 255, 0.92)),
    #f6f8fb;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.portal-hero h1 {
  max-width: 840px;
  margin: 8px 0 16px;
  color: #111827;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.portal-hero p {
  max-width: 700px;
  color: #334155;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.62;
}

.portal-hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
}

.portal-hero-visual .home-hero-photo {
  height: clamp(250px, 34vw, 390px);
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.portal-hero-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-hero-map span,
.portal-hero-map a {
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  color: #1f2937;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.portal-hero-map a:hover,
.portal-hero-map a:focus-visible {
  border-color: rgba(249, 115, 22, 0.42);
  color: #c2410c;
}

.portal-section,
.portal-snapshot,
.portal-trust {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.portal-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.portal-section-head h2,
.portal-snapshot h2,
.portal-trust h2 {
  margin: 4px 0 0;
  color: #111827;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
}

.portal-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 34px;
  margin: 20px 0 28px;
  padding: 26px 0 10px;
}

.home-simple-hero-copy {
  padding: 18px 0;
}

.home-simple-hero h1 {
  max-width: 690px;
  margin: 8px 0 16px;
  color: #111827;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(40px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.home-simple-hero-copy > p:not(.content-kicker) {
  max-width: 640px;
  margin: 0;
  color: #475569;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.home-simple-hero-action {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: #f97316;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.23);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.home-simple-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-simple-hero-action-secondary {
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  background: #eef5ff;
  box-shadow: none;
}

.home-simple-hero-action-secondary:hover,
.home-simple-hero-action-secondary:focus-visible {
  color: #1e40af;
  background: #dbeafe;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.12);
}

.home-intelligence-preview {
  min-width: 0;
  padding: 22px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #eef5ff);
  box-shadow: 16px 16px 0 rgba(219, 234, 254, 0.7);
}

.home-intelligence-preview h2 {
  max-width: 420px;
  margin: 8px 0 16px;
  color: #172033;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-intelligence-cities {
  display: grid;
  gap: 8px;
}

.home-intelligence-city,
.home-intelligence-fresh {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(219, 229, 242, 0.9);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
}

.home-intelligence-city span,
.home-intelligence-fresh span {
  min-width: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.home-intelligence-city strong,
.home-intelligence-fresh strong {
  color: #172033;
  font-size: 18px;
}

.home-intelligence-city small {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 12px;
}

.home-intelligence-fresh {
  margin-top: 12px;
  border-color: rgba(249, 115, 22, 0.2);
  background: #fff7ed;
}

.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #e2e8f0;
}

.home-trust-strip > div:not(.home-source-chips) {
  min-width: 0;
  padding: 16px;
  background: #fff;
}

.home-trust-strip strong,
.home-trust-strip span {
  display: block;
}

.home-trust-strip strong {
  color: #172033;
  font-size: 20px;
  line-height: 1.1;
}

.home-trust-strip span {
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.home-trust-strip > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 16px 8px;
  color: #475569;
  background: #fff;
  font-size: 14px;
}

.home-source-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 15px;
  background: #fff;
}

.home-source-chips span {
  margin: 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #1e40af;
  background: #eef5ff;
  font-size: 12px;
  font-weight: 800;
}

.home-simple-hero-action:hover,
.home-simple-hero-action:focus-visible {
  transform: translateY(-2px);
  background: #ea580c;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.28);
}

.home-simple-hero-action svg,
.home-direction-card strong svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-simple-hero-photo {
  position: relative;
  height: clamp(300px, 36vw, 440px);
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #dbeafe;
  box-shadow: 18px 18px 0 #eef5ff;
}

.home-simple-hero-photo img,
.home-direction-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-simple-hero-photo figcaption,
.home-direction-photo figcaption {
  position: absolute;
  right: 7px;
  bottom: 6px;
  padding: 3px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(15, 23, 42, 0.62);
  font-size: 9px;
  line-height: 1;
}

.home-directions {
  margin: 32px 0 22px;
  padding: 22px;
  border-radius: 8px;
  background: #172033;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
}

.home-directions-head h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}

.home-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-direction-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px;
  color: #111827;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-direction-card:hover,
.home-direction-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.28);
}

.home-direction-photo {
  position: relative;
  height: 44%;
  flex: 0 0 44%;
  margin: 0;
  overflow: hidden;
  background: #e2e8f0;
}

.home-direction-photo img {
  transition: transform 0.3s ease;
}

.home-direction-card:hover .home-direction-photo img,
.home-direction-card:focus-visible .home-direction-photo img {
  transform: scale(1.045);
}

.home-direction-icon {
  position: absolute;
  top: calc(44% - 25px);
  left: 20px;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  border-radius: 6px;
  color: #fff;
  background: #f97316;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.home-direction-tone-2 .home-direction-icon {
  background: #2563eb;
}

.home-direction-tone-3 .home-direction-icon {
  background: #059669;
}

.home-direction-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-direction-copy {
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 34px 20px 18px;
}

.home-direction-copy h2 {
  margin: 0;
  color: #111827;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-direction-copy p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.46;
}

.home-direction-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 10px;
  color: #c2410c;
  font-size: 14px;
}

.home-direction-tone-2 strong {
  color: #1d4ed8;
}

.home-direction-tone-3 strong {
  color: #047857;
}

.home-simple-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  background: #fff;
}

.home-simple-note p {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.home-simple-note strong {
  display: block;
  margin: 3px 0 5px;
  color: #172033;
  font-size: 16px;
  line-height: 1.35;
}

.home-simple-note .content-kicker {
  color: #f97316;
  font-size: 11px;
}

.home-simple-note .quick-links {
  flex: 0 0 auto;
  margin: 0;
}

.portal-section-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #ffffff, #f6f8fb);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.10);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.portal-section-card:hover,
.portal-section-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
  filter: saturate(1.05);
}

.portal-section-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -46px;
  bottom: -48px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(18deg);
}

.portal-section-tone-1 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #fff3ea, #fed7aa);
}

.portal-section-tone-2 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #eef5ff, #bfdbfe);
}

.portal-section-tone-3 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #ecfdf5, #a7f3d0);
}

.portal-section-tone-4 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #fef9c3, #fde68a);
}

.portal-section-tone-5 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #f5f3ff, #ddd6fe);
}

.portal-section-tone-6 {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.45), transparent 30%),
    linear-gradient(145deg, #f8fafc, #cbd5e1);
}

.portal-card-index,
.portal-card-stat {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.portal-card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  position: relative;
  z-index: 1;
}

.portal-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-card-index {
  color: #111827;
  background: rgba(255, 255, 255, 0.72);
}

.portal-card-stat {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #111827;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 36px);
  white-space: normal;
}

.portal-section-card h3 {
  margin: 6px 0 0;
  color: #111827;
  font-size: clamp(21px, 2.35vw, 30px);
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.portal-section-card p {
  margin: 0;
  color: rgba(17, 24, 39, 0.76);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.portal-section-card strong {
  margin-top: 6px;
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.90);
  color: #fff;
  position: relative;
  z-index: 1;
}

.portal-snapshot {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: start;
  background: linear-gradient(135deg, #ffffff, #f8fafc 68%, #fff3ea);
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.portal-stat {
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.portal-stat span,
.portal-city-metrics span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.portal-stat strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 22px;
}

.portal-city-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-city-metrics li {
  padding: 14px;
  border-radius: 18px;
  background: #eef5ff;
}

.portal-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-city-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.portal-city-body {
  padding: 18px;
}

.portal-city-card h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 23px;
}

.portal-city-card p,
.portal-city-card li {
  color: #475569;
}

.portal-city-card ul {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  padding-left: 18px;
}

.portal-city-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.portal-city-stats span {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 14px;
  background: #f6f8fb;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.portal-guide-preview {
  margin: 0;
}

.portal-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: #111827;
  color: #fff;
}

.portal-trust h2,
.portal-trust .content-kicker {
  color: #fff;
}

.portal-trust p {
  max-width: 820px;
  color: #d1d5db;
}

.district-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid rgba(249, 115, 22, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 243, 234, 0.92), rgba(238, 245, 255, 0.82)),
    var(--myge-surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.city-action-panel p {
  margin: 0;
}

.district-card {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--myge-border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.88)),
    var(--myge-surface);
  color: var(--myge-text);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.district-card:hover,
.district-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.12);
}

.district-card span {
  color: var(--myge-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.district-card strong {
  color: var(--myge-text);
  font-size: 20px;
}

.district-card small {
  color: var(--myge-muted);
  font-weight: 800;
  line-height: 1.45;
}

.market-hero {
  grid-template-columns: minmax(0, 1fr);
}

.market-map {
  position: relative;
  min-height: 360px;
  border: 1px solid #dbe3ea;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(233, 120, 50, 0.13), rgba(14, 116, 144, 0.12)),
    radial-gradient(circle at 68% 40%, rgba(255,255,255,0.9), rgba(255,255,255,0) 32%),
    #f8fafc;
  overflow: hidden;
}

.market-map::before {
  content: "";
  position: absolute;
  inset: 40px 70px 36px 50px;
  border: 2px solid rgba(15, 23, 42, 0.16);
  border-radius: 48% 42% 45% 50%;
  transform: rotate(-16deg);
}

.market-map-marker {
  position: absolute;
  z-index: 2;
  min-width: 92px;
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.13);
  color: #0f172a;
  text-decoration: none;
  font-size: 12px;
}

.market-map-marker strong,
.market-map-marker span {
  display: block;
}

.map-city-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.map-city-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--myge-border);
  border-radius: 14px;
  background: #fff;
  color: var(--myge-text);
  font-weight: 800;
  text-decoration: none;
}

.map-city-list span {
  color: var(--myge-orange);
}

.map-page-hero {
  grid-template-columns: 1fr;
}

.leaflet-map-card {
  padding: 18px;
}

.leaflet-map-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.leaflet-map-toolbar h2 {
  margin: 4px 0 0;
  color: var(--myge-text);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.12;
}

.leaflet-map-canvas {
  width: 100%;
  height: min(68vh, 620px);
  min-height: 470px;
  border: 1px solid var(--myge-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(233, 120, 50, 0.13), rgba(14, 116, 144, 0.12)),
    #f8fafc;
  overflow: hidden;
}

.leaflet-map-fallback {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  border-radius: 16px;
  background: #fff7ed;
  color: var(--myge-text);
}

.leaflet-map-fallback p {
  margin: 0 0 10px;
  color: var(--myge-muted);
}

.myge-leaflet-marker {
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.myge-leaflet-marker span {
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.24);
}

.leaflet-popup-content {
  margin: 14px;
}

.myge-map-info {
  min-width: 240px;
  max-width: 340px;
  color: #111827;
  font-family: Arial, sans-serif;
}

.myge-map-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.myge-map-info dl {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6px 12px;
  margin: 0 0 12px;
}

.myge-map-info dt {
  color: #64748b;
  font-weight: 700;
}

.myge-map-info dd {
  margin: 0;
  color: #111827;
  font-weight: 800;
  text-align: right;
}

.myge-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.myge-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.myge-map-btn.primary {
  background: #f97316;
  color: #fff;
}

.myge-map-sheet {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 10000;
  max-height: 72dvh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--myge-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.myge-map-sheet[hidden] {
  display: none;
}

.myge-map-sheet-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #111827;
  font-size: 24px;
  line-height: 1;
}

.scroll-top-button {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9000;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.22), 0 8px 18px rgba(249, 115, 22, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
  line-height: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  box-shadow: 0 22px 42px rgba(17, 24, 39, 0.26), 0 10px 22px rgba(249, 115, 22, 0.34);
  transform: translateY(-2px) scale(1.02);
}

.scroll-top-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.scroll-top-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.market-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.market-city-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-height: 184px;
  padding: 18px;
  border: 1px solid var(--myge-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    var(--myge-surface);
  color: var(--myge-text);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.market-city-card:hover,
.market-city-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.market-city-card > span,
.market-city-card > strong,
.market-city-card > p {
  grid-column: 1 / -1;
}

.market-city-card > span {
  color: var(--myge-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-city-card > strong {
  color: var(--myge-text);
  font-size: 24px;
}

.market-city-card em {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3ea;
  color: #c2410c;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.market-city-card div {
  padding: 10px;
  border-radius: 14px;
  background: var(--myge-blue-soft);
}

.market-city-card small,
.market-city-card p {
  color: var(--myge-muted);
}

.market-city-card b {
  display: block;
  margin-top: 3px;
  color: var(--myge-text);
  font-size: 18px;
}

.market-city-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.market-card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}

.market-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.market-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.market-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.market-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.market-table-wrap th,
.market-table-wrap td {
  padding: 11px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.market-table-wrap th {
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
}

.market-accordion {
  padding: 0;
  overflow: hidden;
}

.market-accordion summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  color: #111827;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  list-style: none;
}

.market-accordion summary::-webkit-details-marker {
  display: none;
}

.market-accordion summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 22px;
  line-height: 1;
}

.market-accordion[open] summary::after {
  content: "-";
  background: #fff3ea;
  color: #f97316;
}

.market-accordion .market-table-wrap {
  margin: 0 22px 22px;
  width: calc(100% - 44px);
}

.market-bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 72px;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  font-size: 13px;
}

.market-bar {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.market-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0f766e;
}

.market-snapshot .market-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .home-simple-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .home-simple-hero-photo {
    height: clamp(230px, 46vw, 340px);
  }

  .home-intelligence-preview {
    box-shadow: 10px 10px 0 rgba(219, 234, 254, 0.7);
  }

  .home-simple-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-nav {
    align-items: flex-start;
  }

  .content-nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .guide-grid,
  .guide-topic-grid,
  .home-city-grid,
  .home-guide-preview,
  .portal-section-grid,
  .portal-city-grid,
  .portal-stat-grid,
  .market-city-grid,
  .market-grid,
  .market-cards,
  .market-snapshot .market-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-row,
  .guide-section.two-col,
  .city-layout,
  .article-layout,
  .portal-hero,
  .market-hero,
  .portal-snapshot,
  .portal-trust,
  .city-action-panel,
  .guides-hero-visual,
  .city-hero-visual {
    grid-template-columns: 1fr;
  }

  .home-hero-photo,
  .city-hero-photo {
    height: 260px;
    min-height: 220px;
  }

  .article-aside {
    position: static;
  }

  .home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-city-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-directions-grid {
    grid-template-columns: 1fr;
  }

  .market-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .market-hero > div {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .market-hero h1 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .market-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 0;
    height: auto;
    max-width: 100%;
    padding: 12px;
    overflow: visible;
  }

  .market-map::before {
    display: none;
  }

  .market-map-marker {
    position: static;
    width: 100%;
    min-width: 0;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .market-map-marker:nth-of-type(n+7) {
    display: none;
  }
}

@media (max-width: 620px) {
  .home-simple-hero {
    gap: 15px;
    margin: 10px 0 20px;
    padding: 10px 0 4px;
  }

  .home-simple-hero-copy {
    padding: 4px 0;
  }

  .home-simple-hero h1 {
    margin: 5px 0 10px;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.03;
  }

  .home-simple-hero-copy > p:not(.content-kicker) {
    font-size: 15px;
    line-height: 1.48;
  }

  .home-simple-hero-action {
    min-height: 42px;
    margin-top: 16px;
    padding: 9px 13px;
    font-size: 14px;
  }

  .home-simple-hero-actions {
    gap: 8px;
  }

  .home-simple-hero-action-secondary {
    box-shadow: none;
  }

  .home-intelligence-preview {
    padding: 14px;
  }

  .home-intelligence-preview h2 {
    margin: 5px 0 11px;
    font-size: 22px;
  }

  .home-intelligence-city,
  .home-intelligence-fresh {
    padding: 9px 10px;
  }

  .home-trust-strip {
    grid-template-columns: 1fr;
    gap: 1px;
    margin-bottom: 16px;
  }

  .home-trust-strip > p,
  .home-source-chips {
    grid-column: 1;
  }

  .home-simple-hero-photo {
    height: 188px;
    border-radius: 5px;
    box-shadow: 9px 9px 0 #eef5ff;
  }

  .home-directions {
    margin: 20px 0 16px;
    padding: 12px;
    border-radius: 6px;
  }

  .home-directions-head h2 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .home-directions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-direction-card {
    aspect-ratio: 1 / 1;
    border-radius: 5px;
  }

  .home-direction-copy {
    padding: 32px 16px 14px;
  }

  .home-direction-copy h2 {
    font-size: clamp(21px, 7vw, 25px);
  }

  .home-direction-copy p {
    margin-top: 8px;
    font-size: 14px;
  }

  .home-direction-icon {
    left: 16px;
    width: 46px;
    height: 46px;
  }

  .home-simple-note {
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
  }

  .home-simple-note .quick-links {
    gap: 6px;
  }

  .home-simple-note .quick-links a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .scroll-top-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .content-page,
  .site-footer {
    width: min(100% - 20px, 1120px);
  }

  .content-nav {
    margin-top: 10px;
    padding: 10px;
    border-radius: 20px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .content-brand-logo {
    width: clamp(128px, 42vw, 148px);
    height: 44px;
  }

  .content-nav-actions {
    width: auto;
    margin-left: auto;
    gap: 7px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .content-nav-btn {
    min-height: 38px;
    padding-inline: 10px;
  }

  .content-mobile-menu {
    display: block;
  }

  .content-nav-btn:not(.content-nav-primary):not(.content-locale-trigger):not(.content-mobile-menu-trigger) {
    display: none;
  }

  .content-nav-btn span {
    display: none;
  }

  .content-nav-btn svg {
    width: 18px;
    height: 18px;
  }

  .content-locale-trigger {
    min-height: 38px;
    min-width: 38px;
  }

  .guides-hero,
  .city-hero,
  .home-intro,
  .home-guides,
  .home-trust,
  .portal-hero,
  .portal-section,
  .portal-snapshot,
  .portal-trust {
    border-radius: 20px;
    padding: 18px;
  }

  .guide-grid,
  .guide-topic-grid,
  .home-city-grid,
  .home-guide-preview,
  .portal-section-grid,
  .portal-city-grid,
  .portal-stat-grid,
  .portal-city-metrics,
  .portal-hero-map,
  .portal-city-stats,
  .map-city-list,
  .district-card-grid,
  .market-city-grid,
  .trust-summary-grid,
  .market-grid,
  .market-cards,
  .market-snapshot .market-cards,
  .article-inline-gallery,
  .article-inline-gallery-wide,
  .city-photo-row,
  .check-list {
    grid-template-columns: 1fr;
  }

  .market-map {
    min-height: 0;
  }

  .leaflet-map-card {
    padding: 12px;
  }

  .leaflet-map-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .leaflet-map-canvas {
    height: min(60vh, 520px);
    min-height: 420px;
    border-radius: 18px;
  }

  .portal-hero h1 {
    margin: 6px 0 10px;
    font-size: clamp(28px, 7.8vw, 34px);
    line-height: 1.08;
  }

  .portal-hero p {
    font-size: 15px;
    line-height: 1.48;
  }

  .portal-hero .quick-links {
    gap: 8px;
  }

  .portal-hero .quick-links a {
    min-height: 38px;
    padding: 9px 11px;
  }

  .portal-hero-visual .home-hero-photo {
    height: 150px;
  }

  .portal-hero-map {
    display: none;
  }

  .portal-section-card {
    aspect-ratio: auto;
    min-height: 0;
    gap: 9px;
    padding: 16px;
  }

  .portal-section-card h3 {
    margin-top: 2px;
    font-size: 22px;
  }

  .portal-section-card p {
    font-size: 14px;
    line-height: 1.42;
  }

  .portal-section-card strong {
    min-height: 34px;
    padding: 7px 11px;
  }

  .portal-card-index {
    display: none;
  }

  .portal-card-stat {
    position: static;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1.2;
  }

  .portal-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .portal-card-icon svg {
    width: 23px;
    height: 23px;
  }

  .content-locale-menu[open]::before,
  .content-mobile-menu[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.18);
  }

  .content-locale-panel,
  .content-mobile-menu-panel {
    position: fixed;
    top: 70px;
    right: 10px;
    z-index: 9999;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
  }

  .market-accordion .market-table-wrap {
    margin: 0 12px 14px;
    width: calc(100% - 24px);
  }

  .market-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .market-table-wrap table {
    min-width: 650px;
  }

  .inline-photo,
  .article-inline-gallery-wide .inline-photo {
    height: 170px;
  }

  .hero-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .hero-photo {
    height: 160px;
  }

  .hero-photo:first-child {
    grid-row: auto;
  }

  .guide-card,
  .guide-featured {
    min-height: 0;
    padding: 18px;
  }

  .guide-card-media,
  .guide-featured .guide-card-media {
    height: 150px;
    margin: -18px -18px 4px;
  }

  .article-aside-photo {
    display: none;
  }
}

@media print {
  .scroll-top-button {
    display: none !important;
  }
}

/* Stable magnifier for the primary /search nav button. */
.content-nav-primary::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-nav-primary > svg {
  display: none;
}
