* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #8ec8f4 0%, #d4eafa 48%, #f5f8fc 100%);
  color: #1f2937;
}

body::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  aspect-ratio: 1315 / 700;
  background:
    linear-gradient(rgba(239, 246, 255, 0.8), rgba(239, 246, 255, 0.8)),
    url("../IMAGES/balanti.png") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 12%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 12%, transparent 100%);
}

a {
  text-decoration: none;
  color: inherit;
}

.fullbg {
  position: relative;
  background: transparent;
  padding: 18px 0;
}

/* NAVBAR */
.topnav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 8px clamp(20px, 4vw, 52px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

body.bms-sky-enabled .bms-sky-cycle {
  z-index: 999;
}

body.bms-sky-enabled header.topnav {
  background: rgba(255, 255, 255, 0.97) !important;
}

header.topnav nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-area {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #263449 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-area img {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #475569;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 10px;
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0%;
  height: 2px;
  background: #0b63b6;
  transition: 0.3s ease;
}

.nav-links li a:not(.account-link):hover,
.nav-links li a.nav-link--active {
  color: #0b63b6;
  background: transparent;
}

.nav-links li a:hover::after,
.nav-links li a.nav-link--active::after {
  width: 100%;
}

.nav-links li a i {
  font-size: 14px;
}

.account-link {
  background: #ffffff;
  color: #2f5597 !important;
  padding: 12px 18px !important;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
}

.account-link::after {
  display: none;
}

.account-link:hover {
  transform: translateY(-1px);
  background: #f8fafc;
}

.nav-links a:focus-visible,
.boxcontainer > a:focus-visible {
  outline: 3px solid #3478c8;
  outline-offset: 3px;
}

#dashboard,
#news-updates,
#services,
#about,
#contact-section {
  scroll-margin-top: 100px;
}

/* HERO */
.topp {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 42px;
}

.welcome-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: 28px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(112deg, #075ab5 0%, #064b97 60%, #075080 100%);
  box-shadow: 0 22px 52px rgba(8, 54, 105, 0.25);
  color: #ffffff;
}

body.bms-sky-enabled .welcome-card.welcome-card {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: linear-gradient(112deg, #075ab5 0%, #064b97 60%, #075080 100%) !important;
  box-shadow: 0 18px 42px rgba(8, 54, 105, 0.22) !important;
  color: #ffffff !important;
}

.welcome-card-copy {
  max-width: 740px;
  min-width: 0;
}

.welcome-card-logo {
  display: block;
  width: min(100%, 152px);
  aspect-ratio: 1;
  justify-self: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.welcome-card-footer {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(190px, 1fr) 56px auto;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-detail {
  display: grid;
  gap: 5px;
}

.welcome-detail--date {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 5px;
}

.welcome-date-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.welcome-detail-label {
  color: #c9e2ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.welcome-detail strong {
  color: #ffffff;
  font-size: 15px;
  white-space: nowrap;
}

.landing-theme-orbit {
  display: grid;
  min-width: 56px;
  min-height: 56px;
  place-items: center;
}

.top-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.welcome-card h1 {
  color: #ffffff;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.welcome-card h1 span {
  color: #79a8ff;
}

.hero-subtext {
  max-width: 700px;
  margin-top: 14px;
  color: #e6f1ff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

body.bms-sky-enabled .welcome-card.welcome-card :is(h1, .hero-subtext, .welcome-detail strong) {
  color: #ffffff !important;
}

body.bms-sky-enabled .welcome-card.welcome-card .welcome-card-copy h1 span {
  color: #a9c5ff !important;
}

body.bms-sky-enabled .welcome-card.welcome-card .top-badge {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.bms-sky-enabled .welcome-card.welcome-card .welcome-detail-label {
  color: #c9e2ff !important;
}

/* SHARED SECTION STYLE */
.section-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 3.2vw, 38px);
  color: #2f5597;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #5b6473;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* NEWS AND UPDATES */
.news-updates {
  padding: 76px 0;
  background: transparent;
}

.news-carousel {
  width: min(100%, 1160px);
  margin: 0 auto;
  background: transparent;
}

.news-carousel-viewport {
  overflow: hidden;
  background: transparent;
}

.news-carousel-track {
  display: flex;
  width: 100%;
  gap: 18px;
  transition: transform 0.4s ease;
}

.news-update-card {
  display: flex;
  flex: 0 0 calc((100% - 54px) / 4);
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e1e8f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  text-align: left;
}

.news-update-card:focus-visible {
  outline: 3px solid #3478c8;
  outline-offset: -3px;
}

.news-update-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  background: #e8edf4;
  object-fit: cover;
}

.news-update-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  text-align: left;
}

.news-update-date {
  display: block;
  margin-bottom: 9px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.news-update-copy h3 {
  margin: 0 0 10px;
  color: #263f78;
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.news-update-author {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.news-update-preview {
  align-self: stretch;
  width: 100%;
  max-height: 6.6em;
  margin: 0 0 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  color: #526680;
  line-height: 1.65;
  overflow-wrap: anywhere;
  scrollbar-gutter: stable;
  direction: ltr !important;
  text-align: left !important;
  white-space: pre-wrap;
}

.news-update-preview:focus-visible {
  border-radius: 4px;
  outline: 2px solid #3478c8;
  outline-offset: 3px;
}

.news-update-read-more {
  margin-top: auto;
  color: #2f5597;
  font-size: 14px;
  font-weight: 700;
}

.news-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.news-carousel-dot:focus-visible,
.news-update-modal-close:focus-visible {
  outline: 3px solid #3478c8;
  outline-offset: 3px;
}

.news-carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px;
}

.news-carousel-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.news-carousel-dot.is-active {
  background: #2f5597;
  transform: scale(1.2);
}

.news-carousel-dot:hover,
.news-carousel-dot:focus-visible {
  transform: scale(1.5);
}

.news-carousel-dot[hidden] {
  display: none;
}

.news-update-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
}

.news-update-modal.is-open {
  display: flex;
}

.news-update-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 1000px);
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid #a89c87;
  border-radius: 4px;
  background: #f5efdf;
  color: #332a24;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.news-update-modal-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 239, 223, 0.96);
  color: #332a24;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.news-update-modal-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.news-paper-photo {
  min-width: 0;
  margin: 0;
  break-inside: avoid;
}

.news-paper-story {
  display: block;
}

.news-paper-story:not(.is-side-by-side) .news-paper-photo {
  margin-bottom: 22px;
}

.news-paper-story:not(.is-side-by-side) .news-update-modal-image {
  width: 100%;
  max-height: 44vh;
}

.news-paper-story.is-side-by-side {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 24px;
}

.news-paper-story.is-side-by-side .news-update-modal-image {
  max-height: 62vh;
}

.news-paper-story.is-side-by-side .news-update-full-description {
  column-count: 1;
}

.news-update-modal-copy {
  min-width: 0;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 42px);
  background-color: #f5efdf;
  background-image:
    radial-gradient(rgba(108, 82, 53, 0.07) 0.55px, transparent 0.7px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 35%, rgba(108, 82, 53, 0.025));
  background-size: 5px 5px, 100% 100%;
  color: #332a24;
  text-align: left;
}

.news-paper-header {
  margin-bottom: 20px;
  padding: 8px 0 12px;
  border-top: 5px double #382e28;
  border-bottom: 5px double #382e28;
  color: #382e28;
  text-align: center;
}

.news-paper-masthead {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-transform: uppercase;
}

.news-paper-edition {
  margin: 7px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.news-update-modal-copy h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 3px double #382e28;
  color: #332a24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}

.news-paper-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #76685b;
  color: #51463d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-paper-byline .news-update-date,
.news-paper-byline .news-update-author {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.news-paper-byline :is(.news-update-date, .news-update-author) {
  color: #51463d !important;
}

.news-update-full-description {
  color: #382e28;
  column-count: 2;
  column-gap: 32px;
  column-rule: 1px solid rgba(86, 69, 52, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: pre-wrap;
}

.news-updates-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #526680;
  text-align: center;
}

/* FEATURES */
.features {
  background: transparent;
  padding: 76px 0;
}

.boxcontainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.boxcontainer > a {
  display: block;
  min-width: 0;
}

.box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 270px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: none;
  border: 1px solid #e8edf4;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.boxcontainer > a:hover .box,
.boxcontainer > a:focus-visible .box {
  transform: translateY(-5px);
  border-color: #cbd9ee;
  box-shadow: none;
}

.service-icon {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #edf3ff;
  color: #2f5597;
  font-size: 30px;
}

.box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2f5597;
  font-size: 22px;
  font-weight: 800;
}

.box p {
  max-width: 290px;
  color: #5b6473;
  font-size: 16px;
  line-height: 1.6;
}

/* ABOUT */
.about {
  background: transparent;
  padding: 76px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 18px;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 420px; /* control size */
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 20px;

  /* DESIGN UPGRADE */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 5px solid #ffffff;

  transition: 0.3s ease;
}

/* HOVER EFFECT (optional but nice) */
.about-image img:hover {
  transform: scale(1.03);
}

/* MISSION VISION */
.misvis {
  background: transparent;
  padding: 76px 0;
}

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

.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  border: 1px solid #e8edf4;
  height: 100%;
}

.card h2 {
  color: #2f5597;
  font-size: 30px;
  margin-bottom: 18px;
  font-weight: 800;
}

.card p {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.mission,
.vision {
  background: #ffffff;
}

/* CONTACT */
.contact {
  background: transparent;
  padding: 76px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.contact-left,
.contact-form {
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #e8edf4;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.contact-left {
  padding: 24px;
}

.hotline-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hotline-heading-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #e8efff;
  color: #2f5597;
  font-size: 20px;
}

.hotline-heading h2 {
  margin: 0;
  color: #1f3f78;
  font-size: 22px;
  line-height: 1.25;
}

.hotline-heading p {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

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

.hotline-group {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e4eaf3;
  border-radius: 16px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hotline-group:hover {
  border-color: #c8d7f4;
  box-shadow: 0 8px 20px rgba(47, 85, 151, 0.08);
  transform: translateY(-2px);
}

.hotline-group h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #1f3f78;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
}

.hotline-group h3 > span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 9px;
  background: #edf3ff;
  color: #2f5597;
  font-size: 11px;
  font-weight: 800;
}

.hotline-group p {
  margin: 6px 0 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.5;
}

.hotline-group p strong {
  display: inline-block;
  min-width: 48px;
  color: #1f2937;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hotline-line > span {
  display: inline;
}

.hotline-line a,
.municipal-hotline a {
  color: #2f5597;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hotline-line a:hover,
.municipal-hotline a:hover {
  color: #1d3e7b;
  text-decoration: underline;
}

.cainta-hotlines {
  margin-top: 0;
  border-color: #dce6f7;
  background: #f2f6ff;
}

.hotline-group .cainta-hotlines-title {
  margin-bottom: 12px;
  color: #1f3f78;
  font-size: 22px;
  line-height: 1.25;
}

.cainta-hotlines-title i {
  color: #2f5597;
}

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

.municipal-hotline {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  margin: 0 !important;
  padding: 9px 10px;
  border: 1px solid #e1e9f6;
  border-radius: 11px;
  background: #ffffff;
}

.municipal-hotline > i {
  width: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  color: #5376b5;
  text-align: center;
}

.municipal-hotline > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  line-height: 1.5;
}

.municipal-hotline > span strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.municipal-hotline > span .municipal-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 5px;
}

.municipal-hotline > span a {
  white-space: normal;
}

.contact-form {
  padding: 34px 30px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #1f3f78;
  font-size: 34px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 12px;
  font-weight: 700;
  color: #1f2937;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  margin-top: 8px;
  border: 1px solid #d7e0ea;
  background: #ffffff;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2f5597;
  box-shadow: 0 0 0 4px rgba(47, 85, 151, 0.12);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  margin-top: 24px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #2f5597;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #24457d;
  transform: translateY(-1px);
}

/* FOOTER */
.site-footer {
  padding: 42px 20px 18px;
  background: linear-gradient(135deg, #1c3159, #2f5597);
  color: #eaf0ff;
}

body.bms-sky-enabled .site-footer {
  background: transparent !important;
  color: var(--bms-footer-text) !important;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(140px, 0.7fr) minmax(180px, 0.8fr);
  gap: 36px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding-bottom: 30px;
}

.site-footer__brand,
.site-footer__heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

body.bms-sky-enabled .site-footer :is(.site-footer__brand, .site-footer__heading) {
  color: var(--bms-footer-title) !important;
}

.site-footer__brand {
  font-size: 20px;
}

.site-footer__description {
  max-width: 390px;
  margin-top: 10px;
  color: #d3def5;
  font-size: 14px;
  line-height: 1.7;
}

body.bms-sky-enabled .site-footer :is(.site-footer__description, .site-footer__copyright) {
  color: var(--bms-footer-text) !important;
}

.site-footer__links {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.site-footer__links a {
  width: fit-content;
  color: #eaf0ff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.bms-sky-enabled .site-footer__links a {
  color: var(--bms-footer-link) !important;
}

.site-footer__links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.bms-sky-enabled .site-footer__links a:hover {
  color: var(--bms-footer-title) !important;
}

.site-footer__links a:focus-visible {
  border-radius: 3px;
  outline: 3px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.site-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #d3def5;
  font-size: 13px;
  text-align: center;
}

/* POPUP CSS */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  z-index: 9999;
}

.popup-content {
  width: 90%;
  max-width: 380px;
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: popupFade 0.3s ease;
}

.popup-icon {
  font-size: 50px;
  margin-bottom: 10px;
  font-weight: bold;
}

.popup-content.success {
  border-top: 6px solid #28a745;
}

.popup-content.success .popup-icon {
  color: #28a745;
}

.popup-content.success button {
  background: #28a745;
  color: white;
}

.popup-content.error {
  border-top: 6px solid #dc3545;
}

.popup-content.error .popup-icon {
  color: #dc3545;
}

.popup-content.error button {
  background: #dc3545;
  color: white;
}

.popup-content button {
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.65);
}

.account-modal.is-open {
  display: flex;
}

body.account-modal-open {
  overflow: hidden;
}

body.news-update-modal-open {
  overflow: hidden;
}

body.contact-message-modal-open {
  overflow: hidden;
}

.contact-message-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  margin: 24px auto 0;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: #2f5597;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-message-button:hover {
  background: #24457d;
  transform: translateY(-1px);
}

.contact-message-button:focus-visible,
.contact-message-close:focus-visible {
  outline: 3px solid #8bb5ff;
  outline-offset: 3px;
}

.contact-message-modal {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
}

.contact-message-modal.is-open {
  display: flex;
}

.contact-message-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: min(90vh, 850px);
  overflow-y: auto;
  border: 1px solid #e8edf4;
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  animation: popupFade 0.25s ease;
}

.contact-message-dialog .contact-form {
  border: 0;
  box-shadow: none;
}

.contact-message-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #34445c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.account-dialog {
  position: relative;
  width: min(100%, 480px);
  padding: 36px;
  border: 1px solid var(--bms-border, #c5d5e8);
  border-radius: 20px;
  background: linear-gradient(
    140deg,
    var(--bms-panel-start, #ffffff),
    var(--bms-panel-end, #f3f7ff)
  );
  color: var(--bms-text, #1f2937);
  text-align: center;
  box-shadow: var(--bms-shadow, 0 24px 70px rgba(0, 0, 0, 0.28));
  animation: popupFade 0.25s ease;
}

.account-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bms-input, #eef2f7);
  color: var(--bms-text, #34445c);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.account-dialog-eyebrow {
  margin-bottom: 8px;
  color: var(--bms-footer-link, #2f5597);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-dialog h2 {
  margin-bottom: 10px;
  color: var(--bms-text, #1f3f73);
  font-size: 28px;
}

.account-dialog-description {
  margin-bottom: 24px;
  color: var(--bms-muted-text, #5b6678);
  line-height: 1.6;
}

.account-dialog-actions {
  display: grid;
  gap: 12px;
}

.account-login-form {
  display: grid;
  gap: 10px;
  text-align: left;
}

.account-login-form[hidden],
.account-options[hidden] {
  display: none;
}

.account-login-form label {
  color: var(--bms-text, #34445c);
  font-size: 14px;
  font-weight: 700;
}

.account-login-form input:not([type="hidden"]) {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--bms-border, #cbd5e1);
  border-radius: 9px;
  background: var(--bms-input, #ffffff);
  color: var(--bms-text, #1f2937);
  font-size: 16px;
}

.account-login-form input:focus {
  border-color: var(--bms-nav-active, #2f5597);
  outline: 3px solid rgba(47, 85, 151, 0.18);
}

.account-login-error {
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff1f2;
  color: #b42318;
  font-size: 14px;
  line-height: 1.45;
}

.account-login-notice {
  margin-bottom: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e4f91;
  font-size: 14px;
  line-height: 1.45;
}

.account-login-forgot {
  justify-self: end;
  margin: 2px 0 8px;
  color: var(--bms-footer-link, #2f5597);
  font-size: 14px;
  font-weight: 700;
}

.account-login-actions {
  display: grid;
  gap: 10px;
}

.account-dialog-button {
  width: 100%;
  display: block;
  padding: 13px 18px;
  border: 2px solid var(--bms-nav-active, #2f5597);
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.account-dialog-button-primary {
  background: var(--bms-footer-title, #2f5597);
  color: #ffffff;
}

.account-dialog-button-primary:hover {
  background: var(--bms-nav-text, #244475);
}

.account-dialog-button-secondary {
  background: var(--bms-panel-start, #ffffff);
  color: var(--bms-footer-link, #2f5597);
}

.account-dialog-button-secondary:hover {
  background: var(--bms-panel-end, #eef3fb);
}

body.bms-sky-enabled .account-dialog .account-dialog-description {
  color: var(--bms-muted-text) !important;
}

body.bms-sky-enabled .account-dialog .account-login-error {
  background: #fff1f2 !important;
  color: #b42318 !important;
}

body.bms-sky-enabled .account-dialog .account-login-notice {
  background: #eff6ff !important;
  color: #1e4f91 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.features, .misvis) {
  background: transparent !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.about, .contact, .news-updates) {
  background: transparent !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.features, .about, .misvis, .contact, .news-updates) :is(
  h1, h2, h3, h4, h5, h6, p, span, strong, em, label, li, small, dt, dd, figcaption
) {
  color: #26324a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .section-wrap .section-title {
  color: #263f78 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .section-wrap .section-subtitle {
  color: #526680 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="dawn"] .section-wrap .section-title {
  color: #563a2b !important;
}

body.bms-sky-enabled[data-bms-sky-phase="dawn"] .section-wrap .section-subtitle {
  color: #594133 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="sunset"] .section-wrap .section-title {
  color: #3e2d45 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="sunset"] .section-wrap .section-subtitle {
  color: #49364f !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.features .box, .misvis .card, .contact-left, .contact-form, .hotline-group) {
  border-color: #d7e1ef !important;
  background: #ffffff !important;
  color: #26324a !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(
  .features .box h3,
  .misvis .card h2,
  .hotline-heading h2,
  .hotline-group h3,
  .contact-form h2,
  .contact-form label,
  .hotline-group p,
  .hotline-group p strong,
  .about-text p
) {
  color: #26324a !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.features .box p, .hotline-heading p) {
  color: #526680 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .features .service-icon,
body.bms-sky-enabled[data-bms-sky-scheme="light"] .hotline-group h3 > span {
  background: #edf3ff !important;
  color: #3157a4 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(
  .hotline-line a,
  .municipal-hotline a,
  .cainta-hotlines-title i,
  .municipal-hotline > i
) {
  color: #3157a4 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .cainta-hotlines {
  border-color: #d7e1ef !important;
  background: #f3f7ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .municipal-hotline {
  border-color: #e1e9f6 !important;
  background: #ffffff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.municipal-hotline > span, .municipal-hotline > span strong) {
  color: #26324a !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.contact-form input, .contact-form textarea) {
  border-color: #c5d5e8 !important;
  background: #ffffff !important;
  color: #26324a !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.features, .misvis) {
  background: transparent !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.about, .contact, .news-updates) {
  background: transparent !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.features, .about, .misvis, .contact, .news-updates) :is(
  h1, h2, h3, h4, h5, h6, p, span, strong, em, label, li, small, dt, dd, figcaption
) {
  color: #f1f5ff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .section-wrap .section-title {
  color: #e8eef9 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .section-wrap .section-subtitle {
  color: #c4d0e5 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.features .box, .misvis .card, .contact-left, .contact-form, .hotline-group) {
  border-color: #53698b !important;
  background: #283a5b !important;
  color: #f1f5ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(
  .features .box h3,
  .misvis .card h2,
  .hotline-heading h2,
  .hotline-group h3,
  .contact-form h2,
  .contact-form label,
  .hotline-group p,
  .hotline-group p strong,
  .about-text p
) {
  color: #f1f5ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.features .box p, .hotline-heading p) {
  color: #c4d0e5 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .features .service-icon,
body.bms-sky-enabled[data-bms-sky-scheme="dark"] .hotline-group h3 > span {
  background: #34476e !important;
  color: #d8e4ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(
  .hotline-line a,
  .municipal-hotline a,
  .cainta-hotlines-title i,
  .municipal-hotline > i
) {
  color: #c1d3ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .cainta-hotlines {
  border-color: #53698b !important;
  background: #1d2b45 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .municipal-hotline {
  border-color: #53698b !important;
  background: #1d2b45 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.municipal-hotline > span, .municipal-hotline > span strong) {
  color: #f1f5ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.contact-form input, .contact-form textarea) {
  border-color: #53698b !important;
  background: #15233a !important;
  color: #f1f5ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .contact-message-dialog {
  border-color: #53698b;
  background: #283a5b;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .contact-message-close {
  background: #15233a;
  color: #f1f5ff;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-update-card {
  border-color: #d7e1ef !important;
  background: #ffffff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-update-copy h3 {
  color: #26324a !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] :is(.news-update-preview, .news-update-date, .news-update-author, .news-updates-empty, .news-update-full-description) {
  color: #526680 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-update-read-more {
  color: #3157a4 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-carousel-pagination {
  padding: 10px 16px;
  border: 1px solid #a9bfd8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 12px rgba(31, 57, 91, 0.18);
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-carousel-dot {
  border: 1px solid #526b8b;
  background: #8ca2bd;
}

body.bms-sky-enabled[data-bms-sky-scheme="light"] .news-carousel-dot.is-active {
  border-color: #174b91;
  background: #174b91;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #174b91;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-card {
  border-color: #53698b !important;
  background: #283a5b !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-copy h3 {
  color: #f1f5ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(.news-update-preview, .news-update-date, .news-update-author, .news-updates-empty, .news-update-full-description) {
  color: #c4d0e5 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-read-more {
  color: #c1d3ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-dialog {
  border-color: #a89c87 !important;
  background: #f5efdf !important;
  color: #332a24 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-modal-copy h2 {
  border-color: #382e28 !important;
  color: #332a24 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] :is(
  .news-paper-header,
  .news-paper-byline,
  .news-update-modal-copy,
  .news-update-full-description
) {
  border-color: #76685b !important;
  background-color: #f5efdf !important;
  color: #382e28 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-paper-byline :is(.news-update-date, .news-update-author) {
  color: #51463d !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-carousel-dot {
  background: #7185a6 !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-carousel-dot.is-active {
  background: #c1d3ff !important;
}

body.bms-sky-enabled[data-bms-sky-scheme="dark"] .news-update-modal-close {
  background: rgba(245, 239, 223, 0.96) !important;
  color: #332a24 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="night"] .news-update-modal {
  background: rgba(15, 23, 42, 0.72) !important;
}

body.bms-sky-enabled[data-bms-sky-phase="night"] .news-update-modal :is(
  .news-update-dialog,
  .news-update-modal-copy
) {
  border-color: #a89c87 !important;
  background-color: #f5efdf !important;
  color: #332a24 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="night"] .news-update-modal .news-update-modal-copy {
  background-image:
    radial-gradient(rgba(108, 82, 53, 0.07) 0.55px, transparent 0.7px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 35%, rgba(108, 82, 53, 0.025)) !important;
}

body.bms-sky-enabled[data-bms-sky-phase="night"] .news-update-modal .news-update-modal-copy * {
  color: #382e28 !important;
}

body.bms-sky-enabled[data-bms-sky-phase="night"] .news-update-modal .news-update-modal-close {
  border-color: #a89c87 !important;
  background: rgba(245, 239, 223, 0.96) !important;
  color: #332a24 !important;
}

/* RESPONSIVE */
@media (max-width: 560px) {
  .news-paper-story.is-side-by-side {
    display: block;
  }

  .news-paper-story.is-side-by-side .news-paper-photo {
    margin-bottom: 22px;
  }

  .news-paper-story.is-side-by-side .news-update-modal-image {
    width: 100%;
    max-height: 40vh;
  }
}

@media (max-width: 1200px) {
  .boxcontainer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .news-carousel-track {
    gap: 14px;
  }

  .news-update-card {
    flex-basis: calc((100% - 28px) / 3);
  }

  .topnav {
    flex-direction: column;
    gap: 8px;
    padding: 10px 18px;
  }

  header.topnav nav {
    position: static;
    transform: none;
  }

  .nav-links {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .welcome-card {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 20px;
  }

  .welcome-card-footer {
    grid-template-columns: auto minmax(150px, 1fr) 48px auto;
    gap: 16px;
  }

  .landing-theme-orbit {
    min-width: 48px;
    min-height: 48px;
  }

  .welcome-card-logo {
    width: 145px;
  }

  .about-container,
  .contact-container,
  .misvis-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-message-modal {
    padding: 12px;
  }

  .contact-message-dialog {
    max-height: 94vh;
  }

  .contact-message-dialog .contact-form {
    padding: 30px 22px;
  }

  .news-update-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .logo-area {
    gap: 9px;
    font-size: 13px;
  }

  .logo-area img {
    width: 44px;
    height: 44px;
  }

  .nav-links li a {
    font-size: 15px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .welcome-card {
    padding: 24px 22px;
  }

  .welcome-card {
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 14px;
  }

  .welcome-card-footer {
    grid-template-columns: 1fr 1.5fr;
    gap: 14px 12px;
  }

  .welcome-detail--date {
    grid-column: 2;
  }

  .welcome-detail--date strong {
    white-space: normal;
  }

  .landing-theme-orbit {
    grid-column: 1;
    grid-row: 2;
    min-width: 48px;
    min-height: 48px;
    justify-self: center;
  }

  .welcome-card-logo {
    width: 110px;
  }

  .welcome-card h1 {
    font-size: clamp(34px, 8vw, 44px);
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-bottom: 34px;
  }

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

  .features,
  .news-updates,
  .about,
  .misvis,
  .contact {
    padding: 70px 0;
  }

  .news-paper-story:not(.is-side-by-side) .news-update-modal-image {
    max-height: 40vh;
  }

  .news-paper-story.is-side-by-side {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
  }

  .about-text p,
  .card p {
    font-size: 16px;
  }

  .contact-left {
    padding: 20px;
  }

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

  .cainta-hotline-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 34px 20px 16px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .site-footer__brand-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .news-update-card {
    flex-basis: 100%;
  }

  .welcome-card {
    grid-template-columns: 1fr;
  }

  .welcome-card-footer {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .welcome-detail--date {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .landing-theme-orbit {
    grid-column: 1;
    grid-row: 3;
  }

  .welcome-card-logo {
    width: 96px;
  }

  .welcome-card-copy {
    max-width: 100%;
  }

  .account-dialog {
    padding: 32px 22px 24px;
  }

  .account-dialog h2 {
    font-size: 24px;
  }

  .hotline-satellite-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__brand-section {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-carousel-track {
    transition: none;
  }
}

#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1100px;
  margin: auto;

  background: #ffffff;
  border-radius: 18px;
  padding: 20px 24px;

  border: 1px solid #e3e8f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

  display: none;
  z-index: 9999;

  font-family: 'Segoe UI', sans-serif;
}

/* TEXT */
#cookieBanner p {
  margin: 0;
  color: #2d3748;
  line-height: 1.6;
  font-size: 14px;
}

/* LINK */
#cookieBanner a {
  color: #2f5597; /* match your theme */
  font-weight: 600;
  text-decoration: none;
}

#cookieBanner a:hover {
  text-decoration: underline;
}

/* LAYOUT */
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* BUTTON GROUP */
.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* BUTTON BASE */
.cookie-btn-accept,
.cookie-btn-reject {
  border: none;
  padding: 10px 18px;
  border-radius: 999px; /* pill style */
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s ease;
}

/* ACCEPT BUTTON */
.cookie-btn-accept {
  background: #2f5597;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: #24457d;
  transform: translateY(-1px);
}

/* REJECT BUTTON */
.cookie-btn-reject {
  background: #eef2f7;
  color: #2f5597;
  border: 1px solid #d3dbe8;
}

.cookie-btn-reject:hover {
  background: #e3eaf5;
}
