@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #f7f6f3;
  --primary-soft: #ffffff;
  --primary-deep: #1d2b36;
  --accent: #d7c2a5;
  --accent-strong: #b99768;
  --bg: #f5f7f8;
  --card: #ffffff;
  --text: #1f2a37;
  --muted: #5f6975;
  --line: #e8edf1;
  --soft-neutral: #f6f3f0;
  --soft-mint: #f8f9f6;
  --soft-peach: #fffaf3;
  --font-body: "Poppins", sans-serif;
  --font-display: "Poppins", sans-serif;
  --shadow: 0 20px 44px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 26px 58px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f7 38%, #f8f5f2 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  isolation: isolate;
}

body::before {
  content: "";
  position: absolute;
  inset: 12% 10% 12% 10%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 38%),
    radial-gradient(circle at 20% 15%, rgba(124, 147, 161, 0.12), transparent 30%),
    radial-gradient(circle at 80% 72%, rgba(215, 194, 165, 0.12), transparent 30%),
    url("../img/gambar6.png") center/contain no-repeat;
  opacity: 0.82;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.04) brightness(1.04);
  transform: scale(1.05);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 4px
    ),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(215, 178, 108, 0.03), transparent 42%),
    linear-gradient(315deg, rgba(17, 24, 39, 0.025), transparent 48%);
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  width: min(1360px, calc(100% - 28px));
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(200, 16, 22, 0.2);
}

.brand-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-deep);
  font-family: var(--font-display);
  line-height: 1.05;
}

.brand-text span {
  color: #3c4a52;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-deep);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  cursor: pointer;
}

.mobile-menu-control {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-control:checked + .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-control:checked + .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-control:checked + .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dropdown-item {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.dropdown-item:nth-last-child(-n + 3) .dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-item > a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.dropdown-item > a[aria-haspopup="true"]::after {
  content: "";
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.55em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  vertical-align: 0.2em;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.dropdown-item.js-click-dropdown > a[aria-haspopup="false"]::after {
  content: none;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.01));
  color: #111827;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04);
}

.dropdown-item:hover > a[aria-haspopup="true"]::after,
.dropdown-item:focus-within > a[aria-haspopup="true"]::after {
  transform: rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.09);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 20;
}

.dropdown-item:hover .dropdown-menu,
.dropdown-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu.menu-grid {
  min-width: 430px;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 6px 12px;
  padding: 14px;
}

.dropdown-menu.program-dropdown-menu {
  width: max-content;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 28px));
}

.menu-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-dropdown-menu {
  width: 270px;
  padding: 10px;
}

.service-category + .service-category {
  margin-top: 4px;
}

.service-category-header {
  display: flex;
  gap: 4px;
}

.service-category-link {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 8px 12px !important;
  border-radius: 8px;
  background: #f7f8fa;
  color: #1f2937 !important;
  font-size: inherit;
  font-weight: 500 !important;
  line-height: 1.4;
  text-decoration: none;
}

.service-category-link:hover,
.service-category-link:focus-visible {
  background: #f8eeee;
  color: #9b171b !important;
}

.service-category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #f7f8fa;
  color: #1f2937;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.service-category-header .service-category-toggle {
  flex: 0 0 38px;
  width: 38px;
  justify-content: center;
  padding: 8px;
}

.service-category-toggle::after {
  content: "+";
  color: #9b171b;
  font-size: 1.1rem;
  line-height: 1;
}

.service-category-toggle[aria-expanded="true"] {
  background: #f8eeee;
  color: #9b171b;
}

.service-category-toggle[aria-expanded="true"]::after {
  content: "−";
}

.service-category-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 0 4px 10px;
}

.service-category-links[hidden] {
  display: none;
}

.service-category-links a {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.9rem;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #1f2937;
  white-space: normal;
  line-height: 1.4;
  font-size: 0.92rem;
  font-weight: 500;
}

.menu-item-simple {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px !important;
  border: 1px solid rgba(17, 24, 39, 0.04);
  background: rgba(248, 250, 252, 0.7);
}

.menu-item-simple strong {
  font-size: 0.86rem;
  color: #111827;
}

.menu-item-simple span {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #4b5563;
}

.dropdown-menu a:hover {
  background: linear-gradient(180deg, rgba(200, 16, 22, 0.06), rgba(200, 16, 22, 0.02));
}

.nav-links > a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--primary-deep);
  font-weight: 600;
}

.nav-links > a:hover,
.nav-links > a.active {
  background: var(--soft-neutral);
  color: var(--primary);
}

.header-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  min-height: 46px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  color: var(--primary-deep);
}

.header-btn {
  min-width: 138px;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 239, 234, 0.96));
  color: var(--primary-deep);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.06);
  font-size: 0.86rem;
}

.btn-primary {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(200, 16, 22, 0.18);
  border: 1px solid rgba(200, 16, 22, 0.2);
}

.btn-secondary {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 246, 0.96));
  border: 1px solid rgba(200, 16, 22, 0.14);
  color: var(--primary-deep);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, #d65d52, #bf3c34);
  color: #fff;
  box-shadow: 0 12px 24px rgba(191, 60, 52, 0.18);
  border: 1px solid rgba(191, 60, 52, 0.2);
}

.btn-small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.header-btn:hover,
.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.hero {
  min-height: min(760px, calc(100vh - 40px));
  display: flex;
  align-items: center;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 15% 18%, rgba(215, 178, 108, 0.18), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(135deg, #f2efe8 0%, #e7e0d5 26%, #d9d2c9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 540px;
  height: 540px;
  left: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 62%);
  animation: driftGlow 16s ease-in-out infinite alternate;
}

.hero::after {
  width: 330px;
  height: 330px;
  right: -130px;
  bottom: -190px;
  border: 34px solid rgba(255, 255, 255, 0.38);
  transform: rotate(-18deg);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  0% {
    transform: translate3d(-8px, 6px, 0) scale(0.99);
  }
  100% {
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-8px, -8px, 0);
  }
}

.hero-wrap {
  position: relative;
  z-index: 3;
}

.hero-copy,
.hero-slider,
.slider-shade,
.section-parallax {
  transform: none;
}

.hero-slider,
.slider-shade {
  transform: translate3d(0, 0, 0) scale(1.01);
}

.section-parallax {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: none;
}

.section-parallax::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 130%;
  background: radial-gradient(circle at top, rgba(215, 178, 108, 0.12), transparent 52%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
  animation: sectionGlow 20s ease-in-out infinite alternate;
}

.scroll-background {
  position: fixed !important;
  inset: 0;
  z-index: 0 !important;
  background: center / cover no-repeat;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
  will-change: opacity;
}

.scroll-background.is-visible {
  opacity: 0.52;
}

.scroll-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);
  z-index: 2;
}

.scroll-background-image {
  position: absolute;
  inset: -4%;
  background: center / cover no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.9s ease;
  will-change: transform, opacity;
}

.scroll-background-image.is-visible {
  opacity: 1;
}

.scroll-background-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, var(--section-tint, rgba(31, 111, 139, 0.18)), transparent 68%);
}

@keyframes sectionGlow {
  0% {
    transform: translate3d(0, 4px, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(0, -6px, 0) scale(1.015);
    opacity: 0.85;
  }
}

.tag-soft {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(245, 236, 224, 0.9));
  color: #1d2430;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.4vw, 4.8rem);
  line-height: 0.96;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 26px rgba(17, 24, 39, 0.18);
  text-wrap: balance;
}

.hero-copy {
  max-width: 960px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  display: block;
  margin-top: 10px;
  white-space: normal;
}

.typewriter-text {
  display: inline-block;
  min-height: 1.12em;
  white-space: normal;
  word-break: break-word;
  letter-spacing: -0.025em;
  text-shadow: 0 8px 24px rgba(17, 24, 39, 0.18);
}

.typewriter-cursor {
  display: none;
}

.hero-copy p {
  margin: 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
}

.hero-copy .tag-soft {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  min-height: 410px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.04);
  transform-origin: center;
}

@supports (animation-timeline: view()) {
  .home-page .hero-slider .slide img {
    animation-duration: auto;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
    will-change: transform;
  }

  .home-page .slide[data-parallax-style="zoom"] img {
    animation-name: hero-scroll-zoom;
  }

  .home-page .slide[data-parallax-style="horizontal"] img {
    animation-name: hero-scroll-horizontal;
  }

  .home-page .slide[data-parallax-style="vertical"] img {
    animation-name: hero-scroll-vertical;
  }

  .home-page .slide[data-parallax-style="diagonal"] img {
    animation-name: hero-scroll-diagonal;
  }
}

@keyframes hero-scroll-zoom {
  from { transform: scale(1.01); }
  to { transform: scale(1.08); }
}

@keyframes hero-scroll-horizontal {
  from { transform: translate3d(-24px, 0, 0) scale(1.07); }
  to { transform: translate3d(24px, 0, 0) scale(1.07); }
}

@keyframes hero-scroll-vertical {
  from { transform: translate3d(0, 20px, 0) scale(1.06); }
  to { transform: translate3d(0, -20px, 0) scale(1.06); }
}

@keyframes hero-scroll-diagonal {
  from { transform: translate3d(-16px, 14px, 0) rotate(-0.5deg) scale(1.08); }
  to { transform: translate3d(16px, -14px, 0) rotate(0.5deg) scale(1.08); }
}

.slider-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0.38) 42%, rgba(17, 17, 17, 0.12) 100%);
  pointer-events: none;
}

.slider-dots {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 9px 12px;
  border-radius: 999px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
}

.dot:focus-visible,
.btn:focus-visible,
.header-btn:focus-visible,
.dropdown-item > a:focus-visible,
.dropdown-menu a:focus-visible {
  outline: 3px solid rgba(242, 169, 59, 0.75);
  outline-offset: 3px;
}

.dot.active {
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.section {
  padding: 74px 0;
  position: relative;
}

.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.97) rotateX(2deg);
  transform-origin: center bottom;
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal-direction="left"] {
  transform: translate3d(-46px, 22px, 0) scale(0.96) rotate(-1.5deg);
}

.scroll-reveal[data-reveal-direction="right"] {
  transform: translate3d(46px, 22px, 0) scale(0.96) rotate(1.5deg);
}

.scroll-reveal[data-reveal-direction="up"] {
  transform: translate3d(0, 42px, 0) scale(0.94) rotateX(5deg);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
}

.scroll-reveal .listing-card-image img,
.scroll-reveal .announcement-listing-media img,
.scroll-reveal .announcement-image img,
.scroll-reveal .feature-news-image img,
.scroll-reveal .service-icon {
  transform: scale(1.08);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.is-visible .listing-card-image img,
.scroll-reveal.is-visible .announcement-listing-media img,
.scroll-reveal.is-visible .announcement-image img,
.scroll-reveal.is-visible .feature-news-image img,
.scroll-reveal.is-visible .service-icon {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-reveal .listing-card-image img,
  .scroll-reveal .announcement-listing-media img,
  .scroll-reveal .announcement-image img,
  .scroll-reveal .feature-news-image img,
  .scroll-reveal .service-icon {
    transform: none;
  }
}

.profile-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(245, 239, 232, 0.72));
}

.program-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(247, 241, 233, 0.74));
}

.announcement-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(244, 238, 230, 0.76));
}

.announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.announcement-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 245, 239, 0.96));
  border: 1px solid rgba(22, 116, 157, 0.12);
  border-radius: 18px;
  box-shadow: 0 9px 0 rgba(171, 203, 204, 0.14), var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  min-height: 170px;
  backdrop-filter: blur(2px);
  position: relative;
}

.announcement-image {
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 5px 6px 0 rgba(22, 116, 157, 0.13);
  flex-shrink: 0;
}

.announcement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement-card > div:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 0 rgba(171, 203, 204, 0.18), 0 25px 40px rgba(22, 75, 117, 0.15);
}

.announcement-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffe4ae, #fff8db);
  color: #b36d27;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 4px 5px 0 rgba(179, 109, 39, 0.16);
}

.announcement-card h3 {
  margin: 0 0 8px;
  color: var(--primary-deep);
  font-size: 1.06rem;
  line-height: 1.3;
}

.announcement-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.announcement-document {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
}

.announcement-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.announcement-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f8f3ee, #ebe0d1);
  color: #111111;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.announcement-view span {
  transition: transform 0.2s ease;
}

.announcement-view:hover span {
  transform: translateX(3px);
}

.announcement-actions .announcement-document {
  margin-top: 0;
}

.announcement-more-wrap {
  margin-top: 28px;
}

.announcement-detail-page {
  min-height: calc(100vh - 150px);
  padding: 70px 0;
  background: linear-gradient(135deg, #eef8f5, #fff6eb);
}

.announcement-detail-card {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.16), var(--shadow);
}

.announcement-detail-image {
  height: auto;
  overflow: hidden;
}

.announcement-detail-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}

.announcement-detail-body {
  padding: 32px;
}

.announcement-detail-body h1 {
  margin: 0 0 18px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.announcement-detail-content {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.announcement-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.announcement-listing-card .announcement-document,
.home-page .announcement-document {
  display: none !important;
}

.announcement-detail-actions .more-news {
  min-width: 0;
  padding: 12px 18px;
  font-size: 0.9rem;
}

.announcement-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.news-section {
  background: linear-gradient(135deg, rgba(255, 252, 248, 0.94), rgba(244, 239, 232, 0.94));
}

.news-section > .container {
  width: min(1380px, calc(100% - 48px));
}

.agenda-section {
  background: linear-gradient(135deg, rgba(252, 249, 245, 0.96), rgba(240, 234, 225, 0.94));
}

.section-head {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.section-head.center {
  text-align: center;
  align-items: center;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  color: #1a2430;
  line-height: 1.05;
  font-size: clamp(2rem, 2.5vw, 3.4rem);
  letter-spacing: -0.025em;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.38fr;
  gap: 24px;
  align-items: stretch;
}

.profile-left,
.profile-right {
  min-width: 0;
}

.profile-list {
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 242, 246, 0.68));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.list-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 24px 22px;
  font-size: 1.02rem;
  border-radius: 18px;
  color: var(--primary-deep);
  font-weight: 600;
  margin: 8px 0;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 0 rgba(161, 202, 216, 0.18);
}

.list-item::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -2;
  border-radius: 16px;
  background-image: linear-gradient(90deg, rgba(248, 252, 253, 0.94), rgba(248, 252, 253, 0.5)), var(--list-item-image, url("../img/gambar4.jpg"));
  background-position: center, center;
  background-size: auto, cover;
  background-repeat: no-repeat;
  filter: blur(4px) saturate(0.85);
  transform: scale(1.08);
  opacity: 0.5;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.list-item:nth-child(2)::before { --list-item-image: url("../img/gambar3.jpg"); }
.list-item:nth-child(3)::before { --list-item-image: url("../img/gambar5.jpg"); }
.list-item:nth-child(4)::before { --list-item-image: url("../img/gambar1.jpg"); }
.list-item:nth-child(5)::before { --list-item-image: url("../img/gambar2.jpg"); }

.list-item > * {
  position: relative;
  z-index: 1;
}

a.list-item {
  text-decoration: none;
}

.list-item:hover {
  box-shadow: 0 12px 0 rgba(161, 202, 216, 0.2), 0 18px 28px rgba(22, 75, 117, 0.1);
}

.list-item i {
  font-size: 1.6rem;
  color: var(--primary);
}

.profile-right {
  display: grid;
  gap: 20px;
}

.profile-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 180px;
  box-shadow: var(--shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.big-photo {
  min-height: 300px;
}

.mini-photos {
  display: grid;
  gap: 20px;
}

.photo-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(180deg, rgba(200, 16, 22, 0.15), rgba(200, 16, 22, 0.8));
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 18px 14px;
  border-radius: 14px;
  font-family: var(--font-display);
  line-height: 1;
}

.campus-gallery-wrap {
  width: 100%;
  display: flex;
}

.campus-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-content: start;
  align-items: start;
  grid-auto-rows: auto;
}

.campus-flip-card {
  perspective: 1400px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  align-self: start;
  display: flex;
  cursor: pointer;
}

.campus-card-inner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

@media (min-width: 981px) {
  .campus-gallery-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    align-content: stretch;
    align-items: stretch;
  }

  .campus-flip-card,
  .campus-card-inner {
    height: 100%;
    aspect-ratio: auto;
  }

  .campus-flip-card {
    align-self: stretch;
  }
}

.campus-flip-card:hover .campus-card-inner,
.campus-flip-card:focus-within .campus-card-inner {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 18px 28px rgba(9, 40, 58, 0.16);
}

.campus-flip-card:active .campus-card-inner {
  transform: translate3d(0, -1px, 0);
}

.campus-card-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 16px 26px rgba(18, 39, 58, 0.12);
  border: 1px solid rgba(18, 62, 93, 0.08);
}

.campus-card-front img,
.campus-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campus-card-face.is-portrait img {
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.campus-card-label {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(200, 16, 22, 0.15), rgba(200, 16, 22, 0.82));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.campus-card-back {
  transform: rotateY(180deg);
}

.program-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  grid-auto-rows: minmax(510px, 1fr);
  padding-top: 10px;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.unit-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238, 246, 255, 0.97));
  border: 1px solid rgba(200, 16, 22, 0.1);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.unit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200, 16, 22, 0.1);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.unit-card h3 {
  margin: 14px 0 10px;
  color: var(--primary-deep);
  font-size: 1.18rem;
  line-height: 1.2;
}

.unit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.program-card,
.service-card,
.feature-news {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 240, 234, 0.97));
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(17, 17, 17, 0.04), 0 16px 26px rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(17, 17, 17, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  backdrop-filter: blur(2px);
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.program-card:hover,
.service-card:hover,
.feature-news:hover,
.mini-news-item:hover {
  box-shadow: 0 16px 0 rgba(171, 203, 204, 0.18), 0 28px 48px rgba(22, 75, 117, 0.12);
}

.program-thumb {
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  background: #e8eef1;
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.program-body h3 {
  margin: 0 0 10px;
  color: var(--primary-deep);
  font-size: 1.32rem;
  font-family: var(--font-display);
  line-height: 1.15;
}

.program-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.program-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 232, 221, 0.96));
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06);
  color: #111111;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.program-more span {
  transition: transform 0.2s ease;
}

.program-more:hover span {
  transform: translateX(4px);
}

.program-detail {
  min-height: calc(100vh - 90px);
  padding: 70px 0;
  background: linear-gradient(135deg, #eef8f5, #fff6eb);
}

.detail-shell {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.program-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: 34px;
  align-items: start;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.16), var(--shadow);
}

.detail-image-wrap {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #edf7ff, #f8fbfc);
}

.program-detail-card > img,
.detail-image-wrap img {
  width: 100%;
  max-height: 430px;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 18px;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-detail-card h1 {
  margin: 0;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1;
}

.program-detail-card p {
  display: block;
  max-height: none;
  overflow: visible;
  height: auto;
  color: var(--muted);
  white-space: normal;
}

.program-detail-card .program-lead {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--primary-deep);
  max-width: 100%;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.program-section-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.program-section-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(200, 16, 22, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.program-section-menu-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.program-tab-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  color: var(--primary-deep);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.program-tab-btn:hover,
.program-tab-btn.active {
  background: linear-gradient(135deg, rgba(200, 16, 22, 0.12), rgba(155, 23, 27, 0.12));
  border-color: rgba(200, 16, 22, 0.18);
  box-shadow: 0 8px 16px rgba(200, 16, 22, 0.12);
}

.program-tab-panel-wrap {
  position: relative;
}

.program-tab-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.04);
}

.program-tab-panel.active {
  display: grid;
}

.program-tab-panel[hidden] {
  display: none;
}

.program-tab-visual {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #edf7ff, #f8fbfc);
}

.program-tab-visual img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 18px;
}

.program-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.program-tab-copy h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.program-tab-panel--profile {
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 246, 247, 0.86));
  border-color: rgba(200, 16, 22, 0.12);
}

.program-tab-panel--profile .program-tab-visual {
  min-height: 0;
  position: relative;
}

.program-tab-panel--profile .program-tab-visual::after {
  content: none;
}

.program-tab-panel--profile .program-tab-copy {
  gap: 14px;
  padding: 8px 6px 8px 2px;
}

.program-tab-panel--profile .program-tab-copy > p,
.program-tab-panel--profile .program-tab-copy > ul {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid rgba(200, 16, 22, 0.5);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.64);
  color: #465866;
  line-height: 1.8;
}

.program-tab-panel--profile .program-tab-copy > ul {
  padding-left: 32px;
}

.program-tab-panel--profile .program-tab-copy > ul li::marker {
  color: var(--accent-strong);
}

.program-tab-copy .detail-feature-list {
  margin: 0;
}

.program-tab-copy .media-gallery {
  margin: 0 0 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-info-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.detail-card-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200, 16, 22, 0.08);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.detail-info-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-feature-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  line-height: 1.6;
}

.detail-feature-list li::marker {
  color: var(--primary);
}

.detail-section-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.detail-section-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.9));
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 12px 18px rgba(15, 23, 42, 0.04);
}

.detail-section-card h3 {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.detail-section-card div {
  color: var(--muted);
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-section-card div p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.detail-section-card .detail-feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 0.96rem;
}

.detail-section-card .detail-feature-list li {
  line-height: 1.6;
}

.detail-support-grid {
  margin-top: 8px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.media-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.detail-story-block {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.16), var(--shadow);
}

.unit-content-block {
  display: block;
}

.unit-content-block .detail-story-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.unit-content-card {
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.9));
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 12px 18px rgba(15, 23, 42, 0.04);
}

.unit-content-card h3 {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.unit-content-card > div {
  color: var(--muted);
  line-height: 1.75;
}

.unit-content-body {
  display: grid;
  gap: 12px;
}

.unit-content-body p,
.unit-content-body ul,
.unit-content-body ol {
  margin: 0;
}

.unit-content-body ul,
.unit-content-body ol {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.unit-content-body li + li {
  margin-top: 6px;
}

.detail-story-copy h2 {
  margin: 14px 0 12px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.detail-content {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.detail-content p {
  margin: 0 0 16px;
}

.program-detail .program-lead,
.program-detail .program-summary-detail,
.program-detail .program-content-block .detail-content {
  text-align: justify;
  text-justify: inter-word;
}

.program-content-block {
  display: block;
}

.program-content-block .detail-story-copy::after {
  content: "";
  display: table;
  clear: both;
}

.program-secondary-visual {
  float: right;
  width: 46%;
  max-width: 480px;
  margin: 4px 0 18px 24px;
}

.program-secondary-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 22px;
  background: linear-gradient(145deg, #edf7ff, #f8fbfc);
  border: 1px solid rgba(200, 16, 22, 0.1);
}

@media (max-width: 980px) {
  .program-secondary-visual {
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .program-secondary-visual {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
  }
}



.detail-stat-list {
  display: grid;
  gap: 14px;
}

.detail-stat-list div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(200, 16, 22, 0.05), rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(200, 16, 22, 0.08);
}

.detail-stat-list strong {
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.detail-stat-list span {
  color: var(--muted);
  font-weight: 600;
}

.campus-detail-page {
  min-height: calc(100vh - 150px);
  padding: 70px 0;
  background: linear-gradient(135deg, #eef8f5, #fff6eb);
}

.campus-detail-page > .container {
  width: min(1440px, calc(100% - 48px));
}

.campus-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.16), var(--shadow);
}

.campus-detail-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
}

.campus-detail-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-detail-slide[hidden] {
  display: none;
}

.campus-detail-gallery.is-performance-gallery .campus-detail-slide {
  object-fit: contain;
}

.campus-gallery-control {
  position: absolute;
  top: 50%;
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(20, 32, 40, 0.68);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.campus-gallery-control.previous {
  left: 12px;
}

.campus-gallery-control.next {
  right: 12px;
}

.campus-gallery-control:focus-visible,
.campus-gallery-indicator:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.campus-gallery-indicators {
  display: flex;
  position: absolute;
  bottom: 12px;
  left: 50%;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 32, 40, 0.62);
  transform: translateX(-50%);
}

.campus-gallery-indicator {
  width: 10px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.campus-gallery-indicator.active {
  background: #fff;
}

.campus-detail-card h1 {
  margin: 0 0 14px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1;
}

.campus-detail-lead {
  color: var(--primary-deep);
  font-size: 1.08rem;
  font-weight: 600;
}

.campus-detail-card ul {
  margin: 18px 0 24px;
  padding-left: 22px;
  color: var(--muted);
}

.campus-detail-card li {
  margin: 7px 0;
}

.learning-spaces {
  margin-top: 42px;
}

.learning-spaces .section-head {
  margin-bottom: 22px;
}

.learning-spaces .section-head h2 {
  margin: 8px 0 0;
  color: var(--primary-deep);
  font-size: 1.9rem;
}

.learning-spaces-list {
  display: grid;
  gap: 28px;
}

.learning-space-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.learning-space-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.learning-space-row.is-reversed .learning-space-image {
  order: 2;
}

.learning-space-row.is-reversed .learning-space-copy {
  order: 1;
}

.learning-space-image {
  position: relative;
  aspect-ratio: 16 / 10;
  min-width: 0;
  overflow: hidden;
}

.learning-space-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.learning-space-image img.campus-detail-slide {
  position: absolute;
  inset: 0;
  height: 100%;
}

.learning-space-copy {
  max-width: 600px;
}

.learning-space-index {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.learning-space-copy h3 {
  margin: 0 0 12px;
  color: var(--primary-deep);
  font-size: 1.55rem;
}

.learning-space-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.learning-space-points {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.learning-space-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.learning-space-points li::before {
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  content: "";
}

.learning-space-points strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-deep);
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .learning-space-row,
  .learning-space-row.is-reversed {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .learning-space-row.is-reversed .learning-space-image,
  .learning-space-row.is-reversed .learning-space-copy {
    order: 0;
  }

  .learning-spaces .section-head h2 {
    font-size: 1.55rem;
  }

  .learning-space-copy h3 {
    font-size: 1.3rem;
  }
}

.performance-documents {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  margin-top: 24px;
  margin-right: auto;
  margin-left: auto;
  padding: 12px 16px;
  scroll-margin-top: 88px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 16, 22, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.campus-detail-card.performance-detail-card {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-inline: auto;
  padding: 14px 22px;
}

.campus-detail-card.performance-detail-card.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.performance-detail-card .campus-detail-gallery {
  aspect-ratio: 16 / 6;
}

.performance-detail-card h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.performance-detail-card .campus-detail-lead {
  margin: 6px 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.performance-detail-card ul {
  margin: 8px 0 12px;
}

.performance-detail-card li {
  margin: 3px 0;
}

.performance-documents .section-head {
  margin-bottom: 9px;
}

.performance-documents .section-head.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.performance-documents .section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.performance-document-filters {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.performance-document-filters form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.performance-document-filter-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.performance-document-filter-field label {
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.performance-document-filter-field select {
  width: 100%;
  min-height: 40px;
  padding: 8px 34px 8px 11px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231d2b36' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  appearance: none;
}

.performance-document-filters form > button,
.performance-document-filters form > a {
  justify-self: start;
}

.performance-year-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.performance-year-selector {
  display: block;
  max-width: 100%;
  margin-bottom: 18px;
}

.performance-year-accordion-list {
  display: grid;
  gap: 8px;
}

.performance-year-accordion {
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.performance-year-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  color: #5d2730;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.performance-year-accordion > summary::-webkit-details-marker {
  display: none;
}

.performance-year-accordion > summary::after {
  content: "+";
  margin-left: auto;
  color: #a8070d;
  font-size: 1.2rem;
  line-height: 1;
}

.performance-year-accordion[open] > summary::after {
  content: "−";
}

.performance-year-accordion > summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.performance-year-accordion > .performance-document-list {
  padding: 0 10px 10px;
}

.performance-year-pagination[hidden] {
  display: none !important;
}

.performance-year-pagination {
  margin-top: 14px;
}

.performance-year-pagination button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.performance-year-pagination button:disabled {
  opacity: 0.48;
  cursor: default;
}

.performance-year-overflow-nav {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(360px, calc(100vw - 48px));
  max-height: min(360px, 60vh);
  overflow-y: auto;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(200, 16, 22, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.performance-year-overflow-nav .performance-year-link {
  display: none;
}

.performance-year-overflow-nav .performance-year-link:nth-child(n + 9) {
  display: inline-flex;
}

.performance-year-picker {
  position: relative;
  flex: 0 0 auto;
}

.performance-year-selector {
  margin-bottom: 12px;
}

.performance-year-picker:not([open]) > .performance-year-overflow-nav {
  display: none;
}

.performance-year-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
}

.performance-documents .performance-year-picker > .performance-year-toggle.btn-primary {
  background: #ffffff !important;
  border: 1px solid rgba(31, 42, 55, 0.14) !important;
  color: #5d2730 !important;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.08) !important;
}

.performance-documents .performance-document-action.btn-primary {
  background: #ffffff !important;
  border: 1px solid rgba(31, 42, 55, 0.14) !important;
  color: #5d2730 !important;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.08) !important;
}

.performance-documents .performance-year-picker > .performance-year-toggle.btn-primary:hover,
.performance-documents .performance-document-action.btn-primary:hover {
  background: #fff5f5 !important;
  border-color: rgba(200, 16, 22, 0.32) !important;
  color: #5d2730 !important;
  filter: none;
  box-shadow: 0 10px 20px rgba(200, 16, 22, 0.12) !important;
}

.performance-year-toggle::-webkit-details-marker {
  display: none;
}

.performance-year-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  flex: 0 0 20px;
}

.performance-year-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 8px;
  color: #5d2730;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ffffff;
}

.performance-year-link:hover,
.performance-year-link.active {
  background: #fff5f5;
  border-color: rgba(200, 16, 22, 0.32);
  color: #5d2730;
  box-shadow: 0 8px 16px rgba(200, 16, 22, 0.1);
}

.performance-document-list {
  display: grid;
  gap: 12px;
}

.performance-document-empty {
  margin: 0;
}

.performance-document-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
}

.performance-document-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(145deg, #b8070d, #ef3d45);
  color: white;
  font-weight: 800;
  line-height: 1;
}

.performance-document-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.performance-document-title strong {
  color: var(--primary-deep);
  line-height: 1.35;
}

.performance-document-title small {
  color: var(--muted);
  font-size: 0.78rem;
}

.performance-document-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f8f3ee, #ebe0d1);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.performance-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.performance-document-action.download {
  background: #fff;
}

.performance-document-action.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.performance-admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.performance-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.performance-admin-tabs a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.performance-admin-tabs a.active {
  border-color: var(--primary-deep);
  background: var(--primary-deep);
  color: #fff;
}

.performance-admin-submenu {
  display: grid;
  gap: 3px;
  margin: 4px 0 8px 44px;
  padding-left: 9px;
  border-left: 1px solid rgba(25, 59, 77, 0.14);
}

.performance-admin-submenu a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: #496673;
  font-size: 0.8rem;
}

.performance-admin-submenu a:hover,
.performance-admin-submenu a.active {
  background: rgba(222, 243, 245, 0.82);
  color: #146b78;
}

.performance-admin-year {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.performance-admin-year label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.performance-admin-year select {
  min-height: 40px;
  padding: 7px 30px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.performance-admin-form-heading,
.performance-admin-record,
.performance-document-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.performance-admin-form-heading {
  margin-bottom: 18px;
}

.performance-admin-form-heading h2,
.performance-admin-current h2 {
  margin: 4px 0 0;
  color: var(--primary-deep);
  font-size: 1.3rem;
}

.performance-admin-submit {
  margin-top: 18px;
}

.performance-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.performance-admin-current {
  margin-top: 22px;
}

.performance-admin-table-panel {
  margin-top: 28px;
}

.performance-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.performance-table-header h2 {
  margin: 6px 0 0;
  color: var(--primary-deep);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.3;
}

.performance-admin-table-wrap {
  overflow-x: auto;
}

.performance-admin-table {
  width: 100%;
  min-width: 840px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 57, 73, 0.08);
  border-radius: 14px;
  overflow: hidden;
}

.performance-admin-table th,
.performance-admin-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  vertical-align: middle;
  color: #243744;
  font-size: 0.96rem;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.performance-admin-table th {
  background: rgba(216, 231, 236, 0.9);
  color: #1d465f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.performance-admin-table tbody tr {
  transition: background 0.15s ease;
}

.performance-admin-table tbody tr:hover {
  background: rgba(239, 247, 249, 0.9);
}

.performance-admin-table th:nth-child(1),
.performance-admin-table td:nth-child(1) {
  width: 7%;
  text-align: center;
}

.performance-admin-table th:nth-child(2),
.performance-admin-table td:nth-child(2) {
  width: 31%;
}

.performance-admin-table th:nth-child(3),
.performance-admin-table td:nth-child(3) {
  width: 17%;
}

.performance-admin-table th:nth-child(4),
.performance-admin-table td:nth-child(4) {
  width: 11%;
}

.performance-admin-table th:nth-child(5),
.performance-admin-table td:nth-child(5) {
  width: 12%;
}

.performance-admin-table th:nth-child(6),
.performance-admin-table td:nth-child(6) {
  width: 22%;
}

.performance-doc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.performance-doc-status.is-active {
  background: rgba(20, 124, 86, 0.12);
  color: #146c4d;
}

.performance-doc-status.is-inactive {
  background: rgba(178, 69, 60, 0.1);
  color: #a13b36;
}

.performance-doc-muted {
  color: #7a8a99;
  font-style: italic;
}

.performance-admin-doc-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.performance-admin-doc-title {
  display: block;
  margin: 0;
  font-weight: 700;
  color: #1d465f;
  line-height: 1.5;
  text-align: left;
}

.performance-admin-table td a {
  color: #0a7a92;
  font-size: 0.8rem;
  font-weight: 600;
}

.performance-file-link {
  width: auto !important;
  min-width: 78px;
  max-width: none;
}

.performance-doc-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(186, 74, 64, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #b2453c;
  cursor: pointer;
  padding: 0;
}

.performance-doc-toggle::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(19, 49, 63, 0.96);
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 5px 7px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.performance-doc-toggle:hover::after,
.performance-doc-toggle:focus-visible::after {
  opacity: 1;
  visibility: visible;
}

.performance-doc-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eye-icon,
.eye-slash-icon {
  display: none;
}

.eye-icon.is-visible,
.eye-slash-icon.is-visible {
  display: block;
}

.performance-doc-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.performance-doc-actions .btn,
.performance-doc-actions .btn-secondary,
.performance-doc-actions .btn-danger,
.performance-doc-actions > a {
  width: 58px;
  min-height: 28px;
  justify-content: center;
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 0.72rem;
  font-weight: 700;
}

.performance-doc-actions .btn-secondary,
.performance-doc-actions > a {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 74, 64, 0.55);
  color: #b2453c;
  box-shadow: none;
}

.performance-doc-actions .btn-danger {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(186, 74, 64, 0.55);
  color: #b2453c;
  box-shadow: none;
}

.performance-doc-actions .btn:hover,
.performance-doc-actions .btn-secondary:hover,
.performance-doc-actions .btn-danger:hover,
.performance-doc-actions > a:hover {
  transform: none;
  filter: brightness(0.99);
}

.performance-admin-empty {
  padding: 20px;
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.8);
  color: var(--muted);
  text-align: center;
}

.performance-admin-current {
  margin-top: 22px;
}

.performance-admin-current > h2 {
  margin-bottom: 16px;
}

.performance-admin-record > div:first-child {
  display: grid;
  gap: 5px;
}

.performance-admin-record small {
  color: var(--muted);
}

.pdf-viewer-page {
  min-height: 100vh;
  background: #e9edf0;
}

.pdf-viewer-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1.4fr) minmax(240px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  background: #fff;
}

.pdf-viewer-back {
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.pdf-viewer-toolbar h1 {
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.pdf-viewer-controls button {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
}

.pdf-viewer-controls button:hover {
  background: #f2f5f6;
}

.pdf-viewer-controls span {
  min-width: 62px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.pdf-viewer-controls .pdf-viewer-divider {
  min-width: 1px;
  height: 22px;
  margin: 0 3px;
  background: var(--line);
}

.pdf-viewer-stage {
  display: grid;
  min-height: calc(100vh - 64px);
  justify-items: center;
  align-content: start;
  overflow: auto;
  padding: 24px;
}

.pdf-viewer-stage canvas {
  display: block;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.18);
}

.pdf-viewer-stage #viewer-message {
  max-width: 560px;
  margin: 48px auto;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .performance-admin-toolbar,
  .performance-admin-form-heading,
  .performance-admin-record {
    align-items: stretch;
    flex-direction: column;
  }

  .performance-admin-year {
    align-items: center;
  }

  .performance-admin-year select {
    flex: 1;
  }

  .performance-admin-form-heading {
    gap: 10px;
  }

  .pdf-viewer-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  .pdf-viewer-controls {
    justify-content: center;
  }

  .pdf-viewer-stage {
    min-height: calc(100vh - 120px);
    justify-items: start;
    padding: 12px;
  }
}

.news-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  width: min(1280px, 100%);
  margin: 0 auto;
  align-items: stretch;
}

.news-section .section-head {
  margin-bottom: 24px;
}

.feature-news {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-news-image {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: #e9eef0;
}

.feature-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.feature-news-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

.date-badge {
  display: inline-block;
  background: rgba(200, 16, 22, 0.1);
  color: var(--primary-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.news-view-count {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.feature-news-body h3,
.mini-news-content h4 {
  margin: 0 0 12px;
  color: #1b2430;
  line-height: 1.2;
}

.feature-news-body h3 {
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.feature-news-body p,
.mini-news-content p {
  color: #4e5968;
  margin: 0 0 14px;
}

.detail-news-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.16), var(--shadow);
}

.detail-news-image {
  overflow: hidden;
  border-radius: 18px;
}

.detail-news-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-news-body h1 {
  margin: 0 0 14px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.02;
}

.detail-excerpt {
  color: var(--primary-deep);
  font-size: 1.08rem;
  font-weight: 600;
}

.detail-content {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.detail-news-body .news-article-content {
  color: #3f4954;
  font-size: 1rem;
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
}

.detail-news-body .news-article-content p {
  margin: 0 0 0.55em;
  text-indent: 1.15em;
}

.detail-news-body .news-article-content p:first-child {
  text-indent: 0;
}

.listing-page {
  min-height: calc(100vh - 150px);
  padding: 70px 0;
  background: linear-gradient(135deg, #eef8f5, #fff6eb);
}

.listing-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.listing-heading h1 {
  margin: 0 0 10px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
}

.listing-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.listing-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 26px;
}

.listing-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 76, 110, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.listing-metric-label {
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-metric strong {
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  line-height: 1;
}

.listing-metric small {
  color: var(--muted);
  font-size: 0.78rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.program-listing-grid,
.unit-listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.program-listing-page .program-listing-grid {
  gap: 20px;
}

.program-listing-page .program-listing-grid .listing-card {
  border-radius: 18px;
  border: 1px solid rgba(200, 16, 22, 0.42) !important;
  box-shadow: 0 8px 22px rgba(31, 42, 55, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.program-listing-page .program-listing-grid .listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(31, 42, 55, 0.1);
}

.program-listing-page .program-listing-grid .listing-card-image {
  height: 184px;
  padding: 16px 18px 0;
  background: transparent;
}

.program-listing-page .program-listing-grid .listing-card-image img {
  display: block;
  width: 100%;
  height: 168px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.program-listing-page .program-listing-grid .listing-card:hover .listing-card-image img {
  transform: scale(1.04);
}

.program-listing-page .program-listing-grid .listing-card-body {
  gap: 0;
  padding: 0;
}

.program-listing-card-heading {
  padding: 17px 18px 8px;
  border-bottom: 1px solid rgba(31, 42, 55, 0.08);
  background: #fff;
}

.program-listing-page .program-listing-grid .listing-card-body h2 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.program-listing-page .program-listing-grid .listing-card-body p {
  display: -webkit-box;
  min-height: 6.2em;
  margin: 0;
  padding: 15px 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-size: 0.9rem;
  line-height: 1.55;
}

.program-listing-page .program-listing-grid .listing-card-body .program-more {
  margin: auto 18px 18px;
  padding: 9px 15px;
  border-color: rgba(31, 42, 55, 0.1);
  color: #263744;
}

.unit-listing-grid {
  gap: 16px;
}

.program-listing-grid .listing-card,
.unit-listing-grid .listing-card {
  min-width: 0;
}

.program-listing-grid .listing-card-image,
.unit-listing-grid .listing-card-image {
  height: 180px;
}

.unit-logo-panel {
  height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid rgba(20, 91, 101, 0.1);
}

.unit-logo-image {
  display: block;
  width: 82px;
  height: 82px;
  padding: 8px;
  object-fit: contain;
  border: 1px solid rgba(40, 96, 107, 0.2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(40, 96, 107, 0.12), 0 9px 16px rgba(30, 62, 75, 0.12);
  transform: perspective(500px) rotateX(3deg) rotateY(-2deg);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.unit-listing-grid .listing-card-body {
  padding: 16px;
  gap: 8px;
}

.unit-listing-grid .listing-card-body h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.unit-listing-grid .listing-card-body p {
  font-size: 0.86rem;
  line-height: 1.55;
}

.unit-listing-grid .listing-card-body .program-more {
  padding: 8px 14px;
  font-size: 0.76rem;
}

.unit-listing-grid .listing-card:hover .unit-logo-image {
  transform: perspective(500px) rotateX(0) rotateY(0) translateY(-3px);
  box-shadow: 0 7px 0 rgba(40, 96, 107, 0.12), 0 13px 18px rgba(30, 62, 75, 0.16);
}

@media (max-width: 980px) {
  .program-listing-grid,
  .unit-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .program-listing-grid,
  .unit-listing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .unit-logo-panel {
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-listing-page .program-listing-grid .listing-card,
  .program-listing-page .program-listing-grid .listing-card-image img,
  .unit-logo-image {
    transition: none;
  }

  .program-listing-page .program-listing-grid .listing-card:hover,
  .program-listing-page .program-listing-grid .listing-card:hover .listing-card-image img {
    transform: none;
  }
}

@media (max-width: 760px) {
  .unit-listing-page .listing-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .unit-listing-page .listing-metric {
    min-width: 0;
    padding: 14px 12px;
    overflow-wrap: anywhere;
  }

  .unit-listing-page .listing-metric strong {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }

  .unit-listing-page .listing-metric small {
    overflow-wrap: anywhere;
  }

  .unit-listing-page .unit-listing-grid .listing-card.scroll-reveal,
  .unit-listing-page .unit-listing-grid .listing-card.scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@media (max-width: 420px) {
  .unit-listing-page .listing-metrics {
    grid-template-columns: 1fr;
  }
}

.listing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 0 rgba(171, 203, 204, 0.16), var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 0 rgba(171, 203, 204, 0.18), 0 25px 42px rgba(22, 75, 117, 0.15);
}

.listing-card-image {
  height: 210px;
  overflow: hidden;
  background: #e6f2f8;
}

.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.listing-card-body h2 {
  margin: 0 0 10px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.listing-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.listing-card-body .program-more {
  margin-top: auto;
}

.news-listing-page .listing-card-image {
  height: 155px;
}

.news-listing-page .listing-card-body {
  min-width: 0;
  gap: 9px;
}

.news-listing-page .listing-card-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 1.2rem;
  line-height: 1.3;
}

.news-listing-page .listing-card-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.55;
}

.news-listing-page .listing-card-body .program-more {
  flex-shrink: 0;
  margin-top: auto;
}

.announcement-listing-card:not(:has(.listing-card-image)) {
  min-height: 220px;
}

.announcement-listing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.announcement-listing-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 245px;
}

.announcement-listing-media {
  min-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #e2f1fa, #dff4ed);
  color: #b36d27;
  font-size: 2.5rem;
  font-weight: 800;
}

.announcement-listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement-listing-card .listing-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.announcement-listing-card .listing-card-body h2 {
  font-size: 1.3rem;
}

.announcement-listing-card .listing-card-body p {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.side-news {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  align-items: stretch;
}

.mini-news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  min-height: 0;
  height: 100%;
  padding: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 240, 234, 0.95));
  border: 1px solid rgba(17, 17, 17, 0.05);
  border-radius: 16px;
  box-shadow: 0 10px 0 rgba(229, 194, 153, 0.16), var(--shadow);
}

.mini-news-thumb {
  align-self: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef0;
}

.mini-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mini-news-content {
  display: flex;
  flex-direction: column;
  padding: 4px 2px 4px 0;
}

.mini-news-content h4 {
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.mini-news-content p {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 8px;
}

.mini-news-content a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 232, 221, 0.96));
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.06);
  margin-top: auto;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 700;
}

.mini-news-content a::after {
  content: "→";
  transition: transform 0.2s ease;
}

.mini-news-content a:hover::after {
  transform: translateX(3px);
}

.more-news-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.more-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(360px, 100%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 237, 231, 0.96));
  color: #111827;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 1.05rem;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-marquee-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0 8px;
}

.industry-marquee-wrap::before,
.industry-marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.industry-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(245, 241, 234, 1), rgba(245, 241, 234, 0));
}

.industry-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(245, 241, 234, 1), rgba(245, 241, 234, 0));
}

.industry-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marqueeSlide 28s linear infinite;
}

.industry-marquee-wrap:hover .industry-marquee-track,
.industry-marquee-wrap:focus-within .industry-marquee-track {
  animation-play-state: paused;
}

.industry-testimonial-card {
  width: 320px;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 28px rgba(17, 24, 39, 0.08);
}

.industry-testimonial-image {
  height: 180px;
  overflow: hidden;
}

.industry-testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-testimonial-body {
  padding: 18px 18px 20px;
}

.industry-company {
  display: inline-flex;
  align-items: center;
  background: rgba(200, 16, 22, 0.1);
  color: #0f3d56;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.industry-testimonial-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.92rem;
  max-height: 5.1em;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.industry-testimonial-card.is-expanded .industry-testimonial-body p {
  max-height: 30em;
}

.agenda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 10px;
  background: linear-gradient(145deg, #f8f3ee, #ebe0d1);
  color: #171717;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 700;
  min-width: 110px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  font: inherit;
}

@keyframes marqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.public-service-section {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, rgba(250, 248, 244, 0.97), rgba(232, 236, 236, 0.96));
  padding-top: 68px;
  padding-bottom: 82px;
  margin-bottom: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.service-grid {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: stretch;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.service-card {
  position: relative;
  z-index: 7;
  min-height: 150px;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(249, 244, 236, 0.78));
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 12px 18px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  background: center / cover no-repeat url("../img/gambar1.jpg");
  filter: blur(8px) saturate(0.8);
  transform: scale(1.08);
  opacity: 0.42;
  pointer-events: none;
}

.service-card:nth-child(2n)::before { background-image: url("../img/gambar2.jpg"); }
.service-card:nth-child(3n)::before { background-image: url("../img/gambar3.jpg"); }
.service-card:nth-child(4n)::before { background-image: url("../img/gambar4.jpg"); }
.service-card:nth-child(5n)::before { background-image: url("../img/gambar5.jpg"); }

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px rgba(14, 86, 117, 0.14);
  filter: saturate(1.08);
}

.service-card span:last-child {
  line-height: 1.2;
}

.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f8f3ee, #ebe0d1);
  color: #111111;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-action {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.16);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffaf3, #f3e1bf);
  color: #171717;
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
  box-shadow: 7px 8px 0 rgba(17, 17, 17, 0.08), 0 12px 20px rgba(17, 17, 17, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(22, 116, 157, 0.18);
  border-radius: 12px;
  z-index: -1;
}

.service-card:hover .service-icon {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 5px 12px 0 rgba(8, 82, 117, 0.2), 0 16px 24px rgba(8, 82, 117, 0.2);
}

.site-footer {
  position: relative;
  z-index: 40;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, #183b4a 0%, #234e60 42%, #2a5d6d 100%);
  color: rgba(255, 255, 255, 0.92);
  padding: 18px 0 20px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 30px rgba(20, 48, 58, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.96);
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.5;
}

.footer-identity strong {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-identity span {
  color: rgba(242, 246, 248, 0.82);
  font-size: 0.8rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  background: rgba(215, 194, 165, 0.18);
  color: #fffaf5;
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(15, 33, 43, 0.2);
}

.footer-socials a:focus-visible,
.language-picker select:focus-visible {
  outline: 2px solid #f5c96d;
  outline-offset: 2px;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.footer-socials .social-dot {
  fill: currentColor;
  stroke: none;
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(239, 245, 247, 0.82);
  font-size: 0.8rem;
  white-space: nowrap;
}

.language-options {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 245, 247, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
}

.language-option:hover,
.language-option.is-active {
  border-color: rgba(245, 201, 109, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.google-translate-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body > .skiptranslate {
  display: none !important;
}

iframe.goog-te-banner-frame {
  display: none !important;
}

.flag-icon {
  display: inline-block;
  width: 20px;
  height: 14px;
  border: 1px solid rgba(25, 59, 77, 0.18);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(25, 59, 77, 0.12);
}

.flag-id,
.flag-en,
.flag-ja,
.flag-zh {
  position: relative;
  overflow: hidden;
}

.flag-id { background: linear-gradient(#e32636 0 50%, #ffffff 50%); }
.flag-en { background: #1e3a8a; }
.flag-en::before { content: ""; position: absolute; inset: 5px 0; background: #ffffff; }
.flag-en::after { content: ""; position: absolute; inset: 0 7px; background: #dc2636; box-shadow: 0 0 0 2px #ffffff; }
.flag-ja { background: #ffffff; }
.flag-ja::after { content: ""; position: absolute; width: 7px; height: 7px; left: 6px; top: 3px; border-radius: 50%; background: #d9273f; }
.flag-zh { background: #de2910; }
.flag-zh::after { content: "★"; position: absolute; left: 3px; top: -3px; color: #ffde00; font-size: 10px; }

.language-picker select {
  border: 1px solid rgba(22, 116, 157, 0.18);
  border-radius: 8px;
  padding: 7px 25px 7px 9px;
  background: rgba(255, 255, 255, 0.8);
  color: #b8070d;
  font: inherit;
}

.simple-footer .footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.8);
  font-size: 0.82rem;
  letter-spacing: 0.015em;
  text-align: center;
}

@media (max-width: 700px) {
  .footer-wrap,
  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-wrap {
    gap: 16px;
  }

  .footer-actions {
    width: 100%;
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .hero-wrap,
  .profile-layout,
  .news-layout,
  .agenda-grid,
  .program-grid,
  .announcement-grid,
  .service-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .profile-right {
    grid-template-columns: 1fr;
  }

  .campus-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid {
    grid-auto-rows: auto;
  }

  .program-card {
    min-height: 0;
  }

  .program-detail-card {
    grid-template-columns: 1fr;
  }

  .program-content-block {
    grid-template-columns: 1fr;
  }

  .detail-section-list,
  .detail-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .campus-detail-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-wrap {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .campus-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .news-section > .container {
    width: min(1380px, calc(100% - 24px));
  }

  .campus-detail-page > .container {
    width: min(1440px, calc(100% - 24px));
  }

  .topbar {
    position: relative;
  }

  .nav {
    position: relative;
    gap: 10px;
    padding: 12px 0 16px;
  }

  .logo-wrap {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .detail-section-list,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-shell {
    gap: 20px;
  }

  .program-section-nav {
    display: none;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }

  .program-section-nav.is-open {
    display: flex;
  }

  .program-section-menu-toggle {
    display: inline-flex;
  }

  .program-tab-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .program-detail-card {
    padding: 18px;
  }

  .program-tab-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .program-tab-panel--profile .program-tab-visual {
    min-height: 230px;
  }

  .program-tab-visual img {
    max-height: 220px;
  }

  .program-tab-panel--profile .program-tab-copy {
    padding: 0;
  }

  .detail-story-block {
    padding: 18px;
  }

  .brand-text {
    font-size: 1.15rem;
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }

  .logo-wrap img {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    padding: 10px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(17, 24, 39, 0.1);
    backdrop-filter: blur(16px);
  }

  .nav.menu-open .nav-links {
    display: flex;
  }

  .mobile-menu-control:checked ~ .nav-links {
    display: flex;
  }

  .dropdown-item > a {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .dropdown-menu {
    left: 50%;
    transform: translate(-50%, 10px);
  }

  .dropdown-item:hover .dropdown-menu,
  .dropdown-item:focus-within .dropdown-menu {
    transform: translate(-50%, 0);
  }

  .header-btn {
    order: 4;
    min-height: 42px;
    width: 100%;
  }

  .campus-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 3.1rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-slider {
    border-radius: 20px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: 2.55rem;
  }

  .mini-news-item {
    grid-template-columns: 1fr;
  }

  .side-news {
    grid-template-rows: none;
  }

  .mini-news-thumb {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .service-card {
    min-height: 142px;
    font-size: 0.95rem;
    padding: 14px;
  }

  .more-news {
    min-width: 100%;
  }

  .hero {
    min-height: 640px;
    padding: 70px 0 64px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .hero-copy p {
    font-size: 0.92rem;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
    min-width: 0;
  }

  .detail-news-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    border-radius: 18px;
  }

  .campus-detail-page {
    padding: 46px 0;
  }

  .campus-detail-card {
    gap: 20px;
    padding: 16px;
    border-radius: 18px;
  }

  .campus-detail-card.performance-detail-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    border-radius: 18px;
  }

  .campus-detail-card h1 {
    font-size: 2.35rem;
  }

  .listing-page {
    padding: 46px 0;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .listing-card-image {
    height: 190px;
  }

  .announcement-listing-card {
    grid-template-columns: 1fr;
  }

  .announcement-listing-media {
    height: 150px;
    min-height: 150px;
  }

  .detail-news-body h1 {
    font-size: 2.35rem;
  }

  .detail-news-body .btn,
  .detail-news-body .more-news {
    width: 100%;
  }

  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-next {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 225, 168, 0.22), transparent 25rem),
    linear-gradient(135deg, #edf7f8 0%, #f7f9fc 52%, #fffaf3 100%);
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.78);
  color: #193b4d;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(25, 59, 77, 0.12);
  box-shadow: 12px 0 30px rgba(25, 59, 77, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 24px;
  border-bottom: 1px solid rgba(25, 59, 77, 0.12);
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: #f8fcff;
  box-shadow: 0 10px 24px rgba(25, 59, 77, 0.13);
  overflow: hidden;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.sidebar-brand strong,
.sidebar-brand small,
.sidebar-user strong,
.sidebar-user small {
  display: block;
}

.sidebar-brand strong {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.sidebar-brand small,
.sidebar-user small {
  color: #66818d;
  font-size: 0.72rem;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 6px 24px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f6f7, #c6e5e8);
  color: #167f8e;
  border: 1px solid rgba(25, 59, 77, 0.12);
  font-weight: 800;
  box-shadow: 4px 5px 0 rgba(22, 116, 157, 0.13);
}

.sidebar-user strong {
  font-size: 0.88rem;
  color: #193b4d;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 8px;
}

.sidebar-menu-group {
  width: 100%;
}

.sidebar-menu-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(25, 59, 77, 0.1);
  color: #496673;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.sidebar-menu-toggle::-webkit-details-marker {
  display: none;
}

.sidebar-menu-toggle::marker {
  content: "";
}

.sidebar-menu-toggle .nav-icon {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  color: #4b9aa5;
}

.sidebar-menu-toggle .nav-icon svg,
.sidebar-menu-caret svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar-menu-title {
  flex: 1;
}

.sidebar-menu-caret {
  display: grid;
  place-items: center;
  color: #78929c;
  transition: transform 0.2s ease;
}

.sidebar-menu-group[open] > .sidebar-menu-toggle,
.sidebar-menu-toggle:hover,
.sidebar-menu-toggle:focus-visible {
  background: rgba(222, 243, 245, 0.82);
  color: #146b78;
  outline: none;
}

.sidebar-menu-group[open] > .sidebar-menu-toggle .sidebar-menu-caret {
  transform: rotate(180deg);
}

.sidebar a {
  color: #496673;
  padding: 13px 12px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid rgba(25, 59, 77, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sidebar a span {
  width: 22px;
  color: #4b9aa5;
  text-align: center;
}

.sidebar a .nav-icon {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
}

.sidebar a .nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(222, 243, 245, 0.82);
  color: #146b78;
  border-color: rgba(25, 59, 77, 0.1);
  transform: translateX(3px);
  box-shadow: 0 8px 18px rgba(25, 59, 77, 0.08);
}

.sidebar a.active .nav-icon {
  color: #d18a25;
}

.sidebar nav .performance-admin-submenu a {
  display: block;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  color: #496673;
  font-size: 0.8rem;
  transform: none;
  box-shadow: none;
}

.sidebar nav .performance-admin-submenu a:hover,
.sidebar nav .performance-admin-submenu a.active {
  background: rgba(222, 243, 245, 0.82);
  color: #146b78;
  transform: translateX(2px);
  box-shadow: none;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 8px 2px;
  color: #78929c;
  font-size: 0.72rem;
  line-height: 1.6;
}

.sidebar-footer span {
  color: #d18a25;
}

.admin-main {
  min-width: 0;
  padding: 42px clamp(24px, 4vw, 58px);
}

.admin-main h1,
.admin-main h3 {
  color: #b8070d;
  text-shadow: none;
}

.form-panel h3,
.table-panel h3 {
  margin: 0 0 18px;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 88, 110, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(17, 24, 39, 0.04);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  line-height: 1.2;
}

.page-header .kicker {
  color: #2d8b8d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.stat-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(236, 247, 248, 0.94));
  border: 1px solid rgba(31, 88, 110, 0.08);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 0 rgba(171, 203, 204, 0.18), 0 18px 30px rgba(22, 75, 117, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(28, 111, 123, 0.08);
  pointer-events: none;
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.stat-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.stat-icon--news { background: #167f8e; }
.stat-icon--users { background: #d59029; }
.stat-icon--files { background: #4778a8; }
.stat-icon--announcements { background: #be6d4d; }
.stat-icon--testimonials { background: #8c6bb1; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.testimonial-summary-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-summary-item {
  background: linear-gradient(180deg, #f9fbfc, #edf7f8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
}

.testimonial-summary-name {
  font-weight: 800;
  color: #b8070d;
  margin-bottom: 6px;
}

.testimonial-summary-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.testimonial-empty {
  color: var(--muted);
  padding: 12px 0;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 0 rgba(171, 203, 204, 0.18), 0 26px 42px rgba(22, 75, 117, 0.15);
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.stat-card .value {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #1b7ba0;
  text-shadow: none;
}

.form-panel, .table-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(249, 252, 253, 0.9));
  border: 1px solid rgba(31, 88, 110, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 0 rgba(171, 203, 204, 0.14), 0 18px 28px rgba(15, 55, 79, 0.08);
  padding: 22px;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-panel:hover,
.table-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 0 rgba(171, 203, 204, 0.14), 0 26px 44px rgba(22, 75, 117, 0.13);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  color: var(--text);
}

input, textarea, select {
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  width: 100%;
  background: #fff;
  color: #1f2937;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(13, 111, 144, 0.7);
  box-shadow: 0 0 0 4px rgba(19, 131, 176, 0.12);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 48px;
}

.password-field--admin {
  width: 100%;
}

.password-field--admin .password-toggle {
  width: 30px;
  height: 30px;
  right: 4px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(13, 111, 144, 0.1);
  color: #0d6f90;
}

.password-toggle:focus-visible {
  outline: 2px solid #0d6f90;
  outline-offset: 2px;
}

.password-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.password-icon-hide {
  display: none;
}

.password-toggle.is-visible .password-icon-show {
  display: none;
}

.password-toggle.is-visible .password-icon-hide {
  display: block;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.alert {
  background: linear-gradient(135deg, #ecfeff, #f0fdf4);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #0f172a;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  scrollbar-width: thin;
}

.admin-list-table {
  min-width: 760px;
}

.admin-list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.admin-list-pagination a,
.admin-list-pagination > span:not(.admin-list-pagination-status) {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(200, 16, 22, 0.16);
  border-radius: 9px;
  background: #fff;
  color: #b8070d;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-list-pagination a:hover {
  background: #fff1f1;
}

.admin-list-pagination > .is-disabled {
  color: #98a3a9 !important;
  cursor: not-allowed;
}

.admin-list-pagination-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.staff-admin-table {
  min-width: 760px;
  table-layout: fixed;
}

.staff-admin-table th,
.staff-admin-table td {
  padding: 14px 16px;
  vertical-align: middle;
  text-align: left;
}

.staff-admin-table th:nth-child(1),
.staff-admin-table td:nth-child(1) {
  width: 7%;
  text-align: center;
}

.staff-admin-table th:nth-child(2),
.staff-admin-table td:nth-child(2) {
  width: 22%;
}

.staff-admin-table th:nth-child(3),
.staff-admin-table td:nth-child(3) {
  width: 33%;
}

.staff-admin-table th:nth-child(4),
.staff-admin-table td:nth-child(4) {
  width: 20%;
}

.staff-admin-table th:nth-child(5),
.staff-admin-table td:nth-child(5) {
  width: 18%;
}

.staff-admin-table td {
  color: #42515c;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.table-panel .staff-admin-table td:first-child,
.table-panel .staff-admin-table th:first-child {
  text-align: left;
}

.table-panel .staff-admin-table td:nth-child(1),
.table-panel .staff-admin-table th:nth-child(1) {
  text-align: center;
}

.staff-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.staff-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.staff-pagination a,
.staff-pagination > span:not(.staff-pagination-status) {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(200, 16, 22, 0.16);
  border-radius: 9px;
  background: #fff;
  color: #b8070d;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.staff-pagination a:hover {
  background: #fff1f1;
}

.staff-pagination > .is-disabled {
  color: #98a3a9 !important;
  cursor: not-allowed;
}

.staff-pagination-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.staff-current-image {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.staff-current-image > a {
  color: #b8070d;
  font-weight: 700;
}

.edit-user-form .staff-remove-image {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: #a33b3b;
  cursor: pointer;
}

.edit-user-form .staff-remove-image input {
  width: auto;
  margin: 0;
  accent-color: #b42318;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  table-layout: auto;
}

.dashboard-table {
  table-layout: auto;
  width: 100%;
}

.news-dashboard-table th:nth-child(1),
.news-dashboard-table td:nth-child(1) {
  width: 42%;
}

.news-dashboard-table th:nth-child(2),
.news-dashboard-table td:nth-child(2) {
  width: 20%;
}

.news-dashboard-table th:nth-child(3),
.news-dashboard-table td:nth-child(3) {
  width: 18%;
}

.news-dashboard-table th:nth-child(4),
.news-dashboard-table td:nth-child(4) {
  width: 20%;
}

.announcement-dashboard-table th:nth-child(1),
.announcement-dashboard-table td:nth-child(1) {
  width: 52%;
}

.announcement-dashboard-table th:nth-child(2),
.announcement-dashboard-table td:nth-child(2) {
  width: 24%;
}

.announcement-dashboard-table th:nth-child(3),
.announcement-dashboard-table td:nth-child(3) {
  width: 24%;
}

.announcement-admin-table {
  min-width: 900px;
  table-layout: auto;
}

.announcement-admin-table th:nth-child(1),
.announcement-admin-table td:nth-child(1) {
  width: 52px;
}

.announcement-admin-table th:nth-child(2),
.announcement-admin-table td:nth-child(2) {
  width: 18%;
}

.announcement-admin-table th:nth-child(3),
.announcement-admin-table td:nth-child(3) {
  width: 12%;
}

.announcement-admin-table th:nth-child(4),
.announcement-admin-table td:nth-child(4) {
  width: 28%;
}

.announcement-admin-table th:nth-child(5),
.announcement-admin-table td:nth-child(5) {
  width: 12%;
}

.announcement-admin-table th:nth-child(6),
.announcement-admin-table td:nth-child(6) {
  width: 13%;
}

.announcement-admin-table th:nth-child(7),
.announcement-admin-table td:nth-child(7) {
  width: 17%;
}

.users-table {
  min-width: 760px;
  table-layout: fixed;
}

.users-table th:nth-child(1),
.users-table td:nth-child(1) {
  width: 30%;
  text-align: left;
}

.table-panel .users-table.admin-list-table th:nth-child(1),
.table-panel .users-table.admin-list-table td:nth-child(1) {
  width: 7%;
  text-align: center;
}

.table-panel .users-table.admin-list-table th:nth-child(2),
.table-panel .users-table.admin-list-table td:nth-child(2) {
  width: 30%;
  text-align: left;
}

.table-panel .users-table.admin-list-table th:nth-child(3),
.table-panel .users-table.admin-list-table td:nth-child(3) {
  width: 25%;
  text-align: left;
}

.table-panel .users-table.admin-list-table th:nth-child(4),
.table-panel .users-table.admin-list-table td:nth-child(4) {
  width: 18%;
  text-align: left;
}

.table-panel .users-table.admin-list-table th:nth-child(5),
.table-panel .users-table.admin-list-table td:nth-child(5) {
  width: 20%;
  text-align: left;
}

.users-table th:nth-child(2),
.users-table td:nth-child(2) {
  width: 22%;
  text-align: left;
}

.users-table th:nth-child(3),
.users-table td:nth-child(3) {
  width: 18%;
  text-align: left;
}

.users-table th:nth-child(4),
.users-table td:nth-child(4) {
  width: 30%;
  text-align: left;
}

.users-table td:first-child,
.users-table th:first-child {
  text-align: left;
}

.users-table td {
  overflow-wrap: anywhere;
}

.programs-table {
  min-width: 850px;
  table-layout: fixed;
}

.programs-table th:nth-child(1),
.programs-table td:nth-child(1) {
  width: 26%;
  text-align: left;
}

.programs-table th:nth-child(2),
.programs-table td:nth-child(2) {
  width: 42%;
  text-align: left;
}

.programs-table th:nth-child(3),
.programs-table td:nth-child(3) {
  width: 12%;
  text-align: left;
}

.programs-table th:nth-child(4),
.programs-table td:nth-child(4) {
  width: 20%;
  text-align: left;
}

.programs-table td:first-child,
.programs-table th:first-child {
  text-align: left;
}

.program-name {
  display: block;
  color: #b8070d;
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.program-summary {
  display: -webkit-box;
  overflow: hidden;
  color: #526875;
  line-height: 1.5;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.units-table {
  min-width: 900px;
  table-layout: fixed;
}

.units-table th:nth-child(1),
.units-table td:nth-child(1) {
  width: 8%;
  text-align: center;
}

.units-table th:nth-child(2),
.units-table td:nth-child(2) {
  width: 28%;
  text-align: left;
}

.units-table th:nth-child(3),
.units-table td:nth-child(3) {
  width: 35%;
  text-align: left;
}

.units-table th:nth-child(4),
.units-table td:nth-child(4) {
  width: 12%;
  min-width: 92px;
  text-align: left;
  white-space: nowrap;
}

.units-table th:nth-child(5),
.units-table td:nth-child(5) {
  width: 17%;
  text-align: left;
}

.admin-content-preview {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

th, td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1f2d3d;
  font-size: 0.92rem;
  line-height: 1.55;
}

th {
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6b7c88;
  background: linear-gradient(180deg, rgba(240, 246, 249, 0.98), rgba(232, 239, 244, 0.92));
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: rgba(247, 250, 252, 0.9);
}

tbody tr:hover {
  background: rgba(233, 246, 250, 0.82);
}

.table-panel td:first-child,
.table-panel th:first-child {
  width: 60px;
  text-align: center;
}

th:first-child,
td:first-child {
  width: 52px;
  text-align: center;
}

.table-panel .programs-table {
  min-width: 900px;
}

.table-panel .programs-table th:nth-child(1),
.table-panel .programs-table td:nth-child(1) {
  width: 30%;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}

.table-panel .programs-table.admin-list-table th:nth-child(1),
.table-panel .programs-table.admin-list-table td:nth-child(1) {
  width: 7%;
  text-align: center;
}

.table-panel .programs-table.admin-list-table th:nth-child(2),
.table-panel .programs-table.admin-list-table td:nth-child(2) {
  width: 23%;
  text-align: left;
}

.table-panel .programs-table.admin-list-table th:nth-child(3),
.table-panel .programs-table.admin-list-table td:nth-child(3) {
  width: 38%;
  text-align: left;
}

.table-panel .programs-table.admin-list-table th:nth-child(4),
.table-panel .programs-table.admin-list-table td:nth-child(4) {
  width: 12%;
  text-align: left;
}

.table-panel .programs-table.admin-list-table th:nth-child(5),
.table-panel .programs-table.admin-list-table td:nth-child(5) {
  width: 20%;
  text-align: left;
}

.table-panel .programs-table th:nth-child(2),
.table-panel .programs-table td:nth-child(2) {
  width: 38%;
  text-align: left;
  word-break: normal;
  overflow-wrap: break-word;
}

.table-panel .programs-table th:nth-child(3),
.table-panel .programs-table td:nth-child(3) {
  width: 12%;
  text-align: left;
}

.table-panel .programs-table th:nth-child(4),
.table-panel .programs-table td:nth-child(4) {
  width: 20%;
  text-align: left;
}

.table-panel .programs-table .program-name {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.badge.superadmin {
  background: #fff0f1;
  color: #b8070d;
}

.badge.humas {
  background: #dcfce7;
  color: #166534;
}

.badge.survei {
  background: #fff3d6;
  color: #8a5a00;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 150px;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #1f2937;
  background: linear-gradient(180deg, #f8fafc, #eef4f7);
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 3px 4px 0 rgba(22, 116, 157, 0.12);
}

.link-btn.primary {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
  border-color: rgba(200, 16, 22, 0.2);
}

.link-btn.danger {
  background: linear-gradient(135deg, #fff1f2, #fee2e2);
  color: #b91c1c;
  border-color: #fecaca;
}

.edit-user {
  position: relative;
}

.edit-user summary {
  list-style: none;
  cursor: pointer;
}

.edit-user summary::-webkit-details-marker {
  display: none;
}

.edit-user-form {
  position: fixed;
  z-index: 1000;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  width: min(900px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  min-width: 0;
  max-height: min(80vh, 720px);
  overflow-y: auto;
  padding: 48px 15px 15px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 15px;
  background: linear-gradient(145deg, #f8fcfc, #eef8f7);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 5px 6px 0 rgba(22, 116, 157, 0.1), 0 12px 24px rgba(22, 75, 117, 0.1);
}

.edit-user-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.edit-user-close:hover {
  background: #fff1f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.edit-user-form > label:has(textarea),
.edit-user-form > label:has(input[name="title"]),
.edit-user-form > label:has(input[name="name"]),
.edit-user-form > label:has(input[name="excerpt"]),
.edit-user-form > label:has(input[name="summary"]),
.edit-user-form > .staff-current-image,
.edit-user-form > button {
  grid-column: 1 / -1;
}

.edit-user-form > button {
  justify-self: start;
}

.edit-user-form label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.edit-user-form input:not([type="checkbox"]),
.edit-user-form select,
.edit-user-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.edit-user-form .password-field input {
  padding-right: 38px;
}

.edit-user-form textarea {
  min-height: 90px;
  resize: vertical;
}

.edit-user-form > label > textarea[name="excerpt"],
.edit-user-form > label > textarea[name="summary"] {
  min-height: 110px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.edit-user-current-file {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.edit-user-current-file a {
  color: var(--primary-deep);
  font-weight: 700;
}

.admin-main .admin-edit-mode .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.admin-main .admin-edit-mode form,
.performance-admin-form .performance-admin-upload-form.is-edit-mode {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fcfc, #eef8f7);
  box-shadow: 5px 6px 0 rgba(22, 116, 157, 0.1), 0 12px 24px rgba(22, 75, 117, 0.1);
}

.admin-main .admin-edit-mode .form-group.full {
  grid-column: auto;
}

.admin-main .admin-edit-mode .form-group.form-group-full {
  grid-column: 1 / -1;
}

.admin-main .admin-edit-mode .form-group:has(textarea) {
  grid-column: 1 / -1;
}

.admin-main .admin-edit-mode .form-group,
.performance-admin-upload-form.is-edit-mode .form-group {
  min-width: 0;
}

.admin-main .admin-edit-mode .form-group label,
.performance-admin-upload-form.is-edit-mode .form-group label {
  gap: 5px;
  font-size: 0.76rem;
}

.admin-main .admin-edit-mode .form-group input:not([type="checkbox"]),
.admin-main .admin-edit-mode .form-group select,
.admin-main .admin-edit-mode .form-group textarea,
.performance-admin-upload-form.is-edit-mode .form-group input:not([type="checkbox"]),
.performance-admin-upload-form.is-edit-mode .form-group select,
.performance-admin-upload-form.is-edit-mode .form-group textarea {
  box-sizing: border-box;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.admin-main .admin-edit-mode .form-group > p,
.admin-main .admin-edit-mode .form-group > small {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-main .admin-edit-mode .form-group > p a,
.admin-main .admin-edit-mode .form-group > small a {
  color: var(--primary-deep);
  font-weight: 700;
}

.edit-user-form .link-btn {
  cursor: pointer;
}

@media (max-width: 640px) {
  .edit-user-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-main .admin-edit-mode .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shared campus theme: clean, soft, and easy on the eyes. */
:root {
  --primary: #f3f5f6;
  --primary-soft: #ffffff;
  --primary-deep: #1d2b36;
  --accent: #d7c7ae;
  --accent-strong: #b38a57;
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #1f2a37;
  --muted: #5f6975;
  --line: #e6ebee;
  --soft-neutral: #fff1f1;
  --soft-mint: #f4f7f6;
  --soft-peach: #faf7f2;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f8 38%, #f9f6f2 100%);
  color: var(--text);
}

body::before {
  opacity: 0.12;
  background:
    radial-gradient(circle at 20% 18%, rgba(200, 16, 22, 0.07), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(196, 167, 128, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.34), rgba(247,244,240,0.26));
}

.admin-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f8 42%, #f9f6f2 100%);
}

.hero,
.campus-detail-page,
.program-detail,
.listing-page,
.announcement-page,
.news-page {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f8 48%, #f8f7f4 100%);
}

h1,
h2,
h3,
.admin-main h1,
.admin-main h3,
.program-detail-card h1,
.detail-story-copy h2,
.listing-heading h1,
.section-head h2 {
  color: var(--primary-deep);
}

.btn-primary,
.link-btn.primary,
.header-btn {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
  border-color: rgba(166, 7, 13, 0.22);
  box-shadow: 0 9px 19px rgba(184, 7, 13, 0.16);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffffff, #fff5f5);
  border-color: rgba(29, 43, 54, 0.14);
  color: var(--primary-deep);
}

.btn-primary:hover,
.link-btn.primary:hover,
.header-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(184, 7, 13, 0.2);
}

.tag-soft,
.detail-card-tag {
  background: #fff1f1;
  color: var(--primary-deep);
  border-color: rgba(29, 43, 54, 0.1);
}

.form-panel,
.table-panel,
.program-detail-card,
.detail-story-block,
.listing-card,
.announcement-detail-card,
.news-detail-card {
  border-color: rgba(29, 43, 54, 0.08);
  box-shadow: 0 14px 32px rgba(29, 43, 54, 0.06);
}

.site-footer {
  background: linear-gradient(180deg, #f7f5f2 0%, #eef2f4 100%);
  border-top-color: rgba(29, 43, 54, 0.08);
  color: var(--text);
}

.site-footer .footer-identity strong,
.site-footer .footer-identity span,
.site-footer .language-picker,
.site-footer .language-option,
.site-footer .footer-socials a {
  color: var(--primary-deep);
}

.site-footer .footer-socials a {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(29, 43, 54, 0.12);
}

.site-footer .footer-socials a:hover,
.site-footer .footer-socials a:focus-visible {
  background: rgba(215, 199, 174, 0.18);
  color: var(--primary-deep);
}

@media (max-width: 700px) {
  .btn,
  .header-btn,
  .link-btn {
    min-height: 42px;
  }
}

.home-page .section-head h2,
.home-page .announcement-card h3,
.home-page .feature-news-body h3,
.home-page .mini-news-content h4,
.home-page .program-card h3 {
  color: var(--primary-deep);
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: rgba(255, 255, 255, 0.22);
  border-top: 0;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-page .section-parallax::before {
  opacity: 0.22;
  animation: none;
}

.home-page .program-card,
.home-page .feature-news,
.home-page .mini-news-item,
.home-page .announcement-card,
.home-page .service-card,
.home-page .industry-testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(200, 16, 22, 0.1);
  box-shadow: 0 14px 30px rgba(112, 34, 44, 0.09);
}

.home-page .program-more,
.home-page .more-news,
.home-page .announcement-view,
.home-page .announcement-document,
.home-page .service-action,
.home-page .agenda-btn {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
  border-color: rgba(166, 7, 13, 0.2);
  box-shadow: 0 8px 18px rgba(184, 7, 13, 0.16);
}

.home-page .date-badge,
.home-page .industry-company {
  background: #fff0f1;
  color: var(--primary-deep);
}

.home-page .announcement-icon {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 0;
}

.listing-year-filter {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: auto;
}

.listing-year-filter label {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  white-space: nowrap;
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.listing-year-filter select {
  width: auto;
  min-width: 112px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
}

.listing-result-count {
  align-self: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.listing-results-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-page-status {
  color: var(--muted);
  font-size: 0.8rem;
}

.pagination-previous span {
  order: -1;
}

.pagination-next {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e1f3f2, #e7f0fb);
  color: var(--primary-deep);
  font-weight: 700;
  box-shadow: 3px 4px 0 rgba(22, 116, 157, 0.1);
}

.pagination-next span {
  transition: transform 0.2s ease;
}

.pagination-next:hover span {
  transform: translateX(3px);
}

.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef4ff, #edf3f9);
  padding: 30px;
}

.auth-card {
  width: min(480px, 100%);
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 32px;
}

.auth-card h1 {
  margin-top: 0;
  text-align: center;
  font-size: 2rem;
}

.auth-card p {
  color: var(--muted);
  text-align: center;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .news-grid,
  .grid-stats,
  .form-grid,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    display: block;
  }

  .admin-shell > .sidebar,
  .admin-main,
  .admin-main > *,
  .admin-main .dashboard-grid,
  .admin-main .dashboard-column,
  .admin-main .table-panel,
  .admin-main .table-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    padding: 16px;
  }

  .sidebar-brand {
    padding-bottom: 16px;
  }

  .sidebar-user {
    margin: 14px 6px;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar nav a {
    flex: 1 1 135px;
  }

  .sidebar-footer {
    display: none;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-main {
    padding: 28px 18px;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .admin-shell > .sidebar .admin-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    min-width: 0;
    max-width: 100%;
    flex-basis: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .admin-main .grid-stats {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  }
}

@media (max-width: 1100px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-wrap {
    flex: 1 1 220px;
  }

  .nav-links {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .header-btn {
    flex: 0 1 auto;
  }
}

@media (min-width: 641px) and (max-width: 1400px) {
  .topbar .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .topbar .logo-wrap {
    flex: 1 1 auto;
    width: auto;
    justify-content: flex-start;
  }

  .topbar .nav-links {
    order: 3;
    flex: 0 0 100%;
    max-width: none;
    position: relative;
  }

  .topbar .nav-links::before,
  .topbar .nav-links::after {
    position: absolute;
    right: 0;
    left: 0;
    content: "";
    pointer-events: none;
  }

  .topbar .nav-links::before {
    top: -12px;
    height: 2px;
    background: #c81016;
    opacity: 0.86;
  }

  .topbar .nav-links::after {
    top: -14px;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 44%, #ffffff 50%, rgba(255, 255, 255, 0.18) 56%, transparent 100%);
    background-repeat: no-repeat;
    background-size: 55% 100%;
    animation: stackedHeaderLineRun 2s linear infinite;
  }

  .topbar .header-btn {
    order: 2;
    flex: 0 0 auto;
  }

  .dropdown-item:nth-last-child(-n + 3) .dropdown-menu {
    left: auto;
    right: 0;
  }

  .dropdown-menu.menu-grid {
    min-width: min(430px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }
}

@keyframes stackedHeaderLineRun {
  from { background-position: -100% 50%; }
  to { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar .nav-links::before,
  .topbar .nav-links::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .topbar .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .topbar .logo-wrap {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .topbar .mobile-menu-toggle {
    order: 2;
    flex: 0 0 44px;
  }

  .topbar .nav-links {
    order: 3;
    flex: 0 0 100%;
  }

  .topbar .header-btn {
    order: 4;
    flex: 0 0 100%;
  }

  .performance-documents {
    padding: 16px 12px;
  }

  .performance-document-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .performance-document-action {
    grid-column: auto;
  }

  .performance-document-actions {
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
  }

  .nav {
    align-items: stretch;
  }

  .logo-wrap {
    flex: 1 1 auto;
    width: auto;
  }

  .nav-links {
    display: none;
    flex: 0 0 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav.menu-open .nav-links {
    display: flex;
  }

  .nav-links .dropdown-item {
    flex: 0 0 auto;
  }

  .header-btn {
    flex: 0 0 100%;
    width: 100%;
  }

  .auth-wrap {
    padding: 16px;
  }

  .auth-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .announcement-detail-page {
    padding: 46px 0;
  }

  .announcement-detail-card {
    border-radius: 18px;
  }

  .announcement-detail-image {
    height: auto;
  }

  .announcement-detail-body {
    padding: 22px 18px;
  }

  .announcement-detail-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* Final palette pass: keep every public and admin surface on the same visual system. */
.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: linear-gradient(135deg, #fff3f4 0%, #fffafb 48%, #f1f6ff 100%);
}

.section-head h2,
.listing-heading h1,
.announcement-detail-body h1,
.detail-news-body h1,
.campus-detail-card h1,
.program-detail-card h1,
.detail-story-copy h2,
.auth-card h1 {
  color: #a8070d;
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(200, 16, 22, 0.1);
  box-shadow: 0 14px 32px rgba(112, 34, 44, 0.08);
}

.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn.primary,
.btn-primary,
.header-btn {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
  border-color: rgba(166, 7, 13, 0.22);
  box-shadow: 0 9px 19px rgba(184, 7, 13, 0.16);
}

.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn.primary:hover,
.btn-primary:hover,
.header-btn:hover {
  color: #ffffff;
  filter: brightness(1.06);
}

.announcement-icon,
.service-icon,
.date-badge,
.industry-company,
.tag-soft,
.detail-card-tag {
  border-color: rgba(200, 16, 22, 0.12);
}

.announcement-icon {
  background: linear-gradient(135deg, #b8070d, #ef3d45);
  color: #ffffff;
}

.date-badge,
.industry-company,
.tag-soft,
.detail-card-tag {
  background: #fff0f1;
  color: #a8070d;
}

.service-icon {
  background: linear-gradient(135deg, #fff0f1, #eef5ff);
  color: #b8070d;
}

/* Final typography and control treatment: black text, white surfaces, soft red accents. */
h1,
h2,
h3,
h4,
.section-head h2,
.listing-heading h1,
.announcement-detail-body h1,
.detail-news-body h1,
.campus-detail-card h1,
.program-detail-card h1,
.detail-story-copy h2,
.auth-card h1,
.program-card h3,
.announcement-card h3,
.feature-news-body h3,
.mini-news-content h4 {
  color: #171923;
}

.hero-copy h1,
.home-page .hero-copy h1 {
  color: #ffffff;
}

.btn-primary,
.btn-secondary,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn.primary,
.link-btn.danger,
.header-btn {
  background: #ffffff;
  color: #171923;
  border: 1px solid rgba(200, 16, 22, 0.22);
  box-shadow: 0 8px 20px rgba(200, 16, 22, 0.14);
}

.btn-primary:hover,
.btn-secondary:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn.primary:hover,
.link-btn.danger:hover,
.header-btn:hover {
  background: #fff5f5;
  color: #171923;
  border-color: rgba(200, 16, 22, 0.38);
  box-shadow: 0 11px 24px rgba(200, 16, 22, 0.2);
}

.campus-card-label {
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  padding: 9px 12px;
  background: rgba(255, 247, 247, 0.94);
  color: #171923;
  border: 1px solid rgba(200, 16, 22, 0.2);
  box-shadow: 0 7px 16px rgba(112, 34, 44, 0.14);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  color: #171923;
}

.service-icon,
.announcement-icon {
  background: #fff5f5;
  color: #171923;
}

.dropdown-menu,
.dropdown-item:hover .dropdown-menu,
.dropdown-item:focus-within .dropdown-menu {
  box-shadow: 0 18px 30px rgba(20, 25, 35, 0.14);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #fff5f5;
  color: #171923;
  box-shadow: inset 0 0 0 1px rgba(200, 16, 22, 0.08);
}

.topbar .brand-text {
  font-size: 1.62rem;
}

.topbar .dropdown-item > a,
.topbar .nav-links > a {
  font-size: 0.94rem;
  padding-left: 15px;
  padding-right: 15px;
}

.topbar .header-btn {
  font-size: 0.94rem;
}

.home-page::before {
  opacity: 0.42;
  filter: blur(11px) saturate(0.86) contrast(1.04) brightness(1.04);
  background:
    radial-gradient(circle at 20% 18%, rgba(200, 16, 22, 0.08), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(196, 167, 128, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 240, 241, 0.38)),
    url("../img/gambar6.png") center/contain no-repeat;
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: linear-gradient(135deg, rgba(255, 243, 244, 0.5), rgba(255, 247, 248, 0.58));
}

.home-page .section-head h2,
.home-page .section-head p,
.home-page .section-head .section-description,
.home-page .list-item,
.home-page .program-card p,
.home-page .feature-news-body p,
.home-page .mini-news-content p,
.home-page .announcement-card p,
.home-page .testimonial-read-more,
.home-page .service-card > span:not(.service-icon) {
  color: #171923;
}

.home-page #profil .section-head h2 {
  color: #171923 !important;
}

.home-page #profil .section-head h2[data-i18n="Tumbuh, Terhubung, dan Berkembang dalam Komunitas"] {
  color: #171923 !important;
}

/* Use one button treatment across public pages. */
.btn,
.header-btn,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn,
.link-btn.primary,
.link-btn.danger {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid rgba(200, 16, 22, 0.2) !important;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.06) !important;
}

.btn:hover,
.header-btn:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn:hover,
.link-btn.primary:hover,
.link-btn.danger:hover {
  background: #fff5f5 !important;
  color: #111111 !important;
  border-color: rgba(200, 16, 22, 0.32) !important;
  box-shadow: 0 10px 20px rgba(200, 16, 22, 0.12) !important;
}

/* Final neutral palette: soft white surfaces and black header navigation. */
body,
.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: #ffffff;
}

.topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.08);
}

.topbar .logo-wrap img {
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12);
}

.topbar .dropdown-item > a,
.topbar .nav-links > a,
.topbar .header-btn {
  color: #111111 !important;
}

.dropdown-item > a,
.nav-links > a,
.topbar .brand-text,
.topbar .brand-text span {
  color: #111111;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active,
.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08), inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.12);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #f7f7f7;
  color: #000000;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.topbar .mobile-menu-toggle {
  border-color: rgba(17, 17, 17, 0.12);
  color: #111111;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.07);
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  background: #f7f7f7;
  color: #111111;
  border-color: rgba(17, 17, 17, 0.1);
}

.btn,
.header-btn,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn,
.link-btn.primary,
.link-btn.danger {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.16) !important;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.07) !important;
}

.btn:hover,
.header-btn:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn:hover,
.link-btn.primary:hover,
.link-btn.danger:hover {
  background: #f7f7f7 !important;
  color: #000000 !important;
  border-color: rgba(17, 17, 17, 0.24) !important;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.1) !important;
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: rgba(255, 255, 255, 0.46);
}

/* Final neutral glass palette for every page. */
body,
.admin-shell,
.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: rgba(255, 255, 255, 0.82);
}

.topbar {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.06);
}

.topbar .dropdown-item > a,
.topbar .nav-links > a,
.topbar .header-btn,
.topbar .brand-text,
.topbar .brand-text span {
  color: #111111 !important;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active,
.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: #000000 !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06), inset 0 0 0 1px rgba(17, 17, 17, 0.07);
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.08);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: #000000;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(17, 17, 17, 0.07);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.055);
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  background: rgba(255, 255, 255, 0.68);
  color: #111111;
  border-color: rgba(17, 17, 17, 0.08);
}

.btn,
.header-btn,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn,
.link-btn.primary,
.link-btn.danger {
  background: rgba(255, 255, 255, 0.78) !important;
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.12) !important;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.055) !important;
}

.btn:hover,
.header-btn:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn:hover,
.link-btn.primary:hover,
.link-btn.danger:hover {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #000000 !important;
  border-color: rgba(17, 17, 17, 0.18) !important;
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.08) !important;
}

.service-icon,
.announcement-icon {
  background: rgba(255, 255, 255, 0.72);
  color: #111111;
  box-shadow: 4px 5px 0 rgba(17, 17, 17, 0.06);
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: rgba(255, 255, 255, 0.56);
}

.scroll-background::after {
  background: rgba(255, 255, 255, 0.18);
}

.home-page::before {
  opacity: 0;
  background: none;
}

/* Keep the shared header consistent on every page and preserve the homepage slider. */
.topbar {
  background: rgba(255, 247, 248, 0.9);
  border-bottom-color: rgba(200, 16, 22, 0.12);
  box-shadow: 0 10px 26px rgba(112, 34, 44, 0.08);
}

.dropdown-item > a,
.nav-links > a {
  color: #5d2730;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active {
  background: #fff0f1;
  color: #a8070d;
}

.dropdown-menu {
  border-color: rgba(200, 16, 22, 0.12);
  box-shadow: 0 18px 30px rgba(112, 34, 44, 0.12);
}

.topbar .logo-wrap img {
  box-shadow: 0 8px 20px rgba(112, 34, 44, 0.14);
}

.topbar .mobile-menu-toggle {
  border-color: rgba(200, 16, 22, 0.12);
  color: #a8070d;
  box-shadow: 0 8px 18px rgba(112, 34, 44, 0.08);
}

.home-page .hero {
  background: transparent;
}

.home-page .hero-slider {
  display: block;
}

.home-page .hero-copy h1 {
  color: #ffffff;
}

.home-page .section {
  position: relative;
  isolation: isolate;
}

.home-page .section > .container {
  position: relative;
  z-index: 1;
}

.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: #fbdfe2;
  color: #8f060c;
  outline: 2px solid rgba(200, 16, 22, 0.2);
  outline-offset: 2px;
}

.header-btn:focus-visible,
.btn:focus-visible,
.program-more:focus-visible,
.more-news:focus-visible,
.service-action:focus-visible {
  outline: 3px solid rgba(200, 16, 22, 0.24);
  outline-offset: 3px;
}

/* Final neutral override for legacy theme rules above. */
.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f8 52%, #f8f7f4 100%);
}

.topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(29, 43, 54, 0.1);
  box-shadow: 0 10px 26px rgba(29, 43, 54, 0.07);
}

.dropdown-item > a,
.nav-links > a {
  color: #263746;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active {
  background: #fff1f1;
  color: #9b171b;
}

.dropdown-menu {
  border-color: rgba(29, 43, 54, 0.1);
  box-shadow: 0 18px 30px rgba(29, 43, 54, 0.12);
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(29, 43, 54, 0.08);
  box-shadow: 0 14px 32px rgba(29, 43, 54, 0.06);
}

.btn,
.header-btn,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn,
.link-btn.primary,
.link-btn.danger {
  background: #ffffff !important;
  color: #1d2b36 !important;
  border-color: rgba(29, 43, 54, 0.14) !important;
  box-shadow: 0 10px 18px rgba(29, 43, 54, 0.07) !important;
}

.btn:hover,
.header-btn:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn:hover,
.link-btn.primary:hover,
.link-btn.danger:hover {
  background: #fff1f1 !important;
  color: #9b171b !important;
  border-color: rgba(200, 16, 22, 0.22) !important;
  box-shadow: 0 10px 20px rgba(29, 43, 54, 0.1) !important;
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  background: #fff1f1;
  color: #1d2b36;
  border-color: rgba(29, 43, 54, 0.1);
}

.service-icon,
.announcement-icon {
  background: #f3f6f6;
  color: #9b171b;
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(244, 247, 248, 0.78));
}

.home-page .program-card,
.home-page .feature-news,
.home-page .mini-news-item,
.home-page .announcement-card,
.home-page .service-card,
.home-page .industry-testimonial-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(29, 43, 54, 0.08);
  box-shadow: 0 14px 30px rgba(29, 43, 54, 0.06);
}

.home-page .date-badge,
.home-page .industry-company {
  background: #fff1f1;
  color: #1d2b36;
  border-color: rgba(29, 43, 54, 0.1);
}

.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: #fff1f1;
  color: #9b171b;
  outline-color: rgba(200, 16, 22, 0.24);
}

.header-btn:focus-visible,
.btn:focus-visible,
.program-more:focus-visible,
.more-news:focus-visible,
.service-action:focus-visible {
  outline-color: rgba(200, 16, 22, 0.28);
}

/* Keep the final public palette aligned with the soft red theme. */
.topbar {
  background: rgba(255, 247, 248, 0.94);
  border-bottom-color: rgba(200, 16, 22, 0.12);
  box-shadow: 0 10px 26px rgba(112, 34, 44, 0.08);
}

.topbar .logo-wrap img {
  box-shadow: 0 8px 20px rgba(112, 34, 44, 0.14);
}

.dropdown-item > a,
.nav-links > a {
  color: #5d2730;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active,
.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: #fff0f1;
  color: #a8070d;
  box-shadow: 0 8px 18px rgba(112, 34, 44, 0.08), inset 0 0 0 1px rgba(200, 16, 22, 0.08);
}

.dropdown-menu {
  border-color: rgba(200, 16, 22, 0.12);
  box-shadow: 0 18px 30px rgba(112, 34, 44, 0.12);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: #fff5f5;
  color: #171923;
  box-shadow: inset 0 0 0 1px rgba(200, 16, 22, 0.08);
}

.topbar .mobile-menu-toggle {
  border-color: rgba(200, 16, 22, 0.12);
  color: #a8070d;
  box-shadow: 0 8px 18px rgba(112, 34, 44, 0.08);
}

.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: linear-gradient(135deg, #fff3f4 0%, #fffafb 52%, #fff5f5 100%);
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: linear-gradient(135deg, rgba(255, 243, 244, 0.5), rgba(255, 247, 248, 0.58));
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  background: #fff0f1;
  color: #5d2730;
  border-color: rgba(200, 16, 22, 0.1);
}

.home-page .program-card,
.home-page .feature-news,
.home-page .mini-news-item,
.home-page .announcement-card,
.home-page .service-card,
.home-page .industry-testimonial-card {
  border-color: rgba(200, 16, 22, 0.1);
  box-shadow: 0 14px 30px rgba(112, 34, 44, 0.09);
}

.home-page .profile-list,
.home-page .campus-flip-card,
.home-page .program-card,
.home-page .feature-news,
.home-page .mini-news-item,
.home-page .announcement-card,
.home-page .service-card,
.home-page .industry-testimonial-card {
  position: relative;
}

.home-page .campus-flip-card {
  border-radius: 22px;
}

.home-page .profile-list::after,
.home-page .profile-list .list-item::after,
.home-page .campus-flip-card::after,
.home-page .program-card::after,
.home-page .feature-news::after,
.home-page .mini-news-item::after,
.home-page .announcement-card::after,
.home-page .industry-testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 2px;
  border-radius: inherit;
  background: #c81016;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.82;
  pointer-events: none;
}

.header-btn:focus-visible,
.btn:focus-visible,
.program-more:focus-visible,
.more-news:focus-visible,
.service-action:focus-visible {
  outline-color: rgba(200, 16, 22, 0.28);
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  border-color: rgba(200, 16, 22, 0.1);
  box-shadow: 0 14px 32px rgba(112, 34, 44, 0.08);
}

.btn,
.header-btn,
.program-more,
.service-action,
.more-news,
.announcement-view,
.announcement-document,
.agenda-btn,
.pagination-next,
.link-btn,
.link-btn.primary,
.link-btn.danger {
  color: #5d2730 !important;
  border-color: rgba(200, 16, 22, 0.2) !important;
  box-shadow: 0 10px 18px rgba(112, 34, 44, 0.08) !important;
}

.btn:hover,
.header-btn:hover,
.program-more:hover,
.service-action:hover,
.more-news:hover,
.announcement-view:hover,
.announcement-document:hover,
.agenda-btn:hover,
.pagination-next:hover,
.link-btn:hover,
.link-btn.primary:hover,
.link-btn.danger:hover {
  background: #fff5f5 !important;
  color: #a8070d !important;
  border-color: rgba(200, 16, 22, 0.32) !important;
  box-shadow: 0 10px 20px rgba(200, 16, 22, 0.12) !important;
}

/* Last cascade override: remove the legacy red palette everywhere. */
body,
.admin-shell,
.section,
.listing-page,
.announcement-detail-page,
.news-detail-wrap,
.campus-detail-page,
.program-detail,
.public-service-section,
.performance-documents {
  background: rgba(255, 255, 255, 0.82) !important;
}

.topbar {
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom-color: rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.06) !important;
}

.topbar .dropdown-item > a,
.topbar .nav-links > a,
.topbar .header-btn,
.topbar .brand-text,
.topbar .brand-text span {
  color: #111111 !important;
}

.dropdown-item:hover > a,
.dropdown-item:focus-within > a,
.nav-links > a:hover,
.nav-links > a.active,
.dropdown-item > a:active,
.dropdown-item > a:focus-visible,
.nav-links > a:active,
.nav-links > a:focus-visible {
  background: rgba(255, 255, 255, 0.78) !important;
  color: #000000 !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06), inset 0 0 0 1px rgba(17, 17, 17, 0.07) !important;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 18px 30px rgba(17, 17, 17, 0.08) !important;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.72) !important;
  color: #000000 !important;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06) !important;
}

.program-card,
.service-card,
.feature-news,
.mini-news-item,
.announcement-card,
.listing-card,
.announcement-listing-card,
.announcement-detail-card,
.detail-news-wrap,
.campus-detail-card,
.program-detail-card,
.detail-story-block,
.detail-info-card,
.detail-section-card,
.auth-card,
.form-panel,
.table-panel,
.stat-card {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(17, 17, 17, 0.07) !important;
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.055) !important;
}

.tag-soft,
.detail-card-tag,
.date-badge,
.industry-company {
  background: rgba(255, 255, 255, 0.68) !important;
  color: #111111 !important;
  border-color: rgba(17, 17, 17, 0.08) !important;
}

.home-page .profile-section,
.home-page .program-section,
.home-page .news-section,
.home-page .announcement-section,
.home-page .agenda-section,
.home-page .public-service-section {
  background: rgba(241, 243, 242, 0.38) !important;
}

.scroll-background::after {
  background: rgba(241, 243, 242, 0.12) !important;
}

@supports (animation-timeline: scroll(root block)) {
  body.home-page .scroll-background-image {
    animation-name: home-background-parallax-vertical;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: both;
    animation-timeline: scroll(root block);
    animation-range: 0% 100%;
    will-change: transform;
  }

  body.home-page .scroll-background-image[data-section="profil"] {
    animation-name: home-background-parallax-horizontal;
  }

  body.home-page .scroll-background-image[data-section="program"] {
    animation-name: home-background-parallax-deep;
  }

  body.home-page .scroll-background-image[data-section="berita"] {
    animation-name: home-background-parallax-diagonal;
  }

  body.home-page .scroll-background-image[data-section="pengumuman"] {
    animation-name: home-background-parallax-zoom;
  }

  body.home-page .scroll-background-image[data-section="kontak"] {
    animation-name: home-background-parallax-reverse;
  }
}

@keyframes home-background-parallax-vertical {
  from { transform: translate3d(0, -2.5vh, 0) scale(1); }
  to { transform: translate3d(0, 2.5vh, 0) scale(1); }
}

@keyframes home-background-parallax-horizontal {
  from { transform: translate3d(-1.5vw, 0, 0) scale(1.01); }
  to { transform: translate3d(1.5vw, 0, 0) scale(1.01); }
}

@keyframes home-background-parallax-deep {
  from { transform: translate3d(0, 3vh, 0) scale(1); }
  to { transform: translate3d(0, -3vh, 0) scale(1.01); }
}

@keyframes home-background-parallax-diagonal {
  from { transform: translate3d(-1.2vw, 1.5vh, 0) rotate(-0.2deg) scale(1.01); }
  to { transform: translate3d(1.2vw, -1.5vh, 0) rotate(0.2deg) scale(1.01); }
}

@keyframes home-background-parallax-zoom {
  from { transform: translate3d(0, 1.5vh, 0) scale(1); }
  to { transform: translate3d(0, -1.5vh, 0) scale(1.01); }
}

@keyframes home-background-parallax-reverse {
  from { transform: translate3d(1.5vw, 0, 0) scale(1.01); }
  to { transform: translate3d(-1.5vw, 0, 0) scale(1.01); }
}

@supports (timeline-scope: --home-beranda) and (animation-timeline: --home-beranda) {
  body.home-page {
    timeline-scope: --home-beranda, --home-profil, --home-program, --home-berita, --home-pengumuman, --home-kontak;
  }

  body.home-page #beranda {
    view-timeline-name: --home-beranda;
    view-timeline-axis: block;
  }

  body.home-page #profil {
    view-timeline-name: --home-profil;
    view-timeline-axis: block;
  }

  body.home-page #program {
    view-timeline-name: --home-program;
    view-timeline-axis: block;
  }

  body.home-page #berita {
    view-timeline-name: --home-berita;
    view-timeline-axis: block;
  }

  body.home-page #pengumuman {
    view-timeline-name: --home-pengumuman;
    view-timeline-axis: block;
  }

  body.home-page #kontak {
    view-timeline-name: --home-kontak;
    view-timeline-axis: block;
  }

  body.home-page .scroll-background-image,
  body.home-page .hero-slider .slide img {
    animation-timeline: --home-beranda;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .scroll-background-image[data-section="profil"],
  body.home-page .hero-slider .slide[data-parallax-style="horizontal"] img {
    animation-timeline: --home-profil;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .scroll-background-image[data-section="program"],
  body.home-page .hero-slider .slide[data-parallax-style="vertical"] img {
    animation-timeline: --home-program;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .scroll-background-image[data-section="berita"],
  body.home-page .hero-slider .slide[data-parallax-style="diagonal"] img {
    animation-timeline: --home-berita;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .scroll-background-image[data-section="pengumuman"],
  body.home-page .hero-slider .slide[data-parallax-style="zoom"] img {
    animation-timeline: --home-pengumuman;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .scroll-background-image[data-section="kontak"] {
    animation-timeline: --home-kontak;
    animation-range: cover 0% cover 100%;
  }

  body.home-page .hero-slider .slide[data-parallax-style] img {
    animation-timeline: --home-beranda;
    animation-range: cover 0% cover 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .hero-slider .slide img,
  body.home-page .scroll-background-image {
    animation: none;
    transform: none;
    will-change: auto;
    transition: none;
  }
}

.home-page .hero-slider .slide img {
  object-position: center 58%;
  transform: none !important;
  animation: none !important;
}

/* Give announcement media enough space to be read at a glance. */
.announcement-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.announcement-image {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: stretch;
  flex: 0 0 auto;
.announcement-image--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7eef0, #f6f8f8);
}

  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.announcement-image img {
  display: block;

.announcement-card > .announcement-card-content {
  justify-content: flex-start;
}
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement-image--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7eef0, #f6f8f8);
}

.announcement-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px 18px 18px;
}

.announcement-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.announcement-meta time {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.announcement-view-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: #50616e;
  font-size: 0.74rem;
  font-weight: 600;
}

.announcement-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.announcement-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0;
  line-height: 1.55;
}

.announcement-actions {
  margin-top: auto;
  padding-top: 14px;
}

.announcement-listing-card .announcement-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-listing-card .announcement-actions .announcement-view,
.announcement-listing-card .announcement-actions .announcement-document {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 38px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #263746;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(31, 42, 55, 0.06);
}

.announcement-listing-card .announcement-actions span {
  display: none;
}

.announcement-listing-card .announcement-actions .announcement-view:hover,
.announcement-listing-card .announcement-actions .announcement-document:hover {
  background: #f4f6f7;
  transform: translateY(-1px);
}

.announcement-detail-image {
  height: clamp(300px, 38vw, 460px);
}

.announcement-listing-card {
  grid-template-columns: minmax(220px, 38%) 1fr;
  min-height: 300px;
}

.announcement-listing-media {
  min-height: 300px;
  position: relative;
  isolation: isolate;
}

.announcement-listing-media.has-image {
  background: transparent;
}

.announcement-listing-media.has-image::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  background: center / cover no-repeat var(--announcement-image);
  filter: blur(14px);
  transform: scale(1.04);
}

.announcement-listing-media.has-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.announcement-listing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.announcement-listing-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  min-height: 0;
  height: 100%;
  padding: 0;
}

.announcement-listing-card .announcement-listing-media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
}

.announcement-listing-media--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e7eef0, #f6f8f8);
}

.announcement-listing-card .announcement-card-content {
  flex: 1;
}

@media (max-width: 980px) {
  .announcement-listing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .announcement-card {
    grid-template-columns: 1fr;
  }

  .performance-document-filters form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-document-filter-field {
    min-width: 0;
  }

  .performance-document-filters form > button,
  .performance-document-filters form > a {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .announcement-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .announcement-listing-card {
    grid-template-columns: none;
  }

  .announcement-listing-card .announcement-listing-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .announcement-listing {
    grid-template-columns: 1fr;
  }

  .listing-toolbar {
    align-items: flex-start;
  }

  .listing-year-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .listing-year-filter label {
    grid-column: 1 / -1;
    display: block;
  }

  .listing-year-filter select {
    width: 100%;
  }

  .listing-result-count {
    align-self: flex-start;
  }

  .pagination-bar,
  .pagination-controls,
  .listing-results-footer {
    flex-wrap: wrap;
  }

  .listing-results-footer {
    align-items: flex-start;
  }
}

/* Refined layout for menu overview pages. */
.menu-overview-page {
  padding: clamp(48px, 7vw, 84px) 0;
}

.menu-overview-page > .container {
  max-width: 1180px;
}

.menu-overview-page .listing-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.menu-overview-page .listing-heading h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

.menu-overview-page .listing-heading p {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.menu-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.menu-overview-card {
  min-height: 238px;
  border-radius: 16px;
  border-color: #c81016 !important;
  background: rgba(255, 255, 255, 0.86);
}

.menu-overview-card .listing-card-body {
  padding: 24px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.menu-overview-card .tag-soft {
  align-self: flex-start;
  margin-bottom: 16px;
  font-size: 0.68rem;
}

.menu-overview-card h2 {
  min-height: 2.25em;
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.menu-overview-page--student-affairs .menu-overview-card h2 {
  font-size: 1.12rem;
  line-height: 1.3;
}

.menu-overview-page--student-affairs .section-head h2 {
  font-size: 1.45rem;
  line-height: 1.3;
}

.menu-overview-card p {
  line-height: 1.6;
}

.menu-overview-card .program-more {
  align-self: flex-start;
  margin-top: 22px;
  margin-top: auto;
}

.menu-overview-card .program-more,
.menu-overview-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.contact-detail-layout {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.contact-info-grid,
.contact-location-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.04);
}

.contact-info-card h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 1.2rem;
}

.contact-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-info-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info-card li {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(196, 23, 31, 0.04);
  color: var(--primary-deep);
}

.contact-info-card li strong {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-card li span,
.contact-info-card li a {
  color: var(--primary-deep);
  font-weight: 600;
  line-height: 1.5;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(196, 23, 31, 0.12);
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.contact-map-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.04);
}

.contact-map-card .menu-detail-map {
  min-height: 100%;
}

.contact-map-card .menu-detail-map iframe {
  min-height: 100%;
  height: 100%;
}

.contact-social-panel {
  display: grid;
}

.contact-social-card {
  min-height: 100%;
}

.menu-social-inline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.menu-social-inline .menu-social-link {
  min-height: 82px;
  padding: 12px 8px;
}

.menu-social-inline .menu-social-link svg {
  width: 24px;
  height: 24px;
}

.menu-social-inline .menu-social-link span {
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .contact-info-grid,
  .contact-location-layout {
    grid-template-columns: 1fr;
  }

  .menu-social-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.menu-overview-card .program-more {
  min-height: 42px;
}

.menu-back-button {
  align-self: flex-start;
  margin-top: 20px;
}

.menu-detail-card > div:not(.menu-detail-map) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-detail-card h1,
.menu-detail-card p {
  overflow-wrap: anywhere;
}

.service-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 20px;
}

.service-detail-actions .btn {
  justify-content: center;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .service-detail-actions {
    gap: 8px;
  }

  .service-detail-actions .btn {
    flex: 1 1 0;
    min-height: 42px;
    padding: 10px 8px;
    font-size: 0.76rem;
    white-space: normal;
  }
}

.menu-detail-card {
  max-width: 980px;
  margin: 0 auto;
  border-color: #c81016 !important;
}

.menu-detail-map {
  min-height: 360px;
  overflow: hidden;
  background: #f5f5f5;
}

.menu-detail-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.menu-entry-section {
  max-width: 1080px;
  margin: 54px auto 0;
}

.menu-social-section {
  max-width: 1080px;
  margin: 54px auto 0;
}

.menu-social-section .section-head {
  margin-bottom: 24px;
}

.menu-social-section .section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.menu-social-section .section-head p {
  margin: 0;
  color: var(--muted);
}

.menu-social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.menu-social-inline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.menu-social-inline .menu-social-link {
  min-height: 92px;
  padding: 12px 8px;
}

.menu-social-inline .menu-social-link svg {
  width: 25px;
  height: 25px;
}

.menu-social-inline .menu-social-link span {
  font-size: 0.76rem;
}

@media (max-width: 520px) {
  .menu-social-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.menu-social-link {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  color: #111111;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.menu-social-link:hover,
.menu-social-link:focus-visible {
  transform: translateY(-4px);
  background: #ffffff;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.1);
}

.menu-social-link svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.menu-social-link span {
  font-weight: 700;
}

.menu-social-link small {
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 800px) {
  .menu-social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .menu-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.campus-map-section {
  max-width: 1080px;
  margin: 54px auto 0;
}

.campus-map-section .section-head {
  margin-bottom: 22px;
}

.campus-map-section .section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.campus-map-section .section-head p {
  margin: 0;
  color: var(--muted);
}

.campus-map-frame {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #f5f5f5;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.06);
}

.campus-map-frame iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.map-external-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: #111111;
  font-weight: 700;
}

@media (max-width: 620px) {
  .campus-map-frame,
  .campus-map-frame iframe {
    min-height: 280px;
    height: 280px;
  }
}

.menu-entry-section .section-head {
  margin-bottom: 24px;
}

.menu-entry-section .section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.menu-entry-section .section-head p {
  margin: 0;
  color: var(--muted);
}

.menu-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.menu-entry-card {
  display: grid;
  grid-template-columns: minmax(150px, 34%) 1fr;
  min-height: 220px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-color: #c81016 !important;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.055);
}

body:not(.admin-shell) .listing-card,
body:not(.admin-shell) .announcement-listing-card,
body:not(.admin-shell) .announcement-detail-card,
body:not(.admin-shell) .news-detail-card,
body:not(.admin-shell) .program-detail-card,
body:not(.admin-shell) .campus-detail-card,
body:not(.admin-shell) .detail-section-card,
body:not(.admin-shell) .detail-info-card,
body:not(.admin-shell) .detail-story-block,
body:not(.admin-shell) .menu-overview-card,
body:not(.admin-shell) .menu-detail-card,
body:not(.admin-shell) .menu-entry-card {
  border-color: #c81016 !important;
}

.menu-entry-image {
  min-height: 220px;
  overflow: hidden;
  background: #f5f5f5;
}

.menu-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-entry-body {
  padding: 22px;
}

.menu-entry-body h3 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.menu-entry-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  white-space: pre-line;
}

@media (max-width: 640px) {
  .topbar .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    width: min(100% - 24px, 1180px);
  }

  .topbar .logo-wrap {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .topbar .mobile-menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    order: initial;
  }

  .topbar .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-height: calc(100dvh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border-radius: 14px;
  }

  .topbar .header-btn {
    grid-column: 1 / -1;
    grid-row: 3;
    order: initial;
    width: 100%;
  }

  .topbar .nav-links .dropdown-item {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .topbar .nav-links .dropdown-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    text-align: left;
    white-space: normal;
  }

  .topbar .nav-links .dropdown-menu,
  .topbar .nav-links .dropdown-menu.menu-grid {
    position: static;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 4px 0 8px;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar .nav-links .dropdown-item:not(.is-open) > .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .topbar .nav-links .dropdown-item.is-open > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topbar .nav-links .dropdown-item.is-open > .dropdown-menu.menu-grid {
    display: grid;
  }

  .topbar .nav-links .menu-group {
    min-width: 0;
  }
}

/* Keep the compact submenu manager sidebar visually aligned with the admin shell. */
.sidebar nav a:not(:has(.nav-icon))[href$="/menu-entries.php"]::before {
  content: "";
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Cpath d='M5 4h14v16H5z'/%3E%3Cpath d='M8 8h8M8 12h6M8 16h8'/%3E%3C/svg%3E");
}

.sidebar nav a:not(:has(.nav-icon))[href$="/admin/agenda.php"]::before {
  content: "";
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.8'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}

@media (max-width: 760px) {
  .menu-entry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .menu-entry-card {
    grid-template-columns: 1fr;
  }

  .menu-entry-image {
    height: 190px;
    min-height: 190px;
  }
}

.menu-overview-page .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.menu-overview-page .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {
  .menu-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .menu-overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .menu-overview-card {
    min-height: 0;
  }

  .menu-overview-card h2 {
    min-height: 0;
  }
}

/* Final public red-line pass: keep red accent while preserving hover motion for service cards. */
.public-service-section,
.public-service-section .service-card,
.service-card,
.home-page .service-card {
  border-color: #c81016 !important;
  box-shadow: 0 12px 22px rgba(112, 34, 44, 0.08) !important;
}

.service-card,
.home-page .service-card {
  border: 1px solid rgba(200, 16, 22, 0.82) !important;
  background: rgba(255, 255, 255, 0.92) !important;
}

.service-card::before,
.home-page .service-card::before {
  opacity: 0.42 !important;
  filter: blur(8px) saturate(0.8) !important;
}

.service-card:hover,
.home-page .service-card:hover,
.service-card:hover .service-action,
.service-card:hover .service-icon,
.home-page .service-card:hover .service-action,
.home-page .service-card:hover .service-icon {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 30px rgba(14, 86, 117, 0.14) !important;
  filter: saturate(1.08) !important;
}

.service-action,
.home-page .service-action,
.service-icon,
.home-page .service-icon {
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08) !important;
}

body:not(.admin-shell) .menu-overview-card,
body:not(.admin-shell) .menu-detail-card,
body:not(.admin-shell) .menu-entry-card,
body:not(.admin-shell) .listing-card,
body:not(.admin-shell) .announcement-listing-card,
body:not(.admin-shell) .announcement-detail-card,
body:not(.admin-shell) .news-detail-card,
body:not(.admin-shell) .program-detail-card,
body:not(.admin-shell) .campus-detail-card,
body:not(.admin-shell) .detail-section-card,
body:not(.admin-shell) .detail-info-card,
body:not(.admin-shell) .detail-story-block {
  border-color: #c81016 !important;
  box-shadow: 0 12px 24px rgba(112, 34, 44, 0.06) !important;
}

.public-form-page {
  background: linear-gradient(135deg, #f1f5f5, #fff8f5);
}

.public-form-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #5f6975;
  font-size: 0.9rem;
}

.public-form-breadcrumb a {
  color: #a50e14;
  font-weight: 600;
}

.integrated-service-hero {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.integrated-service-hero h1 {
  margin: 16px 0 10px;
  color: #26343d;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.integrated-service-hero p {
  margin: 0 auto 20px;
  max-width: 720px;
  color: #59666c;
  font-size: 1.02rem;
  line-height: 1.7;
}

.integrated-service-notice {
  max-width: 980px;
  margin: 0 auto 42px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-left: 4px solid #5d7078;
  border-radius: 12px;
  background: #fff;
  color: #36434a;
}

.integrated-service-notice strong {
  display: block;
  margin-bottom: 5px;
}

.integrated-service-notice p {
  margin: 0;
  color: #59666c;
  line-height: 1.65;
}

.integrated-service-catalog {
  display: grid;
  gap: 42px;
}

.integrated-service-group-heading {
  margin-bottom: 18px;
}

.integrated-service-group-heading h2,
.integrated-service-standards h2 {
  margin: 0 0 7px;
  color: #26343d;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.25;
}

.integrated-service-group-heading p,
.integrated-service-standards > div > p {
  margin: 0;
  color: #59666c;
  line-height: 1.65;
}

.integrated-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.integrated-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.integrated-service-card-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(31, 42, 55, 0.08);
  background: #f7f8f8;
}

.integrated-service-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #43545c;
  font-size: 0.75rem;
  font-weight: 800;
}

.integrated-service-card h3 {
  margin: 0;
  color: #26343d;
  font-size: 1rem;
  line-height: 1.35;
}

.integrated-service-card > p {
  margin: 0;
  padding: 16px 16px 8px;
  color: #59666c;
  font-size: 0.91rem;
  line-height: 1.65;
}

.integrated-service-card > .integrated-service-guidance {
  padding-top: 8px;
  color: #68757b;
  font-size: 0.82rem;
}

.integrated-service-details {
  margin: 6px 16px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 42, 55, 0.09);
  border-radius: 10px;
  background: #f7f8f8;
  color: #46545b;
  font-size: 0.84rem;
}

.integrated-service-details summary {
  font-weight: 700;
  cursor: pointer;
}

.integrated-service-details ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.5;
}

.integrated-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: auto 16px 16px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 10px;
  background: #f2f4f4;
  color: #26343d;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.integrated-service-link:hover {
  background: #e8ecec;
}

.integrated-service-link span {
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.integrated-service-link:hover span {
  transform: translateX(3px);
}

.integrated-service-standards {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 26px;
  align-items: start;
  margin-top: 44px;
  padding: 26px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.06);
}

.integrated-service-standards h2 {
  margin-top: 12px;
}

.integrated-service-contact {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-radius: 12px;
  background: #f3f5f5;
}

.integrated-service-contact h3 {
  margin: 0 0 3px;
  color: #26343d;
  font-size: 1rem;
}

.integrated-service-contact > a {
  color: #36434a;
  overflow-wrap: anywhere;
}

.integrated-service-hours {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 42, 55, 0.1);
  color: #59666c;
  font-size: 0.86rem;
}

.integrated-service-hours strong {
  color: #36434a;
}

.complaint-dashboard {
  display: grid;
  gap: 24px;
}

.complaint-dashboard-heading {
  max-width: 760px;
  margin: 0 auto 4px;
  text-align: center;
}

.complaint-dashboard-heading h1 {
  margin: 14px 0 8px;
  color: #26343d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.complaint-dashboard-heading > p {
  margin: 0 auto 20px;
  color: #59666c;
  font-size: 1rem;
  line-height: 1.65;
}

.complaint-dashboard-year-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  margin: 0 auto 16px;
}

.complaint-dashboard-year-filter label {
  display: block;
  margin: 0;
  color: #47565d;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.complaint-dashboard-year-filter select {
  width: auto;
  min-width: 150px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 9px;
  background: #fff;
  color: #26343d;
  font: inherit;
}

.complaint-dashboard-year-filter .btn {
  min-height: 42px;
  padding: 9px 14px;
}

.complaint-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.complaint-dashboard-metric {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.complaint-dashboard-metric > span {
  color: #59666c;
  font-size: 0.86rem;
  font-weight: 700;
}

.complaint-dashboard-metric strong {
  color: #26343d;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
}

.complaint-dashboard-metric small {
  color: #68757b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.complaint-dashboard-metric--total {
  border-top: 3px solid #475b64;
}

.complaint-dashboard-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.complaint-dashboard-panel--wide {
  grid-column: 1 / -1;
}

.complaint-completion-panel {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 16, 22, 0.055), transparent 34%),
    #fff;
}

.complaint-completion-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #a51b20;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.complaint-completion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.complaint-completion-row {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid rgba(31, 42, 55, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.complaint-completion-row-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.complaint-completion-row-heading strong {
  min-width: 0;
  color: #35424a;
  font-size: 0.85rem;
  line-height: 1.4;
}

.complaint-completion-row-heading span {
  flex: 0 0 auto;
  color: #9b171b;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: right;
}

.complaint-completion-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e9e9;
}

.complaint-completion-track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b171b, #d84a4f);
  transition: width 0.35s ease;
}

.complaint-completion-row small {
  color: #778188;
  font-size: 0.74rem;
}

.complaint-dashboard-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.complaint-dashboard-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.complaint-dashboard-panel-heading h2 {
  margin: 0 0 5px;
  color: #26343d;
  font-size: 1.12rem;
}

.complaint-dashboard-panel-heading p {
  margin: 0;
  color: #68757b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.complaint-dashboard-period {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 999px;
  background: #f3f5f5;
  color: #59666c;
  font-size: 0.72rem;
  font-weight: 700;
}

.complaint-dashboard-chart {
  display: grid;
  gap: 16px;
}

.complaint-dashboard-chart-row {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.complaint-dashboard-chart-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #47565d;
  font-size: 0.84rem;
}

.complaint-dashboard-chart-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.complaint-dashboard-chart-label strong {
  flex: 0 0 auto;
  color: #26343d;
  font-size: 0.9rem;
}

.complaint-dashboard-chart-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f1;
}

.complaint-dashboard-chart-track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: var(--chart-color, #59727c);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--chart-color, #59727c) 35%, transparent);
}

.complaint-dashboard-empty {
  margin: 18px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #f3f5f5;
  color: #59666c;
  font-size: 0.85rem;
}

.complaint-dashboard-note {
  padding: 16px 18px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-left: 3px solid #71838a;
  border-radius: 10px;
  background: #f7f8f8;
  color: #47565d;
}

.complaint-dashboard-note strong {
  display: block;
  margin-bottom: 4px;
}

.complaint-dashboard-note p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.complaint-dashboard-submit {
  display: grid;
  gap: 22px;
}

.complaint-dashboard-submit-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.complaint-dashboard-submit-heading h2 {
  margin: 0 0 6px;
  color: #26343d;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.complaint-dashboard-submit-heading p {
  margin: 0;
  color: #68757b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.complaint-dashboard-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.complaint-dashboard-service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(200, 16, 22, 0.4);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.complaint-dashboard-service-label {
  color: #718087;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.complaint-dashboard-service-card h3 {
  margin: 7px 0;
  color: #26343d;
  font-size: 1.05rem;
  line-height: 1.35;
}

.complaint-dashboard-service-card-copy p {
  margin: 0;
  color: #68757b;
  font-size: 0.82rem;
  line-height: 1.55;
}

.complaint-dashboard-service-resource {
  display: grid;
  justify-items: stretch;
  gap: 9px;
}

.complaint-dashboard-service-qr {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-height: 130px;
  padding: 10px;
  border: 1px dashed #aab7c0;
  border-radius: 10px;
  background: #f8fafb;
  color: #47565d;
  text-align: center;
}

.complaint-dashboard-service-qr img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.complaint-dashboard-service-qr strong {
  color: #26343d;
  font-size: 0.8rem;
}

.complaint-dashboard-service-qr > span {
  color: #68757b;
  font-size: 0.68rem;
  line-height: 1.4;
}

.complaint-dashboard-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 9px;
  background: #f3f5f5;
  color: #26343d;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.complaint-dashboard-service-link:hover {
  background: #e8ecec;
}

.complaint-dashboard-service-link span {
  font-size: 1rem;
}

.complaint-dashboard-qr-mark {
  position: relative;
  width: 76px;
  height: 76px;
  border: 1px solid #cbd5dc;
  border-radius: 5px;
  background:
    linear-gradient(#b8c5cc, #b8c5cc) 8px 8px / 20px 4px no-repeat,
    linear-gradient(#b8c5cc, #b8c5cc) 8px 8px / 4px 20px no-repeat,
    linear-gradient(#b8c5cc, #b8c5cc) calc(100% - 8px) 8px / 20px 4px no-repeat,
    linear-gradient(#b8c5cc, #b8c5cc) calc(100% - 12px) 8px / 4px 20px no-repeat,
    linear-gradient(#b8c5cc, #b8c5cc) 8px calc(100% - 12px) / 20px 4px no-repeat,
    linear-gradient(#b8c5cc, #b8c5cc) 8px calc(100% - 28px) / 4px 20px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 6px, #d3dbe0 6px 10px) 34px 33px / 28px 28px,
    repeating-linear-gradient(0deg, transparent 0 6px, #d3dbe0 6px 10px) 33px 34px / 28px 28px,
    #fff;
}

@media (max-width: 980px) {
  .complaint-dashboard-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .complaint-dashboard-panels {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-dashboard-panel--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .complaint-dashboard {
    gap: 18px;
  }

  .complaint-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .complaint-completion-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-completion-row {
    padding: 13px;
  }

  .complaint-dashboard-metric {
    padding: 14px;
  }

  .complaint-dashboard-panel {
    padding: 16px;
  }

  .complaint-dashboard-submit {
    gap: 18px;
  }

  .complaint-dashboard-year-filter {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
    gap: 7px;
  }

  .complaint-dashboard-year-filter select {
    min-width: 0;
  }

  .complaint-dashboard-year-filter .btn {
    padding-right: 10px;
    padding-left: 10px;
  }

  .complaint-dashboard-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-dashboard-service-card {
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 14px;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .complaint-dashboard-service-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-dashboard-service-qr {
    min-height: 125px;
  }

  .complaint-dashboard-service-link {
    width: 100%;
  }
}

.public-service-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: stretch;
}

.public-service-copy {
  display: flex;
  flex-direction: column;
  padding: 12px 4px;
}

.public-service-copy > .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

.public-service-copy h1 {
  margin: 12px 0 16px;
  color: #1d2b36;
  font-size: 2.5rem;
  line-height: 1.12;
}

.public-service-copy > p {
  color: #4f5b64;
  font-size: 1rem;
}

.public-service-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.public-service-points li {
  position: relative;
  padding-left: 24px;
  color: #34414a;
}

.public-service-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #c81016;
  content: "•";
  font-size: 1.25rem;
  line-height: 1.35;
}

.public-form-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(200, 16, 22, 0.32);
  border-top: 4px solid #c81016;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(31, 42, 55, 0.08);
}

.public-form-panel h2 {
  margin: 6px 0 8px;
  color: #1d2b36;
  font-size: 1.45rem;
  line-height: 1.3;
}

.public-form-panel-head > p {
  margin: 0 0 20px;
  color: #5f6975;
}

.public-service-qr {
  width: fit-content;
  margin: 20px auto 14px;
  padding: 14px;
  border: 1px solid #e1e6e8;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.public-service-qr img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.public-service-app-button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.complaint-intake-form {
  display: grid;
  gap: 16px;
  max-height: 420px;
  margin-top: 22px;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-padding: 18px;
  border: 1px solid #dfe5e8;
  border-radius: 12px;
  background: #f8fafb;
  scrollbar-color: #aeb8bf #eef1f3;
  scrollbar-width: thin;
}

.complaint-form-field label,
.complaint-recap-filter label {
  display: block;
  margin-bottom: 7px;
  color: #263641;
  font-size: 0.92rem;
  font-weight: 700;
}

.complaint-form-field label span {
  color: #b4232b;
}

.complaint-form-field input,
.complaint-form-field select,
.complaint-form-field textarea,
.complaint-recap-filter select,
.complaint-status-form select,
.complaint-status-form textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 8px;
  background: #fff;
  color: #1d2b36;
  font: inherit;
}

.complaint-form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.complaint-form-field input::placeholder,
.complaint-form-field textarea::placeholder,
.complaint-status-form textarea::placeholder {
  color: #87939b;
  opacity: 1;
}

.complaint-form-field input:focus,
.complaint-form-field select:focus,
.complaint-form-field textarea:focus,
.complaint-recap-filter select:focus {
  border-color: #8a651c;
  outline: 3px solid rgba(184, 129, 12, 0.15);
}

.complaint-form-field [aria-invalid="true"] {
  border-color: #b4232b;
}

.complaint-field-error {
  display: block;
  margin-top: 5px;
  color: #a50e14;
}

.complaint-field-hint {
  display: block;
  margin-top: 5px;
  color: #87939b;
}

.complaint-form-notice,
.complaint-form-error-summary,
.complaint-recap-empty {
  margin: 16px 0;
  padding: 14px 16px;
  border: 1px solid #d6e8dc;
  border-radius: 9px;
  background: #f1f8f3;
  color: #205c38;
}

.complaint-issued-ticket {
  display: block;
  margin: 10px 0 6px;
  color: #174d30;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.complaint-track-button {
  display: inline-flex;
  margin: 0 0 16px;
}

.complaint-tracking-page .container {
  max-width: 900px;
}

.complaint-tracking-card {
  margin: 22px 0 40px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #dfe5e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 42, 55, 0.06);
}

.complaint-tracking-card h1 {
  margin: 14px 0 10px;
  color: #263641;
}

.complaint-tracking-card > p {
  color: #596873;
  line-height: 1.65;
}

.complaint-tracking-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 14px;
  margin: 22px 0;
}

.complaint-tracking-form label {
  grid-column: 1 / -1;
  color: #263641;
  font-weight: 700;
}

.complaint-tracking-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 8px;
  background: #f8fafb;
  color: #1d2b36;
  font: inherit;
  letter-spacing: 0.06em;
}

.complaint-tracking-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.complaint-tracking-result {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8ec;
}

.complaint-tracking-result h2 {
  color: #263641;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.complaint-tracking-back {
  display: inline-flex;
  margin-top: 18px;
}

.complaint-rating-panel {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #dfe5e8;
  border-radius: 12px;
  background: #f8fafb;
}

.complaint-rating-panel h2 {
  margin: 0 0 8px;
  color: #263641;
  font-size: 1.15rem;
}

.complaint-rating-panel > p {
  color: #596873;
  line-height: 1.6;
}

.complaint-rating-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.complaint-rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}

.complaint-rating-options legend,
.complaint-rating-form > label {
  width: 100%;
  margin-bottom: 8px;
  color: #263641;
  font-weight: 700;
}

.complaint-rating-options legend span {
  color: #b4232b;
}

.complaint-rating-options label {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 92px;
  padding: 11px 9px;
  border: 1px solid #d5dde2;
  border-radius: 9px;
  background: #fff;
  color: #263641;
  cursor: pointer;
  text-align: center;
}

.complaint-rating-options label:has(input:checked) {
  border-color: #8a651c;
  background: #fbf5e8;
  box-shadow: 0 0 0 2px rgba(138, 101, 28, 0.12);
}

.complaint-rating-options input {
  accent-color: #8a651c;
}

.complaint-rating-options label > span {
  font-size: 1.2rem;
  font-weight: 800;
}

.complaint-rating-options small {
  color: #596873;
}

.complaint-rating-form textarea {
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid #cfd7dc;
  border-radius: 8px;
  background: #fff;
  color: #1d2b36;
  font: inherit;
  resize: vertical;
}

.complaint-rating-thanks {
  margin-top: 16px;
  padding: 14px;
  border-radius: 9px;
  background: #fff;
  color: #205c38;
}

.complaint-rating-thanks p {
  margin-bottom: 0;
  color: #263641;
  overflow-wrap: anywhere;
}

.complaint-form-error-summary {
  border-color: #f0c9ca;
  background: #fff5f5;
  color: #a50e14;
}

.complaint-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.complaint-recap-panel {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.complaint-recap-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
  max-width: 650px;
}

.complaint-recap-filter label {
  grid-column: 1 / -1;
  margin-bottom: -5px;
}

.complaint-recap-filter.complaint-period-filter {
  grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
  width: 100%;
  max-width: none;
}

.complaint-filter-scroll {
  min-width: 0;
  max-width: 100%;
}

.complaint-filter-field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.complaint-period-filter select,
.complaint-period-filter button {
  min-width: 0;
  max-width: 100%;
}

.complaint-period-filter .complaint-filter-field label {
  grid-column: auto;
  margin: 0;
}

.complaint-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.complaint-recap-list {
  display: grid;
  gap: 16px;
}

.complaint-recap-table {
  min-width: 980px;
}

.complaint-status-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5ecd8;
  color: #70500c;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.complaint-detail-main h2 {
  margin: 0 0 14px;
  color: #263641;
  font-size: 1.15rem;
}

.complaint-detail-answers {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.complaint-detail-answers > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ecef;
}

.complaint-detail-answers dt {
  color: #596873;
  font-weight: 700;
}

.complaint-detail-answers dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.complaint-history {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0 0 0 22px;
}

.complaint-history li {
  padding-left: 4px;
}

.complaint-history li > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #263641;
}

.complaint-history time,
.complaint-history small {
  color: #697781;
}

.complaint-history p {
  margin: 7px 0 4px;
  overflow-wrap: anywhere;
}

.complaint-status-form {
  display: grid;
  gap: 9px;
  max-width: 680px;
}

.complaint-status-form label {
  margin-top: 7px;
  color: #263641;
  font-weight: 700;
}

.complaint-status-form textarea {
  min-height: 100px;
  resize: vertical;
}

.complaint-status-form .btn {
  justify-self: start;
  margin-top: 7px;
}

.complaint-delete-form {
  margin: 0 0 24px;
  text-align: right;
}

.complaint-delete-form .btn {
  border: 1px solid #b4232b;
  background: #b4232b;
  color: #fff;
}

.complaint-recap-card {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.05);
}

.complaint-recap-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ecef;
}

.complaint-recap-card h2 {
  margin: 0;
  color: #1d2b36;
  font-size: 1.1rem;
}

.complaint-recap-card time {
  flex: 0 0 auto;
  color: #697781;
  font-size: 0.85rem;
}

.complaint-recap-card dl {
  display: grid;
  gap: 13px;
  margin: 15px 0 0;
}

.complaint-recap-card dl > div {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
}

.complaint-recap-card dt {
  color: #596873;
  font-weight: 700;
}

.complaint-recap-card dd {
  min-width: 0;
  margin: 0;
  color: #263641;
  overflow-wrap: anywhere;
}

.complaint-recap-empty {
  border-color: #e2e8ec;
  background: #fff;
  color: #596873;
}

@media (max-width: 640px) {
  .integrated-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .integrated-service-catalog {
    gap: 32px;
  }

  .integrated-service-notice {
    margin-bottom: 32px;
    padding: 16px;
  }

  .integrated-service-standards {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 32px;
    padding: 18px;
  }

  .complaint-intake-form {
    max-height: 380px;
    padding: 14px;
  }

  .complaint-filter-scroll {
    width: 100%;
  }

  .complaint-recap-filter.complaint-period-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complaint-period-filter .complaint-filter-field label {
    grid-column: auto;
    margin-bottom: 0;
  }

  .complaint-period-filter > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .complaint-export-actions > a {
    flex: 1 1 150px;
    justify-content: center;
    text-align: center;
  }

  .complaint-recap-card header {
    flex-direction: column;
  }

  .complaint-recap-card dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .complaint-detail-answers > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .complaint-tracking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-tracking-form label {
    grid-column: auto;
  }

  .complaint-rating-panel {
    padding: 16px;
  }

  .complaint-rating-options label {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .integrated-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .complaint-recap-panel {
    padding: 12px;
  }

  .complaint-recap-filter.complaint-period-filter {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-period-filter > button {
    grid-column: auto;
  }

  .complaint-export-actions > a {
    flex-basis: 100%;
  }
}

.public-form-panel--sp4n {
  display: flex;
  padding-bottom: 12px;
}

.public-form-panel--sp4n .public-form-panel-head {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.public-form-panel--sp4n .public-service-app-button {
  margin-top: auto;
}

.service-hours-info {
  display: grid;
  grid-template-columns: max-content 12px minmax(0, 1fr);
  gap: 6px 4px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #d9e0e3;
  border-left: 3px solid #596d76;
  border-radius: 8px;
  background: #f7f9f9;
  color: #45545b;
}

.service-hours-info strong {
  grid-column: 1 / -1;
  color: #273942;
}

.service-hours-row {
  display: contents;
}

.service-hours-row > span:first-child {
  white-space: nowrap;
}

.public-form-frame {
  display: block;
  width: 100%;
  height: 420px;
  border: 1px solid #e1e6e8;
  border-radius: 8px;
  background: #fff;
}

.public-form-empty {
  display: grid;
  min-height: 340px;
  padding: 32px;
  place-content: center;
  border: 1px dashed #c8d0d4;
  border-radius: 8px;
  background: #f7f9f9;
  text-align: center;
}

.public-form-empty h3 {
  margin: 0 0 8px;
  color: #26343d;
  font-size: 1.15rem;
}

.public-form-empty p {
  max-width: 420px;
  margin: 0 auto;
  color: #5f6975;
}

.public-form-not-found {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 850px) {
  .public-service-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .public-service-copy {
    padding: 0;
  }
}

.student-affairs-detail-card {
  display: block;
  padding: clamp(20px, 3vw, 36px);
}

.student-affairs-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.student-affairs-visual {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #edf5f2;
  box-shadow: 0 12px 28px rgba(31, 42, 55, 0.08);
}

.student-affairs-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 19 / 11;
}

.student-affairs-heading h1 {
  margin: 14px 0 0;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.student-affairs-content .campus-detail-lead {
  margin: 0 0 24px;
}

.student-affairs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.student-affairs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 16, 22, 0.18);
  border-radius: 16px;
  background: linear-gradient(160deg, #fff 35%, #fff9f7);
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.student-affairs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(31, 42, 55, 0.12);
}

.student-affairs-card-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border-bottom: 1px solid rgba(200, 16, 22, 0.12);
  background: linear-gradient(135deg, rgba(200, 16, 22, 0.08), rgba(255, 245, 241, 0.76));
}

.student-affairs-card-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: #c81016;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 5px 10px rgba(200, 16, 22, 0.2);
}

.student-affairs-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.student-affairs-card-copy {
  padding: 0;
}

.student-affairs-card h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 1.02rem;
  line-height: 1.35;
}

.student-affairs-card p,
.student-affairs-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.student-affairs-card .student-affairs-card-description {
  padding: 16px;
  font-size: 0.9rem;
}

.student-affairs-empty {
  margin-top: 20px;
}

.menu-entry-archive-listing .menu-entry-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.menu-entry-archive-listing .menu-entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-entry-archive-listing .menu-entry-body h3,
.menu-entry-archive-listing .menu-entry-body p {
  margin: 0;
}

.menu-entry-archive-listing .menu-entry-preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.menu-entry-archive-listing .menu-entry-body .btn {
  margin-top: auto;
}

.service-archive-listing .menu-entry-body .btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.78rem;
  line-height: 1.2;
}

.menu-entry-card--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.student-affairs-entry-detail-card {
  display: block;
}

.student-affairs-entry-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.student-affairs-entry-hero img {
  display: block;
  width: 100%;
  max-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.student-affairs-entry-hero--compact img {
  width: min(100%, 440px);
  max-height: 330px;
  aspect-ratio: 4 / 3;
  justify-self: center;
  border-radius: 12px;
}

.menu-overview-page--student-affairs .student-affairs-detail-image {
  width: min(100%, 440px);
  max-height: 330px;
  aspect-ratio: 4 / 3;
  justify-self: center;
  object-fit: cover;
  border-radius: 12px;
}

.student-affairs-entry-heading h1 {
  margin: 14px 0;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.1;
}

.student-affairs-entry-heading .campus-detail-lead {
  margin: 0;
}

.student-affairs-entry-content {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.student-affairs-entry-content h2 {
  margin: 0 0 14px;
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.student-affairs-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .student-affairs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-entry-archive-listing .menu-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .student-affairs-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .student-affairs-visual img {
    aspect-ratio: 4 / 3;
  }

  .student-affairs-entry-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .student-affairs-entry-hero img {
    max-height: none;
  }

  .student-affairs-grid {
    grid-template-columns: 1fr;
  }

  .menu-entry-archive-listing .menu-entry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .public-form-panel {
    padding: 20px;
  }

  .public-service-copy h1 {
    font-size: 2rem;
  }

  .public-form-frame {
    height: 380px;
  }

  .public-form-empty {
    min-height: 280px;
    padding: 24px;
  }
}

.public-service-page .topbar {
  position: sticky !important;
  top: 0;
  z-index: 60;
  background: rgba(255, 232, 234, 0.98) !important;
  border-bottom-color: rgba(200, 16, 22, 0.2) !important;
  box-shadow: 0 8px 22px rgba(112, 34, 44, 0.1) !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.public-service-page .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(200, 16, 22, 0.2) !important;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.12) !important;
}

.public-service-page .topbar .logo-wrap {
  min-width: 0;
  gap: 9px;
}

.public-service-page .topbar .logo-wrap img {
  width: 46px;
  height: 46px;
}

.public-service-page .topbar .brand-text {
  font-size: 1.2rem;
  line-height: 1.1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .public-service-page .topbar .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 42px;
    align-items: center;
    gap: 8px;
    width: min(100% - 24px, 1180px);
    padding: 8px 0;
  }

  .public-service-page .topbar .logo-wrap {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 6px;
  }

  .public-service-page .topbar .logo-wrap img {
    width: 36px;
    height: 36px;
  }

  .public-service-page .topbar .brand-text {
    font-size: 0.82rem;
  }

  .public-service-page .topbar .header-btn {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    min-height: 36px;
    padding: 6px 9px;
    justify-self: end;
    font-size: 0.68rem;
  }

  .public-service-page .topbar .mobile-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  .public-service-page .topbar .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

/* Neutralize decorative red effects across public pages while retaining brand text colors. */
body:not(.admin-shell) .topbar,
body:not(.admin-shell) .dropdown-menu,
body:not(.admin-shell) .mobile-menu-toggle,
body:not(.admin-shell) .program-card,
body:not(.admin-shell) .service-card,
body:not(.admin-shell) .feature-news,
body:not(.admin-shell) .mini-news-item,
body:not(.admin-shell) .announcement-card,
body:not(.admin-shell) .listing-card,
body:not(.admin-shell) .announcement-listing-card,
body:not(.admin-shell) .announcement-detail-card,
body:not(.admin-shell) .news-detail-card,
body:not(.admin-shell) .news-detail-wrap,
body:not(.admin-shell) .program-detail-card,
body:not(.admin-shell) .campus-detail-card,
body:not(.admin-shell) .detail-story-block,
body:not(.admin-shell) .detail-info-card,
body:not(.admin-shell) .detail-section-card,
body:not(.admin-shell) .menu-overview-card,
body:not(.admin-shell) .menu-detail-card,
body:not(.admin-shell) .menu-entry-card,
body:not(.admin-shell) .industry-testimonial-card,
body:not(.admin-shell) .public-service-section,
body:not(.admin-shell) .public-form-panel {
  border-color: rgba(31, 42, 55, 0.12) !important;
  box-shadow: 0 12px 24px rgba(31, 42, 55, 0.07) !important;
}

body:not(.admin-shell) .topbar,
body:not(.admin-shell) .public-service-page .topbar,
body:not(.admin-shell) .public-service-page .topbar.is-scrolled {
  background: rgba(248, 249, 249, 0.96) !important;
  border-color: rgba(31, 42, 55, 0.12) !important;
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.08) !important;
}

body:not(.admin-shell) .topbar .logo-wrap img,
body:not(.admin-shell) .btn,
body:not(.admin-shell) .header-btn,
body:not(.admin-shell) .program-more,
body:not(.admin-shell) .service-action,
body:not(.admin-shell) .more-news,
body:not(.admin-shell) .announcement-view,
body:not(.admin-shell) .announcement-document,
body:not(.admin-shell) .agenda-btn,
body:not(.admin-shell) .pagination-next,
body:not(.admin-shell) .link-btn {
  border-color: rgba(31, 42, 55, 0.14) !important;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.08) !important;
}

body:not(.admin-shell) .btn:hover,
body:not(.admin-shell) .header-btn:hover,
body:not(.admin-shell) .program-more:hover,
body:not(.admin-shell) .service-action:hover,
body:not(.admin-shell) .more-news:hover,
body:not(.admin-shell) .announcement-view:hover,
body:not(.admin-shell) .announcement-document:hover,
body:not(.admin-shell) .agenda-btn:hover,
body:not(.admin-shell) .pagination-next:hover,
body:not(.admin-shell) .link-btn:hover,
body:not(.admin-shell) .dropdown-item:hover > a,
body:not(.admin-shell) .dropdown-item:focus-within > a,
body:not(.admin-shell) .nav-links > a:hover,
body:not(.admin-shell) .nav-links > a.active,
body:not(.admin-shell) .dropdown-menu a:hover,
body:not(.admin-shell) .dropdown-menu a:focus-visible {
  background: rgba(241, 243, 242, 0.94) !important;
  border-color: rgba(31, 42, 55, 0.16) !important;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.09) !important;
}

body:not(.admin-shell) .home-page .profile-list::after,
body:not(.admin-shell) .home-page .profile-list .list-item::after,
body:not(.admin-shell) .home-page .campus-flip-card::after,
body:not(.admin-shell) .home-page .program-card::after,
body:not(.admin-shell) .home-page .feature-news::after,
body:not(.admin-shell) .home-page .mini-news-item::after,
body:not(.admin-shell) .home-page .announcement-card::after,
body:not(.admin-shell) .home-page .industry-testimonial-card::after {
  background: #66727a !important;
}

body:not(.admin-shell) .public-service-page .public-form-page {
  background: linear-gradient(135deg, #f1f3f2, #f8f9f9) !important;
}

body:not(.admin-shell) .public-service-page .public-form-panel {
  border-top-color: rgba(31, 42, 55, 0.36) !important;
}

body:not(.admin-shell) .public-service-page .public-form-breadcrumb a,
body:not(.admin-shell) .public-service-page .public-service-points li::before {
  color: #48545b !important;
}

body:not(.admin-shell) :focus-visible {
  outline-color: rgba(31, 42, 55, 0.36) !important;
}

body.home-page .public-service-section .service-card {
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(200, 16, 22, 0.82) !important;
  box-shadow: 0 12px 24px rgba(31, 42, 55, 0.07) !important;
  backdrop-filter: blur(5px);
}

body.home-page .public-service-section .service-card::before {
  content: none !important;
}

body.home-page .public-service-section .service-icon {
  width: 46px;
  height: 46px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #c81016 !important;
  box-shadow: none !important;
  text-shadow: none;
}

body.home-page .public-service-section .service-icon::after {
  content: none;
}

body.home-page .public-service-section .service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-detail-card.profile-narrative-card {
  display: block;
  max-width: 1080px;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
}

.menu-detail-card.profile-narrative-card > img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 340px);
  max-height: none;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 0;
}

.profile-narrative-copy {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px) clamp(20px, 5vw, 48px) 42px;
}

.profile-narrative-copy > .tag-soft {
  display: inline-flex;
  margin-bottom: 12px;
}

.profile-narrative-copy h1 {
  margin: 0 0 24px;
  color: #1d2b36;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.profile-narrative-body {
  color: #48545b;
  font-size: 1rem;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
}

.profile-narrative-body p {
  margin: 0 0 18px;
  white-space: normal;
}

.profile-narrative-body .profile-narrative-lead {
  margin-bottom: 22px;
  color: #26343d;
  font-size: 1.08rem;
  line-height: 1.75;
}

.profile-vision-block,
.profile-mission-block {
  margin-top: 26px;
}

.profile-narrative-body .profile-vision-block h2,
.profile-narrative-body .profile-mission-block h2 {
  margin: 0 0 12px;
  color: #26343d;
  font-size: 1.25rem;
  line-height: 1.4;
}

.profile-narrative-body .profile-vision-block p,
.profile-narrative-body .profile-mission-block > p {
  margin-bottom: 0;
}

.profile-mission-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 1.65rem;
}

.profile-mission-list li {
  padding-left: 5px;
  line-height: 1.75;
}

.profile-mission-list li::marker {
  color: #111111;
  font-weight: 700;
}

.profile-org-chart-frame {
  margin: 18px 0 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.profile-org-chart-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile-leadership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 26px 0 8px;
  text-align: left;
}

.profile-leader-card {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(31, 42, 55, 0.06);
}

.profile-leader-photo {
  display: grid;
  min-height: 0;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-content: center;
  justify-items: center;
  gap: 10px;
  background: #eef1f2;
  color: #727e84;
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-leader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.profile-leader-photo svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-leader-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 26px;
  text-align: left;
}

@media (max-width: 820px) {
  .profile-leader-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .profile-leader-photo {
    width: min(100%, 220px);
    aspect-ratio: 4 / 5;
    margin: 16px auto 0;
  }

  .profile-leader-copy {
    padding: 18px 22px;
  }
}

.profile-leader-copy h2 {
  margin: 0 0 8px;
  color: #26343d;
  font-size: 1.08rem;
  line-height: 1.35;
  text-align: left;
}

.profile-narrative-body .profile-leader-copy p {
  margin: 0;
  color: #59656b;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.profile-leader-copy .profile-leader-name {
  margin: 0 0 14px;
  color: #37434a;
  font-size: 0.92rem;
  font-weight: 700;
}

.profile-leader-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0 0 16px;
  text-align: left;
}

.profile-leader-facts div {
  min-width: 0;
}

.profile-leader-facts dt {
  margin-bottom: 3px;
  color: #6b777d;
  font-size: 0.72rem;
  font-weight: 700;
}

.profile-leader-facts dd {
  margin: 0;
  color: #37434a;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-staff-directory {
  margin-top: 24px;
  text-align: left;
}

.profile-staff-department + .profile-staff-department {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 42, 55, 0.12);
}

.profile-staff-department-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.profile-staff-department-head h2 {
  margin: 0;
  color: #26343d;
  font-size: 1.15rem;
  line-height: 1.35;
  text-align: left;
}

.profile-staff-department-head > span {
  flex: 0 0 auto;
  color: #6b777d;
  font-size: 0.78rem;
}

.profile-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-staff-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.profile-staff-card[hidden] {
  display: none !important;
}

.profile-staff-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.profile-staff-pagination button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(31, 42, 55, 0.16);
  border-radius: 8px;
  background: #fff;
  color: #26343d;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

.profile-staff-pagination [data-staff-previous] {
  order: 1;
  justify-self: start;
}

.profile-staff-pagination [data-staff-status] {
  order: 2;
  justify-self: center;
  text-align: center;
}

.profile-staff-pagination [data-staff-next] {
  order: 3;
  justify-self: end;
}

.profile-staff-pagination [data-staff-expand] {
  order: 4;
  grid-column: 1 / -1;
  justify-self: end;
}

.profile-staff-pagination button:hover {
  background: #fff1f1;
}

.profile-staff-pagination button:disabled {
  background: #f3f5f6;
  color: #98a3a9;
  cursor: not-allowed;
}

.profile-staff-pagination button:disabled:hover {
  background: #f3f5f6;
}

.profile-staff-pagination button[hidden],
.profile-staff-pagination [data-staff-status][hidden] {
  display: none !important;
}

.profile-staff-pagination [data-staff-status] {
  color: #6b777d;
  font-size: 0.8rem;
}

.profile-staff-photo {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #eef1f2;
  color: #727e84;
  font-size: 0.75rem;
  text-align: center;
}

.profile-staff-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-staff-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #f4f6f6, #e7ebec);
  color: #89949a;
}

.profile-staff-placeholder svg {
  width: 48%;
  max-width: 112px;
  fill: currentColor;
}

.profile-staff-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px;
  text-align: left;
}

.profile-staff-copy h3 {
  min-height: 2.55em;
  margin: 0 0 5px;
  color: #26343d;
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.profile-staff-copy p {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-staff-position {
  min-height: 2.5em;
  color: #48545b;
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-staff-division {
  margin-top: auto !important;
  padding-top: 3px;
  color: #727e84;
  font-size: 0.72rem;
}

.profile-staff-empty {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed rgba(31, 42, 55, 0.2);
  border-radius: 8px;
  color: #6b777d;
  font-size: 0.88rem;
  text-align: left;
}

.profile-facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-facility-card {
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.profile-facility-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef1f2;
}

.profile-facility-copy {
  padding: 16px;
}

.profile-facility-copy h2 {
  margin: 0 0 7px;
  color: #26343d;
  font-size: 1.05rem;
}

.profile-facility-copy p {
  margin: 0;
  color: #59666c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profile-facility-note {
  display: inline-block;
  margin-top: 10px;
  color: #78848a;
  font-size: 0.75rem;
  font-style: italic;
}

.profile-accreditation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-accreditation-card {
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.profile-accreditation-card--institution {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: center;
}

.profile-accreditation-image-link {
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 10;
  padding: 14px;
  background: #f3f5f6;
}

.profile-accreditation-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-accreditation-copy {
  padding: 20px;
}

.profile-accreditation-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #397a70;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-accreditation-copy h2 {
  margin: 0 0 8px;
  color: #26343d;
  font-size: 1.08rem;
  line-height: 1.4;
}

.profile-accreditation-copy p {
  margin: 0;
  color: #59666c;
  font-size: 0.88rem;
  line-height: 1.6;
}

.profile-accreditation-copy .profile-accreditation-validity {
  margin-top: 8px;
  color: #397a70;
  font-weight: 600;
}

.admin-shell .form-grid .form-group[hidden] {
  display: none !important;
}

main.listing-page.contact-menu-page {
  background: linear-gradient(180deg, #f7f8f8 0%, #edf0f1 100%) !important;
}

.contact-menu-page .contact-menu-detail-card {
  display: block !important;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid rgba(31, 42, 55, 0.12) !important;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 42, 55, 0.07) !important;
}

.contact-menu-page .contact-menu-copy {
  width: 100%;
  min-width: 0;
}

.contact-menu-page .contact-menu-detail-card .tag-soft {
  color: #36434a;
  border-color: rgba(31, 42, 55, 0.12);
  background: #eef1f2;
  box-shadow: none;
}

.contact-menu-page .contact-menu-detail-card h1 {
  margin-bottom: 6px;
  color: #26343d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.contact-menu-page .contact-info-grid,
.contact-menu-page .contact-location-layout {
  align-items: stretch;
  gap: 18px;
}

.contact-menu-page .contact-info-grid {
  grid-template-columns: minmax(0, 1fr);
}

.contact-menu-page .contact-location-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
}

.contact-menu-page .contact-info-card {
  min-width: 0;
  min-height: 0;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.contact-menu-page .contact-info-card h2 {
  color: #26343d;
  font-size: 1.15rem;
  line-height: 1.35;
}

.contact-menu-page .contact-info-card p {
  color: #59666c;
  font-size: 0.94rem;
  line-height: 1.65;
}

.contact-menu-page .contact-info-card ul {
  gap: 8px;
  margin-top: 4px;
}

.contact-menu-page .contact-info-card li {
  gap: 5px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(31, 42, 55, 0.08);
  border-radius: 10px;
  background: #f3f5f6;
  color: #36434a;
  overflow-wrap: anywhere;
}

.contact-menu-page .contact-info-card li strong {
  color: #647178;
  letter-spacing: 0;
  text-transform: none;
}

.contact-menu-page .contact-info-card li span,
.contact-menu-page .contact-info-card li a {
  color: #36434a;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-menu-page .contact-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 12px;
  background: #eef1f2;
  color: #48575e;
}

.contact-menu-page .contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-menu-page .contact-unavailable {
  margin-top: auto;
  padding: 12px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 10px;
  background: #f3f5f6;
  color: #59666c;
}

.contact-menu-page .contact-action-link,
.contact-menu-page .contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 10px;
  background: #eef1f2;
  color: #26343d;
  font-weight: 700;
  text-decoration: none;
}

.contact-menu-page .contact-phone-whatsapp-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.contact-menu-page .contact-phone-whatsapp-actions .contact-action-link {
  justify-content: flex-start;
  margin-top: 0;
  padding: 9px 10px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.contact-menu-page .contact-number-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.contact-menu-page .contact-number-label {
  color: #59666c;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-menu-page .contact-support-image {
  display: block;
  width: 100%;
  height: 190px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 52%;
}

.contact-menu-page .contact-primary-heading,
.contact-menu-page .contact-info-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-menu-page .contact-primary-heading .contact-icon,
.contact-menu-page .contact-info-heading .contact-icon {
  flex: 0 0 44px;
}

.contact-menu-page .contact-primary-heading h2,
.contact-menu-page .contact-info-heading h2 {
  margin: 0;
}

/* Align pagination controls consistently across public and admin lists. */
.pagination-controls,
.admin-list-pagination,
.staff-pagination,
.admin-pagination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-width: 0;
  gap: 10px;
  box-sizing: border-box;
}

.pagination-controls .pagination-page-status,
.admin-list-pagination .admin-list-pagination-status,
.staff-pagination .staff-pagination-status,
.admin-pagination .admin-pagination-status {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.pagination-controls .pagination-previous,
.admin-list-pagination > :first-child,
.staff-pagination > :first-child,
.admin-pagination > :first-child {
  grid-column: 1;
  justify-self: start;
}

.pagination-controls > .pagination-next:not(.pagination-previous),
.admin-list-pagination > :last-child,
.staff-pagination > :last-child,
.admin-pagination > :last-child {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 680px) {
  .pagination-controls,
  .admin-list-pagination,
  .staff-pagination,
  .admin-pagination {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .pagination-controls .pagination-page-status,
  .admin-list-pagination .admin-list-pagination-status,
  .staff-pagination .staff-pagination-status,
  .admin-pagination .admin-pagination-status {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .pagination-controls .pagination-previous,
  .admin-list-pagination > :first-child,
  .staff-pagination > :first-child,
  .admin-pagination > :first-child {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .pagination-controls > .pagination-next:not(.pagination-previous),
  .admin-list-pagination > :last-child,
  .staff-pagination > :last-child,
  .admin-pagination > :last-child {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .contact-menu-page .contact-phone-whatsapp-actions {
    grid-template-columns: 1fr;
  }
}

.contact-menu-page .contact-action-link:hover,
.contact-menu-page .contact-map-link:hover {
  background: #e4e8e9;
}

/* Keep news articles in one newspaper-style column with aligned image and text. */
.detail-news-wrap {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 960px);
  margin-inline: auto;
  gap: 20px;
  padding: clamp(18px, 3vw, 34px);
}

.detail-news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.detail-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.detail-news-body {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.detail-news-body h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

.detail-news-body .news-article-content {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.8;
}

.detail-news-body .news-article-content p {
  margin-bottom: 0.7em;
}

body:not(.admin-shell) .detail-news-wrap {
  border: 1px solid #c81016 !important;
  box-shadow: 0 12px 24px rgba(112, 34, 44, 0.07) !important;
}

.contact-menu-page .contact-map-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.05);
}

.contact-menu-page .contact-map-card .menu-detail-map {
  min-height: 320px;
  flex: 1;
  background: #f3f5f6;
}

.contact-menu-page .contact-map-card .menu-detail-map iframe {
  height: 100%;
  min-height: 320px;
}

.contact-menu-page .contact-map-link {
  margin: 14px;
}

.contact-menu-page .contact-social-panel {
  grid-template-columns: minmax(0, 1fr);
}

.contact-menu-page .contact-social-card {
  min-height: 0;
}

.contact-menu-page .menu-social-inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.contact-menu-page .contact-social-channel {
  display: flex;
  min-width: 0;
  min-height: 88px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(31, 42, 55, 0.1);
  border-radius: 12px;
  background: #f7f8f8;
  color: #36434a;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-menu-page .contact-social-channel:hover {
  background: #edf0f1;
}

.contact-menu-page .contact-social-channel.is-unavailable {
  color: #59666c;
}

.contact-menu-page .contact-social-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 9px;
  background: #e5e9ea;
  color: #48575e;
}

.contact-menu-page .contact-social-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-menu-page .contact-social-icon .social-dot {
  fill: currentColor;
  stroke: none;
}

.contact-menu-page .contact-social-channel small {
  color: #68757b;
  font-size: 0.74rem;
  font-weight: 500;
}

.contact-menu-page .menu-back-button {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .contact-menu-page .contact-info-grid,
  .contact-menu-page .contact-location-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-menu-page .menu-social-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-menu-page .contact-map-card .menu-detail-map,
  .contact-menu-page .contact-map-card .menu-detail-map iframe {
    height: 280px;
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .contact-menu-page .contact-menu-detail-card {
    padding: 20px 16px;
  }

  .contact-menu-page .contact-info-card {
    padding: 18px;
  }
}

.program-detail.unit-detail-page {
  background: linear-gradient(180deg, #f7f8f8 0%, #eef1f2 100%) !important;
}

.unit-detail-page .program-detail-card,
.unit-detail-page .unit-content-block {
  border-color: rgba(31, 42, 55, 0.12) !important;
  box-shadow: 0 12px 24px rgba(31, 42, 55, 0.07) !important;
}

.unit-detail-page .program-detail-card {
  align-items: center;
}

.unit-detail-page .detail-image-wrap {
  min-height: 250px;
  display: grid;
  place-items: center;
  background: #fff;
}

.unit-detail-page .detail-image-wrap img {
  width: min(100%, 250px);
  height: 250px;
  padding: 14px;
  object-fit: contain;
  border: 1px solid rgba(40, 96, 107, 0.22);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 0 rgba(40, 96, 107, 0.1), 0 10px 20px rgba(30, 62, 75, 0.12);
}

.unit-detail-page .unit-content-block .detail-story-copy {
  gap: 16px;
}

.unit-detail-page .unit-content-block h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
}

.unit-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.unit-detail-page .unit-content-card {
  height: 100%;
  border-color: rgba(31, 42, 55, 0.12);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 42, 55, 0.045);
}

.unit-detail-page .unit-content-card h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 42, 55, 0.1);
}

@media (max-width: 760px) {
  .unit-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .unit-detail-page .program-detail-card {
    gap: 22px;
    padding: 20px;
  }

  .unit-detail-page .unit-content-block {
    padding: 22px;
  }
}

@media (max-width: 1050px) {
  .profile-staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-facilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-accreditation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .profile-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .profile-facilities-grid {
    gap: 10px;
  }

  .profile-facility-copy {
    padding: 12px;
  }

  .profile-accreditation-card--institution {
    grid-template-columns: 1fr;
  }

  .profile-accreditation-copy {
    padding: 14px;
  }

  .profile-staff-department-head h2 {
    font-size: 1.03rem;
  }

  .profile-staff-copy {
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .profile-facilities-grid {
    grid-template-columns: 1fr;
  }

  .profile-accreditation-grid {
    grid-template-columns: 1fr;
  }

  .profile-accreditation-card--institution {
    grid-column: auto;
  }
}

.profile-narrative-copy .menu-back-button {
  margin-top: 12px;
}

.menu-overview-page--profile .menu-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
}

.menu-overview-page--profile .menu-overview-card {
  min-height: 220px;
  border-radius: 12px;
}

.menu-overview-page--profile .menu-overview-card .listing-card-body {
  padding: 18px;
}

.menu-overview-page--profile .menu-overview-card .tag-soft {
  margin-bottom: 10px;
}

.menu-overview-page--profile .menu-overview-card h2 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.menu-overview-page--profile .menu-overview-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.5;
}

.menu-overview-page--profile .menu-overview-card .program-more {
  min-height: 36px;
  margin-top: auto;
  padding-top: 12px;
}

@media (max-width: 900px) {
  .menu-overview-page--profile .menu-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .menu-overview-page--profile .menu-overview-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .menu-overview-page--profile .menu-overview-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .menu-detail-card.profile-narrative-card {
    border-radius: 14px;
  }

  .menu-detail-card.profile-narrative-card > img {
    height: 210px;
  }

  .profile-narrative-copy {
    padding: 24px 20px 28px;
  }

  .profile-narrative-copy h1 {
    margin-bottom: 18px;
    font-size: 2rem;
  }

  .profile-narrative-body {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .profile-vision-block,
  .profile-mission-block {
    margin-top: 22px;
  }

  .profile-narrative-body .profile-vision-block h2,
  .profile-narrative-body .profile-mission-block h2 {
    font-size: 1.12rem;
  }

  .profile-mission-list {
    gap: 10px;
    padding-left: 1.4rem;
  }

  .profile-org-chart-frame {
    margin: 0 10px;
  }

  .profile-org-chart-frame img {
    width: 720px;
    max-width: none;
  }

  .profile-leadership-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }

  .profile-leader-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-leader-photo {
    width: min(100%, 220px);
    aspect-ratio: 4 / 5;
    margin: 14px auto 0;
    gap: 6px;
    padding: 6px;
    font-size: 0.62rem;
    text-align: center;
  }

  .profile-leader-photo svg {
    width: 40px;
    height: 40px;
  }

  .profile-leader-copy {
    padding: 13px 12px;
  }

  .profile-leader-copy h2 {
    margin-bottom: 6px;
    font-size: 0.94rem;
  }

  .profile-narrative-body .profile-leader-copy p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .profile-leader-copy .profile-leader-name {
    margin-bottom: 10px;
    font-size: 0.82rem;
  }

  .profile-leader-facts {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 11px;
  }

  .profile-leader-facts dt {
    font-size: 0.66rem;
  }

  .profile-leader-facts dd {
    font-size: 0.74rem;
  }

  .profile-org-chart-frame {
    margin: 12px 0 4px;
  }
}

body:not(.admin-shell) :is(
  .campus-flip-card,
  .list-item,
  .unit-card,
  .program-card,
  .feature-news,
  .program-tab-panel,
  .detail-info-card,
  .detail-section-card,
  .unit-content-card,
  .campus-detail-card,
  .program-detail-card,
  .announcement-card,
  .announcement-detail-card,
  .announcement-listing-card,
  .news-detail-card,
  .news-detail-wrap,
  .listing-card,
  .mini-news-item,
  .industry-testimonial-card,
  .service-card,
  .menu-overview-card,
  .menu-detail-card,
  .menu-entry-card,
  .student-affairs-card,
  .student-affairs-detail-card,
  .student-affairs-entry-detail-card,
  .profile-leader-card,
  .profile-staff-card,
  .profile-facility-card,
  .profile-accreditation-card,
  .profile-list,
  .service-survey-panel,
  .public-form-panel,
  .contact-menu-detail-card,
  .contact-info-card,
  .contact-map-card,
  .contact-social-channel,
  .menu-social-link,
  .profile-org-chart-frame
) {
  border: 1px solid rgba(200, 16, 22, 0.82) !important;
}

body:not(.admin-shell) .dropdown-menu a.is-current {
  position: relative;
  background: rgba(241, 243, 242, 0.94) !important;
  color: #26343d !important;
  box-shadow: none !important;
}

body:not(.admin-shell) .dropdown-menu a.is-current::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: #c81016;
  content: "";
}

body.home-page .profile-list::after,
body.home-page .profile-list .list-item::after,
body.home-page .campus-flip-card::after,
body.home-page .program-card::after,
body.home-page .feature-news::after,
body.home-page .mini-news-item::after,
body.home-page .announcement-card::after,
body.home-page .industry-testimonial-card::after {
  content: none !important;
}

body:not(.admin-shell) .dropdown-item.has-current > a,
body:not(.admin-shell) .nav-links > a[aria-current="page"] {
  position: relative;
  background: rgba(241, 243, 242, 0.94) !important;
  color: #c81016 !important;
  box-shadow: none !important;
}

body:not(.admin-shell) .dropdown-item.has-current > a::before,
body:not(.admin-shell) .nav-links > a[aria-current="page"]::before {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: #c81016;
  content: "";
}

.home-page .hero .hero-slider .slide img {
  filter: brightness(1.18) saturate(1.08) contrast(1.02) !important;
}

.home-page .hero .slider-shade {
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.42) 0%, rgba(17, 17, 17, 0.22) 42%, rgba(17, 17, 17, 0.04) 100%);
}

.home-page .hero .hero-actions .btn,
.home-page .hero .hero-actions .btn-primary,
.home-page .hero .hero-actions .btn-secondary {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.home-page .hero .hero-actions .btn:hover,
.home-page .hero .hero-actions .btn:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

.service-menu-page .menu-detail-card h1 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.4vw, 2.3rem);
  line-height: 1.2;
}

.menu-overview-page--student-affairs h1 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.25;
}

.menu-overview-page--student-affairs h2 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.statuta-menu-detail-card {
  display: block !important;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(22px, 3.5vw, 40px);
}

.statuta-archive {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.statuta-archive-intro h2,
.service-survey-panel h2 {
  margin: 0 0 8px;
  color: #26343d;
  font-size: 1.35rem;
  line-height: 1.3;
}

.statuta-archive-intro p,
.service-survey-panel p {
  margin: 0;
  color: #59666c;
  line-height: 1.7;
}

.statuta-archive-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(31, 42, 55, 0.24);
  border-radius: 12px;
  background: #f3f5f6;
  color: #59666c;
}

.statuta-document-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid rgba(200, 16, 22, 0.3);
}

.statuta-document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  align-items: center;
  column-gap: 24px;
  row-gap: 14px;
  padding: 24px 4px;
  border: 0 !important;
  border-bottom: 1px solid rgba(200, 16, 22, 0.3) !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.statuta-document-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.statuta-document-index {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 0;
  border-left: 2px solid #c81016;
  background: transparent;
  color: #c81016;
  font-weight: 800;
}

.statuta-document-heading h3 {
  margin: 0;
  color: #26343d;
  font-size: 1rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.statuta-document-heading p {
  margin: 6px 0 0;
  color: #59666c;
  font-size: 0.88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.statuta-document-actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.statuta-open-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(31, 42, 55, 0.14);
  border-radius: 9px;
  background: #f3f5f6;
  color: #26343d;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.service-survey-panel {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(200, 16, 22, 0.82);
  border-radius: 14px;
  background: #ffffff;
}

.service-survey-panel .service-survey-status {
  padding: 12px;
  border-radius: 10px;
  background: #f3f5f6;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .statuta-menu-detail-card {
    padding: 22px 18px;
  }

  .statuta-document-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 20px 2px;
  }

  .statuta-document-actions {
    grid-column: 1;
  }

}

@media (max-width: 760px) {
  body:not(.admin-shell) .scroll-reveal[data-reveal-direction="left"],
  body:not(.admin-shell) .scroll-reveal[data-reveal-direction="right"] {
    transform: translate3d(0, 18px, 0) scale(0.98);
  }

  body:not(.admin-shell) .scroll-reveal[data-reveal-direction="left"].is-visible,
  body:not(.admin-shell) .scroll-reveal[data-reveal-direction="right"].is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.agenda-listing-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
}

.unit-listing-page .listing-heading {
  max-width: 100%;
}

.unit-listing-page .listing-heading h1 {
  font-size: clamp(1.45rem, 3.1vw, 2.65rem);
  line-height: 1.18;
}

.agenda-listing-page .listing-heading {
  max-width: 100%;
}

.agenda-listing-page .listing-heading h1 {
  white-space: nowrap;
  font-size: clamp(1.8rem, 5vw, 4.8rem);
}

.agenda-listing-card {
  display: grid;
  grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
  min-width: 0;
  min-height: 220px;
  align-items: stretch;
}

.agenda-listing-card .listing-card-image {
  height: auto;
  min-width: 0;
  min-height: 0;
  background: #f3f5f6;
}

.agenda-listing-card .listing-card-image img {
  display: block;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.agenda-listing-card .listing-card-body {
  min-width: 0;
  padding: 20px;
  overflow-wrap: anywhere;
}

.agenda-listing-card .listing-card-body h2 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.agenda-listing-card .listing-card-body p {
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .agenda-listing-card {
    grid-template-columns: minmax(96px, 32%) minmax(0, 1fr);
    min-height: 180px;
  }

  .agenda-listing-card .listing-card-body {
    padding: 14px;
  }

  .agenda-listing-card .listing-card-body h2 {
    font-size: 1rem;
  }

  .agenda-listing-card .listing-card-body p {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}
.menu-overview-image {
  display: block;
  width: 100%;
  height: 168px;
  margin: 0 0 18px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f3f5;
}

.service-survey-website {
  display: inline-flex;
  margin-top: 8px;
  text-decoration: none;
}

/* Keep the home hero sized to the visible screen, like a full-screen feature banner. */
.home-page .hero {
  height: calc(100vh - 81px);
  min-height: 540px;
  padding: clamp(42px, 7vh, 84px) 0;
}

.home-page .program-grid {
  grid-auto-rows: minmax(480px, auto);
}

.home-page .program-thumb {
  aspect-ratio: 16 / 9;
}

.home-page .program-body {
  padding: 16px 18px 18px;
}

.home-page .program-body p {
  line-height: 1.55;
  margin-bottom: 14px;
}

.home-page .program-body .program-more {
  flex-shrink: 0;
  margin-top: auto;
}

.home-page .feature-news-image {
  aspect-ratio: 16 / 8;
}

.home-page .feature-news-body {
  padding: 16px 18px 18px;
}

.home-page .feature-news-body p {
  line-height: 1.55;
  margin-bottom: 16px;
}

.home-page .feature-news-body .btn {
  flex-shrink: 0;
  margin-top: auto;
}

.home-page .mini-news-item {
  grid-template-columns: 138px minmax(0, 1fr);
}

.home-page .mini-news-content h4 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-page .mini-news-content a {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .home-page .mini-news-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .mini-news-thumb {
    aspect-ratio: 16 / 9;
  }
}

@supports (height: 100svh) {
  .home-page .hero {
    height: calc(100svh - 81px);
  }
}

@media (max-width: 640px) {
  .home-page .hero {
    height: calc(100vh - 72px);
    min-height: 500px;
    padding: 44px 0;
  }

  .home-page .hero .hero-slider {
    border-radius: 0;
  }

  .home-page .hero .hero-slider .slide img {
    object-position: center 48%;
  }
}

@supports (height: 100svh) {
  @media (max-width: 640px) {
    .home-page .hero {
      height: calc(100svh - 72px);
    }
  }
}

/* Shared viewport behavior for public and administration pages. */
.container {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 72px)));
}

img,
video,
iframe {
  max-width: 100%;
}

.container,
.section,
.listing-page,
.program-detail,
.campus-detail-page,
.detail-news-wrap,
.menu-detail-card,
.admin-main,
.admin-content {
  min-width: 0;
}

@media (min-width: 641px) and (max-width: 980px) {
  .program-grid,
  .announcement-grid,
  .service-grid,
  .listing-grid,
  .menu-overview-grid,
  .menu-entry-grid,
  .contact-info-grid,
  .unit-content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .listing-page,
  .campus-detail-page,
  .program-detail {
    padding-block: clamp(42px, 6vw, 68px);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  .section,
  .listing-page,
  .campus-detail-page,
  .program-detail {
    padding-block: 40px;
  }

  .program-grid,
  .announcement-grid,
  .service-grid,
  .listing-grid,
  .menu-overview-grid,
  .menu-entry-grid,
  .contact-info-grid,
  .unit-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-news-wrap,
  .program-detail-card,
  .campus-detail-card,
  .menu-detail-card {
    padding: 18px;
  }

  .admin-main,
  .admin-content,
  .admin-page-content {
    max-width: 100%;
  }

  .table-wrap,
  .table-responsive,
  .admin-table-wrap,
  .admin-list-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 20px);
  }

  .detail-news-wrap,
  .program-detail-card,
  .campus-detail-card,
  .menu-detail-card {
    padding: 14px;
  }
}

/* Keep the admin dashboard and its navigation tidy on phones. */
@media (max-width: 640px) {
  .admin-shell {
    min-width: 0;
  }

  .admin-shell > .sidebar {
    min-height: 0;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 59, 77, 0.12);
    box-shadow: 0 8px 20px rgba(25, 59, 77, 0.08);
  }

  .admin-shell > .sidebar .sidebar-brand {
    padding: 2px 4px 12px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark {
    width: 42px;
    height: 42px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .admin-shell > .sidebar .sidebar-user {
    margin: 12px 4px;
  }

  .admin-shell > .sidebar .admin-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 4px;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid rgba(25, 59, 77, 0.1);
    border-radius: 0;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .admin-shell > .sidebar .admin-navigation > a:hover,
  .admin-shell > .sidebar .admin-navigation > a.active {
    transform: none;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon {
    flex: 0 0 18px;
  }

  .admin-main {
    padding: 20px 14px;
  }

  .admin-main .page-header {
    gap: 8px;
    margin-bottom: 16px;
    padding: 15px;
    border-radius: 14px;
  }

  .admin-main .page-header h1 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    overflow-wrap: anywhere;
  }

  .admin-main .page-header .muted {
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .admin-main .grid-stats {
    grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
    gap: 14px;
    margin-bottom: 16px;
  }

  .admin-main .stat-card {
    min-width: 0;
    padding: 17px;
    border-radius: 14px;
  }

  .admin-main .stat-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }

  .admin-main .stat-card .label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }

  .admin-main .stat-card .value {
    margin-top: 6px;
  }

  .admin-main .table-panel {
    min-width: 0;
    padding: 15px;
    border-radius: 14px;
  }

  .admin-main .table-panel h3 {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .admin-main .table-wrap {
    border-radius: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-main .dashboard-table {
    min-width: 640px;
  }

  .admin-main .dashboard-table th,
  .admin-main .dashboard-table td {
    padding: 11px 12px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .admin-main .dashboard-table th {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .admin-main .dashboard-table th:first-child,
  .admin-main .dashboard-table td:first-child {
    width: auto;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .admin-main {
    padding: 16px 10px;
  }

  .admin-main .dashboard-table {
    min-width: 600px;
  }
}

/* Keep the desktop header on one line and fold navigation on narrower screens. */
.topbar .nav {
  flex-wrap: nowrap;
  gap: 10px;
}

.topbar .logo-wrap {
  flex: 0 0 auto;
}

.topbar .header-actions {
  order: 3;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 4px;
}

.topbar .nav-links {
  order: 2;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
}

.topbar .nav-links .dropdown-item {
  flex: 0 1 auto;
}

.topbar .dropdown-item > a {
  padding: 10px 7px;
  font-size: 0.96rem;
}

.topbar .header-actions .header-btn {
  min-width: 98px;
  min-height: 46px;
  padding: 9px 14px;
}

.topbar .nav {
  padding-block: 17px;
  width: min(1480px, calc(100% - clamp(32px, 5vw, 96px)));
}

.topbar .logo-wrap img {
  width: 56px;
  height: 56px;
}

.topbar .brand-text {
  font-size: 1.72rem;
}

.topbar .header-actions .header-btn {
  font-size: 0.98rem;
}

.topbar .header-actions .header-btn-register {
  min-width: 136px;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.9rem;
  background: #b52b31 !important;
  color: #ffffff !important;
  border: 1px solid #9f2026 !important;
  box-shadow: 0 6px 14px rgba(165, 35, 42, 0.22) !important;
  font-weight: 800;
}

.topbar .header-actions .header-btn-register:hover,
.topbar .header-actions .header-btn-register:focus-visible {
  background: #9f2026 !important;
  border-color: #861a1f !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(145, 27, 33, 0.28) !important;
}

@media (min-width: 1201px) {
  .topbar .nav-links .dropdown-menu {
    left: 50%;
    right: auto;
    transform: translate(-50%, 10px);
  }

  .topbar .nav-links .dropdown-item:hover > .dropdown-menu,
  .topbar .nav-links .dropdown-item:focus-within > .dropdown-menu {
    transform: translate(-50%, 0);
  }
}

.topbar .student-affairs-dropdown {
  min-width: 250px;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}

.topbar {
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.42) !important;
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.045) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body:not(.admin-shell) .topbar.is-scrolled,
body:not(.admin-shell) .public-service-page .topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.42) !important;
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.045) !important;
}

@media (max-width: 1280px) and (min-width: 641px) {
  .topbar .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    grid-template-areas: "brand actions toggle" "links links links";
    align-items: center;
    gap: 10px 14px;
    width: min(100% - 32px, 1180px);
    padding-block: 10px;
  }

  .topbar .logo-wrap {
    grid-area: brand;
    min-width: 0;
  }

  .topbar .logo-wrap img {
    width: 48px;
    height: 48px;
  }

  .topbar .brand-text {
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    white-space: nowrap;
  }

  .topbar .mobile-menu-toggle {
    grid-area: toggle;
    display: inline-flex;
    justify-self: end;
  }

  .topbar .header-actions {
    grid-area: actions;
    justify-content: flex-end;
    margin-left: 0;
  }

  .topbar .nav-links {
    grid-area: links;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-height: calc(100dvh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 4px;
    padding: 8px;
    border-radius: 14px;
  }

  .topbar .mobile-menu-control:checked ~ .nav-links {
    display: flex;
  }

  .topbar .nav-links .dropdown-item {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .topbar .nav-links .dropdown-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    text-align: left;
    white-space: normal;
  }

  .topbar .nav-links .dropdown-menu,
  .topbar .nav-links .dropdown-menu.menu-grid {
    position: static;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 4px 0 8px;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar .nav-links .dropdown-item:not(.is-open) > .dropdown-menu {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .topbar .nav-links .dropdown-item.is-open > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topbar .nav-links .dropdown-item.is-open > .dropdown-menu.menu-grid {
    display: grid;
  }

  .topbar .nav-links .menu-group {
    min-width: 0;
  }

  .topbar .nav-links::before,
  .topbar .nav-links::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: sticky;
    top: 0;
  }

  .topbar .nav {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    grid-template-areas: "brand brand brand" "actions . toggle" "links links links";
    gap: 8px 10px;
    padding-block: 8px;
  }

  .topbar .logo-wrap {
    grid-area: brand;
    position: relative;
    width: auto;
    justify-self: center;
    justify-content: center;
    gap: 12px;
    padding-bottom: 8px;
  }

  .topbar .logo-wrap::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: min(420px, calc(100vw - 32px));
    height: 1px;
    background: rgba(181, 43, 49, 0.48);
    content: "";
    transform: translateX(-50%);
  }

  .topbar .logo-wrap img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .topbar .brand-text {
    min-width: 0;
    font-size: clamp(1.1rem, 5vw, 1.35rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  .topbar .mobile-menu-toggle {
    grid-area: toggle;
    order: initial;
  }

  .topbar .nav-links {
    grid-area: links;
    order: initial;
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }

  .topbar .header-actions {
    grid-area: actions;
    order: initial;
    flex: none;
    width: auto;
    justify-self: start;
    justify-content: flex-end;
    margin-left: 0;
  }

  .topbar .header-actions .header-btn {
    flex: 0 0 auto;
    width: auto;
    min-width: 136px;
    max-width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}

.home-page .announcement-card p {
  -webkit-line-clamp: 2 !important;
  line-height: 1.45;
}

.announcement-detail-card {
  max-width: 1100px;
}

.announcement-detail-image {
  height: auto !important;
}

.announcement-detail-body {
  padding: 26px;
}

.announcement-detail-content {
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .announcement-detail-body {
    padding: 20px 18px;
  }
}

.brochure-detail-content {
  width: 100%;
}

.brochure-detail-card {
  max-width: 1200px;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.brochure-detail-content .campus-detail-lead {
  width: 100%;
  max-width: none;
}

.brochure-slider {
  width: 100%;
  max-width: 960px;
  margin: 22px auto 0;
  position: relative;
}

.brochure-slide {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7dee1;
  border-radius: 10px;
  background: #f5f7f8;
  box-shadow: 0 6px 16px rgba(31, 42, 55, 0.08);
}

.brochure-slide[hidden] {
  display: none;
}

.brochure-slide a,
.brochure-scan {
  display: block;
  width: 100%;
}

.brochure-scan {
  height: auto;
  max-height: none;
  object-fit: initial;
}

.brochure-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0;
  padding: 0 12px;
  pointer-events: none;
}

.brochure-slider-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(203, 212, 216, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #344851;
  box-shadow: 0 3px 12px rgba(31, 42, 55, 0.18);
  cursor: pointer;
  pointer-events: auto;
}

.brochure-slider-controls svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brochure-slider-controls button:hover:not(:disabled) {
  background: #f0f4f5;
}

.brochure-slider-controls button:disabled {
  opacity: 0.48;
  cursor: default;
}

@media (max-width: 600px) {
  .brochure-slider-controls {
    padding: 0 8px;
  }

  .brochure-slider-controls button {
    width: 36px;
    height: 36px;
  }
}

.performance-admin-toolbar > .performance-admin-year {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  width: 100%;
}

.performance-admin-toolbar {
  align-items: center;
}

.performance-admin-archive-filters {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.performance-admin-filter-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.performance-admin-filter-field label {
  color: var(--primary-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.performance-admin-filter-field select,
.performance-admin-year-trigger {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 34px 8px 11px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231d2b36' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
}

.performance-admin-filter-field select {
  -webkit-appearance: none;
  appearance: none;
}

.performance-admin-year-picker {
  position: relative;
  min-width: 0;
}

.performance-admin-year-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 11px;
  background-image: none;
  text-align: left;
  cursor: pointer;
}

.performance-admin-year-trigger:hover,
.performance-admin-year-trigger[aria-expanded="true"] {
  border-color: rgba(17, 24, 39, 0.15);
  background-color: #fff;
}

.performance-admin-form .performance-admin-upload-fields #category,
.performance-admin-form .performance-admin-upload-fields .performance-admin-year-trigger {
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
}

.performance-admin-form .performance-admin-upload-fields #category {
  padding-right: 34px;
}

.performance-admin-year-trigger span:last-child {
  width: 16px;
  height: 16px;
  overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231d2b36' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.performance-admin-year-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.16);
}

.performance-admin-year-panel[hidden] {
  display: none;
}

.performance-admin-year-panel-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.performance-admin-year-panel-header span {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.performance-admin-year-panel-header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f7fa;
  color: var(--primary-deep);
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.performance-admin-year-panel-header button:hover:not(:disabled) {
  background: #e9eef5;
}

.performance-admin-year-panel-header button:disabled {
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}

.performance-admin-year-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.performance-admin-year-option {
  min-height: 42px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.performance-admin-year-option:hover {
  background: var(--soft-neutral);
}

.performance-admin-year-option.is-selected {
  background: #fff0f1;
  color: var(--primary-deep);
  font-weight: 700;
}

@media (max-width: 640px) {
  .performance-admin-toolbar > .performance-admin-year {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .performance-admin-filter-field label {
    font-size: 0.85rem;
  }

  .performance-admin-archive-filters {
    gap: 8px;
    padding: 10px;
  }
}

.performance-admin-toolbar {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.performance-admin-tabs {
  gap: 6px;
}

.performance-admin-tabs a {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.78rem;
}

.performance-admin-year {
  gap: 7px;
}

.performance-admin-year label {
  font-size: 0.78rem;
}

.performance-admin-year select,
.performance-admin-year .btn {
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 0.8rem;
}

.performance-admin-form {
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 14px;
}

.performance-admin-form-heading {
  margin-bottom: 12px;
}

.performance-admin-form-heading h2 {
  font-size: 1.08rem;
}

.performance-admin-form .form-grid {
  gap: 12px;
}

.admin-main .performance-admin-form .performance-admin-upload-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-main .performance-admin-form .performance-admin-upload-fields.is-edit-mode {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.performance-admin-form .performance-admin-upload-fields.is-edit-mode .form-group:last-child {
  grid-column: 1 / -1;
}

.performance-admin-form .form-group label {
  margin-bottom: 5px;
}

.performance-admin-form .form-group input {
  min-height: 40px;
}

.performance-admin-form .performance-admin-upload-fields.is-edit-mode .form-group > input:not([type="file"]) {
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.performance-admin-form .performance-admin-upload-fields.is-edit-mode input[type="file"] {
  box-sizing: border-box;
  min-height: 38px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.performance-admin-form .performance-admin-upload-fields.is-edit-mode .performance-admin-year-trigger {
  height: 38px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.performance-admin-current-file {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.performance-admin-current-file a {
  color: var(--primary-deep);
  font-weight: 700;
}

.performance-admin-submit {
  margin-top: 12px;
}

.performance-admin-list-panel {
  margin-top: 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(31, 42, 55, 0.05);
}

.performance-admin-list-panel .performance-table-header {
  align-items: center;
  margin-bottom: 12px;
}

.performance-admin-list-panel .performance-table-header h2 {
  font-size: 1rem;
}

.performance-admin-count {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f7;
  color: #596873;
  font-size: 0.74rem;
  font-weight: 700;
}

.performance-admin-document-list {
  display: grid;
  gap: 9px;
}

.performance-admin-document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e2e8ec;
  border-radius: 11px;
  background: #fff;
}

.performance-admin-document-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.performance-admin-document-number {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #f1f5f7;
  color: #596873;
  font-size: 0.76rem;
  font-weight: 700;
}

.performance-admin-document-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.performance-admin-document-info h3 {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  color: #263641;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-admin-document-meta {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.performance-admin-document-info .performance-doc-status {
  flex: 0 0 auto;
  min-width: 0;
  padding: 3px 8px;
  font-size: 0.66rem;
}

.performance-admin-document-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.performance-admin-document-actions .btn {
  display: inline-flex;
  width: auto;
  min-width: 0;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 0.74rem;
  line-height: 1.2;
}

.performance-admin-document-actions .inline-form {
  display: inline-flex;
  margin: 0;
}

.performance-admin-document-actions .performance-doc-toggle {
  width: 32px;
  height: 32px;
}

@media (max-width: 640px) {
  .admin-main .performance-admin-form .performance-admin-upload-fields.is-edit-mode {
    grid-template-columns: minmax(0, 1fr);
  }

  .performance-admin-toolbar {
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .performance-admin-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
    gap: 6px;
  }

  .performance-admin-tabs a {
    min-height: 34px;
    padding: 6px 8px;
  }

  .performance-admin-year {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: 100%;
  }

  .performance-admin-year select {
    width: 100%;
  }

  .performance-admin-year-panel {
    left: auto;
    right: 0;
  }

  .performance-admin-form,
  .performance-admin-list-panel {
    padding: 14px 12px;
  }

  .performance-admin-document-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding: 12px;
  }

  .performance-admin-document-actions {
    justify-content: flex-start;
    width: 100%;
    padding-left: 41px;
  }
}

@media (max-width: 380px) {
  .performance-admin-year {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .performance-admin-year label {
    grid-column: 1 / -1;
  }

  .performance-admin-year .btn {
    width: 100%;
  }

  .performance-admin-list-panel .performance-table-header {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .admin-shell {
    display: block;
    width: 100%;
    overflow-x: clip;
  }

  .admin-shell > .sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 59, 77, 0.12);
  }

  .admin-shell > .sidebar .sidebar-brand {
    min-width: 0;
    padding: 0;
    border: 0;
  }

  .admin-shell > .sidebar .sidebar-user {
    justify-self: end;
    min-width: 0;
    margin: 0;
  }

  .sidebar-user > div {
    min-width: 0;
  }

  .sidebar-user strong {
    overflow: hidden;
    max-width: 150px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-shell > .sidebar .admin-navigation {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(25, 59, 77, 0.1);
    border-radius: 10px;
    white-space: nowrap;
  }

  .admin-shell > .sidebar .admin-navigation > a:hover,
  .admin-shell > .sidebar .admin-navigation > a.active {
    transform: none;
  }

  .admin-main {
    width: 100%;
    padding: 22px 16px;
  }

  .admin-main .page-header {
    gap: 8px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 14px;
  }

  .admin-main .page-header h1 {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
    overflow-wrap: anywhere;
  }

  .admin-main .grid-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
  }

  .admin-main .stat-card {
    min-width: 0;
    padding: 16px;
    border-radius: 14px;
  }

  .admin-main .dashboard-grid,
  .admin-main .dashboard-column {
    gap: 16px;
  }

  .admin-main .table-panel {
    min-width: 0;
    padding: 16px;
  }

  .admin-main .table-wrap {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 520px) {
  .admin-shell > .sidebar {
    gap: 10px;
    padding: 10px 12px;
  }

  .admin-shell > .sidebar .sidebar-brand {
    gap: 8px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark {
    width: 42px;
    height: 42px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .admin-shell > .sidebar .sidebar-user {
    gap: 8px;
  }

  .sidebar-user strong {
    max-width: 112px;
    font-size: 0.8rem;
  }

  .sidebar-user small {
    font-size: 0.68rem;
  }

  .admin-main {
    padding: 16px 12px;
  }

  .admin-main .page-header {
    padding: 14px;
  }

  .admin-main .page-header .muted {
    overflow-wrap: anywhere;
    font-size: 0.82rem;
  }

  .admin-main .grid-stats {
    gap: 10px;
  }

  .admin-main .stat-card {
    padding: 13px;
  }

  .admin-main .stat-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
  }

  .admin-main .table-panel {
    padding: 14px 12px;
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .admin-shell {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .admin-shell > .sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-self: start;
    width: 82px;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    gap: 10px;
    padding: 10px 6px;
    overflow: hidden;
    border-right: 1px solid rgba(25, 59, 77, 0.12);
    border-bottom: 0;
    box-shadow: 6px 0 18px rgba(25, 59, 77, 0.07);
  }

  .admin-shell > .sidebar .sidebar-brand {
    justify-content: center;
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(25, 59, 77, 0.12);
  }

  .admin-shell > .sidebar .sidebar-brand > div,
  .admin-shell > .sidebar .sidebar-user > div,
  .admin-shell > .sidebar .sidebar-footer {
    display: none;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark {
    width: 44px;
    height: 44px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark img {
    width: 40px;
    height: 40px;
  }

  .admin-shell > .sidebar .sidebar-user {
    justify-content: center;
    margin: 0;
  }

  .admin-shell > .sidebar .admin-navigation {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    min-width: 0;
    padding: 0 0 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 7px 2px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.62rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon svg {
    width: 18px;
    height: 18px;
  }

  .admin-shell > .sidebar .admin-navigation > a:hover,
  .admin-shell > .sidebar .admin-navigation > a.active {
    transform: none;
  }

  .admin-main {
    width: 100%;
    min-width: 0;
    padding: 16px 10px;
  }

  .admin-main > *,
  .admin-main .dashboard-grid,
  .admin-main .dashboard-column,
  .admin-main .page-header,
  .admin-main .form-panel,
  .admin-main .table-panel,
  .admin-main .table-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .admin-main .page-header {
    padding: 13px;
  }

  .admin-main .page-header h1 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .admin-main .grid-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-main .stat-card {
    padding: 12px 10px;
  }

  .admin-main .stat-card .label {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
  }

  .admin-main .table-panel {
    padding: 12px 10px;
  }

  .admin-main .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-main .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 380px) {
  .admin-shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-shell > .sidebar {
    width: 76px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .admin-shell > .sidebar .sidebar-brand {
    gap: 4px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark,
  .admin-shell > .sidebar .sidebar-brand .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .admin-shell > .sidebar .sidebar-toggle {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 6px;
  }

  .admin-main {
    padding-right: 8px;
    padding-left: 8px;
  }

  .admin-main .grid-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

.sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(25, 59, 77, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: #496673;
  font: inherit;
  cursor: pointer;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus-visible {
  background: rgba(222, 243, 245, 0.82);
  color: #146b78;
}

.sidebar-toggle-icon {
  display: flex;
  flex: 0 0 20px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
}

.sidebar-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.admin-shell.is-sidebar-collapsed {
  grid-template-columns: 88px minmax(0, 1fr);
}

.admin-shell.is-sidebar-collapsed > .sidebar {
  align-items: center;
  padding-right: 10px;
  padding-left: 10px;
}

.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand > div,
.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-user,
.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-footer {
  display: none;
}

.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-right: 0;
  padding-left: 0;
  border-bottom: 0;
}

.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark,
.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark img {
  display: flex;
  width: 40px;
  height: 40px;
}

.admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 2px;
  font-size: 0;
  line-height: 0;
}

.admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a .nav-icon,
.admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a .nav-icon svg {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.admin-shell.is-sidebar-collapsed > .sidebar .sidebar-toggle {
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 9px;
}

@media (max-width: 900px) {
  .admin-shell.is-sidebar-collapsed > .sidebar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-toggle {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .admin-shell {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .admin-shell > .sidebar {
    width: 94px;
  }

  .admin-shell > .sidebar .sidebar-brand {
    gap: 6px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark {
    width: 36px;
    height: 36px;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .sidebar-toggle {
    flex: 0 0 auto;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 8px;
  }

  .admin-shell.is-sidebar-collapsed {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .admin-shell.is-sidebar-collapsed > .sidebar {
    display: flex;
    width: 68px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand {
    padding: 0;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-toggle {
    width: 42px;
    min-height: 42px;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a {
    min-height: 42px;
  }
}

@media (max-width: 380px) {
  .admin-shell:not(.is-sidebar-collapsed) {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar {
    width: 76px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar .sidebar-brand {
    gap: 4px;
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar .sidebar-brand .brand-mark,
  .admin-shell:not(.is-sidebar-collapsed) > .sidebar .sidebar-brand .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar .sidebar-toggle {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 6px;
  }
}

.admin-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.admin-shell > .sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}

.admin-shell > .sidebar,
.admin-shell > .sidebar .admin-navigation {
  scrollbar-width: none;
}

.admin-shell > .sidebar::-webkit-scrollbar,
.admin-shell > .sidebar .admin-navigation::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.admin-shell > .admin-main {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}

@media (max-width: 900px) {
  .admin-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .admin-shell > .sidebar {
    display: flex;
    flex-direction: column;
    width: auto;
    padding: 16px 12px;
    border-right: 1px solid rgba(25, 59, 77, 0.12);
    border-bottom: 0;
  }

  .admin-shell > .sidebar .sidebar-brand {
    justify-content: flex-start;
  }

  .admin-shell > .sidebar .sidebar-brand > div,
  .admin-shell > .sidebar .sidebar-user > div {
    display: block;
  }

  .admin-shell > .sidebar .sidebar-user {
    justify-content: flex-start;
    margin: 14px 4px;
  }

  .admin-shell > .sidebar .admin-navigation {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 42px;
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid rgba(25, 59, 77, 0.1);
    border-radius: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon {
    flex: 0 0 22px;
  }

  .admin-shell > .sidebar .sidebar-toggle {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .admin-shell.is-sidebar-collapsed {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-shell.is-sidebar-collapsed > .sidebar {
    align-items: center;
    padding: 12px 8px;
  }

  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .admin-shell {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .admin-shell > .sidebar {
    width: 94px;
    padding: 10px 6px;
    overflow-y: hidden;
  }

  .admin-shell > .sidebar .sidebar-brand {
    justify-content: center;
  }

  .admin-shell > .sidebar .sidebar-user,
  .admin-shell > .sidebar .sidebar-brand > div,
  .admin-shell > .sidebar .sidebar-user > div,
  .admin-shell > .sidebar .sidebar-footer {
    display: none;
  }

  .admin-shell > .sidebar .admin-navigation {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding: 7px 2px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.62rem;
    line-height: 1.2;
    text-align: center;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon {
    flex-basis: auto;
    width: 22px;
    height: 22px;
  }

  .admin-shell > .sidebar .sidebar-toggle {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .admin-shell.is-sidebar-collapsed {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .admin-shell.is-sidebar-collapsed > .sidebar {
    width: 58px;
    padding: 10px 5px;
  }
}

@media (max-width: 380px) {
  .admin-shell:not(.is-sidebar-collapsed) {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar {
    width: 76px;
  }

  .admin-shell:not(.is-sidebar-collapsed) > .sidebar .sidebar-toggle {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    min-height: 32px;
  }
}

/* Keep admin tables within the phone viewport and reveal row details on demand. */
.admin-main table.admin-mobile-table .admin-mobile-expander-cell {
  display: none;
}

.admin-main .admin-action-icon {
  box-sizing: border-box;
  display: inline-grid;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border-radius: 10px;
  line-height: 1;
}

.admin-main .admin-action-icon svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-main .actions {
  min-width: 0;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.admin-main .actions > form,
.admin-main td > form.inline-form {
  display: inline-flex;
  flex: 0 0 auto;
  margin: 0;
}

.admin-main .performance-admin-document-actions {
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 640px) {
  .admin-main .table-wrap,
  .admin-main .table-responsive,
  .admin-main .admin-table-wrap,
  .admin-main .admin-list-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-main table.admin-mobile-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 8px;
  }

  .admin-main table.admin-mobile-table thead {
    display: none;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-empty-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(25, 59, 77, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 59, 77, 0.05);
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-empty-row td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1;
    padding: 14px;
    border: 0;
    color: #667782;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(25, 59, 77, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 59, 77, 0.05);
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row td {
    display: block;
    min-width: 0 !important;
    width: auto !important;
    max-width: none;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 0;
    overflow-wrap: anywhere;
    vertical-align: middle;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row td[data-mobile-summary] {
    grid-column: 1;
    font-weight: 650;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row td[data-mobile-last] {
    grid-column: 2;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row:not(.is-mobile-expanded) td:not([data-mobile-summary]):not([data-mobile-last]):not(.admin-mobile-expander-cell) {
    display: none;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row td.admin-mobile-expander-cell {
    display: block;
    grid-column: 3;
    padding: 6px;
    text-align: center;
  }

  .admin-mobile-expander {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(25, 59, 77, 0.18);
    border-radius: 10px;
    background: #f4f8fa;
    color: #193b4d;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }

  .admin-mobile-expander:focus-visible {
    outline: 3px solid rgba(30, 111, 142, 0.35);
    outline-offset: 2px;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded td:not([colspan]) {
    display: block;
    grid-column: auto;
    border-top: 1px solid rgba(25, 59, 77, 0.08);
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded td:not([colspan]):not(.admin-mobile-expander-cell):not([data-mobile-summary]):not([data-mobile-last]) {
    display: block;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded td[data-mobile-summary] {
    grid-column: 1 / -1;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded td:not([data-mobile-summary]):not(.admin-mobile-expander-cell)::before {
    display: block;
    margin-bottom: 4px;
    color: #667782;
    content: attr(data-mobile-label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row.is-mobile-expanded td.admin-mobile-expander-cell {
    grid-column: 1 / -1;
    justify-self: end;
    padding-top: 4px;
  }

  .admin-main table.admin-mobile-table tbody tr.admin-mobile-row td[colspan] {
    grid-column: 1 / -1;
  }

}

/* Keep archive number, title/year, and status together on every screen size. */
.admin-main .performance-admin-document-card {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 9px 12px;
}

.admin-main .performance-admin-document-heading {
  flex: 1 1 280px;
  width: auto;
  gap: 8px;
}

.admin-main .performance-admin-document-info {
  flex: 1 1 0;
  gap: 7px;
}

.admin-main .performance-admin-document-info h3 {
  flex: 0 1 auto;
  font-size: 0.84rem;
}

.admin-main .performance-admin-document-actions {
  justify-content: flex-start;
  padding-left: 0;
}

@media (max-width: 680px) {
  .admin-main .performance-admin-document-card {
    gap: 9px 12px;
    padding: 10px 11px;
  }

  .admin-main .performance-admin-document-heading {
    flex-basis: 100%;
  }

  .admin-main .performance-admin-document-actions {
    width: 100%;
    padding-left: 38px;
  }
}

.admin-shell {
  font-size: 14px;
}

.sidebar nav > a,
.sidebar-menu-toggle {
  font-size: 0.94em;
}

.admin-main .page-header h1 {
  font-size: clamp(1.45rem, 1.8vw, 2rem);
}

.auth-wrap {
  font-size: 14px;
}

.admin-main .form-panel h3,
.admin-main .table-panel h3 {
  font-size: 1rem;
}

.admin-main .admin-edit-mode .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-main .form-group label,
.admin-main .muted,
.admin-main .btn,
.admin-main .link-btn {
  font-size: 0.94em;
}

.admin-main table {
  font-size: 0.92em;
}

.admin-main .form-panel[hidden] {
  display: none !important;
}

.admin-add-form-toggle {
  margin: 0 0 14px;
}

.admin-shell.admin-edit-open {
  position: relative;
  z-index: 1001;
}

body.admin-edit-open {
  overflow: hidden;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 32, 40, 0.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.admin-main .form-panel:hover,
.admin-main .table-panel:hover {
  transform: none;
}

.edit-user-form {
  z-index: 1002;
  width: min(1040px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
  max-height: min(88vh, 860px);
  max-height: min(88dvh, 860px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 52px 24px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overscroll-behavior: contain;
}

.edit-user-form > label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.edit-user-form > label:has(textarea) {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .admin-main .page-header h1 {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  }

  .admin-main .admin-edit-mode .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .edit-user-form {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 48px 14px 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
}

/* Let long public-facing card copy wrap and grow instead of escaping its grid cell. */
body:not(.admin-shell) .menu-entry-grid,
body:not(.admin-shell) .student-affairs-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-shell) .menu-entry-grid > *,
body:not(.admin-shell) .student-affairs-grid > *,
body:not(.admin-shell) .home-page .program-card,
body:not(.admin-shell) .home-page .feature-news,
body:not(.admin-shell) .home-page .mini-news-item,
body:not(.admin-shell) .home-page .announcement-card,
body:not(.admin-shell) .home-page .service-card,
body:not(.admin-shell) .home-page .industry-testimonial-card,
body:not(.admin-shell) .listing-grid > *,
body:not(.admin-shell) .program-listing-grid > *,
body:not(.admin-shell) .unit-listing-grid > * {
  min-width: 0;
}

body:not(.admin-shell) .menu-entry-card {
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
}

body:not(.admin-shell) .menu-entry-card--no-image {
  grid-template-columns: minmax(0, 1fr);
}

body:not(.admin-shell) .menu-entry-image,
body:not(.admin-shell) .menu-entry-body {
  min-width: 0;
}

body:not(.admin-shell) .menu-entry-body,
body:not(.admin-shell) .menu-entry-body h3,
body:not(.admin-shell) .menu-entry-body p,
body:not(.admin-shell) .student-affairs-card h2,
body:not(.admin-shell) .student-affairs-card-description,
body:not(.admin-shell) .home-page .program-card h3,
body:not(.admin-shell) .home-page .program-card p,
body:not(.admin-shell) .home-page .feature-news-body h3,
body:not(.admin-shell) .home-page .feature-news-body p,
body:not(.admin-shell) .home-page .mini-news-content h4,
body:not(.admin-shell) .home-page .mini-news-content p,
body:not(.admin-shell) .home-page .announcement-card h3,
body:not(.admin-shell) .home-page .announcement-card p,
body:not(.admin-shell) .home-page .industry-testimonial-card h3,
body:not(.admin-shell) .home-page .industry-testimonial-card p,
body:not(.admin-shell) .listing-card-body h2,
body:not(.admin-shell) .listing-card-body p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

body:not(.admin-shell) .menu-entry-body .date-badge {
  max-width: 100%;
  border-radius: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
}

body:not(.admin-shell) .menu-entry-archive-listing .menu-entry-preview {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

@media (max-width: 640px) {
  body:not(.admin-shell) .menu-entry-grid,
  body:not(.admin-shell) .student-affairs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.admin-shell) .menu-entry-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar .nav {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas:
      "brand brand"
      "actions toggle"
      "links links";
    gap: 6px 10px;
    width: calc(100% - 24px);
    padding-block: 8px;
  }

  .topbar .logo-wrap {
    grid-area: brand;
    justify-self: start;
    justify-content: flex-start;
    gap: 9px;
    padding-bottom: 0;
  }

  .topbar .logo-wrap::after {
    display: none;
  }

  .topbar .logo-wrap img {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .topbar .brand-text {
    font-size: clamp(1rem, 4.6vw, 1.2rem);
    line-height: 1.1;
  }

  .topbar .header-actions {
    grid-area: actions;
    justify-self: start;
  }

  .topbar .header-actions .header-btn-register {
    min-width: 136px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .topbar .mobile-menu-toggle {
    grid-area: toggle;
    width: 42px;
    height: 42px;
  }

  .topbar .nav-links {
    grid-area: links;
    max-height: calc(100svh - 116px);
    padding: 8px;
    border-radius: 14px;
  }

  .topbar .nav-links .dropdown-item > a {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .home-page .hero {
    height: auto;
    min-height: clamp(460px, calc(100svh - 112px), 620px);
    padding: clamp(32px, 7svh, 54px) 0;
    box-sizing: border-box;
  }

  .home-page .hero-copy {
    padding-top: 0;
  }

  .home-page .hero-copy h1 {
    max-width: 15ch;
    margin-bottom: 14px;
    font-size: clamp(2rem, 8vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .home-page .hero-copy p:empty {
    display: none;
  }

  .home-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    margin-top: 18px;
  }

  .home-page .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.88rem;
    text-align: center;
  }

  .home-page .section {
    padding: 40px 0;
  }

  .home-page .section > .container {
    width: calc(100% - 28px);
  }

  .home-page .section-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  .home-page .section-head h2 {
    font-size: clamp(1.65rem, 7vw, 1.9rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
  }

  .home-page .section-head p,
  .home-page .section-head .section-description {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .home-page .profile-layout {
    gap: 16px;
  }

  .home-page .profile-list {
    height: auto;
    padding: 12px;
    border-radius: 18px;
  }

  .home-page .profile-list .list-item {
    min-height: 56px;
    margin: 6px 0;
    padding: 14px 12px;
    font-size: 0.92rem;
  }

  .home-page .campus-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .campus-card-label {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 10px 8px;
    font-size: 0.62rem;
  }

  .home-page .program-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
    padding-top: 0;
  }

  .home-page .program-card {
    height: auto;
    min-height: 0;
    border-radius: 18px;
  }

  .home-page .program-body {
    padding: 15px 16px 16px;
  }

  .home-page .program-body h3,
  .home-page .feature-news-body h3 {
    font-size: 1.14rem;
    line-height: 1.3;
  }

  .home-page .program-body p,
  .home-page .feature-news-body p,
  .home-page .mini-news-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .home-page .news-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .home-page .feature-news {
    height: auto;
    border-radius: 18px;
  }

  .home-page .feature-news-image {
    aspect-ratio: 16 / 9;
  }

  .home-page .feature-news-body {
    padding: 15px 16px 16px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .service-card {
    min-height: 132px;
    padding: 12px 10px;
    gap: 9px;
    border-radius: 16px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .home-page .scroll-reveal,
  .home-page .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .site-footer {
    padding: 30px 0 18px;
  }

  .site-footer .container {
    width: calc(100% - 28px);
  }
}

@media (max-width: 360px) {
  .topbar .logo-wrap img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .topbar .brand-text {
    font-size: 0.98rem;
  }

  .topbar .header-actions .header-btn-register {
    min-width: 124px;
    padding-inline: 9px;
    font-size: 0.8rem;
  }

  .home-page .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-shell,
  .admin-shell.is-sidebar-collapsed {
    display: block;
    width: 100%;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    background: #f5f7f9;
  }

  .admin-shell > .sidebar,
  .admin-shell.is-sidebar-collapsed > .sidebar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: auto;
    max-height: 100dvh;
    min-height: 0;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 9px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 59, 77, 0.1);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 18px rgba(25, 59, 77, 0.07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .admin-shell > .sidebar .sidebar-brand,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 0;
    border-bottom: 0;
  }

  .admin-shell > .sidebar .sidebar-brand > div,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand > div {
    display: block;
  }

  .admin-shell > .sidebar .sidebar-brand .brand-mark,
  .admin-shell > .sidebar .sidebar-brand .brand-mark img,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-brand .brand-mark img {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .admin-shell > .sidebar .sidebar-brand strong {
    color: #193b4d;
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .admin-shell > .sidebar .sidebar-brand small {
    color: #66818d;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .admin-shell > .sidebar .sidebar-toggle,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    min-height: 42px;
    margin: 0 0 0 auto;
  }

  .admin-shell > .sidebar .sidebar-user,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-user {
    display: flex;
    flex: 0 0 auto;
    margin: 9px 0 0;
    padding: 9px 2px 0;
    border-top: 1px solid rgba(25, 59, 77, 0.08);
  }

  .admin-shell > .sidebar .sidebar-user > div,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-user > div {
    display: block;
    min-width: 0;
  }

  .admin-shell > .sidebar .sidebar-user strong {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-shell > .sidebar .sidebar-user small {
    font-size: 0.68rem;
  }

  .admin-shell > .sidebar .admin-navigation,
  .admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation {
    display: none;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    max-height: min(56dvh, 420px);
    margin-top: 10px;
    padding: 10px 0 2px;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid rgba(25, 59, 77, 0.08);
  }

  .admin-shell.is-mobile-navigation-open > .sidebar .admin-navigation {
    display: flex;
  }

  .admin-shell > .sidebar .admin-navigation > a,
  .admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a {
    display: flex;
    flex: 1 1 calc(50% - 6px);
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(25, 59, 77, 0.08);
    border-radius: 10px;
    background: rgba(246, 249, 250, 0.9);
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
  }

  .admin-shell > .sidebar .admin-navigation > a .nav-icon,
  .admin-shell.is-sidebar-collapsed > .sidebar .admin-navigation > a .nav-icon {
    display: grid;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-right: 2px;
  }

  .admin-shell > .sidebar .sidebar-footer,
  .admin-shell.is-sidebar-collapsed > .sidebar .sidebar-footer {
    display: none;
  }

  .admin-shell > .admin-main,
  .admin-shell.is-sidebar-collapsed > .admin-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: calc(100dvh - 64px);
    overflow: visible;
    padding: 16px 14px 30px;
  }

  .admin-main .page-header {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding: 15px;
    border-radius: 14px;
  }

  .admin-main .page-header h1 {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .admin-main .page-header .muted {
    font-size: 0.78rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .admin-main .grid-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .admin-main .grid-stats .stat-card {
    min-width: 0;
    min-height: 124px;
    padding: 13px 12px;
    border-radius: 15px;
  }

  .admin-main .grid-stats .stat-card .label {
    font-size: 0.68rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .admin-main .grid-stats .stat-card .value {
    margin-top: 8px;
    font-size: 1.65rem;
  }

  .admin-main .dashboard-grid,
  .admin-main .dashboard-column {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .admin-main .form-panel,
  .admin-main .table-panel,
  .admin-main .dashboard-column > section {
    min-width: 0;
    padding: 15px 12px;
    border-radius: 15px;
  }

  .admin-main .table-panel h3,
  .admin-main .form-panel h3 {
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .admin-main .dashboard-table.admin-mobile-table tbody tr.admin-mobile-row {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .admin-main .dashboard-table.admin-mobile-table tbody tr.admin-mobile-row:not(.is-mobile-expanded) td[data-mobile-last] {
    display: none;
  }

  .admin-main .dashboard-table.admin-mobile-table tbody tr.admin-mobile-row td[data-mobile-summary] {
    padding: 12px;
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .admin-main .form-grid,
  .admin-main .admin-edit-mode .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .admin-main .form-group,
  .admin-main .form-group.full,
  .admin-main .form-group.form-group-full {
    min-width: 0;
    grid-column: 1 / -1;
  }

  .admin-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .admin-main select,
  .admin-main textarea {
    max-width: 100%;
    font-size: 16px;
  }

  .admin-main .table-wrap,
  .admin-main .table-responsive,
  .admin-main .admin-table-wrap,
  .admin-main .admin-list-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-main .actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 360px) {
  .admin-shell:not(.is-sidebar-collapsed) > .sidebar,
  .admin-shell.is-sidebar-collapsed > .sidebar {
    width: 100%;
    padding-right: 11px;
    padding-left: 11px;
  }

  .admin-shell > .sidebar,
  .admin-shell.is-sidebar-collapsed > .sidebar {
    padding-right: 11px;
    padding-left: 11px;
  }

  .admin-main,
  .admin-shell.is-sidebar-collapsed > .admin-main {
    padding-right: 10px;
    padding-left: 10px;
  }

  .admin-main .grid-stats .stat-card {
    padding-right: 9px;
    padding-left: 9px;
  }

  .admin-shell > .sidebar .admin-navigation > a {
    flex-basis: 100%;
  }
}
