/* ================= ROOT ================= */
:root {
    --emerald: #059669;
    --emerald-light: #10b981;
    --dark: #065f46;
    --gold: #f59e0b;
}
 
/* ================= GLOBAL ================= */
body {
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}
 
.keterangan {
    font-size: 12px;
    line-height: 1;
}
 
.section {
    padding: 80px 0;
}
 
.section-emerald {
    background: linear-gradient(300deg, var(--dark), var(--emerald));
    color: white;
}
 
/* ================= NAVBAR ================= */
.custom-navbar {
    background: rgba(6,95,70,0.95);
    backdrop-filter: blur(8px);
}
 /* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 desktop */
    overflow: hidden;
    background: #000;
}

/* ================= CAROUSEL ================= */

.carousel,
.carousel-inner,
.carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ================= OVERLAY ================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.35),
        transparent
    );
    z-index: 1;
}

/* ================= CONTENT ================= */

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text {
    margin-left: 50px;
    max-width: 600px;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-desc {
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-list {
    padding-left: 20px;
}

.hero-list li {
    margin-bottom: 8px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hero {
        padding-top: 120%;
        min-height: 700px;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.45)
        );
    }

    .hero-content {
        align-items: center;
        padding: 30px 20px;
    }

    .hero-text {
        margin-left: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-desc {
        font-size: 1rem;
        margin: 15px 0;
    }

    .hero-list li {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .btn-gold {
        display: inline-block;
        margin-top: 10px;
    }
}

/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .hero {
        padding-top: 135%;
        min-height: 760px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-list li {
        font-size: 0.85rem;
    }

}
 
/* ================= BUTTON ================= */
.btn-gold {
    background: var(--gold);
    color: white;
    padding: 5px 5px;
    border-radius: 10px;
}
 
.btn-emerald {
    background: linear-gradient(135deg, var(--emerald), var(--dark));
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    transition: 0.3s;
}
 
.btn-emerald:hover {
    transform: scale(1.05);
}
 
/* ================= SWIPER ================= */
.swiper {
    padding: 20px 0;
}
 
/* ================= CARD JENJANG ================= */
.edu-card {
    position: relative;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}
 
.edu-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.edu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.60), transparent);
}
 
.edu-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
}

 

 
/* ================= DIVIDER ================= */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}
 
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 4px;
}
 
.divider-white::before,
.divider-white::after {
    background: #fff;
}
 
.divider-black::before,
.divider-black::after {
    background: #000;
}
 
.divider-green::before,
.divider-green::after {
    background: linear-gradient(90deg, transparent, #10b981, #059669, transparent);
}
 
.divider-left::before {
    display: none;
}
 
.divider-right::after {
    display: none;
}
 
/* ================= LINE ================= */
.line {
    width: 100%;
    height: 4px;
    margin: 40px 0;
}
 
.line-black {
    background: #000;
}
 
.line-white {
    background: #fff;
}
 
/* ================= SECTION TITLES ================= */
.text-emerald-dark {
    color: var(--dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}
 
/* ================= BERITA ================= */
.section-news {
    background: linear-gradient(135deg, var(--dark), var(--emerald));
    color: white;
}
 
.news-meta {
    font-size: 12px;
    opacity: 0.9;
}
 
.section-news .row {
    align-items: stretch;
}
 
/* ================= BERITA UTAMA ================= */
.news-main {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
}
 
.news-main img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
 
.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.2),
        transparent
    );
}
 
.news-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
}
 
.news-content h3 {
    font-weight: 700;
    line-height: 1.3;
}
 
.news-content p {
    opacity: 0.95;
    margin-top: 10px;
}
 
/* ================= LIST BERITA ================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
 
.news-item {
    display: flex;
    gap: 14px;
    flex: 1;
    background: rgba(255,255,255,0.08);
   
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    transition: 0.3s ease;
}
 
.news-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
}
 
.news-item img {
    width: 200px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    flex-shrink: 0;
    display: block;
}
 
.news-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
 
.news-item-content h6 {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.news-item-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

 @media (max-width: 768px) {

    .news-main {
        min-height: 300px;
        border-radius: 16px;
    }

    .news-content {
        bottom: 14px;
        left: 14px;
        right: 14px;
    }

    .news-content h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-top: 8px;
        margin-bottom: 6px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-content p {
        font-size: 0.70rem;
        line-height: 1.5;
        margin-top: 6px;
        margin-bottom: 8px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-content .small {
        font-size: 0.6rem;
    }

    .news-content .badge {
        font-size: 0.55rem;
        padding: 4px 8px;
    }

}
/* ================= FEATURE CARD ================= */
.feature-card {
    padding: 25px;
    background: white;
    border-radius: 15px;
}
 
/* ================= PRESTASI (HOMEPAGE) ================= */
.prestasi-section {
    background: #f2f4f7;
}
 
.prestasi-card-custom {
    height: 360px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background: white;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
 
.prestasi-card-custom img {
    height: 180px;
    object-fit: cover;
}
 
.prestasi-card-custom .card-title {
    font-weight: 700;
    color: var(--emerald);
    font-size: 0.95rem;
    text-transform: uppercase;
}
 
.prestasi-card-custom .card-text {
    font-size: 0.85rem;
    color: #666;
}
 
.prestasi-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
 
.prestasi-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
 
.prestasi-text {
    overflow: hidden;
}
 
.prestasi-text p {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.prestasi-date {
    font-size: 12px;
    margin-top: 10px;
    text-align: right;
}
 
.prestasiSwiper {
    padding-bottom: 10px;
}
 
/* ================= FASILITAS (HOMEPAGE) ================= */
.fasilitas-section {
    background: #ffffff;
}
 
.fasilitas-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
 
.fasilitas-card img {
    height: 240px;
    object-fit: cover;
}
 
.fasilitas-card .card-body {
    padding: 15px;
}
 
.fasilitas-card .card-title {
    font-weight: 700;
    color: var(--emerald);
    font-size: 0.95rem;
}
 
.fasilitas-card .card-text {
    font-size: 0.85rem;
    color: #666;
}
 
.fasilitas-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
 
.fasilitasSwiper {
    padding-bottom: 10px;
}
 
/* ================= EKSTRA (HOMEPAGE) ================= */
.ekstra-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 24px;
    height: 420px;
    background: none;
    transition: .4s ease;
}
 
.ekstra-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .45s ease;
}
 
.ekstra-card .edu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.45) 0%,
        rgba(0,0,0,.08) 45%,
        rgba(0,0,0,0) 100%
    );
    z-index: 1;
}
 
.ekstra-card .edu-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px;
    color: #fff;
}
 
.ekstra-card .card-body {
    background: none !important;
    padding: 0 !important;
}
 
.ekstra-card h5 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}
 
.ekstra-card .keterangan {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255,255,255,.92);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.ekstra-card:hover {
    transform: translateY(-6px);
}
 
.ekstra-card:hover img {
    transform: scale(1.05);
}
 
/* ================= PROGRAM UNGGULAN ================= */
.program-clean {
    background: #f9fafb;
}
 
.program-clean .row {
    justify-content: center;
}
 
.program-clean .col-6,
.program-clean .col-md-4 {
    display: flex;
}
 
.program-box {
    width: 100%;
    background: #ffffff;
    border: 2px dashed var(--emerald-light);
    border-radius: 16px;
    padding: 20px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
 
.program-box i {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}
 
.program-box h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
 
.program-box p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
 
.program-box:hover {
    transform: translateY(-12px) scale(1.02);
    border: 2px solid var(--emerald);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.25);
}
 
.program-box:hover i {
    transform: scale(1.15);
}
 
.program-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,215,0,0.25), transparent);
    transition: 0.6s;
}
 
.program-box:hover::before {
    left: 100%;
}
 
/* ================= FOOTER ================= */
.footer {
    background: var(--dark);
    color: white;
    padding: 20px;
}
 
/* ================= HALAMAN BERITA DETAIL ================= */
.news-hero {
    width: 100%;
    height: 60vh;
    min-height: 320px;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}
 
.news-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
 
.news-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2), transparent);
}
 
.news-detail-text p {
    text-align: justify;
    text-indent: 30px;
    margin-bottom: 15px;
    line-height: 1.8;
}
 
.penulis {
    font-weight: 600;
    color: var(--dark);
}
 
.lokasi {
    font-style: italic;
}
 
/* ================= SIDEBAR ================= */
.sidebar-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f1f1;
    transition: 0.3s ease;
}
 
.sidebar-box:hover {
    transform: translateY(-3px);
}
 
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    position: relative;
    padding-left: 14px;
}
 
.sidebar-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 5px;
    height: 22px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--gold), var(--emerald));
}
 
.sidebar-highlight {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    height: 240px;
}
 
.sidebar-highlight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
 
.sidebar-highlight:hover img {
    transform: scale(1.05);
}
 
.sidebar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2), transparent);
}
 
.sidebar-highlight-content {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: white;
}
 
.sidebar-highlight-content small {
    font-size: 12px;
    opacity: 0.85;
}
 
.sidebar-highlight-content h6 {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}
 
.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
 
.sidebar-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #fafafa;
    transition: 0.3s;
}
 
.sidebar-news-item:hover {
    background: #f0fdf4;
    transform: translateX(4px);
}
 
.sidebar-news-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
 
.sidebar-news-item h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-top: 4px;
    transition: 0.2s;
}
 
.sidebar-news-item:hover h6 {
    color: var(--emerald);
}
 
.prestasi-sidebar-card {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
    background: #fafafa;
    margin-bottom: 14px;
    transition: 0.3s;
}
 
.prestasi-sidebar-card:hover {
    background: #f0fdf4;
    transform: translateX(4px);
}
 
.prestasi-sidebar-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}
 
.prestasi-sidebar-card h6 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 4px;
    color: #222;
}
 
.prestasi-sidebar-card:hover h6 {
    color: var(--emerald);
}
 
/* ================= HALAMAN SATUAN ================= */
.satuan-banner img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    transition: 0.3s ease;
}
 
.satuan-page-card {
    border-radius: 22px;
    overflow: hidden;
    transition: 0.35s;
    background: #fff;
}
 
.satuan-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
 
.satuan-page-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
}
 
.satuan-page-card .card-body {
    padding: 22px;
}
 
.satuan-page-card h5 {
    font-size: 1.1rem;
    line-height: 1.5;
    min-height: 55px;
}
 
.satuan-page-card p {
    font-size: 14px;
    line-height: 1.8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
 
.satuan-page-card .btn {
    transition: 0.3s;
}
 
.satuan-page-card:hover .btn {
    background: var(--emerald);
    color: #fff;
}
 
/* ================= HALAMAN BERITA (ALL) ================= */
.berita-page-card {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    display: flex;
    flex-direction: column;
}
 
.berita-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}
 
.berita-page-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}
 
.berita-page-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}
 
.berita-page-card h5 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    min-height: 48px;
    color: #111;
}
 
.berita-page-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
 
.berita-page-card .btn {
    margin-top: auto;
}
 
.berita-page-card .small {
    font-size: 12px;
}
 
#berita-container .row > div {
    display: flex;
}
 
/* ================= SEARCH BERITA ================= */
.input-group {
    border-radius: 50px;
    overflow: hidden;
}
 
.input-group .form-control {
    padding: 14px 20px;
    font-size: 15px;
}
 
.input-group .form-control:focus {
    box-shadow: none;
}
 
.input-group .btn {
    border-radius: 0;
}
 
/* ================= HALAMAN PRESTASI (ALL) ================= */
.prestasi-page-card {
    border-radius: 22px;
    overflow: hidden;
    transition: 0.35s;
    background: #fff;
}
 
.prestasi-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
 
.prestasi-page-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
}
 
.prestasi-page-card .card-body {
    padding: 22px;
}
 
.prestasi-page-card h5 {
    font-size: 1.05rem;
    line-height: 1.5;
    min-height: 58px;
}
 
.prestasi-page-card p {
    font-size: 14px;
    line-height: 1.8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
 
.prestasi-page-card .btn {
    transition: 0.3s;
}
 
.prestasi-page-card:hover .btn {
    background: var(--emerald);
    color: #fff;
}
 
/* ================= HALAMAN EKSTRAKURIKULER (ALL) ================= */
.ekstra-card-custom {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s;
    border: none;
}
 
.ekstra-card-custom img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
 
.ekstra-card-custom .card-body {
    padding: 18px;
}
 
.ekstra-card-custom .card-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 10px;
}
 
.ekstra-card-custom .card-text {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.ekstra-card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.10);
}
 
/* ================= HALAMAN FASILITAS (ALL) ================= */
.fasilitas-page-card {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}
 
.fasilitas-page-card:hover {
    transform: translateY(-5px);
}
 
.fasilitas-page-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}
 
.fasilitas-page-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}
 
.fasilitas-page-card h5 {
    min-height: 55px;
    line-height: 1.4;
}
 
.fasilitas-page-card p {
    flex-grow: 1;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 110px;
}
 
/* ================= RESPONSIVE - TABLET ================= */
@media (max-width: 991px) {
 
    /* BERITA */
    .news-main {
        min-height: 320px;
    }
 
    .news-item {
        flex-direction: column;
    }
 
    .news-item img {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }
 
    .news-item-content {
        padding-top: 5px;
    }
 
    /* SECTION BERITA */
    .section-news .row {
        flex-direction: column;
    }
 
    .news-main {
        height: 280px;
        margin-bottom: 20px;
    }
 
    .beritaSwiper {
        padding-bottom: 10px;
    }
 
    .beritaSwiper .swiper-slide {
        width: 85%;
    }
 
    /* SIDEBAR */
    .sidebar-box {
        margin-top: 20px;
    }
 
    .sidebar-highlight {
        height: 220px;
    }
}
    /* ================= MOBILE BERITA ================= */
@media (max-width: 768px) {

    .beritaSwiper {
        overflow: hidden;
        padding-right: 10px;
    }

    .beritaSwiper .swiper-slide {
        height: auto;
    }


    .news-mobile-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .news-mobile-content {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 2;
    }

    .news-mobile-content h6 {
        font-size: 0.78rem;
        line-height: 1.35;
        font-weight: 700;
        margin-bottom: 6px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-mobile-content .small {
        font-size: 0.58rem;
    }

}

/* ================= MOBILE BERITA STYLE UTAMA ================= */

.news-mobile-card {
    position: relative;
    height: 180px;

    border-radius: 16px;
    overflow: hidden;
}

.news-mobile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-mobile-content {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.news-mobile-content h6 {
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-mobile-content .small {
    font-size: 0.6rem;
}

/* ================= PROGRAM UNGGULAN ================= */

.program-box {
    width: 100%;
    background: #ffffff;
    border: 2px dashed var(--emerald-light);
    border-radius: 16px;
    padding: 20px;

    height: 260px; /* tinggi sama */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    position: relative;
    overflow: hidden;

    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.program-box i {
    font-size: 32px;
    margin-bottom: 12px;

    background: linear-gradient(
        135deg,
        var(--emerald),
        var(--emerald-light)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: transform 0.3s ease;
}

.program-box h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;

    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.program-box p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;

    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
/* ================= FOOTER MODERN ================= */

.footer-modern {
    background: linear-gradient(
        135deg,
        #065f46,
        #059669,
        #10b981
    );

    color: white;
    padding-top: 70px;
    margin-top: 80px;

    position: relative;
    overflow: hidden;
}

/* ================= BRAND ================= */

.footer-brand img {
    width: 90px;
    margin-bottom: 18px;
}

.footer-brand h4 {
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-brand p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ================= TITLE ================= */

.footer-title {
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 45px;
    height: 3px;

    border-radius: 10px;

    background: #facc15;
}

/* ================= LINKS ================= */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

/* ================= CONTACT ================= */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;

    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.footer-contact i {
    color: #facc15;
    margin-top: 3px;
}

/* ================= SOCIAL ================= */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.15);

    color: white;
    text-decoration: none;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: #059669;

    transform: translateY(-5px);
}

/* ================= MAP ================= */

.footer-map {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
}

/* ================= COPYRIGHT ================= */

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;

    border-top: 1px solid rgba(255,255,255,0.15);

    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .footer-modern {
        padding-top: 50px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-title {
        display: inline-block;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-map iframe {
        height: 200px;
    }

}