/* ==========================================================================
   MADING MODERN - Lapisan desain baru
   Dimuat setelah style.css + file warna tema, jadi semua aturan di sini
   menimpa tampilan lama tanpa mengubah file aslinya.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;
    --brand-300: #93c5fd;
    --brand-400: #60a5fa;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-800: #1e40af;
    --brand-900: #1e3a8a;

    --accent-50: #ecfdf5;
    --accent-100: #d1fae5;
    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;
    --accent-700: #047857;

    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-2: #cbd5e1;
    --surface: #ffffff;
    --bg: #f6f8fb;
    --bg-2: #eef2f8;

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-full: 999px;

    --sh-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --sh-md: 0 4px 14px -4px rgba(15, 23, 42, .12), 0 2px 6px -3px rgba(15, 23, 42, .08);
    --sh-lg: 0 28px 56px -28px rgba(15, 23, 42, .28), 0 10px 20px -12px rgba(15, 23, 42, .10);

    --container: 1240px;
    --gutter: 24px;
    --header-h: 78px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --grad-brand: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
    --grad-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-700) 100%);
    --grad-hero: linear-gradient(180deg, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .55) 45%, rgba(15, 23, 42, .88) 100%);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body,
body.custom-background {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--brand-600);
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.25;
    font-weight: 800;
}

a {
    color: var(--brand-700);
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--brand-600);
}

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

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 99px;
    border: 3px solid transparent;
    background-clip: content-box;
}

*::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    background-clip: content-box;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--brand-700);
    color: #fff;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 14px;
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Matikan sisa layout lama */
.homebreak,
.breaks,
.maschol,
.slideshow,
#ndeslide,
.singslide {
    display: none !important;
}

.mading,
.wrapper {
    background: transparent !important;
    overflow: visible !important;
    max-width: none !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   3. KOMPONEN UMUM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: var(--r-full);
    font: 700 14.5px/1 var(--font);
    letter-spacing: .01em;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    will-change: transform;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    background: var(--grad-accent);
    color: #fff !important;
    box-shadow: 0 10px 24px -12px rgba(5, 150, 105, .8);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -14px rgba(5, 150, 105, .9);
    color: #fff;
}

.btn-ghost {
    background: rgba(255, 255, 255, .10);
    color: #fff !important;
    border-color: rgba(255, 255, 255, .45);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: var(--brand-700) !important;
    border-color: var(--brand-200);
}

.btn-outline:hover {
    border-color: var(--brand-600);
    background: var(--brand-50);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13.5px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    background: var(--brand-50);
    color: var(--brand-700);
    font: 700 11.5px/1.5 var(--font);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}

.chip-accent {
    background: var(--accent-50);
    color: var(--accent-700);
}

.chip-soft {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(6px);
}

.section {
    padding: 64px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 800 12px/1 var(--font);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-600);
    margin-bottom: 10px;
}

.section-head .eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
}

.section-head h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    margin: 0;
}

.section-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 60ch;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 14px var(--font);
    color: var(--brand-700) !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: #fff;
    transition: all .25s var(--ease);
    white-space: nowrap;
}

.section-link i {
    transition: transform .25s var(--ease);
}

.section-link:hover {
    border-color: var(--brand-300);
    background: var(--brand-50);
    box-shadow: var(--sh-sm);
}

.section-link:hover i {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.is-stuck {
    box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .35);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header {
    transition: transform .35s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}

/* Top bar */
.topbar {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    max-height: 44px;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .3s var(--ease);
}

.site-header.is-stuck .topbar {
    max-height: 0;
    opacity: 0;
}

.topbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
}

.topbar-list {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.topbar-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
}

.topbar-list .fa {
    color: var(--accent-400);
    font-size: 13px;
}

.topbar-list a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    transition: color .2s;
}

.topbar-list a:hover {
    color: #fff;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .08);
    font-size: 13px;
    text-decoration: none;
    transition: all .25s var(--ease);
}

.topbar-social a:hover {
    background: var(--accent-500);
    color: #fff;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
    transition: min-height .3s var(--ease);
}

.site-header.is-stuck .navbar-inner {
    min-height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    flex-shrink: 0;
    min-width: 0;
}

.brand img {
    max-height: 56px;
    width: auto;
    height: auto;
    transition: max-height .3s var(--ease);
    flex-shrink: 0;
}

.site-header.is-stuck .brand img {
    max-height: 44px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.brand-text strong {
    font: 800 16px/1.2 var(--font-display);
    color: var(--ink);
    letter-spacing: -.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text span {
    font: 600 11px/1.4 var(--font);
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigasi utama */
.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list > li {
    position: relative;
    margin: 0;
    float: none;
    line-height: normal;
    text-align: left;
}

.nav-list > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--r-full);
    font: 700 14.5px/1.4 var(--font);
    color: var(--ink-2) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a,
.nav-list > li.current_page_item > a {
    color: var(--brand-700) !important;
    background: var(--brand-50);
}

.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after,
.nav-list > li.current-menu-ancestor > a::after,
.nav-list > li.current_page_item > a::after {
    transform: scaleX(1);
}

.nav-list > li.menu-item-has-children > a::before {
    content: '\f107';
    font-family: FontAwesome;
    font-size: 11px;
    margin-left: 2px;
    order: 2;
    opacity: .6;
    transition: transform .25s var(--ease);
}

.nav-list > li.menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* Dropdown */
.nav-list .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    z-index: 50;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list .sub-menu li {
    float: none;
    display: block;
    margin: 0;
    padding: 0;
    line-height: normal;
    text-align: left;
}

.nav-list .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font: 600 14px/1.4 var(--font);
    color: var(--ink-2) !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .2s, color .2s, padding .2s;
}

.nav-list .sub-menu li a:hover {
    background: var(--brand-50);
    color: var(--brand-700) !important;
    padding-left: 18px;
}

.nav-list .sub-menu .sub-menu {
    top: -9px;
    left: 100%;
    margin-left: 6px;
}

/* Aksi kanan header */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 15px;
    cursor: pointer;
    transition: all .25s var(--ease);
}

.icon-btn:hover {
    border-color: var(--brand-300);
    background: var(--brand-50);
    color: var(--brand-700);
    transform: translateY(-1px);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff !important;
    font: 700 14px/1 var(--font);
    text-decoration: none !important;
    box-shadow: 0 10px 22px -12px rgba(29, 78, 216, .8);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -14px rgba(29, 78, 216, .9);
    color: #fff;
}

.nav-burger {
    display: none;
}

/* Panel pencarian */
.header-search {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid transparent;
    transition: max-height .35s var(--ease), border-color .3s;
}

.header-search.is-open {
    max-height: 160px;
    border-top-color: var(--line);
}

.header-search-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--gutter);
}

/* Drawer mobile */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 950;
}

body.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(15, 23, 42, .5);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
}

.drawer-shell {
    position: fixed;
    inset: 0;
    z-index: 960;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: visibility .38s;
}

body.drawer-open .drawer-shell {
    visibility: visible;
}

body.drawer-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.drawer-head .brand-text strong {
    font-size: 14px;
}

.drawer-nav {
    padding: 14px 12px;
    flex: 1;
}

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

.drawer-menu li {
    margin: 0;
    display: block;
    float: none;
}

.drawer-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-radius: var(--r-md);
    font: 700 15px/1.4 var(--font);
    color: var(--ink) !important;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}

.drawer-menu li a:hover {
    background: var(--brand-50);
    color: var(--brand-700) !important;
}

.drawer-menu .sub-menu {
    list-style: none;
    margin: 2px 0 6px;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--line);
}

.drawer-menu .sub-menu li a {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-2) !important;
    padding: 9px 12px;
}

.drawer-menu .menu-item-has-children > a::after {
    content: '\f107';
    font-family: FontAwesome;
    font-size: 12px;
    opacity: .5;
}

.drawer-foot {
    padding: 18px 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
}

.drawer-foot a {
    color: var(--ink-2);
    text-decoration: none;
}

.drawer-foot .drawer-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.drawer-foot .drawer-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   5. HERO (beranda)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(460px, 62vh, 640px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--brand-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    animation: heroZoom 26s ease-in-out infinite alternate;
    z-index: -2;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.09); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 500px at 15% 100%, rgba(37, 99, 235, .35), transparent 70%);
    z-index: -1;
}

.hero-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(48px, 6vw, 84px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font: 700 12px/1 var(--font);
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
}

.hero-badge .fa {
    color: var(--accent-400);
}

.hero h1 {
    color: #fff;
    font-size: clamp(32px, 5.2vw, 62px);
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 0 0 18px;
    max-width: 20ch;
    text-wrap: balance;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

.hero-sub {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(15px, 1.3vw, 17.5px);
    line-height: 1.7;
    max-width: 58ch;
    margin: 0 0 28px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.hero-meta .fa {
    color: var(--accent-400);
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   6. TICKER + BREADCRUMB
   -------------------------------------------------------------------------- */
.madticker {
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
    position: relative;
    text-transform: none;
    font-family: var(--font);
}

.ticker-shell {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px var(--gutter) 0;
}

.ticker-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 8px 10px 8px 8px;
    box-shadow: var(--sh-sm);
    overflow: hidden;
}

.madticker #infotit {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--grad-accent);
    color: #fff;
    font: 800 11.5px/1 var(--font);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.madticker #infotit .fa {
    display: none;
}

.madticker .infotim {
    position: static;
    flex-shrink: 0;
    order: 3;
    padding: 0 6px 0 0;
    font: 700 12.5px/1 var(--font);
    color: var(--muted);
    text-transform: none;
    white-space: nowrap;
}

.madticker .infotim .ticker-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.madticker .infotim .fa {
    display: none;
}

.madticker .mask {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

ul.newstickers {
    position: static;
    left: auto;
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content !important;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: tickerScroll 42s linear infinite;
    will-change: transform;
}

ul.newstickers:hover {
    animation-play-state: paused;
}

/* Konten pendek: tampilkan sekali tanpa marquee & tanpa duplikasi */
ul.newstickers.is-static {
    animation: none !important;
    width: auto !important;
    justify-content: flex-start;
}

ul.newstickers li {
    float: none;
    margin: 0;
    padding: 0;
    height: auto;
    font-size: 13.5px;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

ul.newstickers li + li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line-2);
    margin: 0 26px;
    display: inline-block;
}

ul.newstickers li span {
    color: var(--accent-600);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .04em;
}

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

/* Breadcrumb */
.breadcrumbs {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--gutter) 0;
    font: 500 13.5px/1.6 var(--font);
    color: var(--muted);
    text-align: left;
}

.breadcrumbs a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}

.breadcrumbs a:hover {
    color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   7. LAYOUT
   -------------------------------------------------------------------------- */
#container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter) 8px;
}

.madinn {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding: 32px 0 64px;
}

.madinn.pwhite,
.pwhite {
    background: transparent !important;
}

.content {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    float: none;
    margin: 0;
}

#sidebar {
    width: 340px;
    flex: 0 0 340px;
    float: none;
    margin: 0;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.madings {
    padding: 0;
    margin: 0 0 32px;
}

/* Header halaman / arsip */
.page-head {
    margin: 0 0 28px;
}

.page-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 800 11.5px/1 var(--font);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-600);
    margin-bottom: 12px;
}

.page-head .eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-500);
}

.page-head h1 {
    font-size: clamp(26px, 3vw, 38px);
    margin: 0;
    letter-spacing: -.03em;
}

.page-head h1 .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 10px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 19px;
    vertical-align: middle;
}

.page-head .page-desc {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 68ch;
}

.page-head .page-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 5px 12px;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--ink-2);
    font: 700 12px/1.5 var(--font);
}

/* --------------------------------------------------------------------------
   8. KARTU BERITA / POST
   -------------------------------------------------------------------------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
    border-color: var(--brand-200);
}

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-2);
    flex-shrink: 0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}

.card:hover .card-media img {
    transform: scale(1.06);
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .35) 100%);
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.card:hover .card-media::after {
    opacity: 1;
}

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

.card-body .chip {
    align-self: flex-start;
}

.card-title {
    margin: 0;
    font-size: 17.5px;
    line-height: 1.38;
    letter-spacing: -.015em;
}

.card-title a {
    color: var(--ink) !important;
    text-decoration: none !important;
    background-image: linear-gradient(var(--accent-500), var(--accent-500));
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size .35s var(--ease), color .2s;
}

.card:hover .card-title a {
    color: var(--brand-700) !important;
    background-size: 100% 2px;
}

.card-excerpt {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font: 600 12.5px/1.5 var(--font);
    color: var(--muted);
}

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

.card-meta .fa {
    color: var(--brand-500);
    font-size: 12px;
}

/* Grid loop */
#loop.list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    width: auto;
}

#loop.list .post,
#loop.list .card {
    padding: 0;
    margin: 0;
    width: auto;
    float: none;
    border-bottom: 0;
    display: flex;
}

#loop.list .post::after,
#loop.list .card::after {
    display: none;
}

/* Sisa elemen lama di dalam kartu */
#loop.list .podate,
#loop.list .rside,
#loop.list .imgloop {
    display: none;
}

#loop.list .post-category {
    display: none;
}

/* Loop editorial: tanpa gambar */
#loop.list.cards-text .card-media {
    display: none;
}

/* --------------------------------------------------------------------------
   9. BERANDA
   -------------------------------------------------------------------------- */

/* Berita utama */
.news-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.news-feature {
    position: relative;
    display: block;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 420px;
    background: var(--brand-900);
    text-decoration: none !important;
    box-shadow: var(--sh-md);
}

.news-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

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

.news-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05) 0%, rgba(15, 23, 42, .35) 50%, rgba(15, 23, 42, .9) 100%);
}

.news-feature-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    height: 100%;
    min-height: 420px;
    padding: 32px;
    color: #fff;
}

.news-feature-body h3 {
    color: #fff;
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.28;
    margin: 0;
    letter-spacing: -.02em;
}

.news-feature-body .chip {
    align-self: flex-start;
}

.news-feature-body .feature-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .8);
    font: 600 13px/1.4 var(--font);
    flex-wrap: wrap;
}

.news-feature-body .feature-meta .fa {
    color: var(--accent-400);
}

.news-side {
    display: grid;
    gap: 24px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.news-side .card {
    flex-direction: row;
    align-items: stretch;
}

.news-side .card-media {
    width: 42%;
    aspect-ratio: auto;
    min-height: 100%;
}

.news-side .card-body {
    padding: 16px 18px;
    gap: 8px;
}

.news-side .card-title {
    font-size: 15.5px;
}

.news-side .card-meta {
    padding-top: 10px;
    border-top: 0;
    font-size: 12px;
}

.news-side .card-excerpt {
    display: none;
}

/* Editorial */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.editorial-cover {
    position: relative;
    display: block;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 340px;
    background: var(--bg-2);
    box-shadow: var(--sh-md);
}

.editorial-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform .7s var(--ease);
}

.editorial-cover:hover img {
    transform: scale(1.04);
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.editorial-list li {
    margin: 0;
}

.editorial-list a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink) !important;
    text-decoration: none !important;
    font: 700 15px/1.45 var(--font);
    transition: all .28s var(--ease);
}

.editorial-list a:hover {
    border-color: var(--brand-200);
    background: var(--brand-50);
    transform: translateX(4px);
}

.editorial-list .num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: var(--brand-50);
    color: var(--brand-700);
    font: 800 12px/1 var(--font);
}

/* Trio: pengumuman / blog guru / agenda */
.trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    box-shadow: var(--sh-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.panel:hover {
    box-shadow: var(--sh-md);
    border-color: var(--brand-200);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.panel-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16.5px;
    letter-spacing: -.01em;
}

.panel-head h3 .pico {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 15px;
    flex-shrink: 0;
}

.panel-head .panel-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: 12px;
    text-decoration: none;
    transition: all .25s var(--ease);
    flex-shrink: 0;
}

.panel-head .panel-link:hover {
    background: var(--brand-600);
    color: #fff;
    transform: translateX(2px);
}

.panel-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.panel-item {
    display: flex;
    gap: 14px;
    padding: 10px;
    margin: 0 -10px;
    border-radius: var(--r-md);
    text-decoration: none !important;
    transition: background .25s var(--ease);
}

.panel-item:hover {
    background: var(--bg);
}

.panel-item .pthumb {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--bg-2);
}

.panel-item .pthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.panel-item:hover .pthumb img {
    transform: scale(1.08);
}

.panel-item .pbody {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
}

.panel-item .pbody strong {
    display: block;
    font: 700 14px/1.42 var(--font);
    color: var(--ink);
    transition: color .2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.panel-item:hover .pbody strong {
    color: var(--brand-700);
}

.panel-item .pbody .pmeta {
    font: 600 11.5px/1.4 var(--font);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.panel-item .pbody .pmeta .fa {
    color: var(--accent-500);
    font-size: 11px;
}

/* Agenda item */
.agenda-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 10px;
    margin: 0 -10px;
    border-radius: var(--r-md);
    text-decoration: none !important;
    transition: background .25s var(--ease);
}

.agenda-item:hover {
    background: var(--bg);
}

.agenda-date {
    width: 52px;
    flex-shrink: 0;
    border-radius: var(--r-sm);
    background: var(--brand-50);
    color: var(--brand-700);
    text-align: center;
    padding: 7px 0 6px;
    line-height: 1;
}

.agenda-date .d {
    display: block;
    font: 800 21px/1 var(--font);
}

.agenda-date .m {
    display: block;
    font: 800 9.5px/1 var(--font);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: .8;
}

.agenda-item .abody {
    min-width: 0;
}

.agenda-item .abody strong {
    display: block;
    font: 700 14px/1.42 var(--font);
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.agenda-item:hover .abody strong {
    color: var(--brand-700);
}

.agenda-item .abody .atime {
    display: block;
    margin-top: 4px;
    font: 600 11.5px/1.4 var(--font);
    color: var(--muted);
}

/* Galeri beranda */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--brand-900);
    text-decoration: none !important;
    box-shadow: var(--sh-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .65s var(--ease);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, .85) 100%);
    opacity: .85;
    transition: opacity .35s;
}

.gallery-item .gcap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 16px;
    color: #fff;
    font: 700 13.5px/1.4 var(--font);
    transform: translateY(6px);
    transition: transform .35s var(--ease);
}

.gallery-item .gcap span {
    display: block;
    font: 600 10.5px/1.4 var(--font);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 4px;
}

.gallery-item:hover .gcap {
    transform: translateY(0);
}

/* Quotes */
.quotes-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--grad-brand);
    color: #fff;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
    isolation: isolate;
}

.quotes-wrap::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: 24px;
    font: 800 220px/1 Georgia, serif;
    color: rgba(255, 255, 255, .08);
    z-index: -1;
}

.quotes-wrap::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .35), transparent 65%);
    z-index: -1;
}

.quotes-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 800 11.5px/1 var(--font);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-400);
    margin-bottom: 20px;
}

.quotes-slider {
    position: relative;
    min-height: 150px;
}

.quotes-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}

.quotes-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quotes-slide blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: 600 clamp(19px, 2.4vw, 28px)/1.5 var(--font-display);
    letter-spacing: -.02em;
    color: #fff;
    quotes: none;
}

.quotes-slide blockquote::before,
.quotes-slide blockquote::after {
    content: none;
}

.quotes-slide cite {
    display: block;
    margin-top: 22px;
    font: 700 14px/1.5 var(--font);
    font-style: normal;
    color: var(--accent-400);
}

.quotes-dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.quotes-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    transition: all .3s var(--ease);
}

.quotes-dots button.is-active {
    width: 28px;
    background: var(--accent-400);
}

/* GTK / Prestasi / Fasilitas */
.mini-grid {
    display: grid;
    gap: 18px;
}

.mini-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: var(--r-md);
    text-decoration: none !important;
    transition: background .25s var(--ease), transform .25s var(--ease);
}

.mini-card:hover {
    background: var(--bg);
    transform: translateX(3px);
}

.mini-card .mthumb {
    width: 56px;
    height: 56px;
    border-radius: var(--r-full);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-2);
}

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

.mini-card .mbody {
    min-width: 0;
}

.mini-card .mbody strong {
    display: block;
    font: 700 14px/1.4 var(--font);
    color: var(--ink);
    transition: color .2s;
}

.mini-card:hover .mbody strong {
    color: var(--brand-700);
}

.mini-card .mbody span {
    display: block;
    font: 600 12px/1.4 var(--font);
    color: var(--muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.facility-grid a {
    position: relative;
    display: block;
    border-radius: var(--r-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-2);
}

.facility-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.facility-grid a:hover img {
    transform: scale(1.08);
}

/* Maps */
.dmaps {
    max-width: none;
    margin: 0;
    padding: 0 0 56px;
    background: transparent !important;
}

.dmaps #googleMap {
    height: 380px;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
    border: 1px solid var(--line);
    background: var(--bg-2);
    filter: grayscale(.15) contrast(1.02);
}

/* Fallback peta saat API key belum diisi */
.dmaps #googleMap.map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
    background:
        radial-gradient(900px 300px at 50% 120%, rgba(16, 185, 129, .18), transparent 70%),
        linear-gradient(135deg, var(--brand-800), var(--brand-900));
    border-color: transparent;
}

.map-fallback-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none !important;
    padding: 24px;
}

.map-pin {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    color: var(--accent-400);
    font-size: 22px;
    margin-bottom: 6px;
    transition: transform .3s var(--ease), background .3s var(--ease);
}

.map-fallback-inner:hover .map-pin {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, .22);
}

.map-fallback-inner strong {
    font: 800 17px/1.4 var(--font-display);
    color: #fff;
    letter-spacing: -.01em;
}

.map-coords {
    font: 600 12.5px/1.5 var(--font);
    color: rgba(255, 255, 255, .62);
    letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   10. SINGLE
   -------------------------------------------------------------------------- */
.single-head {
    margin: 0 0 24px;
}

.single-head h1 {
    font-size: clamp(26px, 3.4vw, 42px);
    line-height: 1.16;
    letter-spacing: -.03em;
    margin: 10px 0 18px;
    text-wrap: balance;
}

.single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    font: 600 13px/1.5 var(--font);
    color: var(--muted);
}

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

.single-meta .fa {
    color: var(--brand-500);
}

.single-meta a {
    color: var(--brand-700);
    text-decoration: none;
    font-weight: 700;
}

.single-hero {
    position: relative;
    margin: 0 0 28px;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: var(--sh-md);
}

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

.single-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(22px, 3.4vw, 44px);
    box-shadow: var(--sh-sm);
}

.single-aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.single-aside .share-label {
    font: 800 11px/1 var(--font);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--r-full);
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--ink-2) !important;
    font: 700 12.5px/1 var(--font);
    text-decoration: none !important;
    transition: all .25s var(--ease);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-sm);
}

.share-btn .fa {
    font-size: 13px;
}

.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; color: #fff !important; }
.share-btn.tw:hover { background: #0f172a; border-color: #0f172a; color: #fff !important; }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; color: #fff !important; }
.share-btn.cp:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff !important; }

/* Layout single lama tetap rapi */
.single .podate {
    float: none;
    width: auto;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
}

.single .podate .ddays {
    width: 62px;
    height: 62px;
    margin: 0;
    font: 800 24px/44px var(--font);
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-700);
    box-shadow: none;
    flex-shrink: 0;
}

.single .podate .dtimes {
    font: 700 11px/1.4 var(--font);
}

.single .podate .fa.ico,
.single .podate .fa.jag,
.single.tops .podate .fep.fa,
.single .podate .ag.fa {
    width: 62px;
    height: 62px;
    font-size: 26px;
    line-height: 62px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    box-shadow: none;
}

.single .rside {
    margin: 0;
}

.single .coms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 13px var(--font);
    color: var(--muted);
}

.single .coms .fa {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    text-align: center;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--ink-2);
}

/* Profil GTK / siswa */
.profile-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: start;
    padding: 22px;
    margin: 0 0 28px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg);
}

.profile-media {
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-2);
    aspect-ratio: 3 / 4;
}

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

.post-content .profile-name,
.profile-name {
    font: 800 clamp(20px, 2.4vw, 26px)/1.25 var(--font-display) !important;
    margin: 0 0 10px;
    letter-spacing: -.02em;
    color: var(--ink);
}

.profile-list {
    display: grid;
    gap: 2px;
    margin: 16px 0 0;
}

.profile-list > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
}

.profile-list > div:last-child {
    border-bottom: 0;
}

.profile-list dt {
    color: var(--muted);
    font-weight: 600;
}

.profile-list dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    word-break: break-word;
}

/* Info grid (prestasi, agenda, dll.) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 0 0 26px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg);
}

.info-grid > div {
    min-width: 0;
}

.info-grid dt {
    font: 800 10.5px/1.4 var(--font);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.info-grid dd {
    margin: 0;
    font: 700 15px/1.5 var(--font);
    color: var(--ink);
    word-break: break-word;
}

/* Video embed */
.video-embed {
    position: relative;
    margin: 0 0 26px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: var(--sh-md);
}

.video-embed iframe,
.post-content iframe.akframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Download */
.download-cta {
    margin: 0 0 26px;
}

/* --------------------------------------------------------------------------
   10b. KONTEN
   -------------------------------------------------------------------------- */
.post-content {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink-2);
    max-width: 74ch;
}

.post-content p {
    margin: 0 0 1.35em;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 1.8em 0 .6em;
    letter-spacing: -.02em;
}

.post-content h2 { font-size: 1.5em; }
.post-content h3 { font-size: 1.25em; }
.post-content h4 { font-size: 1.1em; }

.post-content a {
    color: var(--brand-700);
    text-decoration: underline;
    text-decoration-color: var(--brand-200);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}

.post-content a:hover {
    text-decoration-color: var(--brand-600);
}

.post-content img,
.post-content .wp-caption img {
    border-radius: var(--r-md);
    height: auto;
}

.post-content img.alignleft,
.post-content .alignleft {
    margin: 6px 28px 18px 0;
    border-radius: var(--r-md);
}

.post-content img.alignright,
.post-content .alignright {
    margin: 6px 0 18px 28px;
    border-radius: var(--r-md);
}

.post-content img.aligncenter,
.post-content .aligncenter {
    margin: 22px auto;
    border-radius: var(--r-md);
    display: block;
}

.post-content .post-img {
    margin: 0 0 26px;
}

.post-content .post-img img {
    width: 100%;
    border-radius: var(--r-lg);
}

.post-content blockquote {
    margin: 1.8em 0;
    padding: 20px 26px;
    border-left: 4px solid var(--accent-500);
    background: var(--accent-50);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 1.05em;
    font-style: italic;
    color: var(--ink);
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content ul,
.post-content ol {
    margin: 0 0 1.35em;
    padding-left: 1.4em;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
    margin-bottom: .5em;
}

.post-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: .95em;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
}

.post-content table th {
    background: var(--bg-2);
    font-weight: 800;
    color: var(--ink);
    text-align: left;
}

.post-content table th,
.post-content table td {
    padding: 12px 14px;
    border: 1px solid var(--line);
}

.post-content iframe {
    max-width: 100%;
    border-radius: var(--r-md);
}

.post-content .wp-block-gallery {
    display: grid;
    gap: 12px;
    margin: 1.5em 0;
}

.post-content .wp-block-gallery .wp-block-image {
    margin: 0;
}

.post-content .wp-block-gallery img {
    border-radius: var(--r-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content figcaption,
.post-content .wp-caption-text {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
}

.post-footer {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.post-footer a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 6px 6px 0;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--ink-2) !important;
    font: 600 12.5px/1.5 var(--font) !important;
    text-decoration: none !important;
    transition: all .25s var(--ease);
}

.post-footer a:hover {
    background: var(--brand-600);
    color: #fff !important;
}

/* Related */
.related-block {
    margin: 34px 0 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none !important;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.related-card .rthumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-2);
}

.related-card .rthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.related-card:hover .rthumb img {
    transform: scale(1.06);
}

.related-card .rbody {
    padding: 14px 16px 18px;
}

.related-card .rbody span {
    font: 600 11.5px/1.4 var(--font);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.related-card .rbody strong {
    display: block;
    margin-top: 6px;
    font: 700 14.5px/1.42 var(--font);
    color: var(--ink);
    transition: color .2s;
}

.related-card:hover .rbody strong {
    color: var(--brand-700);
}

/* Komentar */
#comments {
    margin-top: 8px;
}

.comment_list {
    margin: 0 0 26px;
}

.comment_list .comment {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.comment_list .comment:last-child {
    border-bottom: 0;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 14px var(--font);
    color: var(--ink);
}

.comment-author .avatar {
    border-radius: var(--r-full);
}

.comment-meta {
    font-size: 12.5px;
    color: var(--muted);
    margin: 4px 0 10px;
}

.comment-meta a {
    color: var(--muted);
    text-decoration: none;
}

.reply a {
    display: inline-block;
    font: 700 12px var(--font);
    color: var(--brand-700);
    text-decoration: none;
}

.commform-textarea textarea,
.commform-author input,
.commform-email input,
.commform-url input,
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    font: 400 14.5px/1.6 var(--font);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

.commform-textarea textarea:focus,
.comment-form textarea:focus,
.comment-form input:focus {
    border-color: var(--brand-400);
    box-shadow: 0 0 0 4px var(--brand-50);
    outline: none;
}

.comment-form .form-submit input,
#submit,
input[type=submit] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border: 0;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff;
    font: 700 14px/1 var(--font);
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(29, 78, 216, .8);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.comment-form .form-submit input:hover,
#submit:hover,
input[type=submit]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -14px rgba(29, 78, 216, .9);
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    margin-bottom: 14px;
}

.comment-respond .post-meta h1,
#comments .post-meta h1 {
    font-size: 20px;
    letter-spacing: -.02em;
    margin: 24px 0 14px;
}

/* --------------------------------------------------------------------------
   11. HALAMAN STATIS
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    border-radius: var(--r-xl);
    background: var(--grad-brand);
    color: #fff;
    padding: clamp(32px, 5vw, 56px);
    margin-bottom: 32px;
    overflow: hidden;
    isolation: isolate;
}

.page-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, .45), transparent 68%);
    z-index: -1;
}

.page-hero h1 {
    color: #fff;
    margin: 0;
    font-size: clamp(26px, 3.4vw, 40px);
    letter-spacing: -.03em;
}

.page-hero p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    max-width: 66ch;
}

.page-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: clamp(22px, 3.4vw, 44px);
    box-shadow: var(--sh-sm);
}

/* --------------------------------------------------------------------------
   12. SIDEBAR & WIDGET
   -------------------------------------------------------------------------- */
#sidebar .widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
    margin: 0 0 20px;
    box-shadow: var(--sh-sm);
    transition: box-shadow .3s var(--ease);
}

#sidebar .widget:hover {
    box-shadow: var(--sh-md);
}

.widget h3,
.widget-small h3 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 12px;
    font: 800 16px/1.3 var(--font-display);
    letter-spacing: -.01em;
    color: var(--ink);
}

.widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-accent);
}

.widget a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color .2s;
}

.widget a:hover {
    color: var(--brand-700);
}

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

.widget li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
    line-height: 1.5;
}

.widget li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.widget li:first-child {
    padding-top: 0;
}

/* Widget block bawaan WP */
#sidebar .wp-block-search__label,
#sidebar .wp-block-heading {
    font: 800 16px/1.3 var(--font-display);
    color: var(--ink);
    margin: 0 0 14px;
    padding-bottom: 12px;
    position: relative;
}

#sidebar .wp-block-heading::after,
#sidebar .wp-block-search__label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--grad-accent);
}

#sidebar .wp-block-group {
    margin: 0;
}

#sidebar .wp-block-search__inside-wrapper {
    display: flex;
    gap: 8px;
}

#sidebar .wp-block-search__input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-full);
    font: 400 14px var(--font);
    background: var(--bg);
}

#sidebar .wp-block-search__button {
    margin: 0;
    padding: 11px 18px;
    border: 0;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff;
    font: 700 13.5px var(--font);
    cursor: pointer;
}

#sidebar .wp-block-latest-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar .wp-block-latest-posts li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
    line-height: 1.5;
}

#sidebar .wp-block-latest-posts li:last-child {
    border-bottom: 0;
}

#sidebar .wp-block-latest-comments {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar .wp-block-latest-comments__comment {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
    line-height: 1.55;
}

#sidebar .wp-block-latest-comments__comment:last-child {
    border-bottom: 0;
}

#sidebar .wp-block-latest-comments__comment-meta a {
    font-weight: 700;
}

/* Widget kustom tema */
.widget .widmading {
    font-size: 14px;
    line-height: 1.65;
}

.widget .widmading .post-content {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: none;
}

.widget .widmading img {
    border-radius: var(--r-sm);
}

.widget .widmading .wdc {
    border-bottom: 1px dashed var(--line);
    padding: 12px 0;
}

.widget .widmading .wdc:first-child {
    padding-top: 0;
}

.widget .widmading .wdc:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.widget .agloop {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

.widget .agloop:last-child {
    border-bottom: 0;
}

.widget .age-info {
    border-right: 0;
    margin-bottom: 0;
}

.widget .agedate {
    font: 800 22px/1 var(--font);
    color: var(--brand-700);
    display: block;
}

.widget .age-info .agemon {
    font: 700 10.5px/1.4 var(--font);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
}

.widget .agloop .age-info {
    float: left;
    width: 58px;
    padding: 6px 0;
    margin: 0 14px 0 0;
    border-radius: var(--r-sm);
    background: var(--brand-50);
    text-align: center;
    letter-spacing: normal;
}

/* Search form */
.search_form {
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0;
    position: relative;
}

.search_form:after {
    display: none;
}

.search_form fieldset {
    width: 100%;
    height: auto;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    flex-wrap: wrap;
}

.search_form input {
    flex: 1 1 200px;
    width: auto;
    height: 48px;
    padding: 0 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-full);
    background: var(--bg);
    font: 400 14.5px var(--font);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.search_form input:focus {
    background: #fff;
    border-color: var(--brand-400);
    box-shadow: 0 0 0 4px var(--brand-50);
    outline: none;
}

.search_form .divsel {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
}

.search_form select {
    height: 48px;
    width: auto;
    min-width: 150px;
    padding: 0 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-full);
    background: var(--bg);
    font: 600 14px var(--font);
    color: var(--ink-2);
    cursor: pointer;
}

.search_form button {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.search_form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -12px rgba(29, 78, 216, .8);
}

#sidebar .search_form fieldset {
    flex-direction: column;
    gap: 10px;
}

#sidebar .search_form input,
#sidebar .search_form select,
#sidebar .search_form button,
#sidebar .search_form .divsel {
    width: 100%;
    flex: none;
}

#sidebar .search_form button {
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   13. PAGINATION
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 0;
    padding: 0;
    border: 0;
}

.pagination a,
.pagination .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2) !important;
    font: 700 13.5px/1 var(--font);
    text-decoration: none !important;
    transition: all .25s var(--ease);
}

.pagination a:hover,
.pagination a.active {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .8);
}

.pagination .disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footbar {
    background: var(--brand-900);
    color: rgba(255, 255, 255, .72);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.footbar::before {
    content: '';
    position: absolute;
    left: -140px;
    top: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .45), transparent 66%);
    pointer-events: none;
}

.footbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 56px var(--gutter) 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    position: relative;
}

/* Bila widget footer kosong, kolomnya tidak ikut memakan tempat */
.footbar-inner > .foot-bar:empty,
.footbar-inner > .foot-bar > .foot-inn:empty {
    display: none;
}

.footbar .foot-bar {
    width: auto;
    float: none;
    min-width: 0;
}

.foot-brand {
    min-width: 0;
}

.foot-brand .brand {
    display: inline-flex;
    margin-bottom: 18px;
}

.foot-brand .brand img {
    max-height: 54px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.foot-brand h3 {
    color: #fff;
    font: 800 16px/1.4 var(--font-display);
    margin: 0 0 14px;
    letter-spacing: -.01em;
}

.foot-brand .foot-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    font: 400 13.5px/1.6 var(--font);
    color: rgba(255, 255, 255, .68);
}

.foot-brand .foot-line .fa {
    color: var(--accent-400);
    margin-top: 4px;
    width: 14px;
    flex-shrink: 0;
    text-align: center;
}

.foot-brand .foot-line a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    transition: color .2s;
}

.foot-brand .foot-line a:hover {
    color: #fff;
}

.foot-social {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.foot-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    text-decoration: none;
    transition: all .25s var(--ease);
}

.foot-social a:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #fff;
    transform: translateY(-2px);
}

.footbar .foot-inn {
    margin: 0;
}

.footbar .widget {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 0 22px;
}

.footbar .widget h3 {
    color: #fff;
    font: 800 14px/1.3 var(--font-display);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 0;
}

.footbar .widget h3::after {
    display: none;
}

.footbar .widget a {
    color: rgba(255, 255, 255, .72);
    font: 500 14px/1.6 var(--font);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.footbar .widget a:hover {
    color: #fff;
    text-decoration: none;
    padding-left: 3px;
}

.footbar .widget li {
    border-bottom: 0;
    padding: 6px 0;
}

.footbar .widget p,
.footbar .textwidget {
    color: rgba(255, 255, 255, .68);
    font: 400 14px/1.7 var(--font);
}

.footbar .widget .widmading {
    color: rgba(255, 255, 255, .72);
}

.footbar .search_form input,
.footbar .search_form select {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.footbar .search_form input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.footbar .search_form select option {
    color: var(--ink);
}

.footer {
    background: var(--brand-900);
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .6);
    padding: 0;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer .copyright {
    font: 400 13px/1.6 var(--font);
    margin: 0;
}

.footer .copyright a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-weight: 600;
}

.footer .copyright a:hover {
    color: #fff;
}

.footer .copyright span {
    display: inline;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font: 600 13px var(--font);
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s;
}

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

/* Back to top */
#return-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 800;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 14px 28px -14px rgba(29, 78, 216, .9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .35s var(--ease);
    text-decoration: none;
}

#return-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#return-to-top:hover {
    transform: translateY(-3px);
    color: #fff;
}

/* --------------------------------------------------------------------------
   15. 404 / SEARCH / DOWNLOAD
   -------------------------------------------------------------------------- */.notfound {
    text-align: center;
    padding: 40px 0 60px;
}

.notfound .big {
    font: 800 clamp(80px, 16vw, 180px)/1 var(--font-display);
    letter-spacing: -.05em;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.notfound h2 {
    margin: 8px 0 12px;
    font-size: clamp(22px, 3vw, 30px);
}

.notfound p {
    color: var(--muted);
    max-width: 52ch;
    margin: 0 auto 26px;
}

.notfound .search_form {
    margin: 0 auto;
}

/* Tabel download */
.list .oversis {
    overflow-x: auto;
}

.list table.siswa {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 0;
}

.list table.siswa tr {
    background: #fff;
}

.list table.siswa th {
    padding: 12px 16px;
    text-align: left;
    font: 800 12px/1.4 var(--font);
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.list table.siswa td {
    padding: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    vertical-align: middle;
}

.list table.siswa td:first-child {
    border-left: 1px solid var(--line);
    border-radius: var(--r-md) 0 0 var(--r-md);
}

.list table.siswa td:last-child {
    border-right: 1px solid var(--line);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}

.list table.siswa td img {
    max-width: 40px;
    height: auto;
}

.list table.siswa td.vmd a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--grad-brand);
    color: #fff !important;
    font: 700 12.5px var(--font);
    text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   15b. KOMPATIBILITAS MARKUP LAMA
   (template single CPT yang belum dimigrasi tetap memakai .podate/.rside)
   -------------------------------------------------------------------------- */
.madings .post-meta {
    border: 0;
    padding: 0;
    margin: 0 0 18px;
}

.madings .post-meta h1,
.madings .post-meta h1.alwnor {
    font: 800 clamp(24px, 3vw, 36px)/1.18 var(--font-display);
    letter-spacing: -.03em;
    margin: 0 0 10px;
    color: var(--ink);
}

.madings .post-meta h1 .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--brand-50);
    color: var(--brand-600);
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.madings .post-meta span,
.madings .post-meta a {
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--muted);
}

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

.single .share > span {
    width: 100%;
    font: 800 11px/1 var(--font);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.single .share a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-full);
    background: var(--bg-2);
    color: var(--ink-2) !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all .25s var(--ease);
}

.single .share a:hover {
    background: var(--brand-600);
    color: #fff !important;
    transform: translateY(-2px);
}

.single .share .fa {
    margin: 0;
    width: auto;
    height: auto;
    font-size: 13px;
    background: none;
    color: inherit;
}

/* Galeri di dalam arsip: jangan pakai grid kartu */
#loop.list.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

#loop.list.gallery-grid .gallery-item {
    display: block;
}

/* Komentar dalam kartu */
.single-comments {
    max-width: none;
}

.single-comments .post-content {
    max-width: none;
}

/* Grid kartu staf GTK */
#loop.list.staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: var(--sh-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: var(--brand-200);
}

.staff-photo {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-2);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s var(--ease);
}

.staff-card:hover .staff-photo img {
    transform: scale(1.05);
}

.staff-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.staff-body strong {
    font: 700 15px/1.4 var(--font);
    color: var(--ink);
    transition: color .2s;
}

.staff-card:hover .staff-body strong {
    color: var(--brand-700);
}

.staff-role {
    font: 700 10.5px/1.4 var(--font);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-600);
}

.staff-meta {
    font: 500 12.5px/1.5 var(--font);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.staff-meta .fa {
    color: var(--brand-500);
    font-size: 11px;
}

/* Tabel data GTK / siswa di halaman detail */.single .meta-info table,
.post-content table.gtk {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.single .meta-info table td,
.post-content table.gtk td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
}

/* Pagination bawaan WP (wp_link_pages) */
.post-content .pagination a {
    margin: 0 2px;
}

/* --------------------------------------------------------------------------
   16. RESPONSIF
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1180px) {
    #sidebar {
        width: 300px;
        flex-basis: 300px;
    }

    .madinn {
        gap: 28px;
    }
}

/* Navigasi pindah ke drawer lebih awal agar tidak berdesakan */
@media screen and (max-width: 1150px) {
    .main-nav {
        display: none;
    }

    .nav-burger {
        display: inline-flex;
    }
}

/* Layar sedang: rapatkan navigasi supaya tidak overflow */
@media screen and (max-width: 1520px) and (min-width: 1151px) {
    .navbar-inner {
        gap: 12px;
    }

    .navbar .brand-text span {
        display: none;
    }

    .navbar .brand img {
        max-height: 48px;
    }

    .site-header.is-stuck .navbar .brand img {
        max-height: 40px;
    }

    .nav-list > li > a {
        padding: 10px 10px;
        font-size: 13.5px;
    }

    .nav-list > li > a::after {
        left: 10px;
        right: 10px;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 13px;
    }

    .nav-cta .fa {
        display: none;
    }
}

/* Rentang sempit: sembunyikan teks brand agar menu tetap utuh */
@media screen and (max-width: 1300px) and (min-width: 1151px) {
    .navbar .brand-text {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .nav-burger {
        display: inline-flex;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-side {
        grid-template-rows: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .news-side .card {
        flex-direction: column;
    }

    .news-side .card-media {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-cover {
        min-height: 280px;
    }

    .trio {
        grid-template-columns: 1fr 1fr;
    }

    .trio .panel:last-child {
        grid-column: 1 / -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footbar-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .madinn {
        flex-direction: column;
        gap: 32px;
    }

    #sidebar {
        position: static;
        width: 100%;
        flex-basis: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    #sidebar .widget {
        margin: 0;
    }
}

@media screen and (max-width: 860px) {
    :root {
        --header-h: 68px;
        --gutter: 18px;
    }

    .topbar-list li:not(.tb-phone):not(.tb-email) {
        display: none;
    }

    .hero {
        min-height: 460px;
    }

    .hero-inner {
        padding-bottom: 44px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .news-side {
        grid-template-columns: 1fr;
    }

    .news-side .card {
        flex-direction: row;
    }

    .news-side .card-media {
        width: 38%;
        aspect-ratio: auto;
    }

    .trio {
        grid-template-columns: 1fr;
    }

    .trio .panel:last-child {
        grid-column: auto;
    }

    .facility-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dmaps #googleMap {
        height: 300px;
    }
}

@media screen and (max-width: 700px) {
    body {
        font-size: 15.5px;
    }

    .hero {
        min-height: 0;
    }

    .hero-inner {
        padding-top: 36px;
    }

    .hero h1 {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.1;
        max-width: none;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-sub {
        font-size: 14.5px;
        margin-bottom: 20px;
    }

    .topbar {
        display: none;
    }

    .navbar-inner {
        min-height: 64px;
        gap: 10px;
    }

    .brand img {
        max-height: 42px;
    }

    .navbar .brand-text {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .ticker-shell {
        padding-top: 10px;
    }

    .ticker-box {
        border-radius: var(--r-lg);
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }

    .madticker .infotim {
        display: none;
    }

    .madticker #infotit {
        padding: 7px 12px;
        font-size: 10.5px;
    }

    ul.newstickers li {
        font-size: 12.5px;
    }

    .breadcrumbs {
        font-size: 12.5px;
        padding-top: 14px;
    }

    #container {
        padding-bottom: 0;
    }

    .madinn {
        padding: 22px 0 44px;
    }

    .section {
        padding: 44px 0;
    }

    .section-head {
        margin-bottom: 22px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-meta {
        gap: 8px 16px;
        font-size: 13px;
    }

    .news-feature,
    .news-feature-body {
        min-height: 340px;
    }

    .news-feature-body {
        padding: 22px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #loop.list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .single-body,
    .page-content {
        border-radius: var(--r-lg);
    }

    .single-hero {
        border-radius: var(--r-lg);
    }

    #sidebar {
        grid-template-columns: 1fr;
    }

    .footbar-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px var(--gutter) 28px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .pagination a,
    .pagination .disabled {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    #return-to-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
    }

    .quotes-wrap {
        border-radius: var(--r-lg);
    }

    .facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .list table.siswa {
        border-spacing: 0 8px;
    }

    .list table.siswa td {
        padding: 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        min-height: 420px;
    }

    .hero-badge {
        font-size: 10.5px;
        padding: 6px 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: auto;
        flex: none;
    }

    .news-side .card {
        flex-direction: column;
    }

    .news-side .card-media {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .panel {
        padding: 18px;
    }

    .pagination {
        gap: 6px;
    }
}

/* Hormati preferensi aksesibilitas */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* --------------------------------------------------------------------------
   17. CETAK
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .madticker,
    .breadcrumbs,
    #sidebar,
    .footbar,
    .footer,
    #return-to-top,
    .drawer-overlay,
    .mobile-drawer {
        display: none !important;
    }

    #container,
    .madinn {
        max-width: none;
        padding: 0;
        display: block;
    }

    .single-body,
    .page-content {
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    body {
        background: #fff;
        color: #000;
    }
}
