/*
Theme Name: SMAST Theme - SMA Negeri 1 Kota Kediri
Theme URI: https://smastkediri.sch.id
Author: Mochamad Januar Sugiarto
Author URI: https://smastkediri.sch.id
Description: Tema Resmi WordPress SMA Negeri 1 Kota Kediri (SMAST). Modern, responsif, dan elegan dengan identitas khas SMA Negeri 1 Kota Kediri ("Unggul dalam Prestasi, Berakhlak Mulia").
Version: 2.2.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smast
Tags: education, school, high-school, responsive-layout, custom-menu, featured-images, theme-options
*/
/* =============================================================================
   smast.css — Stylesheet Utama Website SMA Negeri 1 Kota Kediri
   Design System: Navy & Gold, Modern School Portal
   ============================================================================= */

/* ─── 1. CSS CUSTOM PROPERTIES (LIGHT / DAY MODE) ───────────────────────────── */
:root,
[data-theme="light"],
html:not(.dark) {
    /* Brand Colors - Exact match to live website */
    --smast-navy:         #004884; /* Deep Royal Navy from live web top header */
    --smast-navy-hover:   #00386b;
    --smast-navy-deep:    #002855;
    --smast-navy-light:   #E3EEF8;
    --smast-blue-nav:     #0066B2; /* Vibrant classic blue navigation bar from live web */
    --smast-blue-nav-hover: #005696;
    --smast-gold:         #FFB800; /* Warm golden yellow */
    --smast-gold-hover:   #E6A500;
    --smast-gold-light:   #FFF8E1;
    --smast-orange-badge: #FF9800; /* Amber/Orange badge for Kutipan */

    /* Neutrals & Surfaces */
    --smast-white:        #FFFFFF;
    --smast-off-white:    #EDF3F8; /* Soft ice-blue body canvas from live web screenshot */
    --smast-gray-50:      #F1F5F9;
    --smast-gray-100:     #E2E8F0;
    --smast-gray-200:     #CBD5E1;
    --smast-gray-500:     #64748B;
    --smast-gray-700:     #334155;

    /* Semantic */
    --smast-text:         #0F172A; /* High Contrast WCAG AAA */
    --smast-text-muted:   #475569;
    --smast-border:       #D6E4F0;
    --smast-bg:           #EDF3F8; /* Soft ice-blue body canvas from live web */
    --smast-card-bg:      #FFFFFF;
    --smast-navbar-bg:    #0066B2;
    --smast-navbar-border: rgba(0, 0, 0, 0.12);

    /* Shadows */
    --smast-shadow-sm:    0 2px 8px rgba(0, 72, 132, 0.08);
    --smast-shadow:       0 4px 20px rgba(0, 72, 132, 0.10);
    --smast-shadow-md:    0 8px 30px rgba(0, 72, 132, 0.14);
    --smast-shadow-hover: 0 12px 40px rgba(0, 72, 132, 0.18);

    /* Radius */
    --smast-radius-sm:    8px;
    --smast-radius:       12px;
    --smast-radius-lg:    20px;
    --smast-radius-xl:    28px;
    --smast-radius-pill:  50px;

    /* Transition */
    --smast-transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --smast-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --smast-section-pad:  80px;
    --smast-section-pad-sm: 50px;
    --smast-container:    1200px;
}

/* ─── 1.1 DYNAMIC DARK MODE VARIABLES (Tailwind dark: & [data-theme="dark"]) ── */
[data-theme="dark"],
html.dark {
    /* Brand Colors - Dark Mode Adapted (SMAN 1 Kediri Royal Navy & Mustika Gold Identity) */
    --smast-navy:         #38BDF8;
    --smast-navy-hover:   #7DD3FC;
    --smast-navy-deep:    #0284C7;
    --smast-navy-light:   rgba(56, 189, 248, 0.14);
    --smast-blue-nav:     #08162A;
    --smast-blue-nav-hover: #0D203A;
    --smast-gold:         #FBBF24;
    --smast-gold-hover:   #F59E0B;
    --smast-gold-light:   rgba(251, 191, 36, 0.16);
    --smast-orange-badge: #F59E0B;

    /* Neutrals - Dark Mode Adapted */
    --smast-white:        #FFFFFF; /* Pure white remains pure white */
    --smast-surface:      #112240; /* Card & Container Surface */
    --smast-off-white:    #08101E; /* Deep Royal Navy body canvas */
    --smast-gray-50:      #0C182A;
    --smast-gray-100:     #162844;
    --smast-gray-200:     #233B5F;
    --smast-gray-500:     #94A3B8;
    --smast-gray-700:     #CBD5E1;

    /* Semantic - Dark Mode Adapted */
    --smast-text:         #F8FAFC; /* Crisp pure white text */
    --smast-text-muted:   #94A3B8; /* High contrast secondary text */
    --smast-border:       #1E3A5F;
    --smast-bg:           #08101E;
    --smast-card-bg:      #112240;
    --smast-navbar-bg:    #08162A;
    --smast-navbar-border: rgba(56, 189, 248, 0.16);

    /* Shadows - Dark Mode */
    --smast-shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.45);
    --smast-shadow:       0 4px 20px rgba(0, 0, 0, 0.55);
    --smast-shadow-md:    0 8px 30px rgba(0, 0, 0, 0.65);
    --smast-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.8);
}

/* ─── 1.2 THEME TOGGLE BUTTON STYLING ────────────────────────────────────────── */
.smast-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--smast-border);
    background: var(--smast-white);
    color: #003366;
    cursor: pointer;
    transition: var(--smast-transition);
    font-size: 1rem;
    box-shadow: var(--smast-shadow-sm);
    flex-shrink: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.smast-theme-toggle:hover {
    transform: rotate(15deg) scale(1.08);
    border-color: var(--smast-gold);
    color: var(--smast-gold);
    box-shadow: 0 0 14px rgba(255, 184, 0, 0.3);
}

.smast-theme-toggle:focus-visible {
    outline: 2px solid var(--smast-gold);
    outline-offset: 2px;
}

[data-theme="dark"] .smast-theme-toggle,
html.dark .smast-theme-toggle {
    background: #1E293B;
    border-color: #475569;
    color: #FBBF24;
}

[data-theme="dark"] .smast-theme-toggle:hover,
html.dark .smast-theme-toggle:hover {
    border-color: #FBBF24;
    color: #FBBF24;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

/* â”€â”€â”€ 2. BASE RESET FOR SMAST PAGES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body.smast-page {
    background-color: var(--smast-off-white);
    color: var(--smast-text);
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

body.smast-page h1,
body.smast-page h2,
body.smast-page h3,
body.smast-page h4,
body.smast-page h5,
body.smast-page h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: var(--smast-text);
    line-height: 1.25;
    font-weight: 700;
}

body.smast-page a {
    text-decoration: none;
    transition: var(--smast-transition);
}

body.smast-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* â”€â”€â”€ 3. LAYOUT UTILITIES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-container {
    max-width: var(--smast-container);
    margin: 0 auto;
    padding: 0 24px;
}

.smast-section {
    padding: var(--smast-section-pad) 0;
}

.smast-section-sm {
    padding: var(--smast-section-pad-sm) 0;
}

.smast-section-title {
    text-align: center;
    margin-bottom: 52px;
}

.smast-section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 12px;
}

.smast-section-title .accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--smast-gold), var(--smast-gold-hover));
    border-radius: 2px;
    margin: 0 auto 16px;
}

.smast-section-title p {
    color: var(--smast-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* â”€â”€â”€ 4. BUTTONS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--smast-radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--smast-transition);
    text-decoration: none;
    box-sizing: border-box;
    max-width: 100%;
}

@media (min-width: 769px) {
    .smast-btn {
        white-space: nowrap;
    }
}

.smast-btn i {
    flex-shrink: 0;
}

.smast-btn span {
    display: inline-block;
    line-height: 1.35;
}

.smast-btn-primary {
    background: var(--smast-navy);
    color: var(--smast-white);
    border-color: var(--smast-navy);
}

.smast-btn-primary:hover {
    background: var(--smast-navy-hover);
    border-color: var(--smast-navy-hover);
    transform: translateY(-2px);
    box-shadow: var(--smast-shadow-hover);
    color: var(--smast-white);
}

.smast-btn-navy {
    background: #002D54;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #002D54;
}

.smast-btn-navy:hover {
    background: #001733;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #001733;
    transform: translateY(-2px);
    box-shadow: var(--smast-shadow-hover);
}

[data-theme="dark"] .smast-btn-navy,
html.dark .smast-btn-navy {
    background: #1E3A8A !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .smast-btn-navy:hover,
html.dark .smast-btn-navy:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border-color: #60A5FA !important;
}

.smast-btn-gold {
    background: var(--smast-gold);
    color: #0F172A !important; /* Always high contrast deep dark text on yellow */
    -webkit-text-fill-color: #0F172A !important;
    border-color: var(--smast-gold);
    font-weight: 700;
}

.smast-btn-gold:hover {
    background: var(--smast-gold-hover);
    border-color: var(--smast-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.35);
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

.smast-btn-outline {
    background: transparent;
    color: var(--smast-white);
    border-color: rgba(255, 255, 255, 0.7);
}

.smast-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--smast-white);
    color: var(--smast-white);
    transform: translateY(-2px);
}

.smast-btn-outline-navy {
    background: transparent;
    color: var(--smast-navy);
    border-color: var(--smast-navy);
}

.smast-btn-outline-navy:hover {
    background: var(--smast-navy);
    color: var(--smast-white);
    transform: translateY(-2px);
}

.smast-btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
}

/* ─── 5. MINIMALIST SINGLE NAVBAR (1 Baris Rapi, Bersih & Modern) ────────── */

/* 5.1 Slim Top Strip dinonaktifkan (Navbar 1 Baris Minimalis) */
.smast-top-strip {
    display: none !important;
}

/* 5.2 Single Minimalist Navbar */
.smast-navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #FFFFFF; /* Minimalist Day Mode: Pure White */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    height: 64px;
    display: flex;
    align-items: center;
    transition: var(--smast-transition);
}

[data-theme="dark"] .smast-navbar,
html.dark .smast-navbar {
    background: #08101E !important; /* Minimalist Night Mode: Deep Midnight */
    border-bottom: 1px solid rgba(56, 189, 248, 0.16) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.65) !important;
}

.smast-navbar.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .smast-navbar.scrolled,
html.dark .smast-navbar.scrolled {
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.85);
}

.admin-bar .smast-navbar {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .smast-navbar {
        top: 46px;
    }
}

.smast-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Brand Identity on the Left */
.smast-navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.smast-navbar-brand:hover .brand-logo-img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.brand-school-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #003366 !important; /* Siang: Deep Navy Bersih */
    -webkit-text-fill-color: #003366 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: none !important;
}

[data-theme="dark"] .brand-school-name,
html.dark .brand-school-name {
    color: #FFFFFF !important; /* Malam: Pure White */
    -webkit-text-fill-color: #FFFFFF !important;
}

.brand-school-motto {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    letter-spacing: 0.2px;
}

[data-theme="dark"] .brand-school-motto,
html.dark .brand-school-motto {
    color: #CBD5E1 !important;
    -webkit-text-fill-color: #CBD5E1 !important;
}

/* 5.3 Minimalist Action Cluster: Email, Telepon, Pencarian, Mode, Dashboard */
.smast-navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.smast-nav-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #003366;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--smast-transition);
    padding: 0;
}

.smast-nav-action-btn:hover {
    background: #004884;
    color: #FFFFFF;
    border-color: #004884;
    transform: translateY(-1px);
}

[data-theme="dark"] .smast-nav-action-btn,
html.dark .smast-nav-action-btn {
    background: rgba(56, 189, 248, 0.10) !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-nav-action-btn:hover,
html.dark .smast-nav-action-btn:hover {
    background: #38BDF8 !important;
    color: #08101E !important;
    border-color: #38BDF8 !important;
}

/* Desktop Navigation Menu (Centered & Balanced) */
.smast-nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0 12px;
    padding: 0;
    gap: 2px;
}

.smast-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 7px 9px;
    color: #1E293B !important; /* Minimalist Day: Crisp Dark Slate */
    font-size: 0.80rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: var(--smast-transition);
}

.smast-nav-link:hover {
    color: #004884 !important;
    background: #F1F5F9;
}

.smast-nav-link.active,
.smast-nav-menu > li.active > .smast-nav-link,
.smast-nav-menu > li.current-menu-item > .smast-nav-link {
    color: #004884 !important;
    background: rgba(0, 72, 132, 0.08);
    font-weight: 800;
}

[data-theme="dark"] .smast-nav-link,
html.dark .smast-nav-link {
    color: #E2E8F0 !important; /* Minimalist Night: Pure Crisp Light */
}

[data-theme="dark"] .smast-nav-link:hover,
html.dark .smast-nav-link:hover {
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
}

[data-theme="dark"] .smast-nav-link.active,
html.dark .smast-nav-link.active,
[data-theme="dark"] .smast-nav-menu > li.active > .smast-nav-link,
html.dark .smast-nav-menu > li.active > .smast-nav-link {
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.18) !important;
}

.nav-arrow {
    font-size: 0.60rem;
    margin-left: 3px;
    opacity: 0.85;
}

.smast-nav-home {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem !important;
    padding: 8px 10px !important;
}

/* Dropdown Menus */
.smast-dropdown {
    position: relative;
}

.smast-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    background: #003366; /* Sleek deep navy dropdown */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35);
    padding: 6px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--smast-transition);
    z-index: 1000;
}

.smast-dropdown:nth-last-child(-n+2) .smast-dropdown-menu {
    left: auto;
    right: 0;
}

.smast-dropdown:hover .smast-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.smast-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: #FFFFFF !important; /* Pure crisp white dropdown links */
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--smast-transition);
}

.smast-dropdown-menu li a i {
    color: rgba(255, 255, 255, 0.85);
    width: 18px;
    text-align: center;
}

.smast-dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    padding-left: 17px;
}

[data-theme="dark"] .smast-dropdown-menu,
html.dark .smast-dropdown-menu {
    background: #112240;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Right Side Actions: Clean Modern PPDB Button + Hamburger */
.smast-navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.smast-btn-ppdb-modern {
    background: #FFFFFF !important; /* Clean white pill button, zero yellow clutter */
    color: #004884 !important;
    -webkit-text-fill-color: #004884 !important;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--smast-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.2px;
}

.smast-btn-ppdb-modern:hover {
    background: #F1F5F9 !important;
    color: #002855 !important;
    -webkit-text-fill-color: #002855 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .smast-btn-ppdb-modern,
html.dark .smast-btn-ppdb-modern {
    background: #38BDF8 !important;
    color: #0B1120 !important;
    -webkit-text-fill-color: #0B1120 !important;
}

/* Hamburger Button (Dashboard Drawer Trigger - Circular Pill Button) */
.smast-hamburger {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--smast-transition);
}

.smast-hamburger:hover {
    background: #004884;
    border-color: #004884;
    transform: translateY(-1px);
}

.smast-hamburger:hover span {
    background: #FFFFFF !important;
}

.smast-hamburger span {
    display: block;
    width: 18px;
    height: 2.2px;
    background: #003366 !important; /* Day Mode: Dark Navy (Sangat Terlihat Jelas) */
    border-radius: 2px;
    transition: var(--smast-transition);
}

[data-theme="dark"] .smast-hamburger,
html.dark .smast-hamburger {
    background: rgba(56, 189, 248, 0.10) !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
}

[data-theme="dark"] .smast-hamburger:hover,
html.dark .smast-hamburger:hover {
    background: #38BDF8 !important;
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .smast-hamburger span,
html.dark .smast-hamburger span {
    background: #FFFFFF !important; /* Night Mode: Pure White */
}

[data-theme="dark"] .smast-hamburger:hover span,
html.dark .smast-hamburger:hover span {
    background: #08101E !important;
}

.smast-hamburger.open span:nth-child(1) {
    transform: translateY(6.2px) rotate(45deg);
}
.smast-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.smast-hamburger.open span:nth-child(3) {
    transform: translateY(-6.2px) rotate(-45deg);
}

/* 5.3 Mobile Navigation Drawer ("Dashboard") */
.smast-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    background: #FFFFFF;
    z-index: 9998;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.smast-mobile-menu.open {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    display: block;
}

[data-theme="dark"] .smast-mobile-menu,
html.dark .smast-mobile-menu {
    background: #08101E !important;
    color: #F8FAFC !important;
    border-top-color: rgba(56, 189, 248, 0.16) !important;
}

.mobile-drawer-header {
    display: none !important;
}

[data-theme="dark"] .mobile-drawer-header,
html.dark .mobile-drawer-header {
    background: #0C182A !important;
    border-bottom-color: rgba(56, 189, 248, 0.16) !important;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-drawer-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.mobile-drawer-title {
    color: #003366;
    font-size: 0.95rem;
    font-weight: 800;
    display: block;
    line-height: 1.15;
}

[data-theme="dark"] .mobile-drawer-title,
html.dark .mobile-drawer-title {
    color: #FFFFFF !important;
}

.mobile-drawer-motto {
    font-size: 0.74rem;
    color: #64748B;
}

[data-theme="dark"] .mobile-drawer-motto,
html.dark .mobile-drawer-motto {
    color: #94A3B8 !important;
}

.mobile-drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mobile-drawer-close-btn,
.mobile-drawer-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: #F1F5F9;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--smast-transition);
}

.mobile-drawer-close-btn:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
}

[data-theme="dark"] .mobile-drawer-close-btn,
[data-theme="dark"] .mobile-drawer-action-btn,
html.dark .mobile-drawer-close-btn,
html.dark .mobile-drawer-action-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .mobile-drawer-close-btn:hover,
html.dark .mobile-drawer-close-btn:hover {
    background: #EF4444 !important;
    color: #FFFFFF !important;
    border-color: #EF4444 !important;
}

.mobile-contact-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    overflow-x: auto;
}

[data-theme="dark"] .mobile-contact-bar,
html.dark .mobile-contact-bar {
    background: #0C182A !important;
    border-bottom-color: rgba(56, 189, 248, 0.14) !important;
}

.mobile-contact-chip {
    font-size: 0.78rem;
    font-weight: 600;
    color: #003366;
    background: #FFFFFF;
    padding: 5px 12px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid #E2E8F0;
}

[data-theme="dark"] .mobile-contact-chip,
html.dark .mobile-contact-chip {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    color: #38BDF8 !important;
}

.drawer-section-divider {
    border-top: 1px solid #E2E8F0;
    margin-top: 8px;
    padding-top: 8px;
}

[data-theme="dark"] .drawer-section-divider,
html.dark .drawer-section-divider {
    border-top-color: rgba(56, 189, 248, 0.16) !important;
}

.drawer-section-divider span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748B;
    padding: 6px 16px;
    display: block;
    font-weight: 700;
}

[data-theme="dark"] .drawer-section-divider span,
html.dark .drawer-section-divider span {
    color: #94A3B8 !important;
}

.smast-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 12px 16px 20px;
}

.smast-mobile-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #0F172A;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--smast-radius-sm);
    text-decoration: none;
    transition: var(--smast-transition);
}

.smast-mobile-menu ul li a i {
    width: 20px;
    text-align: center;
    color: #004884;
}

[data-theme="dark"] .smast-mobile-menu ul li a,
html.dark .smast-mobile-menu ul li a {
    color: #F8FAFC !important;
}

[data-theme="dark"] .smast-mobile-menu ul li a i,
html.dark .smast-mobile-menu ul li a i {
    color: #38BDF8 !important;
}

.smast-mobile-menu ul li a:hover {
    background: var(--smast-navy-light);
    color: #004884;
}

[data-theme="dark"] .smast-mobile-menu ul li a:hover,
html.dark .smast-mobile-menu ul li a:hover {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

.smast-mobile-menu .smast-btn-ppdb-modern {
    margin: 8px 16px 24px;
    display: flex;
    justify-content: center;
    width: calc(100% - 32px);
}



/* 5.4 Search Modal Overlay */
.smast-search-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--smast-transition);
}

.smast-search-modal.open {
    opacity: 1;
    visibility: visible;
}

.smast-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 24, 51, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.smast-search-modal-box {
    position: relative;
    background: var(--smast-card-bg);
    border-radius: var(--smast-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 620px;
    padding: 32px;
    border: 1px solid var(--smast-border);
    animation: smastModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes smastModalPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.smast-search-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--smast-text-muted);
    cursor: pointer;
    transition: var(--smast-transition);
}

.smast-search-close-btn:hover {
    color: var(--smast-navy);
    transform: rotate(90deg);
}

.smast-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.smast-search-header i {
    font-size: 1.4rem;
    color: var(--smast-navy);
}

.smast-search-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--smast-navy);
}

[data-theme="dark"] .smast-search-header h3,
html.dark .smast-search-header h3 {
    color: #38BDF8 !important;
}

.smast-search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.smast-search-field {
    flex-grow: 1;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--smast-border);
    border-radius: var(--smast-radius);
    background: var(--smast-bg);
    color: var(--smast-text);
    transition: var(--smast-transition);
}

.smast-search-field:focus {
    border-color: #0066B2;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 102, 178, 0.15);
}

.smast-search-hint {
    font-size: 0.8rem;
    color: var(--smast-text-muted);
    margin: 12px 0 0;
}

/* 5.5 Kutipan & Informasi Ticker Bar (Exact Live Web Match) */
.smast-kutipan-bar {
    background: #004884;
    border-bottom: 2px solid #003366;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 20;
    overflow: hidden;
}

[data-theme="dark"] .smast-kutipan-bar,
html.dark .smast-kutipan-bar {
    background: #002855;
    border-bottom-color: #001833;
}

.smast-kutipan-inner {
    display: flex;
    align-items: stretch;
    min-height: 44px;
}

.smast-kutipan-badge {
    background: #FF9800; /* Warm amber/orange badge matching screenshot */
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.smast-kutipan-badge i {
    font-size: 0.85rem;
}

.smast-kutipan-track-wrapper {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    position: relative;
}

.smast-kutipan-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: smastKutipanScroll 38s linear infinite;
}

.smast-kutipan-track:hover {
    animation-play-state: paused;
}

@keyframes smastKutipanScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.smast-kutipan-item {
    color: #FFFFFF;
    font-size: 0.90rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
}

.smast-kutipan-author {
    color: #FFC107; /* Golden yellow author text matching screenshot */
    font-weight: 700;
    margin-left: 6px;
}

.footer-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    margin-right: 12px;
}

/* â”€â”€â”€ 6. HERO SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    max-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #001833;
}

.smast-hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Individual Slide (Strictly separated with display:none to completely prevent stacking / numpuk) */
.smast-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.smast-hero-slide.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    animation: smastSlideFade 0.4s ease-out forwards;
}

@keyframes smastSlideFade {
    0% {
        opacity: 0;
        transform: scale(0.985);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Background image with Ken Burns */
.smast-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #001833;
    background-image: linear-gradient(135deg, #001733 0%, #002855 50%, #001026 100%);
    transform: scale(1.08);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.smast-hero-slide.active .smast-hero-slide-bg {
    transform: scale(1);
}

.smast-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 24, 51, 0.88) 0%,
        rgba(0, 51, 102, 0.65) 60%,
        rgba(0, 34, 68, 0.85) 100%
    );
    z-index: 1;
}

.smast-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 44px 24px 34px;
    max-width: 1080px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.smast-hero-slide.active .smast-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.smast-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.4);
    color: var(--smast-gold);
    padding: 6px 18px;
    border-radius: var(--smast-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* HERO TITLE: ALWAYS PURE CRISP WHITE WITH SHADOW IN LIGHT & DARK MODE */
body.smast-page .smast-hero h1,
body.smast-page .smast-hero .smast-hero-title,
body.smast-page .smast-hero-content h1,
body.smast-page .smast-hero-slide h1,
.smast-hero h1,
.smast-hero .smast-hero-title,
.smast-hero-content h1,
.smast-hero-slide h1,
.smast-page-hero h1 {
    font-size: clamp(1.85rem, 3.8vw, 2.85rem) !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    line-height: 1.25 !important;
    text-wrap: balance !important;
    max-width: 1040px !important;
    margin: 0 auto 16px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85) !important;
}

body.smast-page .smast-hero h1 span,
body.smast-page .smast-hero .smast-hero-title span,
body.smast-page .smast-hero-content h1 span,
body.smast-page .smast-hero-content h1 .gold-text,
body.smast-page .smast-hero-content h1 .highlight,
.smast-hero h1 span,
.smast-hero .smast-hero-title span,
.smast-hero-content h1 span,
.smast-hero-content h1 .gold-text,
.smast-hero-content h1 .highlight,
.smast-hero .gold-text,
.smast-hero .highlight {
    color: #FFB800 !important;
    -webkit-text-fill-color: #FFB800 !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7) !important;
}

.smast-hero-tagline,
.smast-hero-content .smast-hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem) !important;
    color: #FFFFFF !important;
    margin-bottom: 14px !important;
    font-style: italic !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.smast-hero-desc,
.smast-hero-content .smast-hero-desc {
    font-size: clamp(0.90rem, 1.8vw, 1.02rem) !important;
    color: #F1F5F9 !important;
    margin-bottom: 20px !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8) !important;
}

.smast-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* Hero Navigation Arrows */
.smast-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 30, 60, 0.72);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.smast-hero-arrow:hover {
    background: var(--smast-gold);
    color: var(--smast-navy);
    border-color: var(--smast-gold);
    transform: translateY(-50%) scale(1.08);
}

.smast-hero-prev {
    left: 24px;
}

.smast-hero-next {
    right: 24px;
}

/* Hero dots */
.smast-hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.smast-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.smast-hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.smast-hero-dot.active {
    background: var(--smast-gold);
    width: 28px;
    border-radius: 20px;
}

/* Scroll indicator - Completely removed per design review */
.smast-scroll-indicator {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* â”€â”€â”€ 7. STATS BAR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-stats {
    background: linear-gradient(135deg, var(--smast-navy) 0%, var(--smast-navy-deep) 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.smast-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 184, 0, 0.05);
    pointer-events: none;
}

.smast-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.smast-stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.smast-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.smast-stat-icon {
    font-size: 2rem;
    color: var(--smast-gold);
    margin-bottom: 10px;
    display: block;
}

.smast-stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--smast-white);
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
    margin-bottom: 6px;
}

.smast-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* â”€â”€â”€ 8. ANNOUNCEMENT TICKER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-ticker {
    background: #FFB800;
    padding: 11px 0;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

[data-theme="dark"] .smast-ticker,
html.dark .smast-ticker {
    background: #FBBF24 !important;
    border-top-color: rgba(255,255,255,0.08);
    border-bottom-color: rgba(255,255,255,0.08);
}

.smast-ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.smast-ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #001833;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    border-radius: 0 20px 20px 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .smast-ticker-label,
html.dark .smast-ticker-label {
    background: #0B1727 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.smast-ticker-track {
    overflow: hidden;
    flex: 1;
    padding: 0 20px;
}

.smast-ticker-items {
    display: inline-flex;
    gap: 60px;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.smast-ticker-item {
    color: #0F172A !important; /* Always readable deep dark text on yellow */
    -webkit-text-fill-color: #0F172A !important;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

[data-theme="dark"] .smast-ticker-item,
html.dark .smast-ticker-item {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    font-weight: 700 !important;
}

.smast-ticker-item i {
    margin-right: 6px;
    color: #002855 !important;
    opacity: 0.85;
}
    opacity: 0.7;
}

.smast-ticker-items:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* â”€â”€â”€ 9. PRINCIPAL'S WELCOME â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-sambutan {
    background: var(--smast-white);
}

.smast-sambutan-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.smast-principal-col {
    display: flex;
    flex-direction: column;
    width: 320px;
    max-width: 100%;
}

.smast-principal-photo-wrap {
    position: relative;
    margin-bottom: 22px;
}

.smast-principal-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--smast-radius-lg);
    border: 3px solid var(--smast-gold);
    box-shadow: 0 10px 28px rgba(0, 40, 85, 0.14);
    display: block;
}

.smast-principal-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--smast-navy-light);
    border-radius: var(--smast-radius-lg);
    border: 4px solid var(--smast-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--smast-navy);
    box-shadow: var(--smast-shadow-md);
}

.smast-principal-photo-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
}

.smast-principal-photo-placeholder span {
    font-size: 0.8rem;
    color: var(--smast-text-muted);
}

/* Gold corner accent */
.smast-principal-photo-wrap::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--smast-gold);
    border-right: 4px solid var(--smast-gold);
    border-radius: 0 var(--smast-radius) 0 0;
    z-index: 1;
}

.smast-principal-photo-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 60px;
    height: 60px;
    border-bottom: 4px solid var(--smast-gold);
    border-left: 4px solid var(--smast-gold);
    border-radius: 0 0 0 var(--smast-radius);
    z-index: 1;
}

.smast-sambutan-content .section-badge {
    display: inline-block;
    background: var(--smast-navy-light);
    color: var(--smast-navy);
    padding: 4px 14px;
    border-radius: var(--smast-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.smast-sambutan-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 24px;
}

.smast-quote-mark {
    font-size: 5rem;
    color: var(--smast-gold);
    line-height: 0.5;
    margin-bottom: 12px;
    display: block;
    font-family: Georgia, serif;
    opacity: 0.6;
}

.smast-sambutan-content .sambutan-text {
    color: var(--smast-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.smast-principal-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--smast-white, #FFFFFF);
    border-radius: var(--smast-radius);
    border: 1px solid var(--smast-border, #E2E8F0);
    border-left: 4px solid var(--smast-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

[data-theme="dark"] .smast-principal-info,
html.dark .smast-principal-info {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.16) !important;
    border-left-color: var(--smast-gold) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .smast-principal-info strong,
html.dark .smast-principal-info strong {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-principal-info span,
html.dark .smast-principal-info span {
    color: #94A3B8 !important;
}

.smast-principal-info .pi-avatar {
    width: 44px;
    height: 44px;
    background: var(--smast-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smast-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.smast-principal-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--smast-navy);
}

.smast-principal-info span {
    font-size: 0.8rem;
    color: var(--smast-text-muted);
}

/* â”€â”€â”€ 10. PROFIL & AKADEMIK CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-profil {
    background: var(--smast-off-white);
}

.smast-profil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── GENERIC SMAST CARD & PROFIL PILLARS ─── */
.smast-card,
.smast-profil-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    padding: 30px 24px;
    border: 1px solid var(--smast-border);
    box-shadow: var(--smast-shadow-sm);
    transition: var(--smast-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.smast-card:hover,
.smast-profil-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--smast-shadow-hover);
    border-color: var(--smast-navy);
}

.smast-card-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--smast-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: var(--smast-transition);
}

.smast-card-icon.icon-navy { background: rgba(0, 72, 132, 0.1); color: var(--smast-navy); }
.smast-card-icon.icon-gold { background: rgba(255, 184, 0, 0.15); color: #B45309; }
.smast-card-icon.icon-blue { background: rgba(2, 132, 199, 0.12); color: #0284C7; }
.smast-card-icon.icon-green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.smast-card-icon.icon-purple { background: rgba(124, 58, 237, 0.12); color: #7C3AED; }
.smast-card-icon.icon-red { background: rgba(225, 29, 72, 0.12); color: #E11D48; }

.smast-card-title,
.smast-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin: 0 0 10px;
    line-height: 1.35;
}

.smast-card-desc,
.smast-card p {
    font-size: 0.88rem;
    color: var(--smast-text-muted);
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}

.smast-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--smast-navy);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--smast-transition);
    margin-top: auto;
}

.smast-card-link:hover {
    color: var(--smast-gold);
    gap: 10px;
}

/* Dark Mode Overrides for Generic smast-card & Pillars */
[data-theme="dark"] .smast-card,
[data-theme="dark"] .smast-profil-card,
html.dark .smast-card,
html.dark .smast-profil-card {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .smast-card:hover,
[data-theme="dark"] .smast-profil-card:hover,
html.dark .smast-card:hover,
html.dark .smast-profil-card:hover {
    background: #162B4E !important;
    border-color: #FBBF24 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1.5px #FBBF24 !important;
}

[data-theme="dark"] .smast-card-title,
[data-theme="dark"] .smast-card h3,
[data-theme="dark"] .smast-profil-card h3,
html.dark .smast-card-title,
html.dark .smast-card h3,
html.dark .smast-profil-card h3 {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-card-desc,
[data-theme="dark"] .smast-card p,
[data-theme="dark"] .smast-profil-card p,
html.dark .smast-card-desc,
html.dark .smast-card p,
html.dark .smast-profil-card p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .smast-card-link,
html.dark .smast-card-link {
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-card-link:hover,
html.dark .smast-card-link:hover {
    color: #FBBF24 !important;
}

[data-theme="dark"] .smast-card-icon,
html.dark .smast-card-icon {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

.smast-profil-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    padding: 32px 28px;
    border-top: 4px solid var(--smast-navy);
    box-shadow: var(--smast-shadow-sm);
    transition: var(--smast-transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.smast-profil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--smast-navy) 60%, var(--smast-gold));
    transition: height 0.3s ease;
}

.smast-profil-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--smast-shadow-hover);
}

.smast-profil-card:hover::before {
    height: 6px;
}

.smast-profil-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--smast-gold), var(--smast-gold-hover));
    border-radius: var(--smast-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smast-navy);
    font-size: 1.5rem;
}

.smast-profil-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin: 0;
}

.smast-profil-card p {
    color: var(--smast-text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.smast-profil-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--smast-navy);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
}

.smast-profil-card:hover .card-link i {
    transform: translateX(4px);
}

.smast-profil-card .card-link i {
    transition: transform 0.3s ease;
}

/* â”€â”€â”€ 11. BERITA & PENGUMUMAN â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-berita {
    background: var(--smast-white);
}

.smast-berita-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--smast-radius-xl);
    overflow: hidden;
    box-shadow: var(--smast-shadow-md);
    margin-bottom: 32px;
    min-height: 360px;
}

.smast-berita-featured-img {
    background: var(--smast-navy-light);
    position: relative;
    overflow: hidden;
}

.smast-berita-featured-img img,
.smast-berita-featured-img .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smast-berita-featured-img .img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--smast-navy-light), #d0dff0);
    min-height: 300px;
    color: var(--smast-navy);
    font-size: 3rem;
    opacity: 0.3;
}

.smast-berita-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--smast-white);
}

.smast-news-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--smast-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.smast-news-badge.badge-news {
    background: var(--smast-navy-light);
    color: var(--smast-navy);
}

.smast-news-badge.badge-announcement {
    background: #FFF3E0;
    color: #E65100;
}

.smast-news-badge.badge-event {
    background: #E8F5E9;
    color: #2E7D32;
}

.smast-news-date {
    font-size: 0.8rem;
    color: var(--smast-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.smast-berita-featured-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.smast-berita-featured-content p {
    color: var(--smast-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* News grid cards */
.smast-berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.smast-news-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    overflow: hidden;
    border: 1px solid var(--smast-border);
    transition: var(--smast-transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.smast-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--smast-shadow-hover);
    border-color: transparent;
}

.smast-news-card-img {
    height: 180px;
    overflow: hidden;
    background: var(--smast-navy-light);
}

.smast-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.smast-news-card:hover .smast-news-card-img img {
    transform: scale(1.05);
}

.smast-news-card-img .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smast-navy);
    font-size: 2.5rem;
    opacity: 0.2;
    background: linear-gradient(135deg, var(--smast-navy-light), #d0dff0);
}

.smast-news-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smast-news-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--smast-navy);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smast-news-card-body p {
    font-size: 0.82rem;
    color: var(--smast-text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.smast-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--smast-navy);
    margin-top: 8px;
}

.smast-news-read-more i {
    transition: transform 0.3s ease;
}

.smast-news-card:hover .smast-news-read-more i {
    transform: translateX(4px);
}

/* ─── NEWS & BERITA DARK MODE OVERRIDES ─── */
[data-theme="dark"] .smast-news-card,
html.dark .smast-news-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .smast-news-card:hover,
html.dark .smast-news-card:hover {
    background: #162B4E !important;
    border-color: #FBBF24 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1.5px #FBBF24 !important;
}

[data-theme="dark"] .smast-news-card-body h4,
html.dark .smast-news-card-body h4 {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-news-card-body p,
html.dark .smast-news-card-body p {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .smast-news-read-more,
html.dark .smast-news-read-more {
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-news-read-more:hover,
html.dark .smast-news-read-more:hover {
    color: #FBBF24 !important;
}

[data-theme="dark"] .smast-berita-featured,
html.dark .smast-berita-featured {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .smast-berita-featured-content h3,
html.dark .smast-berita-featured-content h3 {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-berita-featured-content p,
html.dark .smast-berita-featured-content p {
    color: #CBD5E1 !important;
}

.smast-berita-cta {
    text-align: center;
    margin-top: 36px;
}

/* â”€â”€â”€ 12. EKSTRAKURIKULER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-ekskul {
    background: var(--smast-navy-light);
}

.smast-ekskul-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.smast-ekskul-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--smast-transition);
    cursor: default;
    border: 1px solid var(--smast-border);
    box-shadow: var(--smast-shadow-sm);
}

.smast-ekskul-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.12), 0 0 0 2px var(--smast-gold);
    border-color: var(--smast-gold);
}

.smast-ekskul-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--smast-navy), #0055AA);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.6rem;
    color: var(--smast-gold);
    transition: var(--smast-transition);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.smast-ekskul-card:hover .smast-ekskul-icon {
    background: linear-gradient(135deg, var(--smast-gold), var(--smast-gold-hover));
    color: var(--smast-navy);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
}

.smast-ekskul-card h4,
.smast-ekskul-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin: 0;
    line-height: 1.35;
}

.smast-ekskul-card p,
.smast-ekskul-category {
    font-size: 0.8rem;
    color: var(--smast-text-muted);
    margin: 6px 0 0;
    display: block;
    line-height: 1.4;
}

/* ─── EKSKUL DARK MODE OVERRIDES (HIGH CONTRAST & VISIBILITY) ─── */
[data-theme="dark"] .smast-ekskul-card,
html.dark .smast-ekskul-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .smast-ekskul-card:hover,
html.dark .smast-ekskul-card:hover {
    background: #162B4E !important;
    border-color: #FBBF24 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 0 2px #FBBF24 !important;
    transform: translateY(-6px) scale(1.02);
}

[data-theme="dark"] .smast-ekskul-name,
[data-theme="dark"] .smast-ekskul-card h4,
html.dark .smast-ekskul-name,
html.dark .smast-ekskul-card h4 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .smast-ekskul-category,
[data-theme="dark"] .smast-ekskul-card p,
html.dark .smast-ekskul-category,
html.dark .smast-ekskul-card p {
    color: #94A3B8 !important;
    font-weight: 500 !important;
}

[data-theme="dark"] .smast-ekskul-icon,
html.dark .smast-ekskul-icon {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FBBF24 !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="dark"] .smast-ekskul-card:hover .smast-ekskul-icon,
html.dark .smast-ekskul-card:hover .smast-ekskul-icon {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
    color: #08101E !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4) !important;
}

/* â”€â”€â”€ 13. GALERI TEASER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-galeri {
    background: var(--smast-white);
}

.smast-galeri-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}

.smast-galeri-item {
    overflow: hidden;
    border-radius: var(--smast-radius);
    position: relative;
    cursor: pointer;
}

.smast-galeri-item:nth-child(1) { grid-row: span 2; }
.smast-galeri-item:nth-child(4) { grid-row: span 2; }

.smast-galeri-item .item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.smast-galeri-item:nth-child(1) .item-img,
.smast-galeri-item:nth-child(4) .item-img {
    height: 100%;
    min-height: 412px;
}

.smast-galeri-item .item-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--smast-navy-light), #c5d7f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smast-navy);
    font-size: 2rem;
    opacity: 0.25;
}

.smast-galeri-item:nth-child(1) .item-placeholder,
.smast-galeri-item:nth-child(4) .item-placeholder {
    min-height: 412px;
}

.smast-galeri-item .item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 51, 102, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--smast-transition);
}

.smast-galeri-item:hover .item-overlay {
    opacity: 1;
}

.smast-galeri-item:hover .item-img {
    transform: scale(1.07);
}

.smast-galeri-item .item-overlay i {
    font-size: 2rem;
    color: var(--smast-white);
    transform: scale(0.8);
    transition: var(--smast-transition);
}

.smast-galeri-item:hover .item-overlay i {
    transform: scale(1);
}

.smast-galeri-cta {
    text-align: center;
    margin-top: 32px;
}

/* ─── 13B. GALERI FOTO & VIDEO PREVIEW (BERANDA) ───────────────────────────── */
.smast-galeri-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.smast-galeri-item {
    position: relative;
    border-radius: var(--smast-radius-lg);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--smast-shadow-sm);
    transition: var(--smast-transition);
}

.smast-galeri-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--smast-shadow-hover);
}

.smast-galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.smast-galeri-item:hover img {
    transform: scale(1.08);
}

.smast-galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 24, 51, 0.1) 0%, rgba(0, 24, 51, 0.92) 100%);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #FFFFFF;
    transition: var(--smast-transition);
    z-index: 3;
}

.smast-galeri-overlay .badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.smast-galeri-overlay h4 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.galeri-meta-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 5px;
}

.smast-galeri-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--smast-shadow-sm);
}

.galeri-showcase-visual {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.12);
    transition: transform 0.4s ease;
}

.smast-galeri-showcase:hover .galeri-showcase-visual {
    transform: scale(1.15) rotate(-5deg);
}

.galeri-play-center {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.galeri-play-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #E11D48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, background 0.3s ease;
    padding-left: 3px;
}

.smast-galeri-item:hover .galeri-play-badge {
    transform: scale(1.15);
    background: #FFFFFF;
    color: #BE123C;
}

/* ─── EMPTY STATE GALERI & EKSKUL CTA ────────────────────────────────────────── */
.smast-empty-galeri {
    background: var(--smast-white);
    border: 2px dashed var(--smast-border);
    border-radius: var(--smast-radius);
    padding: 56px 28px;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

[data-theme="dark"] .smast-empty-galeri,
html.dark .smast-empty-galeri {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
}
[data-theme="dark"] .smast-empty-galeri h3,
html.dark .smast-empty-galeri h3 {
    color: #FFFFFF !important;
}
[data-theme="dark"] .smast-empty-galeri p,
html.dark .smast-empty-galeri p {
    color: #CBD5E1 !important;
}

.smast-empty-galeri .empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.08);
    color: #003366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

[data-theme="dark"] .smast-empty-galeri .empty-icon,
html.dark .smast-empty-galeri .empty-icon {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
}

.smast-empty-galeri h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--smast-text);
    margin-bottom: 10px;
}

.smast-empty-galeri p {
    color: var(--smast-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.smast-ekskul-cta-wrap {
    text-align: center;
    margin-top: 36px;
}
.smast-ekskul-cta-note {
    font-size: 0.95rem;
    color: var(--smast-text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

/* News Thumb Placeholder (when no thumbnail is attached) */
.smast-berita-thumb-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #001733 0%, #002855 50%, #001f3f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}
.smast-berita-thumb-placeholder i {
    font-size: 2.5rem;
    color: #FFB800;
}
.smast-berita-thumb-placeholder span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* ─── 13B. FASILITAS PREVIEW (BERANDA) ─────────────────────────────────────── */
.smast-fasilitas-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}
.smast-fasilitas-preview-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-radius: var(--smast-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--smast-shadow-sm);
    transition: var(--smast-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
[data-theme="dark"] .smast-fasilitas-preview-card,
html.dark .smast-fasilitas-preview-card {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}
[data-theme="dark"] .smast-fasilitas-preview-title,
html.dark .smast-fasilitas-preview-title {
    color: #FFFFFF !important;
}
[data-theme="dark"] .smast-fasilitas-preview-desc,
html.dark .smast-fasilitas-preview-desc {
    color: #CBD5E1 !important;
}
.smast-fasilitas-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--smast-shadow-hover);
    border-color: var(--smast-navy);
}
[data-theme="dark"] .smast-fasilitas-preview-card:hover,
html.dark .smast-fasilitas-preview-card:hover {
    border-color: #FBBF24;
}
.smast-fasilitas-preview-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--smast-radius);
    background: var(--smast-navy-light);
    color: var(--smast-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: var(--smast-transition);
}
[data-theme="dark"] .smast-fasilitas-preview-icon,
html.dark .smast-fasilitas-preview-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}
.smast-fasilitas-preview-card:hover .smast-fasilitas-preview-icon {
    background: var(--smast-gold);
    color: var(--smast-navy);
    transform: scale(1.05);
}
.smast-fasilitas-preview-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin-bottom: 8px;
}
[data-theme="dark"] .smast-fasilitas-preview-title,
html.dark .smast-fasilitas-preview-title {
    color: #F8FAFC !important;
}
.smast-fasilitas-preview-desc {
    font-size: 0.88rem;
    color: var(--smast-text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ─── 13C. APLIKASI DIGITAL PORTAL (BERANDA) ───────────────────────────────── */
.smast-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    margin-bottom: 24px;
    align-items: stretch;
}
@media (max-width: 768px) {
    .smast-portal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.smast-portal-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .smast-portal-card,
html.dark .smast-portal-card {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}
[data-theme="dark"] .smast-portal-card:hover,
html.dark .smast-portal-card:hover {
    background: #162B4E !important;
    border-color: #FBBF24 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1.5px #FBBF24 !important;
}
[data-theme="dark"] .smast-portal-card h3,
html.dark .smast-portal-card h3 {
    color: #FFFFFF !important;
}
[data-theme="dark"] .smast-portal-card p,
html.dark .smast-portal-card p {
    color: #CBD5E1 !important;
}
.smast-portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 51, 102, 0.12);
    border-color: #004884;
}

.smast-portal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.smast-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.smast-portal-badge.badge-sis {
    background: rgba(0, 51, 102, 0.1);
    color: var(--smast-navy);
}
.smast-portal-badge.badge-lib {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.smast-portal-badge.badge-leg {
    background: rgba(245, 158, 11, 0.15);
    color: #B45309;
}
[data-theme="dark"] .smast-portal-badge.badge-sis {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
}
[data-theme="dark"] .smast-portal-badge.badge-lib {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
}
[data-theme="dark"] .smast-portal-badge.badge-leg {
    background: rgba(251, 191, 36, 0.2);
    color: #FBBF24;
}
.smast-portal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin: 0 0 10px;
    letter-spacing: -0.2px;
}
[data-theme="dark"] .smast-portal-title,
html.dark .smast-portal-title {
    color: #F8FAFC !important;
}
.smast-portal-desc {
    font-size: 0.90rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    box-sizing: border-box;
}

.smast-portal-footer {
    width: 100%;
    margin-top: auto;
    box-sizing: border-box;
}

/* Tombol CTA Portal & Aplikasi — Rapi, Presisi, Terkunci di Dalam Kotak */
.smast-portal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #004884 0%, #003366 100%);
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 51, 102, 0.2);
    cursor: pointer;
    box-sizing: border-box;
}

.smast-portal-btn span {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.smast-portal-btn i {
    font-size: 0.88rem;
    color: #FFFFFF !important;
    transition: transform 0.25s ease;
}

.smast-portal-btn:hover {
    background: linear-gradient(135deg, #005bb0 0%, #004080 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.3);
    color: #FFFFFF !important;
}

.smast-portal-btn:hover i {
    transform: translateX(4px);
}

[data-theme="dark"] .smast-portal-btn,
html.dark .smast-portal-btn {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}

[data-theme="dark"] .smast-portal-btn:hover,
html.dark .smast-portal-btn:hover {
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%) !important;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4) !important;
}

/* ─── 13D. SAMBUTAN KEPALA SEKOLAH CARD ─────────────────────────────────────── */
.smast-sambutan {
    background: var(--smast-bg);
}
.smast-sambutan-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-radius: var(--smast-radius-xl);
    padding: 48px 44px;
    box-shadow: var(--smast-shadow-md);
    transition: var(--smast-transition);
}
[data-theme="dark"] .smast-sambutan-card,
html.dark .smast-sambutan-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.smast-sambutan-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
}
.smast-sambutan-photo-frame {
    position: relative;
    border-radius: var(--smast-radius-lg);
    overflow: hidden;
    box-shadow: var(--smast-shadow-md);
    border: 3px solid var(--smast-gold);
    aspect-ratio: 3/4;
}
.smast-sambutan-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.smast-sambutan-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #001733 0%, #003366 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--smast-gold);
    font-size: 5rem;
}
.smast-sambutan-photo-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(0, 24, 51, 0.9);
    color: #FFB800;
    padding: 6px 12px;
    border-radius: var(--smast-radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 184, 0, 0.4);
}
.smast-sambutan-heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--smast-navy);
    margin: 8px 0 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
[data-theme="dark"] .smast-sambutan-heading,
html.dark .smast-sambutan-heading {
    color: #F8FAFC !important;
}
.smast-sambutan-divider {
    width: 60px;
    height: 3px;
    background: var(--smast-gold);
    border-radius: 2px;
    margin-bottom: 20px;
}
.smast-sambutan-body {
    color: var(--smast-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}
[data-theme="dark"] .smast-sambutan-body,
html.dark .smast-sambutan-body,
[data-theme="dark"] .smast-sambutan-body p,
html.dark .smast-sambutan-body p {
    color: #CBD5E1 !important;
}
.smast-sambutan-signature {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed var(--smast-border);
}
[data-theme="dark"] .smast-sambutan-signature,
html.dark .smast-sambutan-signature {
    border-top-color: #334155;
}
.smast-sambutan-signature .sig-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--smast-navy);
}
[data-theme="dark"] .smast-sambutan-signature .sig-name,
html.dark .smast-sambutan-signature .sig-name {
    color: #F8FAFC !important;
}
.smast-sambutan-signature .sig-title {
    font-size: 0.82rem;
    color: var(--smast-text-muted);
    margin-top: 2px;
}
[data-theme="dark"] .smast-sambutan-signature .sig-title,
html.dark .smast-sambutan-signature .sig-title {
    color: #94A3B8 !important;
}

/* ─── 13E. PPDB 2025/2026 CTA SECTION ──────────────────────────────────────── */
.smast-ppdb-cta {
    background: linear-gradient(135deg, #002244 0%, #001226 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.smast-ppdb-cta-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 184, 0, 0.35);
    border-radius: var(--smast-radius-xl);
    padding: 48px 40px;
    backdrop-filter: blur(8px);
    text-align: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}
.smast-ppdb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.4);
    color: #FFB800;
    padding: 5px 16px;
    border-radius: var(--smast-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.smast-ppdb-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #FFFFFF !important;
    margin-bottom: 14px;
    line-height: 1.25;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.smast-ppdb-desc {
    color: rgba(241, 245, 249, 0.88) !important;
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.smast-ppdb-tracks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.track-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--smast-radius);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--smast-transition);
}
.track-item:hover {
    background: rgba(255, 184, 0, 0.12);
    border-color: #FFB800;
    transform: translateY(-3px);
}
.track-item i {
    font-size: 1.5rem;
    color: #FFB800;
    margin-bottom: 4px;
}
.track-item strong {
    font-size: 0.92rem;
    color: #FFFFFF;
}
.track-item span {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}
.smast-ppdb-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── 13F. UNIVERSAL HIGH CONTRAST ON YELLOW/GOLD ELEMENTS ─────────────────── */
.smast-btn-gold,
.smast-btn-gold *,
a.smast-btn-gold,
a.smast-btn-gold *,
button.smast-btn-gold,
button.smast-btn-gold *,
.smast-ppdb-btn,
.smast-ppdb-btn *,
a.smast-ppdb-btn,
a.smast-ppdb-btn *,
.card-badge,
.card-badge *,
.btn-gold,
.btn-gold *,
[data-theme="dark"] .smast-btn-gold,
[data-theme="dark"] .smast-btn-gold *,
[data-theme="dark"] a.smast-btn-gold,
[data-theme="dark"] a.smast-btn-gold *,
[data-theme="dark"] button.smast-btn-gold,
[data-theme="dark"] button.smast-btn-gold *,
[data-theme="dark"] .smast-ppdb-btn,
[data-theme="dark"] .smast-ppdb-btn *,
[data-theme="dark"] a.smast-ppdb-btn,
[data-theme="dark"] a.smast-ppdb-btn *,
[data-theme="dark"] .card-badge,
[data-theme="dark"] .card-badge *,
[data-theme="dark"] .btn-gold,
[data-theme="dark"] .btn-gold *,
html.dark .smast-btn-gold,
html.dark .smast-btn-gold *,
html.dark a.smast-btn-gold,
html.dark a.smast-btn-gold *,
html.dark button.smast-btn-gold,
html.dark button.smast-btn-gold *,
html.dark .smast-ppdb-btn,
html.dark .smast-ppdb-btn *,
html.dark a.smast-ppdb-btn,
html.dark a.smast-ppdb-btn *,
html.dark .card-badge,
html.dark .card-badge *,
html.dark .btn-gold,
html.dark .btn-gold * {
    color: #0F172A !important;
    -webkit-text-fill-color: #0F172A !important;
    text-shadow: none !important;
    font-weight: 700;
}

.smast-btn-gold:hover,
.smast-btn-gold:hover *,
.smast-ppdb-btn:hover,
.smast-ppdb-btn:hover *,
[data-theme="dark"] .smast-btn-gold:hover,
[data-theme="dark"] .smast-btn-gold:hover *,
[data-theme="dark"] .smast-ppdb-btn:hover,
[data-theme="dark"] .smast-ppdb-btn:hover *,
html.dark .smast-btn-gold:hover,
html.dark .smast-btn-gold:hover *,
html.dark .smast-ppdb-btn:hover,
html.dark .smast-ppdb-btn:hover * {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* ─── 14. FOOTER (HIGH CONTRAST & ACCESSIBLE WCAG AAA) ─────────────────────── */
.smast-footer {
    background: linear-gradient(180deg, #021833 0%, #010E1F 100%) !important;
    color: #F1F5F9;
    padding-top: 64px;
    border-top: 4px solid #FFB800;
    position: relative;
    z-index: 10;
}

.smast-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.1fr 1.6fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* Footer Column Headings: "Tentang Kami", "Navigasi", "Layanan & Info", "Hubungi Kami" */
.smast-footer h4,
.smast-footer .footer-col-title {
    color: #FFFFFF !important;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-bottom: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Distinct Gold Accent Underline */
.smast-footer h4::after,
.smast-footer .footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: #FFB800;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.4);
}

/* Col 1: Brand & Description */
.smast-footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-brand-logo,
.smast-footer-brand .brand-logo {
    width: 44px;
    height: 44px;
    background: #FFB800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001833;
    font-weight: 900;
    font-size: 1.15rem;
    flex-shrink: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
}

.footer-brand-title,
.smast-footer-brand .brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.25;
}

.footer-brand-sub,
.smast-footer-brand .brand-sub {
    font-size: 0.78rem;
    color: #FCD34D !important;
    font-weight: 600;
}

.footer-desc,
.smast-footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #E2E8F0 !important; /* High contrast slate-200 */
    margin-bottom: 20px;
}

/* Social Media Buttons */
.smast-social-links,
.smast-footer-social {
    display: flex;
    gap: 10px;
}

.smast-social-btn,
.smast-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.smast-social-btn:hover,
.smast-footer-social a:hover {
    background: #FFB800;
    color: #001833 !important;
    border-color: #FFB800;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
}

/* Footer Navigation Links (Cols 2 & 3) */
.smast-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smast-footer-links a {
    color: #E2E8F0 !important; /* High contrast crisp slate-200 */
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.smast-footer-links a i {
    font-size: 0.7rem;
    color: #FFB800 !important;
}

.smast-footer-links a:hover {
    color: #FFB800 !important;
    padding-left: 6px;
}

/* Col 4: Hubungi Kami / Contact Items */
.footer-contact-item,
.smast-footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i,
.smast-footer-contact p i {
    color: #FFB800 !important;
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-item strong {
    display: block;
    color: #FFFFFF !important;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.footer-contact-item p,
.footer-contact-item a,
.smast-footer-contact a {
    color: #CBD5E1 !important; /* High contrast slate-300 */
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
}

.footer-contact-item a:hover,
.smast-footer-contact a:hover {
    color: #FFB800 !important;
    text-decoration: underline;
}

/* Map Embed */
.smast-footer-map-wrap,
.smast-footer-map {
    margin-top: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.smast-footer-map-wrap iframe,
.smast-footer-map iframe {
    display: block;
    width: 100%;
    filter: none;
}

/* Footer Bottom Bar */
.smast-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.smast-footer-bottom p {
    font-size: 0.85rem;
    color: #94A3B8 !important; /* Crisp slate-400 */
    margin: 0;
}

.smast-footer-bottom strong {
    color: #FFFFFF !important;
}

.smast-footer-bottom .footer-credit {
    color: #CBD5E1 !important;
    font-weight: 600;
}

/* â”€â”€â”€ 15. SCROLL REVEAL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.smast-reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.smast-reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.smast-reveal.active,
.smast-reveal-left.active,
.smast-reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Stagger delays */
.smast-reveal-delay-1 { transition-delay: 0.1s; }
.smast-reveal-delay-2 { transition-delay: 0.2s; }
.smast-reveal-delay-3 { transition-delay: 0.3s; }
.smast-reveal-delay-4 { transition-delay: 0.4s; }

/* ─── 16. PAGE HERO (sub-pages) ────────────────────────────────────────── */
.smast-page-hero {
    background: linear-gradient(135deg, #003366 0%, #001A33 100%) !important;
    padding: 56px 0 44px;
    position: relative;
    overflow: hidden;
    color: #FFFFFF !important;
}

.smast-page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.15) 0%, rgba(255, 184, 0, 0) 70%);
    pointer-events: none;
}

.smast-page-hero h1,
.smast-page-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem) !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    margin-bottom: 12px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

.smast-page-hero h1 span,
.smast-page-hero-content h1 span {
    color: #FFB800 !important;
    -webkit-text-fill-color: #FFB800 !important;
}

/* Teks Deskripsi Subpage Hero — Putih Terang, Jelas, & Kontras Tinggi */
.smast-page-hero p,
.smast-page-hero-content p,
body.smast-page .smast-page-hero p,
body.smast-page .smast-page-hero-content p {
    font-size: 1.05rem !important;
    line-height: 1.65 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    max-width: 820px;
    margin: 0 !important;
    font-weight: 400 !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}

.smast-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 14px;
    color: #E2E8F0 !important;
}

.smast-breadcrumb a {
    color: #F8FAFC !important;
    -webkit-text-fill-color: #F8FAFC !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.smast-breadcrumb a:hover {
    color: #FFB800 !important;
    -webkit-text-fill-color: #FFB800 !important;
}

.smast-breadcrumb i {
    color: #94A3B8 !important;
    font-size: 0.72rem;
}

.smast-breadcrumb span {
    color: #CBD5E1 !important;
    -webkit-text-fill-color: #CBD5E1 !important;
}

.smast-breadcrumb .current {
    color: #FFB800 !important;
    -webkit-text-fill-color: #FFB800 !important;
    font-weight: 700;
}

/* â”€â”€â”€ 17. PROFILE PAGE COMPONENTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.smast-visi-misi {
    background: var(--smast-white);
}

.smast-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.smast-vm-card {
    padding: 32px;
    border-radius: var(--smast-radius-lg);
    border-left: 5px solid;
}

.smast-vm-card.visi {
    border-left-color: var(--smast-navy);
    background: var(--smast-navy-light);
}

.smast-vm-card.misi {
    border-left-color: var(--smast-gold);
    background: var(--smast-gold-light);
}

.smast-vm-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.smast-vm-card h3 i {
    color: var(--smast-gold);
}

.smast-vm-card p, .smast-vm-card li {
    color: var(--smast-text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.smast-vm-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smast-vm-card ul li::before {
    content: none !important;
    display: none !important;
}

/* Data table */
.smast-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.smast-data-table th, .smast-data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--smast-border);
    text-align: left;
}

.smast-data-table th {
    width: 35%;
    color: var(--smast-text-muted);
    font-weight: 500;
}

.smast-data-table td {
    color: var(--smast-text);
    font-weight: 600;
}

.smast-data-table tr:hover td {
    background: var(--smast-off-white);
}

/* Profil Sections & Cards */
.smast-profil-section {
    padding: 70px 0;
    background: var(--smast-off-white);
}
.smast-profil-section.bg-white {
    background: var(--smast-white);
}
[data-theme="dark"] .smast-profil-section,
html.dark .smast-profil-section {
    background: #0A192F !important;
}
[data-theme="dark"] .smast-profil-section.bg-white,
html.dark .smast-profil-section.bg-white {
    background: #112240 !important;
}

.smast-profil-sejarah-card {
    max-width: 840px;
    margin: 0 auto;
    background: var(--smast-off-white);
    border-radius: var(--smast-radius);
    padding: 40px;
    border-left: 5px solid var(--smast-navy);
    box-shadow: var(--smast-shadow-sm);
    box-sizing: border-box;
}
[data-theme="dark"] .smast-profil-sejarah-card,
html.dark .smast-profil-sejarah-card {
    background: #112240 !important;
    border-left-color: #38BDF8 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-left: 5px solid #38BDF8 !important;
}

.smast-galeri-tabs-bar {
    background: var(--smast-bg);
    padding: 24px 0 0;
}
.smast-galeri-tabs-wrap {
    display: flex;
    justify-content: center;
    gap: 14px;
}
.gallery-filters {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Org chart */
.smast-orgchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.smast-orgchart-level {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.smast-orgchart-node {
    background: var(--smast-white);
    border: 2px solid var(--smast-navy);
    border-radius: var(--smast-radius);
    padding: 16px 20px;
    text-align: center;
    min-width: 160px;
    position: relative;
}

.smast-orgchart-node.top {
    background: var(--smast-navy);
    color: var(--smast-white);
    border-color: var(--smast-navy);
    min-width: 220px;
}

.smast-orgchart-node.top strong { color: var(--smast-gold); }
.smast-orgchart-node.top span { color: rgba(255,255,255,0.7); }

.smast-orgchart-node strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin-bottom: 4px;
}

.smast-orgchart-node span {
    font-size: 0.75rem;
    color: var(--smast-text-muted);
}

.smast-orgchart-line {
    width: 2px;
    height: 32px;
    background: var(--smast-navy);
    opacity: 0.3;
    margin: 0 auto;
}

.smast-orgchart-branch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
}

.smast-orgchart-branch-line {
    height: 2px;
    flex: 1;
    max-width: 400px;
    background: rgba(0,51,102,0.2);
}

/* â”€â”€â”€ 18. RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Laptop Viewport Adjustment (1024px - 1200px): Centered & Compact to avoid overflow */
@media (max-width: 1200px) and (min-width: 993px) {
    .smast-navbar-brand {
        gap: 8px;
    }
    .brand-logo-img {
        height: 36px;
    }
    .brand-school-name {
        font-size: 0.88rem;
    }
    .brand-school-motto {
        font-size: 0.68rem;
    }
    .smast-nav-menu {
        margin: 0 6px;
        gap: 1px;
    }
    .smast-nav-link {
        padding: 5px 6px;
        font-size: 0.72rem;
        letter-spacing: 0;
    }
    .smast-navbar-actions {
        gap: 5px;
    }
    .smast-nav-action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.80rem;
    }
}

@media (max-width: 1024px) {
    .smast-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .smast-profil-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .smast-top-strip {
        display: none !important;
    }

    /* Navbar Tetap Tampil di HP (Fixed Pinning) & Stay saat Dashboard Terbuka */
    .smast-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        z-index: 10000 !important;
    }

    .smast-mobile-menu {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
    }

    .smast-mobile-menu.open {
        max-height: calc(100vh - 60px) !important;
    }

    body {
        padding-top: 60px !important;
    }

    body.admin-bar .smast-navbar {
        top: 46px !important;
    }

    body.admin-bar .smast-mobile-menu {
        top: 106px !important;
        height: calc(100vh - 106px) !important;
    }

    body.admin-bar .smast-mobile-menu.open {
        max-height: calc(100vh - 106px) !important;
    }

    body.admin-bar {
        padding-top: 106px !important;
    }

    .smast-navbar-brand {
        gap: 8px !important;
        min-width: 0;
    }

    .brand-logo-img {
        height: 38px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .brand-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0;
        line-height: 1.15;
    }

    .brand-school-name {
        display: block !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap;
        color: #003366 !important;
        -webkit-text-fill-color: #003366 !important;
    }

    .brand-school-motto {
        display: block !important;
        font-size: 0.66rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.1px !important;
        white-space: nowrap;
        color: #475569 !important;
        -webkit-text-fill-color: #475569 !important;
        margin-top: 1px !important;
    }

    [data-theme="dark"] .brand-school-name,
    html.dark .brand-school-name {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    [data-theme="dark"] .brand-school-motto,
    html.dark .brand-school-motto {
        color: #CBD5E1 !important;
        -webkit-text-fill-color: #CBD5E1 !important;
    }

    .smast-nav-menu,
    .smast-btn-ppdb-modern {
        display: none !important;
    }

    .smast-hamburger {
        display: flex !important;
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        gap: 4px !important;
    }

    .smast-hamburger span {
        width: 17px !important;
        height: 2px !important;
        background: #003366 !important;
    }

    [data-theme="dark"] .smast-hamburger span,
    html.dark .smast-hamburger span {
        background: #FFFFFF !important;
    }

    .smast-galeri-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .smast-navbar {
        height: 56px !important;
        z-index: 10000 !important;
    }

    .smast-mobile-menu {
        top: 56px !important;
        height: calc(100vh - 56px) !important;
    }

    .smast-mobile-menu.open {
        max-height: calc(100vh - 56px) !important;
    }

    body {
        padding-top: 56px !important;
    }

    body.admin-bar .smast-mobile-menu {
        top: 102px !important;
        height: calc(100vh - 102px) !important;
    }

    body.admin-bar .smast-mobile-menu.open {
        max-height: calc(100vh - 102px) !important;
    }

    body.admin-bar {
        padding-top: 102px !important;
    }

    .smast-navbar-inner {
        gap: 6px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .smast-navbar-brand {
        gap: 7px !important;
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand-logo-img {
        height: 34px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .brand-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0;
        line-height: 1.15;
    }

    .brand-school-name {
        display: block !important;
        font-size: clamp(0.70rem, 2.6vw, 0.82rem) !important;
        font-weight: 800 !important;
        letter-spacing: 0.1px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #003366 !important;
        -webkit-text-fill-color: #003366 !important;
    }

    .brand-school-motto {
        display: block !important;
        font-size: clamp(0.54rem, 1.9vw, 0.62rem) !important;
        font-weight: 600 !important;
        letter-spacing: 0.1px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #475569 !important;
        -webkit-text-fill-color: #475569 !important;
        margin-top: 1px !important;
    }

    [data-theme="dark"] .brand-school-name,
    html.dark .brand-school-name {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    [data-theme="dark"] .brand-school-motto,
    html.dark .brand-school-motto {
        color: #CBD5E1 !important;
        -webkit-text-fill-color: #CBD5E1 !important;
    }

    .smast-navbar-actions {
        gap: 4px !important;
    }

    .smast-nav-action-btn {
        width: 31px !important;
        height: 31px !important;
        font-size: 0.76rem !important;
    }

    .smast-hamburger {
        display: flex !important;
        width: 31px !important;
        height: 31px !important;
        padding: 0 !important;
        gap: 3.5px !important;
    }

    .smast-hamburger span {
        width: 15px !important;
        height: 2px !important;
        background: #003366 !important;
    }

    [data-theme="dark"] .smast-hamburger span,
    html.dark .smast-hamburger span {
        background: #FFFFFF !important;
    }
}

@media (max-width: 768px) {
    :root {
        --smast-section-pad: 48px;
        --smast-section-pad-sm: 32px;
    }

    /* ─── KUTIPAN BAR MOBILE ─── */
    .smast-kutipan-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .smast-kutipan-item {
        font-size: 0.82rem;
    }

    .smast-galeri-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* ─── HERO SLIDESHOW MOBILE (ZERO COLLISION / CRISP BREATHING ROOM) ─── */
    .smast-hero {
        height: 80vh !important;
        min-height: 480px !important;
        max-height: 580px !important;
    }

    .smast-hero-content {
        padding: 36px 16px 28px !important;
    }

    .smast-hero-badge {
        font-size: 0.72rem !important;
        padding: 4px 12px !important;
        margin-bottom: 10px !important;
    }

    .smast-hero-title,
    .smast-hero-content h1,
    body.smast-page .smast-hero .smast-hero-title {
        font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important;
        margin-bottom: 8px !important;
        line-height: 1.25 !important;
        text-wrap: balance !important;
    }

    .smast-hero-tagline,
    .smast-hero-content .smast-hero-tagline {
        font-size: 0.88rem !important;
        margin-bottom: 8px !important;
    }

    .smast-hero-desc,
    .smast-hero-content .smast-hero-desc {
        font-size: 0.84rem !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        padding: 0 4px !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .smast-hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 290px !important;
        margin: 0 auto 16px !important;
    }

    .smast-hero-buttons .smast-btn {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        padding: 11px 16px !important;
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        border-radius: 50px !important;
    }

    /* Hero Arrow Navigation di HP (Aktif & Mudah Diklik) */
    .smast-hero-arrow {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 0.90rem !important;
        background: rgba(0, 30, 60, 0.78) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
        color: #FFFFFF !important;
        border-radius: 50% !important;
        z-index: 10 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    .smast-hero-prev {
        left: 10px !important;
    }

    .smast-hero-next {
        right: 10px !important;
    }

    .smast-hero-arrow:active {
        background: var(--smast-gold) !important;
        color: var(--smast-navy) !important;
        border-color: var(--smast-gold) !important;
        transform: translateY(-50%) scale(0.95) !important;
    }

    .smast-hero-dots {
        bottom: 20px !important;
        z-index: 5 !important;
    }

    /* ─── TICKER MOBILE ─── */
    .smast-ticker {
        padding: 8px 0;
    }

    .smast-ticker-label {
        padding: 4px 10px;
        font-size: 0.70rem;
    }

    .smast-ticker-track {
        padding: 0 8px;
    }

    .smast-ticker-item {
        font-size: 0.80rem;
    }

    /* ─── STATS MOBILE ─── */
    .smast-stats {
        padding: 32px 0;
    }

    .smast-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .smast-stat-item {
        padding: 14px 8px;
    }

    .smast-stat-item::after {
        display: none !important;
    }

    .smast-stat-number {
        font-size: 1.8rem;
    }

    .smast-stat-label {
        font-size: 0.76rem;
    }

    /* ─── SAMBUTAN MOBILE (ANTI-OVERFLOW & CRISP EDITORIAL) ─── */
    .smast-sambutan-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .smast-sambutan-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .smast-sambutan-photo-col {
        max-width: 180px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .smast-sambutan-text-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        text-align: left !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .smast-sambutan-heading {
        font-size: clamp(1.2rem, 5vw, 1.5rem) !important;
        line-height: 1.3 !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        margin: 6px 0 10px !important;
        text-align: left !important;
    }

    .smast-sambutan-divider {
        margin: 0 0 14px !important;
    }

    .smast-sambutan-body {
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        text-align: left !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .smast-sambutan-body p {
        margin-bottom: 12px !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .smast-sambutan-signature {
        text-align: left !important;
        margin-top: 18px !important;
        padding-top: 14px !important;
    }

    .smast-sambutan-btn-wrap {
        margin-top: 20px !important;
        width: 100% !important;
    }

    .smast-sambutan-text-col .smast-btn,
    .smast-sambutan-btn-wrap .smast-btn {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        padding: 12px 18px !important;
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        border-radius: 50px !important;
    }

    .smast-sambutan-text-col .smast-btn i,
    .smast-sambutan-btn-wrap .smast-btn i {
        flex-shrink: 0 !important;
        font-size: 0.90rem !important;
        margin: 0 !important;
    }

    .smast-sambutan-text-col .smast-btn span,
    .smast-sambutan-btn-wrap .smast-btn span {
        display: inline-block !important;
        line-height: 1.35 !important;
    }

    /* ─── SECTION HEADERS MOBILE ─── */
    .smast-section-header {
        margin-bottom: 30px;
    }

    .smast-section-title,
    .section-title h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
    }

    .smast-section-desc,
    .section-title p {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    /* ─── PROFIL / PILAR MOBILE ─── */
    .smast-profil-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .smast-profil-card {
        padding: 22px 18px;
    }

    /* ─── BERITA MOBILE ─── */
    .smast-berita-featured {
        grid-template-columns: 1fr;
    }

    .smast-berita-featured-img {
        height: 200px;
        min-height: 200px;
    }

    .smast-berita-featured-content {
        padding: 20px 16px;
    }

    .smast-berita-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .smast-berita-thumb {
        height: 180px;
    }

    .smast-berita-content {
        padding: 18px 16px;
    }

    .smast-berita-title {
        font-size: 1.05rem;
    }

    /* ─── FASILITAS PREVIEW MOBILE ─── */
    .smast-fasilitas-preview-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .smast-fasilitas-preview-card {
        padding: 20px 16px;
    }

    /* ─── APLIKASI PORTAL MOBILE ─── */
    .smast-portal-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .smast-portal-card {
        padding: 22px 18px;
    }

    .smast-portal-card .smast-btn {
        width: 100%;
        justify-content: center;
    }

    /* ─── EKSKUL MOBILE ─── */
    .smast-ekskul-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .smast-ekskul-card {
        padding: 16px 10px;
    }

    .smast-ekskul-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .smast-ekskul-name {
        font-size: 0.85rem;
    }

    .smast-ekskul-category {
        font-size: 0.72rem;
    }

    /* ─── CTA BANNER WRAP ON ALL SECTIONS MOBILE (100% PRECISE & CONTAINED) ─── */
    .smast-ekskul-cta-wrap {
        margin-top: 24px;
        padding: 0 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .smast-ekskul-cta-note {
        font-size: 0.84rem;
        margin-bottom: 12px;
        line-height: 1.5;
        padding: 0 6px;
    }

    .smast-ekskul-cta-wrap .smast-btn {
        width: 100% !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 0.88rem !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
        gap: 8px !important;
        border-radius: 50px !important;
    }

    .smast-ekskul-cta-wrap .smast-btn i {
        flex-shrink: 0 !important;
        font-size: 0.90rem !important;
        margin: 0 !important;
    }

    .smast-ekskul-cta-wrap .smast-btn span {
        display: inline-block !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* ─── GALERI PREVIEW & VIDEO MOBILE ─── */
    .smast-galeri-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .smast-galeri-item {
        height: 220px;
        border-radius: 14px;
    }

    .smast-galeri-overlay {
        padding: 18px 16px;
    }

    .smast-galeri-overlay h4 {
        font-size: 1.05rem;
        line-height: 1.35;
        margin: 6px 0 4px;
    }

    .smast-video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .smast-youtube-promo-card {
        padding: 24px 18px;
    }

    /* ─── PPDB CTA SECTION MOBILE ─── */
    .smast-ppdb-cta {
        padding: 44px 0;
    }

    .smast-ppdb-cta-box {
        padding: 26px 16px;
        border-radius: 16px;
    }

    .smast-ppdb-title {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
        margin-bottom: 10px;
    }

    .smast-ppdb-desc {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }

    .smast-ppdb-tracks {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 22px;
    }

    .track-item {
        padding: 12px 8px;
    }

    .track-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .track-item strong {
        font-size: 0.82rem;
    }

    .track-item span {
        font-size: 0.70rem;
    }

    .smast-ppdb-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .smast-ppdb-actions .smast-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.90rem;
    }

    /* ─── FOOTER MOBILE ─── */
    .smast-footer {
        padding-top: 44px;
    }

    .smast-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }

    .smast-footer-brand .footer-brand-logo {
        height: 48px;
    }

    .smast-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 18px 0;
    }

    /* ─── INNER PAGES RESPONSIVENESS ON MOBILE ─── */
    .smast-page-hero {
        padding: 85px 16px 36px;
    }

    .smast-page-hero h1 {
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }

    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kontak-form {
        padding: 24px 16px;
    }

    .kontak-form input,
    .kontak-form textarea,
    .kontak-form select,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
    }

    /* Tables in Profil Page - Prevent horizontal breakout */
    .smast-table-responsive,
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .smast-navbar-brand .brand-logo-img {
        height: 32px !important;
    }

    .brand-school-name {
        display: block !important;
        font-size: 0.76rem !important;
    }

    .brand-school-motto {
        display: block !important;
        font-size: 0.58rem !important;
    }

    .smast-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .smast-ekskul-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .smast-galeri-masonry,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .smast-galeri-preview-grid {
        grid-template-columns: 1fr;
    }

    .smast-galeri-item {
        height: 200px;
    }
}

@media (max-width: 380px) {
    .smast-navbar-inner {
        padding-left: 8px !important;
        padding-right: 8px !important;
        gap: 4px !important;
    }

    .smast-navbar-brand {
        gap: 5px !important;
    }

    .brand-logo-img {
        height: 28px !important;
    }

    .brand-school-name {
        font-size: 0.68rem !important;
    }

    .brand-school-motto {
        font-size: 0.52rem !important;
    }

    .smast-navbar-actions {
        gap: 2px !important;
    }

    .smast-nav-action-btn,
    .smast-hamburger {
        width: 27px !important;
        height: 27px !important;
        font-size: 0.68rem !important;
    }
}


/* â”€â”€â”€ LIGHTBOX (galeri & poster) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-caption {
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin-top: 14px;
    font-size: 0.9rem;
    max-width: 600px;
}

/* ─── BFCACHE & NAVIGATION SAFETY (Mencegah Layar Blank saat Back) ────────── */
body { opacity: 1 !important; }
body.fade-out { opacity: 1 !important; }

/* â”€â”€â”€ GENERIC SECTION UTILITY (halaman lama yang masih pakai .section) â”€â”€â”€â”€â”€â”€ */
.section { padding: 60px 0; }

/* â”€â”€â”€ GALERI PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: var(--smast-radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--smast-navy-light);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(0,51,102,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
    color: #fff; font-size: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-title {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,33,66,0.8));
    color: #fff; padding: 20px 12px 10px;
    font-size: 0.82rem; font-weight: 600;
}

/* Filter buttons */
.filter-buttons {
    display: flex; gap: 10px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 32px;
}
.filter-btn {
    padding: 8px 20px; border-radius: 50px;
    border: 2px solid var(--smast-border);
    background: transparent; color: var(--smast-text-muted);
    font-size: 0.875rem; font-weight: 600; cursor: pointer;
    transition: var(--smast-transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--smast-navy);
    border-color: var(--smast-navy);
    color: #fff;
}

/* â”€â”€â”€ ARTIKEL / BERITA PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.artikel-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    overflow: hidden;
    border: 1px solid var(--smast-border);
    transition: var(--smast-transition);
}
.artikel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--smast-shadow-hover);
}
.artikel-card .card-img-wrapper {
    overflow: hidden;
    height: 200px;
    background: var(--smast-navy-light);
}
.artikel-card .card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.artikel-card:hover .card-img-wrapper img { transform: scale(1.05); }
.artikel-card .card-content { padding: 20px; }
.artikel-card .card-title { font-size: 1rem; font-weight: 700; color: var(--smast-navy); margin-bottom: 8px; }
.artikel-card .card-title a { color: inherit; text-decoration: none; }
.artikel-card .card-title a:hover { color: var(--smast-gold); }
.artikel-card .card-desc { font-size: 0.85rem; color: var(--smast-text-muted); margin-bottom: 14px; line-height: 1.65; }
.artikel-card .artikel-meta { display: flex; gap: 14px; font-size: 0.75rem; color: var(--smast-text-muted); margin-bottom: 10px; }
.artikel-card .read-more {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--smast-navy); font-size: 0.82rem; font-weight: 600;
    text-decoration: none;
}
.artikel-card .read-more:hover { color: var(--smast-gold); }

/* â”€â”€â”€ FASILITAS PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.fasilitas-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    padding: 28px 22px;
    text-align: center;
    border: 1px solid var(--smast-border);
    transition: var(--smast-transition);
    box-shadow: var(--smast-shadow-sm);
}
.fasilitas-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--smast-shadow-hover);
}
.fasilitas-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--smast-navy), #0055AA);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
    color: var(--smast-gold); font-size: 1.5rem;
}
.fasilitas-card h3 { font-size: 1rem; font-weight: 700; color: var(--smast-navy); margin-bottom: 8px; }
.fasilitas-card p { font-size: 0.85rem; color: var(--smast-text-muted); line-height: 1.65; }

/* ─── FASILITAS & SUBPAGE CARDS DARK MODE OVERRIDES ─── */
[data-theme="dark"] .fasilitas-card,
html.dark .fasilitas-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .fasilitas-card:hover,
html.dark .fasilitas-card:hover {
    background: #162B4E !important;
    border-color: #FBBF24 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1.5px #FBBF24 !important;
}

[data-theme="dark"] .fasilitas-card h3,
html.dark .fasilitas-card h3 {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .fasilitas-card p,
html.dark .fasilitas-card p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .fasilitas-icon,
html.dark .fasilitas-icon {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FBBF24 !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35) !important;
}

[data-theme="dark"] .artikel-card,
html.dark .artikel-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

[data-theme="dark"] .artikel-card .card-title,
[data-theme="dark"] .artikel-card .card-title a,
html.dark .artikel-card .card-title,
html.dark .artikel-card .card-title a {
    color: #FFFFFF !important;
}

[data-theme="dark"] .artikel-card .card-desc,
html.dark .artikel-card .card-desc {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .kontak-item,
[data-theme="dark"] .kontak-form,
html.dark .kontak-item,
html.dark .kontak-form {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .kontak-item h4,
html.dark .kontak-item h4 {
    color: #FFFFFF !important;
}

[data-theme="dark"] .filter-btn,
html.dark .filter-btn {
    background: #112240 !important;
    border-color: #1E3A5F !important;
    color: #CBD5E1 !important;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active,
html.dark .filter-btn:hover,
html.dark .filter-btn.active {
    background: #0284C7 !important;
    border-color: #38BDF8 !important;
    color: #FFFFFF !important;
}

/* â”€â”€â”€ KONTAK PAGE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.kontak-info { display: flex; flex-direction: column; gap: 20px; }
.kontak-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    padding: 20px;
    border: 1px solid var(--smast-border);
}
.kontak-item-icon {
    width: 44px; height: 44px;
    background: var(--smast-gold);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--smast-navy); font-size: 1.1rem; flex-shrink: 0;
}
.kontak-item strong { display: block; color: var(--smast-navy); font-size: 0.9rem; margin-bottom: 4px; }
.kontak-item p { color: var(--smast-text-muted); font-size: 0.85rem; margin: 0; }
.kontak-item a { color: var(--smast-navy); text-decoration: none; }
.kontak-item a:hover { color: var(--smast-gold); }
.kontak-form {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    padding: 32px;
    border: 1px solid var(--smast-border);
    box-shadow: var(--smast-shadow-sm);
}
.kontak-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--smast-navy); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--smast-text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--smast-border);
    border-radius: var(--smast-radius-sm);
    font-size: 0.9rem; color: var(--smast-text);
    background: var(--smast-off-white);
    transition: border-color 0.2s;
    font-family: inherit;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--smast-navy);
    background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
    width: 100%; padding: 13px;
    background: var(--smast-navy); color: #fff;
    border: none; border-radius: 50px;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: var(--smast-transition);
    font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--smast-navy-hover); transform: translateY(-2px); }

/* â”€â”€â”€ PAGE HERO (sub-pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Duplicate page-hero removed */

/* ─── CARDS ─────────────────────────────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.card {
    background: var(--smast-white);
    border-radius: var(--smast-radius-lg);
    overflow: hidden;
    border: 1px solid var(--smast-border);
    transition: var(--smast-transition);
    box-shadow: var(--smast-shadow-sm);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--smast-shadow-hover); }
.card-img-wrapper { overflow: hidden; height: 200px; background: var(--smast-navy-light); position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img-wrapper img { transform: scale(1.05); }
.card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--smast-gold); color: var(--smast-navy);
    padding: 3px 10px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700;
}
.card-content { padding: 22px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--smast-navy); margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--smast-text-muted); line-height: 1.65; margin-bottom: 14px; }
.card-price { font-size: 1.1rem; font-weight: 800; color: var(--smast-navy); margin-bottom: 14px; }
.card-price span { font-size: 0.8rem; font-weight: 500; color: var(--smast-text-muted); }
.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px; border-radius: 50px;
    font-weight: 600; font-size: 0.875rem;
    text-decoration: none; cursor: pointer; border: 2px solid transparent;
    transition: var(--smast-transition);
}
.btn-primary { background: var(--smast-navy); color: #fff; border-color: var(--smast-navy); }
.btn-primary:hover { background: var(--smast-navy-hover); transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--smast-navy); border-color: var(--smast-navy); }
.btn-outline:hover { background: var(--smast-navy); color: #fff; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); color: #fff; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* â”€â”€â”€ SECTION-TITLE (backward compat) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
    font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800;
    color: var(--smast-navy); margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.section-title h2 span { color: var(--smast-gold); }
.section-title p { color: var(--smast-text-muted); max-width: 600px; margin: 0 auto; font-size: 0.95rem; }

/* container backward compat */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

@media (max-width: 768px) {
    .kontak-grid { grid-template-columns: 1fr; }
}

/* ─── 24. PAPAN PENGUMUMAN RESMI SEKOLAH (ARCHIVE & SINGLE) ─────────────── */
.smast-pengumuman-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    background: var(--smast-white);
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--smast-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
[data-theme="dark"] .smast-pengumuman-toolbar,
html.dark .smast-pengumuman-toolbar {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
}

.smast-pengumuman-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 420px;
}
.smast-pengumuman-search-input {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid var(--smast-border);
    font-size: 0.90rem;
    outline: none;
    transition: var(--smast-transition);
}
.smast-pengumuman-search-input:focus {
    border-color: #004884;
    box-shadow: 0 0 0 3px rgba(0, 72, 132, 0.15);
}
[data-theme="dark"] .smast-pengumuman-search-input,
html.dark .smast-pengumuman-search-input {
    background: #0B192C !important;
    border-color: #1E3A5F !important;
    color: #F8FAFC !important;
}

.smast-pengumuman-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.smast-pengumuman-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-left: 5px solid #004884;
    border-radius: 14px;
    padding: 26px 28px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.smast-pengumuman-card.is-urgent {
    border-left-color: #DC2626;
    background: #FEF2F2;
}
.smast-pengumuman-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 51, 102, 0.08);
}
[data-theme="dark"] .smast-pengumuman-card,
html.dark .smast-pengumuman-card {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    border-left-color: #38BDF8 !important;
}
[data-theme="dark"] .smast-pengumuman-card.is-urgent,
html.dark .smast-pengumuman-card.is-urgent {
    border-left-color: #EF4444 !important;
    background: #1F1722 !important;
}

.smast-pengumuman-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.smast-pengumuman-badge-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.smast-pengumuman-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.smast-pengumuman-badge.badge-urgent {
    background: #DC2626;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.smast-pengumuman-badge.badge-normal {
    background: rgba(0, 72, 132, 0.1);
    color: #004884;
}
[data-theme="dark"] .smast-pengumuman-badge.badge-normal,
html.dark .smast-pengumuman-badge.badge-normal {
    background: rgba(56, 189, 248, 0.18);
    color: #38BDF8;
}

.smast-pengumuman-date {
    font-size: 0.84rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 6px;
}
[data-theme="dark"] .smast-pengumuman-date,
html.dark .smast-pengumuman-date {
    color: #94A3B8;
}

.smast-pengumuman-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--smast-navy);
    line-height: 1.35;
    margin: 0;
}
.smast-pengumuman-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.smast-pengumuman-title a:hover {
    color: #0077CC;
}
[data-theme="dark"] .smast-pengumuman-title,
html.dark .smast-pengumuman-title {
    color: #F8FAFC !important;
}

.smast-pengumuman-meta-details {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748B;
    flex-wrap: wrap;
}
[data-theme="dark"] .smast-pengumuman-meta-details,
html.dark .smast-pengumuman-meta-details {
    color: #94A3B8;
}

.smast-pengumuman-excerpt {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}
[data-theme="dark"] .smast-pengumuman-excerpt,
html.dark .smast-pengumuman-excerpt {
    color: #CBD5E1 !important;
}

.smast-pengumuman-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--smast-border);
    flex-wrap: wrap;
}
[data-theme="dark"] .smast-pengumuman-footer,
html.dark .smast-pengumuman-footer {
    border-top-color: rgba(56, 189, 248, 0.15);
}

.smast-btn-pengumuman {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.smast-btn-pengumuman-primary {
    background: #004884;
    color: #FFFFFF !important;
}
.smast-btn-pengumuman-primary:hover {
    background: #003366;
    transform: translateY(-1px);
}
.smast-btn-pengumuman-pdf {
    background: #FEF2F2;
    color: #DC2626 !important;
    border: 1px solid #FCA5A5;
}
.smast-btn-pengumuman-pdf:hover {
    background: #DC2626;
    color: #FFFFFF !important;
}

/* SINGLE PENGUMUMAN DOKUMEN RESMI FORMAT */
.smast-official-doc-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
    border: 1px solid #CBD5E1;
    padding: 44px 48px;
    max-width: 920px;
    margin: -30px auto 40px;
    position: relative;
    z-index: 10;
}
@media (max-width: 768px) {
    .smast-official-doc-card {
        padding: 24px 20px;
        margin-top: -20px;
    }
}
[data-theme="dark"] .smast-official-doc-card,
html.dark .smast-official-doc-card {
    background: #112240 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5) !important;
}

.smast-doc-kop {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 3px double #0F172A;
    margin-bottom: 28px;
}
[data-theme="dark"] .smast-doc-kop,
html.dark .smast-doc-kop {
    border-bottom-color: #38BDF8 !important;
}
.smast-doc-kop-logo img {
    width: 80px;
    height: auto;
}
.smast-doc-kop-text {
    flex: 1;
    text-align: center;
}
.smast-doc-kop-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.smast-doc-kop-text h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: #003366;
    margin: 4px 0;
    letter-spacing: 0.5px;
}
.smast-doc-kop-text p {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}
[data-theme="dark"] .smast-doc-kop-text h4 {
    color: #94A3B8 !important;
}
[data-theme="dark"] .smast-doc-kop-text h2 {
    color: #38BDF8 !important;
}
[data-theme="dark"] .smast-doc-kop-text p {
    color: #CBD5E1 !important;
}

.smast-doc-meta-table {
    width: 100%;
    margin-bottom: 28px;
    border-collapse: collapse;
    background: #F8FAFC;
    border-radius: 8px;
    overflow: hidden;
}
[data-theme="dark"] .smast-doc-meta-table,
html.dark .smast-doc-meta-table {
    background: #0B192C !important;
}
.smast-doc-meta-table td {
    padding: 10px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid #E2E8F0;
}
[data-theme="dark"] .smast-doc-meta-table td {
    border-bottom-color: #1E3A5F !important;
    color: #E2E8F0 !important;
}
.smast-doc-meta-table td.doc-label {
    width: 220px;
    font-weight: 700;
    color: #475569;
}
[data-theme="dark"] .smast-doc-meta-table td.doc-label {
    color: #94A3B8 !important;
}

.smast-doc-body {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #1E293B;
    margin-bottom: 36px;
}
[data-theme="dark"] .smast-doc-body,
html.dark .smast-doc-body {
    color: #E2E8F0 !important;
}
.smast-doc-body p {
    margin-bottom: 16px;
}

.smast-doc-download-banner {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
[data-theme="dark"] .smast-doc-download-banner,
html.dark .smast-doc-download-banner {
    background: #0D233A !important;
    border-color: #1E3A5F !important;
}
.smast-doc-download-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.smast-doc-download-icon {
    width: 48px;
    height: 48px;
    background: #DC2626;
    color: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.smast-doc-download-text h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
}
[data-theme="dark"] .smast-doc-download-text h4 {
    color: #F8FAFC !important;
}
.smast-doc-download-text p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748B;
}
[data-theme="dark"] .smast-doc-download-text p {
    color: #94A3B8 !important;
}




/* ══════════════════════════════════════════════════════════════════════════
   11B. SMAST BERITA & KABAR CARDS (Unified Suite for Beranda, Home, Archive)
   ══════════════════════════════════════════════════════════════════════════ */
.smast-berita-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.smast-berita-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.smast-berita-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 51, 102, 0.12);
    border-color: #004884;
}

.smast-berita-thumb {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    background: #E2E8F0;
    flex-shrink: 0;
}

.smast-berita-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.smast-berita-card:hover .smast-berita-thumb img {
    transform: scale(1.05);
}

.smast-berita-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #003366 0%, #001f3f 100%);
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
}

.smast-berita-thumb-placeholder i {
    font-size: 2.2rem;
    color: var(--smast-gold);
}

.smast-berita-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--smast-gold);
    color: #0F172A;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.smast-berita-content {
    padding: 24px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.smast-berita-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.80rem;
    color: var(--smast-text-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

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

.smast-berita-title {
    font-size: 1.10rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--smast-navy);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smast-berita-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.smast-berita-title a:hover {
    color: var(--smast-gold);
}

.smast-berita-excerpt {
    font-size: 0.88rem;
    color: var(--smast-text-muted);
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════════════════
   UNIVERSAL READ-MORE & CARD LINK STYLING (BACA SELENGKAPNYA)
   ══════════════════════════════════════════════════════════════════════════ */
.smast-berita-readmore,
.smast-news-read-more,
.read-more,
.smast-card-link,
a.smast-berita-readmore,
a.smast-news-read-more,
a.read-more,
a.smast-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--smast-navy);
    text-decoration: none;
    margin-top: auto;
    transition: all 0.25s ease;
    cursor: pointer;
}

.smast-berita-readmore i,
.smast-news-read-more i,
.read-more i,
.smast-card-link i {
    font-size: 0.80rem;
    transition: transform 0.25s ease;
}

.smast-berita-readmore:hover,
.smast-news-read-more:hover,
.read-more:hover,
.smast-card-link:hover,
a.smast-berita-readmore:hover,
a.smast-news-read-more:hover,
a.read-more:hover,
a.smast-card-link:hover {
    color: var(--smast-gold);
    gap: 9px;
}

.smast-berita-readmore:hover i,
.smast-news-read-more:hover i,
.read-more:hover i,
.smast-card-link:hover i {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════════════════
   PROFIL VISI MISI & DATA SEKOLAH STYLING
   ══════════════════════════════════════════════════════════════════════════ */
.smast-vm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 24px;
}

.smast-vm-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    padding: 32px;
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    box-sizing: border-box;
}

.smast-vm-card.smast-vm-visi {
    max-width: 860px;
    margin: 0 auto 36px;
    text-align: center;
    border: 1px solid var(--smast-border);
    border-radius: 16px;
    padding: 38px 28px;
    background: var(--smast-white);
    box-shadow: 0 4px 20px rgba(0, 45, 84, 0.05);
}

[data-theme="dark"] .smast-vm-card.smast-vm-visi,
html.dark .smast-vm-card.smast-vm-visi {
    background: #0F1D33 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5) !important;
}

.smast-vm-visi-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 72, 132, 0.08);
    color: var(--smast-navy);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

[data-theme="dark"] .smast-vm-visi-badge,
html.dark .smast-vm-visi-badge {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38BDF8 !important;
}

.smast-vm-visi-heading {
    font-size: clamp(1.2rem, 3.2vw, 1.65rem);
    font-weight: 900;
    color: var(--smast-navy);
    line-height: 1.45;
    margin-bottom: 12px;
}

[data-theme="dark"] .smast-vm-visi-heading,
html.dark .smast-vm-visi-heading {
    color: #FFFFFF !important;
}

.smast-vm-visi-sub {
    font-size: 0.90rem;
    color: var(--smast-text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

[data-theme="dark"] .smast-vm-visi-sub,
html.dark .smast-vm-visi-sub {
    color: #94A3B8 !important;
}

.smast-vm-card.smast-vm-indikator {
    border-top: 4px solid var(--smast-navy);
}

.smast-vm-card.smast-vm-misi {
    border-top: 4px solid var(--smast-gold);
}

.smast-vm-badge {
    display: inline-block;
    background: rgba(255, 184, 0, 0.15);
    color: var(--smast-navy);
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.smast-vm-main-title {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 900;
    color: var(--smast-navy);
    line-height: 1.4;
    margin-bottom: 8px;
}

.smast-vm-gold,
.mustika-gold {
    color: var(--smast-gold);
}

.smast-vm-title {
    font-size: 1.20rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smast-vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smast-vm-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.93rem;
    color: var(--smast-text);
    line-height: 1.6;
}

.smast-vm-list li::before {
    content: none !important;
    display: none !important;
}

.smast-vm-list li i {
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.smast-data-table {
    width: 100%;
    border-collapse: collapse;
}

.smast-data-table th,
.smast-data-table td {
    padding: 14px 20px;
    font-size: 0.92rem;
}

.smast-data-table tr {
    border-bottom: 1px solid var(--smast-border);
}

.smast-data-table th {
    text-align: left;
    background: #F8FAFC;
    font-weight: 700;
    color: var(--smast-navy);
    width: 32%;
}

/* ─── DAPODIK PROFIL TABLE (RESPONSIVE & CLEAN) ─── */
.smast-dapodik-wrapper {
    max-width: 860px;
    margin: 0 auto;
}

.smast-dapodik-container {
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    overflow: hidden;
}

[data-theme="dark"] .smast-dapodik-container,
html.dark .smast-dapodik-container {
    background: #0F1D33 !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.smast-dapodik-table {
    width: 100%;
    border-collapse: collapse;
}

.smast-dapodik-table tr {
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.2s ease;
}

.smast-dapodik-table tr:last-child {
    border-bottom: none;
}

.smast-dapodik-table tr:hover {
    background: #F8FAFC;
}

.smast-dapodik-table th {
    padding: 14px 20px;
    text-align: left;
    width: 32%;
    background: #F8FAFC;
    font-weight: 600;
    color: var(--smast-navy);
    font-size: 0.90rem;
    border: none;
}

.smast-dapodik-table td {
    padding: 14px 20px;
    font-size: 0.92rem;
    color: var(--smast-text);
    border: none;
}

.dapodik-val-bold {
    font-weight: 700;
    color: var(--smast-navy);
}

.dapodik-val-gold {
    font-weight: 700;
    color: var(--smast-gold);
}

.dapodik-link {
    color: var(--smast-navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dapodik-link:hover {
    color: var(--smast-navy-light);
    text-decoration: underline;
}

.smast-badge-akreditasi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--smast-navy);
    color: var(--smast-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

[data-theme="dark"] .smast-dapodik-table tr:hover {
    background: rgba(56, 189, 248, 0.05);
}

[data-theme="dark"] .smast-dapodik-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #94A3B8;
}

[data-theme="dark"] .smast-dapodik-table td {
    color: #E2E8F0;
}

[data-theme="dark"] .dapodik-val-bold {
    color: #FFFFFF;
}

[data-theme="dark"] .dapodik-link {
    color: #38BDF8;
}

[data-theme="dark"] .smast-dapodik-table tr {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ══════════════════════════════════════════════════════════════════════════
   KONTAK PAGE STYLING
   ══════════════════════════════════════════════════════════════════════════ */
.smast-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.smast-info-card {
    background: var(--smast-white);
    border-radius: var(--smast-radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    box-sizing: border-box;
    transition: var(--smast-transition);
}

.smast-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--smast-shadow-hover);
}

.kontak-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.kontak-form-wrapper {
    background: var(--smast-white);
    padding: 36px;
    border-radius: var(--smast-radius);
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    box-sizing: border-box;
}

.kontak-info {
    background: var(--smast-white);
    padding: 36px;
    border-radius: var(--smast-radius);
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE ARTICLE STYLING (DETAIL BERITA)
   ══════════════════════════════════════════════════════════════════════════ */
.smast-single-section {
    padding: 44px 0 70px;
    background: var(--smast-bg);
}

[data-theme="dark"] .smast-single-section,
html.dark .smast-single-section {
    background: #08101E !important;
}

.smast-single-hero {
    padding: 56px 0 44px;
}

.smast-single-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.3;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    margin: 12px 0 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.smast-single-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.85);
}

.smast-single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.smast-single-meta i {
    color: var(--smast-gold);
}

.smast-single-back-wrap {
    margin-bottom: 24px;
}

.smast-single-article {
    max-width: 860px;
    margin: 0 auto;
    background: var(--smast-white);
    padding: 40px;
    border-radius: var(--smast-radius);
    box-shadow: var(--smast-shadow-sm);
    border: 1px solid var(--smast-border);
    box-sizing: border-box;
}

.smast-single-featured-wrap {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.smast-single-featured-img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

/* Article Content Typography (Desktop) */
.smast-article-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--smast-text);
}

.smast-article-content p {
    margin-bottom: 1.25em;
}

.smast-article-content h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin: 32px 0 14px;
    line-height: 1.35;
}

.smast-article-content h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin: 26px 0 12px;
    line-height: 1.4;
}

.smast-article-content ul,
.smast-article-content ol {
    margin: 0 0 1.25em 1.5em;
    padding: 0;
}

.smast-article-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.smast-article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--smast-gold);
    background: rgba(255, 184, 0, 0.08);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--smast-navy);
}

.smast-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 18px 0;
}

/* ─── DARK MODE TYPOGRAPHY FOR SINGLE ARTICLE CONTENT ─── */
[data-theme="dark"] .smast-article-content,
html.dark .smast-article-content,
[data-theme="dark"] .smast-article-content p,
html.dark .smast-article-content p,
[data-theme="dark"] .smast-article-content li,
html.dark .smast-article-content li,
[data-theme="dark"] .smast-article-content span,
html.dark .smast-article-content span {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .smast-article-content strong,
html.dark .smast-article-content strong,
[data-theme="dark"] .smast-article-content b,
html.dark .smast-article-content b {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-article-content h1,
[data-theme="dark"] .smast-article-content h2,
[data-theme="dark"] .smast-article-content h3,
[data-theme="dark"] .smast-article-content h4,
[data-theme="dark"] .smast-article-content h5,
[data-theme="dark"] .smast-article-content h6,
html.dark .smast-article-content h1,
html.dark .smast-article-content h2,
html.dark .smast-article-content h3,
html.dark .smast-article-content h4,
html.dark .smast-article-content h5,
html.dark .smast-article-content h6 {
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-article-content a,
html.dark .smast-article-content a {
    color: #38BDF8 !important;
    text-decoration: underline;
}

[data-theme="dark"] .smast-article-content a:hover,
html.dark .smast-article-content a:hover {
    color: #7DD3FC !important;
}

[data-theme="dark"] .smast-article-content blockquote,
html.dark .smast-article-content blockquote {
    background: rgba(56, 189, 248, 0.08) !important;
    border-left: 4px solid #FBBF24 !important;
    color: #E2E8F0 !important;
}

[data-theme="dark"] .smast-single-tags-label,
html.dark .smast-single-tags-label {
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-single-tag-chip,
html.dark .smast-single-tag-chip {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

/* Tags & Share */
.smast-single-tags {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--smast-border);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.smast-single-tags-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--smast-navy);
    margin-right: 6px;
}

.smast-single-tag-chip {
    background: rgba(0, 51, 102, 0.06);
    color: var(--smast-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.smast-single-share {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--smast-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.smast-single-share-label {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--smast-navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.smast-single-share-label i {
    color: var(--smast-gold);
    font-size: 1rem;
}

[data-theme="dark"] .smast-single-share-label,
html.dark .smast-single-share-label {
    color: #FFFFFF !important;
}

.smast-single-share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Base Share Button (Explicit Auto Width Pill Button — Presisi di Laptop & HP) */
.smast-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 125px !important;
    height: 42px !important;
    padding: 0 20px !important;
    border-radius: 50px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.smast-share-btn i {
    font-size: 1.05rem !important;
}

/* WhatsApp Button */
.smast-share-btn-wa {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border: 1px solid #20BA59 !important;
}

.smast-share-btn-wa:hover {
    background: #1EBE5D !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
}

/* Copy Link Button */
.smast-share-btn-copy {
    background: #003366 !important;
    color: #FFFFFF !important;
    border: 1px solid #002244 !important;
}

.smast-share-btn-copy:hover {
    background: #004884 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.35) !important;
}

[data-theme="dark"] .smast-share-btn-copy,
html.dark .smast-share-btn-copy {
    background: rgba(56, 189, 248, 0.16) !important;
    color: #38BDF8 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
}

[data-theme="dark"] .smast-share-btn-copy:hover,
html.dark .smast-share-btn-copy:hover {
    background: #38BDF8 !important;
    color: #08101E !important;
    border-color: #38BDF8 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   TIMELINE SEJARAH SEKOLAH STYLING
   ══════════════════════════════════════════════════════════════════════════ */
.timeline {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 3px;
    background: linear-gradient(180deg, var(--smast-gold) 0%, var(--smast-navy) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    margin-bottom: 36px;
}

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

.timeline-badge {
    position: absolute;
    left: 12px;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--smast-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--smast-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.15);
    background: var(--smast-gold);
    color: #FFFFFF;
}

.timeline-card {
    background: var(--smast-white);
    border: 1px solid var(--smast-border);
    border-radius: 14px;
    padding: 24px 26px;
    box-shadow: var(--smast-shadow-sm);
    transition: var(--smast-transition);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--smast-shadow-hover);
    border-color: var(--smast-gold);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(251, 191, 36, 0.15);
    color: #B45309;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin: 0 0 10px;
    line-height: 1.35;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--smast-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   EXHAUSTIVE DARK MODE OVERRIDES (High Contrast Sky Cyan & Gold)
   ══════════════════════════════════════════════════════════════════════════ */
[data-theme="dark"] .smast-berita-readmore,
[data-theme="dark"] .smast-news-read-more,
[data-theme="dark"] .read-more,
[data-theme="dark"] .smast-card-link,
[data-theme="dark"] a.smast-berita-readmore,
[data-theme="dark"] a.smast-news-read-more,
[data-theme="dark"] a.read-more,
[data-theme="dark"] a.smast-card-link,
[data-theme="dark"] .artikel-card .read-more,
html.dark .smast-berita-readmore,
html.dark .smast-news-read-more,
html.dark .read-more,
html.dark .smast-card-link,
html.dark a.smast-berita-readmore,
html.dark a.smast-news-read-more,
html.dark a.read-more,
html.dark a.smast-card-link,
html.dark .artikel-card .read-more {
    color: #38BDF8 !important;
    -webkit-text-fill-color: #38BDF8 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .smast-berita-readmore:hover,
[data-theme="dark"] .smast-news-read-more:hover,
[data-theme="dark"] .read-more:hover,
[data-theme="dark"] .smast-card-link:hover,
[data-theme="dark"] a.smast-berita-readmore:hover,
[data-theme="dark"] a.smast-news-read-more:hover,
[data-theme="dark"] a.read-more:hover,
[data-theme="dark"] a.smast-card-link:hover,
[data-theme="dark"] .artikel-card .read-more:hover,
html.dark .smast-berita-readmore:hover,
html.dark .smast-news-read-more:hover,
html.dark .read-more:hover,
html.dark .smast-card-link:hover,
html.dark a.smast-berita-readmore:hover,
html.dark a.smast-news-read-more:hover,
html.dark a.read-more:hover,
html.dark a.smast-card-link:hover,
html.dark .artikel-card .read-more:hover {
    color: #FBBF24 !important;
    -webkit-text-fill-color: #FBBF24 !important;
}

[data-theme="dark"] .smast-berita-title,
[data-theme="dark"] .smast-berita-title a,
[data-theme="dark"] .smast-news-card-body h4,
[data-theme="dark"] .smast-section-title,
[data-theme="dark"] .smast-portal-title,
[data-theme="dark"] .fasilitas-card h3,
[data-theme="dark"] .smast-info-card h4,
[data-theme="dark"] .kontak-form-wrapper h3,
[data-theme="dark"] .kontak-info h3,
[data-theme="dark"] .smast-vm-main-title,
[data-theme="dark"] .smast-vm-title,
[data-theme="dark"] .smast-pengumuman-title,
[data-theme="dark"] .smast-pengumuman-title a,
[data-theme="dark"] .artikel-card .card-title,
[data-theme="dark"] .artikel-card .card-title a,
html.dark .smast-berita-title,
html.dark .smast-berita-title a,
html.dark .smast-news-card-body h4,
html.dark .smast-section-title,
html.dark .smast-portal-title,
html.dark .fasilitas-card h3,
html.dark .smast-info-card h4,
html.dark .kontak-form-wrapper h3,
html.dark .kontak-info h3,
html.dark .smast-vm-main-title,
html.dark .smast-vm-title,
html.dark .smast-pengumuman-title,
html.dark .smast-pengumuman-title a,
html.dark .artikel-card .card-title,
html.dark .artikel-card .card-title a {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

[data-theme="dark"] [style*="color:var(--smast-navy)"],
[data-theme="dark"] [style*="color: var(--smast-navy)"],
[data-theme="dark"] [style*="color:#004884"],
[data-theme="dark"] [style*="color: #004884"],
[data-theme="dark"] [style*="color:#003366"],
[data-theme="dark"] [style*="color: #003366"],
[data-theme="dark"] [style*="color:#0F172A"],
[data-theme="dark"] [style*="color: #0F172A"],
[data-theme="dark"] [style*="color:#001f3f"],
[data-theme="dark"] [style*="color: #001f3f"],
[data-theme="dark"] [style*="color:#2563eb"],
[data-theme="dark"] [style*="color: #2563eb"],
html.dark [style*="color:var(--smast-navy)"],
html.dark [style*="color: var(--smast-navy)"],
html.dark [style*="color:#004884"],
html.dark [style*="color: #004884"],
html.dark [style*="color:#003366"],
html.dark [style*="color: #003366"],
html.dark [style*="color:#0F172A"],
html.dark [style*="color: #0F172A"],
html.dark [style*="color:#001f3f"],
html.dark [style*="color: #001f3f"],
html.dark [style*="color:#2563eb"],
html.dark [style*="color: #2563eb"] {
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-berita-excerpt,
[data-theme="dark"] .smast-berita-meta,
[data-theme="dark"] .smast-news-card-body p,
[data-theme="dark"] .smast-section-desc,
[data-theme="dark"] .smast-portal-desc,
[data-theme="dark"] .fasilitas-card p,
[data-theme="dark"] .kontak-item p,
[data-theme="dark"] .smast-info-card p,
[data-theme="dark"] .kontak-form-wrapper p,
[data-theme="dark"] .kontak-info p,
[data-theme="dark"] .smast-vm-list li,
[data-theme="dark"] .artikel-card .card-desc,
[data-theme="dark"] .artikel-meta,
[data-theme="dark"] .smast-pengumuman-excerpt,
[data-theme="dark"] .timeline-desc,
html.dark .smast-berita-excerpt,
html.dark .smast-berita-meta,
html.dark .smast-news-card-body p,
html.dark .smast-section-desc,
html.dark .smast-portal-desc,
html.dark .fasilitas-card p,
html.dark .kontak-item p,
html.dark .smast-info-card p,
html.dark .kontak-form-wrapper p,
html.dark .kontak-info p,
html.dark .smast-vm-list li,
html.dark .artikel-card .card-desc,
html.dark .artikel-meta,
html.dark .smast-pengumuman-excerpt,
html.dark .timeline-desc {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .smast-berita-card,
[data-theme="dark"] .smast-news-card,
[data-theme="dark"] .fasilitas-card,
[data-theme="dark"] .smast-fasilitas-preview-card,
[data-theme="dark"] .smast-portal-card,
[data-theme="dark"] .smast-ekskul-card,
[data-theme="dark"] .smast-vm-card,
[data-theme="dark"] .smast-info-card,
[data-theme="dark"] .kontak-form-wrapper,
[data-theme="dark"] .kontak-info,
[data-theme="dark"] .smast-single-article,
[data-theme="dark"] .timeline-card,
[data-theme="dark"] .artikel-card,
[data-theme="dark"] .smast-pengumuman-card,
html.dark .smast-berita-card,
html.dark .smast-news-card,
html.dark .fasilitas-card,
html.dark .smast-fasilitas-preview-card,
html.dark .smast-portal-card,
html.dark .smast-ekskul-card,
html.dark .smast-vm-card,
html.dark .smast-info-card,
html.dark .kontak-form-wrapper,
html.dark .kontak-info,
html.dark .smast-single-article,
html.dark .timeline-card,
html.dark .artikel-card,
html.dark .smast-pengumuman-card {
    background: #112240 !important;
    border: 1px solid rgba(56, 189, 248, 0.22) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .timeline-badge,
html.dark .timeline-badge {
    background: #112240 !important;
    border-color: #FBBF24 !important;
}

[data-theme="dark"] .timeline-year,
html.dark .timeline-year {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #FBBF24 !important;
}

[data-theme="dark"] .smast-vm-badge,
html.dark .smast-vm-badge {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-data-table th,
html.dark .smast-data-table th {
    background: #0B192C !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-data-table td,
html.dark .smast-data-table td {
    color: #E2E8F0 !important;
}

[data-theme="dark"] .smast-data-table a,
html.dark .smast-data-table a {
    color: #38BDF8 !important;
}

[data-theme="dark"] .smast-btn-outline-navy,
[data-theme="dark"] .smast-btn-outline,
html.dark .smast-btn-outline-navy,
html.dark .smast-btn-outline {
    background: transparent !important;
    color: #38BDF8 !important;
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .smast-btn-outline-navy:hover,
[data-theme="dark"] .smast-btn-outline:hover,
html.dark .smast-btn-outline-navy:hover,
html.dark .smast-btn-outline:hover {
    background: #38BDF8 !important;
    color: #08101E !important;
    border-color: #38BDF8 !important;
}

[data-theme="dark"] .smast-portal-btn,
html.dark .smast-portal-btn {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}

[data-theme="dark"] .smast-portal-btn:hover,
html.dark .smast-portal-btn:hover {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
    color: #08101E !important;
    border-color: #FBBF24 !important;
}

[data-theme="dark"] .smast-btn-pengumuman-primary,
html.dark .smast-btn-pengumuman-primary {
    background: #0284C7 !important;
    color: #FFFFFF !important;
}

[data-theme="dark"] .smast-btn-pengumuman-primary:hover,
html.dark .smast-btn-pengumuman-primary:hover {
    background: #38BDF8 !important;
    color: #08101E !important;
}

[data-theme="dark"] .fasilitas-card .fasilitas-icon,
html.dark .fasilitas-card .fasilitas-icon {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL MOBILE OVERHAUL (Screens <= 768px & <= 480px)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .smast-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .smast-berita-grid,
    .fasilitas-grid,
    .smast-fasilitas-preview-grid,
    .smast-portal-grid,
    .smast-vm-grid,
    .smast-info-grid,
    .kontak-wrapper,
    .kontak-grid,
    .artikel-grid,
    .smast-video-grid,
    .smast-ekskul-full-grid,
    .smast-galeri-preview-grid,
    .gallery-grid,
    .smast-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .smast-ekskul-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .smast-page-hero {
        padding: 48px 16px 32px !important;
    }

    .smast-page-hero h1,
    .smast-page-hero-content h1 {
        font-size: clamp(1.45rem, 6vw, 2.1rem) !important;
    }

    .smast-page-hero p,
    .smast-page-hero-content p {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }

    .smast-single-article,
    .kontak-form-wrapper,
    .kontak-info,
    .smast-vm-card,
    .smast-info-card {
        padding: 22px 16px !important;
    }

    .timeline {
        padding: 10px 0 !important;
    }

    .timeline::before {
        left: 18px !important;
    }

    .timeline-item {
        padding-left: 48px !important;
        margin-bottom: 24px !important;
    }

    .timeline-badge {
        left: 4px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }

    .timeline-title {
        font-size: 1.05rem !important;
    }

    .timeline-desc {
        font-size: 0.86rem !important;
    }

    .smast-ekskul-filter-bar {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .smast-filter-btn {
        flex-shrink: 0 !important;
    }

    .smast-portal-btn,
    .smast-btn,
    .smast-btn-lg,
    .btn-submit {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .smast-portal-btn i,
    .smast-btn i,
    .smast-btn-lg i {
        flex-shrink: 0 !important;
    }

    .smast-btn-lg {
        padding: 13px 20px !important;
        font-size: 0.90rem !important;
    }

    /* ─── PROFIL PAGE MOBILE (SEMPURNA & PRESISI) ─── */
    .smast-profil-section {
        padding: 38px 0 !important;
    }

    .smast-principal-col {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto 24px !important;
        align-items: center !important;
    }

    .smast-principal-photo-wrap {
        max-width: 220px !important;
        width: 100% !important;
        margin: 0 auto 16px !important;
    }

    .smast-principal-photo-wrap::before,
    .smast-principal-photo-wrap::after {
        display: none !important;
    }

    .smast-quote-mark {
        display: none !important;
    }

    .smast-vm-card.smast-vm-visi {
        padding: 24px 16px !important;
        margin-bottom: 20px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .smast-vm-card.smast-vm-visi .smast-vm-visi-heading,
    .smast-vm-card.smast-vm-visi h3 {
        font-size: 1.10rem !important;
        line-height: 1.45 !important;
    }

    .smast-vm-card.smast-vm-indikator,
    .smast-vm-card.smast-vm-misi {
        padding: 20px 16px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .smast-profil-sejarah-card {
        padding: 22px 16px !important;
        border-left-width: 4px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .smast-profil-sejarah-card .smast-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 14px !important;
        font-size: 0.86rem !important;
    }

    .smast-table-responsive {
        border-radius: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .smast-data-table {
        min-width: 480px;
    }

    .smast-data-table th {
        width: 40% !important;
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
    }

    .smast-data-table td {
        padding: 10px 12px !important;
        font-size: 0.84rem !important;
    }

    /* Dapodik Card Stack di HP */
    .smast-dapodik-container {
        border-radius: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .smast-dapodik-table,
    .smast-dapodik-table tbody,
    .smast-dapodik-table tr,
    .smast-dapodik-table th,
    .smast-dapodik-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    .smast-dapodik-table tr {
        padding: 10px 14px !important;
        border-bottom: 1px solid #E2E8F0 !important;
    }

    .smast-dapodik-table tr:last-child {
        border-bottom: none !important;
    }

    .smast-dapodik-table th {
        padding: 0 0 3px !important;
        font-size: 0.72rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        color: #64748B !important;
        background: transparent !important;
        border: none !important;
    }

    .smast-dapodik-table td {
        padding: 0 !important;
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        color: var(--smast-navy) !important;
        border: none !important;
        word-break: break-word !important;
    }

    [data-theme="dark"] .smast-dapodik-table tr {
        border-bottom-color: rgba(56, 189, 248, 0.15) !important;
    }

    [data-theme="dark"] .smast-dapodik-table th {
        color: #94A3B8 !important;
        background: transparent !important;
    }

    [data-theme="dark"] .smast-dapodik-table td {
        color: #F8FAFC !important;
    }

    [data-theme="dark"] .smast-dapodik-table .dapodik-val-bold {
        color: #38BDF8 !important;
    }

    .smast-orgchart {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .smast-orgchart-level {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .smast-orgchart-level:first-child {
        display: flex !important;
        justify-content: center !important;
    }

    .smast-orgchart-node {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 8px !important;
        box-sizing: border-box !important;
        border-radius: 10px !important;
    }

    .smast-orgchart-node strong {
        font-size: 0.80rem !important;
        line-height: 1.3 !important;
    }

    .smast-orgchart-node span {
        font-size: 0.70rem !important;
        line-height: 1.25 !important;
    }

    .smast-orgchart-node.top {
        max-width: 240px !important;
        min-width: 200px !important;
        padding: 14px 16px !important;
    }

    .smast-orgchart-line {
        height: 18px !important;
    }

    /* ─── GALERI PAGE MOBILE (TABS & FILTERS ELEGAN) ─── */
    .smast-galeri-tabs-bar {
        padding: 14px 0 0 !important;
    }

    .smast-galeri-tabs-wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
    }

    .smast-galeri-tabs-wrap .smast-btn {
        width: 100% !important;
        padding: 10px 8px !important;
        font-size: 0.84rem !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        border-radius: 50px !important;
    }

    .gallery-filters {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 4px 4px 12px !important;
        margin-bottom: 24px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none !important;
    }

    .gallery-filters .filter-btn {
        flex-shrink: 0 !important;
        padding: 7px 14px !important;
        font-size: 0.82rem !important;
    }

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

    .gallery-item {
        border-radius: 14px !important;
        aspect-ratio: 16/10 !important;
        overflow: hidden !important;
    }

    .gallery-item .gallery-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, rgba(0, 24, 51, 0.1) 0%, rgba(0, 24, 51, 0.88) 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    .gallery-item .gallery-category {
        display: inline-block !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #FFB800 !important;
        background: rgba(0, 24, 51, 0.85) !important;
        padding: 3px 10px !important;
        border-radius: 20px !important;
        margin-bottom: 6px !important;
        border: 1px solid rgba(255, 184, 0, 0.3) !important;
    }

    .gallery-item .gallery-title {
        position: static !important;
        background: none !important;
        padding: 0 !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        line-height: 1.35 !important;
        margin: 0 0 10px 0 !important;
    }

    .gallery-item .gallery-zoom {
        align-self: flex-end !important;
        background: rgba(255, 184, 0, 0.95) !important;
        color: #001833 !important;
        border: none !important;
        border-radius: 50% !important;
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
        cursor: pointer !important;
    }

    .smast-video-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .smast-youtube-promo-card {
        padding: 22px 16px !important;
        border-radius: 14px !important;
    }

    /* ─── DETAIL BERITA MOBILE (FONT LEGA, NYAMAN & TIDAK PENUH) ─── */
    .smast-single-hero {
        padding: 32px 0 24px !important;
    }

    .smast-single-title {
        font-size: clamp(1.20rem, 5vw, 1.45rem) !important;
        line-height: 1.35 !important;
        margin: 8px 0 12px !important;
    }

    .smast-single-meta {
        font-size: 0.76rem !important;
        gap: 10px !important;
        line-height: 1.4 !important;
    }

    .smast-single-section {
        padding: 20px 0 44px !important;
    }

    .smast-single-back-wrap {
        margin-bottom: 16px !important;
    }

    .smast-single-article {
        padding: 20px 16px !important;
        border-radius: 12px !important;
    }

    .smast-single-featured-wrap {
        margin-bottom: 20px !important;
        border-radius: 8px !important;
    }

    .smast-single-featured-img {
        max-height: 220px !important;
    }

    /* Ukuran font artikel mobile yang ringkas, lega, dan nyaman */
    .smast-article-content {
        font-size: 0.90rem !important;
        line-height: 1.68 !important;
        color: var(--smast-text) !important;
    }

    .smast-article-content p {
        margin-bottom: 1em !important;
    }

    [data-theme="dark"] .smast-article-content,
    html.dark .smast-article-content,
    [data-theme="dark"] .smast-article-content p,
    html.dark .smast-article-content p,
    [data-theme="dark"] .smast-article-content span,
    html.dark .smast-article-content span,
    [data-theme="dark"] .smast-article-content li,
    html.dark .smast-article-content li {
        color: #E2E8F0 !important;
    }

    [data-theme="dark"] .smast-article-content strong,
    html.dark .smast-article-content strong,
    [data-theme="dark"] .smast-article-content b,
    html.dark .smast-article-content b {
        color: #FFFFFF !important;
    }

    [data-theme="dark"] .smast-article-content h1,
    [data-theme="dark"] .smast-article-content h2,
    [data-theme="dark"] .smast-article-content h3,
    [data-theme="dark"] .smast-article-content h4,
    [data-theme="dark"] .smast-article-content h5,
    [data-theme="dark"] .smast-article-content h6,
    html.dark .smast-article-content h1,
    html.dark .smast-article-content h2,
    html.dark .smast-article-content h3,
    html.dark .smast-article-content h4,
    html.dark .smast-article-content h5,
    html.dark .smast-article-content h6 {
        color: #38BDF8 !important;
    }

    .smast-article-content h2 {
        font-size: 1.15rem !important;
        margin: 22px 0 10px !important;
        line-height: 1.35 !important;
    }

    .smast-article-content h3 {
        font-size: 1.02rem !important;
        margin: 18px 0 8px !important;
        line-height: 1.35 !important;
    }

    .smast-article-content ul,
    .smast-article-content ol {
        margin: 0 0 1em 1.2em !important;
    }

    .smast-article-content li {
        font-size: 0.90rem !important;
        margin-bottom: 0.4em !important;
        line-height: 1.6 !important;
    }

    .smast-article-content blockquote {
        margin: 16px 0 !important;
        padding: 12px 14px !important;
        font-size: 0.88rem !important;
    }

    .smast-single-tags {
        margin-top: 24px !important;
        padding-top: 14px !important;
    }

    .smast-single-share {
        margin-top: 24px !important;
        padding-top: 18px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .smast-single-share-label {
        font-size: 0.88rem !important;
    }

    .smast-single-share-buttons {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .smast-share-btn {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: 100% !important;
        height: 42px !important;
        padding: 0 14px !important;
        font-size: 0.84rem !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }

    .smast-share-btn i {
        font-size: 0.95rem !important;
    }
}

/* ─── FASILITAS BADGE, TITLE, DESC ─── */
.fasilitas-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--smast-navy);
    background: var(--smast-navy-light);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .fasilitas-badge,
html.dark .fasilitas-badge {
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.18) !important;
}

.fasilitas-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--smast-navy);
    margin-bottom: 10px;
}

[data-theme="dark"] .fasilitas-title,
html.dark .fasilitas-title {
    color: #FFFFFF !important;
}

.fasilitas-desc {
    font-size: 0.90rem;
    color: var(--smast-text-muted);
    line-height: 1.65;
    margin: 0;
}

[data-theme="dark"] .fasilitas-desc,
html.dark .fasilitas-desc {
    color: #CBD5E1 !important;
}