:root {
  --smk-green: #14452F;
  --smk-green-dark: #0e3322;
  --smk-green-soft: #EBF3EF;
  --smk-yellow: #FACC15;
  --smk-yellow-olive: #6B7028;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #fafafa;
  color: #374151;
}

.text-smk-green {
  color: var(--smk-green) !important;
}
.smk-page-header-overlay {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-bottom: 4px solid var(--smk-yellow);
}

.smk-header-backdrop {
  background: linear-gradient(
    90deg,
    rgba(14, 51, 34, 0.94) 30%,
    rgba(20, 69, 47, 0.30) 65%,
    rgba(20, 69, 47, 0.25) 100%
  );
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Breadcrumb Versi Terang */
.smk-breadcrumb-light .breadcrumb-item a {
  color: var(--smk-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}

.smk-breadcrumb-light .breadcrumb-item a:hover {
  text-decoration: underline;
}

.smk-breadcrumb-light .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.smk-breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Badge Kuning Emas */
.badge-smk-yellow {
  background-color: var(--smk-yellow);
  color: var(--smk-green-dark);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  display: inline-block;
}

.badge-smk-soft {
  background-color: var(--smk-green-soft);
  color: var(--smk-green);
  border: 1px solid rgba(20, 69, 47, 0.15);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  display: inline-block;
}

/* =========================================
   2. KARTU FOTO KEPALA SEKOLAH (KIRI)
   ========================================= */
.kepsek-sticky-wrapper {
  position: sticky;
  top: 6.5rem; /* Menyesuaikan tinggi navbar sticky */
}

.kepsek-frame-card {
  position: relative;
  background-color: var(--smk-green);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 15px 35px -5px rgba(20, 69, 47, 0.22);
}

/* Aksen Garis Kuning di Sudut Kiri Atas (Persis Referensi) */
.kepsek-frame-card::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  width: 5.5rem;
  height: 7.5rem;
  border-top: 4px solid var(--smk-yellow);
  border-left: 4px solid var(--smk-yellow);
  border-top-left-radius: 1.5rem;
  pointer-events: none;
  z-index: 2;
}

.kepsek-photo-box {
  border-radius: 0.9rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  aspect-ratio: 3 / 4;
  background-color: #b91c1c; /* Latar merah formal foto profil */
}

.kepsek-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-jabatan {
  display: inline-block;
  background-color: rgba(250, 204, 21, 0.22);
  color: var(--smk-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
}

.btn-share-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: var(--smk-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-share-circle:hover {
  background-color: var(--smk-green);
  color: var(--smk-yellow);
  border-color: var(--smk-green);
}

/* =========================================
   3. KARTU NASKAH SAMBUTAN (KANAN)
   ========================================= */
.sambutan-article-card {
  border-radius: 1.25rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.sambutan-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.35rem;
  text-align: justify;
}

/* Kotak Kutipan dengan Garis Kuning Vertikal di Kiri */
.sambutan-quote {
  background-color: var(--smk-green-soft);
  border-left: 4px solid var(--smk-yellow);
  border-radius: 0 1rem 1rem 0;
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.signature-line {
  width: 180px;
  height: 2px;
  background-color: var(--smk-yellow);
}

.btn-smk-outline {
  border: 1.5px solid var(--smk-green);
  color: var(--smk-green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.35rem;
  border-radius: 50rem;
  transition: all 0.2s ease;
}

.btn-smk-outline:hover {
  background-color: var(--smk-green);
  color: #ffffff;
}

/* Responsif Tablet & Ponsel */
@media (max-width: 991.98px) {
  .kepsek-sticky-wrapper {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }

  .sambutan-body p {
    text-align: left;
  }
}
