/*
Theme Name: Web Sekolah
Theme URI: https://theme.co.id/websekolah/
Author: Web Sekolah Developer
Author URI: https://theme.co.id/
Description: Tema WordPress Sekolah Modern, Bersih, Cepat, dan 100% Responsif. Dibuat sesuai desain portal pendidikan Indonesia (SD, SMP, SMA, SMK, Perguruan Tinggi). Dilengkapi fitur Berita, Pengumuman, Agenda, Galeri, Profil Guru, dan Kustomisasi Lengkap.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: websekolah
Tags: education, school, responsive-layout, custom-menu, featured-images, custom-logo, translation-ready
*/

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */
:root {
    --accent: #003692;
    --accent-dark: #002766;
    --accent-light: #024ca9;
    --coloroptions: #ffb900;
    --coloroptions-hover: #e0a300;
    --contrast: #1a1919;
    --contrast-2: #292b2b;
    --text-color: #475467;
    --text-muted: #667085;
    --base-white: #ffffff;
    --base-gray-light: #f8f9fa;
    --base-border: #e4e7ec;
    --container-width: 1100px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: var(--contrast);
    background-color: var(--base-white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--coloroptions);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--contrast);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   2. Very Top Bar
   ========================================================================== */
.very_top {
    background-color: var(--accent-dark);
    padding: 6px 0;
    color: var(--base-white);
}

.very_top_wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--base-white);
    text-decoration: none;
}

.top-contact-link:hover {
    color: var(--coloroptions);
}

.top-contact-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   3. Site Header & Search
   ========================================================================== */
.site-header {
    background-color: var(--base-white);
    padding: 16px 0;
    border-bottom: 1px solid #f0f2f5;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.site-logo a,
.site-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.site-logo img,
.site-logo .custom-logo,
.site-logo .header-image {
    display: block !important;
    height: auto !important;
    max-height: 52px;
    width: auto !important;
    max-width: 250px;
    object-fit: contain;
}

.header-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #4e4e4e;
    border-radius: 50px;
    padding: 2px 2px 2px 16px;
    width: 320px;
    max-width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

.header-search-form input[type="search"] {
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--contrast);
    outline: none;
    flex: 1;
    min-width: 0;
}

.header-search-form input[type="search"]::placeholder {
    color: #888888;
}

.header-search-form button[type="submit"] {
    background-color: #2c2c2c;
    border: none;
    border-radius: 50px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.header-search-form button[type="submit"]:hover {
    background-color: var(--accent);
}

.header-search-form button[type="submit"] svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.mobile-icon-btn {
    background: none;
    border: none;
    color: var(--accent);
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mobile-icon-btn svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* ==========================================================================
   4. Primary Navigation
   ========================================================================== */
.main-navigation {
    background-color: var(--accent);
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    line-height: 54px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--base-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-parent > a {
    color: var(--coloroptions);
}

.dropdown-icon {
    display: inline-block;
    transition: transform 0.2s;
}

.dropdown-icon svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
}

/* Dropdown Sub-menu */
.main-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--base-white);
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-bottom: 4px solid var(--accent);
    border-radius: 0 0 6px 6px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 999;
}

.main-menu > li:hover > ul.sub-menu,
.main-menu > li:focus-within > ul.sub-menu,
.main-menu > li.is-open > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu ul.sub-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f2f4f7;
}

.main-menu ul.sub-menu li:last-child {
    border-bottom: none;
}

.main-menu ul.sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.main-menu ul.sub-menu li a:hover,
.main-menu ul.sub-menu li.current-menu-item > a {
    color: var(--accent);
    background-color: #f7f9fc;
    padding-left: 24px;
    font-weight: 600;
}

/* Nested Sub-menus */
.main-menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    margin-top: -8px;
    border-top: none;
    border-left: 3px solid var(--accent);
    border-bottom: 4px solid var(--accent);
    border-radius: 0 6px 6px 6px;
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.12);
}

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

/* ==========================================================================
   5. Hero Carousel Section
   ========================================================================== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background-color: #111827;
}

.top_stories.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hero-slide .container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 620px;
    color: var(--base-white);
    padding: 80px 0;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--base-white);
    margin-bottom: 16px;
    text-align: left !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 26px;
    text-align: left !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.btn-yellow {
    display: inline-block;
    background-color: var(--coloroptions);
    color: var(--contrast);
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 185, 0, 0.35);
    text-align: center;
}

.btn-yellow:hover {
    background-color: var(--coloroptions-hover);
    color: var(--contrast);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 185, 0, 0.45);
}

.btn-blue {
    display: inline-block;
    background-color: var(--accent);
    color: var(--base-white);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 22px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-blue:hover {
    background-color: var(--accent-dark);
    color: var(--base-white);
}

/* Owl Dots custom styling */
.top_stories.owl-carousel .owl-dots {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.top_stories.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 4px;
}

.top_stories.owl-carousel .owl-dots .owl-dot span {
    width: 24px;
    height: 5px;
    margin: 0;
    background: rgba(255, 255, 255, 0.45);
    display: block;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.top_stories.owl-carousel .owl-dots .owl-dot.active span {
    background: #ffffff;
    width: 32px;
}

/* ==========================================================================
   6. 4 Pillars / Keunggulan Section
   ========================================================================== */
.pillars-section {
    padding: 45px 0 35px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #eef2f6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 45px;
}

.pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillar-content {
    flex: 1;
}

.pillar-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.pillar-desc {
    font-size: 13.5px;
    color: var(--text-color);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================================
   7. Section: Berita Sekolah & Pengumuman
   ========================================================================== */
.news-announcement-section {
    padding: 30px 0 50px 0;
    background-color: var(--base-white);
}

.main-content-grid {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 32px;
}

.section-heading-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1.5px solid #edf0f5;
    padding-bottom: 10px;
}

.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0;
}

.link-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.link-view-all:hover {
    color: var(--coloroptions-hover);
}

.link-view-all svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Berita Inner Grid */
.berita-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Featured Post (Left) */
.featured-news-card {
    display: flex;
    flex-direction: column;
}

.featured-news-thumb {
    margin-bottom: 14px;
    border-radius: 4px;
    overflow: hidden;
}

.featured-news-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-news-thumb:hover img {
    transform: scale(1.03);
}

.news-date {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

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

.featured-news-title a {
    color: var(--contrast);
    text-decoration: none;
}

.featured-news-title a:hover {
    color: var(--accent);
}

.featured-news-excerpt {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-color);
    margin: 0;
}

/* News List Stack (Right) */
.news-list-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.news-list-thumb {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

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

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

.news-list-content {
    flex: 1;
    min-width: 0;
}

.news-list-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.38;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-title a {
    color: var(--contrast);
    text-decoration: none;
}

.news-list-title a:hover {
    color: var(--accent);
}

/* Pengumuman Card Box */
.announcement-box {
    background-color: var(--accent);
    color: var(--base-white);
    border-radius: 6px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
}

.announcement-header {
    font-size: 21px;
    font-weight: 700;
    color: var(--base-white);
    margin: 0 0 20px 0;
}

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

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.announcement-icon {
    flex-shrink: 0;
    color: var(--coloroptions);
    margin-top: 2px;
}

.announcement-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.announcement-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--base-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.announcement-title:hover {
    color: var(--coloroptions);
}

.announcement-footer {
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: right;
}

.announcement-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--base-white);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
}

.announcement-view-all:hover {
    color: var(--coloroptions);
}

.announcement-view-all svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   8. Section: Kepala Sekolah, Guru, Profil
   ========================================================================== */
.school-info-section {
    padding: 40px 0 60px 0;
    background-color: var(--base-white);
    border-top: 1px solid #edf0f5;
}

.info-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.info-col {
    display: flex;
    flex-direction: column;
}

/* Column 1: Kepala Sekolah */
.ks-profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ks-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ks-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ks-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 2px 0;
}

.ks-title {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.ks-bio-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-color);
    margin-bottom: 14px;
}

.btn-container {
    margin-top: auto;
}

/* Column 2: Guru List */
.teacher-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.teacher-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.teacher-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 2px 0;
}

.teacher-subject {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

/* Column 3: Profil Sekolah & Video */
.video-preview-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 14px;
}

.video-preview-wrapper img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.2s ease;
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 3px;
}

.video-preview-wrapper:hover .video-play-btn {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
}

.profil-desc-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-color);
    margin-bottom: 16px;
}

/* ==========================================================================
   9. Site Footer
   ========================================================================== */
.site-footer {
    background-color: var(--accent);
    color: var(--base-white);
    padding-top: 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    max-width: 170px;
    height: auto;
}

.footer-address {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--base-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.footer-contact-link:hover {
    color: var(--coloroptions);
}

.footer-contact-link svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.footer-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--base-white);
    margin: 0 0 16px 0;
}

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

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--coloroptions);
    padding-left: 4px;
}

.footer-sosmed-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--base-white);
    text-decoration: none;
    transition: transform 0.2s, color 0.2s;
}

.social-icon-link:hover {
    color: var(--coloroptions);
    transform: translateY(-2px);
}

.social-icon-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Copyright Bar */
.copyright-bar {
    background-color: var(--accent-dark);
    padding: 16px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
}

.copyright-bar p {
    margin: 0;
}

/* ==========================================================================
   10. Off-Canvas Slideout Navigation (Mobile Drawer)
   ========================================================================== */
.slideout-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background-color: var(--accent-dark);
    color: var(--base-white);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.slideout-menu-drawer.is-active {
    transform: translateX(0);
}

.slideout-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    gap: 15px;
}

.slideout-logo {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.slideout-logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.slideout-logo-img {
    max-height: 42px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.slideout-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--base-white);
    margin: 0;
}

.slideout-exit {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--base-white);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.slideout-exit:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slideout-exit svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.slideout-nav-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.slideout-nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.slideout-nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--base-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.slideout-nav-list li a:hover,
.slideout-nav-list li.current-menu-item > a {
    color: var(--coloroptions);
    background-color: rgba(255, 255, 255, 0.05);
}

.slideout-nav-list ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.15);
}

.slideout-nav-list ul.sub-menu li a {
    padding-left: 36px;
    font-size: 13.5px;
    font-weight: 500;
}

.slideout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.slideout-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   11. Search Modal (Mobile)
   ========================================================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-modal.is-active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.search-modal-container {
    position: relative;
    z-index: 2;
    background: var(--base-white);
    padding: 24px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.search-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--contrast);
}

/* ==========================================================================
   12. Standard Inner Pages & Post Styling
   ========================================================================== */
.site-main-content {
    padding: 40px 0 60px 0;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--accent);
}

.page-title, .single-post-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.35;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--base-border);
}

.post-featured-image {
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.entry-content {
    font-size: 16px;
    line-height: 1.75;
    color: #333333;
}

.entry-content p {
    margin-bottom: 1.3em;
}

.entry-content h2 {
    font-size: 24px;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.entry-content h3 {
    font-size: 20px;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.3em;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 0.5em;
}

/* Archive Grid */
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.archive-card {
    background: var(--base-white);
    border: 1px solid var(--base-border);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.archive-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.archive-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.archive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.archive-card-title a {
    color: var(--contrast);
}

.archive-card-title a:hover {
    color: var(--accent);
}

.archive-card-excerpt {
    font-size: 13.5px;
    color: var(--text-color);
    margin-bottom: 15px;
    flex: 1;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--base-border);
    color: var(--contrast);
    font-weight: 600;
    text-decoration: none;
}

.pagination-wrapper .page-numbers.current {
    background-color: var(--accent);
    color: var(--base-white);
    border-color: var(--accent);
}

.pagination-wrapper .page-numbers:hover:not(.current) {
    background-color: #f0f2f5;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }

    .site-header {
        padding: 12px 0;
    }

    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .site-logo {
        display: flex !important;
        align-items: center !important;
        flex: 0 1 auto !important;
        max-width: calc(100% - 100px);
    }

    .site-logo img,
    .site-logo .custom-logo,
    .site-logo .header-image {
        max-height: 48px !important;
        max-width: 220px !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
    }

    .header-search-form {
        display: none !important;
    }

    .header-mobile-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        flex-shrink: 0;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .main-content-grid {
        grid-template-columns: 1fr;
    }

    .info-columns-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero-slide {
        min-height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    /* Very Top Bar Mobile */
    .very_top {
        padding: 6px 0;
        font-size: 12px;
    }

    .very_top_wrapper {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 14px;
    }

    .top-contact-link {
        font-size: 12px;
        gap: 6px;
    }

    /* Header & Logo Mobile */
    .site-header {
        padding: 8px 0 !important;
        background-color: #ffffff;
        position: relative;
        z-index: 99;
    }

    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-logo {
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        max-width: calc(100% - 92px) !important;
        overflow: visible !important;
        min-width: 0 !important;
    }

    .site-logo a,
    .site-logo .custom-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        max-width: 100% !important;
        line-height: 0 !important;
    }

    .site-logo img,
    .site-logo .custom-logo,
    .site-logo .header-image {
        display: block !important;
        height: auto !important;
        max-height: 44px !important;
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-mobile-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .mobile-icon-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: var(--contrast);
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

    .mobile-icon-btn:hover {
        background: var(--accent);
        color: #ffffff;
        border-color: var(--accent);
    }

    /* Hero Slider Mobile */
    .hero-slider-section {
        min-height: 320px;
    }

    .hero-slide {
        min-height: 320px;
        background-position: center center;
    }

    .hero-content {
        padding: 40px 0;
        max-width: 100%;
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 12px;
        text-align: left !important;
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    .hero-desc {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 20px;
        text-align: left !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    }

    .btn-yellow {
        display: inline-block;
        padding: 10px 24px;
        font-size: 14px;
        border-radius: 6px;
        font-weight: 700;
        text-align: center;
    }

    /* Pillars Mobile */
    .pillars-section {
        padding: 30px 0;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pillar-item {
        padding: 16px 18px;
        gap: 15px;
        align-items: center;
    }

    .pillar-icon img {
        width: 44px;
        height: 44px;
    }

    .pillar-title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .pillar-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    /* Berita & Post Grid Mobile */
    .berita-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .archive-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 6px 0 !important;
    }

    .header-container {
        padding: 0 12px !important;
    }

    .site-logo {
        max-width: calc(100% - 84px) !important;
    }

    .site-logo img,
    .site-logo .custom-logo,
    .site-logo .header-image {
        max-height: 38px !important;
        max-width: 155px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-mobile-actions {
        gap: 5px !important;
    }

    .mobile-icon-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .hero-slide {
        min-height: 290px;
    }

    .hero-content {
        text-align: left !important;
    }

    .hero-title {
        font-size: 20px;
        text-align: left !important;
    }

    .hero-desc {
        text-align: left !important;
        -webkit-line-clamp: 2;
    }

    .very_top_wrapper {
        font-size: 11px;
    }

    .inner-hero-title {
        font-size: 20px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 0 8px !important;
    }

    .site-logo {
        max-width: calc(100% - 76px) !important;
    }

    .site-logo img,
    .site-logo .custom-logo,
    .site-logo .header-image {
        max-height: 34px !important;
        max-width: 130px !important;
    }

    .mobile-icon-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
}

/* ==========================================================================
   14. Inner Pages & Template Layouts
   ========================================================================== */
.inner-page-hero {
    position: relative;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 39, 102, 0.78) 0%, rgba(0, 20, 60, 0.88) 100%);
    z-index: 1;
}

.inner-hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 45px 20px 85px 20px;
}

.inner-hero-title {
    color: var(--base-white);
    font-size: 34px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.3px;
}

.inner-page-card {
    background: var(--base-white);
    border-radius: 10px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 45px 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    margin-bottom: 60px;
    border: 1px solid #eef2f6;
    min-height: 420px;
}

/* Sejarah Grid & Visi Misi Timeline */
.sejarah-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 45px;
}

.visi-misi-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 8px 0;
}

.visi-misi-tagline {
    font-size: 14.5px;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Numbered Timeline (st_list) */
ul.st_list {
    margin: 0 0 0 -10px !important;
    counter-reset: li;
    padding: 0;
}

ul.st_list > li {
    position: relative;
    display: block;
    list-style: none;
    border-left: 1.5px dashed var(--accent);
    margin-left: 25px;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 36px;
    padding-bottom: 28px;
    color: var(--text-color);
}

ul.st_list > li:before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    top: -6px;
    left: -20px;
    box-sizing: border-box;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    width: 40px;
    height: 40px;
    background: var(--coloroptions);
    color: var(--contrast);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

ul.st_list > li:last-child {
    border-left: none;
    padding-bottom: 0;
}

/* Kepala Sekolah Template */
.ks-page-avatar-wrap {
    text-align: center;
    margin-top: -95px;
    margin-bottom: 15px;
}

.ks-page-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: inline-block;
}

.ks-page-header {
    text-align: center;
    margin-bottom: 25px;
}

.ks-page-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--contrast);
    margin: 0 0 4px 0;
}

.ks-page-period {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.school-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 14px;
}

.school-table th {
    background: #f8fafc;
    color: var(--contrast);
    font-weight: 700;
    padding: 12px 16px;
    border: 1px solid var(--base-border);
    text-align: left;
}

.school-table td {
    padding: 12px 16px;
    border: 1px solid var(--base-border);
    color: var(--text-color);
    line-height: 1.5;
}

.school-table tr:nth-child(even) {
    background: #fafbfc;
}

/* Tenaga Pendidik Page */
.guru-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.guru-card-horizontal {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 6px;
}

.guru-card-photo {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #eef2f6;
}

.guru-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guru-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.guru-card-meta p {
    font-size: 13px;
    color: var(--text-color);
    margin: 0 0 3px 0;
    line-height: 1.45;
}

/* Galeri Foto Page */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.gallery-filter-btn {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--accent);
    color: #ffffff;
}

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

.gallery-grid-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-grid-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-grid-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.lightbox-content p {
    color: #ffffff;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
}

/* Galleri Video Page */
.video-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.browser-video-card {
    background: var(--base-white);
    border: 1px solid var(--base-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.browser-card-header {
    background: #f8fafc;
    padding: 10px 14px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    align-items: center;
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.browser-card-body {
    padding: 16px;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0;
    line-height: 1.4;
}

/* Responsive updates for Inner Page Templates */
@media (max-width: 1024px) {
    .inner-page-card {
        padding: 30px;
    }

    .sejarah-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 767px) {
    .inner-hero-title {
        font-size: 26px;
    }

    .inner-page-card {
        padding: 20px;
        margin-top: -35px;
    }

    .guru-two-col-grid {
        grid-template-columns: 1fr;
    }

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

    .video-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. Sarana, Prestasi, Publikasi, Agenda, Kontak & Elementor Compatibility
   ========================================================================== */

/* Table Styles for Prestasi & Publikasi */
.school-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    overflow: hidden;
}

.school-table th {
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.school-table td {
    padding: 16px 18px;
    border: 1px solid #e4e7ec;
    vertical-align: top;
    color: #344054;
    line-height: 1.6;
}

.school-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.school-table tbody tr:hover {
    background-color: #f2f4f7;
}

.btn-download-pdf:hover {
    background-color: var(--coloroptions) !important;
    color: var(--contrast) !important;
}

.btn-klik-disini {
    background-color: var(--accent);
    transition: all 0.2s ease;
}

.btn-klik-disini:hover {
    background-color: var(--coloroptions) !important;
    color: var(--contrast) !important;
}

/* Sarana / Fasilitas List Layout */
.sarana-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.sarana-item {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 35px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid #e4e7ec;
}

.sarana-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sarana-thumb-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sarana-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sarana-item:hover .sarana-img {
    transform: scale(1.03);
}

.sarana-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--contrast);
    margin: 0 0 12px 0;
}

.sarana-desc {
    font-size: 14.5px;
    color: var(--text-color);
    line-height: 1.65;
    margin-bottom: 18px;
}

.sarana-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sarana-checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--contrast);
    line-height: 1.5;
}

.sarana-checklist li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    top: -1px;
}

.sarana-floor-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.floor-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

/* Agenda Grid Cards */
.agenda-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.agenda-card-item {
    display: flex;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    padding: 22px;
    transition: all 0.25s ease;
}

.agenda-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.agenda-date-badge {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.agenda-day {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.agenda-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.agenda-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.agenda-excerpt p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-color);
    line-height: 1.5;
}

/* Kontak Layout */
.kontak-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.kontak-subhead {
    font-size: 19px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 20px 0;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    display: inline-block;
}

.kontak-card-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.kontak-card-icon {
    font-size: 22px;
    line-height: 1;
}

.kontak-card-text strong {
    display: block;
    font-size: 14.5px;
    color: var(--contrast);
    margin-bottom: 3px;
}

.kontak-card-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.kontak-card-text a {
    color: var(--accent);
    font-weight: 600;
}

/* Elementor Full Width Compatibility */
.elementor-full-width-page {
    width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-canvas-template {
    background-color: var(--base-white);
    margin: 0;
    padding: 0;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .sarana-item {
        grid-template-columns: 1fr;
    }
    
    .sarana-img {
        height: 240px;
    }

    .agenda-grid-cards {
        grid-template-columns: 1fr;
    }

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

/* 16. Table Responsive Wrapper & Touch Enhancements */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 1px solid #e4e7ec;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.table-responsive-wrapper .school-table {
    margin-bottom: 0;
    border: none;
    min-width: 650px;
}

.kontak-map-wrapper iframe {
    width: 100%;
    min-height: 380px;
    display: block;
    border: 0;
}

@media (max-width: 767px) {
    .table-responsive-wrapper .school-table th,
    .table-responsive-wrapper .school-table td {
        padding: 11px 13px;
        font-size: 13px;
    }

    .kontak-map-wrapper {
        min-height: 280px !important;
    }

    .kontak-map-wrapper iframe {
        height: 280px !important;
        min-height: 280px !important;
    }

    .school-contact-form button[type="submit"] {
        width: 100%;
        text-align: center;
    }
}



