/* =========================================================
   SD Cendekia Nusantara - Custom Styles
   ========================================================= */

:root {
  --navy: #0d3b73;
  --navy-dark: #082a52;
  --blue: #1e6fd9;
  --blue-light: #2e8bf0;
  --orange: #f5a623;
  --orange-dark: #d98c12;
  --green: #1fa35a;
  --purple: #7b5cd6;
  --pink: #e0507a;
  --text-muted: #6b7a8d;
  --bg-soft: #f4f8fc;
  --radius-lg: 18px;
  --radius-md: 12px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: #26344a;
  background: #ffffff;
}

a { text-decoration: none; }

img { max-width: 100%; display: block; }

.section-title {
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading .deco-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  vertical-align: middle;
  margin: 0 12px 6px;
}

/* ---------- Navbar ---------- */
.navbar-school {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 0.6rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-school .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-school .navbar-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.navbar-school .brand-text .brand-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}

.navbar-school .brand-text .brand-sub {
  color: #bcd3ee;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
}

.navbar-school .nav-link {
  color: #e8f0fb !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.navbar-school .nav-link.active,
.navbar-school .nav-item.active .nav-link {
  background: var(--blue);
  border-radius: 30px;
  color: #fff !important;
}

.navbar-school .nav-link:hover {
  color: #ffffff !important;
}

.navbar-school .btn-search {
  color: #e8f0fb;
  border: none;
  background: transparent;
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(180deg, #eaf3ff 0%, #ffffff 100%);
  padding: 3.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-weight: 400;
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.hero-section h2 {
  font-weight: 800;
  color: var(--navy);
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-section p.lead-text {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 480px;
}

.btn-hero-primary {
  background: var(--blue);
  color: #fff;
  border-radius: 30px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-hero-primary:hover { background: var(--navy); color: #fff; }

.btn-hero-secondary {
  background: var(--orange);
  color: #fff;
  border-radius: 30px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-hero-secondary:hover { background: var(--orange-dark); color: #fff; }

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13,59,115,0.25);
}

.hero-photo-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
}

/* ---------- Feature strip (overlaps hero bottom) ---------- */
.feature-strip {
  margin-top: -4.5rem;
  position: relative;
  z-index: 5;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(13,59,115,0.08);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.feature-card h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.bg-icon-blue { background: var(--blue); }
.bg-icon-green { background: var(--green); }
.bg-icon-purple { background: var(--purple); }
.bg-icon-navy { background: var(--navy); }
.bg-icon-orange { background: var(--orange); }
.bg-icon-pink { background: var(--pink); }

/* ---------- Sambutan Kepala Sekolah ---------- */
.principal-section {
  padding: 4rem 0 2rem;
}

.principal-card {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.principal-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid rgba(255,255,255,0.5);
}

.principal-card .label {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

.principal-card blockquote {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.principal-card .principal-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.principal-card .principal-role {
  font-size: 0.8rem;
  opacity: 0.85;
}

.vision-mission-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  height: 100%;
}

.vision-mission-box.green { background: #eaf7ee; }

.vision-mission-box .vm-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.5rem;
}

.vision-mission-box h6 {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
}

.vision-mission-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Program Unggulan ---------- */
.program-section {
  padding: 3rem 0;
}

.program-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(13,59,115,0.08);
  background: #fff;
  height: 100%;
  transition: transform 0.2s;
}
.program-card:hover { transform: translateY(-6px); }

.program-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.program-card .program-body {
  padding: 1rem 1rem 1.2rem;
  position: relative;
}

.program-card h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.program-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.program-dot {
  position: absolute;
  bottom: -16px;
  left: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy) 100%);
  padding: 2rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-bar .stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.stats-bar .stat-icon {
  font-size: 1.8rem;
  opacity: 0.9;
}

.stats-bar .stat-value {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
}

.stats-bar .stat-label {
  font-size: 0.82rem;
  opacity: 0.9;
}

/* ---------- Berita & Galeri ---------- */
.news-gallery-section {
  padding: 3.5rem 0;
  background: var(--bg-soft);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.panel-heading h4 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
}

.panel-heading a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}

.news-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.7rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(13,59,115,0.05);
}

.news-item img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
}

.news-item .news-thumb { flex: none; border-radius: 10px; overflow: hidden; }
.news-item .news-thumb img { transition: transform 0.35s ease; }
.news-item:hover .news-thumb img { transform: scale(1.06); }

.news-item .news-date {
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-bottom: 0.2rem;
}

.news-item h6 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.news-item a.read-more {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 600;
}

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

.gallery-grid img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(13,59,115,0.08);
  transition: transform 0.2s;
}

.gallery-grid img:hover { transform: scale(1.04); }

/* ---------- Detail Artikel ---------- */
.article-page {
  padding: 2.5rem 0 4.5rem;
  background: var(--bg-soft);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.article-breadcrumb a { color: var(--blue); }
.article-breadcrumb i { font-size: 0.65rem; }

.article-card {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 35px rgba(13,59,115,0.09);
}

.article-header { padding: 2.5rem 3rem 2rem; }

.article-category {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 30px;
  background: #eaf3ff;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.article-header h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.article-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--text-muted); font-size: 0.8rem; }
.article-meta i { margin-right: 0.3rem; color: var(--orange); }
.article-cover { width: 100%; height: 430px; object-fit: cover; }

.article-content { padding: 2.3rem 3rem; font-family: 'Segoe UI', Arial, sans-serif; font-size: 1.05rem; line-height: 1.85; }
.article-content p { margin-bottom: 1.35rem; }
.article-content .article-lead { color: #344861; font-size: 1.15rem; font-weight: 500; }
.article-content h2 { margin: 2rem 0 0.8rem; color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; }
.article-content blockquote { margin: 1.8rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--orange); background: #fff8e9; color: #42536a; font-style: italic; }

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 3rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid #e6edf5;
}

.btn-back { color: var(--blue); font-size: 0.85rem; font-weight: 700; }
.article-share { display: flex; align-items: center; gap: 0.65rem; color: var(--text-muted); font-size: 0.8rem; }
.article-share a { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; }

@media (max-width: 576px) {
  .article-page { padding: 1.5rem 0 3rem; }
  .article-header, .article-content { padding: 1.5rem; }
  .article-cover { height: 240px; }
  .article-content { font-size: 1rem; }
  .article-footer { align-items: flex-start; flex-direction: column; margin: 0 1.5rem; }
}

/* ---------- Detail Artikel v2 ---------- */
.article-page { padding: 2rem 0 5rem; background: linear-gradient(180deg, #f2f7fc 0, #fff 520px); }
.article-shell { max-width: 1120px; }
.article-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.6rem; color: #8290a2; font-size: .76rem; }
.article-breadcrumb a { color: #52647a; }
.article-breadcrumb i { font-size: .58rem; color: #a9b4c1; }
.article-hero-copy { max-width: 900px; margin-bottom: 2.2rem; }
.article-category { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.15rem; padding: .45rem .85rem; border-radius: 99px; background: #e3efff; color: var(--blue); font-size: .75rem; font-weight: 700; }
.article-category i { color: var(--orange); }
.article-hero-copy h1 { margin: 0; color: var(--navy-dark); font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.article-hero-copy > p { max-width: 720px; margin: 1.2rem 0 1.35rem; color: #64758a; font-size: 1.05rem; line-height: 1.7; }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; color: #77879a; font-size: .78rem; }
.article-meta i { margin-right: .35rem; color: var(--blue); }
.article-figure { margin: 0; }
.article-figure img { width: 100%; aspect-ratio: 16/8.3; border-radius: 24px; object-fit: cover; box-shadow: 0 24px 60px rgba(8,42,82,.15); }
.article-figure figcaption { padding: .7rem .25rem 0; color: #929dad; font-size: .7rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 710px) 310px; justify-content: center; gap: 3.5rem; padding-top: 3.5rem; }
.article-content { padding: 0; color: #34465b; font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; line-height: 1.95; }
.article-content p { margin-bottom: 1.45rem; }
.article-content .article-lead { color: #23364d; font-size: 1.2rem; font-weight: 400; line-height: 1.85; }
.article-lead > span { float: left; margin: .12rem .5rem 0 0; color: var(--blue); font-family: 'Poppins', sans-serif; font-size: 3.7rem; font-weight: 800; line-height: .8; }
.article-content h2 { margin: 2.5rem 0 1rem; color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 1.55rem; font-weight: 700; line-height: 1.4; }
.article-content blockquote { position: relative; margin: 2.3rem 0; padding: 2rem 2.2rem; overflow: hidden; border: 0; border-radius: 18px; background: var(--navy); color: #fff; font-family: 'Poppins', sans-serif; font-style: normal; }
.article-content blockquote > i { position: absolute; top: -.9rem; right: 1rem; color: rgba(255,255,255,.09); font-size: 6rem; }
.article-content blockquote p { position: relative; margin-bottom: .8rem; font-size: 1.05rem; font-weight: 600; line-height: 1.7; }
.article-content blockquote cite { color: #bcd3ee; font-size: .72rem; font-style: normal; }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid #e5ebf2; }
.article-tags span { padding: .35rem .7rem; border-radius: 7px; background: #f0f5fa; color: #53677e; font-family: 'Poppins', sans-serif; font-size: .7rem; font-weight: 600; }
.article-aside { align-self: start; position: sticky; top: 110px; }
.share-box { padding: 1.4rem; border: 1px solid #e1e9f2; border-radius: 16px; background: #fff; box-shadow: 0 10px 35px rgba(13,59,115,.06); }
.share-box strong { color: var(--navy); font-size: .9rem; }
.share-box p { margin: .45rem 0 1rem; color: #8492a3; font-size: .72rem; line-height: 1.6; }
.share-box > div { display: flex; gap: .55rem; }
.share-box a { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #edf4fc; color: var(--blue); transition: .2s; }
.share-box a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-back { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.2rem; color: var(--blue); font-size: .76rem; font-weight: 700; }

.sidebar-card { margin-top: 1rem; padding: 1.2rem; border: 1px solid #e1e9f2; border-radius: 16px; background: #fff; box-shadow: 0 10px 35px rgba(13,59,115,.05); }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.sidebar-title span { color: var(--navy); font-size: .86rem; font-weight: 700; }
.sidebar-title a { color: var(--blue); font-size: .65rem; font-weight: 600; }
.related-item { display: flex; gap: .75rem; padding: .85rem 0; border-top: 1px solid #edf1f6; }
.related-item img { width: 74px; height: 62px; flex: none; border-radius: 9px; object-fit: cover; }
.related-item span { display: flex; flex-direction: column; gap: .25rem; }
.related-item small { color: #929dad; font-size: .6rem; }
.related-item strong { color: #31455d; font-size: .7rem; font-weight: 650; line-height: 1.45; }
.category-card > a { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; border-top: 1px solid #edf1f6; color: #51657b; font-size: .72rem; }
.category-card > a span { display: flex; align-items: center; gap: .55rem; }
.category-card > a i { color: var(--blue); }
.category-card > a b { display: grid; min-width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #edf4fc; color: var(--blue); font-size: .62rem; }

.comments-section { margin-top: 4rem; padding-top: 2.2rem; border-top: 1px solid #dfe7f0; font-family: 'Poppins', sans-serif; }
.comments-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.comments-heading .eyebrow { color: var(--blue); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.comments-heading h3 { margin: .2rem 0 0; color: var(--navy); font-size: 1.35rem; font-weight: 750; }
.comments-heading > i { color: #d7e5f5; font-size: 2rem; }
.comment-list { display: grid; gap: 1rem; }
.comment-item { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid #e5ebf2; border-radius: 15px; background: #fff; transition: .2s; }
.comment-item:hover { border-color: #c8dbf1; box-shadow: 0 8px 24px rgba(13,59,115,.06); }
.comment-avatar { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 13px; color: #fff; font-size: .72rem; font-weight: 700; }
.avatar-blue { background: linear-gradient(135deg, #1e6fd9, #61a5f3); }
.avatar-orange { background: linear-gradient(135deg, #ed9219, #f7bd5b); }
.comment-body { flex: 1; }
.comment-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.comment-top strong { color: #263c55; font-size: .78rem; }
.comment-top time { color: #a0aaba; font-size: .62rem; }
.comment-body p { margin: .45rem 0 .55rem; color: #66778a; font-family: 'Poppins', sans-serif; font-size: .75rem; line-height: 1.65; }
.comment-body button { padding: 0; border: 0; background: none; color: var(--blue); font-size: .66rem; font-weight: 600; }
.comment-form { margin-top: 1.25rem; padding: 1.6rem; border-radius: 18px; background: #f1f6fb; }
.comment-form h4 { margin: 0; color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.comment-form > p { margin: .25rem 0 1.2rem; color: #8996a6; font-family: 'Poppins', sans-serif; font-size: .66rem; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.comment-form label { display: block; margin-bottom: .85rem; }
.comment-form label > span { display: block; margin-bottom: .35rem; color: #455a71; font-size: .68rem; font-weight: 600; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid #dce5ef; border-radius: 10px; outline: none; background: #fff; color: #34465b; font: 400 .75rem 'Poppins', sans-serif; transition: .2s; }
.comment-form input { height: 43px; padding: 0 .85rem; }
.comment-form textarea { padding: .8rem; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { border-color: #7bade8; box-shadow: 0 0 0 3px rgba(30,111,217,.09); }
.btn-comment { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 0; border-radius: 9px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 650; }
.btn-comment:hover { background: var(--navy); }

@media (max-width: 991px) {
  .article-layout { grid-template-columns: minmax(0, 720px); gap: 2.5rem; }
  .article-aside { position: static; }
  .share-box { max-width: 360px; }
}

@media (max-width: 576px) {
  .article-page { padding: 1.2rem 0 3.5rem; }
  .article-breadcrumb { margin-bottom: 1.8rem; }
  .article-hero-copy h1 { font-size: 2.2rem; }
  .article-hero-copy > p { font-size: .92rem; }
  .article-meta { flex-direction: column; gap: .55rem; }
  .article-figure img { aspect-ratio: 4/3; border-radius: 16px; }
  .article-layout { padding-top: 2rem; }
  .article-content { font-size: 1rem; line-height: 1.85; }
  .article-content .article-lead { font-size: 1.08rem; }
  .article-content blockquote { padding: 1.5rem; }
  .comment-form-row { grid-template-columns: 1fr; gap: 0; }
  .comment-item { padding: 1rem; }
  .comment-top { align-items: flex-start; flex-direction: column; gap: .15rem; }
}

/* ---------- Visi & Misi ---------- */
.vision-page { overflow: hidden; }
.vision-hero { position: relative; padding: 2rem 0 6rem; background: linear-gradient(130deg, #eff6fd 0%, #fff 58%, #fff7e6 100%); }
.vision-hero::after { position: absolute; right: -120px; bottom: -180px; width: 420px; height: 420px; border: 70px solid rgba(30,111,217,.05); border-radius: 50%; content: ''; }
.page-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: 4.5rem; color: #8492a4; font-size: .75rem; }
.page-breadcrumb a { color: #52647a; }
.page-breadcrumb i { color: #aab5c2; font-size: .58rem; }
.page-breadcrumb strong { color: var(--blue); font-weight: 600; }
.page-kicker { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-kicker i { color: var(--orange); }
.vision-hero h1 { max-width: 780px; margin: 0; color: var(--navy-dark); font-size: clamp(2.35rem, 5vw, 4.35rem); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.vision-hero h1 em { color: var(--blue); font-style: normal; }
.vision-hero .col-lg-7 > p { max-width: 680px; margin: 1.5rem 0 0; color: #66788e; font-size: 1rem; line-height: 1.8; }
.hero-principles { position: relative; z-index: 1; display: grid; gap: .8rem; padding: 1rem; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 24px 60px rgba(13,59,115,.1); backdrop-filter: blur(12px); }
.hero-principles > div { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 15px; transition: .2s; }
.hero-principles > div:hover { background: #f4f8fd; transform: translateX(4px); }
.hero-principles i { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border-radius: 14px; background: #e7f1fd; color: var(--blue); font-size: 1.2rem; }
.hero-principles div:nth-child(2) i { background: #fff0e3; color: #e59019; }
.hero-principles div:nth-child(3) i { background: #e8f7ef; color: var(--green); }
.hero-principles span { display: flex; flex-direction: column; }
.hero-principles b { color: var(--navy); font-size: .9rem; }
.hero-principles small { margin-top: .15rem; color: #8190a2; font-size: .7rem; }
.vision-statement-section { padding: 5rem 0; }
.vision-statement { display: grid; grid-template-columns: 210px 1fr; gap: 3rem; max-width: 1050px; margin: 0 auto; }
.statement-label { display: flex; flex-direction: column; padding-top: .4rem; }
.statement-label span { color: #cad7e5; font-size: 3.3rem; font-weight: 800; line-height: 1; }
.statement-label strong { margin-top: .4rem; color: var(--blue); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.statement-copy { position: relative; padding-left: 2rem; border-left: 3px solid var(--orange); }
.statement-copy > i { position: absolute; top: -2.5rem; right: 0; color: #edf3f9; font-size: 5rem; }
.statement-copy h2 { position: relative; margin: 0; color: var(--navy); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 650; line-height: 1.55; }
.mission-section { padding: 5rem 0; background: #f5f8fc; }
.section-intro { max-width: 620px; margin-bottom: 2.5rem; }
.section-intro > span { color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.section-intro h2 { margin: .6rem 0 .5rem; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 750; }
.section-intro p { margin: 0; color: #78889b; font-size: .85rem; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mission-card { position: relative; min-height: 250px; padding: 1.7rem; overflow: hidden; border: 1px solid #e4ebf3; border-radius: 18px; background: #fff; transition: .25s; }
.mission-card:hover { border-color: #c2d8f1; box-shadow: 0 16px 40px rgba(13,59,115,.09); transform: translateY(-5px); }
.mission-card > i { display: grid; width: 46px; height: 46px; margin-bottom: 1.4rem; place-items: center; border-radius: 13px; background: #eaf3fd; color: var(--blue); font-size: 1.15rem; }
.mission-number { position: absolute; top: .5rem; right: 1rem; color: #f0f4f8; font-size: 3.5rem; font-weight: 800; line-height: 1; }
.mission-card h3 { position: relative; margin-bottom: .65rem; color: var(--navy); font-size: 1rem; font-weight: 700; }
.mission-card p { position: relative; margin: 0; color: #748497; font-size: .76rem; line-height: 1.75; }
.values-section { padding: 4.5rem 0; }
.values-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 3.5rem; border-radius: 24px; background: linear-gradient(125deg, var(--navy-dark), #12599c); box-shadow: 0 20px 50px rgba(8,42,82,.18); }
.page-kicker.light { margin-bottom: .6rem; color: #91c2fb; }
.values-panel h2 { max-width: 520px; margin: 0; color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 750; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; }
.values-list span { display: flex; align-items: center; gap: .5rem; color: #e6f1ff; font-size: .78rem; font-weight: 600; }
.values-list i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--orange); }

@media (max-width: 991px) {
  .vision-hero { padding-bottom: 4rem; }
  .page-breadcrumb { margin-bottom: 3rem; }
  .vision-statement { grid-template-columns: 140px 1fr; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .values-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 576px) {
  .vision-hero { padding-top: 1.2rem; }
  .page-breadcrumb { margin-bottom: 2.2rem; }
  .vision-hero h1 { font-size: 2.35rem; }
  .vision-statement-section, .mission-section { padding: 3.5rem 0; }
  .vision-statement { grid-template-columns: 1fr; gap: 1.3rem; }
  .statement-label { flex-direction: row; align-items: center; gap: .7rem; }
  .statement-label span { font-size: 2rem; }
  .statement-copy { padding-left: 1.2rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: auto; }
  .values-section { padding: 3rem 0; }
  .values-panel { padding: 2rem 1.5rem; }
  .values-list { grid-template-columns: 1fr; }
}

/* ---------- Arsip Berita ---------- */
.news-page { background: #fff; }
.news-page-hero { padding: 2rem 0 4.5rem; background: linear-gradient(135deg, #eef6ff, #fff 65%); }
.news-page-hero .page-breadcrumb { margin-bottom: 3.5rem; }
.news-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.news-hero-row h1 { margin: 0; color: var(--navy-dark); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.news-hero-row > div > p { max-width: 610px; margin: 1rem 0 0; color: #718196; font-size: .92rem; line-height: 1.75; }
.news-search { display: flex; align-items: center; width: min(100%, 430px); flex: none; padding: .42rem; border: 1px solid #dbe6f1; border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgba(13,59,115,.08); }
.news-search > i { margin: 0 .7rem; color: #8a99ab; }
.news-search input { min-width: 0; height: 42px; flex: 1; border: 0; outline: 0; color: #34465b; font-size: .76rem; }
.news-search > a { display: grid; width: 30px; place-items: center; color: #a0acba; }
.news-search button { height: 42px; padding: 0 1.15rem; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-size: .73rem; font-weight: 650; }
.news-list-section { min-height: 500px; padding: 3.5rem 0 5rem; }
.news-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e6ecf3; }
.news-results-bar p { margin: 0; color: #697a8e; font-size: .8rem; }
.news-results-bar strong { color: var(--navy); }
.news-results-bar > span { color: #8c99a8; font-size: .7rem; }
.news-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-list-card { overflow: hidden; border: 1px solid #e5ebf2; border-radius: 18px; background: #fff; transition: .25s; }
.news-list-card:hover { border-color: #ccdaea; box-shadow: 0 18px 45px rgba(13,59,115,.1); transform: translateY(-5px); }
.news-card-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; background: #eaf0f6; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-list-card:hover .news-card-image img { transform: scale(1.045); }
.news-card-image > span { position: absolute; left: 1rem; bottom: 1rem; padding: .38rem .7rem; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--blue); font-size: .62rem; font-weight: 700; backdrop-filter: blur(6px); }
.news-card-body { padding: 1.3rem 1.35rem 1.5rem; }
.news-card-body time { color: #929eac; font-size: .65rem; }
.news-card-body time i { margin-right: .3rem; color: var(--orange); }
.news-card-body h2 { margin: .65rem 0 .65rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.news-card-body h2 a { color: var(--navy); }
.news-card-body p { display: -webkit-box; min-height: 3.9em; margin-bottom: 1rem; overflow: hidden; color: #79889a; font-size: .73rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-card-link { color: var(--blue); font-size: .7rem; font-weight: 700; }
.news-card-link i { margin-left: .25rem; }
.news-pagination { display: flex; justify-content: center; gap: .45rem; margin-top: 3rem; }
.news-pagination a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #dfe7f0; border-radius: 10px; color: #627489; font-size: .75rem; font-weight: 600; }
.news-pagination a:hover, .news-pagination a.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.news-pagination a.disabled { pointer-events: none; opacity: .38; }
.news-empty { padding: 4rem 1rem; border: 1px dashed #ccd9e6; border-radius: 18px; background: #f8fafc; text-align: center; }
.news-empty > i { color: #c2d2e4; font-size: 2.5rem; }
.news-empty h2 { margin: .8rem 0 .4rem; color: var(--navy); font-size: 1.25rem; }
.news-empty p { color: #8190a2; font-size: .78rem; }
.news-empty a { display: inline-block; margin-top: .5rem; color: var(--blue); font-size: .75rem; font-weight: 700; }

@media (max-width: 991px) {
  .news-hero-row { align-items: stretch; flex-direction: column; gap: 2rem; }
  .news-search { width: 100%; }
  .news-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .news-page-hero { padding-top: 1.2rem; padding-bottom: 3rem; }
  .news-page-hero .page-breadcrumb { margin-bottom: 2.2rem; }
  .news-hero-row h1 { font-size: 2.35rem; }
  .news-search button { padding: 0 .9rem; }
  .news-list-section { padding: 2.5rem 0 4rem; }
  .news-card-grid { grid-template-columns: 1fr; }
  .news-results-bar { align-items: flex-start; flex-direction: column; }
}

/* ---------- Album Galeri ---------- */
.albums-hero, .album-header { padding: 2rem 0 4.5rem; background: linear-gradient(135deg, #eef6ff, #fff 65%, #fff8e9); }
.albums-hero .page-breadcrumb, .album-header .page-breadcrumb { margin-bottom: 3.5rem; }
.albums-hero h1, .album-header h1 { margin: 0; color: var(--navy-dark); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.albums-hero > .container > p { max-width: 650px; margin: 1rem 0 0; color: #718196; font-size: .92rem; line-height: 1.75; }
.albums-section { min-height: 500px; padding: 3.5rem 0 5rem; }
.albums-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e3eaf2; }
.albums-toolbar > div { display: flex; align-items: center; gap: .8rem; }
.albums-toolbar strong { color: var(--navy); font-size: .85rem; }
.albums-toolbar div span, .album-sort { color: #8b98a8; font-size: .7rem; }
.album-sort { display: flex; align-items: center; gap: .4rem; }
.albums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.album-card { overflow: hidden; border: 1px solid #e4ebf2; border-radius: 20px; background: #fff; transition: .25s; }
.album-card:hover { box-shadow: 0 18px 45px rgba(13,59,115,.11); transform: translateY(-5px); }
.album-cover { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #eaf0f6; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.album-card:hover .album-cover img { transform: scale(1.05); }
.photo-count { position: absolute; left: 1rem; bottom: 1rem; padding: .42rem .75rem; border-radius: 99px; background: rgba(8,42,82,.82); color: #fff; font-size: .65rem; font-weight: 600; backdrop-filter: blur(5px); }
.photo-count i { margin-right: .3rem; color: #92c4ff; }
.album-open { position: absolute; top: 1rem; right: 1rem; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--blue); opacity: 0; transform: translateY(5px); transition: .25s; }
.album-card:hover .album-open { opacity: 1; transform: none; }
.album-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.album-card-body time { color: #929eac; font-size: .64rem; }
.album-card-body time i { margin-right: .3rem; color: var(--orange); }
.album-card-body h2 { margin: .55rem 0 .5rem; font-size: 1.02rem; font-weight: 700; line-height: 1.45; }
.album-card-body h2 a { color: var(--navy); }
.album-card-body p { margin: 0; color: #79889a; font-size: .72rem; line-height: 1.7; }
.album-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.album-title-row > div:first-child { max-width: 750px; }
.album-title-row p { margin: 1rem 0 0; color: #718196; font-size: .9rem; line-height: 1.75; }
.album-summary { display: flex; flex: none; gap: 1.8rem; padding: 1.2rem 1.4rem; border: 1px solid #dfebf6; border-radius: 16px; background: rgba(255,255,255,.75); }
.album-summary span { display: flex; flex-direction: column; }
.album-summary b { color: var(--navy); font-size: .85rem; }
.album-summary small { margin-top: .15rem; color: #8997a7; font-size: .6rem; }
.photo-section { padding: 3.5rem 0 5rem; }
.photo-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.photo-section-heading h2 { margin: 0; color: var(--navy); font-size: 1.25rem; font-weight: 700; }
.photo-section-heading span { color: #929eac; font-size: .68rem; }
.photo-masonry { display: grid; grid-auto-rows: 220px; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.photo-tile { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #e9eff5; cursor: zoom-in; }
.photo-tile.photo-wide { grid-column: span 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-tile > span { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem; background: linear-gradient(transparent 45%, rgba(5,28,54,.8)); color: #fff; opacity: 0; transition: .25s; }
.photo-tile > span i { position: absolute; top: 1rem; right: 1rem; }
.photo-tile > span small { font-size: .68rem; font-weight: 500; text-align: left; }
.photo-tile:hover img { transform: scale(1.045); }
.photo-tile:hover > span { opacity: 1; }
.album-back { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2rem; color: var(--blue); font-size: .74rem; font-weight: 700; }
.photo-modal .modal-content { position: relative; border: 0; border-radius: 18px; background: #07192d; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.photo-modal figure { margin: 0; }
.photo-modal figure img { width: 100%; max-height: 78vh; border-radius: 18px 18px 0 0; object-fit: contain; }
.photo-modal figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; color: #d9e7f7; font-size: .75rem; }
.photo-modal figcaption small { color: #7f98b3; }
.modal-close { position: absolute; z-index: 3; top: .8rem; right: .8rem; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; }
.lightbox-nav { position: absolute; z-index: 2; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 991px) {
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .album-title-row { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .photo-masonry { grid-auto-rows: 190px; }
}

@media (max-width: 576px) {
  .albums-hero, .album-header { padding: 1.2rem 0 3rem; }
  .albums-hero .page-breadcrumb, .album-header .page-breadcrumb { margin-bottom: 2.2rem; }
  .albums-hero h1, .album-header h1 { font-size: 2.3rem; }
  .albums-section, .photo-section { padding: 2.5rem 0 4rem; }
  .albums-toolbar > div { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .albums-grid { grid-template-columns: 1fr; }
  .album-summary { width: 100%; justify-content: space-between; }
  .photo-masonry { grid-auto-rows: 150px; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .photo-tile.photo-wide { grid-column: span 2; }
  .photo-tile > span { opacity: 1; }
  .photo-section-heading { align-items: flex-start; flex-direction: column; gap: .3rem; }
}

/* ---------- Data Siswa & Ekstrakurikuler ---------- */
.simple-page-hero { padding: 2rem 0 4.5rem; background: linear-gradient(135deg, #eef6ff, #fff 68%, #fff7e7); }
.simple-page-hero .page-breadcrumb { margin-bottom: 3.5rem; }
.simple-page-hero h1, .activity-detail-hero h1 { margin: 0; color: var(--navy-dark); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.simple-page-hero > .container > p { max-width: 650px; margin: 1rem 0 0; color: #718196; font-size: .92rem; line-height: 1.75; }
.students-table-section { min-height: 500px; padding: 3.5rem 0 5rem; background: #f7f9fc; }
.data-panel { padding: 1.5rem; border: 1px solid #e1e8f0; border-radius: 20px; background: #fff; box-shadow: 0 15px 45px rgba(13,59,115,.07); }
.data-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.data-panel-heading h2 { margin: 0; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.data-panel-heading p { margin: .2rem 0 0; color: #8c99a8; font-size: .68rem; }
.data-panel-heading > span { padding: .5rem .8rem; border-radius: 99px; background: #e8f3ff; color: var(--blue); font-size: .68rem; font-weight: 650; }
.data-panel-heading > span i { margin-right: .3rem; }
.students-table { width: 100% !important; margin-top: 1rem !important; }
.students-table thead th { padding: .85rem 1rem; border-bottom: 1px solid #dae4ee !important; background: #f2f6fa; color: #586b81; font-size: .69rem; font-weight: 700; text-transform: uppercase; }
.students-table tbody td { padding: .9rem 1rem; border-color: #edf1f5; color: #6d7c8e; font-size: .74rem; }
.students-table tbody td strong { color: #31465e; font-weight: 650; }
.gender-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: 7px; font-size: .63rem; font-weight: 600; }
.gender-badge.male { background: #e8f3ff; color: #2671c8; }
.gender-badge.female { background: #fff0f5; color: #c84f7c; }
.class-badge { display: inline-grid; min-width: 38px; padding: .32rem .5rem; place-items: center; border-radius: 7px; background: #edf7f1; color: #21834c; font-size: .65rem; font-weight: 700; }
.dt-container .dt-search input, .dt-container .dt-length select { border: 1px solid #d9e3ed !important; border-radius: 9px !important; outline: none; color: #536579; font-size: .72rem; }
.dt-container .dt-search input { min-width: 250px; padding: .55rem .75rem !important; }
.dt-container .dt-length, .dt-container .dt-info { color: #8290a1; font-size: .68rem; }
.dt-container .pagination { gap: .3rem; }
.dt-container .page-link { border-radius: 8px !important; color: var(--blue); font-size: .68rem; }
.dt-container .active > .page-link { border-color: var(--blue); background: var(--blue); }
.student-name-link { display: inline-flex; align-items: center; gap: .4rem; color: #31465e; }
.student-name-link i { color: var(--blue); font-size: .7rem; transition: .2s; }
.student-name-link:hover { color: var(--blue); }
.student-name-link:hover i { transform: translate(2px,-2px); }
.student-profile-heading { display: flex; align-items: center; gap: 1.4rem; }
.student-profile-heading > .student-avatar { display: grid; width: 82px; height: 82px; flex: none; place-items: center; border: 1px solid #d8e7f7; border-radius: 24px; background: #fff; color: var(--blue); box-shadow: 0 15px 35px rgba(13,59,115,.1); font-size: 2rem; }
.student-profile-heading h1 { margin-top: .35rem; }
.student-profile-heading p { margin: .45rem 0 0; color: #708196; font-size: .82rem; }
.student-records-section { padding: 4rem 0 5rem; background: #f7f9fc; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.record-panel { padding: 1.6rem; border: 1px solid #e0e8f0; border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(13,59,115,.06); }
.record-heading { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.record-heading > span { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 12px; background: #e9f3ff; color: var(--blue); }
.record-heading small { color: var(--blue); font-size: .57rem; font-weight: 700; letter-spacing: .1em; }
.record-heading h2 { margin: .15rem 0 0; color: var(--navy); font-size: 1rem; font-weight: 700; }
.record-heading > a { margin-left: auto; color: var(--blue); font-size: .68rem; font-weight: 650; }
.public-timeline { position: relative; display: grid; }
.timeline-item { position: relative; display: flex; align-items: center; gap: .8rem; padding: .8rem 0 .8rem 1.4rem; border-left: 1px solid #dce6f0; }
.timeline-item > span { position: absolute; left: -5px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #9cc5f4; }
.timeline-item > div { flex: 1; }
.timeline-item strong { color: #34495f; font-size: .73rem; }
.timeline-item p { margin: .18rem 0 0; color: #8795a5; font-size: .63rem; }
.timeline-item em { padding: .28rem .5rem; border-radius: 99px; background: #e5f6ec; color: #23804d; font-size: .57rem; font-style: normal; font-weight: 700; }
.record-empty { margin: 0; padding: 1rem; border-radius: 12px; background: #f7f9fb; color: #8996a5; font-size: .7rem; }
.achievement-record { margin-top: 0; }
.achievement-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.achievement-item { display: flex; gap: .9rem; padding: 1rem; border: 1px solid #e5ebf2; border-radius: 14px; }
.achievement-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 11px; background: #fff4da; color: #d68c0b; }
.achievement-item span { color: var(--blue); font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.achievement-item h3 { margin: .25rem 0; color: var(--navy); font-size: .82rem; }
.achievement-item p { margin: .2rem 0; color: #687a8e; font-size: .66rem; line-height: 1.55; }
.achievement-item small { color: #96a1ae; font-size: .59rem; }
.achievement-links { display: flex; align-items: center; gap: .45rem; margin-top: .6rem; }
.achievement-links a { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem .5rem; border-radius: 7px; background: #eaf3ff; color: var(--blue); font-size: .6rem; font-weight: 650; }
.achievements-table td small { display: block; margin-top: .2rem; color: #96a2af; font-size: .6rem; }
.achievement-level { display: inline-flex; padding: .34rem .55rem; border-radius: 8px; background: #fff4da; color: #a96b00; font-size: .61rem; font-weight: 650; }
.activities-section { padding: 3.5rem 0 5rem; }
.activities-intro { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e3eaf2; }
.activities-intro > div { display: flex; align-items: center; gap: .8rem; }
.activities-intro strong { color: var(--navy); font-size: .85rem; }
.activities-intro span { color: #8b98a8; font-size: .7rem; }
.activities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.activity-card { overflow: hidden; border: 1px solid #e2e9f1; border-radius: 18px; background: #fff; transition: .25s; }
.activity-card:hover { box-shadow: 0 18px 45px rgba(13,59,115,.11); transform: translateY(-5px); }
.activity-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eaf0f6; }
.activity-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.activity-card:hover .activity-image img { transform: scale(1.05); }
.activity-image > span { position: absolute; top: 1rem; right: 1rem; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--blue); opacity: 0; transform: translateY(5px); transition: .25s; }
.activity-card:hover .activity-image > span { opacity: 1; transform: none; }
.activity-card-body { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.25rem; }
.activity-card-body > i { display: grid; width: 42px; height: 42px; flex: none; place-items: center; border-radius: 12px; background: #e9f3fe; color: var(--blue); }
.activity-card-body h2 { margin: 0 0 .2rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.activity-card-body small { color: #8a98a8; font-size: .62rem; }
.activity-detail-hero { padding: 2rem 0 5rem; background: linear-gradient(135deg, #eef6ff, #fff 65%); }
.activity-detail-hero .page-breadcrumb { margin-bottom: 3.5rem; }
.activity-detail-hero .col-lg-6 > p { max-width: 580px; margin: 1.2rem 0 1.5rem; color: #718196; font-size: .93rem; line-height: 1.8; }
.activity-cta { display: inline-flex; align-items: center; gap: .55rem; padding: .72rem 1rem; border-radius: 10px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 650; }
.activity-cta:hover { background: var(--navy); color: #fff; }
.activity-hero-image { padding: .7rem; border: 1px solid #dce8f4; border-radius: 24px; background: #fff; box-shadow: 0 20px 55px rgba(13,59,115,.13); transform: rotate(1.5deg); }
.activity-hero-image img { width: 100%; aspect-ratio: 4/3; border-radius: 17px; object-fit: cover; }
.activity-info-section { padding: 4.5rem 0 5rem; }
.activity-info-panel { display: grid; grid-template-columns: 1fr 380px; gap: 5rem; align-items: start; }
.activity-description > span { color: var(--blue); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.activity-description h2 { max-width: 560px; margin: .55rem 0 1rem; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 750; }
.activity-description p { max-width: 650px; color: #6c7d91; font-size: .85rem; line-height: 1.85; }
.activity-facts { display: grid; gap: .7rem; padding: 1rem; border: 1px solid #e1e9f1; border-radius: 18px; background: #f8fafc; }
.activity-facts > div { display: flex; align-items: center; gap: .8rem; padding: .8rem; border-radius: 12px; background: #fff; }
.activity-facts i { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 10px; background: #eaf3fd; color: var(--blue); }
.activity-facts span { display: flex; flex-direction: column; }
.activity-facts small { margin-bottom: .15rem; color: #929eac; font-size: .6rem; }
.activity-facts strong { color: #34495f; font-size: .7rem; font-weight: 650; }

@media (max-width: 991px) {
  .record-grid { grid-template-columns: 1fr; }
  .achievement-cards { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-info-panel { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 576px) {
  .student-profile-heading { align-items: flex-start; flex-direction: column; }
  .record-heading { align-items: flex-start; flex-wrap: wrap; }
  .record-heading > a { width: 100%; margin-left: 0; }
  .simple-page-hero, .activity-detail-hero { padding: 1.2rem 0 3rem; }
  .simple-page-hero .page-breadcrumb, .activity-detail-hero .page-breadcrumb { margin-bottom: 2.2rem; }
  .simple-page-hero h1, .activity-detail-hero h1 { font-size: 2.35rem; }
  .students-table-section, .activities-section { padding: 2.5rem 0 4rem; }
  .data-panel { padding: 1rem; }
  .data-panel-heading { align-items: flex-start; flex-direction: column; }
  .dt-container .dt-search input { min-width: 0; width: 100%; }
  .activities-grid { grid-template-columns: 1fr; }
  .activities-intro > div { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .activity-info-section { padding: 3rem 0 4rem; }
}

/* ---------- Data Pegawai ---------- */
.staff-directory { padding: 2.5rem 0 5rem; background: #f7f9fc; }
.staff-filter { position: sticky; z-index: 5; top: 78px; display: flex; gap: .55rem; margin-bottom: 3rem; padding: .7rem; overflow-x: auto; border: 1px solid #e0e8f0; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px rgba(13,59,115,.07); backdrop-filter: blur(10px); }
.staff-filter a { display: flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border-radius: 9px; color: #5e7187; font-size: .72rem; font-weight: 650; white-space: nowrap; transition: .2s; }
.staff-filter a:hover { background: #eaf3fd; color: var(--blue); }
.staff-filter span { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #edf2f7; color: #75869a; font-size: .6rem; }
.staff-group { padding: 1rem 0 3.5rem; scroll-margin-top: 155px; }
.staff-group + .staff-group { border-top: 1px solid #dfe7ef; padding-top: 3rem; }
.staff-group-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.4rem; }
.staff-group-heading > div { display: flex; align-items: center; gap: .75rem; }
.staff-group-heading div > span { color: #c4d2e1; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.staff-group-heading h2 { margin: 0; color: var(--navy); font-size: 1.4rem; font-weight: 750; }
.staff-group-heading p { margin: 0; color: #8a98a8; font-size: .68rem; }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.staff-grid-short { grid-template-columns: repeat(2, minmax(0, 260px)); }
.staff-card { overflow: hidden; border: 1px solid #e0e8f0; border-radius: 18px; background: #fff; transition: .25s; }
.staff-card:hover { border-color: #c4d7ec; box-shadow: 0 16px 40px rgba(13,59,115,.1); transform: translateY(-5px); }
.staff-photo { aspect-ratio: 3/3.55; overflow: hidden; background: #dfe9f3; }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.92); transition: .4s; }
.staff-card:hover .staff-photo img { filter: saturate(1); transform: scale(1.035); }
.staff-identity { position: relative; padding: 1.15rem 1.2rem 1.3rem; }
.staff-identity::before { position: absolute; top: 0; left: 1.2rem; width: 35px; height: 3px; background: var(--orange); content: ''; }
.staff-identity h3 { margin: 0 0 .3rem; color: var(--navy); font-size: .85rem; font-weight: 700; line-height: 1.45; }
.staff-identity p { margin: 0; color: #7d8c9e; font-size: .67rem; line-height: 1.5; }

@media (max-width: 991px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
  .staff-grid-short { grid-template-columns: repeat(2, minmax(0, 260px)); }
}

@media (max-width: 576px) {
  .staff-directory { padding-top: 1.5rem; }
  .staff-filter { top: 70px; margin-bottom: 2rem; }
  .staff-grid, .staff-grid-short { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .staff-group { padding-bottom: 2.5rem; }
  .staff-identity { padding: .9rem .85rem 1rem; }
  .staff-identity::before { left: .85rem; }
  .staff-identity h3 { font-size: .75rem; }
  .staff-identity p { font-size: .6rem; }
}

/* ---------- Database-backed content ---------- */
.database-page-content { padding: 4.5rem 0; background: #f6f9fc; }
.official-content { max-width: 900px; margin: 0 auto; padding: 3rem; border: 1px solid #e1e9f1; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(13,59,115,.08); color: #52647a; font-size: .95rem; line-height: 1.85; }
.official-badge { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.8rem; padding: .4rem .7rem; border-radius: 99px; background: #e8f4ff; color: var(--blue); font-size: .65rem; font-weight: 700; }
.official-content h1 { margin: 1.8rem 0 .8rem; color: var(--navy); font-size: 1.65rem; font-weight: 750; }
.official-content ol { display: grid; gap: .8rem; padding-left: 1.3rem; }
.official-content footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e5ebf2; color: #98a3b0; font-size: .65rem; }
.database-article-content > p:first-child { color: #263a51; font-size: 1.16rem; line-height: 1.85; }
.database-article-content img { height: auto !important; margin: 1.5rem auto; border-radius: 14px; }
.database-article-content figure { margin: 1.5rem 0; }
.database-article-content a { color: var(--blue); text-decoration: underline; }

@media (max-width: 576px) { .official-content { padding: 1.5rem; } }

/* ---------- Fasilitas ---------- */
.facility-section {
  padding: 3.5rem 0;
}

.facility-card {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e9eff6;
  height: 100%;
  transition: 0.2s;
}
.facility-card:hover {
  box-shadow: 0 10px 25px rgba(13,59,115,0.1);
  transform: translateY(-4px);
}

.facility-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 auto 0.8rem;
}

.facility-card h6 {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.facility-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cfe0f5;
  padding-top: 3rem;
}

.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}

.site-footer .footer-brand img { width: 44px; height: 44px; }

.site-footer .footer-brand .brand-title { color: #fff; font-weight: 700; font-size: 1rem; }
.site-footer .footer-brand .brand-sub { color: #9fb8d6; font-size: 0.7rem; }

.site-footer p, .site-footer li {
  font-size: 0.85rem;
  color: #b7cbe6;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.6rem; display: flex; gap: 8px; align-items: flex-start; }
.site-footer ul li i { margin-top: 3px; color: var(--orange); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.2s;
}
.footer-social a:hover { background: var(--blue); }

.footer-map img {
  border-radius: var(--radius-md);
  margin-bottom: 0.7rem;
}

.btn-direction {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-direction:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9fb8d6;
}

@media (max-width: 991px) {
  .hero-photo-wrap { margin-top: 2rem; }
  .feature-strip { margin-top: 1.5rem; }
  .principal-card { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 576px) {
  .hero-section h2 { font-size: 2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
