/* =========================================================
   SMKN 10 Surabaya — Custom Styles
   Token warna:
   --brand-purple : #5B3FE0  (warna teks brand & tombol SPMB)
   --brand-purple-dark : #4B2FD1
   --btn-login-bg : #E6E2FB  (lavender lembut tombol Login)
   --btn-login-text : #5B3FE0
   --accent-line : linear-gradient(pink -> lavender), garis tipis atas
   --text-dark : #26262B
   --text-muted : #4B4B55
   ========================================================= */

:root {

  --brand-purple: #305CDE;
  --brand-purple-dark: #2B52C4;
  --btn-login-bg: #E3EAFC;
  --btn-login-text: #305CDE;
  --text-dark: #26262B;
  --text-muted: #46464F;
  --border-light: #ECECF1;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-nunito: 'Nunito', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

/* ===== Garis aksen tipis paling atas ===== */
.top-accent-bar {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #f3c6d3 0%, #f6e3ea 50%, #e9e6fb 100%);
}

/* ===== HEADER ===== */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header-top {
  padding: 14px 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-nunito);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand-purple);
  letter-spacing: -0.01em;
}

.header-right {
  gap: 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  width: 36px;
  height: 36px;
  /*margin-left: 6px;*/
  border-radius: 50%;
  color: #646469;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}

.social-icons a:first-child { margin-left: 0; }

.social-icons a:hover {
  color: var(--brand-purple);
  background-color: #F3F1FE;
}

.btn-login {
  background-color: var(--btn-login-bg);
  color: var(--btn-login-text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-login:hover {
  background-color: #d9d2fa;
  color: var(--btn-login-text);
}

.btn-spmb {
  background-color: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 26px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-spmb:hover {
  background-color: var(--brand-purple-dark);
  color: #ffffff;
}

.navbar-toggler {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  line-height: 1;
  padding: 0;
}

/* ===== Nav bawah (desktop) ===== */
.header-nav {
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-flow: wrap;
}

.nav-menu > li {
  padding: 14px 0;
}

.nav-menu li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 40px;
  color: #3a3a42;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color .15s ease;
  font-family: var(--font-nunito);
}

.nav-menu li:last-child a {
  margin-right: 0;
}

.nav-menu li a:hover {
  color: var(--brand-purple);
}

.nav-menu li a i {
  font-size: 0.7rem;
  color: #9b9ba5;
}

/* ---- Dropdown Profil (desktop) ---- */
.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-menu {
  border: none;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 20, 40, 0.12);
  padding: 8px;
  margin-top: 10px;
  min-width: 220px;
}

.nav-dropdown-item {
  display: block;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: #3a3a42;
  transition: background-color .15s ease, color .15s ease;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus {
  background-color: #F3F1FE;
  color: var(--brand-purple);
}

/* ===== Menu mobile ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  max-width: 82vw;
  height: 100%;
  background: #ffffff;
  z-index: 200;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right .28s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-inner {
  padding: 22px 20px;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.mobile-nav-menu > li > a {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.mobile-nav-menu > li > a:hover {
  color: var(--brand-purple);
}

/* ---- Submenu Profil (mobile) ---- */
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.98rem;
  text-align: left;
}

.mobile-submenu-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-submenu-toggle i {
  font-size: 0.75rem;
  color: #9b9ba5;
  transition: transform .2s ease;
}

.mobile-submenu-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 14px;
}

.mobile-submenu-list li a {
  display: block;
  padding: 10px 4px;
  color: #5a5a66;
  text-decoration: none;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-submenu-list li:last-child a {
  border-bottom: none;
}

.mobile-submenu-list li a:hover {
  color: var(--brand-purple);
}

.mobile-social-icons {
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F3F1FE;
  color: var(--brand-purple);
  text-decoration: none;
  font-size: 1.05rem;
}

.mobile-btn-group .btn-login,
.mobile-btn-group .btn-spmb {
  display: block;
  text-align: center;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 30, 0.45);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

.mobile-menu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO / CAROUSEL ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: #14141a;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .6s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,16,0.35) 0%, rgba(10,10,16,0.35) 55%, rgba(8,8,14,0.85) 100%);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: #26262B;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  transition: background-color .15s ease;
}

.carousel-arrow:hover {
  background: #ffffff;
}

.carousel-arrow-left { left: 24px; }
.carousel-arrow-right { right: 24px; }

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 10;
  color: #ffffff;
  padding: 0 60px;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ececf2;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.carousel-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 0;
  transition: background-color .15s ease, transform .15s ease;
}

.dot.active {
  background: #ffffff;
  transform: scale(1.15);
}

.page-placeholder {
  background: #fafafa;
}

/* =========================================================
   PROFIL KAMI
   ========================================================= */

.profile-section {
  background: #f7f7fb;
  padding: 72px 0;
}

.profile-heading {
  margin-bottom: 40px;
}

.profile-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.profile-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Video card (kolom kiri) ---- */
.video-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 20, 40, 0.12);
  background-color: #14141a;
}

.video-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(10,10,16,0.75) 0%, rgba(10,10,16,0.35) 70%, rgba(10,10,16,0) 100%);
  z-index: 5;
}

.video-card-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px;
}

.video-card-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
}

.video-card-subtitle {
  color: #e3e3ea;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #e02f2f;
  color: #ffffff;
  font-size: 1.7rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(224, 47, 47, 0.4);
  transition: transform .15s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.video-link-icon {
  position: absolute;
  bottom: 18px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 20, 28, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 5;
}

.video-watch-badge {
  position: absolute;
  bottom: 18px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 20, 28, 0.6);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  z-index: 5;
}

.video-watch-badge i {
  color: #ff0000;
  background: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
  padding: 1px 2px;
}

 
.video-card-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
 
.video-card-playing {
  cursor: default;
}
 

/* ---- Visi / Misi / Tujuan cards (kolom kanan) ---- */
.vmt-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  font-family: var(--font-nunito);
}

.vmt-icon {
  flex: 0 0 64px;
  background: var(--brand-purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.vmt-content {
  flex: 1 1 auto;
  padding: 18px 22px;
}

.vmt-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.vmt-content > p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.vmt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vmt-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.vmt-list li:last-child {
  margin-bottom: 0;
}

.vmt-list li i {
  color: #2f6fed;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* =========================================================
   SAMBUTAN KEPALA SEKOLAH
   ========================================================= */

.principal-section {
  background: #ffffff;
  padding: 56px 0 72px;
}

.principal-card {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(20, 20, 40, 0.10);
}

.principal-card-left {
  flex: 0 0 320px;
  background: linear-gradient(160deg, #6C4CE0 0%, #5B3FE0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px;
}

.principal-photo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  padding: 5px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.principal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.principal-name {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.principal-role {
  color: #dcd4fb;
  font-size: 0.96rem;
}

.principal-card-right {
  flex: 1 1 auto;
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.principal-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.title-bar {
  display: inline-block;
  width: 5px;
  height: 26px;
  border-radius: 3px;
  background: var(--brand-purple);
  flex-shrink: 0;
}

.principal-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 26px;
  font-family: var(--font-nunito);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-read-more:hover {
  background: var(--brand-purple-dark);
  color: #ffffff;
}

.btn-read-more i {
  font-size: 0.9rem;
}

/* =========================================================
   BERITA & PENGUMUMAN
   ========================================================= */

.news-section {
  background: #f7f7fb;
  padding: 64px 0 72px;
}

.news-heading {
  margin-bottom: 44px;
}

.news-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.news-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-nunito);
}

.news-col-header {
  margin-bottom: 18px;
}

.news-col-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
}

.see-all-link {
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-nunito);
}

.see-all-link:hover {
  color: var(--brand-purple-dark);
}

/* ---- Card Berita Sekolah ---- */
.news-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border-radius: 14px;
  border-top: 4px solid var(--brand-purple);
  box-shadow: 0 6px 20px rgba(20, 20, 40, 0.06);
  padding: 16px;
}

.news-card-thumb {
  flex: 0 0 120px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}

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

.news-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9ba5;
  font-size: 0.82rem;
  margin-bottom: 6px;
  font-family: var(--font-nunito);
}

.news-card-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.news-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--font-nunito);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  font-family: var(--font-nunito);
}

.read-more-link:hover {
  color: var(--brand-purple-dark);
}

/* ---- Pengumuman ---- */
.announcement-list {
  overflow: hidden;
}

.announcement-item {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 20, 40, 0.06);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-left: 4px solid #f5941f;
  border-bottom: 1px solid var(--border-light);
}

.announcement-item:last-child {
  border-bottom: none;
}

.announcement-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f5941f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.announcement-body {
  flex: 1 1 auto;
  min-width: 0;
}

.announcement-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* =========================================================
   AGENDA SEKOLAH
   ========================================================= */

.agenda-section {
  background: #eef0fb;
  padding: 64px 0 72px;
}

.agenda-heading {
  margin-bottom: 40px;
}

.agenda-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.agenda-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  
  font-family: var(--font-nunito);
}

.agenda-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 20, 40, 0.06);
  padding: 18px 22px;
  height: 100%;
  border-left: 4px solid transparent;
}

.agenda-purple { border-left-color: #8b5cf6; }
.agenda-blue   { border-left-color: #3b7cf6; }
.agenda-green  { border-left-color: #17b978; }
.agenda-orange { border-left-color: #f5941f; }

.agenda-date-badge {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.agenda-purple .agenda-date-badge { background: #8b5cf6; }
.agenda-blue   .agenda-date-badge { background: #3b7cf6; }
.agenda-green  .agenda-date-badge { background: #17b978; }
.agenda-orange .agenda-date-badge { background: #f5941f; }

.agenda-month {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agenda-day {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.agenda-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.agenda-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  color: #9b9ba5;
  font-size: 0.86rem;
}

.agenda-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  
  font-family: var(--font-nunito);
}

.btn-agenda-all {
  display: inline-block;
  margin-top: 32px;
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-agenda-all:hover {
  background: var(--brand-purple-dark);
  color: #ffffff;
}

/* =========================================================
   LAYANAN SEKOLAH
   ========================================================= */

.services-section {
  background: #f4f5fb;
  padding: 64px 0 72px;
}

.services-heading {
  margin-bottom: 40px;
}

.services-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.services-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  
  font-family: var(--font-nunito);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 20, 40, 0.06);
  padding: 40px 20px;
  height: 100%;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 20, 40, 0.10);
}

.service-icon {
  font-size: 3rem;
  line-height: 1;
}

.service-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

/* =========================================================
   POJOK DIGITAL SEKOLAH
   ========================================================= */

.digital-corner-section {
  background: #ffffff;
  padding: 64px 0 72px;
}

.digital-corner-heading {
  margin-bottom: 44px;
}

.digital-corner-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.digital-corner-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  font-family: var(--font-nunito);
}

.digital-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.digital-col-header i {
  font-size: 1.2rem;
  color: var(--brand-purple);
}

.digital-col-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

/* ---- Blog Siswa ---- */
.blog-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f7fa;
  border-radius: 12px;
  padding: 14px;
}

.blog-card-thumb {
  flex: 0 0 110px;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
}

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

.blog-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.blog-card-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-author {
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}

.blog-author:hover {
  color: var(--brand-purple-dark);
}

.blog-date {
  color: #9b9ba5;
  font-size: 0.84rem;
}

/* ---- Video Kegiatan Siswa ---- */
.video-list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f7f7fa;
  border-radius: 12px;
  padding: 14px;
}

.video-list-thumb {
  position: relative;
  flex: 0 0 110px;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
  background: #14141a;
}

.video-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.video-list-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #26262B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.video-list-body {
  flex: 1 1 auto;
  min-width: 0;
}

.video-list-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: #d92b2b;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.video-list-name {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.video-list-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d92b2b;
  font-size: 0.82rem;
  font-weight: 500;
}

.btn-see-all-work {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-see-all-work:hover {
  background: var(--brand-purple-dark);
  color: #ffffff;
}

/* =========================================================
   STATISTIK SEKOLAH
   ========================================================= */

.stats-section {
  background: linear-gradient(120deg, #5B3FE0 0%, #4229c9 100%);
  padding: 64px 0 72px;
}

.stats-heading {
  margin-bottom: 40px;
}

.stats-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.stats-heading p {
  font-size: 1.05rem;
  color: #d9d3fb;
  margin: 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 30px 16px;
  height: 100%;
  text-align: center;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-number, .stat-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: #ffffff;
  margin: 0;
}

.stat-label {
  
  font-family: var(--font-nunito);
  color: #e2ddfb;
  font-size: 0.96rem;
  margin: 0;
}

/* =========================================================
   PRESTASI TERBARU
   ========================================================= */

.achv-section {
  background: #f7f7fb;
  padding: 64px 0 72px;
}

.achv-heading {
  margin-bottom: 40px;
}

.achv-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.15rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.achv-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  
  font-family: var(--font-nunito);
}

.achv-slider-wrap {
  padding: 0 8px;
}

.achv-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.achv-track::-webkit-scrollbar {
  display: none;
}

.achv-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.07);
}

.achv-card-img-wrap {
  position: relative;
  height: 180px;
}

.achv-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.achv-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #f5941f;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 2;
}

.achv-badge-blue { background: #3b7cf6; }
.achv-badge-green { background: #17b978; }

.achv-card-body {
  padding: 18px 20px;
}

.achv-card-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.achv-desc {
    
  font-family: var(--font-nunito);
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.achv-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9ba5;
  font-size: 0.82rem;
  margin: 0;
}

.achv-arrow {
  position: absolute;
  top: 90px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 20, 40, 0.14);
  transition: background-color .15s ease;
}

.achv-arrow:hover {
  background: #f1eefd;
  color: var(--brand-purple);
}

.achv-arrow-left { left: -10px; }
.achv-arrow-right { right: -10px; }

.btn-achv-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn-achv-all:hover {
  background: var(--brand-purple-dark);
  color: #ffffff;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #12131f;
  padding-top: 56px;
}

.site-footer .container {
  padding-left: 32px;
  padding-right: 32px;
}

.footer-top {
  padding-bottom: 40px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-text {
  color: #a3a3b3;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
  font-family: var(--font-nunito);
  
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  color: #a3a3b3;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color .15s ease;
  font-family: var(--font-nunito);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #a3a3b3;
  font-size: 0.82rem;
  line-height: 1.55;
  font-family: var(--font-nunito);
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact i {
  color: #305CDE;
  font-size: 0.92rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-map-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  background: #1c1d2b;
}

.footer-map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

.footer-map-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.footer-copyright {
  color: #8a8a9a;
  font-size: 0.8rem;
  padding: 22px 0;
}

/* =========================================================
   PAGE HERO (halaman internal, mis. Tentang Kami)
   ========================================================= */

.page-hero {
  background: linear-gradient(120deg, #5B3FE0 0%, #4229c9 100%);
  padding: 90px 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 1.15rem;
  color: #e3ddfb;
  max-width: 720px;
  margin: 0 auto;
}

.breadcrumb-nav{
    font-family: var(--font-nunito);
}

/* =========================================================
   SEJARAH SMKN 10 SURABAYA (halaman Tentang Kami)
   ========================================================= */

.history-section {
  background: #ffffff;
  padding: 64px 0 80px;
}

.history-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--brand-purple);
  margin-bottom: 28px;
}

.history-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 980px;
}

.history-section p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   VISI, MISI & TUJUAN (halaman Tentang Kami)
   ========================================================= */

.vmt-page-section {
  background: #f7f7fb;
  padding: 0 0 80px;
}

.vmt-page-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 40px 32px;
  height: 100%;
}

.vmt-page-icon {
  font-size: 2.1rem;
  color: var(--brand-purple);
  margin-bottom: 22px;
  line-height: 1;
}

.vmt-page-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.vmt-page-card > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.vmt-page-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.vmt-page-list li {
  margin-bottom: 14px;
}

.vmt-page-list li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   KURIKULUM (halaman Akademik > Kurikulum)
   ========================================================= */

.curriculum-section {
  background: #ffffff;
  padding: 64px 0 80px;
}

.curriculum-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.curriculum-section > .container > p {
  color: var(--brand-purple);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 980px;
}

.curriculum-list {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
}

.curriculum-list li {
  color: var(--brand-purple);
  font-size: 1rem;
  line-height: 1.9;
}

/* =========================================================
   STRUKTUR KURIKULUM
   ========================================================= */

.curriculum-structure-section {
  background: #ffffff;
  padding: 8px 0 72px;
}

.curriculum-structure-section .container {
  padding-left: 32px;
  padding-right: 32px;
}

.curriculum-structure-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 26px;
}

.structure-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 28px 30px;
  height: 100%;
}

.structure-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-purple);
  margin-bottom: 18px;
}

.structure-intro {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.structure-check-list,
.structure-dot-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.structure-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.structure-check-list li:last-child {
  margin-bottom: 0;
}

.structure-check-list li i {
  color: var(--brand-purple);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.structure-dot-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.structure-dot-list li:last-child {
  margin-bottom: 0;
}

.structure-dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* =========================================================
   PROGRAM UNGGULAN
   ========================================================= */

.featured-program-section {
  background: #ffffff;
  padding: 8px 0 56px;
}

.featured-program-section .container {
  padding-left: 32px;
  padding-right: 32px;
}

.featured-program-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 26px;
}

.featured-program-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 26px 26px;
  height: 100%;
}

.featured-program-icon {
  font-size: 1.7rem;
  color: var(--brand-purple);
  margin-bottom: 16px;
  line-height: 1;
}

.featured-program-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.featured-program-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   SISTEM PENILAIAN
   ========================================================= */

.assessment-section {
  background: #ffffff;
  padding: 8px 0 64px;
}

.assessment-section .container {
  padding-left: 32px;
  padding-right: 32px;
}

.assessment-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.assessment-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 28px 30px;
}

.assessment-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-purple);
  margin-bottom: 16px;
}

.assessment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.assessment-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.assessment-list li:last-child {
  margin-bottom: 0;
}

.assessment-list li i {
  color: var(--brand-purple);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* =========================================================
   STRUKTUR ORGANISASI (halaman Profil > Struktur Organisasi)
   ========================================================= */

.org-section {
  background: #f7f7fb;
  padding: 8px 0 72px;
}

.org-scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.org-chart-card {
  background: linear-gradient(120deg, #3a5fd9 0%, #5a8bd6 30%, #8fc7cf 60%, #d9edc2 85%, #f0f3c8 100%);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(20, 20, 40, 0.10);
  padding: 32px 28px 40px;
  min-width: 960px;
}

.org-chart-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 26px;
  font-family: 'Times New Roman', Georgia, serif;
  color: #1c1c28;
}

.org-title-line1,
.org-title-line2 {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.org-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  position: relative;
  padding-top: 22px;
}

.org-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9%;
  right: 9%;
  height: 2px;
  background: rgba(30, 30, 45, 0.35);
}

.org-row-top::before {
  display: none;
}

.org-box {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(30, 30, 45, 0.35);
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  color: #26262B;
  min-width: 130px;
  flex: 1 1 0;
}

.org-box::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 22px;
  background: rgba(30, 30, 45, 0.35);
}

.org-row-top .org-box::before {
  display: none;
}

.org-box strong {
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.org-box span {
  font-size: 0.72rem;
  color: #4a4a55;
}

.org-box-head {
  min-width: 190px;
  padding: 12px 18px;
  background: #ffffff;
  border-width: 1.5px;
}

.org-box-head strong {
  font-size: 0.92rem;
}

.org-box-sm {
  font-size: 0.76rem;
  min-width: 118px;
  padding: 8px 10px;
}

.org-box-sm strong {
  font-size: 0.78rem;
}

.org-box-sm span {
  font-size: 0.68rem;
}

.org-connector {
  width: 2px;
  height: 26px;
  background: rgba(30, 30, 45, 0.35);
  margin: 0 auto;
}

.org-row-split {
  gap: 20px;
}

.org-row-split .org-box {
  flex: 0 1 170px;
}

.org-gap {
  flex: 0 0 40px;
}

.org-row-final {
  padding-top: 22px;
}

.org-row-final::before {
  display: none;
}

.org-box-final {
  min-width: 180px;
  font-weight: 700;
}

.org-box-final::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 22px;
  background: rgba(30, 30, 45, 0.35);
}

/* =========================================================
   FASILITAS SEKOLAH (halaman Profil > Fasilitas)
   ========================================================= */

.facility-section {
  background: #ffffff;
  padding: 48px 0 52px;
}

.facility-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.06);
  padding: 20px 22px;
  height: 100%;
}

.facility-icon {
  font-size: 1.5rem;
  color: var(--brand-purple);
  margin-bottom: 10px;
  line-height: 1;
}

.facility-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.facility-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

.support-facility-section {
  background: #eef0fb;
  padding: 40px 0 52px;
}

.support-facility-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.support-facility-item {
  text-align: center;
}

.support-facility-icon {
  color: var(--brand-purple);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.support-facility-item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.support-facility-item p {
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.text-support-green { color: #1fa155; }
.text-support-orange { color: #e0552e; }
.text-support-blue { color: #2f6fed; }
.text-support-teal { color: #17a06b; }

/* =========================================================
   KALENDER AKADEMIK
   ========================================================= */

.academic-calendar-section {
  background: #ffffff;
  padding: 56px 0 72px;
}

.academic-calendar-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.academic-calendar-section h2:not(:first-child) {
  margin-top: 36px;
}

.calendar-month-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 20, 40, 0.06);
  padding: 22px 26px;
  min-height: 56px;
}

.calendar-month-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  border-left: 3px solid var(--brand-purple);
  padding-left: 12px;
  margin-bottom: 12px;
}

.calendar-agenda-list {
  list-style: disc;
  padding-left: 34px;
  margin: 0;
}

.calendar-agenda-list li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.calendar-agenda-list li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   BERITA SEKOLAH & PENGUMUMAN — Search bar
   ========================================================= */

.news-search-section {
  background: #ffffff;
  padding: 32px 0 8px;
}

.news-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-search-input {
  flex: 1 1 320px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.news-search-input:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(91, 63, 224, 0.12);
}

.btn-news-search {
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  border-radius: 10px;
  padding: 11px 28px;
  flex: 0 0 auto;
  transition: background-color .15s ease;
}

.btn-news-search:hover {
  background: var(--brand-purple-dark);
}

.news-display-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 0 0 auto;
  white-space: nowrap;
}

.news-display-select {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.news-result-info {
  margin: 16px 0 0;
  color: #9b9ba5;
  font-size: 0.84rem;
}

/* =========================================================
   GRID BERITA SEKOLAH
   ========================================================= */

.news-grid-section {
  background: #ffffff;
  padding: 24px 0 64px;
}

.news-grid-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-grid-thumb {
  height: 170px;
  overflow: hidden;
}

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

.news-grid-body {
  padding: 18px 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.news-grid-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9ba5;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.news-grid-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-grid-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1 1 auto;
}

.news-grid-link {
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
}

.news-grid-link:hover {
  color: var(--brand-purple-dark);
}

/* Pagination */
.news-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.news-pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.news-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.news-pagination a.active {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff;
}

.news-pagination a:hover:not(.active) {
  background: #F3F1FE;
  border-color: #F3F1FE;
  color: var(--brand-purple);
}

/* =========================================================
   GRID PENGUMUMAN
   ========================================================= */

.announcement-grid-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid #e0552e;
  border-radius: 12px;
  padding: 20px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.announcement-grid-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e0552e;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.announcement-grid-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.announcement-grid-desc {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 1 1 auto;
}

.announcement-grid-link {
  color: var(--brand-purple);
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
}

.announcement-grid-link:hover {
  color: var(--brand-purple-dark);
}

/* =========================================================
   AGENDA SEKOLAH (halaman Berita & Informasi > Agenda)
   ========================================================= */

.agenda-list-section {
  background: #ffffff;
  padding: 28px 0 64px;
}

.agenda-list-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.agenda-list-card {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.agenda-list-badge {
  flex: 0 0 96px;
  background: var(--brand-purple);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  text-align: center;
}

.agenda-list-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agenda-list-day {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.agenda-list-year {
  font-size: 0.72rem;
  opacity: 0.85;
}

.agenda-list-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 20px;
}

.agenda-list-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand-purple);
  margin-bottom: 8px;
}

.agenda-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 8px;
  color: var(--brand-purple);
  font-size: 0.82rem;
}

.agenda-list-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.agenda-list-desc {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   POJOK DIGITAL SEKOLAH (halaman Berita & Informasi > Pojok Digital)
   ========================================================= */

.pd-section {
  background: #f7f7fb;
  padding: 32px 0 64px;
}

.pd-panel {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 22px 22px 18px;
  height: 100%;
}

.pd-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pd-panel-header i {
  font-size: 1.15rem;
  color: var(--brand-purple);
}

.pd-panel-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.pd-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.pd-search-bar input {
  flex: 1 1 auto;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.86rem;
  min-width: 0;
}

.pd-search-bar input:focus {
  outline: none;
  border-color: var(--brand-purple);
}

.pd-search-bar button {
  flex: 0 0 auto;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

.pd-search-purple button {
  background: var(--brand-purple);
}

.pd-search-purple button:hover {
  background: var(--brand-purple-dark);
}

.pd-search-red button {
  background: #d92b2b;
}

.pd-search-red button:hover {
  background: #b81f1f;
}

.pd-result-info {
  color: #e0552e;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.pd-scroll-list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Blog Siswa item */
.pd-blog-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f7fa;
  border-radius: 10px;
  padding: 10px;
}

.pd-blog-thumb {
  flex: 0 0 64px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
}

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

.pd-blog-body {
  flex: 1 1 auto;
  min-width: 0;
}

.pd-blog-body h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pd-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
}

.pd-blog-meta a {
  color: var(--brand-purple);
  font-weight: 600;
  text-decoration: none;
}

.pd-blog-meta span {
  color: #9b9ba5;
}

/* Video Kegiatan Siswa item */
.pd-video-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f7fa;
  border-radius: 10px;
  padding: 10px;
}

.pd-video-thumb {
  position: relative;
  flex: 0 0 64px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #14141a;
}

.pd-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.pd-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #26262B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.pd-video-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: #d92b2b;
  color: #ffffff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.4;
}

.pd-video-body {
  flex: 1 1 auto;
  min-width: 0;
}

.pd-video-body h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-dark);
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.pd-video-title-highlight {
  color: #d92b2b;
}

.pd-video-uploader {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0 0 2px;
}

.pd-video-date {
  color: #9b9ba5;
  font-size: 0.72rem;
}

/* =========================================================
   AGENDA SEKOLAH
   ========================================================= */

.agenda-search-section {
  background: #ffffff;
  padding: 32px 0 8px;
}

.agenda-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.agenda-search-bar .news-search-input {
  flex: 1 1 auto;
}

.agenda-search-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0;
}

.agenda-list-section {
  background: #ffffff;
  padding: 16px 0 64px;
}

.agenda-list-card {
  display: flex;
  align-items: stretch;
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
}

.agenda-date-box {
  flex: 0 0 76px;
  width: 76px;
  background: var(--brand-purple);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  text-align: center;
}

.agenda-date-box span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.agenda-date-box strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.agenda-date-box em {
  font-size: 0.7rem;
  font-style: normal;
  opacity: 0.85;
}

.agenda-list-body {
  flex: 1 1 auto;
  min-width: 0;
}

.agenda-list-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--brand-purple);
  margin-bottom: 8px;
}

.agenda-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #9b9ba5;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.agenda-list-meta i {
  margin-right: 4px;
  color: var(--brand-purple);
}

.agenda-list-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   POJOK DIGITAL SEKOLAH
   ========================================================= */

.pojok-digital-section {
  background: #f7f7fb;
  padding: 48px 0 72px;
}

.pojok-panel {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 20, 40, 0.06);
  padding: 26px 26px;
  height: 100%;
}

.pojok-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pojok-panel-header i {
  font-size: 1.15rem;
  color: var(--brand-purple);
}

.pojok-panel-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.pojok-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.pojok-search-input {
  flex: 1 1 auto;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.pojok-search-input:focus {
  outline: none;
  border-color: var(--brand-purple);
}

.btn-pojok-search {
  background: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  border-radius: 10px;
  padding: 9px 22px;
  flex: 0 0 auto;
}

.btn-pojok-search-red {
  background: #d92b2b;
}

.pojok-result-info {
  color: #9b9ba5;
  font-size: 0.8rem;
  margin: 0 0 14px;
}

.pojok-scroll-list {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 4px;
}

.pojok-blog-item,
.pojok-video-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-radius: 10px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.pojok-blog-item:last-child,
.pojok-video-item:last-child {
  border-bottom: none;
}

.pojok-blog-item:hover,
.pojok-video-item:hover {
  background: #f7f7fb;
}

.pojok-blog-thumb {
  flex: 0 0 64px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}

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

.pojok-blog-body {
  flex: 1 1 auto;
  min-width: 0;
}

.pojok-blog-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pojok-blog-author {
  color: var(--brand-purple);
  font-size: 0.78rem;
  margin: 0;
}

.pojok-blog-date {
  flex: 0 0 auto;
  color: #9b9ba5;
  font-size: 0.76rem;
  white-space: nowrap;
}

.pojok-video-thumb {
  position: relative;
  flex: 0 0 64px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #14141a;
}

.pojok-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.pojok-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #26262B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.pojok-video-body {
  flex: 1 1 auto;
  min-width: 0;
}

.pojok-video-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-dark);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pojok-video-title-accent {
  color: #d92b2b !important;
}

.pojok-video-name {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0;
}

.pojok-video-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #d92b2b;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE — Tablet & Mobile (< 992px, < 768px, < 480px)
   ========================================================= */

@media (max-width: 991.98px) {
  .history-section {
    padding: 48px 0 60px;
  }

  .history-section h2 {
    font-size: 1.8rem;
  }

  .hero-carousel {
    height: 520px;
  }

  .hero-caption {
    padding: 0 32px;
  }

  .hero-caption h1 {
    font-size: 2.1rem;
  }

  .page-hero {
    padding: 72px 0;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 767.98px) {
  .header-top {
    padding: 12px 0;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero-carousel {
    height: 420px;
  }

  .hero-caption {
    padding: 0 20px;
    bottom: 46px;
  }

  .hero-caption h1 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .hero-caption p {
    font-size: 0.92rem;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-arrow-left { left: 12px; }
  .carousel-arrow-right { right: 12px; }

  .carousel-dots {
    bottom: 16px;
  }

  /* Profil Kami - mobile: 1 kolom, video di atas */
  .profile-section {
    padding: 48px 0;
  }

  .profile-heading {
    margin-bottom: 28px;
  }

  .profile-heading h2 {
    font-size: 1.65rem;
  }

  .profile-heading p {
    font-size: 0.95rem;
    font-family: var(--font-nunito);
  }

  .video-card {
    min-height: 300px;
  }

  .video-card-title {
    font-size: 0.9rem;
  }

  .video-play-btn {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    border-radius: 12px;
  }

  .vmt-icon {
    flex: 0 0 52px;
    font-size: 1.15rem;
  }

  .vmt-content {
    padding: 16px 18px;
  }

  /* Sambutan Kepala Sekolah - mobile: 1 kolom */
  .principal-section {
    padding: 40px 0 56px;
  }

  .principal-card {
    flex-direction: column;
    border-radius: 18px;
  }

  .principal-card-left {
    flex: none;
    width: 100%;
    padding: 32px 24px;
  }

  .principal-photo-wrap {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }

  .principal-name {
    font-size: 1.05rem;
  }

  .principal-card-right {
    padding: 28px 22px;
  }

  .principal-title {
    font-size: 1.3rem;
    gap: 10px;
    margin-bottom: 16px;
  }

  .title-bar {
    height: 22px;
  }

  .principal-text {
    font-size: 14px;
    font-family: var(--font-nunito);
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .btn-read-more {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  /* Berita & Pengumuman - mobile: 1 kolom */
  .news-section {
    padding: 40px 0 56px;
  }

  .news-heading {
    margin-bottom: 28px;
  }

  .news-heading h2 {
    font-size: 1.65rem;
  }

  .news-heading p {
    font-size: 0.92rem;
  }

  .news-card {
    flex-direction: column;
    padding: 14px;
  }

  .news-card-thumb {
    flex: none;
    width: 100%;
    height: 160px;
  }

  .announcement-item {
    padding: 16px 16px;
  }

  .announcement-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  /* Agenda Sekolah - mobile */
  .agenda-section {
    padding: 40px 0 56px;
  }

  .agenda-heading {
    margin-bottom: 26px;
  }

  .agenda-heading h2 {
    font-size: 1.65rem;
  }

  .agenda-heading p {
    font-size: 0.92rem;
  }

  .agenda-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .agenda-date-badge {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
  }

  .agenda-day {
    font-size: 1.1rem;
  }

  .agenda-body h4 {
    font-size: 0.94rem;
  }

  .agenda-meta {
    gap: 10px;
    font-size: 0.8rem;
  }

  .btn-agenda-all {
    width: 100%;
    text-align: center;
  }

  /* Layanan Sekolah - mobile */
  .services-section {
    padding: 40px 0 56px;
  }

  .services-heading {
    margin-bottom: 26px;
  }

  .services-heading h2 {
    font-size: 1.65rem;
  }

  .services-heading p {
    font-size: 0.92rem;
  }

  .service-card {
    padding: 28px 14px;
    gap: 12px;
  }

  .service-icon {
    font-size: 2.3rem;
  }

  .service-card h4 {
    font-size: 0.98rem;
  }

  /* Pojok Digital Sekolah - mobile: 1 kolom */
  .digital-corner-section {
    padding: 40px 0 56px;
  }

  .digital-corner-heading {
    margin-bottom: 28px;
  }

  .digital-corner-heading h2 {
    font-size: 1.65rem;
  }

  .digital-corner-heading p {
    font-size: 0.92rem;
  }

  .blog-card,
  .video-list-card {
    padding: 12px;
    gap: 12px;
  }

  .blog-card-thumb,
  .video-list-thumb {
    flex: 0 0 88px;
    height: 68px;
  }

  .blog-card-body h4 {
    font-size: 0.9rem;
  }

  .video-list-body h4 {
    font-size: 0.86rem;
  }

  .btn-see-all-work {
    width: 100%;
    justify-content: center;
  }

  /* Statistik Sekolah - mobile */
  .stats-section {
    padding: 40px 0 56px;
  }

  .stats-heading {
    margin-bottom: 26px;
  }

  .stats-heading h2 {
    font-size: 1.65rem;
  }

  .stats-heading p {
    font-size: 0.92rem;
  }

  .stat-card {
    padding: 22px 12px;
    gap: 8px;
  }

  .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* Prestasi Terbaru - mobile */
  .achv-section {
    padding: 40px 0 56px;
  }

  .achv-heading {
    margin-bottom: 26px;
  }

  .achv-heading h2 {
    font-size: 1.65rem;
  }

  .achv-heading p {
    font-size: 0.92rem;
  }

  .achv-card {
    flex: 0 0 240px;
  }

  .achv-card-img-wrap {
    height: 150px;
  }

  .achv-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    top: 75px;
  }

  .achv-arrow-left { left: -6px; }
  .achv-arrow-right { right: -6px; }

  .btn-achv-all {
    width: 100%;
    justify-content: center;
  }

  /* Footer - mobile */
  .site-footer {
    padding-top: 40px;
  }

  .site-footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-top {
    padding-bottom: 28px;
    text-align: left;
  }

  .footer-heading {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .footer-text {
    max-width: none;
  }

  .footer-map-card {
    height: 170px;
  }

  .footer-copyright {
    font-size: 0.76rem;
    padding: 18px 0;
  }

  /* Page Hero (Tentang Kami, dll) - mobile */
  .page-hero {
    padding: 56px 0;
  }

  .page-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 12px;
  }

  .page-hero p {
    font-size: 0.96rem;
  }

  /* Sejarah - mobile */
  .history-section {
    padding: 36px 0 48px;
  }

  .history-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .history-section p {
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  /* Visi, Misi & Tujuan - mobile */
  .vmt-page-section {
    padding: 0 0 56px;
  }

  .vmt-page-card {
    padding: 28px 22px;
  }

  .vmt-page-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .vmt-page-card h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
  }

  .vmt-page-card > p,
  .vmt-page-list {
    font-size: 0.92rem;
  }

  /* Kurikulum - mobile */
  .curriculum-section {
    padding: 40px 0 56px;
  }

  .curriculum-section h2 {
    font-size: 1.55rem;
    margin-bottom: 18px;
  }

  .curriculum-section > .container > p {
    font-size: 0.94rem;
    margin-bottom: 20px;
  }

  .curriculum-list li {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  /* Struktur Kurikulum - mobile */
  .curriculum-structure-section {
    padding: 4px 0 48px;
  }

  .curriculum-structure-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .curriculum-structure-section h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .structure-card {
    padding: 22px 20px;
  }

  .structure-card h3 {
    font-size: 0.98rem;
    margin-bottom: 14px;
  }

  /* Program Unggulan - mobile */
  .featured-program-section {
    padding: 4px 0 40px;
  }

  .featured-program-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .featured-program-section h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .featured-program-card {
    padding: 22px 20px;
  }

  .featured-program-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .featured-program-card h3 {
    font-size: 0.98rem;
  }

  /* Sistem Penilaian - mobile */
  .assessment-section {
    padding: 4px 0 48px;
  }

  .assessment-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .assessment-section h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .assessment-card {
    padding: 22px 20px;
  }

  .assessment-card h3 {
    font-size: 0.98rem;
    margin-bottom: 14px;
  }

  /* Struktur Organisasi - mobile */
  .org-section {
    padding: 4px 0 48px;
  }

  .org-chart-card {
    padding: 24px 18px 28px;
  }

  .org-title-line1,
  .org-title-line2 {
    font-size: 1rem;
  }

  /* Fasilitas - mobile */
  .facility-section {
    padding: 32px 0 36px;
  }

  .facility-card {
    padding: 18px 18px;
  }

  .facility-icon {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .facility-card h3 {
    font-size: 0.92rem;
  }

  .facility-card p {
    font-size: 0.78rem;
  }

  .support-facility-section {
    padding: 32px 0 40px;
  }

  .support-facility-section h2 {
    font-size: 1.15rem;
    margin-bottom: 24px;
  }

  .support-facility-icon {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .support-facility-item h4 {
    font-size: 0.84rem;
  }

  .support-facility-item p {
    font-size: 0.72rem;
  }

  /* Kalender Akademik - mobile */
  .academic-calendar-section {
    padding: 36px 0 48px;
  }

  .academic-calendar-section h2 {
    font-size: 1.15rem;
  }

  .academic-calendar-section h2:not(:first-child) {
    margin-top: 26px;
  }

  .calendar-month-card {
    padding: 18px 18px;
  }

  .calendar-month-card h3 {
    font-size: 0.94rem;
  }

  .calendar-agenda-list {
    padding-left: 24px;
  }

  .calendar-agenda-list li {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  /* Berita Sekolah & Pengumuman - mobile */
  .news-search-section {
    padding: 24px 0 4px;
  }

  .news-search-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .news-search-input {
    flex: 1 1 auto;
    width: 100%;
  }

  .btn-news-search {
    width: 100%;
  }

  .news-display-filter {
    justify-content: space-between;
    width: 100%;
  }

  .news-grid-section {
    padding: 16px 0 44px;
  }

  .news-grid-thumb {
    height: 190px;
  }

  .news-grid-body {
    padding: 16px 18px;
  }

  .announcement-grid-card {
    padding: 18px 18px;
  }

  /* Agenda Sekolah - mobile */
  .agenda-list-section {
    padding: 20px 0 48px;
  }

  .agenda-list-card {
    flex-direction: column;
  }

  .agenda-list-badge {
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    width: 100%;
  }

  .agenda-list-day {
    font-size: 1.2rem;
  }

  .agenda-list-body {
    padding: 14px 16px;
  }

  .agenda-list-body h4 {
    font-size: 0.92rem;
  }

  .agenda-list-meta {
    gap: 12px;
    font-size: 0.78rem;
  }

  .agenda-list-desc {
    font-size: 0.82rem;
  }

  /* Pojok Digital Sekolah - mobile */
  .pd-section {
    padding: 24px 0 44px;
  }

  .pd-panel {
    padding: 18px 16px 14px;
  }

  .pd-scroll-list {
    max-height: 340px;
  }

  .pd-search-bar input,
  .pd-search-bar button {
    font-size: 0.82rem;
  }
}

@media (max-width: 479.98px) {
  .brand-name {
    font-size: 0.92rem;
  }

  .hero-carousel {
    height: 360px;
  }

  .hero-caption h1 {
    font-size: 1.15rem;
  }

  .hero-caption p {
    font-size: 0.82rem;
  }

  .navbar-toggler {
    font-size: 1.6rem;
  }
}

/* =========================================================
   EKSTRAKURIKULER — Form Pencarian & Grid Kartu
   ========================================================= */

.ekskul-search-wrap {
  background: #ffffff;
  padding: 40px 0 8px;
}

.ekskul-search-box {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.ekskul-search-input {
  width: 100%;
  padding: 14px 54px 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #F7F7FB;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ekskul-search-input:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 3px rgba(91, 63, 224, 0.12);
  background: #ffffff;
}

.ekskul-search-input::placeholder {
  color: #9b9ba5;
}

.ekskul-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--brand-purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s ease;
}

.ekskul-search-btn:hover {
  background: var(--brand-purple-dark);
}

.ekskul-section {
  background: #ffffff;
  padding: 32px 0 72px;
}

.ekskul-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.ekskul-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.12);
}

.ekskul-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

.ekskul-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ekskul-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.ekskul-card-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ekskul-meta {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: auto;
}

.ekskul-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.ekskul-meta-item:last-child {
  margin-bottom: 0;
}

.ekskul-meta-item i {
  color: var(--brand-purple);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.ekskul-empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 40px 0;
}

/* =========================================================
   ACARA TAHUNAN — Kartu Daftar Acara
   ========================================================= */

.annual-event-section {
  background: #F7F7FB;
  padding: 48px 0 72px;
}

.annual-event-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.06);
  height: 100%;
}

.annual-event-date {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--brand-purple);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

.annual-event-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.annual-event-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
}

.annual-event-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.annual-event-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.annual-event-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--brand-purple);
  font-weight: 600;
}

.annual-event-tag i {
  font-size: 0.85rem;
}

/* ---- Responsif: Ekstrakurikuler & Acara Tahunan ---- */
@media (max-width: 767.98px) {
  .ekskul-search-wrap {
    padding: 28px 0 4px;
  }

  .ekskul-search-input {
    font-size: 0.9rem;
    padding: 12px 50px 12px 18px;
  }

  .ekskul-section {
    padding: 24px 0 56px;
  }

  .ekskul-card-img {
    height: 170px;
  }

  .annual-event-section {
    padding: 36px 0 56px;
  }

  .annual-event-card {
    padding: 16px;
    gap: 14px;
  }

  .annual-event-date {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
  }

  .annual-event-day {
    font-size: 1.15rem;
  }
}

/* =========================================================
   PRESTASI SISWA — Filter, Toolbar, Grid Kartu, Statistik
   ========================================================= */

/* ---- Filter Tingkat & Kategori ---- */
.prestasi-filter-section {
  background: #ffffff;
  padding: 36px 0 4px;
}

.prestasi-filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.prestasi-filter-row:last-child {
  margin-bottom: 0;
}

.prestasi-filter-label {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.prestasi-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  flex: 1;
}

.prestasi-pill {
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #5a5a66;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.prestasi-pill:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.prestasi-pill-level.active {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff;
}

.prestasi-pill-category.active {
  background: #17b978;
  border-color: #17b978;
  color: #ffffff;
}

/* ---- Toolbar: Info jumlah & Tampilkan ---- */
.prestasi-toolbar-section {
  background: #ffffff;
  padding: 20px 0 8px;
}

.prestasi-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prestasi-info-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.prestasi-limit-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prestasi-limit-select-wrap label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.prestasi-limit-select {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-dark);
  background: #ffffff;
}

.prestasi-limit-select:focus {
  outline: none;
  border-color: var(--brand-purple);
}

/* ---- Grid Kartu Prestasi ---- */
.prestasi-grid-section {
  background: #ffffff;
  padding: 8px 0 72px;
}

.prestasi-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.prestasi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.12);
}

.prestasi-card-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #e9e9ef;
}

.prestasi-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .35s ease;
}

.prestasi-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.prestasi-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prestasi-badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #f5b400;
  color: #3a2d00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.prestasi-badge-featured i {
  font-size: 0.68rem;
}

.prestasi-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 3;
  transition: background-color .15s ease, color .15s ease;
}

.prestasi-carousel-arrow:hover {
  background: #ffffff;
  color: var(--brand-purple);
}

.prestasi-carousel-prev { left: 8px; }
.prestasi-carousel-next { right: 8px; }

.prestasi-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.prestasi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.65);
  padding: 0;
  cursor: pointer;
  transition: width .15s ease, border-radius .15s ease, background-color .15s ease;
}

.prestasi-dot.active {
  background: #ffffff;
  width: 16px;
  border-radius: 4px;
}

.prestasi-card-media.prestasi-single .prestasi-carousel-arrow,
.prestasi-card-media.prestasi-single .prestasi-carousel-dots {
  display: none;
}

.prestasi-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prestasi-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9ba5;
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.prestasi-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prestasi-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prestasi-meta span {
  font-weight: 600;
  color: var(--text-dark);
}

.prestasi-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 8px 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prestasi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.prestasi-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.prestasi-tag-level {
  background: #E9F9EF;
  color: #17914f;
}

.prestasi-tag-category {
  background: #EEF0F4;
  color: #5a5a66;
}

.prestasi-empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 48px 0;
}

/* ---- Statistik Prestasi ---- */
.prestasi-stats-section {
  background: #ffffff;
  padding: 8px 0 76px;
}

.prestasi-stats-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brand-purple);
  margin-bottom: 28px;
}

.prestasi-stat-card {
  border-radius: 14px;
  padding: 26px 12px;
  text-align: center;
  height: 100%;
}

.prestasi-stat-card .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  margin: 0 0 4px;
}

.prestasi-stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.prestasi-stat-blue { background: #EAF1FE; }
.prestasi-stat-blue .stat-number { color: #2f6fed; }

.prestasi-stat-skyblue { background: #E9F7FE; }
.prestasi-stat-skyblue .stat-number { color: #1f9ad1; }

.prestasi-stat-green { background: #E9F9EF; }
.prestasi-stat-green .stat-number { color: #17a155; }

.prestasi-stat-purple { background: #F1EDFE; }
.prestasi-stat-purple .stat-number { color: #5B3FE0; }

.prestasi-stat-orange { background: #FFF3E6; }
.prestasi-stat-orange .stat-number { color: #e0552e; }

/* ---- Responsif: Prestasi Siswa ---- */
@media (max-width: 767.98px) {
  .prestasi-filter-section {
    padding: 26px 0 2px;
  }

  .prestasi-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 10px;
  }

  .prestasi-filter-row::-webkit-scrollbar {
    display: none;
  }

  .prestasi-filter-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .prestasi-pill {
    flex: 0 0 auto;
  }

  .prestasi-info-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .prestasi-grid-section {
    padding: 4px 0 56px;
  }

  .prestasi-card-media {
    height: 200px;
  }

  .prestasi-stats-section {
    padding: 4px 0 56px;
  }

  .prestasi-stats-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .prestasi-stat-card {
    padding: 20px 10px;
  }

  .prestasi-stat-card .stat-number {
    font-size: 1.4rem;
  }

  .prestasi-stat-card .stat-label {
    font-size: 0.74rem;
  }
}

/* =========================================================
   HALAMAN JURUSAN (Kompetensi Keahlian)
   ========================================================= */

/* ---- Dropdown nav lebih lebar untuk nama jurusan panjang ---- */
.nav-dropdown-menu-wide {
  min-width: 340px;
  max-width: 380px;
}

.nav-dropdown-menu-wide .nav-dropdown-item {
  white-space: normal;
  line-height: 1.4;
}

/* ---- Hero Jurusan (badge + indikator) ---- */
.jurusan-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 20px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.jurusan-hero-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.jurusan-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
}

/* ---- Visi & Misi ---- */
.jurusan-vm-section {
  background: #F7F7FB;
  padding: 48px 0;
}

.jurusan-vm-card {
  border-radius: 16px;
  padding: 28px 26px;
  height: 100%;
}

.jurusan-vm-visi {
  background: linear-gradient(135deg, var(--brand-purple) 0%, #4229c9 100%);
  box-shadow: 0 10px 28px rgba(91, 63, 224, 0.25);
}

.jurusan-vm-visi h3 {
  color: #ffffff;
}

.jurusan-vm-visi p {
  color: #EDE9FE;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.jurusan-vm-misi {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.05);
}

.jurusan-vm-misi h3 {
  color: var(--text-dark);
}

.jurusan-vm-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.jurusan-vm-icon-white {
  background: #EEF0FB;
  color: var(--brand-purple);
}

.jurusan-vm-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.jurusan-vm-list {
  padding-left: 20px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ---- Kompetensi Lulusan ---- */
.jurusan-kompetensi-section {
  background: #ffffff;
  padding: 56px 0 12px;
}

.jurusan-section-badge {
  display: inline-block;
  background: #EEF0FB;
  color: var(--brand-purple);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.jurusan-kompetensi-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.jurusan-kompetensi-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: left;
}

.jurusan-kompetensi-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(20, 20, 40, 0.04);
}

.jurusan-kompetensi-number {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jurusan-kompetensi-item p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ---- Fasilitas & Prospek Karir ---- */
.jurusan-facility-career-section {
  background: #ffffff;
  padding: 32px 0 72px;
}

.jurusan-fc-card {
  border-radius: 16px;
  padding: 24px 24px 26px;
  height: 100%;
}

.jurusan-fc-facility {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.05);
}

.jurusan-fc-career {
  background: #FFFBF0;
  border: 1px solid #F5E3B3;
}

.jurusan-fc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.jurusan-fc-icon-green { background: #17b978; }
.jurusan-fc-icon-orange { background: #f5941f; }

.jurusan-fc-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.jurusan-fc-card > p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.jurusan-fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jurusan-fc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E9F9EF;
  color: #17914f;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 8px;
}

.jurusan-fc-tag i {
  font-size: 0.76rem;
}

.jurusan-fc-career-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jurusan-fc-career-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #F0E4BE;
  color: #5a4a10;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 8px;
}

.jurusan-fc-career-item i {
  color: #e0552e;
  font-size: 0.85rem;
}

/* ---- Responsif: Halaman Jurusan ---- */
@media (max-width: 767.98px) {
  .jurusan-hero-indicators {
    gap: 8px;
    margin-top: 18px;
  }

  .jurusan-indicator {
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  .jurusan-vm-section {
    padding: 32px 0;
  }

  .jurusan-vm-card {
    padding: 22px 20px;
  }

  .jurusan-kompetensi-section {
    padding: 40px 0 4px;
  }

  .jurusan-kompetensi-section h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .jurusan-kompetensi-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .jurusan-facility-career-section {
    padding: 24px 0 56px;
  }

  .jurusan-fc-card {
    padding: 20px 18px 22px;
  }

  .nav-dropdown-menu-wide {
    min-width: 280px;
    max-width: 92vw;
  }
}

/* =========================================================
   GALERI FOTO — Empty State
   ========================================================= */

.galeri-empty-section {
  background: #ffffff;
  padding: 72px 0 96px;
}

.galeri-empty-state {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.galeri-empty-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #F1F1F6;
  color: #b5b5c0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin: 0 auto 22px;
}

.galeri-empty-state h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.galeri-empty-state p {
  color: #17b978;
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================
   VIDEO DOKUMENTASI — Filter, Toolbar, Grid Kartu
   ========================================================= */

.video-filter-section {
  background: #ffffff;
  padding: 40px 0 8px;
}

.video-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.video-pill {
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: #5a5a66;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.video-pill:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.video-pill.active {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff;
}

.video-toolbar-section {
  background: #ffffff;
  padding: 18px 0 4px;
}

.video-info-text {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.video-grid-section {
  background: #ffffff;
  padding: 12px 0 72px;
}

.videodoc-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}

.videodoc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.12);
}

.video-thumb-wrap {
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
  background: #101018;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.video-thumb-wrap:hover img {
  transform: scale(1.04);
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2231a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.video-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.video-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.video-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2231a;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.video-youtube-link:hover {
  text-decoration: underline;
}

.video-youtube-link i {
  font-size: 1rem;
}

.video-empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 40px 0;
}

/* ---- Responsif: Galeri & Video Dokumentasi ---- */
@media (max-width: 767.98px) {
  .galeri-empty-section {
    padding: 52px 0 64px;
  }

  .galeri-empty-icon {
    width: 68px;
    height: 68px;
    font-size: 1.7rem;
  }

  .video-filter-section {
    padding: 28px 0 4px;
  }

  .video-grid-section {
    padding: 8px 0 56px;
  }

  .video-thumb-wrap {
    height: 200px;
  }

  .video-play-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

/* =========================================================
   HALAMAN LINK: PORTAL, EMAIL LOGIN, E-MASTER LOGIN
   (Standalone — tiruan tampilan sistem eksternal)
   ========================================================= */

/* ---- Portal Akses Cepat ---- */
.portal-body {
  background: #F2F3F8;
}

.portal-header {
  background: linear-gradient(120deg, #5B3FE0 0%, #4229c9 100%);
  padding: 18px 0;
}

.portal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
}

.portal-brand-text strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.3;
}

.portal-brand-text small {
  color: #d9d3fb;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.portal-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.portal-admin-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.portal-search-section {
  padding: 28px 0 8px;
}

.portal-search-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(20, 20, 40, 0.08);
  padding: 28px 24px;
  max-width: 720px;
  margin: -34px auto 0;
  text-align: center;
  position: relative;
  z-index: 3;
}

.portal-search-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.portal-search-title i {
  color: var(--brand-purple);
}

.portal-search-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.portal-search-box {
  display: flex;
  gap: 10px;
}

.portal-search-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #F7F7FB;
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}

.portal-search-input:focus {
  border-color: var(--brand-purple);
  background: #ffffff;
}

.portal-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-purple);
  color: #ffffff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color .15s ease;
  white-space: nowrap;
}

.portal-search-btn:hover {
  background: #4229c9;
}

.portal-grid-section {
  padding: 28px 0 60px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 16px;
  height: 100%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(20, 20, 40, 0.05);
  transition: transform .15s ease, box-shadow .15s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(20, 20, 40, 0.1);
}

.portal-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.portal-icon-blue { background: #EAF1FE; color: #2f6fed; }
.portal-icon-purple { background: #F1EDFE; color: #5B3FE0; }
.portal-icon-green { background: #E9F9EF; color: #17a155; }
.portal-icon-orange { background: #FFF3E6; color: #e0552e; }

.portal-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.portal-card-desc {
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 1.4em;
}

.portal-empty-state {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 48px 0;
}

.portal-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
}

.portal-footer-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.portal-footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.portal-footer-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.portal-footer-copy {
  color: #9b9ba5;
  font-size: 0.76rem;
  margin: 0;
}

/* ---- Halaman Login Webmail (Roundcube) ---- */
.webmail-body {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.webmail-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 20px;
}

.webmail-card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.webmail-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8e8ec 0%, #ffffff 55%, #38b6e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #1a4a63;
  margin-bottom: 30px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

.webmail-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.webmail-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.webmail-field-icon {
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F2F3F5;
  color: #4a4a55;
  font-size: 1rem;
}

.webmail-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.webmail-input:focus {
  background: #FAFBFF;
}

.webmail-login-btn {
  width: 100%;
  border: none;
  background: #38b6e8;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 13px 0;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 4px;
  transition: background-color .15s ease;
}

.webmail-login-btn:hover {
  background: #1fa2d6;
}

.webmail-caption {
  margin-top: 20px;
  color: #9b9ba5;
  font-size: 0.88rem;
}

.webmail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-purple);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.webmail-back-link:hover {
  text-decoration: underline;
}

/* ---- Halaman Login E-Master (BKD Jatim) ---- */
.emaster-body {
  background: #ffffff;
}

.emaster-header {
  background: #14181f;
  padding: 16px 0 0;
}

.emaster-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
}

.emaster-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.emaster-header-brand i {
  font-size: 1.5rem;
  color: #f5b400;
}

.emaster-header-welcome {
  color: #b9bdc7;
  font-size: 0.88rem;
}

.emaster-header-welcome strong {
  color: #ffffff;
}

.emaster-header-accent {
  height: 4px;
  background: linear-gradient(90deg, #f5b400 0%, #f5941f 100%);
}

.emaster-main {
  background: #1560d6;
  min-height: calc(100vh - 60px);
  padding: 60px 0 80px;
  display: flex;
  align-items: center;
}

.emaster-login-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.emaster-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.emaster-subtitle {
  color: #dce8fb;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.emaster-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.emaster-card-tab {
  background: linear-gradient(90deg, #4a9eea 0%, #1560d6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  display: inline-block;
}

.emaster-card-body {
  padding: 28px 28px 32px;
}

.emaster-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #ffffff;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3c4043;
  cursor: pointer;
  margin-bottom: 26px;
  transition: box-shadow .15s ease;
}

.emaster-google-btn:hover {
  box-shadow: 0 2px 8px rgba(20, 20, 40, 0.12);
}

.emaster-google-icon {
  width: 20px;
  height: 20px;
}

.emaster-form-group {
  margin-bottom: 18px;
}

.emaster-form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.emaster-input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .15s ease;
}

.emaster-input:focus {
  border-color: #1560d6;
}

.emaster-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.emaster-login-btn {
  background: #eef0f4;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .15s ease;
}

.emaster-login-btn:hover {
  background: #e2e5eb;
}

.emaster-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 22px;
}

.emaster-back-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* ---- Responsif: Portal, Webmail, E-Master ---- */
@media (max-width: 767.98px) {
  .portal-header-inner {
    justify-content: center;
    text-align: center;
  }

  .portal-search-card {
    margin-top: -22px;
    padding: 22px 18px;
  }

  .portal-search-box {
    flex-direction: column;
  }

  .portal-search-btn {
    padding: 12px 0;
    justify-content: center;
  }

  .portal-card {
    padding: 14px 12px;
  }

  .portal-card-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .portal-card-title {
    font-size: 0.84rem;
  }

  .portal-card-desc {
    font-size: 0.7rem;
  }

  .webmail-card {
    max-width: 100%;
  }

  .webmail-logo {
    width: 76px;
    height: 76px;
    font-size: 1.9rem;
    margin-bottom: 22px;
  }

  .emaster-main {
    padding: 40px 0 56px;
  }

  .emaster-title {
    font-size: 1.5rem;
  }

  .emaster-card-body {
    padding: 22px 18px 26px;
  }

  .emaster-form-actions {
    justify-content: stretch;
  }

  .emaster-login-btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .portal-grid-section .col-6 {
    width: 50%;
  }
}

/* =========================================================
   HALAMAN KONTAK — Informasi Kontak & Lokasi
   ========================================================= */

.kontak-section {
  background: #ffffff;
  padding: 64px 0 80px;
}

.kontak-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.kontak-info-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.kontak-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kontak-info-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF0FB;
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.kontak-info-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.kontak-info-body p {
  color: var(--brand-purple);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0 0 2px;
}

.kontak-info-body p:last-child {
  margin-bottom: 0;
}

.kontak-map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.08);
  height: 100%;
  min-height: 360px;
}

.kontak-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* ---- Responsif: Halaman Kontak ---- */
@media (max-width: 991.98px) {
  .kontak-map-card {
    min-height: 320px;
  }

  .kontak-map-card iframe {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .kontak-section {
    padding: 40px 0 56px;
  }

  .kontak-col-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .kontak-info-list {
    gap: 20px;
    margin-bottom: 8px;
  }

  .kontak-map-card,
  .kontak-map-card iframe {
    min-height: 280px;
  }
}

/* =========================================================
   HALAMAN PROFIL: SEJARAH, VISI & MISI, SDM
   ========================================================= */

.profil-content-section {
  background: #ffffff;
  padding: 56px 0 72px;
}

.profil-content-card {
  max-width: 860px;
  margin: 0 auto;
}

.profil-content-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.profil-content-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.profil-content-card p:last-child {
  margin-bottom: 0;
}

/* Kartu statistik SDM di atas latar putih (bukan gradasi ungu) */
.sdm-stat-card {
  background: #F1EDFE;
  border: 1px solid #E4DDFB;
}

.sdm-stat-card .stat-number {
  color: var(--brand-purple);
}

.sdm-stat-card .stat-label {
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .profil-content-section {
    padding: 36px 0 52px;
  }

  .profil-content-card h2 {
    font-size: 1.2rem;
  }
}

/* =========================================================
   DROPDOWN 3 TINGKAT — KOMPETENSI KEAHLIAN
   (Menu > Jurusan > Profil/Kurikulum/Guru/Galeri)
   ========================================================= */

/* ---- Desktop: flyout submenu ke samping ---- */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dropdown-submenu-toggle i {
  font-size: 0.7rem;
  color: #9b9ba5;
  flex-shrink: 0;
}

.dropdown-submenu-toggle:hover i,
.dropdown-submenu-toggle:focus i {
  color: var(--brand-purple);
}

.nav-dropdown-submenu {
  position: absolute;
  top: -8px;
  left: 100%;
  margin: 0;
  padding-left: 10px;
  display: none;
  min-width: 200px;
  z-index: 10;
  background: transparent;
  box-shadow: none;
  border: none;
}

.nav-dropdown-submenu::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20, 20, 40, 0.12);
  z-index: -1;
}

.nav-dropdown-submenu .nav-dropdown-item {
  position: relative;
  z-index: 1;
}

.nav-dropdown-submenu.show,
.dropdown-submenu:focus-within > .nav-dropdown-submenu {
  display: block;
}

/* Jaga-jaga agar flyout tidak terpotong di tepi kanan layar pada dropdown lebar */
.nav-dropdown-menu-wide .dropdown-submenu {
  position: relative;
}

/* ---- Mobile: nested collapse (level ke-3) ---- */
.mobile-has-subsubmenu {
  margin-left: 0;
}

.mobile-subsubmenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 4px 10px 14px;
  border-bottom: 1px solid var(--border-light);
  color: #5a5a66;
  font-weight: 500;
  font-size: 0.92rem;
  text-align: left;
}

.mobile-subsubmenu-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.mobile-subsubmenu-toggle i {
  font-size: 0.7rem;
  color: #9b9ba5;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.mobile-subsubmenu-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 26px;
  background: #FAFAFC;
}

.mobile-subsubmenu-list li a {
  display: block;
  padding: 9px 4px;
  color: #6b6b76;
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-subsubmenu-list li:last-child a {
  border-bottom: none;
}

.mobile-subsubmenu-list li a:hover {
  color: var(--brand-purple);
}

/* ---- Responsif: pastikan flyout desktop tidak dipakai di layar sempit ---- */
@media (max-width: 991.98px) {
  .nav-dropdown-submenu {
    position: static;
    box-shadow: none;
    margin-left: 0;
    margin-top: 4px;
    padding-left: 8px;
  }
}

/* =========================================================
   HALAMAN SUB-JURUSAN: KURIKULUM, GURU PENGAJAR, GALERI
   ========================================================= */

.jurusansub-section {
  background: #ffffff;
  padding: 48px 0 72px;
}

.jurusansub-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 26px;
}

/* ---- Kurikulum: daftar mata pelajaran ---- */
.jurusansub-mapel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.jurusansub-mapel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(20, 20, 40, 0.04);
}

.jurusansub-mapel-number {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand-purple);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jurusansub-mapel-name {
  color: var(--text-dark);
  font-size: 0.94rem;
  font-weight: 500;
}

/* ---- Guru Pengajar: kartu guru ---- */
.jurusansub-guru-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.05);
}

.jurusansub-guru-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EEF0FB;
  color: var(--brand-purple);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.jurusansub-guru-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.jurusansub-guru-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ---- Galeri jurusan: grid foto ---- */
.jurusansub-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 2px 10px rgba(20, 20, 40, 0.06);
}

.jurusansub-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Highlight item aktif di submenu mobile level-3 */
.mobile-subsubmenu-active {
  color: var(--brand-purple) !important;
  font-weight: 600;
}

/* ---- Responsif ---- */
@media (max-width: 767.98px) {
  .jurusansub-section {
    padding: 32px 0 52px;
  }

  .jurusansub-heading {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }

  .jurusansub-guru-card {
    padding: 20px 16px;
  }
}

/* =========================================================
   KOMPONEN: KONTEN HALAMAN "TULIS" (gambar + rich text CMS)
   File terpisah, class prefix "tlsKonten-" (khusus, tidak bentrok)
   Bergantung pada CSS variables dari style.css utama:
   --brand-purple, --text-dark, --text-muted, --border-light,
   --font-display, --font-body
   ========================================================= */

.tlsKonten-wrap {
  font-family: var(--font-nunito, inherit);
  color: var(--text-muted, #6b6b76);
  line-height: 1.625;
}

/* ---- Gambar (float di sisi kiri, teks membungkus di sisinya) ---- */
.tlsKonten-image {
  float: left;
  width: 320px;
  max-width: 45%;
  height: auto;
  border-radius: 14px;
  margin: 4px 24px 16px 0;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.08);
}

/* ---- Wrapper konten rich text ---- */
.tlsKonten-body {
  font-size: 16px;
}

.tlsKonten-body > *:first-child {
  margin-top: 0;
}

.tlsKonten-body > *:last-child {
  margin-bottom: 0;
}

.tlsKonten-body p {
  margin: 0 0 16px;
  color: var(--text-muted, #55555f);
  line-height: 1.75;
}

.tlsKonten-body h1,
.tlsKonten-body h2,
.tlsKonten-body h3,
.tlsKonten-body h4 {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--text-dark, #1c1c22);
  line-height: 1.35;
  margin: 24px 0 12px;
}

.tlsKonten-body ul,
.tlsKonten-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-muted, #55555f);
}

.tlsKonten-body li {
  margin-bottom: 6px;
}

.tlsKonten-body a {
  color: var(--brand-purple, #5B3FE0);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tlsKonten-body a:hover {
  color: var(--brand-purple-dark, #4229c9);
}

.tlsKonten-body blockquote {
  border-left: 3px solid var(--brand-purple, #5B3FE0);
  background: #F7F7FB;
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  margin: 0 0 16px;
  color: var(--text-dark, #1c1c22);
  font-style: italic;
}

.tlsKonten-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
  display: block;
}

.tlsKonten-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 0.9rem;
}

.tlsKonten-body table th,
.tlsKonten-body table td {
  border: 1px solid var(--border-light, #ECECF1);
  padding: 8px 12px;
  text-align: left;
}

.tlsKonten-body table th {
  background: #F7F7FB;
  font-weight: 700;
  color: var(--text-dark, #1c1c22);
}

/* Ketika tidak ada gambar (tampil penuh tanpa float) */
.tlsKonten-body-full {
  width: 100%;
}

/* ---- Responsif: gambar full-width di atas teks pada mobile ---- */
@media (max-width: 767.98px) {
  .tlsKonten-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
  }
}

/* =========================================================
   KOMPONEN: GRID KARTU BERITA
   File terpisah, class prefix "brtCard-" (khusus, tidak bentrok)
   Variabel warna mengacu ke style.css utama jika tersedia:
   --brand-purple, --text-dark, --text-muted, --border-light
   ========================================================= */

.brtCard {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brtCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.12);
}

.brtCard-imgWrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.brtCard:hover .brtCard-img {
  transform: scale(1.06);
}

.brtCard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brtCard-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brtCard-title a {
  color: var(--text-dark, #1c1c22);
  text-decoration: none;
}

.brtCard-title a:hover {
  color: var(--brand-purple, #5B3FE0);
}

.brtCard-preview {
  color: var(--text-muted, #6b6b76);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brtCard-meta {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border-light, #ECECF1);
}

.brtCard-meta li {
  font-size: 0.82rem;
  color: #8a8a9a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brtCard-meta a {
  color: #8a8a9a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brtCard-meta a:hover {
  color: var(--brand-purple, #5B3FE0);
}

.brtCard-meta i {
  font-size: 0.9rem;
  color: var(--brand-purple, #5B3FE0);
}

/* ---- Responsif ---- */
@media (max-width: 767.98px) {
  .brtCard-imgWrap {
    height: 180px;
  }

  .brtCard-body {
    padding: 16px 18px 18px;
  }
}

/* =========================================================
   KOMPONEN: DETAIL BERITA (konten utama + sidebar + share)
   File terpisah, prefix class "brtDetail-" dan "brtDetailSide-"
   Variabel warna mengacu ke style.css utama jika tersedia:
   --brand-purple, --text-dark, --text-muted, --border-light,
   --font-display, --font-body
   ========================================================= */

/* ---- Judul & Meta ---- */
.brtDetail-title h2 {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--text-dark, #1c1c22);
  line-height: 1.35;
  margin: 0 0 14px;
}

.brtDetail-meta ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
  padding: 0;
}

.brtDetail-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: #8a8a9a;
}

.brtDetail-meta li a {
  color: #8a8a9a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brtDetail-meta li a:hover {
  color: var(--brand-purple, #5B3FE0);
}

.brtDetail-meta i {
  color: var(--brand-purple, #5B3FE0);
  font-size: 0.95rem;
}

/* ---- Gambar utama ---- */
.brtDetail-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.08);
}

.brtDetail-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Isi berita (rich text dari CMS) ---- */
.brtDetail-body {
  font-family: var(--font-body, inherit);
  color: var(--text-muted, #55555f);
  font-size: 0.98rem;
  line-height: 1.8;
}

.brtDetail-body p {
  margin: 0 0 16px;
}

.brtDetail-body h1,
.brtDetail-body h2,
.brtDetail-body h3,
.brtDetail-body h4 {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--text-dark, #1c1c22);
  margin: 24px 0 12px;
}

.brtDetail-body ul,
.brtDetail-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.brtDetail-body li {
  margin-bottom: 6px;
}


.brtDetail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}

.brtDetail-body blockquote {
  border-left: 3px solid var(--brand-purple, #5B3FE0);
  background: #F7F7FB;
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  margin: 0 0 16px;
  font-style: italic;
  color: var(--text-dark, #1c1c22);
}

/* ---- Kartu Share ---- */
.brtDetail-shareCard {
  border: 1px solid var(--border-light, #ECECF1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.brtDetail-shareLabel {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark, #1c1c22);
  margin: 0;
}

.brtDetail-shareIcons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brtDetail-shareBtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  transition: transform .15s ease, opacity .15s ease;
}

.brtDetail-shareBtn:hover {
  transform: translateY(-3px);
  opacity: 0.92;
  color: #ffffff;
}

.brtDetail-shareBtn.brtDetail-shareFacebook { background: #1877F2; }
.brtDetail-shareBtn.brtDetail-shareTwitter { background: #000000; }
.brtDetail-shareBtn.brtDetail-shareWhatsapp { background: #25D366; }

/* ---- Sidebar: Widget Berita Terbaru ---- */
.brtDetailSide-widget {
  border: 1px solid var(--border-light, #ECECF1);
  border-radius: 14px;
  padding: 22px 20px;
}

.brtDetailSide-widget h4 {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark, #1c1c22);
  margin: 0 0 18px;
}

.brtDetailSide-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light, #ECECF1);
}

.brtDetailSide-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.brtDetailSide-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

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

.brtDetailSide-content {
  flex: 1;
  min-width: 0;
}

.brtDetailSide-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brtDetailSide-title a {
  color: var(--text-dark, #1c1c22);
  text-decoration: none;
}

.brtDetailSide-title a:hover {
  color: var(--brand-purple, #5B3FE0);
}

.brtDetailSide-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #9b9ba5;
  margin: 0;
}

.brtDetailSide-meta i {
  color: var(--brand-purple, #5B3FE0);
}

/* ---- Responsif ---- */
@media (max-width: 991.98px) {
  .brtDetailSide-widget {
    margin-top: 32px;
  }
}

@media (max-width: 767.98px) {
  .brtDetail-title h2 {
    font-size: 1.35rem;
  }

  .brtDetail-shareCard {
    justify-content: flex-start;
  }
}

/* =========================================================
   KOMPONEN: PENGUMUMAN (list card + detail)
   File terpisah, prefix class "pgmCard-", "pgmDetail-", "pgmEmpty"
   Variabel warna mengacu ke style.css utama jika tersedia:
   --brand-purple, --text-dark, --text-muted, --border-light,
   --font-display, --font-body
   ========================================================= */

/* ---- Kartu list pengumuman ---- */
.pgmCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.07);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pgmCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 20, 40, 0.12);
  text-decoration: none;
}

.pgmCard-imgWrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

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

.pgmCard:hover .pgmCard-img {
  transform: scale(1.06);
}

.pgmCard-dateBadge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(20, 20, 40, 0.14);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pgmCard-dateDay {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brand-purple, #305CDE);
  white-space: nowrap;
}

.pgmCard-dateYear {
  font-size: 0.7rem;
  color: #9b9ba5;
}

.pgmCard-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pgmCard-title {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark, #26262B);
  line-height: 1.4;
  margin: 0 0 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pgmCard-link {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-purple, #305CDE);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pgmCard-link i {
  font-size: 0.8rem;
  transition: transform .15s ease;
}

.pgmCard:hover .pgmCard-link i {
  transform: translateX(3px);
}

/* ---- Pagination wrapper ---- */
.pgmPagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---- Empty state ---- */
.pgmEmpty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-muted, #46464F);
}

.pgmEmpty i {
  font-size: 2.2rem;
  color: #b5b5c0;
  margin-bottom: 14px;
  display: inline-block;
}

.pgmEmpty p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---- Halaman detail pengumuman ---- */
.pgmDetail-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9b9ba5;
  font-size: 0.85rem;
  margin: 0 0 10px;
}

.pgmDetail-meta i {
  color: var(--brand-purple, #305CDE);
}

.pgmDetail-title {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-dark, #26262B);
  line-height: 1.35;
  margin: 0 0 22px;
}

 
.pgmDetail-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 4px 16px rgba(20, 20, 40, 0.08);
}
 
.pgmDetail-image img {
  width: 100%;
  height: auto;
  display: block;
}
 

.pgmDetail-body {
  font-family: var(--font-nunito);
  color: var(--text-muted, #46464F);
  font-size: 0.98rem;
  line-height: 1.8;
}

.pgmDetail-body p {
  margin: 0 0 16px;
}

.pgmDetail-body h1,
.pgmDetail-body h2,
.pgmDetail-body h3,
.pgmDetail-body h4 {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--text-dark, #26262B);
  margin: 24px 0 12px;
}

.pgmDetail-body ul,
.pgmDetail-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.pgmDetail-body a {
  color: var(--brand-purple, #305CDE);
  text-decoration: underline;
}

.pgmDetail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 12px 0;
}

.pgmDetail-fileBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: var(--brand-purple, #305CDE);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.pgmDetail-fileBtn:hover {
  background: var(--brand-purple-dark, #2B52C4);
  color: #ffffff;
}

.pgmDetail-fileBtn i {
  font-size: 1.05rem;
}

/* ---- Sidebar: Pengumuman Lainnya ---- */
.pgmDetailSide {
  border: 1px solid var(--border-light, #ECECF1);
  border-radius: 14px;
  padding: 22px 20px;
}

.pgmDetailSide-heading {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark, #26262B);
  margin: 0 0 18px;
}

.pgmDetailSide-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light, #ECECF1);
}

.pgmDetailSide-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pgmDetailSide-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

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

.pgmDetailSide-content {
  flex: 1;
  min-width: 0;
}

.pgmDetailSide-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark, #26262B);
  margin: 0 0 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pgmDetailSide-item:hover .pgmDetailSide-title {
  color: var(--brand-purple, #305CDE);
}

.pgmDetailSide-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #9b9ba5;
  margin: 0;
  font-family: var(--font-nunito);
}

.pgmDetailSide-date i {
  color: var(--brand-purple, #305CDE);
}

.pgmDetailSide-empty {
  color: var(--text-muted, #46464F);
  font-size: 0.88rem;
  margin: 0;
}

/* ---- Responsif ---- */
@media (max-width: 991.98px) {
  .pgmDetailSide {
    margin-top: 8px;
  }
}

@media (max-width: 767.98px) {
  .pgmCard-imgWrap {
    height: 170px;
  }

  .pgmDetail-title {
    font-size: 1.3rem;
  }

  .pgmDetail-fileBtn {
    width: 100%;
    justify-content: center;
  }
}


.pgmShare-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border: 1px solid var(--border-light, #ECECF1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}
 
.pgmShare-label {
  font-family: var(--font-display, inherit);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark, #26262B);
  margin: 0;
}
 
.pgmShare-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.pgmShare-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  transition: transform .15s ease, opacity .15s ease;
}
 
.pgmShare-btn:hover {
  transform: translateY(-3px);
  opacity: 0.92;
  color: #ffffff;
}
 
.pgmShare-btn.pgmShare-facebook { background: #1877F2; }
.pgmShare-btn.pgmShare-twitter { background: #000000; }
.pgmShare-btn.pgmShare-whatsapp { background: #25D366; }
 
@media (max-width: 767.98px) {
  .pgmShare-card {
    justify-content: flex-start;
  }
}

/* =========================================================
   KOMPONEN: KALENDER AKADEMIK (detail acara + kalender tahunan)
   File terpisah, prefix class "kal-"
   Variabel warna mengacu ke style.css utama jika tersedia:
   --brand-purple, --brand-purple-dark, --text-dark, --text-muted,
   --border-light, --font-display, --font-body
   ========================================================= */

/* ---- Tombol umum ---- */
.kal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease;
}

.kal-btn-primary {
  background: var(--brand-purple, #305CDE);
  color: #ffffff;
}

.kal-btn-primary:hover {
  background: var(--brand-purple-dark, #2B52C4);
  color: #ffffff;
}

/* =========================================================
   MODE DETAIL ACARA
   ========================================================= */

.kal-detail-title {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--text-dark, #26262B);
  margin-bottom: 18px;
}

.kal-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #ECECF1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}

.kal-detail-image {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
}

.kal-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.kal-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.kal-detail-table td {
  padding: 8px;
  color: var(--text-muted, #46464F);
  font-size: 0.95rem;
  vertical-align: top;
}

.kal-detail-label {
  font-weight: 700;
  color: var(--text-dark, #26262B);
  width: 150px;
}

.kal-detail-colon {
  width: 12px;
}

.kal-detail-desc {
  /*min-height: 120px;*/
  color: var(--text-muted, #46464F);
  font-family: var(--font-body, inherit);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.kal-detail-actions {
  display: flex;
  justify-content: flex-start;
}

.kal-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted, #46464F);
}

/* =========================================================
   MODE KALENDER TAHUNAN
   ========================================================= */

.kal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.kal-year-title {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--text-dark, #26262B);
  margin: 0;
}

.kal-month {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light, #ECECF1);
}

.kal-month:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.kal-month-title {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  color: var(--brand-purple, #305CDE);
  margin-bottom: 14px;
}

/* ---- Tabel kalender mini per bulan ---- */
.kal-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border-light, #ECECF1);
}

.kal-table-header th {
  background: #F7F7FB;
  color: var(--text-dark, #26262B);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid var(--border-light, #ECECF1);
}

.kal-day {
  border: 1px solid var(--border-light, #ECECF1);
  text-align: center;
  vertical-align: middle;
  height: 34px;
  font-size: 0.85rem;
  color: var(--text-dark, #26262B);
}

.kal-day-empty {
  background: #FAFAFC;
}

.kal-day-event {
  background: #FCE4E4;
  color: #B3261E;
}

/* ---- Daftar kegiatan per bulan ---- */
.kal-event-heading {
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark, #26262B);
  margin-bottom: 12px;
}

.kal-event-list {
  list-style: square;
  padding-left: 20px;
  margin: 0;
}

.kal-event-item {
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-muted, #46464F);
  line-height: 1.55;
}

.kal-event-link {
  color: var(--text-muted, #46464F);
  text-decoration: none;
}

.kal-event-link:hover {
  color: var(--brand-purple, #305CDE);
}

.kal-event-link strong {
  color: var(--text-dark, #26262B);
}

.kal-event-date {
  color: #9b9ba5;
  font-size: 0.86rem;
}

/* =========================================================
   MODE CETAK / DOWNLOAD (menggantikan <style> inline lama)
   ========================================================= */
@media print {
  body * {
    visibility: hidden; /* Sembunyikan semua elemen */
  }

  .calendar-wrapper,
  .calendar-wrapper * {
    visibility: visible; /* Tampilkan calendar-wrapper */
  }

  .calendar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-print-color-adjust: exact; /* Memaksa warna di Chrome */
    print-color-adjust: exact; /* Untuk browser lain */
  }

  .kal-day-event {
    background-color: #f8d7da !important; /* Pastikan warna untuk sel acara saat dicetak */
  }

  #downloadBtn,
  .kal-toolbar {
    display: none !important;
  }
}

/* ---- Responsif ---- */
@media (max-width: 767.98px) {
  .kal-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .kal-detail-label {
    width: 100px;
  }

  .kal-day {
    font-size: 0.76rem;
    height: 28px;
  }
}
 