:root {
 /* --font-heading: "Oswald", sans-serif; */
  --font-heading: "Raleway", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --color-brand-900: #02363a;
  --color-brand-800: #005d64;
  --color-brand-700: #0d6d75;
  --color-brand-500: #0f8f96;
  --color-ink-900: #152629;
  --color-ink-700: #bebebe;
  --color-ink-500: #688083;
  --color-sand-100: #f5f6f1;
  --color-surface: #ffffff;
  --color-line: rgba(3, 54, 58, 0.12);
  --color-warning: #fccf14;
  --color-danger: #d64545;
  --paper-bg: #ffffff;
  --reader-bg: #f4f7f6;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --shadow-soft: 0 20px 45px rgba(5, 57, 61, 0.12);
  --shadow-card: 0 18px 32px rgba(6, 40, 44, 0.1);
  --section-space: clamp(3rem, 6vw, 5.5rem);
}

html {
  scroll-behavior: smooth;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

body {
  margin: 0;
  color: var(--color-ink-900);
  font-family: var(--font-body);
}

img {
  max-width: 100%;
}

a {
  color: var(--color-brand-700);
}

a:hover {
  color: var(--color-brand-900);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.homepage-main {
  overflow: clip;
}

.py-xl-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: var(--color-brand-500);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display-title,
.section-heading h2,
.payment-banner__title,
.seal-panel h2,
.visit-banner h2,
.section-opportunities h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.lead-copy {
  color: var(--color-ink-700);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-top: 30px;
}

.section-divider {
  width: 160px;
  height: 2px;
  margin: 1.5em auto;
  border-radius: 999px;
  background: #ffffff;
}

.section-divider--danger {
  background: linear-gradient(90deg, var(--color-danger), rgba(214, 69, 69, 0));
}

.btn-pill {
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .btn-pill {
    padding: 0.5rem 1rem;
  }
}

.btn-brand {
  border: 0;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-brand-900));
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-900));
}

.um-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.um-page__shell {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3rem);
}

.um-page__panel {
  position: relative;
  min-height: clamp(18rem, 34vw, 26rem);
  padding: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 1.5rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.um-page__card {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(3, 54, 58, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(6, 40, 44, 0.14);
  text-align: center;
  backdrop-filter: blur(8px);
}

.um-page__artwork {
  display: block;
  width: min(15rem, 55%);
  margin: 0 auto 0.5rem;
}

.um-page__card h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  color: #0e2540;
  text-transform: none;
}

.um-page__card p {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: #5f6f78;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.um-page__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: #4b5e68;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.um-page__contact:hover,
.um-page__contact:focus {
  color: var(--color-brand-700);
}

.um-page__spark {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

.um-page__spark--left {
  left: clamp(1rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
}

.um-page__spark--right {
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
}

.bot-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.bot-page__feature {
  display: grid;
  gap: 1.5rem;
}

.bot-page__chart-shell {
  display: grid;
}

.bot-page__chart-frame {
  padding: clamp(0.8rem, 2vw, 1.2rem);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}

.bot-page__chart-image {
  border-radius: 1rem;
}

.college-president-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(rgb(235 245 235), rgb(224 233 224 / 67%)), url(/resources/img/tourism.png) center / cover no-repeat;
  background-attachment: fixed;
}

.college-president-page__profile {
  padding: 0;
}

.college-president-page__profile-media {
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 241, 0.9));
}

.college-president-page__profile-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.college-president-page__profile-body {
  padding: 1.25rem 0 0.25rem;
  text-align: center;
}

.college-president-page__profile-body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  text-transform: none;
}

.college-president-page__profile-role,
.college-president-page__eyebrow {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.college-president-page__eyebrow {
  color: var(--color-brand-500);
}

.college-president-page__profile-role {
  margin-top: 0;
  color: #e8f7f7;
  letter-spacing: 0.05em;
}

.college-president-page__content {
  display: grid;
  gap: 1.5rem;
}

.college-president-page__section-card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--color-line);
  border-radius: 1.4rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.college-president-page__section-card p:last-child {
  margin-bottom: 0;
}

.college-president-page__section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.college-president-page__section-head--spaced {
  margin-bottom: 1.5rem;
}

.college-president-page__section-head h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: none;
}

.college-president-page__section-card p {
  color: #5d7175;
  font-size: 1.05rem;
  line-height: 1.8;
}

.college-president-page__feature {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.college-president-page__chart-frame {
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}

.college-president-page__chart-image {
  display: block;
  width: 100%;
  height: auto;
}

.kcast-vmg-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.kcast-vmg-page__feature {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.kcast-vmg-page__feature-media {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 241, 0.94));
}

.header-main {
  position: relative;
  overflow: hidden;
  background: var(--color-brand-900);
}

.header-main__topbar {
  position: relative;
  z-index: 2;
  min-height: 2.75rem;
  background: #005d64;
}

.header-main__time {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin-right: 2rem;
}

.header-main__content {
  position: relative;
  z-index: 5;
  background-color: #f9fbfc;
  background-image: linear-gradient(to right, rgb(0 93 100) 20%, rgb(0 93 100 / 75%) 40%, transparent 65%), url(../img/kap-bg.jpg);
  background-repeat: no-repeat;
  background-position: right center;
  padding: 10px;

}

.header-main__logo {
  width: 4.25rem;
  height: auto;
}

.header-main__info {
  color: #fff;
}

.header-main__info h4 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.2rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: bold;
}

.header-main__info h6 {
  font-size: 0.95rem;
  opacity: 0.92;
}

.navbar {
  z-index: 1030;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background-color: #005d64;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  margin-top: -1px;
}

.site-navbar.is-stuck {
  box-shadow: 0 12px 28px rgba(7, 39, 42, 0.16) !important;
}

.navbar .nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-navbar .navbar-brand,
.site-navbar .nav-link {
  border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.site-navbar .navbar-brand:hover,
.site-navbar .navbar-brand:focus {
  color: #fff !important;
  opacity: 1;
  background-color: #03464b;
  padding-inline: 0.7rem;
}

.site-navbar .navbar-brand.is-active,
.site-navbar .nav-link.is-active {
  color: #fff !important;
  opacity: 1;
  background-color: #02363a;
  border-radius: 999px;
  padding-inline: 0.7rem;
}

.site-navbar .dropdown-menu .dropdown-item.is-active {
  color: #fff;
  background-color: #02363a;
  border-radius: 0.5rem;
  padding-inline: 0.65rem;
}

.site-navbar .dropdown-menu .dropdown-item.is-active:hover,
.site-navbar .dropdown-menu .dropdown-item.is-active:focus {
  color: #fff;
  background-color: #02363a;
  padding-inline: 0.7rem;
}

.dropdown-menu {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 24px 54px rgba(7, 39, 42, 0.18);
}

.dropdown-menu.mega-menu {
  min-width: min(960px, 94vw);
  padding: 1.5rem !important;
}

.dropdown-menu .dropdown-header {
  padding: 0;
  margin-bottom: 0.65rem;
  color: var(--color-brand-900);
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  text-wrap: auto;
}

.dropdown-menu .dropdown-item {
  padding: 0.35rem 0;
  color: var(--color-ink-700);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.mega-menu--tourism{
  min-width: min(900px, 90vw) !important;
  max-width: 90vw;
  left: 50% !important;
  transform: translateX(-55%);
  margin-left: 0 !important;
}

.mega-menu--offices{
  min-width: min(1600px, 90vw) !important;
  max-width: 90vw;
  left: 50% !important;
  transform: translateX(-60%);
  margin-left: 0 !important;
}

@media screen and (min-width: 1025px) {
  .mega-menu--about-kapalong{
    transform: translateX(-40%);
  }

  .mega-menu--local-college,
  .mega-menu--business{
    transform: translateX(-30%);
  }
}

.mega-menu--tourism .mega-menu__grid,
.mega-menu--offices .mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.mega-menu--tourism .mega-menu__section,
.mega-menu--offices .mega-menu__section {
  min-width: 0;
  overflow: hidden;
}

.mega-menu--tourism .dropdown-header,
.mega-menu--offices .dropdown-header {
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  text-wrap: auto;
}

.mega-menu--tourism .dropdown-item,
.mega-menu--offices .dropdown-item {
  display: block;
  max-width: 100%;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.mega-menu--tourism .dropdown-item + .dropdown-item,
.mega-menu--offices .dropdown-item + .dropdown-item {
  margin-top: 0.15rem;
}

.mega-menu--offices .dropdown-item.disabled {
  opacity: 0.58;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: transparent;
  color: var(--color-brand-700);
}

.dropdown-menu__college-title {
  color: var(--color-ink-900);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.dropdown-menu__college-divider {
  margin: 0.6rem 0 0;
  border-color: var(--color-line);
  opacity: 1;
}

.search-container {
  gap: 0.5rem;
  position: relative; /* anchor the dropdown */
  flex-wrap: nowrap !important;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 13rem;
  width: auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink-900);
  padding: 0.55rem 1rem;
}

.search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(252, 207, 20, 0.3);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-ink-900);
  color: #fff;
  pointer-events: none;
  cursor: default;
  user-select: none;
}

/* -- Search suggestion dropdown ------------------------------- */
.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 1100;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  min-width: 16rem;
}

.search-suggestions.is-open {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-ink-900);
  transition: background 0.12s;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
  background: rgba(0, 93, 100, 0.08);
  color: #005d64;
}

.search-suggestion-icon {
  flex-shrink: 0;
  font-size: 0.8rem;
  opacity: 0.5;
}

.search-no-results {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  color: #6c757d;
  font-style: italic;
  cursor: default;
}

.section-tourism-intro {
  background:
    linear-gradient(90deg, rgba(1, 53, 57, 0.52), rgba(1, 53, 57, 0.12)),
    url(../img/suroy_kapalong_bg.png) center/cover no-repeat;
}

.section-home-updates-bg {
  background: linear-gradient(rgb(235 245 235), rgb(224 233 224 / 67%)), url(/resources/img/home_update_bg.jpg) center / cover no-repeat;
}

.tourism-story,
.media-panel,
.seal-panel,
.sidebar-card,
.payment-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.tourism-story__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tourism-story__logos img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem;
}

.media-panel {
  min-height: 100%;
  background: #102f32;
}

.media-panel__frame {
  min-height: 100%;
}

.media-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.payment-banner {
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background:
    radial-gradient(circle at top right, rgba(252, 207, 20, 0.18), transparent 26%),
    linear-gradient(135deg, #005d64, #08454d 70%);
  color: #fff;
}

.payment-banner__title {
  margin-bottom: 1rem;
}

.payment-banner__copy {
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.65;
}

.qr-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.qr-card__image {
  display: block;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: #fff;
  padding: 0.4rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.update-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(6, 40, 44, 0.16);
}

.update-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.update-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.update-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
  text-transform: none;
}

.update-card__body p {
  margin: 0;
  color: var(--color-ink-700);
  line-height: 1.6;
}

.update-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  color: var(--color-ink-500);
  font-size: 0.92rem;
}

.update-card__meta a {
  font-weight: 700;
  text-decoration: none;
}

.sidebar-stack {
  display: grid;
  gap: 1.5rem;
}

.sidebar-card {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.sidebar-card__header h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.sidebar-poster {
  width: 100%;
  border-radius: 1rem;
  margin-top: 1rem;
}

.hotline-list {
  margin-top: 1rem;
}

.hotline-item {
  border-bottom: 1px solid var(--color-line) !important;
}

.hotline-item .accordion-button {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  color: var(--color-ink-900);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.hotline-item .accordion-button:not(.collapsed) {
  color: var(--color-brand-800);
}

.hotline-item .accordion-body {
  padding: 0 0 1rem;
  color: var(--color-ink-700);
}

.map-preview {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 0.9rem;
  background: #e8eff0;
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.seal-panel {
  padding: clamp(1.75rem, 3vw, 3rem);
  border: 1px solid rgba(214, 69, 69, 0.12);
  background: linear-gradient(135deg, #eff3fa, #ffffff 64%);
}

.seal-panel__image {
  max-height: 20rem;
  object-fit: contain;
}

.section-barangays {
  background: url(../img/brgy_of_kapalong_bg.png) center/cover no-repeat;
}

.section-barangays .section-heading h2,
.section-barangays .eyebrow {
  color: #f3fffe;
}

.barangay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 12.4rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(225, 251, 250, 0.3);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(6px);
  padding: 1.05rem 0.8rem;
  color: #f6fffe;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(2, 36, 40, 0.2);
  transition: transform 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.barangay-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 238, 183, 0.78);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.16));
  box-shadow: 0 18px 30px rgba(2, 33, 37, 0.28);
  color: #ffffff;
}

.barangay-card img {
  width: 5.25rem;
  height: 5.25rem;
  object-fit: contain;
  margin-bottom: 0.9rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 255, 255, 0.58);
  background: rgba(7, 78, 86, 0.52);
}

.barangay-card span {
  font-size: 0.89rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-kcast {
  position: relative;
  overflow: hidden;
}

.kcast-redesign {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 229, 160, 0.2), transparent 46%),
    linear-gradient(130deg, #0a4c53 4%, #20686a 54%, #9c9958 100%);
}

.kcast-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(4, 36, 38, 0.08), rgba(4, 34, 36, 0.34));
  pointer-events: none;
}

.section-kcast .container {
  position: relative;
  z-index: 1;
}

.kcast-hub {
  max-width: 58rem;
  margin: 0 auto;
}

.kcast-hub__header {
  margin-bottom: 0.2rem;
}

.kcast-hub__header .eyebrow {
  color: rgba(241, 252, 246, 0.9);
  font-size: 1.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
}

.kcast-hub__grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.kcast-hub__card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.95rem;
  padding: 0.9rem 0.9rem;
  border-radius: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 22px rgba(4, 30, 34, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.kcast-hub__card:hover,
.kcast-hub__card:focus-visible {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(13, 109, 117, 0.45);
  box-shadow: 0 20px 36px rgba(3, 30, 32, 0.32), 0 0 0 2px rgba(13, 109, 117, 0.12);
}

.kcast-hub__card:hover img,
.kcast-hub__card:focus-visible img {
  transform: scale(1.08);
}

.kcast-hub__card img {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.kcast-hub__card h3 {
  margin: 0;
  color: #1b2426;
  font-size: 1.2rem;
  line-height: 1.12;
  font-family: var(--font-heading);
}

.kcast-hub__card p {
  margin: 0.22rem 0 0;
  color: #2f3c3f;
  font-size: 0.95rem;
  line-height: 1.35;
}

.section-opportunities {
  position: relative;
  background:
    linear-gradient(0deg, rgba(251, 249, 238, 0.06), rgba(251, 249, 238, 0.06)),
    url(../img/opportunities_bg.png) center/cover no-repeat;
}

.opportunities-redesign__panel {
  border: 1px solid rgba(249, 236, 194, 0.45);
  border-radius: 1rem;
  padding: clamp(0.85rem, 1.8vw, 1.2rem);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(7, 42, 44, 0.2);
  backdrop-filter: blur(1px);
}

.opportunities-redesign__top {
  margin-bottom: 0.3rem;
}

.section-opportunities h2,
.section-opportunities .eyebrow {
  color: #f9fff7;
}

.opportunities-redesign .opportunities-intro h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.3vw, 3.4rem);
  line-height: 0.95;
}

.opportunities-redesign .opportunities-intro .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.opportunities-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.6vw, 1rem);
  padding: 0.34rem 0.45rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.9);
}

.opportunities-grid {
  margin-top: 0.65rem !important;
}

.opportunities-actions__button {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f8fff4;
  border: 2px solid rgba(242, 238, 204, 0.9);
  background: linear-gradient(140deg, #6ea88d, #4f9f9d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 14px rgba(5, 42, 45, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.opportunities-actions__button i {
  font-size: 3rem;
}

.opportunities-actions__button.is-active {
  background: linear-gradient(140deg, #02685f, #005a49);
}

.opportunities-actions__button:hover,
.opportunities-actions__button:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 10px 18px rgba(5, 43, 46, 0.32);
}

.opportunity-card {
  display: block;
  height: 100%;
  border-radius: 0.7rem;
  padding: 2rem 2.2rem;
  text-decoration: none;
  border: 1px solid rgba(239, 221, 170, 0.62);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(8, 37, 41, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.opportunity-card:hover,
.opportunity-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(6, 37, 40, 0.28);
}

.opportunity-card h3 {
  margin: 0;
  color: #1f2426;
  font-size: 2rem;
  line-height: 1.12;
  font-family: var(--font-heading);
}

.opportunity-card p {
  margin: 0.24rem 0 0;
  color: #303d40;
  font-size: 1rem;
  line-height: 1.34;
}

.section-visit {
  background: #f6efe3;
  padding: 0 !important;
}

.visit-banner {
  position: relative;
  min-height: clamp(16rem, 28vw, 24rem);
  overflow: hidden;
}

.visit-banner__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-banner p {
  margin-bottom: 0;
  max-width: 34rem;
  font-size: 1.08rem;
}

.site-footer {
  padding: clamp(1.4rem, 2.2vw, 2.2rem);
  background:
    radial-gradient(circle at top center, rgba(14, 100, 93, 0.18), transparent 34%),
    linear-gradient(180deg, #083c3b 0%, #062d30 100%);
}

.site-footer__frame {
  padding: clamp(1.4rem, 2.5vw, 2.3rem);
  border: 1px solid rgba(199, 166, 125, 0.28);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at center, rgba(3, 89, 84, 0.32), transparent 55%),
    linear-gradient(180deg, rgba(3, 53, 56, 0.96), rgba(2, 41, 44, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 36px rgba(0, 0, 0, 0.24);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(14rem, 1fr) minmax(13rem, 0.8fr) minmax(18rem, 1fr);
  gap: clamp(1.5rem, 2.4vw, 2.8rem);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.35rem;
}

.site-footer__brand-copy {
  display: grid;
  gap: 0.35rem;
}

.site-footer__brand-title,
.site-footer__brand-subtitle {
  margin: 0;
  color: #d6b189;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.site-footer__brand-title {
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
}

.site-footer__brand-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.35rem);
  letter-spacing: 0.14em;
  color: #d0b79a;
}

.site-footer__brand-logo {
  width: min(16rem, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.site-footer__section {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 1.2rem;
  color: #d6b189;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  gap: 0.32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links--spacious {
  gap: 0.45rem;
}

.site-footer__links a {
  color: rgba(240, 245, 242, 0.88);
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(1rem, 1vw, 1.05rem);
  line-height: 1.24;
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #f6d7ae;
}

.site-footer__seal-block {
  margin-top: 1.5rem;
}

.site-footer__transparency-seal {
  width: min(6.25rem, 100%);
  height: auto;
  object-fit: contain;
}

.site-footer__form {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.site-footer__field {
  margin: 0;
}

.site-footer__control {
  border: 1px solid rgba(219, 227, 224, 0.44);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, rgba(145, 174, 176, 0.28), rgba(102, 131, 133, 0.28));
  color: #eff5f1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 8px 16px rgba(0, 0, 0, 0.12);
}

.site-footer__control:focus {
  border-color: rgba(225, 193, 154, 0.8);
  background: linear-gradient(180deg, rgba(145, 174, 176, 0.36), rgba(102, 131, 133, 0.32));
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(214, 177, 137, 0.18);
}

.site-footer__control::placeholder {
  color: rgba(235, 242, 240, 0.72);
}

.site-footer__control[readonly] {
  cursor: default;
}

.site-footer__control--textarea {
  min-height: 5.95rem;
  resize: vertical;
}

.site-footer__submit {
  width: fit-content;
  min-width: 7.5rem;
  padding: 0.72rem 1.65rem;
  border: 1px solid rgba(196, 155, 86, 0.88);
  border-radius: 999px;
  background: linear-gradient(180deg, #f2d08a 0%, #d4aa56 55%, #b58433 100%);
  color: #3d2810;
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 247, 219, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease;
}

.site-footer__submit:hover,
.site-footer__submit:focus-visible {
  background: linear-gradient(180deg, #f7db98 0%, #dfb966 55%, #c39139 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 247, 219, 0.6);
  filter: none;
}

.site-footer__contact-meta {
  display: grid;
  gap: 0.55rem;
  color: rgba(240, 245, 242, 0.9);
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.3;
}

.site-footer__contact-meta p {
  margin: 0;
}

.site-footer__contact-meta strong {
  color: #ffffff;
  font-weight: 700;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.6rem, 2vw, 2rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 166, 125, 0.52);
}

.site-footer__copyright p {
  margin: 0;
  color: rgba(235, 240, 236, 0.85);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.96rem;
  line-height: 1.35;
}

.site-footer__bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(229, 196, 159, 0.4);
  background: radial-gradient(circle at 30% 30%, #f4d0aa, #cc9a64 72%, #8c5e30 100%);
  color: #083536;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.site-footer__social-link i {
  font-size: 1.2rem;
  line-height: 1;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.2);
  filter: brightness(1.04);
}

@media (max-width: 1199.98px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__brand-logo {
    width: min(11rem, 100%);
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 1rem;
  }

  .site-footer__frame {
    padding: 1.25rem;
    border-radius: 1.2rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .site-footer__brand {
    align-items: center;
    text-align: center;
  }

  .site-footer__brand-logo {
    width: min(10rem, 100%);
  }

  .site-footer__submit {
    width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__bottom-actions {
    width: 100%;
    justify-content: center;
  }

  .ratio-16x9{
    --bs-aspect-ratio: 57%;
  }
}

@media (max-width: 575.98px) {
  .site-footer__section {
    position: relative;
  }

  .site-footer__transparency-seal {
    position: absolute;
    right: 5%;
    top: 25%;
  }

  .site-footer__copyright {
    text-align: center;
  }
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-brand-900));
  color: #fff;
  box-shadow: 0 18px 30px rgba(6, 40, 44, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.22s ease;
}

.back-to-top i {
  font-size: 1.9rem;
  line-height: 1;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: linear-gradient(135deg, var(--color-brand-500), var(--color-brand-900));
  color: #fff;
}

.back-to-top:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(252, 207, 20, 0.35), 0 18px 30px rgba(6, 40, 44, 0.22);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  .site-navbar .navbar-collapse {
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    /* overscroll-behavior: contain; */
    -webkit-overflow-scrolling: touch;
  }

  .site-navbar .navbar-nav {
    padding-bottom: 0.5rem;
  }

  .dropdown-menu.mega-menu {
    min-width: 100%;
    position: static !important;
    float: none;
    margin-top: 0.4rem;
  }

  .mega-menu--tourism,
  .mega-menu--offices {
    max-width: 100vw !important;
    left: 0 !important;
    transform: none !important;
  }

  .mega-menu--tourism .mega-menu__grid,
  .mega-menu--offices .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .header-main__logo {
    width: 3.5rem;
  }

  .update-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-kcast .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .kcast-hub {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .header-main__topbar {
    justify-content: flex-start !important;
    padding-left: 1rem !important;
  }

  .header-main__content {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    background-image: linear-gradient(to right, rgb(0 93 100) 20%, rgb(0 93 100 / 75%) 40%, transparent 100%), url(../img/kap-bg.jpg);
  }

  .search-container {
    margin-top: 0.75rem;
  }

  .display-title,
  .section-heading h2,
  .payment-banner__title,
  .seal-panel h2,
  .visit-banner h2,
  .section-opportunities h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .section-kcast .container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .kcast-hub__grid {
    margin-top: 0.55rem;
  }

  .kcast-hub__header .eyebrow {
    font-size: 1.2rem;
  }

  .opportunities-redesign .opportunities-intro h2 {
    font-size: clamp(2.05rem, 10vw, 2.7rem);
  }

  .kcast-hub__grid {
    grid-template-columns: 1fr;
  }

  .updates-cta {
    text-align: center;
  }

  .payment-banner {
    text-align: center;
  }

  .payment-banner__copy {
    margin-left: auto;
    margin-right: auto;
  }

  .payment-banner .d-flex {
    justify-content: center;
  }

  .seal-panel__content {
    text-align: center;
  }

  .seal-panel__content .section-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .opportunities-intro {
    text-align: center;
  }

  .opportunities-intro .section-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .opportunities-grid {
    justify-content: center;
  }

  .opportunities-grid > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .opportunities-actions {
    justify-content: space-between;
  }

  .opportunities-redesign__panel {
    padding: 0.75rem;
  }

  .news-page__pagination-wrap .page-link{
    min-width: 2rem !important;
    font-size: 0.8rem;
  }

  .news-page #sub-header-text{
    font-size: calc(2rem + 1.5vw);
  }

  #sub-header-text{
    font-size: calc(1rem + 1.5vw);
  }
}

/* Thrust and Development Page CSS */
    /* Magazine Style Container */

  .pdf-canvas-container {
    position: relative;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 1rem;
    overflow: hidden;
    display: inline-block;
  }

    canvas {
        display: block;
        max-width: 100%;
        height: auto !important;
    }

    .loader {
        display: none;
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    #sub-header-text {
        margin-bottom: 0.75rem;
        font-weight: 700;
        color: #123c3f;
    }

  .divider-primary {
    width: min(8rem, 40%);
    height: 0.25rem;
    border-radius: 999px;
    background: #005d64;
  }

@media (max-width: 575.98px) {
  .tourism-story,
  .payment-banner,
  .seal-panel,
  .sidebar-card {
    border-radius: 1.1rem;
  }

  .header-main__logo {
    width: 3rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
  }

  .header-main__info h6 {
    font-size: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.07em;
  }

  .search-input {
    width: 100%;
  }

  .section-kcast .container {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .kcast-hub__card {
    padding: 0.95rem 0.85rem;
  }

  .kcast-hub__card h3,
  .opportunity-card h3 {
    font-size: 1.05rem;
  }

  .opportunities-actions {
    gap: 0.55rem;
    padding: 0.45rem;
  }
}

.search-btn:hover {
  background-color: #03464b;
  color: #fff;
}

.news-page {
  padding-bottom: 1rem;
}

.news-page__feed {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(252, 207, 20, 0.15), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 241, 0.94));
  box-shadow: var(--shadow-soft);
}

.news-page__section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.98;
}

.news-page__toolbar-copy,
.news-feed-card__excerpt {
  color: #4b5f62;
  font-size: 1rem;
  line-height: 1.7;
}

.news-page__feed {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.news-page__toolbar {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.news-page__toolbar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.news-page__toolbar-bottom .news-page__toolbar-copy {
  flex: 1 1 0;
  min-width: 0;
}

.news-page__page-indicator {
  color: #4b5f62;
  font-size: 0.98rem;
  font-weight: 600;
}

.news-page__status {
  margin-bottom: 1.5rem;
}

/* ── News Search ─────────────────────────────────────────────────────── */
.news-page__search {
  position: relative;
  z-index: 1050;
  width: 100%;
  max-width: 26rem;
  flex-shrink: 0;
}

.news-page__search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.news-page__search-icon {
  position: absolute;
  left: 1rem;
  color: #4b5f62;
  font-size: 0.95rem;
  pointer-events: none;
}

.news-page__search-input {
  width: 100%;
  padding: 0.6rem 2.75rem 0.6rem 2.5rem;
  border: 1px solid rgba(2, 54, 58, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #1a2e30;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.news-page__search-input:focus {
  border-color: var(--color-brand-700, #005d64);
  box-shadow: 0 0 0 3px rgba(0, 93, 100, 0.15);
}

.news-page__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.news-page__search-clear {
  position: absolute;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(2, 54, 58, 0.08);
  color: #4b5f62;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.news-page__search-clear:hover {
  background: rgba(2, 54, 58, 0.18);
}

.news-page__suggestions {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 200;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  border: 1px solid rgba(2, 54, 58, 0.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 40, 44, 0.13);
  max-height: 18rem;
  overflow-y: auto;
}

.news-page__suggestion-item {
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  color: #1a2e30;
  cursor: pointer;
  transition: background 0.15s;
}

.news-page__suggestion-item:hover,
.news-page__suggestion-item:focus {
  background: rgba(0, 93, 100, 0.07);
  outline: none;
}

.news-page__suggestion-empty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  color: #7a9295;
  font-style: italic;
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.news-page__suggestion-empty::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237a9295'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.099zm-5.242 1.156a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

.news-feed-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(2, 54, 58, 0.12);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.news-feed-card:hover,
.news-feed-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(6, 40, 44, 0.16);
}

.news-feed-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dbe7e8;
}

.news-feed-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feed-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-brand-900);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-feed-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem;
}

.news-feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
  color: #4b5f62;
  font-size: 0.92rem;
}

.news-feed-card__title {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: none;
}

.news-feed-card__excerpt {
  display: -webkit-box;
  line-clamp: 4;
  margin: 0 0 1rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-feed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(2, 54, 58, 0.1);
}

.news-feed-card__location {
  color: #4b5f62;
  font-size: 0.95rem;
}

.news-feed-card__link {
  font-weight: 800;
  text-decoration: none;
}

.news-page__pagination-wrap,
.budget-page__pagination-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.news-page__pagination-wrap .pagination,
.budget-page__pagination-wrap .pagination {
  gap: 0.35rem;
  flex-wrap: wrap;
}

.news-page__pagination-wrap .page-link,
.budget-page__pagination-wrap .page-link {
  min-width: 2.75rem;
  border: 1px solid rgba(2, 54, 58, 0.14);
  border-radius: 999px;
  color: var(--color-brand-900);
  font-weight: 700;
  box-shadow: none;
}

.news-page__pagination-wrap .page-item.active .page-link,
.budget-page__pagination-wrap .page-item.active .page-link {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-brand-900));
  color: #fff;
}

.news-page__pagination-wrap .page-item.disabled .page-link,
.budget-page__pagination-wrap .page-item.disabled .page-link {
  background: rgba(2, 54, 58, 0.05);
}

.post-page {
  padding-bottom: 1rem;
}

.post-page__hero-card {
  border-width: 2px;
  border-color: rgba(11, 95, 105, 0.35);
  background: #fff;
  box-shadow: 0 18px 34px rgba(8, 68, 75, 0.12);
}

.post-page__hero-media {
  margin: 0;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  background: #dbe7e8;
}

.post-page__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-page__meta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
}

.post-page__meta-badge {
  position: static;
  width: fit-content;
}

.post-page__meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #17373b;
  font-size: 0.98rem;
  font-weight: 600;
}

.post-page__meta-item i {
  color: var(--color-brand-800);
}

.post-page__back-link {
  margin-top: 0.35rem;
}

.post-page__article-panel {
  background: rgba(255, 255, 255, 0.95);
}

.post-page__content {
  color: #17373b;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.05rem;
  line-height: 1.78;
}

.post-page__content > :first-child {
  margin-top: 0;
}

.post-page__content > :last-child {
  margin-bottom: 0;
}

.post-page__content p,
.post-page__content ul,
.post-page__content ol,
.post-page__content blockquote,
.post-page__content figure,
.post-page__embed-link {
  margin: 0 0 1rem;
}

.post-page__content h2,
.post-page__content h3,
.post-page__content h4 {
  margin: 1.6rem 0 0.8rem;
  color: #0f2d31;
  font-family: "Oswald", sans-serif;
  line-height: 1.2;
}

.post-page__content a,
.post-page__embed-link a {
  color: var(--color-brand-800);
  font-weight: 700;
}

.post-page__content blockquote {
  padding: 1rem 1.15rem;
  border-left: 4px solid rgba(11, 95, 105, 0.45);
  border-radius: 0.85rem;
  background: rgba(219, 231, 232, 0.42);
}

.post-page__content-image {
  border-radius: 1rem;
  box-shadow: 0 18px 30px rgba(8, 68, 75, 0.12);
}

.post-page__gallery-copy {
  color: #36575b;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-page__sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-page__sidebar-card {
  height: auto;
}

.post-page__gallery-shell {
  display: grid;
  gap: 1rem;
}

.post-page__gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.post-page__gallery-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d7a86, #0c5d68);
  color: #f7faf8;
  box-shadow: 0 16px 28px rgba(8, 68, 75, 0.22);
  transition: transform 0.24s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.24s ease;
}

.post-page__gallery-control:hover,
.post-page__gallery-control:focus {
  background: #08444b;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(8, 68, 75, 0.28);
}

.post-page__gallery-control:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 18px rgba(8, 68, 75, 0.16);
}

.post-page__gallery-slider {
  position: relative;
  min-height: clamp(23rem, 88vw, 31rem);
  padding: 0.45rem 0.15rem 0.15rem;
  outline: none;
}

.post-page__gallery-section--single .post-page__gallery-slider {
  min-height: 0;
}

.post-page__gallery-slider:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 24px 46px rgba(18, 67, 72, 0.14),
    0 0 0 3px rgba(10, 102, 114, 0.24);
}

.post-page__gallery-list {
  position: relative;
  min-height: inherit;
}

.post-page__gallery-section--single .post-page__gallery-list {
  min-height: 0;
}

.post-page__gallery-item {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  padding-inline: 0.3rem;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease,
    filter 0.34s ease;
  will-change: transform, opacity;
}

  .post-page__gallery-section--single .post-page__gallery-item {
    position: relative;
    inset: auto;
  }

  .post-page__gallery-section--single .post-page__gallery-footer {
    margin-top: 1rem;
  }

.post-page__gallery-link {
  display: block;
  border-radius: 1.3rem;
  cursor: zoom-in;
  transform: translateZ(0);
  text-decoration: none;
  outline: none;
}

.post-page__gallery-frame {
  display: block;
  overflow: hidden;
  border-radius: 1.3rem;
  border: 8px solid rgba(238, 244, 243, 0.98);
  background: #eef6f5;
  box-shadow:
    0 18px 34px rgba(10, 67, 74, 0.2),
    0 4px 8px rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-page__gallery-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: rgba(220, 233, 235, 0.72);
  transition: transform 0.3s ease;
}

.post-page__gallery-link:hover .post-page__gallery-frame,
.post-page__gallery-link:focus-visible .post-page__gallery-frame {
  box-shadow:
    0 20px 38px rgba(10, 67, 74, 0.24),
    0 4px 8px rgba(255, 255, 255, 0.48) inset;
}

.post-page__gallery-link:hover .post-page__gallery-image,
.post-page__gallery-link:focus-visible .post-page__gallery-image {
  transform: scale(1.03);
}

.post-page__gallery-item[data-offset="0"] {
  z-index: 4;
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.post-page__gallery-item[data-offset="1"] {
  z-index: 3;
  transform: translate3d(0, 13.2rem, 0) scale(0.93);
  opacity: 0.98;
}

.post-page__gallery-item[data-offset="2"] {
  z-index: 2;
  transform: translate3d(0, 18.9rem, 0) scale(0.86);
  opacity: 0.78;
}

.post-page__gallery-item[data-offset="3"] {
  z-index: 1;
  transform: translate3d(0, 22.8rem, 0) scale(0.8);
  opacity: 0.42;
  filter: saturate(0.9);
}

.post-page__gallery-item[data-state="hidden"] {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 24.8rem, 0) scale(0.76);
}

.post-page__gallery-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3.5em;
  overflow: hidden;
  padding-bottom: 5px;
}

.post-page__gallery-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.9rem;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(108, 140, 146, 0.9), rgba(78, 108, 114, 0.94));
  color: #eff7f6;
  font-family: "Oswald", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 22px rgba(18, 67, 72, 0.14);
}

.post-page__gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.post-page__gallery-dot {
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 95, 105, 0.24);
  box-shadow: inset 0 0 0 1px rgba(11, 95, 105, 0.12);
  transition: transform 0.24s ease, background 0.24s ease, opacity 0.24s ease;
}

.post-page__gallery-dot.is-active {
  background: #0b5f69;
  transform: scale(1.15);
}

.post-page__gallery-dot:hover,
.post-page__gallery-dot:focus-visible {
  background: #0a6e79;
  opacity: 1;
}

@media (max-width: 575.98px) {
  .post-page__gallery-controls {
    gap: 0.45rem;
  }

  .post-page__gallery-footer {
    margin-top: 10em;
  }

  .post-page__gallery-control {
    width: 2.65rem;
    height: 2.65rem;
  }

  .post-page__gallery-slider {
    min-height: 26rem;
  }

  .post-page__gallery-section--single .post-page__gallery-slider {
    min-height: 0;
  }

  .post-page__gallery-item[data-offset="1"] {
    transform: translate3d(0, 12rem, 0) scale(0.93);
  }

  .post-page__gallery-item[data-offset="2"] {
    transform: translate3d(0, 17rem, 0) scale(0.86);
  }

  .post-page__gallery-item[data-offset="3"] {
    transform: translate3d(0, 20.4rem, 0) scale(0.79);
  }
}

@media (min-width: 1200px) {

  .post-page__gallery-item[data-offset="1"] {
    transform: translate3d(0, 13.4rem, 0) scale(0.93);
  }

  .post-page__gallery-item[data-offset="2"] {
    transform: translate3d(0, 19.25rem, 0) scale(0.86);
  }

  .post-page__gallery-item[data-offset="3"] {
    transform: translate3d(0, 23.2rem, 0) scale(0.8);
  }
}

.post-page__lightbox {
  background: rgba(5, 18, 20, 0.8);
}

.post-page__lightbox-content {
  background: rgba(10, 24, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-page__lightbox-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #f5f6f2;
}

.post-page__lightbox-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.post-page__lightbox-image {
  max-width: 100%;
  max-height: min(82vh, 900px);
  width: auto;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.post-page__attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.post-page__attachment-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f2d31;
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(11, 95, 105, 0.16);
}

.post-page__attachment-chip:hover,
.post-page__attachment-chip:focus {
  color: #0b5f69;
}

.budget-page {
  padding-bottom: 1rem;
}

.budget-page__board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 241, 0.94));
  box-shadow: var(--shadow-soft);
}

.budget-page__section-title {
  margin: 0;
  font-size: clamp(1.3rem, 4vw, 2rem);
  line-height: 1;
}

.budget-page__section-copy {
  color: #4b5f62;
  font-size: 1rem;
  line-height: 1.7;
}

.budget-page__board {
  padding: clamp(1rem, 3vw, 2.5rem);
}

.budget-page__board-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url(../img/transparency-seal-logo.png) right 18% center / min(30vw, 22rem) no-repeat,
    url(../img/brgy-logo/lgu-kapalong-logo.png) right 2% center / min(24vw, 18rem) no-repeat;
  opacity: 0.12;
}

.budget-page__board-header,
.budget-table {
  position: relative;
  z-index: 1;
}

.budget-page__board-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.budget-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.budget-page__toolbar .form-select {
  min-width: 10rem;
  border-radius: 999px;
  border-color: rgba(2, 54, 58, 0.14);
  padding-inline: 1rem 2.5rem;
}

.budget-page__results {
  color: #4b5f62;
  font-weight: 600;
}

.budget-page__status {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.budget-table {
  border: 1px solid rgba(2, 54, 58, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.budget-table__head,
.budget-row {
  display: grid;
  grid-template-columns: var(--budget-cols, 3.5fr 3fr 0.5fr 1.1fr);
  gap: 1rem;
  align-items: center;
}

.budget-table--compact .budget-table__head,
.budget-table--compact .budget-row {
  grid-template-columns: 0.8fr 3.2fr 1.1fr;
}

.budget-table--no-year .budget-table__head,
.budget-table--no-year .budget-row {
  grid-template-columns: 3.2fr 1.4fr 1.1fr;
}

.budget-table--year-title-action .budget-table__head,
.budget-table--year-title-action .budget-row {
  grid-template-columns: 1fr 4fr 1.15fr;
}

.budget-table--year-detail-action .budget-table__head,
.budget-table--year-detail-action .budget-row {
  grid-template-columns: 0.9fr 2.8fr 1.1fr;
}

.budget-table--year-action .budget-table__head,
.budget-table--year-action .budget-row {
  grid-template-columns: 1fr 1.2fr;
}

.budget-table--title-action .budget-table__head,
.budget-table--title-action .budget-row {
  grid-template-columns: 3.5fr 1.1fr;
}

.budget-table__head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(2, 54, 58, 0.12);
  color: #5c6e71;
  font-size: 0.92rem;
  font-weight: 700;
}

.budget-row {
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid rgba(2, 54, 58, 0.08);
}

.budget-row:last-child {
  border-bottom: 0;
}

.budget-row__cell {
  min-width: 0;
  color: #44585b;
}

.budget-row__title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.budget-row__title span {
  color: var(--color-ink-900);
  font-weight: 600;
}

.budget-row__title small {
  color: #6b8083;
  font-size: 0.92rem;
}

.budget-row__action {
  display: flex;
  justify-content: flex-start;
}

.budget-row__download {
  min-width: 8.5rem;
}

/* pagination shared rules combined with news-page above */
.budget-page__pagination-wrap {
  position: relative;
  z-index: 1;
  margin-top: 1.75rem;
}

.budget-page__page-indicator {
  color: #4b5f62;
  font-size: 0.98rem;
  font-weight: 600;
}

.info-page__feature {
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 241, 0.94));
  box-shadow: var(--shadow-soft);
}

.info-page__feature-media {
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
}

.info-page__feature-image {
  display: block;
  width: 100%;
  height: auto;
}

.info-page__nav-card,
.info-page__updates-card {
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.info-page__nav-card-header,
.info-page__updates-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1.25rem 1.25rem 1rem;
  color: var(--color-ink-900);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.info-page__nav-card-header h2,
.info-page__nav-card-header h3,
.info-page__updates-card-header h2 {
  margin: 0;
  font-size: inherit;
  text-transform: none;
}

.info-page__nav-card-header--subsection {
  padding-top: 1rem;
  font-size: 1.35rem;
}

.info-page__nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 2px solid var(--color-brand-500);
  color: var(--color-brand-700);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.info-page__nav-icon--success {
  border-color: #18b26b;
  color: #18b26b;
}

.info-page__link-group {
  display: grid;
}

.info-page__nav-link {
  padding: 0.95rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b7890;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.info-page__nav-link:hover,
.info-page__nav-link:focus,
.info-page__nav-link.is-active {
  background: #096680;
  color: #fff;
  padding-left: 1.45rem;
}

.info-page__subsection {
  padding-bottom: 1.25rem;
}

.info-page__link-list {
  display: grid;
  gap: 0;
  padding: 0 1.25rem 1.1rem;
}

.info-page__link-list a {
  position: relative;
  padding: 0.72rem 0 0.72rem 1rem;
  border-top: 1px solid rgba(4, 89, 93, 0.14);
  color: #1f3d66;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.28;
  text-decoration: none;
}

.info-page__link-list a::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 0;
  width: 0.72rem;
  height: 0.72rem;
  background: url('../img/brgy-logo/lgu-kapalong-logo.png') center / contain no-repeat;
}

.info-page__link-list a:first-child {
  border-top: 0;
}

.info-page__link-list a:hover,
.info-page__link-list a:focus {
  color: #0c5870;
}

.info-page__updates-card {
  padding-top: 0;
  border: 2px solid #0a7470;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(5, 53, 56, 0.08);
}

.info-page__updates-card-header {
  padding-bottom: 0.8rem;
}

.info-page__updates-card-header h2 {
  color: #17343a;
  font-family: "Source Sans 3", sans-serif;
  font-size: clamp(1.7rem, 2.2vw, 2.05rem);
  font-weight: 400;
}

.info-page__updates-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  color: #0c7f7a;
  font-size: 2rem;
  flex: 0 0 auto;
}

.info-page__updates-icon i {
  line-height: 1;
}

.info-page__updates-card [data-sidebar-news-status] {
  padding: 0 1.25rem 1rem;
}

/* Corporate Seal Page Styles */
.corporate-seal__container {
  position: relative;
  width: 100%;
}

.corporate-seal__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.corporate-seal__image {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 0.5rem;
}

.corporate-seal__annotations {
  display: grid;
  gap: 1.5rem;
}

.corporate-seal__annotation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15, 143, 150, 0.04);
  border: 1px solid rgba(15, 143, 150, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.corporate-seal__annotation:hover {
  background: rgba(15, 143, 150, 0.08);
  border-color: rgba(15, 143, 150, 0.24);
}

.corporate-seal__annotation-dot {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-700), var(--color-brand-900));
  box-shadow: 0 2px 8px rgba(15, 143, 150, 0.2);
}

.corporate-seal__annotation-content {
  display: grid;
  gap: 0.5rem;
}

.corporate-seal__annotation-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-brand-700);
  font-family: var(--font-heading);
  text-transform: none;
}

.corporate-seal__annotation-content p {
  margin: 0;
  color: var(--color-ink-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Corporate Seal Responsive Design */
@media (max-width: 991.98px) {
  .corporate-seal__image {
    max-width: 350px;
  }

  .corporate-seal__annotation {
    padding: 0.875rem;
    gap: 0.75rem;
  }

  .corporate-seal__annotation-title {
    font-size: 1rem;
  }

  .corporate-seal__annotation-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .corporate-seal__image {
    max-width: 100%;
  }

  .corporate-seal__image-wrapper {
    margin-bottom: 1.5rem;
  }

  .corporate-seal__annotations {
    gap: 1rem;
  }

  .corporate-seal__annotation {
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .corporate-seal__annotation-title {
    font-size: 0.95rem;
  }

  .corporate-seal__annotation-content p {
    font-size: 0.85rem;
  }

  .corporate-seal__annotation-dot {
    margin-top: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .corporate-seal__annotation {
    padding: 0.65rem;
    gap: 0.5rem;
  }

  .corporate-seal__annotation-title {
    font-size: 0.9rem;
  }

  .corporate-seal__annotation-content p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* Elected Officials Page Styles */
.elected-officials__leadership-group {
  margin-bottom: 3rem;
}

.elected-officials__members-group {
  display: grid;
  gap: 1.5rem;
}

.elected-officials__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 4px solid #0f6670;
  border-radius: 1.05rem;
  background: linear-gradient(180deg, #0f6f77, #0d626a);
  box-shadow: 0 8px 20px rgba(5, 64, 72, 0.2);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.elected-officials__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(6, 40, 44, 0.24);
}

.elected-officials__card--primary {
  border-color: #0f6670;
}

.elected-officials__card--primary:hover {
  border-color: #0f6670;
}

.elected-officials__image-wrapper {
  margin: 0.8rem;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #eef2f1;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.elected-officials__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.elected-officials__card:hover .elected-officials__image {
  transform: scale(1.02);
}

.elected-officials__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 5.8rem;
  padding: 0.55rem 0.85rem 1rem;
  text-align: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #0b6d77, #0b5f69);
}

.elected-officials__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  text-transform: none;
}

.elected-officials__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #e8f7f7;
  text-transform: uppercase;
}

.department-heads-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.department-heads-page__board {
  padding: clamp(0.85rem, 1.8vw, 1.2rem);
}

.department-heads-page .omm-page__profile-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #0f6f77, #0d626a);
}

.department-heads-page .omm-page__profile-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #eef2f1;
}

.department-heads-page .omm-page__profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.department-heads-page .omm-page__profile-meta {
  min-height: 5.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #0f6f77, #0d626a);
}

.department-heads-page .omm-page__profile-meta h2 {
  font-size: 1rem;
  line-height: 1.15;
}

.department-heads-page .omm-page__profile-meta p {
  font-size: 0.8rem;
  line-height: 1.2;
}

.citizens-charter-page {
  position: relative;
  overflow: clip;
  padding-bottom: clamp(2.4rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at top center, rgba(33, 108, 116, 0.08), transparent 28%),
    linear-gradient(180deg, #f6fbfb 0%, #fdfefe 45%, #ffffff 100%);
}

.citizens-charter-page::before,
.citizens-charter-page::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 12rem);
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(135deg, rgba(27, 109, 114, 0.12) 0 2px, transparent 2px 18px),
    linear-gradient(45deg, rgba(27, 109, 114, 0.08) 0 2px, transparent 2px 22px);
  background-size: 54px 54px, 72px 72px;
}

.citizens-charter-page::before {
  left: 0;
}

.citizens-charter-page::after {
  right: 0;
  transform: scaleX(-1);
}

.citizens-charter-page__heading {
  margin: 1rem auto 0;
}

.citizens-charter-page__heading h2 {
  margin: 0;
  color: #204548;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: none;
}

.citizens-charter-page__heading p {
  margin: 0.65rem auto 0;
  color: #4c6467;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  line-height: 1.55;
}

.citizens-charter-page__viewer-shell {
  max-width: 62rem;
  margin: 0 auto;
}

.citizens-charter-page__viewer-card {
  border: 1px solid rgba(3, 54, 58, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(8, 43, 45, 0.1);
}

.citizens-charter-page__viewer-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.citizens-charter-page__viewer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: rgba(13, 109, 117, 0.12);
  color: var(--color-brand-700);
  font-size: 2rem;
  flex: 0 0 auto;
}

.citizens-charter-page__viewer-copy {
  min-width: 0;
}

.citizens-charter-page__viewer-kicker {
  margin: 0 0 0.35rem;
  color: var(--color-brand-700);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.citizens-charter-page__viewer-frame {
  display: block;
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1.15rem);
  text-align: center;
}

.citizens-charter-page__viewer-frame canvas {
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .citizens-charter-page__viewer-shell {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .citizens-charter-page::before,
  .citizens-charter-page::after {
    width: 4.5rem;
    opacity: 0.22;
  }

  .citizens-charter-page__viewer-head {
    align-items: center;
    flex-direction: row;
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .citizens-charter-page__heading h2 {
    font-size: 1.15rem;
  }

  .citizens-charter-page__heading p {
    font-size: 0.96rem;
  }

  .citizens-charter-page__viewer-card {
    padding: 1rem !important;
  }

  .citizens-charter-page__viewer-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.55rem;
  }
}

/* Responsive Design for Elected Officials */
@media (max-width: 991.98px) {
  .elected-officials__name {
    font-size: 0.95rem;
  }

  .elected-officials__title {
    font-size: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  .elected-officials__leadership-group {
    margin-bottom: 2rem;
  }

  .department-heads-page__board {
    padding: 0.75rem;
  }

  .elected-officials__info {
    padding: 1rem;
  }

  .elected-officials__name {
    font-size: 0.9rem;
  }

  .elected-officials__title {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .elected-officials__members-group {
    gap: 1rem;
  }

  .elected-officials__info {
    padding: 0.875rem;
  }

  .elected-officials__card {
    border-radius: 1rem;
  }

  .elected-officials__name {
    font-size: 0.85rem;
  }

  .elected-officials__title {
    font-size: 0.7rem;
  }
}

.tourism-accommodation-page,
.tourism-attractions-page,
.tourism-section-page {
  background: linear-gradient(rgb(235 245 235), rgb(224 233 224 / 67%)), url(/resources/img/tourism.png) center / cover no-repeat;
  background-attachment: fixed;
}

.thrust-development-page,
.citizens-charter-page {
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url(/resources/img/pdf_page_bg.png) center / cover no-repeat;
  min-height: 100vh;
}

/* -- Image Zoom Viewer -- */
.kzv-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  outline: none;
}
.kzv-overlay.is-open {
  display: flex;
}
.kzv-toolbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.6);
}
.kzv-label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.kzv-controls {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}
.kzv-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.kzv-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.kzv-btn--close {
  font-size: 1.4rem;
  border-color: rgba(255, 80, 80, 0.5);
}
.kzv-btn--close:hover {
  background: rgba(200, 30, 30, 0.6);
}
.kzv-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: default;
}
.kzv-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.05s linear;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.tourism-page__content {
  display: grid;
  gap: 1.5rem;
}

.tourism-page__viewer-card {
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.tourism-page__document-layout {
  display: grid;
  grid-template-columns: minmax(0, 270px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tourism-page__viewer-card {
  padding: 1.1rem;
}

.tourism-page__viewer-header {
  padding: 0.15rem 0 1rem;
}

.tourism-page__viewer-kicker {
  margin: 0 0 0.2rem;
  color: var(--color-brand-700);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tourism-page__viewer-header h2 {
  margin: 0;
  font-size: 1.4rem;
  text-transform: none;
}

.tourism-page__viewer-frame {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(10, 102, 255, 0.12);
  background: #f3f7f8;
  padding: 1rem;
  text-align: center;
}

.tourism-page__viewer-frame canvas {
  margin: 0 auto;
}

.tourism-page__attractions-intro,
.tourism-page__attraction-card {
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.tourism-page__attractions-intro {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.tourism-page__attractions-intro h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  text-transform: none;
}

.tourism-page__attractions-intro p {
  margin: 0;
  color: #44585b;
  line-height: 1.7;
}

.tourism-page__attractions-list {
  display: grid;
  gap: 1.5rem;
}

.tourism-page__attraction-card {
  overflow: hidden;
}

.tourism-page__attraction-carousel {
  position: relative;
}

.tourism-page__attraction-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef5f6;
}

.tourism-page__carousel-indicators {
  margin-bottom: 0.85rem;
}

.tourism-page__carousel-indicators [data-bs-target] {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.78);
}

.tourism-page__carousel-control {
  top: auto;
  bottom: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(18, 60, 63, 0.6);
  opacity: 0.92;
}

.tourism-page__carousel-control.carousel-control-prev {
  left: 1rem;
}

.tourism-page__carousel-control.carousel-control-next {
  right: 1rem;
}

.tourism-page__carousel-control:hover,
.tourism-page__carousel-control:focus {
  background: rgba(18, 60, 63, 0.78);
}

.tourism-page__carousel-control .carousel-control-prev-icon,
.tourism-page__carousel-control .carousel-control-next-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.tourism-page__attraction-body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.tourism-page__attraction-body h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  text-transform: none;
}

.tourism-page__attraction-body p {
  margin: 0;
  color: #44585b;
  line-height: 1.7;
}

.tourism-page__attraction-body p + p {
  margin-top: 0.75rem;
}

.tourism-page__attraction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.tourism-page__attraction-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 143, 150, 0.1);
  color: var(--color-brand-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.tourism-page__intro-grid,
.tourism-page__section-block,
.tourism-page__chart-card {
  border-radius: 1.25rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.tourism-page__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem;
}

.tourism-page__copy-stack {
  display: grid;
  gap: 1rem;
}

.tourism-page__copy-block {
  padding: 0.25rem 0;
}

.tourism-page__copy-block h2,
.tourism-page__section-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  text-transform: none;
}

.tourism-page__copy-block p {
  margin: 0;
  color: #44585b;
  line-height: 1.7;
}

.tourism-page__section-block {
  padding: 1.25rem;
}

.tourism-page__chart-card {
  padding: 1rem;
}

.tourism-page__chart-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.tourism-page__sidebar-panel {
  padding: 1.1rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 14px 30px rgba(16, 51, 54, 0.1);
}

.tourism-page__sidebar-panel--nav {
  border: 3px solid #226d72;
  box-shadow: 0 12px 24px rgba(12, 56, 60, 0.12);
}

.tourism-page__sidebar-panel--feature {
  border: 1px solid rgba(11, 79, 84, 0.12);
}

.tourism-page__sidebar-panel--feature.tourism-page__sidebar-panel--active {
  border-color: rgba(34, 109, 114, 0.24);
  box-shadow: 0 16px 28px rgba(14, 62, 66, 0.12);
}

.tourism-page__sidebar-heading {
  margin: 0 0 0.9rem;
  color: #15393e;
  font-size: clamp(1.45rem, 1vw, 1.95rem);
  line-height: 1;
  text-transform: none;
}

.tourism-page__sidebar-links,
.tourism-page__sidebar-feature-list {
  display: grid;
  gap: 0.7rem;
}

.tourism-page__sidebar-nav-link,
.tourism-page__feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0.82rem 0.85rem;
  border: 1px solid rgba(13, 90, 95, 0.12);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  color: #244448;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tourism-page__sidebar-nav-link {
  padding-inline: 0;
  border: 0;
  border-top: 1px solid rgba(13, 90, 95, 0.14);
  border-radius: 0;
  background: transparent;
}

.tourism-page__sidebar-nav-link:first-child {
  border-top: 0;
}

.tourism-page__sidebar-link-icon,
.tourism-page__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #6a8588;
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.tourism-page__sidebar-nav-link span:last-child,
.tourism-page__feature-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.tourism-page__sidebar-nav-link:hover,
.tourism-page__sidebar-nav-link:focus,
.tourism-page__sidebar-nav-link[aria-current="page"],
.tourism-page__feature-card:hover,
.tourism-page__feature-card:focus {
  color: #0c666d;
}

.tourism-page__sidebar-nav-link:hover,
.tourism-page__sidebar-nav-link:focus,
.tourism-page__sidebar-nav-link[aria-current="page"] {
  transform: translateY(-1px);
  border-top-color: transparent;
  border-color: rgba(34, 109, 114, 0.28);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  box-shadow: 0 10px 18px rgba(14, 62, 66, 0.1);
}

.tourism-page__feature-card:hover,
.tourism-page__feature-card:focus {
  transform: translateY(-1px);
  border-color: rgba(34, 109, 114, 0.28);
  box-shadow: 0 10px 18px rgba(14, 62, 66, 0.1);
}

.tourism-page__feature-card--stacked {
  grid-template-columns: 1fr;
  align-items: start;
}

.tourism-page__feature-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.tourism-page__feature-card--stacked .tourism-page__feature-sublist {
  grid-column: 1;
  margin-left: 3.05rem;
}

.tourism-page__feature-sublist {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.tourism-page__feature-sublist li {
  position: relative;
  padding-left: 1rem;
  color: #3e585b;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
}

.tourism-page__feature-sublist li + li {
  margin-top: 0.25rem;
}

.tourism-page__feature-sublist li::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #6d8386;
}

/* =========================================
   MHRMO Page
   ========================================= */

/* =========================================
   Office of the Municipal Mayor Page
   ========================================= */

.omm-page {
  position: relative;
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
  background: linear-gradient(rgb(235 245 235), rgb(224 233 224 / 67%)), url(/resources/img/tourism.png) center / cover no-repeat;
  background-attachment: fixed;
}

.omm-page h1,
.omm-page h2 {
  font-family: "Raleway", sans-serif;
  text-transform: none;
}

.omm-page__canvas {
  position: relative;
}

.omm-page__canvas::before {
  content: "";
  position: absolute;
  top: -0.65rem;
  right: max(0.75rem, 2vw);
  width: clamp(12rem, 25vw, 19rem);
  aspect-ratio: 452 / 542;
  border-radius: 0.75rem;
  background: url("/resources/img/map.png") center / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.omm-page__canvas > .row {
  position: relative;
  z-index: 1;
}

.omm-page__profile-card {
  border-radius: 1.05rem;
  border: 4px solid #0f6670;
  background: linear-gradient(180deg, #f7f9f9 0%, #ebeff0 100%);
  box-shadow: 0 8px 20px rgba(5, 64, 72, 0.2);
  overflow: hidden;
}

.omm-page__profile-media {
  margin: 0.8rem;
  border-radius: 0.9rem;
  background: #f2f4f3;
}

.omm-page__profile-image {
  display: block;
  width: 100%;
  height: auto;
}

.omm-page__profile-meta {
  padding: 0.45rem 0.85rem 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #0b6d77, #0b5f69);
}

.omm-page__profile-meta h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.omm-page__profile-meta h2 a,
.omm-page__profile-meta p a {
  color: inherit;
  text-decoration: none;
}

.omm-page__profile-meta p {
  margin: 0.28rem 0 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.omm-page__panel {
  position: relative;
  border-radius: 1.1rem;
  border: 2px solid rgba(47, 54, 54, 0.42);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.omm-page__panel--mandate,
.omm-page__panel--vision {
  min-height: 100%;
  padding: 1.2rem 1.25rem 1.1rem;
}

.omm-page__panel--mission {
  padding: 1.1rem 1.15rem 1.25rem;
}

.omm-page__panel-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.omm-page__panel-head h2,
.omm-page__cta-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #111;
}

.omm-page__panel-head--mission {
  margin-bottom: 0.95rem;
}

.omm-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 3px solid #f6fbfb;
  background: radial-gradient(circle at 30% 30%, #19757d, #0d5f68);
  color: #e8f7f7;
  font-size: 1.45rem;
  box-shadow: 0 0 0 2px #146d75;
  flex: 0 0 auto;
}

.omm-page__panel p,
.omm-page__list {
  margin: 0;
  color: #111;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.omm-page__list {
  margin-top: 0.55rem;
  padding-left: 1.45rem;
}

.omm-page__list li + li {
  margin-top: 0.2rem;
}

.omm-page__vision-copy {
  font-weight: 500;
}

.omm-page__cta-card {
  padding: 1.25rem 1.15rem;
  border-radius: 1.15rem;
  border: 0;
  background: linear-gradient(100deg, rgba(200, 217, 219, 0.9), rgba(181, 212, 218, 0.9));
  box-shadow: 0 8px 16px rgba(21, 56, 61, 0.14);
}

.omm-page__orgchart-image {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(17, 90, 97, 0.3);
  display: block;
}

[data-lightbox]:not(.d-none) {
  cursor: zoom-in;
}

.omm-page__cta-btn {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.95rem;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #0f7984, #0d6670);
  color: #f4fbfb;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.omm-page__cta-btn:hover,
.omm-page__cta-btn:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(8, 68, 75, 0.2);
}

.omm-page__cta-card--flow-feature {
  min-height: clamp(10rem, 28vw, 12rem);
  padding: clamp(1.8rem, 3.2vw, 2.8rem);
  border-radius: 1.9rem;
  background: linear-gradient(100deg, rgba(200, 217, 219, 0.9), rgba(181, 212, 218, 0.9));
  box-shadow: 0 16px 34px rgba(20, 78, 86, 0.24);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.omm-page__cta-card--flow-feature h2 {
  margin: 0;
  color: #050708;
  font-size: clamp(1.7875rem, 3.85vw, 2.2375rem);
  line-height: 1;
  text-transform: none;
}

.omm-page__flow-feature-copy {
  margin: 1.9rem 0 0;
  color: #14282b;
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.8875rem, 1.9vw, 1.0375rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.omm-page__cta-card--flow-feature .omm-page__cta-btn {
  width: min(100%, 30rem);
  margin-top: 2rem;
  padding: 1rem 1.8rem;
  font-size: clamp(0.7875rem, 1.35vw, 0.8rem);
  box-shadow: 0 12px 22px rgba(12, 95, 104, 0.2);
}

.omm-page__cta-btn--disabled,
.omm-page__cta-btn--disabled:hover,
.omm-page__cta-btn--disabled:focus {
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

@media (max-width: 1199.98px) {
  .omm-page__panel-head h2,
  .omm-page__cta-card h2 {
    font-size: 18px;
  }

  .omm-page__cta-card--flow-feature h2 {
    font-size: clamp(1.7875rem, 3.85vw, 2.2375rem);
  }

  .omm-page__flow-feature-copy {
    font-size: clamp(0.9375rem, 1.9vw, 1.1875rem);
  }

  .omm-page__panel p,
  .omm-page__list {
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .omm-page__canvas::before {
    opacity: 0.2;
    width: 11rem;
  }
}

@media (max-width: 575.98px) {
  .post-page__meta-stack {
    padding: 1rem;
  }

  .post-page__content {
    font-size: 1rem;
  }

  .omm-page__profile-card,
  .omm-page__panel,
  .omm-page__cta-card {
    border-radius: 0.9rem;
  }

  .omm-page__panel--mandate,
  .omm-page__panel--vision,
  .omm-page__panel--mission,
  .omm-page__cta-card {
    padding: 1rem;
  }

  .omm-page__panel-head h2,
  .omm-page__cta-card h2 {
    font-size: 18px;
  }

  .omm-page__panel p,
  .omm-page__list {
    font-size: 14px;
  }

  .omm-page__cta-btn {
    font-size: 14px;
  }

  .omm-page__cta-card--flow-feature {
    min-height: 14rem;
    border-radius: 1.2rem;
    padding: 1.35rem 1rem;
  }

  .omm-page__cta-card--flow-feature h2 {
    font-size: clamp(1.4875rem, 6.2vw, 1.8875rem);
  }

  .omm-page__flow-feature-copy {
    margin-top: 1.1rem;
    font-size: clamp(0.8875rem, 4.1vw, 1.0375rem);
  }

  .omm-page__cta-card--flow-feature .omm-page__cta-btn {
    margin-top: 1.6rem;
    padding: 0.85rem 1rem;
    font-size: 0.8875rem;
  }
}

.mhrmo-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(rgb(235 245 235), rgb(224 233 224 / 67%)), url(/resources/img/tourism.png) center / cover no-repeat;
  background-attachment: fixed;
}

.mhrmo-page__profile {
  padding: 0;
}

.mhrmo-page__profile-media {
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 241, 0.9));
}

.mhrmo-page__profile-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mhrmo-page__profile-body {
  padding: 1.25rem 0 0.25rem;
  text-align: center;
}

.mhrmo-page__profile-body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  text-transform: none;
}

.mhrmo-page__eyebrow,
.mhrmo-page__profile-role {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mhrmo-page__eyebrow {
  color: var(--color-brand-500);
}

.mhrmo-page__profile-role {
  margin-top: 0;
  color: #e8f7f7;
  letter-spacing: 0.05em;
}

.mhrmo-page__content {
  display: grid;
  gap: 1.5rem;
}

.mhrmo-page__section-card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--color-line);
  border-radius: 1.4rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.mhrmo-page__section-card p:last-child,
.mhrmo-page__mandate-list {
  margin-bottom: 0;
}

.mhrmo-page__section-card p,
.mhrmo-page__mandate-list {
  color: #5d7175;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mhrmo-page__mandate-list {
  margin-top: 0.75rem;
  padding-left: 1.75rem;
}

.mhrmo-page__mandate-list li + li {
  margin-top: 0.35rem;
}

.mhrmo-page__section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mhrmo-page__section-head--spaced {
  margin-bottom: 1.5rem;
}

.mhrmo-page__section-head h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: none;
}

.mhrmo-page__feature,
.mhrmo-page__process-card {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.mhrmo-page__chart-frame {
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f9 100%);
}

.mhrmo-page__chart-image {
  display: block;
  width: 100%;
  height: auto;
}

.mhrmo-page__process-action {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.mhrmo-page .mhrmo-page__process-card{
  justify-items: center;
}

@media (max-width: 991.98px) {
  .mhrmo-page__section-head {
    flex-direction: column;
  }

  .mhrmo-page__profile-body h2 {
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .mhrmo-page__profile,
  .mhrmo-page__section-card,
  .mhrmo-page__feature,
  .mhrmo-page__process-card {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .mhrmo-page__profile,
  .mhrmo-page__section-card,
  .mhrmo-page__chart-frame {
    border-radius: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .tourism-page__document-layout,
  .tourism-page__intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tourism-page__attraction-image {
    aspect-ratio: 4 / 3;
  }

  .tourism-page__carousel-control {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (max-width: 575.98px) {
  .search-input {
    width: 150px;
  }

  .search-btn {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .news-page__feed,
  .budget-page__board,
  .info-page__feature,
  .info-page__nav-card,
  .info-page__updates-card,
  .tourism-page__intro-grid,
  .tourism-page__section-block,
  .tourism-page__chart-card {
    border-radius: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  .news-page__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .college-president-page__profile-body h2 {
    font-size: 0.9rem;
  }

  .college-president-page__section-head {
    flex-direction: column;
  }

  .budget-page__board-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .budget-page__toolbar {
    justify-content: flex-start;
  }

  .budget-page__board-watermark {
    background-size: min(36vw, 18rem), min(28vw, 13rem);
  }

  .info-page__nav-card-header,
  .info-page__updates-card-header {
    font-size: 1.6rem;
  }

  .tourism-page__intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {

  .college-president-page__section-head,
  .mhrmo-page__section-head{
    align-items: center;
  }

  .college-president-page__section-head h2,
  .mhrmo-page__section-head h2{
    text-align: center;
  }

  .mhrmo-page__process-action{
    justify-content: center;
  }

  .college-president-page__section-card p,
  .mhrmo-page__section-card p,
  .kcast-program-page__section-card p {
    text-align: justify;
  }

  .college-president-page__profile,
  .college-president-page__section-card,
  .college-president-page__feature {
    padding: 1rem;
  }

  .news-feed-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .budget-table {
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .budget-table__head {
    display: none;
  }

  .budget-table__body {
    display: grid;
    gap: 1rem;
  }

  .budget-table--compact .budget-row,
  .budget-table--no-year .budget-row,
  .budget-table--year-title-action .budget-row,
  .budget-table--year-detail-action .budget-row,
  .budget-table--year-action .budget-row,
  .budget-table--title-action .budget-row {
    grid-template-columns: 1fr;
  }

  .budget-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    border: 1px solid rgba(2, 54, 58, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
  }

  .budget-row__cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.2rem;
    color: #6b8083;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .budget-row__action {
    justify-content: flex-start;
  }

  .tourism-page__copy-block p {
    font-size: 0.9rem;
  }

}

/* =========================================
   KCAST Program Pages
   ========================================= */

.kcast-program-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.kcast-program-page__profile {
  padding: 0;
  margin-bottom: 1.5rem;
}

.kcast-program-page__profile-media {
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 241, 0.9));
}

.kcast-program-page__profile-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.kcast-program-page__profile-body {
  padding: 1.25rem 0 0.25rem;
  text-align: center;
}

.kcast-program-page__profile-body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  text-transform: none;
}

.kcast-program-page__profile-role {
  margin: 0;
  color: #e8f7f7;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kcast-program-page__content {
  display: grid;
  gap: 1.5rem;
}

.kcast-program-page__section-head {
  margin-bottom: 1rem;
}

.kcast-program-page__eyebrow {
  margin-bottom: 0.15rem;
}

.kcast-program-page__section-card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--color-line);
  border-radius: 1.4rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.kcast-program-page__section-card p:last-child,
.kcast-program-page__list {
  margin-bottom: 0;
}

.kcast-program-page__section-card p,
.kcast-program-page__list {
  color: #5d7175;
  font-size: 1.05rem;
  line-height: 1.8;
}

.kcast-program-page__list {
  margin-top: 0.75rem;
  padding-left: 1.75rem;
}

.kcast-program-page__list li + li {
  margin-top: 0.35rem;
}

.kcast-program-page__section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
  text-transform: none;
  color: var(--color-ink-900);
}

.kcast-program-page__programs-sidebar {
  display: grid;
  gap: 1.5rem;
}

.kcast-program-page__sidebar-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
  color: var(--color-ink-900);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-brand-500);
}

.kcast-program-page__program-card {
  border: 1px solid var(--color-line);
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.kcast-program-page__program-header {
  padding: 0.9rem 1.25rem;
  background: #ec1c81;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.kcast-program-page__program-body {
  padding: 1rem 1.25rem;
}

.kcast-program-page__program-degree {
  margin: 0 0 0.6rem;
  color: var(--color-ink-900);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.kcast-program-page__program-degree:last-child {
  margin-bottom: 0;
}

.kcast-program-page__program-list {
  margin: 0.6rem 0 0;
  padding-left: 1.5rem;
  color: #5d7175;
  font-size: 0.95rem;
  line-height: 1.6;
}

.kcast-program-page__program-list li + li {
  margin-top: 0.25rem;
}

.kcast-program-page__program-degree:last-child {
  margin-bottom: 0;
}

.kcast-program-page__program-list li + li {
  margin-top: 0.25rem;
}

.kcast-program-page--tep .kcast-program-page__profile,
.kcast-program-page--office-frame .kcast-program-page__profile {
  border-radius: 1.05rem;
  border: 4px solid #0f6670;
  background: linear-gradient(180deg, #f7f9f9 0%, #ebeff0 100%);
  box-shadow: 0 8px 20px rgba(5, 64, 72, 0.2);
  overflow: hidden;
}

.kcast-program-page--tep .kcast-program-page__profile-media,
.kcast-program-page--office-frame .kcast-program-page__profile-media {
  margin: 0.8rem;
  border-radius: 0.9rem;
  background: #f2f4f3;
}

.kcast-program-page--tep .kcast-program-page__profile-image,
.kcast-program-page--office-frame .kcast-program-page__profile-image {
  display: block;
  width: 100%;
  height: auto;
}

.kcast-program-page--tep .kcast-program-page__profile-body,
.kcast-program-page--office-frame .kcast-program-page__profile-body {
  padding: 0.45rem 0.85rem 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #0b6d77, #0b5f69);
}

.kcast-program-page--tep .kcast-program-page__profile-body h2,
.kcast-program-page--office-frame .kcast-program-page__profile-body h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.kcast-program-page--tep .kcast-program-page__profile-role,
.kcast-program-page--office-frame .kcast-program-page__profile-role {
  margin: 0.28rem 0 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: inherit;
}

@media (max-width: 991.98px) {
  .kcast-program-page__profile {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .kcast-program-page__section-card,
  .kcast-program-page__program-card {
    padding: 1rem;
  }

  .kcast-program-page__program-header {
    padding: 0.8rem 1rem;
  }

  .kcast-program-page__program-body {
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .kcast-program-page__profile,
  .kcast-program-page__section-card,
  .kcast-program-page__program-card {
    border-radius: 1.1rem;
  }

  .kcast-program-page__profile-body h2 {
    font-size: 0.9rem;
  }

  .kcast-program-page--tep .kcast-program-page__profile,
  .kcast-program-page--office-frame .kcast-program-page__profile {
    border-radius: 0.9rem;
  }

  .kcast-program-page--tep .kcast-program-page__profile-body h2,
  .kcast-program-page--office-frame .kcast-program-page__profile-body h2 {
    font-size: 18px;
  }

}

/* =========================================
   Student Development Services Office Page
   ========================================= */

.student-services-page {
  position: relative;
  overflow: clip;
  padding-bottom: clamp(2.8rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(2, 54, 58, 0.46), rgba(0, 93, 100, 0.34)),
    url(../img/student.png) center / cover no-repeat;
}

.student-services-page__shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2.8vw, 2.35rem);
  border: 1px solid rgba(8, 72, 76, 0.18);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top center, rgba(104, 161, 164, 0.16), transparent 42%),
    linear-gradient(180deg, #2b6f72 0%, #215c60 54%, #1a4f53 100%);
  box-shadow: 0 24px 48px rgba(12, 57, 61, 0.18);
}

.student-services-page__hero,
.student-services-page__intro,
.student-services-page__statement-stack,
.student-services-page__goals {
  position: relative;
  z-index: 1;
}

.student-services-page__hero {
  text-align: center;
  margin-bottom: 1.35rem;
}

.student-services-page__eyebrow {
  margin: 0 0 0.45rem;
  color: rgba(235, 245, 244, 0.78);
  font-family: "Oswald", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.student-services-page__title {
  margin: 0;
  color: #f5fbfb;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  text-shadow: 0 3px 10px rgba(9, 39, 41, 0.18);
  text-transform: none;
}

.student-services-page__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: 1.35rem;
}

.student-services-page__intro p {
  margin: 0;
  color: rgba(239, 247, 246, 0.92);
  font-size: 0.98rem;
  line-height: 1.72;
  text-align: justify;
}

.student-services-page__statement-stack {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.student-services-page__statement {
  position: relative;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(147, 202, 203, 0.16);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(20, 62, 65, 0.92), rgba(12, 46, 49, 0.92));
  box-shadow: 0 14px 26px rgba(7, 31, 33, 0.16);
}

.student-services-page__statement::after {
  content: "";
  position: absolute;
  inset: auto 1rem -0.3rem 1rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(5, 31, 33, 0.24);
  filter: blur(10px);
}

.student-services-page__statement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.student-services-page__statement-head h2 {
  margin: 0;
  color: #fbfcf9;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1;
  text-transform: none;
}

.student-services-page__statement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #e8f5f3;
  font-size: 1.2rem;
}

.student-services-page__statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(239, 247, 246, 0.92);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: center;
}

.student-services-page__goals {
  padding: 1.15rem;
  border: 1px solid rgba(147, 202, 203, 0.14);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(22, 71, 74, 0.78), rgba(17, 57, 60, 0.78));
}

.student-services-page__goals-head {
  margin-bottom: 0.9rem;
  text-align: center;
}

.student-services-page__goals-head h2 {
  margin: 0 0 0.3rem;
  color: #fbfcf9;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1;
  text-transform: none;
}

.student-services-page__goals-head p {
  margin: 0;
  color: rgba(239, 247, 246, 0.84);
  font-size: 0.95rem;
}

.student-services-page__goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.student-services-page__goal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(147, 202, 203, 0.14);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(13, 55, 58, 0.88), rgba(9, 42, 45, 0.9));
  box-shadow: 0 12px 22px rgba(7, 31, 33, 0.14);
}

.student-services-page__goal-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: rgba(241, 248, 247, 0.1);
  color: #f9fbf8;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.student-services-page__goal-card p {
  margin: 0;
  color: rgba(239, 247, 246, 0.9);
  font-size: 0.93rem;
  line-height: 1.55;
}

.student-services-page__goal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: rgba(239, 247, 246, 0.9);
  font-size: 1.15rem;
}

@media (max-width: 991.98px) {
  .student-services-page__intro,
  .student-services-page__goals-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 767.98px) {
  .student-services-page__shell {
    padding: 1.15rem;
  }

  .student-services-page__intro p {
    text-align: left;
  }

  .student-services-page__statement {
    padding: 0.95rem 1rem;
  }

  .student-services-page__statement p {
    text-align: left;
  }

  .student-services-page__goal-card {
    grid-template-columns: auto 1fr;
  }

  .student-services-page__goal-icon {
    grid-column: 2;
    justify-self: end;
  }
}

@media (max-width: 575.98px) {
  .student-services-page {
    background-position: center;
  }

  .student-services-page__shell {
    border-radius: 1rem;
  }

  .student-services-page__statement-head {
    align-items: flex-start;
  }

  .student-services-page__goal-card {
    padding: 0.9rem;
  }
}

/* =========================================
   Student Organization Page
   ========================================= */

/* student-org / student-pub / student-council share the same page chrome */
.student-org-page,
.student-pub-page,
.student-council-page {
  position: relative;
  overflow: clip;
  padding-bottom: clamp(2.8rem, 5vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(2, 54, 58, 0.46), rgba(0, 93, 100, 0.34)),
    url(../img/student.png) center / cover no-repeat;
}

.student-org-page__section {
  position: relative;
  padding: clamp(3rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  isolation: isolate;
}

/* Shared pseudo-elements & texture for all three student pages */
.student-org-page__section::before,
.student-org-page__section::after,
.student-pub-page__section::before,
.student-pub-page__section::after,
.student-council-page__section::before,
.student-council-page__section::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: -1;
}

.student-org-page__section::before,
.student-pub-page__section::before,
.student-council-page__section::before {
  display: none;
}

.student-org-page__section::after,
.student-pub-page__section::after,
.student-council-page__section::after {
  top: 1.5rem;
  right: -3rem;
  width: clamp(12rem, 22vw, 18rem);
  height: clamp(12rem, 22vw, 18rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 112, 0.28) 0%, rgba(255, 216, 112, 0) 68%);
}

.student-org-page__texture,
.student-pub-page__texture,
.student-council-page__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.08), transparent 32%),
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.06), transparent 19%);
  opacity: 0.75;
  pointer-events: none;
}

.student-org-page__intro {
  position: relative;
  z-index: 1;
  margin: 0 auto 2rem;
  text-align: center;
  color: #f5faf8;
}

.student-org-page__eyebrow {
  margin: 0 0 0.7rem;
  color: rgba(255, 247, 213, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.student-org-page__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
}

.student-org-page__board {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(0.9rem, 1.8vw, 1.15rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.35rem;
  background: rgba(240, 249, 247, 0.18);
  box-shadow: 0 30px 55px rgba(8, 43, 45, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* board-accent, table-wrapper, table, head, body - shared with pub/council pages below */
.student-org-page__board-accent,
.student-pub-page__board-accent {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: min(11rem, 28vw);
  height: 0.4rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(252, 221, 136, 0), rgba(252, 221, 136, 0.95), rgba(252, 221, 136, 0));
}

.student-org-page__table-wrapper,
.student-pub-page__table-wrapper,
.student-council-page__table-wrapper {
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 78, 84, 0.16);
}

.student-org-page__table,
.student-pub-page__table,
.student-council-page__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.student-org-page__table-head th,
.student-pub-page__table-head th,
.student-council-page__table-head th {
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f8f9f1;
  background: linear-gradient(180deg, #2d6668 0%, #235456 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.student-org-page__table-head th:last-child,
.student-pub-page__table-head th:last-child,
.student-council-page__table-head th:last-child {
  border-right: 0;
}

.student-org-page__table-body strong,
.student-pub-page__table-body strong,
.student-council-page__table-body strong {
  display: block;
  color: #0b2224;
  font-size: 1.02rem;
  font-weight: 700;
}

.student-pub-page__member,
.student-council-page__member {
  display: block;
  color: #163437;
}

.student-pub-page__member + .student-pub-page__member,
.student-council-page__member + .student-council-page__member {
  margin-top: 0.35rem;
}

.student-org-page__table-body td {
  width: 50%;
  padding: 1rem 1.35rem;
  border-top: 1px solid rgba(25, 96, 102, 0.12);
  border-right: 1px solid rgba(25, 96, 102, 0.12);
  color: #163437;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  vertical-align: middle;
}

.student-org-page__table-body td:last-child {
  border-right: 0;
}

.student-org-page__table-body tr:nth-child(odd) td {
  background: linear-gradient(180deg, rgba(181, 230, 223, 0.96), rgba(159, 220, 214, 0.96));
}

.student-org-page__table-body tr:nth-child(even) td {
  background: linear-gradient(180deg, rgba(251, 245, 221, 0.98), rgba(247, 239, 209, 0.98));
}

.student-org-page__table-body tr:hover td {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

@media (max-width: 991.98px) {
  .student-org-page__section {
    padding-top: 2.75rem;
  }

  .student-org-page__section::before {
    width: min(22rem, 42vw);
    left: -4.5rem;
    opacity: 0.12;
  }

  .student-org-page__board {
    width: min(100%, 52rem);
  }
}

@media (max-width: 767.98px) {
  .student-org-page__intro {
    margin-bottom: 1.5rem;
  }

  .student-org-page__board {
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .student-org-page__table-head th,
  .student-org-page__table-body td {
    padding: 0.9rem 1rem;
    font-size: 0.94rem;
  }

  .student-org-page__table-body strong {
    font-size: 0.98rem;
  }

  .opportunities-actions__button i{
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .student-org-page,
  .student-pub-page,
  .student-council-page {
    background-position: center;
  }

  .student-org-page__section {
    padding-bottom: 3.5rem;
  }

  .student-org-page__title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .student-org-page__table-wrapper,
  .student-pub-page__table-wrapper,
  .student-council-page__table-wrapper {
    overflow-x: auto;
  }

  .student-org-page__table,
  .student-pub-page__table,
  .student-council-page__table {
    min-width: 34rem;
  }

  .student-org-page__table-head th,
  .student-org-page__table-body td,
  .student-pub-page__table-head th,
  .student-pub-page__table-body td,
  .student-council-page__table-head th,
  .student-council-page__table-body td {
    padding: 0.85rem 0.9rem;
  }

}

/* ============================================
   STUDENT PUBLICATION PAGE STYLES
   ============================================ */

/* student-pub-page background - merged into shared rule above */

/* student-pub-page section - shares rules with student-org-page__section below */
.student-pub-page__section {
  position: relative;
  padding: clamp(3rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  isolation: isolate;
}

.student-pub-page__intro {
  position: relative;
  z-index: 1;
  margin: 0 auto 2rem;
  text-align: center;
  color: #f5faf8;
}

.student-pub-page__eyebrow {
  margin: 0 0 0.7rem;
  color: rgba(255, 247, 213, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.student-pub-page__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
}

.student-pub-page__description {
  margin: 1.1rem auto 0;
}

.student-pub-page__description p {
  margin: 0 0 1rem;
  color: rgba(235, 246, 243, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.student-pub-page__description p:last-child {
  margin-bottom: 0;
}

.student-pub-page__board {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(0.9rem, 1.8vw, 1.15rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.35rem;
  background: rgba(240, 249, 247, 0.18);
  box-shadow: 0 30px 55px rgba(8, 43, 45, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* board-accent, table-wrapper, table, head - shared selectors defined in student-org section */

.student-pub-page__table-body td {
  width: 50%;
  padding: 1rem 1.35rem;
  border-top: 1px solid rgba(25, 96, 102, 0.12);
  border-right: 1px solid rgba(25, 96, 102, 0.12);
  color: #163437;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  vertical-align: top;
}

.student-pub-page__table-body td:last-child {
  border-right: 0;
}

.student-pub-page__table-body tr:nth-child(odd) td {
  background: linear-gradient(180deg, rgba(181, 230, 223, 0.96), rgba(159, 220, 214, 0.96));
}

.student-pub-page__table-body tr:nth-child(even) td {
  background: linear-gradient(180deg, rgba(251, 245, 221, 0.98), rgba(247, 239, 209, 0.98));
}

.student-pub-page__table-body tr:hover td {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

/* cell-label, strong, member - shared selectors defined in student-org section */

@media (max-width: 991.98px) {
  .student-pub-page__section {
    padding-top: 2.75rem;
  }

  .student-pub-page__section::before {
    width: min(22rem, 42vw);
    left: -4.5rem;
    opacity: 0.12;
  }

  .student-pub-page__board {
    width: min(100%, 52rem);
  }
}

@media (max-width: 767.98px) {
  .student-pub-page__intro {
    margin-bottom: 1.5rem;
  }

  .student-pub-page__description p {
    font-size: 0.95rem;
  }

  .student-pub-page__board {
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .student-pub-page__table-head th,
  .student-pub-page__table-body td {
    padding: 0.9rem 1rem;
    font-size: 0.94rem;
  }

  .student-pub-page__table-body strong {
    font-size: 0.98rem;
  }
}

/* background-position, table-wrapper, table min-width, table padding, cell-label - combined with student-org 575px block */
@media (max-width: 575.98px) {
  .student-pub-page__section {
    padding-bottom: 3.5rem;
  }

  .student-pub-page__title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .student-pub-page__description p {
    font-size: 0.92rem;
  }
}

/* =========================================
   Student Council Page
   ========================================= */

/* student-council-page background - merged into shared rule above */

/* student-council-page section \u2014 shares rules combined above */
.student-council-page__section {
  position: relative;
  padding: clamp(3rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
  isolation: isolate;
}

.student-council-page__intro-shell {
  position: relative;
  margin: 0 auto 2.2rem;
  padding: clamp(1.2rem, 2vw, 1.7rem) clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 1.35rem;
  border: 1px solid rgba(8, 72, 76, 0.18);
  background:
    radial-gradient(circle at top center, rgba(104, 161, 164, 0.16), transparent 42%),
    linear-gradient(180deg, #2b6f72 0%, #215c60 54%, #1a4f53 100%);
  box-shadow: 0 24px 48px rgba(12, 57, 61, 0.18);
  z-index: 2;
}

.student-council-page__intro {
  position: relative;
  z-index: 1;
  margin: 0 auto 2rem;
  text-align: center;
  color: #f5faf8;
}

.student-council-page__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-transform: none;
}

.student-council-page__eyebrow {
  margin: 0 0 0.7rem;
  color: rgba(255, 247, 213, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.student-council-page__description {
  margin: 1.1rem auto 0;
}

.student-council-page__description p {
  margin: 0;
  color: rgba(235, 246, 243, 0.88);
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.student-council-page__duties {
  margin: 1.5rem auto 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.student-council-page__subheading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
}

.student-council-page__duties-list {
  margin: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
}

.student-council-page__duties-list li {
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  line-height: 1.7;
}

.student-council-page__duties-list li + li {
  margin-top: 0.35rem;
}

.student-council-page__section-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-align: center;
}

.student-council-page__board {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: clamp(0.9rem, 1.8vw, 1.15rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.35rem;
  background: rgba(240, 249, 247, 0.18);
  box-shadow: 0 30px 55px rgba(8, 43, 45, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* board-accent, table-wrapper, table, head, strong, member - shared selectors defined in student-org section */

.student-council-page__table-body td {
  width: 50%;
  padding: 1rem 1.35rem;
  border-top: 1px solid rgba(25, 96, 102, 0.12);
  border-right: 1px solid rgba(25, 96, 102, 0.12);
  color: #163437;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  vertical-align: top;
}

.student-council-page__table-body td:last-child {
  border-right: 0;
}

.student-council-page__table-body tr:nth-child(odd) td {
  background: linear-gradient(180deg, rgba(181, 230, 223, 0.96), rgba(159, 220, 214, 0.96));
}

.student-council-page__table-body tr:nth-child(even) td {
  background: linear-gradient(180deg, rgba(251, 245, 221, 0.98), rgba(247, 239, 209, 0.98));
}

.student-council-page__table-body tr:hover td {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

@media (max-width: 991.98px) {
  .student-council-page__section {
    padding-top: 2.75rem;
  }

  .student-council-page__section::before {
    width: min(22rem, 42vw);
    left: -4.5rem;
    opacity: 0.12;
  }

  .student-council-page__board {
    width: min(100%, 52rem);
  }
}

@media (max-width: 767.98px) {
  .student-council-page__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
  }

  .student-council-page__description p,
  .student-council-page__duties-list li {
    font-size: 0.95rem;
  }

  .student-council-page__intro {
    margin-bottom: 1.5rem;
  }

  .student-council-page__subheading {
    font-size: 1rem;
  }

  .student-council-page__board {
    padding: 0.75rem;
    border-radius: 1rem;
  }

  .student-council-page__table-head th,
  .student-council-page__table-body td {
    padding: 0.9rem 1rem;
    font-size: 0.94rem;
  }

  .student-council-page__table-body strong {
    font-size: 0.98rem;
  }
}

/* background-position, table-wrapper, table min-width, table padding - combined with student-org 575px block */
@media (max-width: 575.98px) {
  .student-council-page__title {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .student-council-page__description,
  .student-council-page__duties {
    margin-bottom: 1.5rem;
  }

  .student-council-page__description p,
  .student-council-page__duties-list li {
    font-size: 0.92rem;
  }
}

/* ============================================================
   Standing Committees Page
   ============================================================ */

.standing-committees-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.standing-committees-page__board {
  padding: clamp(0.95rem, 1.9vw, 1.35rem);
}

/* Card */
.standing-committees-page__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: 1rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.standing-committees-page__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(6, 40, 44, 0.16);
}

/* Colored icon area - background driven by CSS custom property set inline */
.standing-committees-page__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 1.5rem;
  background-color: var(--sc-card-clr, #cde8f2);
}

.standing-committees-page__icon {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.standing-committees-page__card:hover .standing-committees-page__icon {
  transform: scale(1.07);
}

/* Text body */
.standing-committees-page__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.75rem 1rem;
  background: var(--color-surface);
  text-align: center;
}

.standing-committees-page__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-ink-900);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 767.98px) {
  .standing-committees-page__board {
    padding: 0.75rem;
  }

  .standing-committees-page__media {
    padding: 1.1rem;
  }

  .standing-committees-page__name {
    font-size: 0.66rem;
  }
}

@media (max-width: 575.98px) {
  .standing-committees-page__card {
    border-radius: 0.9rem;
  }

  .standing-committees-page__media {
    padding: 0.9rem;
  }

  .standing-committees-page__body {
    padding: 0.65rem 0.6rem 0.8rem;
  }

  .standing-committees-page__name {
    font-size: 0.62rem;
  }
}

.barangays-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.barangays-page__board {
  padding: clamp(0.95rem, 1.9vw, 1.35rem);
}

.barangays-page__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(2, 54, 58, 0.12);
  border-radius: 0.5rem;
  background: #f0f0f0;
  box-shadow: 0 8px 20px rgba(6, 40, 44, 0.16);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.barangays-page__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(6, 40, 44, 0.18);
}

.barangays-page__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin: 0.8rem 0.8rem 0;
  border: 1px solid rgba(2, 54, 58, 0.08);
  border-radius: 0.2rem;
  background: #fff;
}

.barangays-page__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.barangays-page__body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.7rem 0.55rem 0.95rem;
  text-align: center;
}

.barangays-page__name {
  margin: 0;
  color: #1e272e;
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 0.92vw, 1.02rem);
  font-weight: 700;
  line-height: 1.24;
  text-transform: none;
}

@media (max-width: 991.98px) {
  .barangays-page__board .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .barangays-page__name {
    font-size: 0.94rem;
  }
}

@media (max-width: 767.98px) {
  .barangays-page__board {
    padding: 0.8rem;
  }

  .barangays-page__media {
    margin: 0.65rem 0.65rem 0;
  }

  .barangays-page__name {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .barangays-page__card {
    border-radius: 0.45rem;
  }

  .barangays-page__media {
    margin: 0.55rem 0.55rem 0;
  }

  .barangays-page__name {
    font-size: 0.85rem;
  }
}

.indigenous-page {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.indigenous-page::before,
.indigenous-page::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: min(42rem, 62vw);
  aspect-ratio: 4 / 5;
  background: url(../img/indigenous-bg.png) center bottom / contain no-repeat;
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
}

.indigenous-page::before {
  right: -8%;
}

.indigenous-page::after {
  left: -12%;
}

.indigenous-page > section {
  position: relative;
  z-index: 1;
}

.indigenous-page__sheet {
  position: relative;
  overflow: hidden;
  background: rgba(240, 240, 240, 0.9);
}

.indigenous-page__heading-wrap,
.indigenous-page__table-wrap {
  position: relative;
  z-index: 1;
}

.indigenous-page__heading-wrap {
  display: block;
  margin-bottom: 0;
  padding: 1.35rem 1rem 0.55rem;
  text-align: center;
}

.indigenous-page__heading {
  margin: 0;
  color: #1f2a30;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
}

.indigenous-page__table-shell {
  margin: 0;
}

.indigenous-page__table-shell + .indigenous-page__table-shell {
  margin-top: 0.75rem;
}

.indigenous-page__table {
  margin: 0;
  width: max-content;
  min-width: 100%;
  background: rgba(255, 255, 255, 0.55);
}

.indigenous-page__table th,
.indigenous-page__table td {
  border-color: rgba(2, 54, 58, 0.12);
  color: #1f2a30;
  font-size: 0.82rem;
  line-height: 1.35;
  vertical-align: middle;
  white-space: nowrap;
}

.indigenous-page__table thead th {
  background: rgba(246, 246, 246, 0.92);
  font-weight: 700;
  text-transform: uppercase;
}

.indigenous-page__table tbody th {
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.indigenous-page__sidebar {
  display: grid;
  gap: 1rem;
}

.indigenous-page__profile-card,
.indigenous-page__general-card {
  border: 1px solid var(--color-line);
  border-radius: 0.9rem;
  background: #fff;
  overflow: hidden;
}

.indigenous-page__profile-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.85rem 0.7rem;
}

.indigenous-page__profile-title h2 {
  margin: 0;
  color: #1f2a30;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1;
  text-transform: none;
}

.indigenous-page__profile-links {
  display: grid;
}

.indigenous-page__profile-links a {
  padding: 1rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #04ab58;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.indigenous-page__profile-links a:hover,
.indigenous-page__profile-links a:focus {
  background: #01974c;
  color: #fff;
  padding-left: 1rem;
}

.indigenous-page__general-card a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.85rem;
  color: #1f2a30;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.indigenous-page__general-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  border: 2px solid #0a66ff;
  color: #0a66ff;
  font-size: 0.95rem;
  flex: 0 0 auto;
}

.indigenous-page__updates-card h2 {
  background: #04ab58;
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.indigenous-page__updates-card .info-page__updates-icon,
.indigenous-page__updates-card .info-page__updates-icon i {
  color: #fff;
}

.indigenous-page__updates-card .info-page__link-list {
  padding-top: 0.9rem;
}

@media (max-width: 991.98px) {
  .indigenous-page::before,
  .indigenous-page::after {
    width: min(28rem, 70vw);
    opacity: 0.25;
  }

  .indigenous-page__table th,
  .indigenous-page__table td {
    font-size: 0.74rem;
  }
}

@media (max-width: 767.98px) {
  .indigenous-page__heading-wrap {
    padding-top: 1.15rem;
  }

  .indigenous-page__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: 0.55rem;
  }

  .indigenous-page__table {
    min-width: 42rem;
  }

  .indigenous-page__table th,
  .indigenous-page__table td {
    font-size: 0.74rem;
  }

  .indigenous-page__table thead th:first-child,
  .indigenous-page__table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
  }

  .indigenous-page__table thead th:first-child {
    z-index: 3;
  }
}

@media (max-width: 575.98px) {
  .indigenous-page__sheet {
    border-radius: 0.85rem;
  }

  .indigenous-page::before,
  .indigenous-page::after {
    width: min(18rem, 76vw);
    opacity: 0.18;
  }
}

.historical-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.historical-page__sheet {
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.historical-page__figure {
  margin: 0;
}

.historical-page__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .historical-page__sheet {
    border-radius: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .historical-page__sheet {
    border-radius: 0.75rem;
  }
}

/* =========================================================
   Geophysical Characteristics Page
   ========================================================= */

.geo-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.geo-page__sheet {
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.geo-page__intro {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.geo-page__heading {
  margin-bottom: 1rem;
  color: var(--color-ink-900);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.geo-page__text {
  margin-bottom: 0;
  color: var(--color-ink-900);
  font-size: 1rem;
  line-height: 1.75;
}

.geo-page__location-figure {
  border-radius: 0.75rem;
  overflow: hidden;
}

.geo-page__section {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--color-line);
}

.geo-page__section-heading {
  margin-bottom: 1rem;
  color: var(--color-ink-900);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.geo-page__figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
}

.geo-page__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Active state for the ecological profile sidebar links */
.indigenous-page__profile-links a.is-active {
  background: #018a4a;
  padding-left: 1rem;
}

@media (max-width: 991.98px) {
  .geo-page__sheet {
    border-radius: 0.9rem;
  }
}

.brgy-profile-page {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.brgy-profile-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 249, 248, 0.94), rgba(247, 249, 248, 0.98));
}

.brgy-profile-page__surface {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(2, 54, 58, 0.14);
  border-radius: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: url(../img/bg-brgy/capungagan.png) center right / cover no-repeat;
  box-shadow: 0 14px 30px rgba(6, 40, 44, 0.14);
}

.brgy-profile-page__surface::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: min(24rem, 55%);
  aspect-ratio: 1 / 1;
  opacity: 0.08;
  pointer-events: none;
}

.brgy-profile-page--florida .brgy-profile-page__surface {
  background: url(../img/bg-brgy/florida.png) center right / cover no-repeat;
}

.brgy-profile-page--gabuyan .brgy-profile-page__surface {
  background: url(../img/bg-brgy/gabuyan.png) center right / cover no-repeat;
}

.brgy-profile-page--gupitan .brgy-profile-page__surface {
  background: url(../img/bg-brgy/gupitan.png) center right / cover no-repeat;
}

.brgy-profile-page--katipunan .brgy-profile-page__surface {
  background: url(../img/bg-brgy/katipunan.png) center right / cover no-repeat;
}

.brgy-profile-page--luna .brgy-profile-page__surface {
  background: url(../img/bg-brgy/luna.png) center right / cover no-repeat;
}

.brgy-profile-page--mabantao .brgy-profile-page__surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.96));
}

.brgy-profile-page--mamacao .brgy-profile-page__surface {
  background: url(../img/bg-brgy/mamacao.png) center right / cover no-repeat;
}

.brgy-profile-page--pagasa .brgy-profile-page__surface {
  background: url(../img/bg-brgy/pagasa.png) center right / cover no-repeat;
}

.brgy-profile-page--sampao .brgy-profile-page__surface {
  background: url(../img/bg-brgy/sampao.png) center right / cover no-repeat;
}

.brgy-profile-page--suaon .brgy-profile-page__surface {
  background: url(../img/bg-brgy/suaon.png) center right / cover no-repeat;
}

.brgy-profile-page--tiburcia .brgy-profile-page__surface {
  background: url(../img/bg-brgy/tiburcia.png) center right / cover no-repeat;
}

.brgy-profile-page--semong .brgy-profile-page__surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.96));
}

.brgy-profile-page--maniki .brgy-profile-page__surface {
  background: url(../img/bg-brgy/maniki.png) center right / cover no-repeat;
}

.brgy-profile-page__surface > * {
  position: relative;
  z-index: 1;
}

.brgy-profile-page__panel-title {
  margin: 0 0 0.5rem;
  color: #214b51;
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(2rem, 2.35vw, 2.35rem);
  font-weight: 600;
  line-height: 1;
  text-transform: none;
}

.brgy-profile-page__panel-copy {
  color: #16363a;
  font-size: clamp(1.12rem, 1.22vw, 1.3rem);
  line-height: 1.38;
}

.brgy-profile-page__officials-wrap {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.brgy-profile-page__section-heading {
  margin: 0;
  color: #14663a;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1;
  text-transform: none;
}

.brgy-profile-page__heading-line {
  width: 4rem;
  height: 0.33rem;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: #f2c741;
}

.brgy-profile-page__official-card {
  height: 100%;
  border: 1px solid rgba(2, 54, 58, 0.28);
  border-radius: 0.5rem;
  padding: 0.75rem 0.95rem 0.82rem;
  background: #fbfbfb;
  text-align: center;
  box-shadow: 0 7px 14px rgba(5, 44, 49, 0.12);
}

.brgy-profile-page__official-card--lead {
  padding-top: 0.95rem;
  padding-bottom: 1rem;
}

.brgy-profile-page__official-card--wide {
  align-content: center;
}

.brgy-profile-page__official-card--councilors {
  padding-bottom: 0.7rem;
}

.brgy-profile-page__official-name {
  margin: 0;
  color: #1b1f23;
  font-family: var(--font-body);
  font-size: clamp(1.12rem, 1.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
}

.brgy-profile-page__official-role {
  margin: 0.2rem 0 0;
  color: #202f35;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.25;
}

.brgy-profile-page__councilors-list {
  margin: 0.35rem 0 0;
  padding-left: 0;
  list-style: none;
}

.brgy-profile-page__councilors-list li {
  color: #172b2f;
  font-size: 1.02rem;
  line-height: 1.28;
}

.brgy-profile-page .brgy-profile-page__surface {
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 0.9rem;
  border-color: rgba(93, 80, 57, 0.18);
  box-shadow: 0 16px 32px rgba(71, 53, 35, 0.14);
}

.brgy-profile-page--capungagan .brgy-profile-page__surface{
  background:
    linear-gradient(180deg, rgb(244 239 229 / 23%), rgb(231 224 212 / 28%)), 
    url(../img/bg-brgy/capungagan.png) center center / cover no-repeat;
}

.brgy-profile-page .brgy-profile-page__surface::after {
  width: min(26rem, 52%);
  opacity: 0.06;
}

.brgy-profile-page .brgy-profile-page__hero-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-radius: 0.65rem;
  background:
    linear-gradient(90deg, rgba(251, 248, 236, 0.98), rgba(242, 232, 199, 0.94)),
    linear-gradient(135deg, rgba(199, 181, 117, 0.16), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 22px rgba(77, 67, 52, 0.14);
  overflow: hidden;
}

.brgy-profile-page .brgy-profile-page__captain-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem 0 0.2rem;
}

.brgy-profile-page .brgy-profile-page__avatar-wrap--hero {
  width: 7.45rem;
  margin-bottom: 0;
  padding: 0.38rem;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(236, 230, 217, 0.96));
  box-shadow: 0 8px 18px rgba(88, 70, 43, 0.18);
  border: 3px solid rgba(204, 177, 119, 0.78);
}

.brgy-profile-page .brgy-profile-page__avatar {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brgy-profile-page .brgy-profile-page__vision-mission {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  min-height: 5.35rem;
  padding: 0.32rem 0 0.32rem 0;
}

.brgy-profile-page .brgy-profile-page__hero-pane {
  position: relative;
  min-height: 4.55rem;
  padding: 0.35rem 0.55rem 0.35rem 0;
}

.brgy-profile-page .brgy-profile-page__hero-pane--mission {
  border-left: 1px solid rgba(164, 145, 110, 0.42);
  padding-left: 0.8rem;
}

.brgy-profile-page .brgy-profile-page__panel-title {
  margin: 0 0 0.18rem;
  color: #33261b;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.brgy-profile-page .brgy-profile-page__panel-copy {
  color: #2f2924;
  font-size: 1rem;
  line-height: 1.34;
  font-weight: 500;
}

.brgy-profile-page .brgy-profile-page__officials-wrap--capungagan {
  margin-top: clamp(1.8rem, 3.2vw, 2.3rem);
}

.brgy-profile-page .brgy-profile-page__section-heading {
  color: #2b241e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.5vw, 2.45rem);
}

.brgy-profile-page .brgy-profile-page__heading-line {
  width: 4.8rem;
  height: 0.2rem;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, rgba(13, 108, 103, 0), #0f6c67 35%, rgba(13, 108, 103, 0) 100%);
}

.brgy-profile-page .brgy-profile-page__official-card {
  height: 100%;
  border-radius: 0.6rem;
  border-color: rgba(124, 100, 69, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 12px rgba(84, 67, 47, 0.12);
  padding: 1rem;
  justify-items: center;
}

.brgy-profile-page .brgy-profile-page__official-card--lead {
  padding: 0.7rem 0.75rem 0.55rem;
}

.brgy-profile-page .brgy-profile-page__official-card-body {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brgy-profile-page .brgy-profile-page__official-card--lead .brgy-profile-page__official-card-body {
  flex-direction: column;
  gap: 0.22rem;
}

.brgy-profile-page .brgy-profile-page__official-card-body--councilors {
  align-items: center;
}

.brgy-profile-page .brgy-profile-page__official-avatar {
  display: block;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  margin: 0;
  object-fit: contain;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(236, 230, 217, 0.96));
  box-shadow: 0 3px 8px rgba(84, 67, 47, 0.14);
}

.brgy-profile-page .brgy-profile-page__official-card--lead .brgy-profile-page__official-avatar {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.12rem;
}

.brgy-profile-page .brgy-profile-page__official-copy {
  min-width: 0;
}

.brgy-profile-page .brgy-profile-page__official-name {
  color: #251f1b;
  font-size: 1rem;
  line-height: 1.12;
  margin: 0;
}

.brgy-profile-page .brgy-profile-page__official-name-punong {
  margin-top: 1em;
}

.brgy-profile-page .brgy-profile-page__official-role,
.brgy-profile-page .brgy-profile-page__councilors-list li {
  color: #453a32;
  font-size: 0.9rem;
  line-height: 1.08;
}

.brgy-profile-page .brgy-profile-page__official-card--lead .brgy-profile-page__official-name {
  font-size: 1rem;
  text-align: center;
}

.brgy-profile-page .brgy-profile-page__official-card--lead .brgy-profile-page__official-role {
  font-size: 1rem;
  text-align: center;
}

.brgy-profile-page .brgy-profile-page__official-card--wide {
  min-height: 5.85rem;
}

.brgy-profile-page .brgy-profile-page__sk-logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 991.98px) {
  .brgy-profile-page .brgy-profile-page__hero-card {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 100%;
    padding: 0.8rem;
  }

  .brgy-profile-page .brgy-profile-page__captain-panel {
    padding: 0;
    justify-content: center;
  }

  .brgy-profile-page .brgy-profile-page__vision-mission {
    min-height: auto;
    padding: 0;
    background: transparent;
  }
}

@media (max-width: 767.98px) {
  .brgy-profile-page .brgy-profile-page__vision-mission {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .brgy-profile-page .brgy-profile-page__hero-pane--mission {
    border-left: 0;
    padding-left: 0;
  }

  .brgy-profile-page [data-kagawad-grid] .brgy-profile-page__official-card,
  .brgy-profile-page [data-support-grid] .brgy-profile-page__official-card,
  .brgy-profile-page [data-sk-grid] .brgy-profile-page__official-card--wide:not(.brgy-profile-page__official-card--councilors) {
    padding: 0.7rem 0.75rem 0.55rem;
  }

  .brgy-profile-page [data-kagawad-grid] .brgy-profile-page__official-card-body,
  .brgy-profile-page [data-support-grid] .brgy-profile-page__official-card-body,
  .brgy-profile-page [data-sk-grid] .brgy-profile-page__official-card--wide:not(.brgy-profile-page__official-card--councilors) .brgy-profile-page__official-card-body {
    flex-direction: column;
    gap: 0.22rem;
    text-align: center;
  }

  .brgy-profile-page [data-kagawad-grid] .brgy-profile-page__official-avatar,
  .brgy-profile-page [data-support-grid] .brgy-profile-page__official-avatar,
  .brgy-profile-page [data-sk-grid] .brgy-profile-page__official-card--wide:not(.brgy-profile-page__official-card--councilors) .brgy-profile-page__official-avatar {
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 0.12rem;
  }

  .brgy-profile-page [data-kagawad-grid] .brgy-profile-page__official-name,
  .brgy-profile-page [data-support-grid] .brgy-profile-page__official-name,
  .brgy-profile-page [data-sk-grid] .brgy-profile-page__official-card--wide:not(.brgy-profile-page__official-card--councilors) .brgy-profile-page__official-name {
    font-size: 0.86rem;
    text-align: center;
  }

  .brgy-profile-page [data-kagawad-grid] .brgy-profile-page__official-role,
  .brgy-profile-page [data-support-grid] .brgy-profile-page__official-role,
  .brgy-profile-page [data-sk-grid] .brgy-profile-page__official-card--wide:not(.brgy-profile-page__official-card--councilors) .brgy-profile-page__official-role {
    font-size: 0.72rem;
    text-align: center;
  }

}

@media (max-width: 575.98px) {
  .indigenous-page__sheet {
    border-radius: 0.85rem;
    padding: 0.8rem;
  }

  .indigenous-page::before,
  .indigenous-page::after {
    width: min(18rem, 76vw);
    opacity: 0.18;
  }

  .brgy-profile-page__surface::after {
    width: min(17rem, 72%);
    opacity: 0.07;
  }

  .brgy-profile-page__panel-title {
    font-size: 1.75rem;
  }

  .brgy-profile-page__panel-copy {
    font-size: 1rem;
    text-align: justify;
  }

  .brgy-profile-page__section-heading {
    font-size: 2rem;
  }

  .brgy-profile-page__official-card {
    padding: 0.72rem 0.85rem 0.78rem;
  }
}

/* =========================================================
   Population and Demographic Profile Page
   ========================================================= */

.pop-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.pop-page__sheet {
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pop-page__heading-wrap {
  padding: 1.35rem 1rem 0.55rem;
  text-align: center;
}

.pop-page__heading {
  margin: 0;
  color: var(--color-ink-900);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.pop-page__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pop-page__table {
  width: max-content;
  min-width: 100%;
  margin: 0;
  background: transparent;
}

.pop-page__table th,
.pop-page__table td {
  border-color: rgba(2, 54, 58, 0.12);
  color: var(--color-ink-900);
  font-size: 0.88rem;
  line-height: 1.35;
  vertical-align: middle;
  white-space: nowrap;
}

.pop-page__table thead th {
  background: rgba(246, 246, 246, 0.92);
  font-weight: 700;
  text-transform: uppercase;
}

.pop-page__table tbody th {
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.pop-page__total-row th,
.pop-page__total-row td {
  font-weight: 700;
  background: rgba(246, 246, 246, 0.92);
}

@media (max-width: 991.98px) {
  .pop-page__sheet {
    border-radius: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .pop-page__table-wrap {
    padding-inline: 0.55rem;
  }

  .pop-page__table {
    min-width: 40rem;
  }

  .pop-page__table thead th:first-child,
  .pop-page__table tbody td:first-child,
  .pop-page__table tfoot td:first-child {
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
  }

  .pop-page__table thead th:nth-child(2),
  .pop-page__table tbody th,
  .pop-page__table tfoot th {
    position: sticky;
    left: 3rem;
    z-index: 2;
    background: #fff;
  }

  .pop-page__table thead th:first-child {
    z-index: 3;
  }

  .pop-page__table thead th:nth-child(2) {
    z-index: 3;
  }

  .pop-page__table thead th:nth-child(2),
  .pop-page__table tbody th,
  .pop-page__table tfoot th {
    box-shadow: 1px 0 0 rgba(2, 54, 58, 0.12), 10px 0 14px rgba(2, 54, 58, 0.06);
  }
}

@media (max-width: 575.98px) {
  .pop-page__sheet {
    border-radius: 0.75rem;
  }
}

/* =========================================================
   Geological and Meteorological Hazards Page
   ========================================================= */

.hazards-page {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hazards-page__sheet {
  border-radius: 1rem;
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hazards-page__content {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.hazards-page__heading,
.hazards-page__subheading {
  margin: 0;
  color: var(--color-ink-900);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.hazards-page__subheading {
  margin-bottom: 1rem;
}

.hazards-page__text {
  margin: 1rem 0 0;
  color: var(--color-ink-900);
  font-size: 1rem;
  line-height: 1.75;
}

.hazards-page__divider {
  margin: 1.15rem 0 1rem;
  border: 0;
  border-top: 1px solid rgba(2, 54, 58, 0.1);
  opacity: 1;
}

.hazards-page__figure {
  border-radius: 0.75rem;
  overflow: hidden;
}

.hazards-page__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .hazards-page__sheet {
    border-radius: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hazards-page__sheet {
    border-radius: 0.75rem;
  }

  .hazards-page__content {
    padding-inline: 1rem;
  }
}

/* Shared shell for publication and organization content */
.student-org-page__intro-shell,
.student-pub-page__intro-shell {
  position: relative;
  margin: 0 auto 2.2rem;
  padding: clamp(1.2rem, 2vw, 1.7rem) clamp(1.2rem, 3vw, 2.2rem);
  border-radius: 1.35rem;
  border: 1px solid rgba(8, 72, 76, 0.18);
  background:
    radial-gradient(circle at top center, rgba(104, 161, 164, 0.16), transparent 42%),
    linear-gradient(180deg, #2b6f72 0%, #215c60 54%, #1a4f53 100%);
  box-shadow: 0 24px 48px rgba(12, 57, 61, 0.18);
  z-index: 2;
}

/* Limit Tourism Section Head card height so it doesn't fill the row */
.tourism-page__intro-grid .kcast-program-page__profile {
  height: fit-content;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .post-page__gallery-footer{
    margin-top: 20em;
  }
}

@media (max-width: 378px) {
  .header-main__info h4{
    font-size: 1.1rem;
  }

  .header-main__info h6 {
        font-size: 0.4rem;
    }
}

