/* Shared brand accents and readable administration typography. */
.not-found {
  min-height: 100vh;
  padding: 12vh max(25px, calc((100vw - 1000px) / 2));
  background: var(--paper);
}
.not-found p {
  margin: 25px 0;
}
.not-found .eyebrow {
  color: #ad7329;
}
.admin-sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #506f59 transparent;
}
.sidebar-bottom {
  flex-shrink: 0;
}
.admin-brand {
  flex-shrink: 0;
}
:root {
  --orange: #ed922c;
  --muted: #627164;
}
.btn.orange {
  background: #efaa48;
  color: #193c2d;
}
.btn.orange:hover {
  background: #f5ba65;
}
.hero-copy h1 span {
  color: #f4ce65;
}
.hero-copy .eyebrow i {
  background: var(--orange);
}
.hero-copy {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 104px 24px 96px;
}
.hero-copy > p {
  margin-left: auto;
  margin-right: auto;
}
.site-header {
  border-top: 2px solid #e99433;
}
.site-footer {
  border-top: 3px solid #e99433;
}
.brand > img {
  clip-path: inset(0 0 4% 0);
}
.hero-image::after {
  background: linear-gradient(0deg, #153f3624, transparent 40%);
}
.hero-image > img[src$=".svg"] {
  object-fit: contain;
  background: #e9ede5;
}
.admin-sidebar nav a {
  font-size: 13px;
  min-height: 46px;
}
.nav-section-label {
  font-size: 9px;
}
.school-switch > span:nth-child(2) {
  font-size: 11px;
}
.school-switch small {
  font-size: 10px;
}
.admin-profile > div {
  font-size: 12px;
}
.admin-profile small {
  font-size: 9px;
}
.period-mini > span {
  font-size: 8px;
}
.period-mini small,
.period-mini a {
  font-size: 10px;
}
.sidebar-help,
.back-to-site {
  font-size: 12px;
  min-height: 42px;
}
.admin-eyebrow {
  font-size: 10px;
  color: #687861;
}
.admin-page-heading p {
  font-size: 13px;
  color: #6f7a68;
}
.admin-btn {
  font-size: 12px;
  min-height: 40px;
}
.period-select {
  min-height: 40px;
}
.period-select select {
  font-size: 12px;
}
.admin-overview-metrics > button > span {
  font-size: 12px;
  color: #586a50;
}
.admin-overview-metrics p {
  font-size: 10px;
  color: #718067;
}
.admin-overview-metrics strong {
  font-size: 38px;
}
.admin-overview-metrics small {
  font-size: 8px;
}
.admin-attention strong {
  font-size: 12px;
  color: #6a5727;
}
.admin-attention p {
  font-size: 11px;
  color: #84713e;
}
.admin-attention > button {
  font-size: 11px;
  color: #6f5927;
}
.panel-title h2 {
  font-size: 16px;
}
.panel-title p {
  font-size: 11px;
  color: #74816b;
}
.panel-title > a {
  font-size: 11px;
}
.admin-status-tabs {
  gap: 18px;
}
.admin-status-tabs > button {
  font-size: 11px;
  color: #6a7861;
  min-height: 46px;
}
.admin-status-tabs > button > span {
  font-size: 9px;
  color: #637854;
}
.admin-search {
  min-height: 39px;
}
.admin-search input {
  font-size: 11px;
  min-height: 37px;
}
.admin-search input::placeholder {
  color: #7b8a6f;
}
.program-filter {
  min-height: 39px;
}
.program-filter select {
  font-size: 11px;
}
.admin-table {
  min-width: 630px;
}
.admin-table th {
  font-size: 10px;
  color: #5d7150;
}
.admin-table td {
  font-size: 11px;
}
.student-name {
  font-size: 12px;
  color: #354d2d;
}
.student-name small {
  font-size: 9px;
  color: #738569;
}
.student-avatar {
  width: 32px;
  height: 32px;
  font-size: 10px;
}
.admin-table .status-tag {
  font-size: 10px;
}
.program-chip {
  font-size: 9px;
  color: #657d52;
}
.date-cell {
  font-size: 10px !important;
  color: #697d5c !important;
}
.table-pagination {
  font-size: 10px;
  color: #6d805f;
}
.quota-overview .panel-title h2 {
  font-size: 14px;
}
.quota-overview > p {
  font-size: 10px;
  color: #708363;
}
.quota-line > div:first-child {
  font-size: 11px;
}
.quota-line strong {
  color: #536e44;
}
.quota-line small {
  color: #7c8e6e;
}
.quota-line {
  margin-top: 21px;
}
.all-programs {
  font-size: 11px;
  color: #607b4f;
}
.admin-note .admin-eyebrow {
  font-size: 9px;
  color: #72875f;
}
.admin-note h3 {
  font-size: 18px;
  color: #3f5c32;
}
.admin-note p {
  font-size: 11px;
  color: #70875c;
}
.admin-note a {
  font-size: 11px;
  color: #527438;
}
.admin-lower .panel-title h2,
.quick-admin h2 {
  font-size: 15px;
}
.activity-row > p {
  font-size: 11px;
  color: #6d8060;
}
.activity-row small {
  font-size: 10px;
  color: #7e906f;
}
.activity-row time {
  font-size: 10px;
  color: #7b906b;
}
.quick-admin a {
  font-size: 12px;
  color: #506b3f;
}
.quick-admin a small {
  font-size: 10px;
  color: #748b62;
}
.admin-footer {
  font-size: 10px;
  color: #718363;
}
.admin-footer button {
  font-size: 10px;
  color: #5f7c4b;
}
.admin-surface .field > span {
  color: #526d42;
}
.admin-surface > .sample-note {
  color: #6c825a;
}
.content-admin-list .admin-eyebrow {
  color: #70875d;
}
.quota-program-list p {
  color: #748d60;
}
.quota-program-list label {
  font-size: 11px;
  color: #6c855a;
}
.remaining-quota small {
  color: #778f65;
}
.settings-toggle small {
  color: #6e865b;
}
.settings-media input {
  font-size: 11px;
}
.admin-topbar > div:first-child,
.admin-topbar strong {
  font-size: 12px;
}
.preview-badge {
  font-size: 10px;
}
.admin-brand .brand small {
  color: #bccfbf;
}
.nav-count {
  font-size: 10px;
}

/* ==========================================================================
   BERANDA: HEADER TRANSPARAN GAYA PAWN (PILL CAPSULE CTA & CLEAN NAV)
   ========================================================================== */
.site-header.home-header {
  margin-bottom: -92px;
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  box-shadow: none;
  transition:
    background-color 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.site-header.home-header.scrolled {
  background: #ffffff;
  border-bottom-color: var(--line);
  color: var(--ink);
  box-shadow: 0 4px 20px -2px rgba(15, 41, 30, 0.08);
}

/* Brand Logo & Teks */
.home-header:not(.scrolled) .brand > span:last-child {
  color: #ffffff;
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.home-header:not(.scrolled) .brand small {
  color: #e2f5dc;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.home-header:not(.scrolled) .brand-symbol {
  border-color: #ffffffbb;
  color: #ffffff;
}

/* Menu Navigasi Centered & Bersih Khas Pawn */
.home-header:not(.scrolled) .nav-links > a:not(.btn),
.home-header:not(.scrolled) .nav-dropdown > button {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 650;
  font-size: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.home-header:not(.scrolled) .nav-links > a:not(.btn):hover,
.home-header:not(.scrolled) .nav-dropdown > button:hover {
  color: #dbe7cc;
}

/* Indikator Menu Aktif: Hijau Natural */
.home-header:not(.scrolled) .nav-links > a:not(.btn)::after {
  background: #9ec476;
  height: 3px;
  border-radius: 9999px;
  bottom: 5px;
}

.home-header:not(.scrolled) .menu-toggle {
  color: #ffffff;
}

/* Tombol CTA Kapsul (Pill Shape) — Natural Botanical Green (Tanpa Neon) */
.home-header:not(.scrolled) .nav-links > .btn.orange,
.home-header .btn.orange {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 9999px !important;
  padding: 10px 22px !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  box-shadow: 0 4px 16px rgba(15, 38, 22, 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.home-header:not(.scrolled) .nav-links > .btn.orange:hover,
.home-header .btn.orange:hover {
  background: #2e5420 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px rgba(15, 38, 22, 0.35) !important;
}

.home-header .dropdown-menu {
  color: var(--ink);
}

/* ==========================================================================
   HERO DENGAN FOTO SEKOLAH ASLI (TANPA GRADASI PUTIH DI BAWAH)
   - Foto sekolah tetap nyata di background belakang
   - Tanpa gradasi kabut putih di bawah
   - Tipografi rounded ramah & tebal (Outfit / Plus Jakarta Sans)
   - Aksen coretan tangan & bintang hijau jeruk nipis
   ========================================================================== */
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(620px, calc(100svh - 40px), 920px);
  background: #092017;
  color: white;
  overflow: hidden;
}

/* Foto Sekolah Nyata di Background Belakang */
.home-hero .hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero .hero-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

/* Overlay Kontras Alami: Menjaga Foto Sekolah Jelas & Nyata, TANPA Gradasi Putih di Bawah */
.home-hero .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 22, 16, 0.58) 0%,
    rgba(6, 22, 16, 0.35) 35%,
    rgba(6, 22, 16, 0.48) 68%,
    rgba(6, 22, 16, 0.62) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Aksen Ilustrasi Minimalis Latar Belakang (Doodle Layer) */
.hero-doodle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Doodle Bintang Minimalis */
.hero-star-doodle {
  position: absolute;
  animation: doodle-star-float 4.2s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.star-top-left {
  top: 135px;
  left: 10%;
  width: 24px;
  height: 24px;
  animation-delay: 0s;
}

.star-top-right {
  top: 155px;
  right: 11%;
  width: 22px;
  height: 22px;
  animation-delay: 1.4s;
}

.star-mid-right {
  top: 52%;
  right: 12%;
  width: 20px;
  height: 20px;
  animation-delay: 2.1s;
}

.star-bottom-left {
  bottom: 80px;
  left: 11%;
  width: 22px;
  height: 22px;
  animation-delay: 0.8s;
}

/* Ray Bursts / Sinar Minimalis Khas Pawn */
.hero-ray-burst {
  position: absolute;
  width: 36px;
  height: 28px;
  opacity: 0.9;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  animation: doodle-ray-pulse 3.5s ease-in-out infinite;
}

.burst-left {
  top: 29%;
  left: 20%;
}

.burst-right {
  top: 27%;
  right: 20%;
  animation-delay: 1.7s;
}

@keyframes doodle-ray-pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

@keyframes doodle-star-float {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-7px) rotate(8deg) scale(1.08); }
}

/* Layout Asli Konten: Centered */
.home-hero .hero-dark {
  position: relative;
  width: min(1240px, calc(100% - 112px));
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.home-hero .hero-copy {
  width: min(100%, 940px);
  padding: clamp(150px, 19vh, 215px) 24px clamp(85px, 11vh, 125px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Judul: Warm & Friendly Typography (Outfit / Plus Jakarta Sans 850) */
.hero-title-container {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.home-hero .hero-main-title,
.home-hero .hero-copy h1 {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #ffffff;
  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Garis Coretan Tangan (Hand-drawn Doodle Underline Hijau Jeruk Nipis) */
.hero-squiggle-doodle {
  display: block;
  width: clamp(210px, 28vw, 320px);
  height: 14px;
  margin-top: 8px;
  overflow: visible;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* Paragraf Deskripsi Centered */
.home-hero .hero-copy > p {
  max-width: 680px;
  margin: 22px auto 0;
  color: #f1f5f3;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.72;
  font-weight: 450;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

/* Animasi Reveal */
.home-hero [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE HERO (LAYOUT ASLI 100% PRESERVED)
   ========================================================================== */
@media (max-width: 1100px) {
  .home-hero .hero-dark {
    width: calc(100% - 64px);
  }
  .home-hero .hero-copy {
    padding-inline: 20px;
  }
}

@media (max-width: 700px) {
  .site-header.home-header {
    margin-bottom: -75px;
  }
  .home-hero {
    min-height: max(580px, calc(100svh - 53px));
  }
  .home-hero .hero-dark {
    width: calc(100% - 40px);
  }
  .home-hero .hero-copy {
    padding: clamp(140px, 20vh, 180px) 0 85px;
  }
  .home-hero .hero-main-title,
  .home-hero .hero-copy h1 {
    font-size: clamp(30px, 7.8vw, 42px);
  }
  .hero-squiggle-doodle {
    width: 200px;
    height: 12px;
  }
  .home-hero .hero-copy > p {
    font-size: 14.5px;
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .site-header.home-header {
    margin-bottom: -72px;
  }
  .home-hero .hero-copy {
    padding: 135px 0 75px;
  }
}

/* Final responsive hardening. Keep every layout inside the viewport. */
html,
body {
  max-width: 100%;
}
html {
  overflow-x: hidden;
}
img,
svg,
video,
canvas {
  max-width: 100%;
}
button,
input,
select,
textarea {
  max-width: 100%;
}
.wrap {
  min-width: 0;
}.section-head > *, .section-head > div, .contact-layout > *, .admissions-grid > *, .registration-layout > *, .program-detail-body > *, .news-detail-layout > *, .footer-grid > * {
  min-width: 0;
}.news-carousel, .staff-rail, .staff-directory, .filter-tabs {
  overscroll-behavior-inline: contain;
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .navigation {
    gap: 16px;
  }
  .nav-links {
    gap: 15px;
  }
  .home-hero .hero-dark {
    width: calc(100% - 64px);
  }
  .home-hero .hero-copy {
    padding-inline: 20px;
  }
  .contact-layout,
  .admissions-grid,
  .student-layout {
    gap: 48px;
  }
  .program-detail-body {
    gap: 48px;
  }
  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 1020px) {
  .site-header {
    position: sticky;
  }
  .site-header.home-header {
    margin-bottom: -78px;
  }
  .navigation {
    min-height: 78px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    max-height: calc(100svh - 78px);
    overflow-y: auto;
    padding: 18px 32px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #17352315;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links > a,
  .nav-dropdown > button {
    min-height: 48px;
    padding: 14px 0;
    font-size: 14px;
  }
  .nav-links > .btn {
    margin-top: 12px;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    margin: 4px 0 10px;
    box-shadow: none;
    border: 0;
    background: var(--paper);
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(38px, 6vw, 58px);
  }
  .welcome-section,
  .contact-layout,
  .status-layout,
  .student-layout {
    gap: 38px;
  }
  .news-list-grid {
    grid-template-columns: 1fr;
  }
  .news-card.is-horizontal .news-image {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 48px;
  }
  .preview-strip .wrap,
  .utility-bar .wrap {
    width: calc(100% - 24px);
  }
  .preview-strip .wrap {
    gap: 10px;
  }
  .preview-strip span,
  .preview-strip a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .utility-bar .wrap {
    min-height: 29px;
  }
  .navigation {
    min-height: 72px;
  }
  .site-header.home-header {
    margin-bottom: -72px;
  }
  .nav-links {
    max-height: calc(100svh - 72px);
    padding-inline: 20px;
  }
  .brand {
    min-width: 0;
  }
  .brand > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand small {
    white-space: normal;
  }
  .home-hero {
    min-height: max(620px, calc(100svh - 53px));
  }
  .home-hero .hero-dark {
    width: calc(100% - 40px);
  }
  .home-hero .hero-copy {
    padding: clamp(150px, 20vh, 190px) 0 84px;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
    letter-spacing: -1.5px;
  }
  .home-hero .hero-copy > p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
  .welcome-section {
    gap: 42px;
  }
  .welcome-card-stack,
  .welcome-gallery-meta {
    width: 100%;
  }
  .welcome-copy h2 {
    font-size: clamp(28px, 7vw, 36px);
  }
  .vision-mission-panel p,
  .vision-mission-panel li {
    font-size: 15px;
  }
  .staff-heading,
  .extracurricular-heading,
  .facilities-preview-heading {
    width: 100%;
  }
  .staff-heading-link {
    white-space: normal;
  }.extracurricular-grid {
    grid-template-columns: 1fr;
  }
  .extracurricular-card-title {
    font-size: 15px;
  }
  .ppdb-quota-section {
    width: calc(100% - 40px);
    overflow: hidden;
  }
  .ppdb-quota-section h2 {
    font-size: 28px;
  }
  .ppdb-quota-table {
    min-width: 0;
  }
  .ppdb-quota-table th,
  .ppdb-quota-table td {
    padding-inline: 8px;
    overflow-wrap: anywhere;
  }
  .ppdb-quota-table tbody th {
    font-size: 13px;
  }
  .ppdb-quota-table td strong {
    font-size: 20px;
  }
  .ppdb-quota-note {
    text-align: left;
    line-height: 1.6;
  }
  .news-section-heading p {
    font-size: 14px;
  }
  .news-carousel {
    gap: 16px;
    margin-top: 18px;
  }
  .news-carousel-item {
    flex-basis: 88%;
  }
  .news-list-page.section,
  .news-detail-layout.section {
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .news-list-header {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .news-category-select select {
    width: 100%;
  }
  .news-card.is-horizontal .news-card-link {
    display: flex;
  }
  .news-card.is-horizontal .news-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 13px 13px 0 0;
  }
  .news-card.is-horizontal h2 {
    font-size: 20px;
  }
  .news-detail-layout {
    gap: 32px;
  }
  .news-article h1 {
    font-size: 30px;
  }
  .news-article-body {
    font-size: 16px;
  }
  .page-intro h1 {
    overflow-wrap: anywhere;
  }.program-detail-hero .wrap, .program-detail-body, .contact-layout, .requirements, .faq-section, .admissions-grid, .registration-layout, .status-layout, .student-layout {
    grid-template-columns: 1fr;
  }.program-detail-body, .contact-layout, .admissions-grid, .registration-layout {
    gap: 32px;
  }.fields-grid, .review-section dl, .receipt-codes, .receipt-data {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .registration-head,
  .form-actions,
  .receipt-buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .registration-panel,
  .lookup-form,
  .contact-form,
  .admission-info,
  .payment-instructions {
    padding: 20px;
  }
  .form-progress {
    margin-inline: -20px;
  }
  .form-actions > div {
    flex-wrap: wrap;
  }
  .form-actions .btn {
    flex: 1 1 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .modal {
    width: calc(100% - 24px);
    max-height: 92svh;
  }
  .modal-heading {
    padding: 15px 19px;
  }
  .toast {
    right: 15px;
    left: 15px;
    width: auto;
    max-width: none;
    transform: none;
  }
  .admin-topbar {
    gap: 12px;
  }.admin-table-scroll {
    max-width: 100%;
    overflow-x: auto;
  }
  .admin-table {
    min-width: 630px;
  }
}

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

@media (max-width: 420px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .home-hero .hero-dark {
    width: calc(100% - 32px);
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(28px, 8.2vw, 34px);
  }
  .welcome-slider-controls button {
    width: 40px;
    height: 40px;
  }
  .ppdb-quota-section {
    width: calc(100% - 32px);
  }
  .ppdb-quota-table th,
  .ppdb-quota-table td {
    padding-inline: 5px;
  }
  .ppdb-quota-table tbody th {
    font-size: 12px;
  }
  .news-carousel-item {
    flex-basis: 94%;
  }
  .news-card-copy {
    padding: 15px;
  }
  .news-article-metadata {
    font-size: 12px;
  }
  .receipt-buttons .btn,
  .form-actions .btn {
    width: 100%;
  }
}

.requirements-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.requirements-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 14px;
}
.requirements-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
@media (prefers-reduced-motion: reduce) {
  .home-hero [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}body:has(.home-hero) .school-life {
  display: none !important;
}
.programs-page h1 {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 44px;
}

.programs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.programs-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.programs-card-image { aspect-ratio: 16 / 9; overflow: hidden; }
.programs-card-image img { width: 100%; height: 100%; object-fit: cover; }
.programs-card-image .catalog-image-placeholder { width: 100%; height: 100%; }
.programs-card h2 { font-size: 20px; line-height: 1.5; text-align: center; padding: 28px 20px; margin: 0; }
@media (max-width: 1020px) { .programs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .programs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
/* Detail program: fakta jadwal/kuota/lokasi, foto kegiatan, dan highlight berita. */
/* Detail program: keseimbangan tinggi kolom kiri (narasi) dan kanan (aside).
   Grid memakai stretch; konten kanan dibiarkan mengikuti tinggi kiri. */
.program-detail-body { align-items: stretch; }
.program-detail-body > aside { align-self: stretch; display: flex; flex-direction: column; }
.program-detail-body > aside > .program-news-highlight { display: flex; flex-direction: column; flex: 1; }
.program-news-highlight .news-sidebar-group { flex: 1; }

/* Detail program: narasi jurusan, tujuan, kompetensi, dan karier.
   Spasi dirapatkan agar kedua kolom seimbang tingginya. */
.program-about {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}
.program-subheading {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.4;
}
.program-subheading:first-child { margin-top: 0; }
.program-points {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink);
}
.program-points li + li { margin-top: 2px; }
.program-points li::marker { color: var(--green); }
.program-event-photo {
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--green-light);
}
.program-event-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.program-event-photo figcaption {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
}
.program-event-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 9;
  margin: 0 0 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
}
/* Detail program: highlight berita memakai kartu sidebar berita (news.css).
   Proporsi dirapikan di konteks halaman ini saja — /berita tetap utuh. */
.program-news-highlight { margin: 0 0 12px; }
.program-news-highlight .news-sidebar-group { padding: 18px; display: flex; flex-direction: column; }
.program-news-highlight .news-sidebar-group h2 { font-size: 18px; }
.program-news-highlight .news-heading-accent { margin: 9px 0 4px; }
.program-news-highlight .news-sidebar-row {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 11px;
  padding-block: 15px;
}
.program-news-highlight .news-sidebar-row:first-of-type { padding-top: 8px; }
.program-news-highlight .news-sidebar-row:last-of-type { padding-bottom: 4px; }
.program-news-highlight .news-sidebar-row .news-image { border-radius: 6px; }
.program-news-highlight .news-sidebar-row .news-image-placeholder span { font-size: 6.5px; }
.program-news-highlight .news-sidebar-row h3 { font-size: 12.5px; line-height: 1.4; }
.program-news-highlight .news-sidebar-row time { font-size: 10px; }
.program-news-highlight .news-demo-label { font-size: 9px; margin-top: 2px; }
.program-news-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--green);
  text-decoration: none;
}
.program-news-all:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
}
/* Kartu fasilitas: satu kartu berisi foto + judul + deskripsi, ukuran kartu
   ekstrakurikuler, kotak terangkat + foto zoom saat hover, tanpa tautan. */
.facilities-page .programs-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 22px;
}
.facility-card {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.facility-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 16px 32px rgba(16, 40, 34, .16);
}
.facility-card .programs-card-image {
  aspect-ratio: 4 / 3;
}
.facility-card .programs-card-image img {
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
.facility-card:hover .programs-card-image img {
  transform: scale(1.06);
}
.facility-card h2 {
  padding: 14px 18px 0;
  font-size: 17px;
  text-align: left;
}
.facility-card p.facility-card-summary {
  margin: 0;
  padding: 6px 18px 18px;
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  color: var(--muted);
}
@media (max-width: 1020px) { .facilities-page .programs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .facility-card,
  .facility-card .programs-card-image img { transition: none; }
  .facility-card:hover { transform: none; }
}
.welcome-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 5.5vw, 90px);
  align-items: start;
  padding-block: clamp(76px, 8vw, 110px);
}
.welcome-card-stack {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1.28;
  isolation: isolate;
}
.welcome-card {
  position: absolute;
  top: 6px;
  left: 0;
  width: 56%;
  margin: 0;
  z-index: 2;
  transition:
    transform 950ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 950ms ease,
    filter 950ms ease;
}
.welcome-card:last-child {
  right: 0;
  left: auto;
}
.welcome-card.is-behind {
  z-index: 1;
  opacity: 0.9;
  filter: saturate(0.85);
  transform: translateY(16px) scale(0.96);
}
.welcome-card.is-active {
  box-shadow: 0 11px 26px #12372d17;
}
.welcome-card-stack.is-single .welcome-card {
  left: 22%;
  right: auto;
}
.welcome-card-stack.is-multi .welcome-card {
  left: 22%;
  right: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.94);
}
.welcome-card-stack.is-multi .welcome-card.is-before {
  z-index: 1;
  opacity: 0.82;
  transform: translateX(-38%) translateY(16px) scale(0.94);
}
.welcome-card-stack.is-multi .welcome-card.is-after {
  z-index: 1;
  opacity: 0.82;
  transform: translateX(38%) translateY(16px) scale(0.94);
}
.welcome-card-stack.is-multi .welcome-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.welcome-portrait-frame {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}
.welcome-portrait-placeholder,
.staff-person-placeholder,
.extracurricular-photo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #829589;
}
.welcome-portrait-placeholder span,
.staff-person-placeholder span,
.extracurricular-photo-placeholder span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.welcome-gallery-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 430px);
  margin-top: 20px;
}
.welcome-active-person {
  display: grid;
  gap: 2px;
  min-height: 76px;
  animation: fade-up 0.5s both;
}
.welcome-slide-number {
  color: #a26a28;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.welcome-active-person strong {
  color: var(--ink);
  font: 750 17px/1.35 var(--heading);
}
.welcome-active-person > span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.welcome-slider-controls {
  display: flex;
  gap: 8px;
}
.welcome-slider-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green-dark);
}
.welcome-copy-slides {
  display: grid;
}
.welcome-copy-slide {
  grid-area: 1/1;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 400ms ease,
    transform 400ms ease,
    visibility 0s 400ms;
}
.welcome-copy-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}
.welcome-copy h2 {
  max-width: 590px;
  color: var(--green-dark);
  font-size: clamp(30px, 2.8vw, 40px);
}
.welcome-message {
  margin-top: 30px;
}
.welcome-message p,
.welcome-signoff {
  font-size: 14px;
  line-height: 1.85;
}
.welcome-signoff {
  margin-top: 28px;
}
.welcome-gallery,
.welcome-copy {
  opacity: 0;
  transform: translateY(25px);
}
.welcome-gallery.is-visible,
.welcome-copy.is-visible {
  animation: welcome-rise 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes welcome-rise {
  to {
    opacity: 1;
    transform: none;
  }
}
.vision-mission {
  background: var(--paper);
}
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vision-mission-panel:first-child {
  padding-right: clamp(32px, 4vw, 64px);
}
.vision-mission-panel + .vision-mission-panel {
  border-left: 1px solid #d7dfd6;
  padding-left: clamp(32px, 4vw, 64px);
}
.vision-mission h2 {
  color: var(--green-dark);
  font-size: clamp(36px, 4vw, 54px);
}
.vision-mission-panel p {
  max-width: 450px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.85;
}
.vision-mission-panel ol {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: mission;
}
.vision-mission-panel li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid #dfe5dd;
  font-size: 16px;
  line-height: 1.7;
  counter-increment: mission;
}
.vision-mission-panel li:before {
  content: counter(mission, decimal-leading-zero);
  color: #8f7149;
  font-size: 10px;
  font-weight: 700;
}
.staff-section,
.facilities-preview {
  overflow: hidden;
  background: #fff;
}
.staff-heading,
.extracurricular-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.staff-heading h2,
.extracurricular-heading h2,
.facilities-preview-heading h2 {
  color: var(--green-dark);
  font-size: clamp(32px, 3.5vw, 48px);
}
.staff-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #b5c6b9;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.staff-rail {
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.staff-track {
  display: flex;
  gap: 18px;
  width: max-content;
  min-width: 100%;
}
.staff-person {
  flex: none;
  width: 176px;
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  display: flex;
  flex-direction: column;
}
.staff-person:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}
.staff-person-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border: none;
  background: #ffffff;
  border-radius: 14px 14px 0 0;
}
.staff-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  transition: transform 0.4s ease;
}
.staff-person:hover .staff-person-photo img {
  transform: scale(1.04);
}
.staff-person figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px 14px;
  text-align: center;
}
.staff-person figcaption strong {
  color: #111827;
  font: 700 13.5px/1.4 var(--heading);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}
.staff-person figcaption span {
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
}
.staff-more {
  display: flex;
  flex: none;
  width: 176px;
  height: auto;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  color: var(--green-dark);
  text-decoration: none;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.staff-more:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}
.staff-more span {
  font: 750 16px/1.4 var(--heading);
}
.extracurricular-preview {
  background: var(--paper);
}
.extracurricular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.extracurricular-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: var(--green-dark);
  text-decoration: none;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}
.extracurricular-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.1);
}
.extracurricular-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  border: none;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
}
.extracurricular-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  transition: transform 0.4s ease;
}
.extracurricular-card:hover .extracurricular-photo img {
  transform: scale(1.04);
}
.extracurricular-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
  font: 750 17px/1.4 var(--heading);
  color: #111827;
}
.extracurricular-card p {
  padding: 6px 18px 18px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b7280;
}
.facilities-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}
@media (max-width: 900px) {
  .extracurricular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .welcome-section,
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .welcome-gallery,
  .welcome-copy {
    width: min(100%, 430px);
    margin-inline: auto;
  }
  .vision-mission-panel + .vision-mission-panel {
    margin-top: 40px;
    padding: 40px 0 0;
    border-left: 0;
    border-top: 1px solid #d7dfd6;
  }
  .staff-heading,
  .extracurricular-heading,
  .facilities-preview-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .staff-person,
  .staff-more {
    width: 150px;
  }
  .staff-more {
    height: 188px;
  }
  .extracurricular-grid {
    gap: 27px 14px;
  }
  .extracurricular-card-title {
    font-size: 15px;
  }
}

/* Kuota PPDB: samakan tabel beranda dengan desain asli. */
.facilities-preview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}
.facilities-preview-heading h2 {
  grid-column: 2;
  font-weight: 800;
  text-align: center;
}
.facilities-preview-heading .staff-heading-link {
  grid-column: 3;
  justify-self: end;
}
@media (max-width: 900px) {
  .facilities-preview-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* Consistent scale: avoid oversized hero and typography at common viewport sizes. */
.section {
  padding-block: clamp(48px, 6.2vw, 82px);
}
.welcome-section {
  padding-block: clamp(58px, 7vw, 94px);
}
.page-intro h1 {
  font-size: clamp(34px, 4vw, 49px);
}
h1 {
  font-size: clamp(34px, 4vw, 58px);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
}

@media (min-width: 1500px) {
  .wrap {
    width: min(1240px, calc(100% - 144px));
  }
}
@media (max-width: 1100px) {
  .home-hero {
    min-height: clamp(540px, 72svh, 700px);
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(38px, 5.5vw, 54px);
  }
  .section {
    padding-block: clamp(46px, 6vw, 66px);
  }
  .section-head {
    gap: 22px;
  }
  .welcome-section {
    gap: clamp(28px, 4vw, 42px);
  }
}
@media (max-width: 700px) {
  .home-hero {
    min-height: clamp(540px, 76svh, 660px);
  }
  .home-hero .hero-copy {
    padding-top: clamp(122px, 18svh, 155px);
    padding-bottom: 66px;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(29px, 7.4vw, 38px);
    line-height: 1.18;
  }
  .home-hero .hero-copy > p {
    max-width: 520px;
    margin-top: 20px;
    font-size: 14px;
  }
  .section {
    padding-block: 44px;
  }
  .welcome-section {
    padding-block: 56px;
  }
  .section-head {
    margin-bottom: 25px;
  }
  .page-intro {
    padding-block: 20px 34px;
  }
  .page-intro h1 {
    font-size: clamp(30px, 7vw, 36px);
    letter-spacing: -1.2px;
  }.program-detail-body h2, .contact-layout h2 {
    font-size: clamp(26px, 6.5vw, 32px);
  }
  .news-section-heading h2,
  .staff-heading h2,
  .extracurricular-heading h2,
  .facilities-preview-heading h2 {
    font-size: clamp(28px, 7vw, 36px);
  }
}
@media (max-width: 420px) {
  .home-hero {
    min-height: clamp(520px, 74svh, 610px);
  }
  .home-hero .hero-copy {
    padding-top: 128px;
    padding-bottom: 54px;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(28px, 7.5vw, 32px);
  }
  .section {
    padding-block: 38px;
  }
  .welcome-section {
    padding-block: 48px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .section-head h2 {
    font-size: 27px;
  }
}
.ppdb-quota-section {
  max-width: 1120px;
}
.ppdb-quota-section h2 {
  margin-bottom: 38px;
  color: var(--green-dark);
  font-size: clamp(28px, 3vw, 40px);
  text-align: center;
}
.ppdb-quota-subtitle {
  margin: -22px 0 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.ppdb-quota-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ppdb-quota-table th,
.ppdb-quota-table td {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}
.ppdb-quota-table thead th {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ppdb-quota-table th:first-child {
  width: 74%;
  text-align: left;
}
.ppdb-quota-table th:last-child,
.ppdb-quota-table td {
  text-align: right;
}
.ppdb-quota-table tbody th {
  color: var(--green-dark);
  font: 700 17px/1.5 var(--heading);
}
.ppdb-quota-table td strong {
  color: var(--green-dark);
  font: 750 24px/1 var(--heading);
  font-variant-numeric: tabular-nums;
}
.ppdb-quota-table td span,
.ppdb-quota-note {
  color: var(--muted);
  font-size: 12px;
}
.ppdb-quota-note {
  margin-top: 18px;
  text-align: right;
}
@media (max-width: 700px) {
  .ppdb-quota-section h2 {
    margin-bottom: 26px;
  }
  .ppdb-quota-table th,
  .ppdb-quota-table td {
    padding: 16px 8px;
  }
  .ppdb-quota-table th:first-child {
    width: auto;
  }
  .ppdb-quota-table th:last-child,
  .ppdb-quota-table td {
    width: 1%;
    white-space: nowrap;
  }
  .ppdb-quota-table tbody th {
    font-size: 14px;
    white-space: normal;
  }
  .ppdb-quota-table td strong {
    font-size: 20px;
  }
  .ppdb-quota-table td span {
    display: inline-block;
    white-space: nowrap;
    word-break: keep-all;
    margin-top: 3px;
  }
}
@media (max-width: 1200px) and (min-width: 801px) {
  .admin-status-tabs > button {
    font-size: 10px;
  }
  .admin-heading-actions .admin-btn {
    font-size: 11px;
  }
  .admin-overview-metrics > button > span {
    font-size: 11px;
  }
  .admin-overview-metrics p {
    font-size: 9px;
  }
  .overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .overview-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .admin-note {
    margin-top: 0;
  }
  .admin-table .date-cell,
  .admin-table th:nth-last-child(2) {
    display: table-cell;
  }
}
@media (max-width: 700px) {
  .hero-image {
    min-height: 290px;
  }
  .hero-image > img[src$=".svg"] {
    object-fit: cover;
  }
  .admin-main {
    padding-top: 24px;
  }
  .admin-page-heading p {
    font-size: 12px;
  }
  .admin-status-tabs > button {
    font-size: 11px;
  }
  .admin-overview-metrics > button > span {
    font-size: 11px;
  }
  .admin-overview-metrics strong {
    font-size: 34px;
  }
  .admin-overview-metrics p {
    font-size: 10px;
  }
  .admin-overview-metrics small {
    font-size: 7px;
  }
  .panel-title h2 {
    font-size: 15px;
  }
  .panel-title p {
    font-size: 10px;
  }
  .admin-attention strong {
    font-size: 11px;
  }
  .admin-attention p {
    font-size: 10px;
  }
  .panel-title > a {
    font-size: 10px;
  }
  .admin-filter-toolbar input {
    font-size: 12px;
  }
  .admin-footer {
    font-size: 9px;
  }
  .admin-table .status-tag {
    font-size: 10px;
  }
  .table-pagination {
    font-size: 10px;
  }
  .admin-eyebrow {
    font-size: 9px;
  }
  .period-select select {
    font-size: 11px;
  }
  .preview-badge {
    font-size: 9px;
  }
}

/* Last-in-file scale overrides (match the original generous home composition). */
.staff-page {
  padding-top: clamp(38px, 5vw, 64px);
}
.staff-page h1 {
  margin: 0 0 34px;
  color: var(--green-dark);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  text-align: center;
}
.staff-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 32px 18px;
}
.staff-directory .staff-person {
  width: 100%;
}
.extracurricular-page-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.extracurricular-page-heading h1 {
  color: var(--green-dark);
  font-size: clamp(38px, 4.2vw, 54px);
}
.extracurricular-page-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.extracurricular-page .extracurricular-grid {
  row-gap: 36px;
}
.facilities-page .extracurricular-page-heading {
  margin-bottom: 42px;
}
.facilities-page .extracurricular-page-heading,
.extracurricular-page:not(.extracurricular-detail)
  .extracurricular-page-heading {
  text-align: center;
}
.facilities-page .extracurricular-page-heading h1,
.extracurricular-page:not(.extracurricular-detail)
  .extracurricular-page-heading
  h1 {
  margin-inline: auto;
}
.home-hero {
  min-height: clamp(620px, calc(100svh - 60px), 900px);
}
.home-hero .hero-copy {
  padding-top: clamp(170px, 22vh, 245px);
  padding-bottom: clamp(90px, 12vh, 120px);
}
.home-hero .hero-copy h1 {
  font-size: clamp(42px, 4.8vw, 68px);
}
.home-hero .hero-copy > p {
  font-size: clamp(15px, 1.25vw, 18px);
}
.section {
  padding-block: clamp(58px, 7vw, 90px);
}
.welcome-section {
  padding-block: clamp(76px, 8vw, 110px);
}
.page-intro h1 {
  font-size: clamp(36px, 4.3vw, 52px);
}
h1 {
  font-size: clamp(36px, 4.3vw, 62px);
}
h2 {
  font-size: clamp(30px, 3.2vw, 43px);
}
@media (min-width: 1500px) {
  .wrap {
    width: min(1240px, calc(100% - 144px));
  }
}
@media (max-width: 1100px) {
  .home-hero {
    min-height: clamp(600px, 82svh, 780px);
  }
  .home-hero .hero-copy {
    padding-top: clamp(165px, 21vh, 220px);
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(42px, 5.5vw, 60px);
  }
  .section {
    padding-block: clamp(54px, 6.5vw, 72px);
  }
  .section-head {
    gap: 22px;
  }
  .welcome-section {
    gap: clamp(28px, 4vw, 42px);
  }
}
@media (max-width: 700px) {
  .home-hero {
    min-height: max(680px, calc(100svh - 53px));
  }
  .home-hero .hero-copy {
    padding-top: clamp(150px, 21vh, 190px);
    padding-bottom: 90px;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.2;
  }
  .home-hero .hero-copy > p {
    max-width: 520px;
    margin-top: 22px;
    font-size: 14px;
  }
  .section {
    padding-block: 48px;
  }
  .welcome-section {
    padding-block: 70px;
  }
  .section-head {
    margin-bottom: 25px;
  }
  .page-intro {
    padding-block: 20px 34px;
  }
  .page-intro h1 {
    font-size: clamp(30px, 7vw, 36px);
    letter-spacing: -1.2px;
  }
  .staff-page {
    padding-top: 38px;
  }
  .staff-page h1 {
    margin-bottom: 28px;
    font-size: clamp(32px, 7vw, 42px);
  }
  .extracurricular-page-heading {
    margin-bottom: 32px;
  }
  .extracurricular-page-heading h1 {
    font-size: clamp(34px, 8vw, 42px);
  }
  .extracurricular-page .extracurricular-grid {
    row-gap: 28px;
  }
  .staff-directory {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x proximity;
  }
  .staff-directory .staff-person {
    flex: 0 0 43%;
    width: auto;
    scroll-snap-align: start;
  }.program-detail-body h2, .contact-layout h2 {
    font-size: clamp(26px, 6.5vw, 32px);
  }
  .news-section-heading h2,
  .staff-heading h2,
  .extracurricular-heading h2,
  .facilities-preview-heading h2 {
    font-size: clamp(28px, 7vw, 36px);
  }
}
@media (max-width: 420px) {
  .home-hero {
    min-height: max(660px, calc(100svh - 53px));
  }
  .home-hero .hero-copy {
    padding-top: clamp(145px, 20vh, 180px);
    padding-bottom: 78px;
  }
  .home-hero .hero-copy h1 {
    font-size: clamp(29px, 8vw, 36px);
  }
  .section {
    padding-block: 42px;
  }
  .welcome-section {
    padding-block: 60px;
  }
  .page-intro h1 {
    font-size: 30px;
  }
  .section-head h2 {
    font-size: 27px;
  }
}
/* Foto yang dikelola dari admin mengikuti bingkai konten yang sudah ada. */
.welcome-portrait-frame > .site-content-image,
.staff-person-photo > .site-content-image,
.extracurricular-photo > .site-content-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-image-placeholder,
.program-detail-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  background: #ffffff;
  color: #64748b;
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .04em;
}
.program-detail-image-placeholder {
  min-height: 415px;
  background: #244d40;
  color: #cbdacf;
}
@media (max-width: 700px) {
  .programs-card-image .catalog-image-placeholder { min-height: 0; }
  .catalog-image-placeholder { min-height: 120px; }
  .program-detail-image-placeholder { min-height: 240px; }
}
/* Mobile: force dropdown menu text to black for readability. */
@media (max-width: 1020px) {
  .home-header:not(.scrolled) .nav-links > a:not(.btn),
  .home-header:not(.scrolled) .nav-dropdown > button {
    color: var(--ink);
  }
}

/* Detail program: hierarchy yang lebih tenang dan proporsi konten yang lebih seimbang. */
.program-detail-hero {
  padding-block: clamp(48px, 6vw, 78px);
}
.program-detail-hero .wrap {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
  gap: clamp(42px, 5vw, 72px);
}
.program-detail-hero .breadcrumb {
  margin-bottom: 48px;
}
.program-detail-hero .eyebrow {
  margin-bottom: 16px;
  color: #f4cf62;
}
.program-detail-hero h1 {
  max-width: 590px;
  font-size: clamp(42px, 4vw, 54px);
  line-height: 1.08;
}
.program-detail-hero p {
  max-width: 500px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.75;
}
.program-detail-hero img,
.program-detail-image-placeholder {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.program-detail-image-placeholder {
  border: 1px solid #4f7464;
}
.program-detail-body {
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  gap: clamp(56px, 8vw, 124px);
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: clamp(78px, 9vw, 124px);
}
.program-detail-copy {
  min-width: 0;
}
.program-detail-heading {
  max-width: 620px;
  padding-bottom: 34px;
  border-bottom: 3px solid var(--accent);
}
.program-section-kicker {
  display: block;
  margin-bottom: 15px;
  color: #a45e17;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.program-detail-heading h2 {
  color: var(--green-dark);
  font-size: clamp(30px, 3.2vw, 45px);
  line-height: 1.12;
}
.program-subheading {
  color: var(--green-dark);
  font-size: 20px;
}
.program-detail-heading + .program-subheading {
  margin-top: 36px;
}
.program-about {
  max-width: 690px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
}
.program-purpose {
  margin-top: 34px;
  padding: 25px 28px 27px;
  background: var(--paper);
  border-left: 4px solid var(--green);
}
.program-purpose .program-subheading {
  margin-top: 0;
}
.program-purpose .program-about {
  color: var(--ink);
}
.program-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.program-focus-block {
  min-width: 0;
  padding-top: 20px;
  border-top: 2px solid #dce6de;
}
.program-focus-block .program-subheading {
  margin-top: 0;
  font-size: 18px;
}
.program-points {
  margin-top: 11px;
  padding-left: 19px;
  font-size: 14px;
  line-height: 1.8;
}
.program-points li + li {
  margin-top: 6px;
}
.program-detail-body > aside {
  padding: 0;
  background: transparent;
  border-top: 0;
}
.program-event-photo,
.program-event-photo-placeholder {
  margin-bottom: 26px;
  border-radius: 0;
}
.program-event-photo-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--green-light);
  border: 0;
}
.program-event-photo figcaption {
  padding: 12px 0 0;
  font-size: 11px;
}
.program-news-highlight .news-sidebar-group {
  padding: 25px 26px 20px;
  border: 0;
  border-top: 4px solid var(--green);
  border-radius: 0;
  background: var(--paper);
}
.program-news-highlight .news-sidebar-group h2 {
  color: var(--green-dark);
  font-size: 24px;
}
.program-news-highlight .news-heading-accent {
  width: 52px;
  height: 3px;
  margin: 12px 0 7px;
  border-radius: 0;
}
.program-news-highlight .news-sidebar-row {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 15px;
  padding-block: 18px;
}
.program-news-highlight .news-sidebar-row h3 {
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.45;
}
.program-news-highlight .news-sidebar-row .news-image {
  border-radius: 0;
}
.program-news-all {
  margin-top: 16px;
  padding-bottom: 8px;
  color: var(--green-dark);
}
@media (max-width: 700px) {
  .program-detail-hero {
    padding-block: 30px 44px;
  }
  .program-detail-hero .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .program-detail-hero .breadcrumb {
    margin-bottom: 32px;
  }
  .program-detail-hero h1 {
    font-size: clamp(28px, 7.2vw, 34px);
  }
  .program-detail-hero p {
    font-size: 14px;
  }
  .program-detail-body {
    gap: 52px;
    padding-top: 55px;
    padding-bottom: 68px;
  }
  .program-detail-heading {
    padding-bottom: 25px;
  }
  .program-detail-heading h2 {
    font-size: clamp(28px, 8vw, 36px);
  }
  .program-purpose {
    padding: 21px 20px 23px;
  }
  .program-focus-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 32px;
  }
  .program-news-highlight .news-sidebar-group {
    padding: 22px 20px 16px;
  }
}
@media (min-width: 701px) and (max-width: 1020px) {
  .program-detail-hero .wrap {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .program-detail-hero img,
  .program-detail-image-placeholder {
    width: min(100%, 560px);
  }
  .program-detail-hero h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
}

/* DKV detail: dua panel editorial dengan tinggi mengikuti panel terpanjang. */
.program-detail-body--dkv {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: stretch;
  gap: clamp(28px, 5vw, 72px);
}
.program-detail-body--dkv > .program-detail-copy,
.program-detail-body--dkv > aside {
  min-height: 100%;
}
.program-detail-body--dkv > .program-detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  background: #f4f7f2;
  border-top: 4px solid var(--accent);
}
.program-dkv-intro {
  max-width: 680px;
}
.program-section-label {
  display: block;
  margin-bottom: 18px;
  color: #a45e17;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
}
.program-dkv-intro h2 {
  max-width: 640px;
  color: var(--green-dark);
  font-size: clamp(30px, 3.35vw, 48px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.program-dkv-intro h2::after {
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 24px;
  background: var(--green);
  content: "";
}
.program-detail-body--dkv .program-about {
  max-width: 700px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.82;
}
.program-detail-body--dkv .program-purpose {
  margin-top: 34px;
  padding: 23px 25px 25px;
  background: #fff;
  border-left: 4px solid var(--green);
}
.program-detail-body--dkv .program-purpose .program-subheading {
  margin-top: 0;
  font-size: 18px;
}
.program-detail-body--dkv .program-purpose .program-about {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
}
.program-detail-body--dkv .program-focus-grid {
  width: 100%;
  margin-top: 34px;
  padding-top: 38px;
  gap: 25px;
}
.program-detail-body--dkv .program-focus-block {
  padding-top: 18px;
  border-top: 2px solid #cbd9ce;
}
.program-detail-body--dkv .program-focus-block .program-subheading {
  font-size: 17px;
  letter-spacing: -.2px;
}
.program-detail-body--dkv .program-points {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
}
.program-detail-body--dkv .program-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.program-detail-body--dkv .program-points li + li {
  margin-top: 8px;
}
.program-detail-body--dkv .program-points li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.program-detail-body--dkv > aside {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0 0 22px;
  overflow: hidden;
  background: var(--paper);
  border-top: 4px solid var(--green);
}
.program-detail-body--dkv .program-event-photo,
.program-detail-body--dkv .program-event-photo-placeholder {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.program-detail-body--dkv .program-event-photo img,
.program-detail-body--dkv .program-event-photo-placeholder {
  aspect-ratio: 16 / 8.5;
}
.program-detail-body--dkv .program-event-photo figcaption {
  padding: 10px 24px 0;
  font-size: 11px;
}
.program-detail-body--dkv .program-event-photo-placeholder {
  min-height: 0;
  background: #e6eee7;
}
.program-detail-body--dkv .program-news-highlight {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin: 0;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-group {
  min-height: 0;
  flex: 1;
  padding: 25px 25px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-group h2 {
  color: var(--green-dark);
  font-size: 23px;
}
.program-detail-body--dkv .program-news-highlight .news-heading-accent {
  width: 50px;
  height: 3px;
  margin: 11px 0 4px;
  border-radius: 0;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-row {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 13px;
  padding-block: 16px;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-row:first-of-type {
  padding-top: 10px;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-row .news-image {
  border-radius: 4px;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-row h3 {
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.4;
}
.program-detail-body--dkv .program-news-highlight .news-sidebar-row time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.program-detail-body--dkv .news-sidebar-summary {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.program-detail-body--dkv .program-news-highlight .news-demo-label {
  margin-top: 5px;
  font-size: 10px;
}
.program-detail-body--dkv .program-news-all {
  align-self: flex-start;
  margin: auto 25px 0;
  padding: 11px 0 0;
  border-top: 2px solid #cbd9ce;
  color: var(--green-dark);
  font-size: 13px;
}
@media (max-width: 700px) {
  .program-detail-body--dkv {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .program-detail-body--dkv > .program-detail-copy,
  .program-detail-body--dkv > aside {
    min-height: 0;
  }
  .program-detail-body--dkv > .program-detail-copy {
    padding: 26px 22px 30px;
  }
  .program-dkv-intro h2 {
    font-size: clamp(29px, 8vw, 37px);
  }
  .program-detail-body--dkv .program-focus-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding-top: 0;
    gap: 24px;
  }
  .program-detail-body--dkv > aside {
    padding-bottom: 17px;
  }
  .program-detail-body--dkv .program-news-highlight .news-sidebar-group {
    padding-inline: 20px;
  }
  .program-detail-body--dkv .program-news-all {
    margin-inline: 20px;
  }
}

/* ==========================================================================
   KARTU CLEAN PUTIH & SISI CANVAS TRANSPARAN / PUTIH (REFERENSI GAMBAR 5)
   ========================================================================== */

/* Direktori Guru & Staf (Grid Halaman /profil-guru & Rail Beranda) */
.staff-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.staff-directory .staff-person {
  width: 100%;
}

/* Slider Track Fasilitas Sekolah di Beranda */
.facilities-preview-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.facilities-preview-heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--green-dark);
  margin: 0;
}
.facilities-preview-sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.5;
}
.facilities-heading-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.facilities-nav-buttons {
  display: inline-flex;
  gap: 8px;
}
.facilities-rail-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--green-dark);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.facilities-rail-nav-btn:hover {
  background: var(--green-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.facilities-slider-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.facilities-slider-item {
  flex: 0 0 280px;
}
@media (max-width: 640px) {
  .facilities-slider-item {
    flex: 0 0 85%;
  }
}

/* Kartu Fasilitas Sekolah Clean & Interaktif */
.facility-card-interactive {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  height: 100%;
}
.facility-card-interactive:hover,
.facility-card-interactive:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.12);
  outline: none;
}
.facility-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}
.facility-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  transition: transform 0.45s ease;
}
.facility-card-interactive:hover .facility-card-image img {
  transform: scale(1.05);
}
.facility-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 10px;
  color: #829589;
  background: #ffffff;
}
.facility-photo-placeholder span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.facility-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 20px;
}
.facility-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.facility-card-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}
.facility-card-arrow {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.facility-card-interactive:hover .facility-card-arrow {
  color: var(--green-dark);
  transform: translate(2px, -2px);
}
.facility-card-summary {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MODAL LIGHTBOX & SLIDER FASILITAS SEKOLAH
   ========================================================================== */
.facility-modal-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.facility-modal-dialog:not([open]) {
  display: none;
}
.facility-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 16, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.facility-modal-content {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 20px;
  width: min(92vw, 860px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: modal-pop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.facility-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.facility-modal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.facility-modal-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e6f4ea;
  color: #137333;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.facility-modal-counter {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}
.facility-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.facility-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.facility-modal-slider-stage {
  display: flex;
  align-items: center;
  position: relative;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}
.facility-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s;
}
.facility-slider-nav:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.facility-slider-nav.prev {
  left: 14px;
}
.facility-slider-nav.next {
  right: 14px;
}
.facility-modal-body {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
@media (max-width: 768px) {
  .facility-modal-body {
    grid-template-columns: 1fr;
  }
}
.facility-modal-photo-wrap {
  position: relative;
  background: #ffffff;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.facility-modal-photo-wrap img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  background: #ffffff;
  transition: opacity 0.2s ease;
}
.facility-modal-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #94a3b8;
  padding: 40px;
}
.facility-modal-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}
.facility-modal-info h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}
.facility-modal-summary {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #0284c7;
  font-weight: 600;
}
.facility-modal-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin: 18px 0;
}
.facility-modal-detail-text h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}
.facility-modal-detail-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}
.facility-modal-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow-x: auto;
}
.facility-dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}
.facility-dot-btn.active {
  width: 24px;
  border-radius: 10px;
  background: var(--green-dark);
}

/* ==========================================================================
   IMAGE CROPPER MODAL (FITUR CROP PAS DENGAN CANVAS)
   ========================================================================== */
.image-cropper-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}
.image-cropper-dialog:not([open]) {
  display: none;
}
.cropper-container {
  background: #ffffff;
  border-radius: 18px;
  width: min(92vw, 780px);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: modal-pop 0.25s ease;
}
.cropper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #e2e8f0;
}
.cropper-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cropper-icon {
  font-size: 24px;
}
.cropper-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.cropper-title p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #64748b;
}
.cropper-close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}
.cropper-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.cropper-stage {
  position: relative;
  background: #0f172a;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  cursor: grab;
}
.cropper-stage.is-dragging {
  cursor: grabbing;
}
.cropper-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
}
.cropper-toolbar {
  padding: 12px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cropper-ratio-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cropper-ratio-btn {
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.cropper-ratio-btn:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}
.cropper-ratio-btn.active {
  background: var(--green-dark);
  color: #ffffff;
  border-color: var(--green-dark);
}
.cropper-zoom-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cropper-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.cropper-tool-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.cropper-white-bg-btn {
  width: auto !important;
  padding: 0 12px !important;
  height: 32px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  gap: 5px !important;
  border-radius: 6px !important;
}
.cropper-white-bg-btn.active {
  background: #047857 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25) !important;
}
.cropper-zoom-slider {
  width: 110px;
  accent-color: var(--green-dark);
  cursor: pointer;
}
.cropper-footer {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}
.cropper-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   HALAMAN KONTAK & LOKASI SEKOLAH (HUBUNGI PIHAK SEKOLAH)
   ========================================================================== */
.contact-clean-section {
  padding: 44px 0 80px;
  background: var(--paper, #fdfbf7);
}
.contact-header-centered {
  text-align: center;
  margin-bottom: 38px;
}
.contact-heading-bold {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  color: var(--green-dark, #163628);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.contact-cards-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .contact-cards-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.contact-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 20px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.contact-clean-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}
.contact-clean-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.contact-item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  color: #475569;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.contact-item-icon-box.wa-box {
  background: #f8fafc;
  color: #0f172a;
  border-color: #e2e8f0;
}
.contact-item-content {
  flex: 1;
  min-width: 0;
}
.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 4px;
  display: block;
}
.contact-item-value {
  font-size: 14px;
  line-height: 1.55;
  color: #1e293b;
  margin: 0;
  font-weight: 500;
}
.contact-email-link {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}
.contact-email-link:hover {
  text-decoration: underline;
}
.contact-maps-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
  padding: 5px 10px;
  background: #f0f9ff;
  border-radius: 6px;
  border: 1px solid #bae6fd;
  transition: all 0.15s ease;
}
.contact-maps-text-btn:hover {
  background: #e0f2fe;
  border-color: #7dd3fc;
}
.contact-wa-link-clean {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  width: 100%;
}
.contact-wa-link-clean:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.contact-wa-link-clean svg {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.contact-wa-link-clean:hover svg {
  color: #0284c7;
  transform: translate(2px, -2px);
}
.contact-phone-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
}
.contact-phone-link:hover {
  color: #0284c7;
  text-decoration: underline;
}
.contact-map-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.contact-map-card-header {
  margin-bottom: 16px;
}
.contact-map-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
}
.contact-map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 330px;
  min-height: 280px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.contact-map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-card-action {
  margin-top: 18px;
}
.btn-gmaps-cta-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.btn-gmaps-cta-clean:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.btn-gmaps-cta-icon-clean {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-gmaps-cta-clean:hover .btn-gmaps-cta-icon-clean {
  background: #e2e8f0;
  color: #0f172a;
}
.btn-gmaps-cta-text-clean {
  flex: 1;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.4;
  color: #0f172a;
  font-weight: 600;
}
.btn-gmaps-cta-clean > svg:last-child {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.btn-gmaps-cta-clean:hover > svg:last-child {
  color: #0284c7;
  transform: translate(2px, -2px);
}

/* --- Admin Panel: Kontak & Lokasi --- */
.admin-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 1024px) {
  .admin-contact-grid {
    grid-template-columns: 1fr;
  }
}
.admin-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .admin-two-cols {
    grid-template-columns: 1fr;
  }
}
.admin-input-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1e293b;
  resize: vertical;
}
.admin-input-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.admin-live-preview-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}
.preview-mini-header {
  margin-bottom: 16px;
}
.preview-mini-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-mini-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.preview-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  color: var(--green-dark, #163628);
  flex-shrink: 0;
}
.preview-mini-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  display: block;
  margin-bottom: 2px;
}
.preview-mini-value {
  font-size: 13px;
  margin: 0;
  color: #1e293b;
}
.preview-mini-link {
  font-size: 11px;
  color: #0284c7;
  font-weight: 600;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.preview-map-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #cbd5e1;
}

/* ==========================================================================
   SISTEM TIPOGRAFI MODERN & SKALA UKURAN TEKS KESELURUHAN (UP-SIZED FONTS)
   Semua font dan ukuran teks proporsional diatur agar nyaman dibaca di desktop & mobile.
   ========================================================================== */

/* Utility bar & strip atas */
.preview-strip,
.preview-strip a,
.utility-bar,
.utility-bar a {
  font-size: 13px !important;
}

/* Header & Navigasi */
.site-header .brand > span:last-child {
  font-size: 17.5px !important;
  font-weight: 750 !important;
}
.site-header .brand small {
  font-size: 12px !important;
  letter-spacing: 0.8px !important;
}
.nav-links > a:not(.btn),
.nav-dropdown > button {
  font-size: 15px !important;
  font-weight: 600 !important;
}
.dropdown-menu a {
  font-size: 14.5px !important;
  font-weight: 550 !important;
}
@media (max-width: 1020px) {
  .nav-links > a,
  .nav-dropdown > button {
    font-size: 16px !important;
  }
}

/* Hero Section */
.home-hero .hero-copy p,
.hero-text {
  font-size: 17.5px !important;
  line-height: 1.7 !important;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.5vw, 62px) !important;
  line-height: 1.18 !important;
}

/* Bagian Sambutan / Welcome */
.welcome-copy h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.25 !important;
}
.welcome-message p,
.welcome-signoff {
  font-size: 15.5px !important;
  line-height: 1.8 !important;
}

/* Kartu-kartu Umum (Berita, Fasilitas, Ekstrakurikuler, Prestasi) */
.extracurricular-card-title,
.facility-card-title,
.news-card-title,
.clean-card-title {
  font-size: 18px !important;
  line-height: 1.4 !important;
  font-weight: 750 !important;
}
.extracurricular-card p,
.facility-card-desc,
.news-card-desc,
.clean-card-desc {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}
.extracurricular-card .badge,
.facility-card-badge,
.news-card-meta,
.clean-card-meta {
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

/* Guru / Tenaga Pendidik */
.staff-person figcaption strong {
  font-size: 14.5px !important;
  letter-spacing: 0.2px !important;
}
.staff-person figcaption span {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}
.staff-more span {
  font-size: 16.5px !important;
}

/* Halaman Kontak & Lokasi */
.contact-item-value,
.contact-item-value p,
.contact-item-value a {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.contact-item-label {
  font-size: 12px !important;
  letter-spacing: 0.8px !important;
}
.contact-wa-link-clean {
  font-size: 14px !important;
  padding: 11px 16px !important;
}
.btn-gmaps-cta-clean,
.btn-gmaps-cta-text-clean {
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

/* Modal Fasilitas Slider */
.facility-modal-title {
  font-size: 22px !important;
  font-weight: 800 !important;
}
.facility-modal-body p {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
}
.facility-slide-badge {
  font-size: 13px !important;
}

/* Tombol Global */
.btn {
  font-size: 14.5px !important;
  font-weight: 650 !important;
}

/* Footer */
.footer-grid a,
.footer-contact p,
.footer-copy {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}
.footer-col h4 {
  font-size: 16px !important;
}
.footer-demo {
  font-size: 12.5px !important;
  letter-spacing: 0.8px !important;
}

/* Admin Panel: Sidebar & Form */
.admin-sidebar nav a {
  font-size: 14.5px !important;
}
.nav-section-label {
  font-size: 11.5px !important;
  letter-spacing: 1px !important;
}
.school-switch > span:nth-child(2) {
  font-size: 14px !important;
}
.school-switch small {
  font-size: 12px !important;
}
.admin-profile > div {
  font-size: 14px !important;
}
.admin-profile small {
  font-size: 12px !important;
}
.admin-page-heading h1 {
  font-size: 26px !important;
}
.admin-page-heading p {
  font-size: 14.5px !important;
}
.admin-input,
.admin-textarea,
.admin-select {
  font-size: 14.5px !important;
}
table.admin-table th,
table.admin-table td {
  font-size: 14px !important;
}

/* ==========================================================================
   HALAMAN DETAIL EKSTRAKURIKULER (SESUAI GAMBAR REFERENSI PMR)
   ========================================================================== */
.ekskul-detail-page {
  background: #f8fafc;
  padding-bottom: 60px;
}

.ekskul-breadcrumb-wrap {
  padding-top: 24px;
  padding-bottom: 14px;
}

.ekskul-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
}

.ekskul-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ekskul-breadcrumb a:hover {
  color: #0e4c3b;
  text-decoration: underline;
}

.ekskul-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 12px;
}

.ekskul-breadcrumb-current {
  color: #0e4c3b;
  font-weight: 650;
}

/* Hero Section */
.ekskul-hero-wrap {
  margin-bottom: 28px;
}

.ekskul-hero-card {
  background: linear-gradient(135deg, #0e4c3b 0%, #0a3a2d 100%);
  border-radius: 20px;
  padding: clamp(24px, 3.8vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 32px;
  color: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(14, 76, 59, 0.22);
}

.ekskul-hero-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ekskul-badge-icon-box {
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  border-radius: 0;
}

.ekskul-detail-hero-logo {
  width: 64px !important;
  height: 64px !important;
  flex-shrink: 0;
  color: #133d34 !important;
  stroke: #133d34 !important;
  filter: drop-shadow(0 2px 8px rgba(19, 61, 52, 0.12));
}

@media (max-width: 768px) {
  .ekskul-detail-hero-logo {
    width: 48px !important;
    height: 48px !important;
  }
}

.ekskul-heading-bold {
  font-weight: 900 !important;
  text-align: center !important;
  margin: 0 auto !important;
  color: #000000 !important;
  letter-spacing: -0.5px !important;
}

.ekskul-cross-symbol {
  color: #dc2626;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
}

.ekskul-hero-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ekskul-hero-h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.6px;
}

.ekskul-hero-tagline {
  font-size: clamp(14px, 1.35vw, 15.5px);
  color: #d1fae5;
  margin: 0;
  line-height: 1.55;
  opacity: 0.92;
}

.ekskul-hero-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.ekskul-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ekskul-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7f3d0;
}

/* 2-Column Main Layout */
.ekskul-main-wrap {
  margin-bottom: 36px;
}

.ekskul-columns-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.ekskul-col-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ekskul-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.ekskul-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ekskul-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0e4c3b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(14, 76, 59, 0.18);
}

.ekskul-card-title {
  font-size: 20px;
  font-weight: 750;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.ekskul-body-text {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

/* Quick Facts Grid (Tujuan, Pembina, Jadwal) */
.ekskul-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ekskul-fact-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ekskul-fact-icon {
  color: #0e4c3b;
  margin-bottom: 2px;
}

.ekskul-fact-label {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ekskul-fact-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.ekskul-fact-lead {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  color: #1e293b;
  margin-top: 4px;
}

/* Kegiatan yang Dilakukan (Checklist) */
.ekskul-check-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}

.ekskul-check-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ekskul-check-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.ekskul-check-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ekskul-check-heading {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ekskul-check-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* Galeri Kegiatan (6 Foto Grid) */
.ekskul-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.ekskul-gallery-cell {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ekskul-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ekskul-gallery-cell:hover .ekskul-gallery-img {
  transform: scale(1.06);
}

/* Sidebar Column */
.ekskul-col-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ekskul-sidebar-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.ekskul-side-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.ekskul-side-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ekskul-side-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ekskul-side-title {
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
  margin: 0;
}

.ekskul-side-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ekskul-side-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ekskul-side-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #0e4c3b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ekskul-side-info-text {
  display: flex;
  flex-direction: column;
}

.ekskul-side-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ekskul-side-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
}

.ekskul-side-btn-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 12px;
  background: #0e4c3b;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 650;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(14, 76, 59, 0.2);
}

.ekskul-side-btn-action:hover {
  background: #093428;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(14, 76, 59, 0.3);
}

.ekskul-side-btn-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sidebar News Card */
.ekskul-news-card {
  padding: 22px;
}

.ekskul-side-news-header {
  margin-bottom: 20px;
}

.ekskul-side-news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ekskul-side-news-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ekskul-side-news-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
}

.ekskul-side-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ekskul-side-news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.ekskul-side-news-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ekskul-side-news-date {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.ekskul-side-news-headline {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

.ekskul-side-news-headline a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ekskul-side-news-headline a:hover {
  color: #0e4c3b;
}

.ekskul-side-news-excerpt {
  font-size: 12.5px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ekskul-side-news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 650;
  color: #0e4c3b !important;
  text-decoration: none;
  margin-top: 3px;
}

.ekskul-side-news-link:hover {
  text-decoration: underline;
}

/* Bottom Full-Width CTA Banner */
.ekskul-cta-wrap {
  margin-top: 16px;
  margin-bottom: 24px;
}

.ekskul-bottom-banner {
  background: linear-gradient(135deg, #0e4c3b 0%, #0a3a2d 100%);
  border-radius: 20px;
  padding: clamp(36px, 5.5vw, 48px) 24px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(14, 76, 59, 0.25);
}

.ekskul-banner-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
}

.watermark-left {
  bottom: -15px;
  left: 30px;
}

.watermark-right {
  top: -15px;
  right: 30px;
}

.ekskul-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ekskul-banner-heading {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.ekskul-banner-sub {
  font-size: clamp(14px, 1.4vw, 15.5px);
  color: #d1fae5;
  margin: 0;
  line-height: 1.6;
  opacity: 0.94;
}

.ekskul-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0e4c3b !important;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ekskul-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .ekskul-hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ekskul-columns-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ekskul-facts-grid {
    grid-template-columns: 1fr;
  }
  .ekskul-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .ekskul-hero-info {
    flex-direction: column;
    gap: 14px;
  }
  .ekskul-gallery-grid {
    grid-template-columns: 1fr;
  }
  .watermark-left,
  .watermark-right {
    display: none;
  }
}

/* Admin Sidebar Logo Styling — Sejajar Presisi dengan Seluruh Ikon Navigasi */
.admin-sidebar nav a .admin-nav-ekskul-logo,
.admin-sidebar nav a svg.admin-nav-ekskul-logo {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  margin-inline: 0 !important;
  flex-shrink: 0 !important;
  filter: none !important;
  fill: none !important;
  stroke: currentColor !important;
}

.admin-sidebar nav a.nav-item-ekskul {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  transition: all 0.2s ease;
}

.admin-sidebar nav a.nav-item-ekskul:not(.active) {
  background: transparent !important;
}

/* Pastikan item menu Ekstrakurikuler konsisten 100% dengan item menu lain (seperti Prestasi) */
.admin-sidebar nav a.nav-item-ekskul.active {
  background: var(--admin-brand, #72c9a6) !important;
  color: #ffffff !important;
  font-weight: 650 !important;
  box-shadow: none !important;
  border-left: none !important;
}

.admin-sidebar nav a.nav-item-ekskul:not(.active):hover {
  background: var(--admin-subtle, rgba(255, 255, 255, 0.08)) !important;
  color: inherit !important;
}

/* ==========================================================================
   PROGRAM KEAHLIAN V2 REDESIGN (Screenshot 5 Match)
   ========================================================================== */

.program-v2-hero {
  background: #134e3a;
  color: #ffffff;
  padding: 44px 0 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.program-v2-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  max-width: 1380px !important;
  width: calc(100% - 48px) !important;
}

.program-v2-hero-content {
  flex: 1;
  min-width: 0;
}

.program-v2-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.program-v2-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}

.program-v2-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.program-v2-breadcrumb span {
  color: #ffffff;
  font-weight: 600;
}

.program-v2-hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
}

.program-v2-hero-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0;
}

.program-v2-hero-media {
  flex-shrink: 0;
  width: 380px;
}

.program-v2-hero-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.program-v2-hero-placeholder {
  width: 100%;
  height: 230px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* 3-Column Layout */
.program-v2-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
  max-width: 1380px !important;
  width: calc(100% - 48px) !important;
  padding-block: 48px 80px;
}

/* Jump Navigation */
.program-v2-jump-nav {
  position: sticky;
  top: 90px;
  z-index: 10;
}

.program-v2-nav-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-v2-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.program-v2-nav-link:hover {
  background: #f0fdf4;
  color: #15803d;
}

.program-v2-nav-link.active {
  background: #134e3a !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(19, 78, 58, 0.25);
}

.program-v2-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Main Content Column */
.program-v2-main-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-width: 0;
}

.program-v2-section {
  scroll-margin-top: 100px;
}

/* Tentang Jurusan */
.program-v2-about-header {
  margin-bottom: 20px;
}

.program-v2-section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #047857;
  margin-bottom: 8px;
}

.program-v2-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 14px 0;
  letter-spacing: -0.4px;
}

.program-v2-about-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* 2 Stat Badges (Lama Studi & Jenjang) */
.program-v2-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.program-v2-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.program-v2-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.program-v2-stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.program-v2-stat-label {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 4px;
}

.program-v2-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

/* Section Header with Circular Icon */
.program-v2-section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.program-v2-section-header.has-action {
  justify-content: space-between;
  align-items: center;
}

.program-v2-section-header-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.program-v2-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.program-v2-block-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px 0;
}

.program-v2-block-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

.program-v2-view-all {
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.program-v2-view-all:hover {
  text-decoration: underline;
}

/* Kompetensi & Quote Grid */
.program-v2-kompetensi-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.program-v2-skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  align-content: start;
}

.program-v2-skill-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.program-v2-check-icon {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.program-v2-skill-text {
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  line-height: 1.45;
}

.program-v2-quote-card {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.05);
}

.program-v2-quote-mark {
  font-size: 42px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #16a34a;
  margin-bottom: -10px;
}

.program-v2-quote-text {
  font-size: 13.5px;
  font-style: italic;
  color: #166534;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.program-v2-quote-author {
  font-size: 12.5px;
  font-weight: 700;
  color: #15803d;
}

/* Photo Cards Grid (Fasilitas & Galeri) */
.program-v2-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.program-v2-photo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.program-v2-photo-frame {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.program-v2-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.program-v2-photo-card:hover .program-v2-photo-frame img {
  transform: scale(1.06);
}

.program-v2-photo-frame.is-empty {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.program-v2-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: #ffffff;
}

.program-v2-photo-placeholder.is-empty {
  flex-direction: column;
  gap: 7px;
  padding: 14px;
  background: #ffffff;
  text-align: center;
}

.program-v2-photo-placeholder.is-empty svg {
  color: #94a3b8;
  opacity: 0.85;
}

.program-v2-placeholder-text {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}

.program-v2-photo-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.35;
}

/* Prospek Kerja */
.program-v2-careers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-v2-career-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.program-v2-career-item:hover {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.program-v2-career-icon {
  color: #16a34a;
}

/* CTA Banner */
.program-v2-cta-banner {
  background: #134e3a;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(19, 78, 58, 0.35);
  margin-top: 10px;
}

.program-v2-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.program-v2-cta-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.program-v2-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.program-v2-cta-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.program-v2-cta-button {
  background: #ffffff !important;
  color: #134e3a !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.program-v2-cta-button:hover {
  background: #f0fdf4 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Right Sidebar (Berita Terbaru) - Mengikuti Screenshot 2 (kompak & rapi) */
.program-v2-right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.program-v2-right-sidebar .program-event-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.program-v2-right-sidebar .program-event-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.program-v2-right-sidebar .program-event-photo figcaption {
  font-size: 11.5px;
  color: #64748b;
  padding: 8px 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.program-v2-right-sidebar .program-news-highlight {
  background: #f7faf8;
  border: 1px solid #dce8e0;
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.program-v2-right-sidebar .news-sidebar-group h2 {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px 0;
}

.program-v2-right-sidebar .news-heading-accent {
  display: block;
  width: 44px;
  height: 3px;
  background: #16a34a;
  margin-bottom: 14px;
  border-radius: 2px;
}

.program-v2-right-sidebar .news-sidebar-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid #e3ede6;
  text-decoration: none;
  align-items: start;
}

.program-v2-right-sidebar .news-sidebar-row:first-of-type {
  padding-top: 6px;
}

.program-v2-right-sidebar .news-sidebar-row:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.program-v2-right-sidebar .news-sidebar-row .news-image {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.program-v2-right-sidebar .news-sidebar-row .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-v2-right-sidebar .news-sidebar-row h3 {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #134e3a;
  margin: 0 0 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-v2-right-sidebar .news-sidebar-row time {
  font-size: 10.5px;
  color: #64748b;
  display: block;
}

.program-v2-right-sidebar .news-sidebar-summary {
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
  margin: 3px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-v2-right-sidebar .news-demo-label {
  font-size: 9.5px;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.program-v2-right-sidebar .program-news-all {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #dce8e0;
  font-size: 12.5px;
  font-weight: 700;
  color: #166534;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.program-v2-right-sidebar .program-news-all:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1240px) {
  .program-v2-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .program-v2-right-sidebar {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .program-v2-hero-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .program-v2-hero-media {
    width: 100%;
  }
  .program-v2-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px 48px;
  }
  .program-v2-jump-nav {
    position: static;
  }
  .program-v2-nav-card {
    flex-direction: row;
    overflow-x: auto;
    padding: 6px;
  }
  .program-v2-nav-link {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .program-v2-kompetensi-grid {
    grid-template-columns: 1fr;
  }
  .program-v2-stats-grid {
    grid-template-columns: 1fr;
  }
  .program-v2-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .program-v2-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .program-v2-cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Admin Program Meta Form Elements */
.admin-subheading-divider {
  margin-top: 20px;
  margin-bottom: 4px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-left: 4px solid #10b981;
  border-radius: 4px;
  font-size: 14px;
  color: #1e293b;
}

.admin-meta-card-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 12px 14px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-bottom: 8px !important;
}

.admin-meta-thumb {
  width: 90px !important;
  height: 60px !important;
  flex-shrink: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  border: 1px solid #cbd5e1 !important;
}

.admin-meta-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.admin-meta-inputs {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.admin-meta-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  margin: 0 !important;
}

.admin-meta-field > span {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #365047 !important;
}

.admin-meta-field input[type="text"] {
  width: 100% !important;
  padding: 6px 10px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  font-size: 12.5px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.admin-meta-field input[type="file"] {
  width: 100% !important;
  font-size: 11.5px !important;
  color: #475569 !important;
  padding: 2px 0 !important;
}

.admin-meta-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  color: #dc2626 !important;
  cursor: pointer !important;
  width: fit-content !important;
}

.admin-meta-checkbox input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  accent-color: #dc2626 !important;
}

.admin-meta-checkbox span {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #dc2626 !important;
  white-space: nowrap !important;
}

.photo-upload-feedback:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   Home Section Headings: Fasilitas Sekolah, Ekstrakurikuler, Staf & Guru
   Centered layout & Bold Black headings (#000000, font-weight: 800)
   ========================================================================== */
.section-center-heading {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 6px !important;
}

.home-bold-black-title {
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 3.4vw, 44px) !important;
  text-align: center !important;
  margin: 0 auto !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

.section-heading-toolbar {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 10px !important;
  margin-bottom: 24px !important;
}

.facilities-preview-sub {
  text-align: center !important;
  margin: 10px auto 0 !important;
  max-width: 680px !important;
  font-size: 15px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
}

.facilities-heading-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin-top: 16px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 640px) {
  .home-bold-black-title {
    font-size: clamp(26px, 6.5vw, 34px) !important;
  }
  .section-heading-toolbar,
  .facilities-heading-actions {
    justify-content: flex-end !important;
    margin-bottom: 18px !important;
  }
}

/* ==========================================================================
   Admin Logout Confirmation Modal Card
   ========================================================================== */
button.sidebar-logout-link,
button.topbar-logout-btn {
  font-family: inherit;
  cursor: pointer;
  line-height: inherit;
}
button.sidebar-logout-link {
  width: calc(100% - 20px);
}

.logout-modal-dialog {
  border: 0 !important;
  border-radius: 20px !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: 430px !important;
  width: calc(100% - 36px) !important;
  margin: auto !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  overflow: visible !important;
}

.logout-modal-dialog::backdrop {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(6px) !important;
  animation: logoutBackdropFade 0.2s ease-out;
}

.logout-modal-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 32px 28px 24px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  animation: logoutCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.logout-modal-icon-bubble {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: #fee2e2 !important;
  color: #dc2626 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 18px !important;
  box-shadow: 0 0 0 8px #fef2f2 !important;
}

.logout-modal-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.015em !important;
}

.logout-modal-desc {
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 0 0 24px !important;
  max-width: 360px !important;
}

.logout-modal-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

.logout-btn-cancel {
  flex: 1 !important;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.logout-btn-cancel:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.logout-btn-confirm {
  flex: 1.25 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  background: #dc2626 !important;
  border: 1px solid #b91c1c !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28) !important;
}

.logout-btn-confirm:hover {
  background: #b91c1c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.38) !important;
}

@keyframes logoutCardPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes logoutBackdropFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==========================================================================
   ADMIN LAYOUT & HOME CONTENT PROFESSIONAL REFINEMENT
   Fix layout mepet kiri-kanan, tingkatkan spasi & estetika modern profesional
   ========================================================================== */

/* Batasi max-width admin workspace agar tidak molor di layar lebar (ultrawide) */
.admin-main {
  max-width: 1360px !important;
  padding: 30px 36px 44px !important;
  margin: 0 auto !important;
}

@media (max-width: 900px) {
  .admin-main {
    padding: 20px 18px 36px !important;
  }
}

/* Admin Card Surface: Beri sudut halus, border lembut, bayangan modern, & overflow rapi */
.admin-surface {
  background: var(--admin-surface, #ffffff) !important;
  border: 1px solid var(--admin-border, #e2e8f0) !important;
  border-radius: var(--admin-radius, 14px) !important;
  box-shadow: var(--admin-shadow, 0 1px 3px 0 rgba(0, 0, 0, 0.03)) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Header Panel Surface: Atasi bug padding-inline: 0 dengan padding nyaman */
.admin-surface > .panel-title,
.admin-surface > .panel-title:first-child {
  padding: 18px 24px !important;
  border-bottom: 1px solid var(--admin-border-light, #f1f5f9) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  background: var(--admin-surface, #ffffff) !important;
}

.admin-surface > .panel-title h2 {
  font-size: 16.5px !important;
  font-weight: 750 !important;
  color: var(--admin-ink, #0f172a) !important;
  letter-spacing: -0.2px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.admin-surface > .panel-title p {
  font-size: 13px !important;
  color: var(--admin-muted, #64748b) !important;
  margin: 4px 0 0 0 !important;
  font-weight: 450 !important;
  line-height: 1.5 !important;
}

/* Card Grid Publikasi, Prestasi, dan Ekstrakurikuler:
   Selaraskan padding horizontal 30px persis dengan .panel-title agar tidak mepet / terlalu ke kiri & kanan */
.content-admin-list.publication-admin-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important;
  gap: 24px !important;
  padding: 26px 30px 32px !important;
}

@media (max-width: 768px) {
  .content-admin-list.publication-admin-grid {
    padding: 18px 18px 24px !important;
    gap: 16px !important;
  }
}

/* Panel Konten Beranda */
.home-admin-panel {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px !important;
}

/* Tab Segmented Navigation Modern untuk Konten Beranda */
.home-admin-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  margin: 0 0 24px !important;
  padding: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  width: fit-content !important;
  max-width: 100% !important;
}

.home-admin-tabs a {
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.home-admin-tabs a:hover {
  color: #0f172a !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

.home-admin-tabs a[aria-current="page"] {
  background: #0e4c3b !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(14, 76, 59, 0.28) !important;
  font-weight: 700 !important;
}

/* Daftar Baris Sambutan, Guru, Fasilitas (.home-admin-list & .home-admin-row) */
.home-admin-list {
  border-top: none !important;
  padding: 22px 30px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.home-admin-row {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 20px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.home-admin-row:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

.home-admin-thumb {
  width: 58px !important;
  height: 58px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.home-admin-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.home-admin-thumb svg {
  color: #94a3b8 !important;
  width: 24px !important;
  height: 24px !important;
}

.home-admin-row-copy {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.home-admin-row-copy strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.2px !important;
}

.home-admin-row-copy span {
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.home-admin-row-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.home-admin-row-actions .admin-btn {
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  transition: all 0.18s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.home-admin-row-actions .admin-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

.home-admin-row-actions form button.admin-btn {
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
  color: #e11d48 !important;
}

.home-admin-row-actions form button.admin-btn:hover {
  background: #fee2e2 !important;
  border-color: #fda4af !important;
  color: #be123c !important;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.18) !important;
}

/* Formulir Editor Teks Beranda (.home-admin-editor) */
.home-admin-editor {
  padding: 26px 30px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.home-admin-editor .fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.home-admin-editor .field {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.home-admin-editor .field > span {
  font-size: 13.5px !important;
  font-weight: 650 !important;
  color: #1e293b !important;
  letter-spacing: -0.1px !important;
}

.home-admin-editor .field input,
.home-admin-editor .field textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 16px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
}

.home-admin-editor .field input:focus,
.home-admin-editor .field textarea:focus {
  background: #ffffff !important;
  border-color: #0e4c3b !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(14, 76, 59, 0.14) !important;
}

.home-admin-photo-field {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-top: 6px !important;
}

.home-admin-photo-preview {
  width: 96px !important;
  height: 96px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.home-admin-photo-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.home-admin-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 6px !important;
  flex-wrap: wrap !important;
}

/* Formulir Kuota PPDB di Beranda (.home-admin-quota-form) */
.home-admin-quota-form {
  padding: 26px 30px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
}

.home-admin-quota-form .settings-toggle {
  margin: 0 !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}

.home-admin-quota-form .settings-toggle strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.home-admin-quota-form .settings-toggle small {
  font-size: 13px !important;
  color: #64748b !important;
  display: block !important;
}

.home-admin-quota-form .settings-toggle input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  cursor: pointer !important;
  accent-color: #0e4c3b !important;
}

.home-admin-state {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
}

.home-admin-state.is-on {
  background: #dcfce7 !important;
  color: #166534 !important;
  border-color: #bbf7d0 !important;
}

/* Tombol Utama Hijau Brand Mewah */
.admin-btn.primary {
  background: #0e4c3b !important;
  color: #ffffff !important;
  border: 1px solid #0a3a2d !important;
  font-weight: 650 !important;
  padding: 9px 20px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 2px 8px rgba(14, 76, 59, 0.22) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.admin-btn.primary:hover {
  background: #093428 !important;
  box-shadow: 0 4px 14px rgba(14, 76, 59, 0.32) !important;
  transform: translateY(-1px) !important;
}

/* Responsive Breakpoints untuk Admin */
@media (max-width: 768px) {
  .admin-surface > .panel-title,
  .admin-surface > .panel-title:first-child {
    padding: 16px 18px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .home-admin-list {
    padding: 16px 16px 22px !important;
  }

  .home-admin-row {
    flex-wrap: wrap !important;
    padding: 14px 14px !important;
    gap: 14px !important;
  }

  .home-admin-row-actions {
    width: 100% !important;
    justify-content: flex-end !important;
    padding-top: 10px !important;
    border-top: 1px dashed #e2e8f0 !important;
  }

  .home-admin-editor,
  .home-admin-quota-form {
    padding: 18px 16px 24px !important;
  }

  .home-admin-editor .fields-grid {
    grid-template-columns: 1fr !important;
  }

  .home-admin-photo-field {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ==========================================================================
   TEMA NATURAL BOTANICAL & CLEAN EDUCATIONAL (TANPA WARNA NEON)
   - Layout & struktur posisi elemen 100% tetap sama persis (zero layout shift)
   - Palet: Hijau Botani Natural (#3d6b2c, #2e5420, #4a7c38), Sage Lembut (#ebf2e6, #f4f7f2),
     Krem Hangat (#fafaf7), Putih Bersih (#ffffff), dan Teks Gelap (#14261c / #1e293b)
   - Bebas warna neon / hijau stabilo mencolok
   - Bingkai foto bersih tanpa background kuning/hijau neon yang bertabrakan dengan foto asli
   - Jarak judul dan subjudul (Informasi Kuota PPDB, dll.) lega dan proporsional
   ========================================================================== */

/* --- 0. HEADER & HERO / BANNER UTAMA (.site-header, .home-hero, .page-intro) --- */
.site-header:not(.home-header),
.site-header.home-header.scrolled {
  background: #ffffff !important;
  border-top: 3px solid #3d6b2c !important;
  border-bottom: 1px solid #e2ebe0 !important;
  box-shadow: 0 10px 30px -10px rgba(20, 38, 28, 0.06) !important;
}

.site-header .nav-links > a:not(.btn)::after {
  background: #3d6b2c !important;
  height: 3px !important;
  border-radius: 999px !important;
}

/* Tombol Pill Kapsul Hijau Botani Natural (Tanpa Neon) */
.site-header .btn.orange,
.home-header:not(.scrolled) .nav-links > .btn.orange,
.btn.orange {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border: 1px solid #2e5420 !important;
  border-radius: 9999px !important;
  padding: 11px 24px !important;
  font-family: var(--font-friendly) !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px -4px rgba(46, 84, 32, 0.28) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, box-shadow 0.22s ease !important;
}

.site-header .btn.orange:hover,
.home-header:not(.scrolled) .nav-links > .btn.orange:hover,
.btn.orange:hover {
  background: #2e5420 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px -4px rgba(46, 84, 32, 0.38) !important;
}

/* Hero dengan Latar Hijau Hutan & Gradasi Botani Lembut */
.home-hero {
  background: #183920 !important;
}

.home-hero .hero-image::after {
  background:
    linear-gradient(
      180deg,
      rgba(14, 36, 20, 0.62) 0%,
      rgba(20, 48, 26, 0.45) 48%,
      rgba(16, 40, 22, 0.68) 100%
    ) !important;
}

/* Ornamen Lengkungan Organik Halus di Bagian Bawah Hero */
.home-hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -28px;
  height: 56px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 2;
  pointer-events: none;
}

/* Ornamen Doodle Garis Tipis Minimalis di Area Kosong Hero */
.hero-icon-doodle {
  position: absolute;
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  animation: doodle-star-float 5.2s ease-in-out infinite;
}

.doodle-pencil {
  top: 23%;
  left: 7.5%;
  width: 40px;
  height: 40px;
  animation-delay: 0.4s;
}

.doodle-rocket {
  bottom: 18%;
  right: 8.5%;
  width: 44px;
  height: 44px;
  animation-delay: 1.2s;
}

.doodle-loop {
  bottom: 15%;
  left: 17%;
  width: 76px;
  height: 24px;
  opacity: 0.55;
  animation-delay: 2s;
}

@media (max-width: 768px) {
  .doodle-pencil {
    top: 15%;
    left: 5%;
    width: 28px;
    height: 28px;
  }
  .doodle-rocket {
    bottom: 11%;
    right: 5%;
    width: 30px;
    height: 30px;
  }
  .doodle-loop {
    display: none;
  }
}

/* Tipografi Hero: Sans-Serif Tebal, Bersih & Ramah */
.home-hero .hero-main-title,
.home-hero .hero-copy h1 {
  font-family: "Plus Jakarta Sans", "Outfit", system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.14 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(10, 30, 16, 0.55) !important;
}

/* Banner / Page Intro Halaman Dalam: Sage & Krem Lembut (Tanpa Neon) */
.page-intro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f6f9f4 0%, #ebf2e6 100%) !important;
  border-bottom: 1px solid #dce6d5 !important;
}

.page-intro::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(74, 124, 56, 0.08);
  pointer-events: none;
}

.page-intro h1 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  letter-spacing: -0.025em !important;
}

.page-intro .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  background: #3d6b2c !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 5px 15px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

/* --- 1. SAMBUTAN KEPALA SEKOLAH / WELCOME SECTION (#kenali) ---
   Bingkai foto bersih tanpa warna latar kuning/hijau neon mencolok.
   -------------------------------------------------------------------------- */
.welcome-section {
  background: #ffffff !important;
}

.welcome-section .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ebf2e6 !important;
  border: 1px solid #d2e0c8 !important;
  color: #2e5420 !important;
  border-radius: 9999px !important;
  padding: 6px 16px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.welcome-copy h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  font-size: clamp(32px, 3.5vw, 44px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
}

/* Bingkai Foto Kepala Sekolah: Bersih, Netral, Tanpa Latar Kuning/Hijau Mencolok */
.welcome-portrait-frame {
  border-radius: 28px !important;
  background: #f8faf7 !important;
  padding: 0 !important;
  border: 1px solid #e2ebe0 !important;
  box-shadow: 0 18px 40px -12px rgba(20, 38, 28, 0.12) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease !important;
}

.welcome-card:nth-child(2n) .welcome-portrait-frame,
.welcome-card:nth-child(3n) .welcome-portrait-frame {
  background: #f8faf7 !important;
}

.welcome-portrait-frame > img,
.welcome-portrait-frame > .site-content-image {
  border-radius: 28px !important;
  background: #f8faf7 !important;
}

.welcome-portrait-frame:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 48px -12px rgba(20, 38, 28, 0.18) !important;
}

.welcome-slider-controls button {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid #d2e0c8 !important;
  background: #f5f8f2 !important;
  color: #2e5420 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.welcome-slider-controls button:hover {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border-color: #3d6b2c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px -4px rgba(46, 84, 32, 0.3) !important;
}

.welcome-slide-number {
  color: #3d6b2c !important;
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

.welcome-active-person strong {
  font-family: var(--font-friendly) !important;
  color: #14261c !important;
  font-weight: 800 !important;
  font-size: 18px !important;
}

.welcome-message p {
  color: #334155 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

.welcome-signoff strong {
  color: #14261c !important;
}

.heading-squiggle-sm {
  display: block !important;
  width: 88px !important;
  height: 8px !important;
  margin: 8px auto 16px !important;
  overflow: visible !important;
}

/* --- 2. VISI, MISI & STATISTIK SECTION (.vision-mission, .ppdb-quota-section) --- */
.vision-mission {
  background: #fafaf7 !important;
  border-block: 1px solid #e6ece2 !important;
  padding-block: clamp(64px, 7vw, 96px) !important;
}

.vision-mission-grid {
  gap: 30px !important;
}

.vision-mission-panel {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 26px !important;
  padding: clamp(34px, 4.2vw, 46px) !important;
  box-shadow: 0 16px 38px -12px rgba(20, 38, 28, 0.06), 0 4px 12px -4px rgba(20, 38, 28, 0.03) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Pill Badge Sudut Atas Kartu dengan Warna Hijau Natural (Tanpa Neon) */
.vision-mission-panel:first-child::before {
  content: "Visi Utama";
  position: absolute;
  top: 22px;
  right: 24px;
  background: #ebf2e6;
  color: #2e5420;
  border: 1px solid #d2e0c8;
  border-radius: 999px;
  padding: 5px 15px;
  font-family: var(--font-friendly);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vision-mission-panel + .vision-mission-panel {
  border-left: 1px solid #e2ebe0 !important;
  padding-left: clamp(34px, 4.2vw, 46px) !important;
}

.vision-mission-panel + .vision-mission-panel::before {
  content: "Misi Sekolah";
  position: absolute;
  top: 22px;
  right: 24px;
  background: #ebf2e6;
  color: #2e5420;
  border: 1px solid #d2e0c8;
  border-radius: 999px;
  padding: 5px 15px;
  font-family: var(--font-friendly);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vision-mission-panel:hover {
  transform: translateY(-4px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 22px 46px -12px rgba(20, 38, 28, 0.1), 0 8px 18px -6px rgba(20, 38, 28, 0.04) !important;
}

.vision-mission-panel h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  font-size: clamp(32px, 3.6vw, 44px) !important;
  letter-spacing: -0.025em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 18px 0 !important;
}

.vision-mission-panel h2::after {
  content: "" !important;
  display: inline-block !important;
  width: 34px !important;
  height: 4px !important;
  background: #4a7c38 !important;
  border-radius: 9999px !important;
}

.vision-mission-panel p {
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 20px !important;
  padding: 24px 26px !important;
  color: #1e293b !important;
  font-size: clamp(18px, 1.45vw, 21px) !important;
  font-weight: 600 !important;
  line-height: 1.68 !important;
  max-width: 100% !important;
  margin-top: 6px !important;
}

.mission-checklist,
.vision-mission-panel ol {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mission-checklist li,
.vision-mission-panel ol li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 18px !important;
  padding: 15px 18px !important;
  font-size: 16px !important;
  font-weight: 550 !important;
  line-height: 1.6 !important;
  color: #1e293b !important;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

.mission-checklist li:hover,
.vision-mission-panel ol li:hover {
  background: #eef5ea !important;
  border-color: #c5d8b8 !important;
  transform: translateX(4px) !important;
}

.mission-check-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: #3d6b2c !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.mission-checklist li:before {
  display: none !important;
}

/* --- 3. SECTION HEADINGS GLOBAL (Staf & Guru, Ekskul, Fasilitas) --- */
.home-bold-black-title {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  color: #14261c !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
}

.staff-heading-link,
.news-all-link {
  font-family: var(--font-friendly) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  color: #2e5420 !important;
  background: #f5f8f2 !important;
  border: 1px solid #d2e0c8 !important;
  border-radius: 999px !important;
  padding: 9px 20px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.22s ease !important;
}

.staff-heading-link:hover,
.news-all-link:hover {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border-color: #3d6b2c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 18px -4px rgba(46, 84, 32, 0.28) !important;
}

.staff-heading-link svg,
.news-all-link svg {
  transition: transform 0.2s ease !important;
}

.staff-heading-link:hover svg,
.news-all-link:hover svg {
  transform: translateX(4px) !important;
}

/* --- 4. FOTO & KARTU PROFIL GURU (.staff-section, .staff-page) ---
   Bingkai foto bersih tanpa latar warna-warni mencolok.
   -------------------------------------------------------------------------- */
.staff-section {
  background: #ffffff !important;
}

.staff-person {
  border-radius: 22px !important;
  border: 1px solid #e4ece0 !important;
  background: #ffffff !important;
  padding: 12px 12px 16px !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.07), 0 4px 10px -2px rgba(20, 38, 28, 0.03) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.staff-person:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 20px 40px -10px rgba(20, 38, 28, 0.13), 0 6px 16px -4px rgba(20, 38, 28, 0.05) !important;
}

.staff-person-photo,
.staff-person:nth-child(4n + 2) .staff-person-photo,
.staff-person:nth-child(4n + 3) .staff-person-photo,
.staff-person:nth-child(4n + 4) .staff-person-photo {
  border-radius: 16px !important;
  background: #f8faf7 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  position: relative !important;
}

.staff-person-photo img,
.staff-person-photo > .site-content-image {
  background: #f8faf7 !important;
  border-radius: 16px !important;
}

.staff-person figcaption {
  padding: 14px 6px 2px !important;
}

.staff-person figcaption strong {
  font-family: var(--font-friendly) !important;
  font-weight: 750 !important;
  color: #14261c !important;
  font-size: 14.5px !important;
  text-transform: none !important;
}

.staff-person figcaption span {
  display: inline-block !important;
  background: #f5f8f2 !important;
  border: 1px solid #dce6d5 !important;
  color: #2e5420 !important;
  border-radius: 9999px !important;
  padding: 3px 11px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
}

.staff-more {
  border-radius: 22px !important;
  border: none !important;
  background: linear-gradient(145deg, #3d6b2c 0%, #2b4f1e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px -8px rgba(43, 79, 30, 0.28) !important;
  transition: all 0.28s ease !important;
}

.staff-more:hover {
  background: linear-gradient(145deg, #4a7c38 0%, #3d6b2c 100%) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 38px -8px rgba(43, 79, 30, 0.36) !important;
}

.staff-more span {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.staff-more svg {
  background: #ffffff !important;
  color: #2b4f1e !important;
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  border-radius: 12px !important;
}

/* --- 5. EKSTRAKURIKULER SECTION (.extracurricular-preview) --- */
.extracurricular-preview {
  background: #fafaf7 !important;
  border-block: 1px solid #e6ece2 !important;
}

.extracurricular-card {
  border-radius: 22px !important;
  border: 1px solid #e4ece0 !important;
  background: #ffffff !important;
  padding: 14px !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.06), 0 4px 12px -2px rgba(20, 38, 28, 0.03) !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.extracurricular-card:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 20px 42px -10px rgba(20, 38, 28, 0.13), 0 8px 18px -4px rgba(20, 38, 28, 0.05) !important;
}

.extracurricular-photo,
.extracurricular-card:nth-child(4n + 2) .extracurricular-photo,
.extracurricular-card:nth-child(4n + 3) .extracurricular-photo,
.extracurricular-card:nth-child(4n + 4) .extracurricular-photo {
  border-radius: 16px !important;
  background: #f8faf7 !important;
  border: none !important;
  overflow: hidden !important;
}

.extracurricular-card-title {
  font-family: var(--font-friendly) !important;
  font-weight: 750 !important;
  font-size: 18px !important;
  color: #14261c !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 16px 0 6px !important;
  padding: 0 4px !important;
}

.extracurricular-card-title svg {
  width: 32px !important;
  height: 32px !important;
  border-radius: 10px !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: none !important;
  padding: 7px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.extracurricular-card:hover .extracurricular-card-title svg {
  background: #3d6b2c !important;
  color: #ffffff !important;
  transform: scale(1.06) !important;
}

.extracurricular-card p {
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  padding: 4px 4px 8px !important;
}

/* --- 6. STATISTIK & KUOTA PPDB SECTION (.ppdb-quota-section, .program-v2-stat-card) ---
   Perbaikan jarak judul & subjudul agar tidak mepet (margin: 14px auto 30px, letter-spacing proporsional).
   -------------------------------------------------------------------------- */
.ppdb-quota-section {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 26px !important;
  padding: clamp(36px, 4.5vw, 52px) !important;
  box-shadow: 0 16px 40px -12px rgba(20, 38, 28, 0.07), 0 4px 14px -4px rgba(20, 38, 28, 0.03) !important;
  margin-block: 56px !important;
}

.ppdb-quota-section::before {
  content: "Kuota PPDB";
  position: absolute;
  top: 22px;
  right: 26px;
  background: #ebf2e6;
  color: #2e5420;
  border: 1px solid #d2e0c8;
  border-radius: 999px;
  padding: 5px 16px;
  font-family: var(--font-friendly);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ppdb-quota-section h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  font-size: clamp(28px, 3.4vw, 38px) !important;
  letter-spacing: -0.015em !important;
  word-spacing: 0.04em !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
}

.ppdb-quota-subtitle {
  color: #4b5563 !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  margin: 0 auto 30px !important;
}

.ppdb-quota-table thead th {
  background: #f7faf5 !important;
  color: #2e5420 !important;
  font-family: var(--font-friendly) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 14px 20px !important;
  border-top: 1px solid #e2ebe0 !important;
  border-bottom: 2px solid #d2e0c8 !important;
}

.ppdb-quota-table tbody tr {
  border-bottom: 1px solid #ebf0e8 !important;
  transition: background-color 0.18s ease !important;
}

.ppdb-quota-table tbody tr:hover {
  background: #fafcf9 !important;
}

.ppdb-quota-table tbody th {
  color: #14261c !important;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  padding: 18px 20px !important;
}

.ppdb-quota-table tbody td {
  padding: 18px 20px !important;
}

.ppdb-quota-table tbody td strong {
  font-family: var(--font-friendly) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #2e5420 !important;
}

.ppdb-quota-table tbody td span {
  display: inline-block !important;
  background: #f5f8f2 !important;
  color: #2e5420 !important;
  border: 1px solid #dce6d5 !important;
  border-radius: 999px !important;
  padding: 3px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.program-v2-stat-card {
  position: relative !important;
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 22px !important;
  padding: 22px 18px !important;
  box-shadow: 0 12px 28px -8px rgba(20, 38, 28, 0.06) !important;
}

.program-v2-stat-value {
  font-family: var(--font-friendly) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #2e5420 !important;
}

/* --- 7. FASILITAS SEKOLAH & KARTU FASILITAS (.facilities-preview, .facilities-page) --- */
.facilities-preview {
  background: #ffffff !important;
}

.facilities-preview-sub {
  color: #4b5563 !important;
  font-size: 15.5px !important;
  margin-top: 12px !important;
}

.facilities-rail-nav-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid #d2e0c8 !important;
  background: #f5f8f2 !important;
  color: #2e5420 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.facilities-rail-nav-btn:hover {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border-color: #3d6b2c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px -4px rgba(46, 84, 32, 0.3) !important;
}

.facility-card,
.programs-card {
  border-radius: 22px !important;
  border: 1px solid #e4ece0 !important;
  background: #ffffff !important;
  padding: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.07), 0 4px 12px -2px rgba(20, 38, 28, 0.03) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.facility-card:hover,
.programs-card:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 22px 44px -10px rgba(20, 38, 28, 0.13), 0 8px 18px -4px rgba(20, 38, 28, 0.05) !important;
}

.facility-card-image,
.facility-card .programs-card-image,
.programs-card-image,
.facilities-slider-item:nth-child(4n + 2) .facility-card-image,
.facility-card:nth-child(4n + 2) .programs-card-image,
.programs-card:nth-child(4n + 2) .programs-card-image,
.facilities-slider-item:nth-child(4n + 3) .facility-card-image,
.facility-card:nth-child(4n + 3) .programs-card-image,
.programs-card:nth-child(4n + 3) .programs-card-image,
.facilities-slider-item:nth-child(4n + 4) .facility-card-image,
.facility-card:nth-child(4n + 4) .programs-card-image,
.programs-card:nth-child(4n + 4) .programs-card-image {
  border-radius: 16px !important;
  background: #f8faf7 !important;
  border: none !important;
  overflow: hidden !important;
}

.facility-card-image img,
.programs-card-image img {
  border-radius: 16px !important;
  background: #f8faf7 !important;
}

.facility-card-body {
  padding: 16px 6px 6px !important;
}

.facility-card-title,
.facility-card h2,
.programs-card h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 750 !important;
  font-size: 18px !important;
  color: #14261c !important;
}

.facility-card-arrow {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.facility-card:hover .facility-card-arrow {
  background: #3d6b2c !important;
  color: #ffffff !important;
  transform: scale(1.06) !important;
}

.facility-card-summary {
  color: #4b5563 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* --- 8. BERITA TERKINI SECTION (.news-section) --- */
.news-section {
  background: #fafaf7 !important;
  border-top: 1px solid #e6ece2 !important;
}

.news-section-heading h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  font-size: clamp(30px, 3.4vw, 42px) !important;
  color: #14261c !important;
  letter-spacing: -0.025em !important;
}

.news-heading-accent {
  width: 48px !important;
  height: 4px !important;
  background: #4a7c38 !important;
  border-radius: 9999px !important;
  margin: 12px auto 16px !important;
}

.news-section-heading p {
  color: #4b5563 !important;
  font-size: 15.5px !important;
}

.news-card {
  border-radius: 22px !important;
  border: 1px solid #e4ece0 !important;
  background: #ffffff !important;
  padding: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.06) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.news-card:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 20px 42px -10px rgba(20, 38, 28, 0.13) !important;
}

.news-image {
  border-radius: 16px !important;
}

.news-categories {
  display: inline-flex !important;
  align-items: center !important;
  background: #ebf2e6 !important;
  border: 1px solid #d2e0c8 !important;
  color: #2e5420 !important;
  border-radius: 9999px !important;
  padding: 3px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 8px !important;
}

.news-card-copy h3 {
  font-family: var(--font-friendly) !important;
  font-weight: 750 !important;
  font-size: 17px !important;
  color: #14261c !important;
  line-height: 1.38 !important;
  margin: 6px 0 8px !important;
}

.news-card-copy time {
  color: #3d6b2c !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.news-more-card {
  border-radius: 22px !important;
  border: none !important;
  background: linear-gradient(145deg, #3d6b2c 0%, #2b4f1e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 32px -8px rgba(43, 79, 30, 0.28) !important;
  transition: all 0.3s ease !important;
}

.news-more-card:hover {
  background: linear-gradient(145deg, #4a7c38 0%, #3d6b2c 100%) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 38px -8px rgba(43, 79, 30, 0.36) !important;
}

.news-more-card span {
  color: #dbe7cc !important;
}

.news-more-card strong {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.news-more-card svg {
  background: #ffffff !important;
  color: #2b4f1e !important;
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  border-radius: 12px !important;
}

/* --- 9. FOOTER SECTION (.site-footer) --- */
.site-footer {
  background: #142e1b !important;
  color: #d8eadc !important;
  border-top: 3px solid #3d6b2c !important;
  padding-top: 68px !important;
}

.site-footer .brand > span:last-child {
  color: #ffffff !important;
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
}

.site-footer .brand small {
  color: #b5cf98 !important;
  font-weight: 600 !important;
}

.site-footer .brand-symbol {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #b5cf98 !important;
}

.footer-demo {
  color: #b5cf98 !important;
  font-weight: 700 !important;
}

.footer-grid h3 {
  font-family: var(--font-friendly) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  margin: 5px 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-grid h3::after {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important;
  height: 3px !important;
  background: #6b9e56 !important;
  border-radius: 9999px !important;
}

.footer-grid > div > p {
  color: #c2dcc8 !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
}

.footer-grid > div > a:not(.brand) {
  color: #c2dcc8 !important;
  font-size: 13.5px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.footer-grid > div > a:not(.brand):hover {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #9abca3 !important;
  font-size: 12px !important;
}

.footer-bottom a {
  color: #b5cf98 !important;
}

/* --- 10. HALAMAN DALAM: PROFIL GURU, FASILITAS, PROGRAM KEAHLIAN, PRESTASI, KONTAK --- */
.staff-page,
.facilities-page,
.programs-page {
  background: #fafaf7 !important;
}

.staff-page h1,
.facilities-page .extracurricular-page-heading h1,
.programs-page h1,
.ekskul-heading-bold,
.achievement-heading h1,
.contact-heading-bold {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  letter-spacing: -0.025em !important;
}

.achievement-showcase {
  background: #fafaf7 !important;
}

.achievement-heading .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: 1px solid #d2e0c8 !important;
  border-radius: 999px !important;
  padding: 5px 16px !important;
  font-weight: 700 !important;
}

.achievement-tile {
  border-radius: 22px !important;
  border: 1px solid #e4ece0 !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.06) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.achievement-tile:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 20px 42px -10px rgba(20, 38, 28, 0.13) !important;
}

.achievement-photo,
.achievement-tile:nth-child(3n + 2) .achievement-photo,
.achievement-tile:nth-child(3n + 3) .achievement-photo {
  border-radius: 16px !important;
  background: #f8faf7 !important;
  border: none !important;
}

.achievement-copy h2 {
  font-family: var(--font-friendly) !important;
  font-weight: 750 !important;
  color: #14261c !important;
}

.achievement-detail-link > span {
  border-radius: 9px !important;
  background: #3d6b2c !important;
  color: #ffffff !important;
}

.filter-tabs button.active {
  background: #3d6b2c !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 12px rgba(46, 84, 32, 0.25) !important;
}

.filter-tabs button:not(.active) {
  border-radius: 999px !important;
}

.program-v2-hero {
  background: linear-gradient(135deg, #183920 0%, #244f2c 55%, #2e5420 100%) !important;
  border-bottom: 3px solid #4a7c38 !important;
}

.program-v2-hero-title {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
}

.program-v2-hero-img {
  border-radius: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.contact-clean-section {
  background: #fafaf7 !important;
}

.contact-info-card,
.contact-map-card {
  border-radius: 24px !important;
  border: 1px solid #e2ebe0 !important;
  box-shadow: 0 14px 34px -10px rgba(20, 38, 28, 0.06) !important;
}

/* ==========================================================================
   PERBAIKAN POSISI, ALIGNMENT, JARAK TIPOGRAFI, & PENYELARASAN SELURUH WEB
   (Beranda, Program Keahlian, Ekskul, Prestasi, Berita, Pengumuman, PPDB,
    Daftar, Cek Status, Bukti Pendaftaran, Ruang Calon Siswa, Kontak, Privasi, 404)
   ========================================================================== */

/* 1. Perbaikan Jarak Huruf & Spasi Kata Global (Agar Judul Tidak Dempet) */
h1 {
  letter-spacing: -0.022em !important;
  word-spacing: 0.02em !important;
}

h2 {
  letter-spacing: -0.018em !important;
  word-spacing: 0.02em !important;
}

h3 {
  letter-spacing: -0.01em !important;
}

/* 2. Perbaikan Posisi Tumpukan Kartu Sambutan Pimpinan (Welcome Stack) */
.welcome-section {
  align-items: center !important;
}

.welcome-card-stack {
  margin-inline: auto !important;
}

.welcome-card {
  width: 62% !important;
  top: 8px !important;
}

.welcome-card.is-behind {
  opacity: 0.88 !important;
  transform: translateY(18px) scale(0.94) !important;
}

.welcome-gallery-meta {
  margin-inline: auto !important;
  margin-top: 24px !important;
  padding: 14px 18px !important;
  background: #f7faf5 !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 18px !important;
  align-items: center !important;
}

.welcome-active-person {
  min-height: 0 !important;
  gap: 3px !important;
}

/* 3. Perbaikan Posisi JudulVisi, Misi & Kuota PPDB agar Tidak Menabrak Badge Sudut */
@media (max-width: 640px) {
  .vision-mission-panel {
    padding-top: 52px !important;
  }
  .vision-mission-panel:first-child::before,
  .vision-mission-panel + .vision-mission-panel::before {
    top: 16px !important;
    left: 22px !important;
    right: auto !important;
  }
  .ppdb-quota-section {
    padding-top: 56px !important;
  }
  .ppdb-quota-section::before {
    top: 16px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
}

/* 4. Perbaikan Posisi Toolbar & Subjudul Section Beranda */
.section-center-heading {
  max-width: 720px !important;
  margin: 0 auto 12px !important;
}

.section-heading-toolbar {
  margin-top: 6px !important;
  margin-bottom: 22px !important;
}

.facilities-heading-actions {
  justify-content: space-between !important;
  margin-top: 18px !important;
  margin-bottom: 24px !important;
}

/* 5. Halaman Program Keahlian (/program-keahlian) & Fasilitas (/fasilitas) */
.programs-page h1 {
  margin-bottom: 38px !important;
}

.programs-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-decoration: none !important;
}

.programs-card h2 {
  padding: 18px 14px 10px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  text-align: center !important;
}

.facility-card-copy {
  padding: 14px 6px 4px !important;
}

.facility-card-copy h2 {
  padding: 0 !important;
  font-size: 18px !important;
  text-align: left !important;
  margin: 0 0 6px !important;
}

.facility-card p.facility-card-summary {
  padding: 0 !important;
  margin: 6px 0 0 !important;
}

/* 6. Halaman Berita (/berita), Pengumuman (/pengumuman), & Detail Artikel */
.news-list-page {
  background: transparent !important;
}

.news-list-header {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 22px !important;
  padding: 24px 28px !important;
  margin-bottom: 32px !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.news-list-header .eyebrow {
  display: inline-flex !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: 1px solid #d2e0c8 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.news-list-header h1 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  margin: 0 !important;
}

.news-category-select select {
  border-radius: 12px !important;
  border: 1px solid #cfe0c5 !important;
  background: #f7faf5 !important;
  color: #14261c !important;
  font-weight: 600 !important;
  padding: 10px 36px 10px 16px !important;
}

/* Editorial News Grid Cards (/berita) */
.news-column-page .news-list-grid .news-card {
  background: #ffffff !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 22px !important;
  padding: 12px !important;
  box-shadow: 0 12px 30px -8px rgba(20, 38, 28, 0.06) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.news-column-page .news-list-grid .news-card:hover {
  transform: translateY(-6px) !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 20px 40px -10px rgba(20, 38, 28, 0.12) !important;
}

.news-column-page .news-image {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.news-column-page .news-card-copy {
  padding: 14px 6px 6px !important;
}

.news-column-page .news-list-grid .news-card h2 {
  font-family: var(--font-friendly) !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  color: #14261c !important;
  margin: 0 0 8px !important;
}

/* Detail Berita & Sidebar */
.news-article {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: clamp(24px, 3.5vw, 40px) !important;
  box-shadow: 0 12px 32px -10px rgba(20, 38, 28, 0.05) !important;
}

.news-sidebar-group {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 22px !important;
  padding: 24px !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.news-sidebar-group .news-heading-accent {
  margin: 10px 0 12px !important;
}

/* 7. Halaman Informasi PPDB (/ppdb), Pendaftaran (/ppdb/daftar), Cek Status (/ppdb/status), & Bukti (/ppdb/berhasil) */
.admission-strip {
  background: #ffffff !important;
  border-bottom: 1px solid #e2ebe0 !important;
  padding-block: 18px !important;
}

.admission-strip .wrap {
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px 24px !important;
}

.admission-strip span {
  background: #f5f8f2 !important;
  border: 1px solid #dce6d5 !important;
  color: #2e5420 !important;
  border-radius: 999px !important;
  padding: 6px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.admissions-steps > div {
  background: #ffffff !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 18px !important;
  padding: 20px 22px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 6px 20px -8px rgba(20, 38, 28, 0.05) !important;
  align-items: flex-start !important;
}

.admissions-steps > div > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.admission-info {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-top: 4px solid #3d6b2c !important;
  border-radius: 24px !important;
  padding: 32px 28px !important;
  box-shadow: 0 16px 38px -12px rgba(20, 38, 28, 0.07) !important;
}

.faq-section details {
  background: #ffffff !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 14px -6px rgba(20, 38, 28, 0.04) !important;
}

.faq-section summary {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #14261c !important;
}

/* Formulir Pendaftaran Wizard (/ppdb/daftar) */
.registration-page {
  background: #fafaf7 !important;
}

.registration-steps {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 22px !important;
  padding: 24px 20px !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.registration-panel {
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 38px -12px rgba(20, 38, 28, 0.06) !important;
}

.form-progress > span {
  background: #3d6b2c !important;
}

/* Halaman Cek Status (/ppdb/status) */
.status-layout {
  align-items: stretch !important;
  gap: 36px !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}

.lookup-form {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: 32px 28px !important;
  box-shadow: 0 16px 38px -12px rgba(20, 38, 28, 0.06) !important;
}

.lookup-result {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.lookup-placeholder {
  background: #fafaf7 !important;
  border: 1px dashed #c5d8b8 !important;
  border-radius: 24px !important;
  padding: 48px 32px !important;
  text-align: center !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.lookup-placeholder h3 {
  font-family: var(--font-friendly) !important;
  font-weight: 800 !important;
  color: #14261c !important;
  margin: 8px 0 12px !important;
}

/* Halaman Detail Fasilitas (/fasilitas/{slug}) & Privasi (/privasi) */
.extracurricular-detail-hero {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 40px !important;
  align-items: center !important;
  margin-top: 24px !important;
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: clamp(24px, 4vw, 38px) !important;
  box-shadow: 0 14px 34px -10px rgba(20, 38, 28, 0.06) !important;
}

@media (max-width: 800px) {
  .extracurricular-detail-hero {
    grid-template-columns: 1fr !important;
  }
}

.privacy-copy {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: clamp(28px, 4vw, 44px) !important;
  margin-block: 40px !important;
  box-shadow: 0 12px 32px -10px rgba(20, 38, 28, 0.05) !important;
}

/* ==========================================================================
   8. GLOBAL COMPREHENSIVE POLISH — SELURUH HALAMAN DALAM & KOMPONEN INTERAKTIF
   ========================================================================== */

/* --- A. Halaman Detail Program Keahlian (/program-keahlian/{slug}) --- */
.program-v2-nav-card {
  border-radius: 20px !important;
  border: 1px solid #e2ebe0 !important;
  padding: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.program-v2-nav-link {
  border-radius: 12px !important;
  padding: 11px 14px !important;
  font-weight: 650 !important;
  color: #334155 !important;
}

.program-v2-nav-link:hover {
  background: #f5f8f2 !important;
  color: #2e5420 !important;
}

.program-v2-nav-link.active {
  background: #3d6b2c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(46, 84, 32, 0.25) !important;
}

.program-v2-main-content {
  gap: 28px !important;
}

.program-v2-section {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: clamp(24px, 3.2vw, 34px) !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.program-v2-section-eyebrow {
  display: inline-flex !important;
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: 1px solid #d2e0c8 !important;
  border-radius: 999px !important;
  padding: 4px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.program-v2-header-icon,
.program-v2-stat-icon-wrapper {
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border-radius: 12px !important;
}

.program-v2-check-icon,
.program-v2-career-icon,
.program-v2-quote-mark {
  color: #3d6b2c !important;
}

.program-v2-skill-item {
  background: #fafaf7 !important;
  border: 1px solid #e6ece2 !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  align-items: center !important;
}

.program-v2-quote-card {
  background: #f5f8f2 !important;
  border: 1px solid #d2e0c8 !important;
  border-radius: 18px !important;
  padding: 22px 20px !important;
}

.program-v2-quote-text {
  color: #1e3a23 !important;
}

.program-v2-quote-author {
  color: #2e5420 !important;
}

.program-v2-photo-frame,
.program-v2-photo-frame.is-empty {
  border-radius: 16px !important;
  border: 1px solid #e4ece0 !important;
  background: #f8faf7 !important;
}

.program-v2-career-item {
  background: #f7faf5 !important;
  border: 1px solid #dce6d5 !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  color: #1e293b !important;
}

.program-v2-career-item:hover {
  background: #ebf2e6 !important;
  border-color: #b5cf98 !important;
  color: #14261c !important;
}

.program-v2-cta-banner {
  background: linear-gradient(135deg, #183920 0%, #244f2c 60%, #2e5420 100%) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
  box-shadow: 0 16px 36px -10px rgba(24, 57, 32, 0.3) !important;
}

.program-v2-cta-button {
  background: #ffffff !important;
  color: #183920 !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
}

.program-v2-right-sidebar .program-news-highlight {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  padding: 24px 22px !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.program-v2-right-sidebar .news-sidebar-group {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* --- B. Halaman Detail Ekstrakurikuler (/ekstrakurikuler/{slug}) --- */
.ekskul-detail-page {
  background: #fafaf7 !important;
}

.ekskul-hero-card {
  background: linear-gradient(135deg, #183920 0%, #244f2c 55%, #2e5420 100%) !important;
  border-radius: 26px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 18px 42px -12px rgba(24, 57, 32, 0.25) !important;
}

.ekskul-hero-tagline {
  color: #dbe7cc !important;
}

.ekskul-hero-media {
  border-radius: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.ekskul-card,
.ekskul-sidebar-card {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
}

.ekskul-icon-badge {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 10px rgba(46, 84, 32, 0.2) !important;
}

.ekskul-fact-item {
  background: #f7faf5 !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 18px !important;
  padding: 20px !important;
}

.ekskul-fact-icon {
  color: #3d6b2c !important;
}

.ekskul-check-row {
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
}

.ekskul-check-badge {
  background: #3d6b2c !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.ekskul-side-info-icon {
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border-radius: 10px !important;
}

.ekskul-side-btn-action {
  background: #3d6b2c !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  box-shadow: 0 6px 16px rgba(46, 84, 32, 0.22) !important;
}

.ekskul-side-btn-action:hover {
  background: #2e5420 !important;
}

.ekskul-bottom-banner {
  background: linear-gradient(135deg, #183920 0%, #244f2c 55%, #2e5420 100%) !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 42px -12px rgba(24, 57, 32, 0.25) !important;
}

.ekskul-banner-sub {
  color: #dbe7cc !important;
}

.ekskul-banner-btn {
  color: #183920 !important;
}

/* --- C. Halaman Prestasi (/prestasi) & Kegiatan Sekolah (/galeri) --- */
.achievement-heading {
  max-width: 720px !important;
  margin: 0 auto 32px !important;
}

.achievement-heading p {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #4b5563 !important;
  margin: 8px 0 22px !important;
}

.achievement-all {
  background: #ffffff !important;
  color: #2e5420 !important;
  border: 1px solid #c5d8b8 !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(20, 38, 28, 0.05) !important;
  transition: all 0.2s ease !important;
}

.achievement-all:hover {
  background: #3d6b2c !important;
  color: #ffffff !important;
  border-color: #3d6b2c !important;
}

.achievement-showcase .filter-line {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 20px !important;
  padding: 14px 20px !important;
  margin: 24px 0 32px !important;
  box-shadow: 0 8px 24px -10px rgba(20, 38, 28, 0.05) !important;
}

.achievement-showcase .filter-line select {
  border-radius: 12px !important;
  border: 1px solid #cfe0c5 !important;
  background: #f7faf5 !important;
  font-weight: 600 !important;
  padding: 9px 34px 9px 14px !important;
}

.achievement-modal {
  border-radius: 26px !important;
  border: 1px solid #e2ebe0 !important;
  padding: clamp(24px, 3.5vw, 36px) !important;
  box-shadow: 0 28px 64px -12px rgba(15, 32, 22, 0.35) !important;
}

.achievement-modal-photo {
  border-radius: 18px !important;
}

.achievement-facts > div {
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  margin: 8px 0 !important;
}

.achievement-back,
.achievement-next {
  border-radius: 14px !important;
  padding: 11px 20px !important;
}

.achievement-next {
  background: #3d6b2c !important;
  border-color: #3d6b2c !important;
}

/* --- D. Halaman Kontak & Lokasi (/kontak) --- */
.contact-clean-item {
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
}

.contact-clean-item:hover {
  background: #ffffff !important;
  border-color: #c5d8b8 !important;
  box-shadow: 0 8px 20px -6px rgba(20, 38, 28, 0.06) !important;
}

.contact-item-icon-box {
  border-radius: 12px !important;
  background: #ebf2e6 !important;
  border-color: #d2e0c8 !important;
  color: #2e5420 !important;
}

.contact-email-link,
.contact-phone-link:hover {
  color: #2e5420 !important;
}

.contact-wa-link-clean,
.btn-gmaps-cta-clean {
  border-radius: 14px !important;
  border: 1px solid #d2e0c8 !important;
  background: #ffffff !important;
}

.contact-wa-link-clean:hover,
.btn-gmaps-cta-clean:hover {
  background: #f5f8f2 !important;
  border-color: #3d6b2c !important;
  color: #2e5420 !important;
}

.btn-gmaps-cta-icon-clean {
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border-radius: 10px !important;
}

/* --- E. Komponen Form Input, Timeline, Sample Note, & Empty State Global --- */
.sample-note {
  background: #f7faf5 !important;
  border: 1px solid #dce6d5 !important;
  border-left: 4px solid #3d6b2c !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  color: #365314 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-block: 20px !important;
}

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  border: 1.5px solid #d5e0d0 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  background: #fcfdfb !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

.field input:not([type="checkbox"]):not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  background: #ffffff !important;
  border-color: #3d6b2c !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(61, 107, 44, 0.14) !important;
}

.status-timeline {
  background: #ffffff !important;
  border: 1px solid #e2ebe0 !important;
  border-radius: 22px !important;
  padding: 28px 28px 4px !important;
  box-shadow: 0 8px 24px -10px rgba(20, 38, 28, 0.05) !important;
}

.status-timeline > div.done > span {
  background: #3d6b2c !important;
  border-color: #3d6b2c !important;
  color: #ffffff !important;
}

.status-timeline > div.current > span {
  background: #ebf2e6 !important;
  border: 2px solid #3d6b2c !important;
  color: #2e5420 !important;
  font-weight: 800 !important;
}

.empty {
  background: #ffffff !important;
  border: 1px dashed #c5d8b8 !important;
  border-radius: 24px !important;
  padding: 56px 28px !important;
  margin-block: 24px !important;
}

/* Modal Fasilitas Lightbox */
.facility-modal-tag {
  background: #ebf2e6 !important;
  color: #2e5420 !important;
  border: 1px solid #d2e0c8 !important;
}

.facility-modal-summary {
  color: #2e5420 !important;
}

.facility-dot-btn.active {
  background: #3d6b2c !important;
}

/* --- F. Penyelarasan Halaman PPDB, Bukti Pendaftaran, & Ruang Calon Siswa --- */
.result-page .registration-receipt {
  border-radius: 24px !important;
  border: 1px solid #e2ebe0 !important;
  border-top: 4px solid #3d6b2c !important;
  box-shadow: 0 18px 42px -12px rgba(20, 38, 28, 0.07) !important;
}

.result-page .receipt-codes {
  background: #f7faf5 !important;
  border: 1px solid #e4ece0 !important;
  border-radius: 16px !important;
}

.result-page .receipt-instruction {
  background: #f5f8f2 !important;
  border-left: 4px solid #3d6b2c !important;
  border-radius: 12px !important;
}

.document-checklist > div {
  border-radius: 14px !important;
  box-shadow: 0 4px 12px -6px rgba(20, 38, 28, 0.04) !important;
}



/* Skip-link accessibility guard: never ghost on mobile scroll */
.skip:not(:focus-visible) {
  top: -140px !important;
  transform: translateY(-200%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 5. PPDB Validation Summary Alert, Field Error States & Live Digit Counter */
.ppdb-validation-summary {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1.5px solid #f87171;
  color: #7f1d1d;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.08);
}

.ppdb-validation-summary[hidden] {
  display: none !important;
}

.ppdb-validation-summary-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ppdb-validation-summary-head svg {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.ppdb-validation-summary-head strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #991b1b;
  line-height: 1.35;
}

.ppdb-validation-summary-head p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #b91c1c;
  line-height: 1.45;
}

.ppdb-validation-summary-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
}

.ppdb-error-jump-btn {
  background: none;
  border: 0;
  padding: 2px 0;
  font: inherit;
  color: #991b1b;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.45;
}

.ppdb-error-jump-btn:hover,
.ppdb-error-jump-btn:focus-visible {
  color: #dc2626;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #dc2626 !important;
  background-color: #fffafa !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  line-height: 1.4;
}

.field-error[hidden] {
  display: none !important;
}

.field-meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.field-digit-counter {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
}

.field-digit-counter.is-partial {
  background: #fffbeb;
  color: #b45309;
  border-color: #fcd34d;
}

.field-digit-counter.is-invalid {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}

.field-digit-counter.is-complete {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

/* 6. PPDB Multi-Step Form Responsive Layout (Mobile, Tablet & Android Chrome Touch Devices)
      Covers standard mobile/tablet (<= 960px) AND touch devices using "Desktop site" mode (<= 1024px) */
@media (max-width: 960px), (pointer: coarse) and (max-width: 1024px) {
  .registration-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-top: 16px !important;
  }

  .registration-steps {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 6px 12px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    background: #f8faf8;
    border: 1px solid #dfe7e0;
    border-radius: 12px;
  }

  .registration-steps .steps-title,
  .registration-steps .form-help {
    display: none !important;
  }

  .registration-steps > button,
  .registration-steps > .step-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 6px 11px 6px 7px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    background: #ffffff;
    border: 1px solid #dce5dd;
    scroll-snap-align: start;
    min-height: 40px;
  }

  .registration-steps > button.active,
  .registration-steps > .step-link.active {
    background: #eef6f0 !important;
    border-color: var(--green) !important;
    box-shadow: 0 2px 8px rgba(23, 53, 35, 0.1);
  }

  .registration-steps > button.done,
  .registration-steps > .step-link.done {
    background: #f3f9f1 !important;
    border-color: #b7d7b0 !important;
  }

  .registration-steps > button > span:first-child,
  .registration-steps > .step-link > span:first-child {
    width: 26px !important;
    height: 26px !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
  }

  .registration-steps small {
    display: none !important;
  }

  .registration-steps > button:not(.active) > span:nth-child(2),
  .registration-steps > .step-link:not(.active) > span:nth-child(2) {
    display: none !important;
  }

  .registration-steps > button:not(.active),
  .registration-steps > .step-link:not(.active) {
    padding: 6px !important;
  }

  .registration-panel {
    width: 100% !important;
    padding: 20px 18px 24px !important;
    border-radius: 14px !important;
  }

  .fields-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .fields-grid .span-two {
    grid-column: 1 / -1 !important;
  }

  /* Prevent iOS Safari auto-zoom and improve Android Chrome touch ergonomics */
  .registration-panel .field input,
  .registration-panel .field select,
  .registration-panel .field textarea {
    font-size: 16px !important;
    min-height: 46px;
  }

  .form-actions {
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }

  .form-actions > div {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .form-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 14px !important;
  }
}

/* 7. PPDB Desktop Responsive Layout, Viewport Proportions & Anti-Clipping Engine
   Ensures optimal screen utilization, flexible proportional layout, and zero clipping
   across 1280x720, 1366x768, 1440x900, 1600x900, 1920x1080 and zoom levels 80%-125% */

/* 7.1 Container Proportions on Desktop (1280px, 1366px, 1440px, 1600px, 1920px) */
@media (min-width: 1025px), (min-width: 961px) and (not (pointer: coarse)) {
  .registration-page .wrap {
    width: min(1380px, calc(100% - clamp(40px, 5.5vw, 96px))) !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
  }

  /* 7.2 Proportional Grid Layout on Desktop */
  .registration-layout {
    display: grid !important;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) !important;
    gap: clamp(24px, 2.5vw, 40px) !important;
    align-items: start !important;
    margin-top: 28px !important;
  }

  /* 7.3 Sticky Sidebar with Viewport Bounds & Scroll Safety */
  .registration-steps {
    position: sticky !important;
    top: 24px !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 63, 54, 0.22) transparent;
    padding: 18px 14px 18px 16px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2ebe0 !important;
    box-shadow: 0 10px 28px -10px rgba(20, 38, 28, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
  }

  .registration-steps::-webkit-scrollbar {
    width: 5px;
  }
  .registration-steps::-webkit-scrollbar-track {
    background: transparent;
  }
  .registration-steps::-webkit-scrollbar-thumb {
    background: rgba(21, 63, 54, 0.2);
    border-radius: 10px;
  }
  .registration-steps::-webkit-scrollbar-thumb:hover {
    background: rgba(21, 63, 54, 0.38);
  }

  .registration-steps .steps-title {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: 1.2px !important;
    color: var(--muted, #718072) !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    padding-left: 4px !important;
  }

  /* Compact and refined step items so all 10 steps fit within 720p viewports comfortably */
  .registration-steps > button,
  .registration-steps > .step-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    margin-bottom: 2px !important;
    background: transparent;
    border: 1px solid transparent;
    box-sizing: border-box !important;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .registration-steps > button:hover,
  .registration-steps > .step-link:hover {
    background: #f8faf8 !important;
  }

  .registration-steps > button.active,
  .registration-steps > .step-link.active {
    background: #eef6f0 !important;
    border-color: var(--green, #153f36) !important;
    box-shadow: 0 2px 8px rgba(23, 53, 35, 0.08) !important;
  }

  .registration-steps > button.done,
  .registration-steps > .step-link.done {
    background: #f4faf2 !important;
    border-color: #c2dec0 !important;
  }

  .registration-steps > button > span:first-child,
  .registration-steps > .step-link > span:first-child {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .registration-steps > button > span:nth-child(2),
  .registration-steps > .step-link > span:nth-child(2) {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    font-weight: 600 !important;
  }

  .registration-steps small {
    display: block !important;
    font-size: 10.5px !important;
    font-weight: 400 !important;
    color: #718072 !important;
    margin-top: 2px !important;
  }

  .registration-steps .form-help {
    display: block !important;
    margin-top: 14px !important;
    padding: 12px 6px 0 !important;
    border-top: 1px solid rgba(21, 63, 54, 0.1) !important;
  }

  .registration-steps .form-help p {
    font-size: 11.5px !important;
    margin: 4px 0 6px !important;
    line-height: 1.45 !important;
  }

  .registration-steps .form-help a {
    font-size: 11.5px !important;
    font-weight: 600 !important;
  }

  /* 7.4 Registration Panel Dimensions, Readability & Overflow Protection */
  .registration-panel {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 clamp(24px, 3vw, 42px) 32px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2ebe0 !important;
    box-shadow: 0 16px 38px -12px rgba(20, 38, 28, 0.06) !important;
    box-sizing: border-box !important;
  }

  .registration-panel .form-panel-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 22px 0 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
  }

  .registration-panel .form-progress {
    margin-inline: calc(-1 * clamp(24px, 3vw, 42px)) !important;
  }

  .registration-panel h2 {
    font-size: clamp(23px, 2.3vw, 29px) !important;
    letter-spacing: -0.6px !important;
    line-height: 1.25 !important;
    margin-top: 26px !important;
  }

  .registration-panel > p {
    max-width: 820px !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin: 10px 0 24px !important;
    color: var(--text-subtle, #5f6f69) !important;
  }

  /* Safe 2-Column Fields Grid on Desktop */
  .registration-panel .fields-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px clamp(16px, 2vw, 26px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .registration-panel .fields-grid .span-two {
    grid-column: 1 / -1 !important;
  }

  /* Form Actions Bar on Desktop */
  .registration-panel .form-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 32px !important;
    padding-top: 22px !important;
    border-top: 1px solid var(--line, #e2ebe0) !important;
  }

  .registration-panel .form-actions > div {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: auto !important;
  }

  .registration-panel .form-actions .btn {
    width: auto !important;
    min-height: 44px !important;
    font-size: 13.5px !important;
    padding: 10px 18px !important;
    box-sizing: border-box !important;
  }

  /* Step 9 Review Section dl Grid Safety */
  .registration-panel .review-section dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 24px !important;
  }
}

/* 7.5 Universal Modal Viewport Bounds & Anti-Clipping Engine
   Solves flexbox centered overflow clipping on short monitors and high zoom */
#ppdb-loading-overlay,
#ppdb-success-modal,
#ppdb-already-registered-modal,
#ppdb-quota-full-modal,
#ppdb-switch-confirm-modal,
#ppdb-cancel-confirm-modal,
#ppdb-gate-modal,
#native-bot-gate-modal,
.ppdb-quota-modal-backdrop {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: clamp(14px, 3vh, 32px) clamp(12px, 2vw, 24px) !important;
  box-sizing: border-box !important;
}

#ppdb-loading-overlay > div,
#ppdb-success-modal > div,
#ppdb-already-registered-modal > div,
#ppdb-quota-full-modal .ppdb-quota-modal-card,
#ppdb-switch-confirm-modal > div,
#ppdb-cancel-confirm-modal > div,
#ppdb-gate-modal > div,
#native-bot-gate-modal > div {
  margin: auto !important;
  max-height: calc(100vh - 44px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  scrollbar-width: thin;
}


