/*
Theme Name: SMTI Pontianak Modern (V2)
Theme URI: https://smtipontianak.sch.id
Description: Tema resmi SMK SMTI Pontianak (BPSDMI Kementerian Perindustrian) Versi 2. Dirancang dengan navbar modern satu tingkat, sub-navbar dropdown elegan, banner hero murni responsif, dan performa tinggi tanpa Elementor.
Author: Tim Pengembang SPBE SMK SMTI Pontianak
Author URI: https://smtipontianak.sch.id
Version: 2.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: smti-v2
*/

/* ==========================================================================
   1. CSS VARIABLES & SYSTEM DESIGN
   ========================================================================== */
:root {
  --primary-blue: #12138f;        /* Biru Royal Khas SMTI Pontianak */
  --primary-hover: #1e22b0;
  --dark-navy: #0b1a30;
  --accent-gold: #f59e0b;
  --accent-hover: #d97706;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-dropdown: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 24px -4px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container-width: 1480px;
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ==========================================================================
   3. HEADER & NAVBAR SATU TINGKAT (MODEL CLEAN SEPERTI HUMAID)
   ========================================================================== */
.smti-main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.smti-nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Brand */
.smti-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.smti-nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.smti-nav-logo:hover {
  transform: scale(1.05);
}

.smti-brand-info {
  display: flex;
  flex-direction: column;
}

.smti-brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: var(--primary-blue);
  line-height: 1.15;
}

.smti-brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Menu List Horizontal */
.smti-navigation {
  display: flex;
  align-items: center;
}

.smti-menu-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px;
}

.smti-menu-item {
  position: relative;
}

.smti-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: #334155;
  border-radius: 50px; /* Bentuk Kapsul / Pill Luwes, Bukan Kotak Kaku */
  transition: all 0.2s ease;
}

.smti-menu-item:hover > a,
.smti-menu-item.active > a {
  color: var(--primary-blue);
  background-color: rgba(18, 19, 143, 0.08);
}

.arrow-down {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.smti-menu-item:hover .arrow-down {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

/* ==========================================================================
   4. SUB-NAVBAR DROPDOWN (SEAMLESS & ULTRA MODERN)
   ========================================================================== */
/* Invisible hover bridge to prevent accidental closure */
.smti-menu-item.has-dropdown {
  position: relative;
}

.smti-menu-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  z-index: 1005;
}

.smti-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(18, 19, 143, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
  list-style: none;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  pointer-events: none;
  z-index: 1010;
}

.smti-dropdown-wide {
  min-width: 230px;
}

.smti-dropdown-right {
  left: auto;
  right: 0;
  min-width: 170px;
}

/* Animasi Muncul Halus saat Disorot */
.smti-menu-item.has-dropdown:hover .smti-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Item Link di dalam Dropdown (Padat & Langsung Nama) */
.smti-dropdown-menu li {
  margin-bottom: 2px;
}

.smti-dropdown-menu li:last-child {
  margin-bottom: 0;
}

.smti-dropdown-menu li a {
  display: block !important;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  border-radius: 8px;
  background: transparent;
  transition: all 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}

.smti-dropdown-menu li a:hover {
  background-color: rgba(18, 19, 143, 0.06);
  color: var(--primary-blue);
  font-weight: 600;
  transform: translateX(4px);
}

/* Tombol Aksi Kanan (Instagram & Mobile Menu) */
.smti-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.smti-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.smti-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.smti-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.smti-social-btn.ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
}

.smti-social-btn.fb:hover {
  background-color: #1877F2;
  color: #ffffff;
  border-color: transparent;
}

.smti-social-btn.yt:hover {
  background-color: #FF0000;
  color: #ffffff;
  border-color: transparent;
}

.smti-social-btn.tt:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: transparent;
}

.smti-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
}

.smti-mobile-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
}

/* ==========================================================================
   5. HERO BANNER PERSIS SEPERTI WEB ASLI ("MOVING FORWARD")
   ========================================================================== */
.smti-hero-banner {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #0b1a30;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay gradient gelap di kiri agar teks terbaca sangat jelas */
.smti-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.smti-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  padding: 80px 48px;
}

.smti-hero-headline {
  font-family: var(--font-family);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.smti-hero-subtext {
  font-family: var(--font-family);
  font-size: 16.5px;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Tombol IKUTI KAMI (Persis Warna Asli #12138F, Bentuk Kapsul/Pill) */
.smti-btn-ikuti {
  display: inline-block;
  background-color: var(--primary-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(18, 19, 143, 0.4);
  transition: all 0.2s ease;
}

.smti-btn-ikuti:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 19, 143, 0.5);
}

/* Gelombang Bawah Banner (Opsional Halus) */
.smti-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C150,90 350,-40 500,40 C650,120 900,20 1200,50 L1200,120 L0,120 Z' fill='%23f8fafc'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
  z-index: 3;
}

/* ==========================================================================
   5B. PROGRAM KEAHLIAN / JURUSAN CARDS (CARD BERSIH & MODERN)
   ========================================================================== */
.smti-jurusan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.smti-jurusan-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.smti-jurusan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(18, 19, 143, 0.1);
  border-color: #cbd5e1;
}

.smti-jurusan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--primary-blue);
}

.smti-jurusan-card.tki::before { background: #0d9488; }
.smti-jurusan-card.tp::before { background: var(--primary-blue); }
.smti-jurusan-card.apl::before { background: #ea580c; }
.smti-jurusan-card.toi::before { background: #4f46e5; }

.smti-jurusan-icon {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.smti-jurusan-icon img {
  max-height: 56px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.smti-jurusan-card:hover .smti-jurusan-icon img {
  transform: scale(1.05);
}

.smti-jurusan-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.smti-jurusan-card.tki:hover .smti-jurusan-title { color: #0d9488; }
.smti-jurusan-card.tp:hover .smti-jurusan-title { color: var(--primary-blue); }
.smti-jurusan-card.apl:hover .smti-jurusan-title { color: #ea580c; }
.smti-jurusan-card.toi:hover .smti-jurusan-title { color: #4f46e5; }

.smti-jurusan-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. SECTION BERITA & PRESTASI SEKOLAH (MENARIK & BERSIH)
   ========================================================================== */
.smti-section {
  padding: 60px 0;
}

.smti-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.smti-badge {
  display: inline-block;
  background: rgba(18, 19, 143, 0.08);
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.smti-section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
}

.smti-section-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 8px auto 0 auto;
}

/* Grid Berita Modern */
.smti-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.smti-news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.smti-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.smti-news-thumb {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.smti-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.smti-news-card:hover .smti-news-thumb img {
  transform: scale(1.06);
}

.smti-news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 19, 143, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.smti-news-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.smti-news-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.smti-news-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.smti-news-title a {
  color: var(--text-dark);
}

.smti-news-title a:hover {
  color: var(--primary-blue);
}

.smti-news-excerpt {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.55;
}

.smti-news-readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.smti-news-readmore:hover {
  gap: 8px;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.smti-footer {
  background-color: var(--dark-navy);
  color: #94a3b8;
  padding: 50px 0 25px 0;
  font-size: 14px;
  margin-top: 40px;
}

.smti-footer a {
  color: #cbd5e1;
}

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

/* Footer Top Brand & Logos (Vector Style Tanpa Box) */
.smti-footer-brand-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.smti-footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-vector-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-vector-logo.kemenperin {
  max-width: 180px;
}

.footer-vector-logo.smti {
  max-width: 170px;
}

.footer-vector-logo.official {
  height: 52px;
  max-width: 60px;
}

.smti-footer-intro {
  max-width: 620px;
}

.smti-footer-intro h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

.smti-footer-intro p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.smti-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.smti-footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}

.smti-footer ul {
  list-style: none;
}

.smti-footer ul li {
  margin-bottom: 8px;
}

.smti-footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
}

/* ==========================================================================
   7. PANEL INFORMASI JADWAL PELAYANAN & PUSAT KONTAK (INSTITUSIONAL & BERSIH)
   ========================================================================== */
.smti-service-header-outside {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.smti-service-header-outside svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.smti-service-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px -2px rgba(18, 19, 143, 0.05);
  margin-bottom: 44px;
  overflow: hidden;
}

.smti-service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.smti-service-col {
  padding: 26px 28px;
  border-right: 1px solid #e2e8f0;
}

.smti-service-col:last-child {
  border-right: none;
}

.smti-service-col-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.smti-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.smti-hours-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.smti-hours-table tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

.smti-hours-table .day-lbl {
  color: #334155;
  font-weight: 500;
}

.smti-hours-table .hours-val {
  text-align: right;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.badge-status-closed {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.badge-status-active {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  background: #f0fdf4;
  color: #15803d;
}

.smti-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.smti-contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.smti-contact-row .contact-lbl {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #64748b;
}

.smti-contact-row a.contact-val {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.smti-contact-row a.contact-val:hover {
  text-decoration: underline;
}

.smti-contact-row span.contact-val {
  color: #1e293b;
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .smti-service-columns {
    grid-template-columns: 1fr;
  }
  .smti-service-col {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .smti-service-col:last-child {
    border-bottom: none;
  }
}

/* Saluran Kanal E-Layanan */
.smti-channel-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.smti-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

@media (min-width: 1200px) {
  .smti-channel-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.smti-channel-card {
  background: #ffffff;
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.smti-channel-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(18, 19, 143, 0.06);
}

.smti-channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #334155;
  transition: all 0.2s ease;
}

.smti-channel-card:hover .smti-channel-icon {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
}

.smti-channel-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  transition: color 0.15s ease;
}

.smti-channel-card:hover .smti-channel-title {
  color: var(--primary-blue);
}

.smti-channel-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.smti-channel-action {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.smti-channel-card:hover .smti-channel-action {
  color: #0d0e7a;
  transform: translateX(3px);
}

/* ==========================================================================
   7B. KEMITRAAN & PERUSAHAAN MITRA INDUSTRI
   ========================================================================== */
.smti-mitra-container {
  max-width: 1180px;
  margin: 0 auto;
}

.smti-mitra-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.smti-mitra-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 19, 143, 0.08);
}

.smti-mitra-img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIF MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 991px) {
  .smti-nav-container {
    padding: 0 20px;
  }
  .smti-hero-inner {
    padding: 50px 20px;
  }
  .smti-mobile-toggle {
    display: flex;
  }
  .smti-navigation {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-dropdown);
    display: none;
    padding: 16px 24px;
  }
  .smti-navigation.is-open {
    display: block;
  }
  .smti-menu-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .smti-menu-item {
    width: 100%;
  }
  .smti-menu-item > a {
    width: 100%;
    justify-content: space-between;
  }
  .smti-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    display: none;
  }
  .smti-menu-item.has-dropdown:hover .smti-dropdown-menu {
    display: block;
  }
  .smti-hero-headline {
    font-size: 28px;
  }
  .smti-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .smti-footer-brand-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .smti-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .smti-social-links {
    gap: 4px;
  }
  .smti-social-btn {
    width: 32px;
    height: 32px;
  }
  .smti-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. HALAMAN PROFIL SEKOLAH (SUB-NAVBAR TEMPLATES)
   ========================================================================== */

/* Page Banner & Breadcrumbs */
.smti-page-banner {
  background: linear-gradient(135deg, #12138f 0%, #0d0e68 100%);
  padding: 44px 0 36px;
  color: #ffffff;
}

.smti-page-banner .container,
.smti-page-content-wrapper .container {
  max-width: 1560px;
  padding-left: 48px;
  padding-right: 48px;
}

.smti-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.smti-breadcrumbs a {
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.15s ease;
}

.smti-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.smti-breadcrumbs .sep {
  color: #64748b;
  font-size: 11px;
}

.smti-breadcrumbs .current {
  color: #f8fafc;
  font-weight: 600;
}

.smti-page-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.smti-page-subtitle {
  font-size: 15.5px;
  color: #e2e8f0;
  max-width: 920px;
  line-height: 1.6;
  margin: 0;
}

/* Page Layout */
.smti-page-content-wrapper {
  padding: 48px 0 64px;
  background: #f8fafc;
}

.smti-profil-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar Navigasi Profil */
.smti-profil-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.smti-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.smti-sidebar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.smti-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smti-sidebar-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.smti-sidebar-menu li a:hover {
  background: #f1f5f9;
  color: #12138f;
}

.smti-sidebar-menu li.active a {
  background: #12138f;
  color: #ffffff;
  font-weight: 600;
}

.smti-sidebar-menu li.active a .arrow {
  transform: translateX(3px);
  color: #ffffff;
}

.smti-sidebar-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 18px;
}

.smti-sidebar-banner .banner-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0284c7;
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.smti-sidebar-banner h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.smti-sidebar-banner p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Profil Content Card */
.smti-profil-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.smti-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.smti-content-card .section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #12138f;
  background: #e0e7ff;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.smti-content-card .content-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.smti-content-card p {
  color: #475569;
  line-height: 1.7;
}

/* Quote Box (Visi) */
.smti-quote-box {
  background: #f8fafc;
  border-left: 4px solid #12138f;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 18px 0 24px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.6;
}

/* Misi List */
.smti-misi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.smti-misi-list .misi-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
}

.smti-misi-list .misi-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #12138f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smti-misi-list .misi-text {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
}

/* Nilai Budaya Mutu */
.smti-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.smti-values-grid .value-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.smti-values-grid .value-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.smti-values-grid .value-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.smti-values-grid h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.smti-values-grid p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Timeline Sejarah */
.smti-timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 24px;
  border-left: 2px solid #e2e8f0;
}

.smti-timeline .timeline-step {
  position: relative;
  margin-bottom: 24px;
}

.smti-timeline .timeline-step:last-child {
  margin-bottom: 0;
}

.smti-timeline .timeline-step::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #12138f;
  border: 3px solid #e0e7ff;
}

.smti-timeline .step-year {
  font-size: 13px;
  font-weight: 700;
  color: #12138f;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.smti-timeline .step-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

/* Logo Showcase & Download Section */
.smti-logo-showcase-card {
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
}

.smti-logo-showcase-inner {
  display: flex;
  gap: 28px;
  align-items: center;
}

@media (max-width: 768px) {
  .smti-logo-showcase-inner {
    flex-direction: column;
    text-align: center;
  }
}

.smti-logo-preview-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.smti-official-logo-img {
  width: 140px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin: 0;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
}

.smti-logo-format-badge {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 999px;
}

.smti-logo-info-box {
  flex: 1;
}

.smti-logo-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .smti-logo-meta-tags {
    justify-content: center;
  }
}

.smti-logo-meta-tags .meta-tag {
  font-size: 12px;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

/* Enhanced Logo Download Buttons */
.smti-logo-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

@media (max-width: 768px) {
  .smti-logo-download-actions {
    justify-content: center;
  }
}

.smti-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 7px 9px;
  border-radius: 50px; /* Bentuk Kapsul / Pill Meniru Tombol Nav Bar */
  text-decoration: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
}

/* Primary Button (WebP) */
.smti-dl-btn-primary {
  background: linear-gradient(135deg, #12138f 0%, #1e3a8a 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(18, 19, 143, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.smti-dl-btn-primary .smti-dl-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.smti-dl-btn-primary .smti-dl-title {
  color: #ffffff;
}

.smti-dl-btn-primary .smti-dl-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 8px;
}

.smti-dl-btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d0e7a 0%, #1d4ed8 100%);
  box-shadow: 0 8px 22px rgba(18, 19, 143, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.smti-dl-btn-primary:hover .smti-dl-icon {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(1px);
}

/* Secondary Button (Master PNG) */
.smti-dl-btn-secondary {
  background: #ffffff;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.smti-dl-btn-secondary .smti-dl-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12138f;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.smti-dl-btn-secondary .smti-dl-title {
  color: #1e293b;
  transition: color 0.2s ease;
}

.smti-dl-btn-secondary .smti-dl-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.smti-dl-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #12138f;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(18, 19, 143, 0.12);
}

.smti-dl-btn-secondary:hover .smti-dl-title {
  color: #12138f;
}

.smti-dl-btn-secondary:hover .smti-dl-icon {
  background: #e0e7ff;
  color: #12138f;
  transform: translateY(1px);
}

.smti-dl-btn-secondary:hover .smti-dl-badge {
  background: #e0e7ff;
  color: #12138f;
  border-color: #c7d2fe;
}

.smti-dl-label {
  display: inline-flex;
  align-items: center;
}

/* 4 Program Keahlian Grid in Sejarah */
.smti-history-prodi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0 22px 0;
}

.smti-history-prodi-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.2s ease;
}

.smti-history-prodi-item:hover {
  background: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 19, 143, 0.08);
}

.smti-history-prodi-num {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #e0e7ff;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.smti-history-prodi-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

/* Contact Person Box */
.smti-contact-person-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .smti-contact-person-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.smti-contact-person-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.smti-contact-person-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.smti-contact-person-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #065f46;
  letter-spacing: 0.5px;
}

.smti-contact-person-name {
  font-size: 16px;
  font-weight: 800;
  color: #064e3b;
}

.smti-contact-person-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #059669;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.smti-contact-person-btn:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Struktur Organisasi Tree */
.smti-org-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.smti-org-tree .org-node {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  width: 100%;
}

.smti-org-tree .org-top {
  max-width: 440px;
  background: #f0f4ff;
  border-color: #93c5fd;
  border-width: 1.5px;
}

.smti-org-tree .org-photo-wrap {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.smti-org-tree .org-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: #f1f5f9;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.smti-org-tree .org-top .org-photo {
  width: 120px;
  height: 120px;
  border-width: 4px;
  border-color: #dbeafe;
}

.smti-org-tree .org-sub .org-photo {
  width: 110px;
  height: 110px;
}

.smti-org-tree .org-jurusan .org-photo {
  width: 92px;
  height: 92px;
}

.smti-org-tree .org-node:hover .org-photo {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(18, 19, 143, 0.2);
}

.smti-org-tree .org-person-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 2px 0;
  line-height: 1.3;
}

.smti-org-tree .org-top .org-person-name {
  font-size: 17px;
  color: #12138f;
  margin-top: 5px;
}

.smti-org-tree .org-role {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.smti-org-tree .org-name {
  font-size: 13px;
  color: #475569;
}

.smti-org-tree .org-dept {
  font-size: 11.5px;
  color: #12138f;
  font-weight: 600;
  margin-top: 4px;
}

.smti-org-tree .org-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-top: 4px;
}

.smti-org-tree .org-line-down {
  width: 2px;
  height: 20px;
  background: #cbd5e1;
}

.smti-org-tree .org-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.smti-org-tree .org-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.smti-org-tree .org-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.smti-org-tree .org-badge-role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #e0e7ff;
  color: #12138f;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.smti-org-tree .org-jurusan {
  border-top: 3px solid #12138f;
}

/* SDM Statistik Grid */
.smti-sdm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.smti-sdm-stats-grid .sdm-stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 14px;
  text-align: center;
}

.smti-sdm-stats-grid .sdm-stat-box .num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #12138f;
  margin-bottom: 4px;
  line-height: 1.1;
}

.smti-sdm-stats-grid .sdm-stat-box .lbl {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.smti-sdm-stats-grid .sdm-stat-box .desc {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

/* Kelompok Bidang Keahlian Guru */
.smti-dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.smti-dept-grid .dept-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s ease;
}

.smti-dept-grid .dept-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.smti-dept-grid .dept-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.smti-dept-grid h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.smti-dept-grid p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Akreditasi & Sertifikasi Grid */
.smti-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.smti-cert-grid .cert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  transition: all 0.25s ease;
}

.smti-cert-grid .cert-card:hover {
  border-color: #12138f;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(18, 19, 143, 0.1);
}

.smti-cert-grid .cert-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #ecfdf5;
  color: #059669;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.smti-cert-grid h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.smti-cert-grid .cert-org {
  font-size: 12.5px;
  font-weight: 600;
  color: #12138f;
  margin-bottom: 10px;
}

.smti-cert-grid p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Skema LSP-P1 List */
.smti-skema-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.smti-skema-list .skema-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
}

.smti-skema-list .skema-code {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  background: #12138f;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.smti-skema-list .skema-info strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}

.smti-skema-list .skema-info span {
  font-size: 12px;
  color: #64748b;
}

/* Responsive Profil Pages */
@media (max-width: 991px) {
  .smti-page-banner .container,
  .smti-page-content-wrapper .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .smti-profil-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .smti-profil-sidebar {
    position: static;
  }
  .smti-org-tree .org-grid-4,
  .smti-org-tree .org-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .smti-sdm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .smti-cert-grid {
    grid-template-columns: 1fr;
  }
  .smti-dept-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .smti-page-banner {
    padding: 36px 0 28px;
  }
  .smti-page-title {
    font-size: 24px;
  }
  .smti-content-card {
    padding: 22px 18px;
  }
  .smti-content-card .content-heading {
    font-size: 20px;
  }
  .smti-org-tree .org-grid-2,
  .smti-org-tree .org-grid-4,
  .smti-org-tree .org-grid-6 {
    grid-template-columns: 1fr;
  }
  .smti-sdm-stats-grid {
    grid-template-columns: 1fr;
  }
  .smti-skema-list .skema-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   Direktori Guru & Tenaga Kependidikan
   ========================================================================== */
.smti-staff-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.smti-staff-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.smti-staff-search-wrapper .smti-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.smti-staff-search-input {
  width: 100%;
  height: 42px;
  padding: 8px 36px 8px 38px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.smti-staff-search-input:focus {
  background: #ffffff;
  border-color: #12138f;
  box-shadow: 0 0 0 3px rgba(18, 19, 143, 0.12);
}

.smti-staff-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.smti-staff-search-clear:hover {
  color: #0f172a;
}

.smti-staff-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 24px;
}

.smti-staff-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.smti-filter-btn {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.smti-filter-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

.smti-filter-btn.active {
  background: #12138f;
  color: #ffffff;
  border-color: #12138f;
  box-shadow: 0 2px 6px rgba(18, 19, 143, 0.2);
}

.smti-staff-counter {
  font-size: 13px;
  color: #64748b;
}

.smti-staff-counter strong {
  color: #12138f;
  font-weight: 700;
}

.smti-staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.smti-staff-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.smti-staff-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(18, 19, 143, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.smti-staff-avatar-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smti-staff-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.smti-staff-card:hover .smti-staff-avatar-box img {
  transform: scale(1.05);
}

.smti-staff-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #12138f;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.smti-staff-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
}

.smti-staff-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 4px 0;
  word-break: break-word;
}

.smti-staff-role {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

.smti-staff-card.is-pimpinan .smti-staff-role {
  color: #12138f;
  font-weight: 600;
}

.smti-staff-empty {
  text-align: center;
  padding: 48px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  margin-top: 10px;
}

.smti-staff-empty .empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.smti-staff-empty h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.smti-staff-empty p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

@media (max-width: 1024px) {
  .smti-staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .smti-staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .smti-staff-info {
    padding: 10px 10px 12px;
  }
  .smti-staff-name {
    font-size: 12.5px;
  }
  .smti-staff-role {
    font-size: 11px;
  }
  .smti-staff-search-wrapper {
    max-width: 100%;
  }
  .smti-staff-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .smti-staff-filters {
    justify-content: flex-start;
  }
  .smti-staff-counter {
    text-align: right;
  }
}
