/* Self-hosted Mitr files keep the presentation font available when the site
   is opened from a local static server or without external network access. */
@font-face {
  font-family: "Mitr Local";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Mitr-300.ttf") format("truetype");
}

@font-face {
  font-family: "Mitr Local";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Mitr-400.ttf") format("truetype");
}

@font-face {
  font-family: "Mitr Local";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Mitr-500.ttf") format("truetype");
}

@font-face {
  font-family: "Mitr Local";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Mitr-600.ttf") format("truetype");
}

@font-face {
  font-family: "Mitr Local";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Mitr-700.ttf") format("truetype");
}

/*
 * East Regional Plan — modern UI layer
 *
 * This file is intentionally self-contained and loaded after the legacy theme
 * so the static site can keep its existing URLs and content while using a
 * contemporary, responsive visual system.
 */

:root {
  --ink: #17324d;
  --ink-strong: #10283e;
  --muted: #5d7182;
  --teal: #087f83;
  --teal-dark: #075e67;
  --teal-soft: #e8f4f2;
  --gold: #d59a3a;
  --surface: #f4f8f8;
  --surface-deep: #eaf1f2;
  --white: #ffffff;
  --line: #d7e3e5;
  --shadow-sm: 0 8px 24px rgba(16, 40, 62, 0.07);
  --shadow-md: 0 18px 48px rgba(16, 40, 62, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --space-section: clamp(4.5rem, 8vw, 7rem);
  /* Match the legacy site's effective typography: Mitr was the final
     font-family declaration for body and headings in the old CSS. */
  --font-body: "Mitr Local", "Mitr", "Noto Sans Thai", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea {
  font-family: inherit;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(213, 154, 58, 0.75);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Small layout utility layer replacing the Bootstrap grid used by the legacy markup. */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.row > [class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}

.d-flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-uppercase { text-transform: uppercase !important; }
.img-fluid { display: block; max-width: 100%; height: auto; }
.relative { position: relative; }
.pb-70 { padding-bottom: 4.375rem; }
.pt-20 { padding-top: 1.25rem; }
.pb-20 { padding-bottom: 1.25rem; }
.mt-20 { margin-top: 1.25rem; }

.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 576px) {
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

.container {
  width: min(var(--container), calc(100% - 48px)) !important;
  max-width: var(--container) !important;
  margin-right: auto;
  margin-left: auto;
}

/* Header and navigation */
#header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  min-height: 80px;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(215, 227, 229, 0.95);
  box-shadow: 0 4px 18px rgba(16, 40, 62, 0.05);
  backdrop-filter: blur(14px);
}

#header > .container {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: clamp(16px, 2.2vw, 32px);
}

#header > hr {
  display: none;
}

#header .container,
#header .container > .row {
  min-height: 80px;
}

#header .container > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 2.5vw, 40px);
  margin: 0;
}

#logo {
  display: flex;
  align-items: center;
  margin: 0;
  flex: 0 0 auto;
  justify-self: start;
}

.project-mark {
  display: block;
  padding: 10px 12px;
  background: var(--ink-strong);
  border-radius: 9px;
  line-height: 0;
}

#logo img {
  display: block;
  width: 168px;
  height: auto;
  object-fit: contain;
}

#nav-menu-container {
  display: block !important;
  margin-left: 0;
  justify-self: center;
}

.header-partner {
  display: flex;
  width: 170px;
  height: 44px;
  flex: 0 0 170px;
  align-items: center;
  margin-left: 0;
  justify-self: end;
  overflow: hidden;
}

.header-partner img {
  display: block;
  width: 344px;
  max-width: none;
  height: auto;
  object-fit: contain;
}

#nav-menu-container .nav-menu,
#nav-menu-container .nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav-menu-container .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

#nav-menu-container .nav-menu > li {
  position: relative;
}

#nav-menu-container .nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

#nav-menu-container .nav-menu > li > a:hover,
#nav-menu-container .nav-menu > li.menu-active > a,
#nav-menu-container .nav-menu > li.current-page > a,
#nav-menu-container .nav-menu > li > a[aria-current="page"] {
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 7px;
}

#nav-menu-container .nav-menu > li > ul {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 10;
  min-width: 290px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

#nav-menu-container .nav-menu > li:hover > ul,
#nav-menu-container .nav-menu > li.sfHover > ul,
#nav-menu-container .nav-menu > li:focus-within > ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#nav-menu-container .nav-menu > li > ul a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
  border-radius: 7px;
}

#nav-menu-container .nav-menu > li > ul a:hover,
#nav-menu-container .nav-menu > li > ul a:focus-visible {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

#nav-menu-container .nav-menu img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

#mobile-nav,
#mobile-nav-toggle,
#mobile-body-overly {
  display: none;
}

/* Hero */
.banner-area {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4f2 0%, #f7fbfa 52%, #dcebed 100%);
  isolation: isolate;
}

.banner-area::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: url("../img/header-bg.jpg") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.banner-area .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.banner-content {
  max-width: 700px;
  padding: clamp(2rem, 4vw, 3.75rem);
  background: linear-gradient(145deg, rgba(9, 37, 58, 0.98), rgba(15, 68, 80, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 40, 62, 0.2);
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  color: #a9d9d4;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.banner-content h1 {
  max-width: 640px;
  margin: 0;
  color: var(--white) !important;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.banner-content h1 span {
  color: #a9d9d4;
}

.banner-content .hero-lead {
  max-width: 590px;
  margin: 1.75rem 0 0;
  color: var(--white) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 500;
  line-height: 1.65;
}

.banner-content .hero-detail {
  max-width: 590px;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.96rem;
  line-height: 1.85;
}

.banner-content .hero-note {
  max-width: 590px;
  margin: 1.5rem 0 0;
  padding: 0.8rem 0 0.8rem 1rem;
  color: #d7ece8 !important;
  font-size: 0.88rem;
  line-height: 1.7;
  border-left: 2px solid rgba(213, 154, 58, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-actions .primary-btn {
  margin: 0;
}

.hero-secondary-btn {
  color: var(--white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

.hero-secondary-btn:hover,
.hero-secondary-btn:focus-visible {
  color: var(--ink-strong) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

.hero-visual {
  display: grid;
  justify-items: center;
  width: min(100%, 390px);
  margin: 0 auto;
}

.hero-map-card {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 48px rgba(16, 40, 62, 0.18);
  transform: rotate(1.2deg);
}

.hero-map-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-visual figcaption {
  width: calc(100% - 1.5rem);
  margin-top: -0.2rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(215, 227, 229, 0.9);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: center;
}

/* Internal page heroes share the homepage language without repeating its announcement layout. */
.hero--internal .hero-internal-grid {
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2.75rem, 5vw, 4.75rem) 0;
}

.hero-internal-content {
  max-width: 720px;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: linear-gradient(145deg, rgba(9, 37, 58, 0.98), rgba(15, 68, 80, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(16, 40, 62, 0.2);
}

.hero--internal .hero__eyebrow {
  margin: 0 0 0.9rem;
  color: #bfe5e0 !important;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero--internal .hero__title {
  max-width: 650px;
  margin: 0;
  color: var(--white) !important;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero--internal .hero__summary {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 1rem;
  line-height: 1.85;
}

.hero--internal .hero__actions {
  margin-top: 1.5rem;
}

.hero--internal .hero__actions .primary-btn {
  margin: 0;
}

.hero--internal .hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero--internal .hero__breadcrumb a {
  color: #d7ece8 !important;
  text-decoration: underline;
  text-decoration-color: rgba(215, 236, 232, 0.45);
  text-underline-offset: 0.18em;
}

.hero--internal .hero__breadcrumb a:hover,
.hero--internal .hero__breadcrumb a:focus-visible {
  color: var(--white) !important;
  text-decoration-color: var(--white);
}

.hero--internal .breadcrumb-arrow {
  color: #d9aa5b;
  font-size: 1.1em;
}

.hero-internal-visual {
  position: relative;
  display: grid;
  min-height: 238px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(15, 68, 80, 0.96), rgba(9, 37, 58, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(16, 40, 62, 0.16);
}

.hero-internal-visual::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: url("../img/header-bg.jpg") center / cover no-repeat;
  opacity: 0.22;
}

.hero-internal-visual::after {
  position: absolute;
  right: -76px;
  bottom: -112px;
  z-index: -1;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(215, 154, 58, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(215, 154, 58, 0.08), 0 0 0 44px rgba(215, 154, 58, 0.06);
}

.hero-internal-mark {
  width: min(70%, 260px);
  padding: 1.2rem 1.35rem;
  color: var(--white);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  text-align: left;
}

.hero-internal-mark span {
  display: block;
  margin-bottom: 0.6rem;
  color: #bfe5e0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-internal-mark strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
}

.hero--internal .primary-btn:focus-visible,
.hero--internal .primary-btn:hover {
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

/* Shared sections and typography */
section:not(.banner-area),
#notice {
  position: relative;
}

.section-gap,
#about,
#notice {
  padding-top: var(--space-section) !important;
  padding-bottom: var(--space-section) !important;
}

#about,
.service-area,
.feature-area,
.galery-area,
.contact-page-area,
#notice {
  background: var(--white) !important;
}

.feature-area:nth-of-type(even),
.service-area,
.contact-page-area,
#notice {
  background: var(--surface) !important;
}

.title,
.header-text {
  max-width: 820px;
  margin: 0 auto 2.75rem !important;
  text-align: center;
}

.title h1,
.header-text h1,
.feature-area h1,
.service-area h1,
.contact-page-area h1 {
  margin: 0 0 0.75rem;
  color: var(--ink-strong);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.title p,
.header-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.title h1::after,
.header-text h1::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 1rem auto 0;
  content: "";
  background: var(--gold);
  border-radius: 999px;
}

#about {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: left;
}

#about > .title,
#about .detail {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

#about .detail {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

#about .detail h4 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 500;
}

#about .detail img {
  display: block;
  width: min(100%, 820px);
  margin: 2rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Content cards */
.feature-area .row:not(.d-flex),
.service-area .row:not(.d-flex) {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-right: 0;
  margin-left: 0;
}

.feature-area .row:not(.d-flex) > [class*="col-"],
.service-area .row:not(.d-flex) > [class*="col-"] {
  flex: 1 1 260px;
  width: auto;
  max-width: none;
  padding: 0;
}

.single-feature,
.single-service,
.feature-area .row:not(.d-flex) > [class*="col-"] > div > div,
.service-area .row:not(.d-flex) > [class*="col-"] > div > div {
  height: 100%;
  padding: 1.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.single-feature h4,
.single-service h4,
.feature-area .row:not(.d-flex) h4,
.service-area .row:not(.d-flex) h4 {
  margin: 0 0 0.65rem;
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.single-feature p,
.single-service p,
.feature-area .row:not(.d-flex) p,
.service-area .row:not(.d-flex) p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.single-feature,
.single-service {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.single-feature:hover,
.single-service:hover {
  border-color: rgba(8, 127, 131, 0.45);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Buttons and links */
.primary-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.25rem !important;
  color: var(--white) !important;
  background: var(--teal) !important;
  border: 1px solid var(--teal) !important;
  border-radius: 999px !important;
  font-size: 0.88rem !important;
  font-weight: 500;
  line-height: 1.25 !important;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.primary-btn:hover,
.primary-btn:focus-visible {
  color: var(--white) !important;
  background: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

/* Activity galleries */
.galery-area {
  border-top: 1px solid var(--line);
}

.galery-area .container > .row {
  margin-right: 0;
  margin-left: 0;
}

.galery-area .row:not(.d-flex) {
  row-gap: 20px;
}

.galery-area [class*="col-"] {
  padding-right: 10px;
  padding-left: 10px;
}

.single-gallery {
  display: block;
  overflow: hidden;
  background: var(--surface-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.single-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.single-gallery:hover img {
  transform: scale(1.03);
}

.gallery-item > [class*="col-"] > a.img-pop-up {
  display: block;
}

.single-gallery-image {
  min-height: 220px;
  background-position: center !important;
  background-size: cover !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.img-pop-up:hover .single-gallery-image {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Announcements and schedules */
#notice {
  /* Full-bleed section background; the child row keeps the readable content width. */
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: center;
}

#notice .container,
#notice > .row,
#notice > .menu-content {
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

#notice p {
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
}

#notice .primary-btn,
#notice + section .primary-btn {
  margin-top: 1rem;
}

iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Downloads */
.feature-area.download-section .row:not(.d-flex),
.footer-area.download-section .row:not(.d-flex) {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-right: 0;
  margin-left: 0;
}

.feature-area.download-section .row:not(.d-flex) > [class*="col-"],
.footer-area.download-section .row:not(.d-flex) > [class*="col-"] {
  flex: 1 1 280px;
  width: auto;
  max-width: none;
  padding: 0;
}

.feature-area.download-section .row:not(.d-flex) > [class*="col-"] > div,
.footer-area.download-section .row:not(.d-flex) > [class*="col-"] > div {
  height: 100%;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-area.download-section .row:not(.d-flex) center,
.footer-area.download-section .row:not(.d-flex) center {
  display: block;
  text-align: left;
}

.feature-area.download-section img,
.footer-area.download-section img {
  display: block;
  max-width: 100%;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
}

.feature-area.download-section .row:not(.d-flex) b,
.footer-area.download-section .row:not(.d-flex) b {
  color: var(--ink);
  font-weight: 500;
}

.feature-area.download-section .row:not(.d-flex) .primary-btn,
.footer-area.download-section .row:not(.d-flex) .primary-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Public-information schedules: keep each event and its download action together. */
#download .schedule-heading {
  max-width: 820px;
}

#download .schedule-list {
  display: grid;
  max-width: 1040px;
  gap: 1rem;
  margin: 0 auto;
}

#download .schedule-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

#download .schedule-card__body {
  min-width: 0;
}

#download .schedule-card__index {
  display: inline-flex;
  width: 2.45rem;
  height: 2.45rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(8, 127, 131, 0.2);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

#download .schedule-card__title {
  margin: 0 0 0.35rem;
  color: var(--ink-strong);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
}

#download .schedule-card__date {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-weight: 500;
  line-height: 1.6;
}

#download .schedule-card__details {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#download .schedule-card__details li {
  color: var(--muted);
  line-height: 1.7;
}

#download .schedule-card__actions {
  display: flex;
  min-width: 220px;
  align-items: center;
  justify-content: flex-end;
}

#download .schedule-card__actions .primary-btn {
  width: auto !important;
  margin-top: 0 !important;
  white-space: nowrap;
}

/* Publicity documents: the legacy section is text-only by design. */
#publicity {
  background: var(--surface) !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#publicity .publicity-title {
  margin: 0 0 1.5rem;
  color: var(--ink-strong) !important;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  text-align: center;
}

#publicity .row:not(.d-flex) {
  gap: 12px;
}

#publicity .row:not(.d-flex) > [class*="col-"] > div {
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

#publicity .row:not(.d-flex) > .col-lg-8 > div {
  position: relative;
  padding-left: 4.5rem;
}

#publicity .row:not(.d-flex) > .col-lg-8 > div::before {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  display: grid;
  width: 2.35rem;
  height: 2.7rem;
  place-items: center;
  content: "PDF";
  color: var(--teal-dark);
  background: var(--teal-soft);
  border: 1px solid rgba(8, 127, 131, 0.2);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

#publicity .row:not(.d-flex) p {
  color: var(--muted) !important;
}

#publicity .row:not(.d-flex) span {
  color: var(--teal-dark) !important;
  font-size: 0.76rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
}

#publicity .row:not(.d-flex) b {
  color: var(--ink) !important;
  font-weight: 500;
}

#publicity .single-footer-widget {
  display: flex;
  height: 100%;
  align-items: center;
}

#publicity .single-footer-widget h6:empty {
  display: none;
}

#publicity .single-footer-widget .primary-btn {
  margin-top: 0;
}

#publicity .primary-btn {
  color: var(--white) !important;
  background: var(--teal) !important;
  border-color: var(--teal) !important;
}

#publicity .primary-btn:hover,
#publicity .primary-btn:focus-visible {
  color: var(--white) !important;
  background: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
}

/* Contact */
.contact-page-area .map-wrap {
  width: 100% !important;
  height: auto !important;
  min-height: 250px;
  margin-bottom: 3.5rem !important;
  padding: 2rem;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.map-placeholder {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
}

.map-placeholder__eyebrow {
  margin-bottom: 0.5rem;
  color: #b7e3df;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.map-placeholder strong {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 500;
}

.map-placeholder p {
  margin: 0.5rem 0 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.map-placeholder .text-link {
  color: var(--white);
}

.contact-page-area .address-wrap {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-page-area .single-contact-address {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-page-area .single-contact-address:last-child {
  margin-bottom: 0;
}

.contact-page-area .single-contact-address .icon {
  flex: 0 0 36px;
  color: var(--teal);
}

.contact-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.breadcrumb-arrow {
  display: inline-block;
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2em;
}

.contact-page-area .contact-details h5 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.contact-page-area .contact-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.contact-page-area .contact-form {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left !important;
}

.contact-page-area .contact-form h5 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

/* Footer */
.footer-area {
  padding: 4.5rem 0 !important;
  background: var(--ink-strong) !important;
}

.footer-area .container,
.footer-area .row {
  margin-right: auto;
  margin-left: auto;
}

.footer-area h6 {
  margin-bottom: 1rem;
  color: var(--white) !important;
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-area p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-area .primary-btn {
  margin-top: 0.5rem;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.footer-area .primary-btn:hover,
.footer-area .primary-btn:focus-visible {
  color: var(--ink-strong) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

.footer-text:empty {
  display: none;
}

/* Mobile navigation is created by modern.js without the legacy jQuery stack. */
@media (max-width: 1199px) {
  #header > .container {
    padding-inline: clamp(16px, 3vw, 24px);
  }

  #header .container,
  #header .container > .row {
    min-height: 72px;
  }

  #header .container > .site-header-row {
    display: flex !important;
    justify-content: space-between;
    column-gap: 0;
  }

  #nav-menu-container {
    display: none !important;
  }

  #logo img {
    width: 148px;
  }

  .header-partner {
    width: 132px;
    flex-basis: 132px;
    margin-left: auto;
    margin-right: 54px;
    justify-self: auto;
  }

  .header-partner img {
    width: 266px;
  }

  #mobile-nav-toggle {
    position: fixed;
    top: 16px;
    right: 18px;
    z-index: 1002;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }

  #mobile-nav-toggle span,
  #mobile-nav-toggle span::before,
  #mobile-nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--teal-dark);
    border-radius: 2px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  #mobile-nav-toggle span {
    position: relative;
  }

  #mobile-nav-toggle span::before,
  #mobile-nav-toggle span::after {
    position: absolute;
    left: 0;
    content: "";
  }

  #mobile-nav-toggle span::before {
    top: -6px;
  }

  #mobile-nav-toggle span::after {
    top: 6px;
  }

  body.menu-open #mobile-nav-toggle span {
    background: transparent;
  }

  body.menu-open #mobile-nav-toggle span::before {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open #mobile-nav-toggle span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  #mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: block;
    width: min(86vw, 360px);
    padding: 96px 24px 28px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -12px 0 36px rgba(16, 40, 62, 0.18);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  body.menu-open #mobile-nav {
    transform: translateX(0);
  }

  #mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #mobile-nav > ul > li {
    border-bottom: 1px solid var(--line);
  }

  #mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--ink);
    font-size: 1rem;
  }

  #mobile-nav a:hover,
  #mobile-nav a:focus-visible {
    color: var(--teal);
  }

  #mobile-nav .current-page > a,
  #mobile-nav a[aria-current="page"] {
    color: var(--teal);
    font-weight: 600;
  }

  #mobile-nav .mobile-submenu-toggle {
    position: absolute;
    right: 0;
    margin-top: 8px;
    padding: 8px;
    color: var(--teal);
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  #mobile-nav .menu-has-children {
    position: relative;
    padding-right: 38px;
  }

  #mobile-nav .menu-has-children > ul {
    display: none;
    padding: 0 0 0 1rem;
  }

  #mobile-nav .menu-has-children.is-expanded > ul {
    display: block;
  }

  #mobile-nav .menu-has-children > ul a {
    min-height: 42px;
    color: var(--muted);
    font-size: 0.9rem;
  }

  #mobile-body-overly {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    visibility: hidden;
    background: rgba(9, 37, 58, 0.5);
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  body.menu-open #mobile-body-overly {
    visibility: visible;
    opacity: 1;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    gap: 1.5rem;
    padding: 4rem 0;
  }

  .banner-content {
    padding: 2rem;
  }

  .banner-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-visual {
    width: min(100%, 300px);
  }

  .hero--internal .hero-internal-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr);
    gap: 1.5rem;
    padding: 3.5rem 0;
  }

  .hero-internal-content {
    padding: 2rem;
  }

  .hero--internal .hero__title {
    font-size: clamp(1.9rem, 5vw, 3rem);
  }
}

@media (max-width: 767px) {
  .container,
  #about > .title,
  #about .detail {
    width: calc(100% - 32px) !important;
  }

  #header .container > .site-header-row {
    min-height: 72px;
  }

  .project-mark {
    padding: 8px 9px;
  }

  #logo img {
    width: 134px;
  }

  .header-partner {
    width: 112px;
    flex-basis: 112px;
    margin-left: auto;
    margin-right: 52px;
  }

  .header-partner img {
    width: 228px;
  }

  .hero-grid {
    display: block;
    padding: 3rem 0 4rem;
  }

  .banner-content {
    max-width: none;
    padding: 1.75rem;
    border-left-width: 4px;
  }

  .banner-content h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .banner-content .hero-detail,
  .banner-content .hero-note {
    font-size: 0.92rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .primary-btn {
    width: 100%;
  }

  .hero-visual {
    width: min(100%, 270px);
    margin: 2.25rem auto 0;
  }

  .hero--internal .hero-internal-grid {
    display: block;
    padding: 3rem 0 3.5rem;
  }

  .hero-internal-content {
    max-width: none;
    padding: 1.75rem;
    border-left-width: 4px;
  }

  .hero--internal .hero__title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero--internal .hero__summary {
    font-size: 0.94rem;
  }

  .hero--internal .hero__actions {
    display: grid;
  }

  .hero--internal .hero__actions .primary-btn {
    width: 100%;
  }

  .hero-internal-visual {
    min-height: 190px;
    margin-top: 1.5rem;
  }

  .hero-internal-mark {
    width: min(74%, 240px);
  }

  .section-gap,
  #about,
  #notice {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  .feature-area .row:not(.d-flex),
  .service-area .row:not(.d-flex),
  .feature-area.download-section .row:not(.d-flex),
  .footer-area.download-section .row:not(.d-flex) {
    gap: 14px;
  }

  .feature-area .row:not(.d-flex) > [class*="col-"],
  .service-area .row:not(.d-flex) > [class*="col-"],
  .feature-area.download-section .row:not(.d-flex) > [class*="col-"],
  .footer-area.download-section .row:not(.d-flex) > [class*="col-"] {
    flex-basis: 100%;
  }

  #download .schedule-card {
    display: block;
  }

  #download .schedule-card__actions {
    min-width: 0;
    margin-top: 1.25rem;
  }

  #download .schedule-card__actions .primary-btn {
    width: 100% !important;
  }

  .galery-area [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .single-gallery-image {
    min-height: 190px;
  }

  iframe {
    min-height: 340px;
  }

  .contact-page-area .map-wrap {
    margin-bottom: 2rem !important;
    padding: 0.75rem;
  }

  .footer-area {
    padding: 3.5rem 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* News page layout polish
 * Keep the legacy content and image links, but remove presentation-only
 * spacing from the layout and give each activity a predictable reading flow.
 */
.news-page .galery-area {
  scroll-margin-top: 96px;
  padding-top: clamp(3.5rem, 7vw, 6rem) !important;
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  background: var(--white) !important;
  border-top: 1px solid var(--line);
}

.news-page .galery-area:nth-of-type(odd) {
  background: var(--surface) !important;
}

.news-page #meet,
.news-page #meeting-update-2,
.news-page #meeting-update-4 {
  background: var(--surface) !important;
}

.news-page .galery-area > .container {
  width: min(var(--container), calc(100% - 48px)) !important;
  max-width: var(--container) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* These direct breaks were used only as old layout spacers. Breaks inside
   paragraphs remain visible because they carry meaningful line formatting. */
.news-page .galery-area > .container > br {
  display: none;
}

.news-page .galery-area > .container > .row.justify-content-center {
  display: flex !important;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important;
}

.news-page .galery-area > .container > .row.justify-content-center > .menu-content {
  flex: 0 1 820px !important;
  width: 100% !important;
  max-width: 820px !important;
  padding: 0 !important;
}

.news-page .galery-area .title {
  max-width: 820px;
  margin: 0 auto !important;
}

.news-page .galery-area .title h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.news-page .galery-area .title p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

/* Event/date descriptions sit between the section introduction and its
   gallery, instead of appearing as unstyled text against the page edge. */
.news-page .galery-area > .container > p {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 2vw, 1.5rem);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
  line-height: 1.85;
  text-align: left;
}

.news-page .galery-area > .container > .row.gallery-item {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(2.25rem, 4vw, 3.25rem) !important;
}

.news-page .galery-area .row.gallery-item > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  min-height: 0;
  padding: 0 !important;
}

.news-page .galery-area .gallery-item > [class*="col-"] > a.img-pop-up {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.news-page .galery-area .single-gallery-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
  background-color: var(--surface-deep);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.news-page .galery-area .gallery-item > [class*="col-"] > a.img-pop-up:hover .single-gallery-image,
.news-page .galery-area .gallery-item > [class*="col-"] > a.img-pop-up:focus-visible .single-gallery-image {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-page .galery-area > .container > center {
  display: block;
  margin-top: 1.5rem;
}

.news-page .galery-area > .container > center p {
  margin: 0;
}

@media (max-width: 991px) {
  .news-page .galery-area .row.gallery-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .news-page .galery-area {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  .news-page .galery-area > .container {
    width: calc(100% - 32px) !important;
  }

  .news-page .galery-area .row.gallery-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .news-page .galery-area .title h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .news-page .galery-area .title p,
  .news-page .galery-area > .container > p {
    font-size: 0.94rem;
    line-height: 1.8;
  }
}

/* Site-wide consistency layer
 * The clean staging pages still contain a few legacy container patterns.
 * Normalize their outer section and inner content widths without rewriting
 * the preserved project content or changing any public URL.
 */
.home-page .feature-area,
.home-page .service-area,
.home-page .facts-area,
.pr-page .feature-area,
.download-page .feature-area,
.download-page .footer-area.download-section,
.contact-page .contact-page-area {
  width: 100%;
  overflow: hidden;
}

.home-page .feature-area > .container,
.home-page .service-area > .container,
.home-page .facts-area > .container,
.pr-page .feature-area > .container,
.download-page .feature-area > .container,
.download-page .footer-area.download-section > .container,
.contact-page .contact-page-area > .container {
  width: min(var(--container), calc(100% - 48px)) !important;
  max-width: var(--container) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.contact-page .contact-page-area .address-wrap {
  /* The legacy markup uses flex-column; define it locally so contact items
     remain a readable vertical list inside the address card. */
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  min-width: 0;
}

.contact-page .contact-page-area .single-contact-address {
  min-width: 0;
  align-items: flex-start;
}

.contact-page .contact-page-area .contact-details {
  min-width: 0;
}

.contact-page .contact-page-area .map-wrap {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  background: linear-gradient(145deg, var(--ink-strong), var(--teal-dark));
}

.contact-page .contact-map-embed {
  display: block;
  width: 100%;
  height: clamp(320px, 38vw, 450px);
  min-height: 320px;
  border: 0 !important;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.contact-page .contact-map-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.25rem 0.5rem 0.35rem;
}

.contact-page .contact-map-caption strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

.contact-page .contact-map-caption .text-link {
  color: #d7ece8;
  font-weight: 500;
}

.contact-page .contact-map-caption .text-link:hover,
.contact-page .contact-map-caption .text-link:focus-visible {
  color: var(--white);
}

.home-page .header-text,
.home-page .feature-area .title,
.home-page .service-area .title,
.pr-page .header-text,
.pr-page .feature-area .title,
.download-page .header-text,
.contact-page .header-text {
  margin-right: auto !important;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem) !important;
  margin-left: auto !important;
  padding-bottom: 0 !important;
}

.home-page .feature-area .row:not(.d-flex),
.home-page .service-area .row:not(.d-flex),
.pr-page .feature-area .row:not(.d-flex),
.download-page .feature-area.download-section .row:not(.d-flex),
.download-page .footer-area.download-section .row:not(.d-flex) {
  align-items: stretch;
}

.home-page .feature-area .row:not(.d-flex) > [class*="col-"] > div,
.home-page .service-area .row:not(.d-flex) > [class*="col-"] > div,
.pr-page .feature-area .row:not(.d-flex) > [class*="col-"] > div,
.download-page .feature-area.download-section .row:not(.d-flex) > [class*="col-"] > div,
.download-page .footer-area.download-section .row:not(.d-flex) > [class*="col-"] > div {
  min-width: 0;
}

/* Public-information page: turn the two old, standalone containers into
   readable full-width sections while keeping their original text. */
.pr-page #notice {
  padding-top: clamp(3.25rem, 6vw, 5.25rem) !important;
  padding-bottom: clamp(3.25rem, 6vw, 5.25rem) !important;
}

.pr-page #notice > .row {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin-right: auto !important;
  margin-left: auto !important;
}

.pr-page #notice > .row > .menu-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.pr-page #notice .title,
.pr-page > .container:not(#notice) .title {
  max-width: 900px;
  margin: 0 auto !important;
  font-size: 0;
}

.pr-page #notice .title h1,
.pr-page > .container:not(#notice) .title h1 {
  margin: 0 0 0.8rem;
  color: var(--ink-strong);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.pr-page #notice .title p,
.pr-page > .container:not(#notice) .title p {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.pr-page #notice .title p:empty,
.pr-page > .container:not(#notice) .title p:empty {
  display: none;
}

.pr-page #notice .title h1:nth-of-type(2) {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px dashed var(--muted);
}

.pr-page > .container:not(#notice) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-top: clamp(3.5rem, 7vw, 6rem) !important;
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.pr-page > .container:not(#notice) > .row {
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  margin-right: auto !important;
  margin-left: auto !important;
}

.pr-page > .container:not(#notice) > .row > .menu-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.pr-page #download,
.download-page #download {
  border-top: 1px solid var(--line);
}

/* Make document cards align to the same baseline even when labels wrap. */
.download-page .feature-area.download-section .row:not(.d-flex) > [class*="col-"] > div,
.pr-page #feature .row:not(.d-flex) > [class*="col-"] > div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.download-page .feature-area.download-section center,
.pr-page #feature center,
.pr-page #publicity center {
  display: block;
  text-align: center;
}

@media (max-width: 767px) {
  .home-page .feature-area > .container,
  .home-page .service-area > .container,
  .home-page .facts-area > .container,
  .pr-page .feature-area > .container,
  .download-page .feature-area > .container,
  .download-page .footer-area.download-section > .container,
  .contact-page .contact-page-area > .container,
  .pr-page #notice > .row,
  .pr-page > .container:not(#notice) > .row {
    width: calc(100% - 32px) !important;
  }

  .pr-page #notice .title h1,
  .pr-page > .container:not(#notice) .title h1 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .pr-page #notice .title p,
  .pr-page > .container:not(#notice) .title p {
    font-size: 0.94rem;
    line-height: 1.8;
  }
}

/* Homepage partner / authority brand strip */
.home-page .facts-area {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
  background: var(--ink-strong) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-page .facts-area > .container > .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  margin: 0 !important;
}

.home-page .facts-area .single-fact {
  display: grid;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  min-height: 148px;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.home-page .facts-area .single-fact img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

/* brand1.png contains transparent canvas around the seal, so allow its
   canvas to be wider while keeping the visible mark optically balanced. */
.home-page .facts-area .single-fact:first-child img {
  width: min(100%, 520px);
  max-height: 145px;
  transform: none;
}

.home-page .facts-area .single-fact:first-child {
  justify-items: start;
  background: linear-gradient(145deg, var(--ink-strong), var(--teal-dark)) !important;
  border-color: rgba(255, 255, 255, 0.18);
}

.home-page .facts-area .single-fact:nth-child(2) {
  justify-items: start;
  background: linear-gradient(145deg, var(--ink-strong), var(--teal-dark)) !important;
  border-color: rgba(255, 255, 255, 0.18);
}

.home-page .facts-area .single-fact:nth-child(2) img {
  /* brand2.png has transparent space on its right; this centers the visible
     logo-and-company-name group, rather than the raw image canvas. */
  transform: translateX(15%);
}

@media (max-width: 767px) {
  .home-page .facts-area > .container > .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .facts-area .single-fact {
    min-height: 128px;
  }
}

/* Public-information meeting venues */
.pr-page #feature {
  padding-top: clamp(3.5rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3.5rem, 6vw, 5rem) !important;
  background: var(--surface) !important;
  border-top: 1px solid var(--line);
}

.pr-page #feature > .container > .row:not(.d-flex) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: 0 !important;
}

.pr-page #feature > .container > .row:not(.d-flex) > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}

.pr-page #feature > .container > .row:not(.d-flex) > [class*="col-"] > div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.pr-page #feature > .container > .row:not(.d-flex) > [class*="col-"] > div > center {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
}

.pr-page #feature > .container > .row:not(.d-flex) > [class*="col-"] > div > center > br {
  display: none;
}

.pr-page #feature > .container > .row:not(.d-flex) img {
  display: block;
  width: min(100%, 190px) !important;
  margin: 0 auto !important;
}

.pr-page #feature > .container > .row:not(.d-flex) h4 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.1rem;
  font-weight: 500;
}

.pr-page #feature > .container > .row:not(.d-flex) p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.pr-page #feature > .container > .row:not(.d-flex) .primary-btn {
  width: auto !important;
  margin: 0.25rem auto 0 !important;
}

@media (max-width: 991px) {
  .pr-page #feature > .container > .row:not(.d-flex) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-page .facts-area .single-fact:first-child img {
    transform: none;
  }

  .pr-page #feature > .container > .row:not(.d-flex) {
    grid-template-columns: minmax(0, 1fr);
  }
}
