:root {
  --green-900: #0e4f34;
  --green-800: #176b45;
  --green-700: #238454;
  --green-100: #e9f5ee;
  --green-50: #f4faf6;
  --navy: #18332a;
  --text: #24322d;
  --muted: #5d6d66;
  --border: #dce7e0;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(20, 70, 48, 0.08);
  --radius: 16px;
}

/* Verified course detail pages */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reusable verified-course cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-grid > :only-child {
  grid-column: 1 / -1;
}

.course-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.course-head h3,
.course-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.4;
}

.course-card[id],
.district-course-group h3[id] {
  scroll-margin-top: 24px;
}

.status-badge {
  flex: 0 0 auto;
  padding: 5px 10px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 20px;
  font-size: .875rem !important;
  font-weight: 800;
}

.course-address {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  border-top: 1px solid var(--border);
}

.course-facts div {
  min-width: 0;
  padding: 15px 10px 13px 0;
  border-bottom: 1px solid var(--border);
}

.course-facts div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.course-facts dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.course-facts dd {
  margin: 5px 0 0;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.course-source {
  margin-top: auto;
  padding-top: 2px;
}

.official-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 9px;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.official-link:hover,
.official-link:focus-visible {
  background: var(--green-900);
  outline: 3px solid rgba(35, 132, 84, .22);
  outline-offset: 2px;
}

.verified-date {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .875rem !important;
}

.basic-course-section {
  background: var(--green-50);
  border-block: 1px solid var(--border);
}

.district-course-group + .district-course-group {
  margin-top: 34px;
}

.district-course-group > h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.25rem;
}

.basic-course-card {
  box-shadow: none;
}

.basic-course-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.basic-course-card .official-link {
  align-self: flex-start;
  margin-top: auto;
}

.detail-hero {
  padding-block: clamp(36px, 5vw, 60px);
  background: linear-gradient(135deg, #f1f8f4 0%, #fff 72%, #e8f4ec 100%);
  border-block: 1px solid var(--border);
}

.detail-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.detail-intro {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--muted);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.status-line .status-badge {
  padding: 7px 13px;
  color: var(--green-900);
  background: var(--green-100);
  border-radius: 20px;
  font-size: .875rem;
  font-weight: 800;
}

.verified {
  color: var(--muted);
  font-size: .875rem;
}

.course-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-summary div {
  min-width: 0;
  padding: 20px;
  border-right: 1px solid var(--border);
}

.course-summary div:last-child {
  border-right: 0;
}

.course-summary dt,
.detail-list dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.course-summary dd {
  margin: 7px 0 0;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-section {
  padding-top: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-card,
.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-card {
  padding: clamp(24px, 4vw, 38px);
}

.side-card {
  padding: 26px;
}

.detail-card h2,
.side-card h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.detail-list {
  width: 100%;
  display: block;
  margin: 0;
  border-top: 1px solid var(--border);
}

.detail-info-item {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.detail-info-item:last-child {
  border-bottom: 0;
}

.detail-info-label {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

.detail-info-value {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.side-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
}

.official-action,
.full-action {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.official-action {
  color: #fff;
  background: var(--green-800);
}

.official-action:hover,
.official-action:focus-visible {
  background: var(--green-900);
  outline: 3px solid rgba(35, 132, 84, .22);
  outline-offset: 2px;
}

.full-action {
  margin-top: 10px;
}

.source-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .875rem;
}

.source-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-block: 6px;
}

.source-list li + li {
  margin-top: 9px;
}

.source-note {
  margin-top: 14px !important;
  font-size: .875rem !important;
}

.notice-box,
.season-notice {
  padding: 20px 22px;
  color: var(--muted);
  background: var(--green-50);
  border: 1px solid #cfe2d6;
  border-radius: 12px;
}

.course-summary + .notice-box {
  margin: 18px 0 0;
}

.notice-box {
  margin-top: 24px;
}

.season-notice {
  margin: 24px 0 0;
}

.related-navigation .explore-block + .explore-block {
  margin-top: 34px;
}

.related-navigation .explore-block > h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.related-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-course-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 22px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
}

.related-course-card span {
  color: var(--muted);
  font-size: .88rem;
}

.related-course-card:hover,
.related-course-card:focus-visible {
  border-color: var(--green-700);
  box-shadow: var(--shadow);
}

.seoul-browse-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seoul-browse-card h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.3rem;
}

.seoul-browse-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .course-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-summary div {
    border-bottom: 1px solid var(--border);
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .course-grid,
  .course-facts {
    grid-template-columns: 1fr;
  }

  .course-head {
    display: block;
  }

  .course-head .status-badge {
    display: inline-block;
    margin-top: 10px;
  }

  .course-facts div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .course-summary,
  .related-course-grid {
    grid-template-columns: 1fr;
  }

  .course-summary div {
    grid-column: auto;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
  }

  .detail-info-item {
    padding-block: 18px;
  }

  .course-summary div {
    padding: 18px 20px;
  }

  .seoul-browse-card {
    display: block;
  }

  .seoul-browse-card .primary-action {
    width: 100%;
    margin-top: 20px;
  }
}

/* Practical guide pages and guide navigation */
.guide-width {
  width: min(100% - 32px, 850px);
}

.guide-hero {
  padding-block: clamp(42px, 7vw, 76px);
  background: linear-gradient(135deg, var(--green-50), #fff 72%);
  border-block: 1px solid var(--border);
}

.guide-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.guide-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.85;
}

.guide-body {
  padding-block: clamp(42px, 7vw, 74px);
}

.guide-section {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide-section + .guide-section {
  margin-top: 22px;
}

.guide-section h2,
.guide-caution h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.guide-section p,
.guide-caution p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.guide-faq h3 {
  margin: 26px 0 8px;
  color: var(--navy);
  font-size: clamp(1.08rem, 2.4vw, 1.25rem);
  line-height: 1.5;
}

.guide-faq h2 + h3 {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 16px 13px 44px;
  background: var(--green-50);
  border-radius: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: var(--green-800);
  font-weight: 900;
}

.guide-caution {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 34px);
  background: #f7faf8;
  border-left: 5px solid var(--green-700);
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.guide-link-card {
  min-width: 0;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.guide-link-card span {
  color: var(--green-800);
  font-size: .85rem;
  font-weight: 800;
}

.guide-link-card:hover,
.guide-link-card:focus-visible {
  border-color: var(--green-700);
  box-shadow: var(--shadow);
}

.guide-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.guide-region-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--green-700);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.course-guides {
  margin-bottom: 34px;
}

@media (max-width: 760px) {
  .guide-link-grid {
    grid-template-columns: 1fr;
  }

  .guide-link-card {
    min-height: 92px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.narrow-container {
  max-width: 900px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-900);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50% 50% 50% 12px;
  font-size: 1rem;
  font-weight: 800;
}

.header-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f8f4 0%, #ffffff 62%, #e5f3ea 100%);
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(35, 132, 84, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 6vw, 72px);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 6vw, 4.1rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 720px;
  margin: 20px 0 0;
  color: #43564e;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--green-900);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  list-style: none;
}

.hero-points li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green-700);
  font-weight: 800;
}

.section {
  padding-block: clamp(64px, 8vw, 96px);
}

.section-soft {
  background: var(--green-50);
  border-block: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.compact-heading {
  display: block;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.region-search-card {
  margin: 30px 0 0;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.search-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.search-card-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.region-list-heading {
  margin-top: 0;
}

.search-pin {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--green-800);
  border: 7px solid var(--green-100);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}

.region-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.select-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.select-field select,
.search-button {
  width: 100%;
  min-height: 58px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.96rem;
}

.select-field select {
  appearance: none;
  padding: 10px 46px 10px 17px;
  color: var(--text);
  background-color: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, var(--green-800) 50%), linear-gradient(135deg, var(--green-800) 50%, transparent 50%);
  background-position: calc(100% - 20px) 25px, calc(100% - 14px) 25px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  border: 1px solid #b9c9c0;
}

.select-field select:focus-visible,
.search-button:focus-visible,
.quick-region-buttons button:focus-visible {
  outline: 3px solid rgba(35, 132, 84, 0.24);
  outline-offset: 2px;
}

.select-field select:disabled {
  color: #7b8782;
  background-color: #f2f5f3;
  cursor: not-allowed;
}

.search-button {
  min-width: 184px;
  padding: 10px 22px;
  color: var(--white);
  background: #0f7a4a;
  border: 1px solid #0f7a4a;
  box-shadow: 0 5px 14px rgba(15, 122, 74, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-weight: 800;
  cursor: pointer;
}

.search-button:hover:not(:disabled) {
  background: #0b613b;
  border-color: #0b613b;
  box-shadow: 0 6px 16px rgba(11, 97, 59, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.search-button:disabled {
  color: #e7ece9;
  background: #849a8e;
  border-color: #849a8e;
  box-shadow: none;
  cursor: not-allowed;
}

.quick-region-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.quick-region-row > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.quick-region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-region-buttons button {
  min-width: 58px;
  min-height: 44px;
  padding: 7px 14px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid #cfe2d6;
  border-radius: 22px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}

.quick-region-buttons button:hover {
  background: var(--green-100);
  border-color: #a8cdb6;
}

.search-feedback {
  min-height: 1.7em;
  margin: 14px 0 -7px;
  color: var(--green-800);
  font-size: 0.84rem;
  font-weight: 700;
}

.region-card {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 17px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(20, 70, 48, 0.04);
}

.region-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.region-card span {
  color: var(--muted);
  font-size: 0.76rem;
  white-space: nowrap;
}

.region-card-link {
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: -17px -18px;
  padding: 17px 18px;
  border-radius: 12px;
  text-decoration: none;
}

.region-card-link:hover,
.region-card-link:focus-visible {
  background: var(--green-50);
  outline: 3px solid rgba(35, 132, 84, 0.2);
  outline-offset: -3px;
}

.breadcrumb {
  --breadcrumb-line-height: 1.5;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding-block: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: var(--breadcrumb-line-height);
}

.breadcrumb ol {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  min-width: 0;
  max-width: 100%;
  display: block;
  align-self: baseline;
  font: inherit;
  line-height: var(--breadcrumb-line-height);
}

.breadcrumb-separator {
  display: inline;
  margin-inline: 8px;
  color: #94a29c;
  font: inherit;
  line-height: var(--breadcrumb-line-height);
  text-decoration: none;
  vertical-align: baseline;
}

.breadcrumb-link,
.breadcrumb-text {
  position: relative;
  max-width: 100%;
  display: inline;
  padding-inline: 2px;
  color: var(--green-800);
  font: inherit;
  line-height: var(--breadcrumb-line-height);
  text-decoration: none;
}

.breadcrumb-link::after {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus-visible {
  color: var(--green-900);
  text-decoration: none;
}

.breadcrumb-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(35, 132, 84, 0.35);
  outline-offset: 2px;
}

.region-hero {
  padding-block: clamp(50px, 7vw, 78px);
  background: linear-gradient(135deg, #f1f8f4 0%, #ffffff 70%, #e8f4ec 100%);
  border-block: 1px solid var(--border);
}

.region-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.region-hero > .container > p:last-child {
  max-width: 760px;
  margin: 20px 0 0;
  color: #43564e;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.district-grid li {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.district-grid .district-active {
  padding: 0;
  background: var(--green-800);
  border-color: var(--green-800);
}

.district-active a {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
}

.district-active a:hover,
.district-active a:focus-visible {
  background: var(--green-900);
  outline: 3px solid rgba(35, 132, 84, 0.24);
  outline-offset: 2px;
}

.district-active span {
  font-size: 0.7rem;
  white-space: nowrap;
}

.empty-state {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--green-50);
  border: 1px solid #cfe2d6;
  border-radius: var(--radius);
}

.empty-state > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-weight: 800;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.related-section {
  padding-top: 28px;
}

.back-home a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid #cfe2d6;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
}

.related-links a::after {
  content: "→";
  margin-left: 12px;
}

.related-links a:hover,
.related-links a:focus-visible {
  background: var(--green-100);
  outline: 3px solid rgba(35, 132, 84, 0.2);
  outline-offset: 2px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card,
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-number {
  display: block;
  margin-bottom: 28px;
  color: var(--green-700);
  font-size: 0.83rem;
  font-weight: 800;
}

.info-card h3,
.content-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.4;
}

.info-card p,
.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.content-card {
  padding: 26px;
}

.content-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.content-card-link:hover,
.content-card-link:focus-visible {
  border-color: var(--green-700);
  box-shadow: var(--shadow);
  outline: 3px solid rgba(35, 132, 84, 0.18);
  outline-offset: 2px;
}

.content-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 750;
}

.status {
  display: block;
  margin-top: 20px;
  color: #77857f;
  font-size: 0.875rem;
  font-weight: 700;
}

.faq-section {
  padding-top: 36px;
}

.faq-list {
  border-top: 2px solid var(--green-900);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 22px 54px 22px 4px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 10px;
  color: var(--green-700);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 44px 22px 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  color: #d9e6df;
  background: var(--navy);
}

.footer-inner {
  min-height: 176px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 36px;
}

.footer-inner strong {
  color: var(--white);
  font-size: 1.15rem;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.footer-notice {
  max-width: 410px;
  text-align: right;
}

@media (max-width: 900px) {
  .region-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .district-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 8px;
  }

  .card-number {
    grid-row: 1 / 3;
    margin: 3px 0 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .header-note {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-inner {
    padding-block: 42px 48px;
  }

  .hero-description {
    margin-block: 20px 26px;
  }

  .primary-action {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 5px;
    margin-top: 24px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 10px;
    text-align: left;
  }

  .region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .region-search-card {
    margin-top: 24px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .region-search-form {
    grid-template-columns: 1fr;
  }

  .search-button {
    min-width: 0;
    margin-top: 4px;
  }

  .quick-region-row {
    display: block;
  }

  .quick-region-buttons {
    margin-top: 9px;
  }

  .quick-region-buttons button {
    flex: 1 0 calc(33.333% - 8px);
  }

  .region-card {
    min-height: 82px;
    padding: 13px 15px;
  }

  .region-card-link {
    min-height: 80px;
    margin: -13px -15px;
    padding: 13px 15px;
  }

  .district-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .district-grid li {
    min-height: 54px;
    padding: 10px 13px;
  }

  .empty-state {
    display: block;
  }

  .empty-state > span {
    margin-bottom: 16px;
  }

  .region-card span {
    white-space: normal;
  }

  .info-card {
    display: block;
    padding: 22px;
  }

  .card-number {
    margin-bottom: 18px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 22px;
  }

  .footer-inner {
    display: block;
  }

  .footer-notice {
    margin-top: 22px !important;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 2026-10 crawl and navigation improvement: contextual journeys */
.journey-wrap{margin:1.5rem auto 2.5rem;padding:1.3rem;border:1px solid #d5e8dc;border-radius:18px;background:#f7fcf8}.journey-wrap h2{font-size:1.35rem;margin:0 0 .6rem}.journey-wrap p{margin:.4rem 0 1rem}.journey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.journey-card{display:block;padding:16px;background:#fff;border:1px solid #d8e5dc;border-radius:12px;color:#164b33;text-decoration:none}.journey-card strong{display:block;margin:0 0 8px}.journey-card span{display:block;color:#46574a;font-size:.94rem;line-height:1.5}.journey-card:hover,.journey-card:focus-visible{outline:2px solid #176b45}.city-compare{overflow-x:auto}.city-compare table{width:100%;min-width:620px;border-collapse:collapse}.city-compare th,.city-compare td{border-bottom:1px solid #dde8e0;padding:12px;text-align:left;vertical-align:top;line-height:1.5}.city-compare th{background:#e6f2ea}.city-compare a{color:#176b45;font-weight:700}.city-callout{padding:14px 18px;background:#f0f7f1;border-left:4px solid #176b45;margin:20px 0}.journey-label{font-size:.84rem;font-weight:bold;color:#257348;margin-bottom:.4rem}


/* Search and topic landing pages */
.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  background: var(--green-100);
}

.topic-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
}

.topic-nav a:hover,
.topic-nav a:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.directory-intro,
.directory-section {
  margin-top: clamp(28px, 5vw, 52px);
  margin-bottom: clamp(28px, 5vw, 52px);
}

.directory-intro {
  max-width: 860px;
}

.directory-intro h2,
.directory-section h2 {
  margin-top: 0;
}

.directory-intro p,
.directory-section > p {
  font-size: 1.04rem;
  line-height: 1.8;
}

.directory-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--green-50);
}

.directory-toolbar label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 750;
}

.directory-toolbar input,
.directory-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #b9cabf;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.directory-count {
  color: var(--muted);
  font-weight: 700;
}

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

.directory-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 26px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.directory-card[hidden] {
  display: none;
}

.directory-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.45;
}

.directory-card h3 a {
  color: inherit;
  text-decoration: none;
}

.directory-card h3 a:hover,
.directory-card h3 a:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.directory-location {
  margin: 9px 0 14px;
  color: var(--muted);
}

.directory-facts {
  margin: 0;
}

.directory-facts div {
  padding: 13px 0;
  border-top: 1px solid var(--border);
}

.directory-facts dt {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
}

.directory-facts dd {
  margin: 5px 0 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.directory-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}

.directory-card-links .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-800);
  font-weight: 750;
}

.comparison-notes {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--green-50);
}

.comparison-notes h3 {
  margin: 0 0 10px;
}

.comparison-notes li {
  margin: 8px 0;
  line-height: 1.65;
}

@media (max-width: 700px) {
  .topic-nav {
    gap: 4px 12px;
    padding-inline: 18px;
  }

  .directory-toolbar,
  .directory-grid {
    grid-template-columns: 1fr;
  }

  .city-compare table {
    min-width: 560px;
  }
}


/* Center responsive AdSense units without adding layout wrappers. */
ins.adsbygoogle {
  margin-inline: auto;
  text-align: center;
}

ins.adsbygoogle iframe {
  margin-inline: auto !important;
}
