
.bg-gradient-web-primary {
    background: linear-gradient(
        135deg,
        var(--top-bar),
        var(--semi-top-bar),
        var(--dark-top-bar)
    );
}

.bg-gradient-web-secondary {
    background: linear-gradient(
        135deg,
        var(--dark-top-bar),
        var(--semi-top-bar),
        var(--top-bar)
    );
}

.bg-gradient-web-dark {
    background: linear-gradient(
        135deg,
        #020617,
        var(--dark-top-bar)
    );
    color: #fff;
}

.bg-gradient-web-soft {
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.05),
        rgba(30,41,59,0.05)
    );
    color: #000;
}

.bg-gradient-web-fresh {
    background: linear-gradient(
        135deg,
        var(--top-bar),
        #22c55e
    );
}


.bg-gradient-web-warning {
    background: linear-gradient(
        135deg,
        #f59e0b,
        #facc15
    );
    color: #000;
}


/* ================= HERO WRAPPED ================= */

.carousel {
    margin-bottom: 0 !important;
}

.hero-wrapper {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGE: lebar penuh, tinggi mengikuti rasio asli -> tidak pernah terpotong */
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* PLACEHOLDER: dipakai bila gambar slider tidak tersedia */
.hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1875 / 839; /* mengikuti rasio gambar slider */
    background: linear-gradient(135deg, #1f2937, #0f172a);
    color: #fff;
}

.hero-placeholder-label {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
}

/* CONTAINER */
.hero-announcement {
    margin-top: 0;
    display: flex;
    align-items: center;
    background: #1f2937;
    color: #fff;
    overflow: hidden;
}

/* LABEL */
.announce-label {
    background: var(--dark-top-bar);
    padding: 10px 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* AREA SCROLL */
.announce-marquee {
    overflow: hidden;
    flex: 1;
}

/* TRACK (PENTING BANGET) */
.marquee-track {
    display: flex;
    width: max-content;
    animation: jalan 20s linear infinite;
}

/* ITEM */
.announce-item {
    display: flex;
    align-items: center;
    margin-right: 50px;
    white-space: nowrap;
    font-size: 14px;
}

/* TANGGAL */
.date {
    background: #f59e0b;
    color: #000;
    padding: 4px 10px;
    margin-right: 10px;
    border-radius: 3px;
    font-weight: 600;
}

/* AREA */
.announce-marquee {
    overflow: hidden;
    flex: 1;
    position: relative;
}

/* WRAPPER */
.marquee-inner {
    display: flex;
    width: 200%; /* ðŸ”¥ penting */
}

/* TRACK */
.marquee-track {
    display: flex;
    width: max-content;
    animation: jalan 30s linear infinite;
}

/* ANIMASI FIX */
@keyframes jalan {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* PENGUMUMAN RINGKAS (MOBILE) */
@media (max-width: 767px) {
    .announce-label {
        padding: 6px 12px;
        line-height: 1.2;
    }

    .announce-item {
        margin-right: 30px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    .date {
        padding: 2px 7px;
        margin-right: 7px;
        font-size: 11.5px;
    }
}


/* ================= NEWS SECTION ================= */
.news-section {
    padding: 16px 0 30px;
}

/* ================= MAIN NEWS ================= */
.news-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.news-main.box-section {
    padding: 0;
}

.news-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* overlay biru seperti gambar */
.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: linear-gradient(
        to top,
        var(--tema-gelap-1),
        var(--tema-gelap-2),
        transparent
    );

    color: #fff;
    padding: 14px 20px 10px;
}

/* badge */
.badge-news {
    display: inline-block;
    background: var(--dark-top-bar);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* tanggal */
.news-overlay small {
    display: inline-block;
    position: relative;
    top: 4px;
}

/* judul */
.news-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 0;
}

/* ================= SIDE LIST ================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* item */
.news-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--semi-top-bar);
    padding-bottom: 10px;
}

/* image kecil */
.news-item img {
    width: 95px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

/* badge kecil */
.badge-side {
    display: inline-block;
    background: var(--semi-top-bar);
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 4px;
}

/* text */
.news-item p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* hover effect */
.news-item:hover {
    transform: translateX(5px);
    transition: 0.3s;
}

.artikel-lainnya .news-item {
    padding-top: 10px;
}

.artikel-lainnya .news-item:first-child {
    padding-top: 0;
}

/* link lihat semua berita di beranda */
.news-all {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.news-all-line {
    flex: 1;
    border-top: 1px dashed var(--semi-top-bar, #d1d5db);
}

.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: var(--dark-top-bar, #007b79);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    text-decoration: none;
}

.news-all-link:hover {
    color: var(--top-bar, #02e9e5);
    text-decoration: none;
}

/* kartu daftar semua berita */
.news-card {
    display: block;
    height: 100%;
    padding: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    color: inherit;
    text-decoration: none;
}

.news-card-img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-card-body {
    padding: 16px;
}

.news-card-body small {
    color: #6b7280;
    font-size: .8rem;
}

.news-card-body h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 8px 0;
    color: var(--dark-top-bar);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: #6b7280;
    font-size: .85rem;
}

/* pagination daftar semua berita */
.news-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.news-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.news-pagination .page-item {
    margin: 0;
}

.news-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: var(--dark-top-bar, #007b79);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.news-pagination .page-link:hover,
.news-pagination .page-link:focus {
    color: var(--dark-top-bar, #007b79);
    background: rgba(2, 233, 229, .10);
    border-color: var(--semi-top-bar, #02b8b5);
    box-shadow: 0 8px 18px var(--tema-utama-16, rgba(0, 123, 121, .16));
    transform: translateY(-2px);
    text-decoration: none;
}

.news-pagination .page-item.active .page-link {
    color: #fff;
    background: linear-gradient(135deg, var(--dark-top-bar, #007b79), var(--semi-top-bar, #02b8b5));
    border-color: transparent;
    box-shadow: 0 10px 22px var(--tema-utama-30, rgba(0, 123, 121, .30));
    transform: translateY(-2px);
}

.news-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    border-color: #e9ecef;
    box-shadow: none;
    pointer-events: none;
}

.news-pagination .page-nav i {
    font-size: .72rem;
}

.news-pagination-info {
    margin: 0;
    color: #6b7280;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}

@media (max-width: 575px) {
    .news-pagination .page-link {
        min-width: 38px;
        height: 38px;
        padding: 0 9px;
        border-radius: 12px;
        font-size: .85rem;
    }
}


/* ================= SECTION ================= */
.profile-section {
    padding: 20px 0;
}

/* Wrapper konten utama (full-width, tanpa sidebar) */
.home-bands-main{
    display: block;
    width: 100%;
    min-width: 0;
}

/* Perlebar kontainer semua section frontend */
main .container,
footer .container,
footer + .py-3 .container{
    max-width: 1440px;
}
@media (min-width: 1200px){
    main .container,
    footer .container,
    footer + .py-3 .container{
        max-width: 1440px;
    }
}

/* Perbesar font dasar semua konten frontend (diwariskan ke semua teks) */
main{
    font-size: 16.5px;
}

/* ================= TONE BACKGROUND SECTION (berselang-seling) ================= */
.bg-tone-1{ background-color: #ffffff; }
.bg-tone-2{ background-color: #f2f7f7; }
.bg-tone-3{ background-color: #e8f6f5; }
.bg-tone-4{ background-color: #f5fafb; }
.bg-tone-5{ background: linear-gradient(180deg, #f4fbfb, #eef8f7); }

/* BOX UMUM */
.box-section{
    background: #fff;
    padding: 15px 15px 15px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

/* Kartu Event (di seksi Mengapa Memilih Kami) */
.event-card{
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.event-card .carousel{
    flex: 1;
    display: flex;
    align-items: stretch;
}
.event-card .carousel .carousel-inner{
    flex: 1;
    min-height: 200px;
}
.event-card .carousel .carousel-item img{
    object-fit: cover;
    height: 100%;
}

/* Animasi hover kartu SPMB (jalur & gelombang) */
.spmb-card{
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.spmb-card .small,
.spmb-card .ck-content.small,
.spmb-card small{
    font-size: 1rem;
}
.spmb-card .small strong{
    font-weight: 600;
}
.spmb-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,.14);
    border-color: #02b8b5;
}
.spmb-card .ck-content img{
    transition: transform .4s ease;
}
.spmb-card:hover .ck-content img{
    transform: scale(1.04);
}

/* Responsif konten CKEditor di dalam kartu (gambar & tabel) */
.box-section .ck-content{
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.box-section .ck-content{
    overflow: hidden;
    min-width: 0;
}
.box-section .ck-content *{
    max-width: 100% !important;
    box-sizing: border-box;
}
.box-section .ck-content img,
.box-section .ck-content video,
.box-section .ck-content iframe,
.box-section .ck-content embed,
.box-section .ck-content object{
    max-width: 100% !important;
    height: auto !important;
    display: block;
}
.box-section .ck-content p{
    margin: 0;
}
.box-section .ck-content table{
    display: block;
    width: max-content;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.box-section .ck-content table td,
.box-section .ck-content table th{
    word-break: break-word;
}

/* Responsif konten CKEditor di dalam kartu detail */
.card .ck-content img,
.card .ck-content video,
.card .ck-content iframe,
.card .ck-content embed,
.card .ck-content object{
    max-width: 100% !important;
    height: auto !important;
}
.card .ck-content table{
    display: block;
    width: max-content;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.card .ck-content table td,
.card .ck-content table th{
    word-break: break-word;
}


/* ================= TITLE RIBBON ================= */
/* ================= TITLE RIBBON ================= */
.section-title-wrap{
    position: relative;
    display: inline-flex;
    align-items: stretch;
    margin-bottom: 10px;

    --title-bg: linear-gradient(
        90deg,
        var(--dark-top-bar),
        var(--semi-top-bar),
        var(--top-bar)
    );
    --accent-color: var(--top-bar);

    --cut-width: 20px;      /* panjang sudut ujung title */
    --accent-big: 16px;     /* garis aksen besar */
    --accent-small: 8px;    /* garis aksen kecil */
    --accent-gap: 8px;      /* jarak antar aksen */
    --skew-angle: 30deg;    /* sudut seragam */
}

/* ================= BADAN JUDUL LANGSUNG BERSUDUT ================= */
.section-title{
    position: relative;
    margin: 0;
    padding: 8px 28px 8px 18px; /* kanan agak lebih besar */
    background: var(--title-bg);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    overflow: visible;

    /* badan judul langsung punya sudut */
    clip-path: polygon(
        0 0,
        calc(100% - var(--cut-width)) 0,
        100% 100%,
        0 100%
    );
}

/* matikan style lama */
.section-title::before,
.section-title::after{
    content: none !important;
}


/* ================= judul box ================= */
.album-title{
    height: 48px;              /* tinggi 2 baris */
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    text-align: center;
    font-weight: 600;
    margin-bottom: .5rem;
}

/* ================= AKSEN KANAN ================= */
.title-accent{
    position: relative;
    display: block;
    flex: 0 0 42px;
    min-height: 100%;
    margin-left: 1px; /* rapat dengan sudut title */
}

/* dua garis miring */
.title-accent::before,
.title-accent::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--accent-color);
    transform: skewX(var(--skew-angle));
    transform-origin: left;
}

/* garis besar */
.title-accent::before{
    left: 0;
    width: var(--accent-big);
}

/* garis kecil */
.title-accent::after{
    left: calc(var(--accent-big) + var(--accent-gap));
    width: var(--accent-small);
}


/* ================= SECTION HEAD (JALUR & GELOMBANG SPMB) ================= */
.spmb-section-head{
    margin-bottom: 24px;
    text-align: center;
}
.spmb-section-head-nav{
    text-align: left;
    margin-bottom: 0;
}
.spmb-section-head-nav .spmb-section-sub{
    margin-left: 0;
}

/* Judul rata tengah dengan tombol nav di kanan atas */
.section-nav-abs{
    position: relative;
    margin-bottom: 24px;
}
.section-nav-btns{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
@media (max-width: 767px){
    .section-nav-btns{
        position: static;
        transform: none;
        margin-top: 10px;
        text-align: center;
    }
}
.spmb-section-head .spmb-section-tag{
    display: inline-block;
    background: linear-gradient(135deg, var(--dark-top-bar), var(--semi-top-bar));
    color: #fff;
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 50rem;
    padding: 6px 18px;
    margin-bottom: 14px;
}
.spmb-section-head .spmb-section-title{
    margin: 0 0 10px;
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--dark-top-bar);
    letter-spacing: -.5px;
    line-height: 1.2;
}
.spmb-section-head .spmb-section-title span{
    color: var(--top-bar);
}
.spmb-section-head .spmb-section-sub{
    color: #5f7372;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}
@media (max-width: 767px){
    .spmb-section-head{
        margin-bottom: 18px;
    }
    .spmb-section-head .spmb-section-title{
        font-size: 1.35rem;
    }
    .spmb-section-head .spmb-section-sub{
        font-size: 1rem;
    }
}


/* ================= CTA BANNER (landing SPMB) ================= */
.cta-banner{
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-top-bar), var(--top-bar));
    border-radius: 18px;
    padding: 24px 30px;
    color: #fff;
    box-shadow: 0 18px 40px var(--tema-utama-30);
}
.cta-banner .cta-image-wrap{
    display: flex;
    align-self: stretch;
    overflow: hidden;
    margin: -24px 26px -24px -30px;
    border-radius: 18px 0 0 18px;
}
.cta-banner .cta-image{
    height: 100%;
    width: 260px;
    object-fit: contain;
    object-position: center;
    display: block;
}
@media (max-width: 767px){
    .cta-banner .cta-image-wrap{
        margin: 0 0 18px;
        border-radius: 14px;
        height: 300px;
        width: 100%;
    }
    .cta-banner .cta-image{
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 14px;
    }
}
.cta-banner-text{
    margin: 0;
    color: #fff;
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}
.cta-banner-text strong{
    color: #ffe29a;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
    font-weight: 800;
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    letter-spacing: -.3px;
    display: block;
    margin-bottom: 6px;
    line-height: 1.3;
}
.cta-banner-desc{
    display: block;
    font-size: clamp(.85rem, 1.3vw, .95rem);
    line-height: 1.6;
}
.cta-banner-btn{
    background: linear-gradient(135deg, #ffb84d, #f5a623);
    color: #1e4849;
    font-weight: 700;
    border: none;
    border-radius: 50rem;
    padding: 11px 30px;
    font-size: 1.02rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transition: transform .3s, box-shadow .3s;
}
.cta-banner-btn:hover,
.cta-banner-btn:focus{
    color: #1e4849;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .30);
}
@media (max-width: 767px){
    .cta-banner{
        padding: 16px;
        text-align: center;
        align-items: stretch;
    }
    .cta-banner:has(.cta-image-wrap){
        min-height: 120px;
    }
    .cta-banner .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .cta-banner .row:has(.cta-image-wrap){
        padding-left: 136px;
    }
    /* Foto CTA dibuat menempel pada tepi atas, bawah, dan kiri banner.
       Nilai negatif mengimbangi padding 16px milik .cta-banner. */
    .cta-banner .cta-image-wrap{
        position: absolute;
        top: -16px;
        bottom: -16px;
        left: -16px;
        width: 120px;
        height: auto;
        margin: 0;
        border-radius: 18px 0 0 18px;
    }
    .cta-banner .cta-image{
        width: 100%;
        height: 100%;
        border-radius: 18px 0 0 18px;
    }
    .cta-banner .row > .col,
    .cta-banner .row > .col-auto{
        flex: none;
        width: 100%;
    }
    .cta-banner .row > .col-auto{
        display: flex;
        justify-content: center;
        margin-top: 6px;
    }
    .cta-banner-text{
        text-align: center;
    }
    .cta-banner-text strong{
        font-size: 1.05rem;
        margin-bottom: 0;
        line-height: 1.25;
    }
    .cta-banner-desc{
        display: none;
    }
    .cta-banner-btn{
        display: inline-block;
        width: auto;
        margin-top: 0;
        padding: 5px 12px;
        font-size: .75rem;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
    }
    .cta-banner-btn i{
        font-size: .72rem;
    }
    .cta-banner-btn .mr-2{
        margin-right: .35rem !important;
    }
}


.cta-banner .cta-bubble{
    position: absolute;
    bottom: -90px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 32% 32%,
        rgba(255, 255, 255, .50),
        rgba(255, 255, 255, .12) 55%,
        transparent 72%);
    opacity: 0;
    animation: ctaBubbleUp 9s ease-in infinite;
}
.cta-banner .cta-bubble:nth-child(1){ left: 4%;  width: 34px; height: 34px; animation-duration: 8s;  animation-delay: 0s; }
.cta-banner .cta-bubble:nth-child(2){ left: 12%; width: 62px; height: 62px; animation-duration: 11s; animation-delay: 1.2s; }
.cta-banner .cta-bubble:nth-child(3){ left: 24%; width: 22px; height: 22px; animation-duration: 7s;  animation-delay: 2.4s; }
.cta-banner .cta-bubble:nth-child(4){ left: 40%; width: 76px; height: 76px; animation-duration: 12s; animation-delay: .6s; }
.cta-banner .cta-bubble:nth-child(5){ left: 56%; width: 26px; height: 26px; animation-duration: 7.5s; animation-delay: 3s; }
.cta-banner .cta-bubble:nth-child(6){ left: 68%; width: 56px; height: 56px; animation-duration: 10s; animation-delay: 1.8s; }
.cta-banner .cta-bubble:nth-child(7){ left: 82%; width: 38px; height: 38px; animation-duration: 9s;  animation-delay: .3s; }
.cta-banner .cta-bubble:nth-child(8){ left: 90%; width: 24px; height: 24px; animation-duration: 8.5s; animation-delay: 2s; }
@keyframes ctaBubbleUp{
    0%   { opacity: 0; transform: translate3d(0, 0, 0); }
    8%   { opacity: .85; }
    22%  { transform: translate3d(12px, -90px, 0); }
    45%  { transform: translate3d(-10px, -180px, 0); }
    70%  { transform: translate3d(8px, -260px, 0); }
    88%  { transform: translate3d(-14px, -340px, 0); opacity: .6; }
    100% { opacity: 0; transform: translate3d(6px, -420px, 0); }
}
.cta-banner .row{
    position: relative;
    z-index: 1;
}

/* ===== CTA CAROUSEL (multiple records) ===== */
.cta-carousel-section .carousel-indicators{
    bottom: 10px;
    margin-bottom: 0;
}
.cta-carousel-section .carousel-indicators li{
    width: 26px;
    height: 6px;
    border-radius: 6px;
    border: none;
    background-color: rgba(255,255,255,.45);
    opacity: 1;
    cursor: pointer;
}
.cta-carousel-section .carousel-indicators li.active{
    background-color: var(--warna-aksen);
}
.cta-carousel-section .cta-banner{
    box-shadow: 0 18px 40px var(--tema-utama-30);
}
@media (max-width: 767px){
    .cta-carousel-section .carousel-indicators{
        bottom: 6px;
    }
}


/* ================= ALUR PENDAFTARAN (landing SPMB) ================= */
.alur-section .alur-timeline{
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.alur-timeline::before{
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--top-bar), var(--dark-top-bar));
    border-radius: 3px;
}
.alur-item{
    position: relative;
    width: 50%;
    padding: 0 40px 18px;
}
.alur-item:nth-child(odd){
    left: 0;
    text-align: right;
}
.alur-item:nth-child(even){
    left: 50%;
    text-align: left;
}
.alur-item:last-child{
    padding-bottom: 0;
}
.alur-item .alur-dot{
    position: absolute;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--top-bar), var(--dark-top-bar));
    box-shadow: 0 6px 16px var(--tema-utama-35);
    z-index: 1;
}
.alur-item:nth-child(odd) .alur-dot{
    right: -23px;
}
.alur-item:nth-child(even) .alur-dot{
    left: -23px;
}
.alur-step{
    position: absolute;
    top: -10px;
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--tema-setengah-14);
    pointer-events: none;
}
.alur-item:nth-child(odd) .alur-step{
    left: 0;
}
.alur-item:nth-child(even) .alur-step{
    right: 0;
}
.alur-box{
    background: var(--warna-latar);
    border: 1px solid var(--tema-setengah-14);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px var(--tema-utama-08);
    transition: transform .3s, box-shadow .3s;
}
.alur-box:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 32px var(--tema-utama-16);
}
.alur-box h6{
    margin: 0 0 8px;
    font-family: 'Poppins', 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: var(--dark-top-bar);
    font-size: 1.02rem;
}
.alur-box p{
    margin-bottom: 0;
    color: #5f7372;
    font-size: .95rem;
    line-height: 1.7;
}
@media (max-width: 767px){
    .alur-timeline::before{
        left: 23px;
        transform: none;
    }
    .alur-item,
    .alur-item:nth-child(odd),
    .alur-item:nth-child(even){
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 16px 66px;
    }
    .alur-item .alur-dot,
    .alur-item:nth-child(odd) .alur-dot,
    .alur-item:nth-child(even) .alur-dot{
        left: 0;
        right: auto;
    }
    .alur-step,
    .alur-item:nth-child(odd) .alur-step,
    .alur-item:nth-child(even) .alur-step{
        left: 66px;
        right: auto;
        top: 4px;
        font-size: 1.7rem;
    }
}


/* ================= FEATURE ================= */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    background: #f9fafb;
    transition: 0.3s;
    display:flex;
}

/* Kartu vertikal ikon + ringkas (Program Unggulan) */
.feature-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.feature-icon{
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--top-bar), var(--dark-top-bar));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
    box-shadow: 0 6px 16px var(--tema-aksen-35);
}

.feature-box-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.feature-box p {
    margin: 0;
}

/* kartu program: h6 mengikuti ukuran normal body */
.feature-box h6 {
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--dark-top-bar);
    font-size: 1rem;
}

/* kartu jalur: ikon varian tes */
.feature-icon.feature-icon-tes {
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}

/* kartu jalur: varian sesuai jenis jalur */
.feature-icon.feature-icon-afirmasi {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 6px 16px rgba(239, 68, 68, .28);
}

.feature-icon.feature-icon-pondok {
    background: linear-gradient(135deg, #34d399, #047857);
    box-shadow: 0 6px 16px rgba(4, 120, 87, .28);
}

.feature-icon.feature-icon-tahfidz {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 6px 16px rgba(109, 40, 217, .28);
}

.feature-icon.feature-icon-beasiswa {
    background: linear-gradient(135deg, #22d3ee, #0369a1);
    box-shadow: 0 6px 16px rgba(3, 105, 161, .28);
}

.feature-image{
    height: 140px;
    width: auto;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-content{
    flex: 1;
}


/* hover */
.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.03);
}

/* ================= WHY LIST (home) ================= */
.why-list {
    list-style: none;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.why-list li .why-icon {
    flex-shrink: 0;
    color: var(--top-bar);
    line-height: 1.6;
}

.why-list li > span:last-child {
    flex: 1;
    min-width: 0;
}

/* ================= ABOUT / MENGAPA MEMILIH KAMI (gaya Tentang) ================= */
.about-section {
    background: #fff;
}
.about-section .container {
    max-width: 1140px;
}

/* ==================================================================
   FLAYER SPMB HERO (landing spmb, di bawah menu bar)
   desktop & mobile: gambar utuh (tanpa split 1/3)
   ================================================================== */
.flayer-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #fff;
    margin-top: 1rem;
}
.flayer-mobile {
    display: none;
}
.flayer-hero .carousel,
.flayer-hero .carousel-inner,
.flayer-hero .carousel-item {
    height: 100%;
}
.flayer-hero .carousel-item {
    background: #fff;
}
.flayer-hero .carousel-item img {
    width: auto;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.flayer-hero .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity .7s ease;
}
.flayer-hero .carousel-fade .carousel-item.active {
    opacity: 1;
}
.flayer-hero:hover .about-slide-arrow {
    opacity: 1;
}
@media (max-width: 767px) {
    .flayer-desktop {
        display: none;
    }
    .flayer-mobile {
        display: block;
    }
    .flayer-hero {
        height: auto;
        margin-top: 1rem;
    }
    .flayer-hero .carousel-item,
    .flayer-hero .carousel-inner {
        height: auto;
    }
    .flayer-hero .carousel-item img {
        width: 100%;
        height: auto;
    }
}

/* ===== Gambar + slider A5 ===== */
.about-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}
.about-img-wrap::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -22px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--dark-top-bar);
    border-radius: 18px;
    opacity: .25;
    z-index: 0;
}
.about-img-wrap .about-slider {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 148 / 210; /* rasio A5 potret */
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
    z-index: 1;
}

/* Carousel mengisi kotak slider */
.about-slider .carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.about-slider .carousel-inner {
    height: 100%;
}
.about-slider .carousel-item {
    height: 100%;
    background: #fff;
}
.about-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.about-slider.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity .7s ease;
}
.about-slider.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Arrows bulat, muncul saat hover */
.about-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: var(--dark-top-bar);
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    opacity: 0;
    transition: opacity .3s ease, background .3s ease;
}
.about-slider:hover .about-slide-arrow {
    opacity: 1;
}
.about-slide-arrow:hover {
    background: var(--dark-top-bar);
    color: #fff;
}
.about-slide-arrow.about-prev { left: 14px; }
.about-slide-arrow.about-next { right: 14px; }

/* Dots (pil) */
.about-slide-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
    margin: 0;
    list-style: none;
}
.about-slide-dots li {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, .65);
    cursor: pointer;
    transition: all .3s ease;
    text-indent: -9999px;
}
.about-slide-dots li.active {
    background: #e9b44c;
    width: 26px;
    border-radius: 50rem;
}

/* Badge pojok (tanpa tahun) */
.about-badge-img {
    position: absolute;
    right: -18px;
    bottom: -20px;
    z-index: 2;
    background: #e9b44c;
    color: #2a2413;
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.about-badge-img .num {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .04em;
}
.about-badge-img .txt {
    font-size: .78rem;
    font-weight: 600;
}

/* ===== Konten kanan ===== */
.about-content .about-head {
    margin-bottom: 18px;
}
.about-content .about-desc {
    color: #5c6f6e;
    line-height: 1.75;
    margin-bottom: 6px;
}
.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 18px;
}
.about-feature .afi {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--dark-top-bar), var(--semi-top-bar));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}
.about-feature h6 {
    font-weight: 700;
    color: var(--dark-top-bar);
    margin: 13px 0 0;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .about-img-wrap::before {
        top: -12px;
        left: -12px;
    }
    .about-slider {
        width: min(100%, 280px);
    }
    .about-badge-img {
        right: -8px;
        bottom: -10px;
        padding: 10px 14px;
    }
    .about-badge-img .num {
        font-size: 1.1rem;
    }
}

/* ================= SAMBUTAN KEPALA SEKOLAH (gaya CTA) ================= */
.sambutan-link {
    cursor: pointer;
    transition: box-shadow .2s ease;
}

.sambutan-link:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.sambutan-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sambutan-cta .sambutan-image-wrap {
    align-self: center;
    width: 180px;
    height: 200px;
    margin: 0 24px 0 0;
    border-radius: 12px;
}

.sambutan-cta .sambutan-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sambutan-cta .sambutan-isi {
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    line-height: 1.7;
}

.sambutan-cta .sambutan-isi p {
    margin: 0;
}

.sambutan-cta .sambutan-isi strong,
.sambutan-cta .sambutan-isi b {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    letter-spacing: normal;
    text-shadow: none;
}

.sambutan-cta .sambutan-sign {
    margin-top: 12px;
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    line-height: 1.4;
}

.sambutan-cta .sambutan-sign strong {
    color: #fff;
}

@media (max-width: 767px) {
    .sambutan-cta {
        padding: 0;
        min-height: 160px;
        align-items: stretch;
    }

    .sambutan-cta .row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        min-height: 160px;
        text-align: left;
    }

    .sambutan-cta .sambutan-isi {
        display: none;
    }

    .sambutan-cta .row:has(.cta-image-wrap) {
        padding: 16px 16px 16px 136px;
    }

    .sambutan-cta .row > .col,
    .sambutan-cta .row > .col-auto {
        flex: none;
        width: 100%;
        text-align: left;
    }

    .sambutan-cta .row > .col-auto {
        display: flex;
        justify-content: flex-start;
        margin-top: 10px;
    }

    .sambutan-cta .sambutan-image-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 120px;
        height: auto;
        margin: 0;
        align-self: stretch;
        border-radius: 18px 0 0 18px;
        overflow: hidden;
    }

    .sambutan-cta .sambutan-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 18px 0 0 18px;
    }

    .sambutan-cta .cta-banner-text {
        text-align: left;
    }

    .sambutan-cta .sambutan-isi {
        font-size: .85rem;
        line-height: 1.6;
    }

    .sambutan-cta .sambutan-sign {
        margin-top: 10px;
    }
}

/* ================= KARTU KONSENTRASI KEAHLIAN ================= */
.komli-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 124px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.komli-card:hover,
.komli-card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.komli-media {
    position: relative;
    flex: 0 0 36%;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tema-gelap-1), var(--tema-gelap-2));
}

.komli-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.komli-card:hover .komli-media img {
    transform: scale(1.05);
}

.komli-media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    font-size: 2.2rem;
    opacity: .85;
}

.komli-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
}

.komli-body h6 {
    margin-bottom: 6px;
    color: var(--dark-top-bar);
    font-size: 1rem;
    font-weight: 700;
}

.komli-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: #6c757d;
    font-size: .875rem;
    line-height: 1.55;
}

@media (max-width: 575.98px) {
    .komli-card {
        flex-direction: column;
        min-height: 0;
        border-radius: 10px;
    }

    .komli-media {
        flex: 0 0 auto;
        align-self: auto;
        width: 100%;
        height: 110px;
    }

    .komli-media-fallback {
        font-size: 1.8rem;
    }

    .komli-body {
        flex: 1;
        justify-content: center;
        padding: 8px 10px 10px;
        text-align: center;
    }

    .komli-body h6 {
        margin: 0;
        font-size: .8rem;
        line-height: 1.3;
    }

    .komli-body p {
        display: none;
    }
}

.komli-sidebar .news-item {
    padding-top: 8px;
    padding-bottom: 8px;
}

.komli-sidebar .news-item:first-child {
    padding-top: 0;
}

.komli-sidebar .news-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.komli-sidebar .news-item p a {
    text-transform: uppercase;
}

.komli-side-icon {
    display: flex;
    flex: 0 0 95px;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 70px;
    border-radius: 5px;
    background: linear-gradient(135deg,
        var(--komli-item-accent, var(--tema-gelap-1)),
        color-mix(in srgb, var(--komli-item-accent, var(--tema-gelap-2)) 60%, #0b1220));
    color: #fff;
    font-size: 1.3rem;
}

.komli-sidebar .badge-side {
    background: var(--komli-item-accent, var(--semi-top-bar));
}

.komli-foto-slider {
    overflow: hidden;
    border-radius: 10px;
}

.komli-foto-track {
    display: flex;
    transition: transform .6s ease;
}

.komli-foto-slide {
    flex: 0 0 100%;
    min-width: 0;
}

.komli-foto-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.komli-foto-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--tema-utama-30, #d1d5db);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.komli-foto-dot.active {
    width: 20px;
    background: var(--top-bar, #4b5563);
}

/* ================= PREVIEW FOTO (LIGHTBOX) ================= */
.komli-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .88);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.komli-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.komli-lightbox-figure {
    margin: 0;
    max-width: 100%;
    text-align: center;
}

.komli-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 900px);
    height: min(72vh, 640px);
}

.komli-lightbox-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.komli-lightbox-figure figcaption {
    min-height: 1.4em;
    margin-top: 12px;
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
}

.komli-lightbox-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 8px;
}

.komli-lightbox-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .7);
    font-size: 1.35rem;
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.komli-lightbox-nav button:hover {
    color: #fff;
    transform: scale(1.12);
}

.komli-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.komli-lightbox-close:hover {
    background: rgba(255, 255, 255, .28);
    transform: rotate(90deg);
}

body.komli-lightbox-open {
    overflow: hidden;
}

.komli-foto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.komli-foto-item {
    position: relative;
    display: block;
    overflow: hidden;
    padding-top: 100%;
    border-radius: 10px;
    background: var(--tema-lembut-2, #f1f5f9);
}

.komli-foto-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.komli-foto-item:hover img {
    transform: scale(1.06);
}

/* ================= DETAIL KONSENTRASI KEAHLIAN ================= */
.komli-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 0 26px;
    background: linear-gradient(135deg,
        var(--komli-accent, var(--top-bar)) 0%,
        color-mix(in srgb, var(--komli-accent, var(--top-bar)) 62%, #0b1220) 100%);
    color: #fff;
}

.komli-hero::before,
.komli-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

.komli-hero::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -90px;
}

.komli-hero::after {
    width: 220px;
    height: 220px;
    bottom: -120px;
    left: -70px;
}

.komli-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.komli-hero-label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.komli-hero-title {
    margin: 0;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.komli-about {
    margin-bottom: 24px;
    padding: 20px 24px;
    border: 1px solid color-mix(in srgb, var(--komli-accent, var(--top-bar)) 25%, #fff);
    border-radius: 24px;
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--komli-accent, var(--top-bar)) 10%, #fff) 0%,
        #fff 100%);
    text-align: center;
}

.komli-about h2 {
    margin-bottom: 16px;
    color: var(--dark-top-bar);
    font-size: 1.5rem;
    font-weight: 700;
}

.komli-about-text {
    max-width: 48rem;
    margin: 0 auto;
    color: var(--warna-teks, #4b5563);
    line-height: 1.5;
}

.komli-about-profil {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.komli-about-body {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
}

.komli-about-profil .komli-about-text {
    max-width: none;
    margin: 0;
}

.komli-about-profil .komli-about-body h2 {
    text-align: center;
}

.komli-kaprodi {
    position: relative;
    flex: 0 0 170px;
    min-height: 200px;
    background: linear-gradient(135deg, var(--top-bar), var(--dark-top-bar));
}

.komli-kaprodi-foto {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.komli-kaprodi-foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.komli-kaprodi-inisial {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}

.komli-kaprodi-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 12px 12px;
    background: linear-gradient(to top, rgba(15, 23, 42, .78), rgba(15, 23, 42, 0));
    text-align: center;
}

.komli-kaprodi-nama {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.komli-kaprodi-jabatan {
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.komli-section {
    margin-bottom: 18px;
}

.komli-section:last-child {
    margin-bottom: 0;
}

.komli-section-title {
    margin-bottom: 24px;
    color: var(--dark-top-bar);
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.komli-kurikulum {
    height: 100%;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--komli-accent, var(--top-bar)) 25%, #fff);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.komli-kurikulum h4 {
    margin: 0 0 12px;
    color: var(--dark-top-bar);
    font-size: 1.05rem;
    font-weight: 700;
}

.komli-kurikulum ul {
    margin: 0;
    padding-left: 18px;
}

.komli-kurikulum li {
    margin-bottom: 4px;
    color: #5b6572;
    font-size: .925rem;
    line-height: 1.6;
}

.komli-kurikulum li::marker {
    color: var(--komli-accent, var(--dark-top-bar));
}

.komli-kurikulum h4 i {
    color: var(--komli-accent, var(--dark-top-bar));
}

.komli-info-item {
    display: flex;
    align-items: flex-start;
    height: 100%;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--komli-accent, var(--top-bar)) 25%, #fff);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.komli-info-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-right: 20px;
    border-radius: 16px;
    background: var(--komli-accent, var(--top-bar));
    color: #fff;
    font-size: 1.15rem;
}

.komli-info-item h4 {
    margin: 0 0 4px;
    color: var(--dark-top-bar);
    font-size: 1.05rem;
    font-weight: 700;
}

.komli-info-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.komli-section-prospek .komli-info-item,
.komli-section-fasilitas .komli-info-item {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--komli-accent, var(--top-bar)) 10%, #fff) 0%,
        #fff 100%);
}

.komli-section-prospek .komli-info-item h4,
.komli-section-fasilitas .komli-info-item h4 {
    text-align: center;
}

.komli-section-prospek .komli-info-item p,
.komli-section-fasilitas .komli-info-item p {
    text-align: center;
}

.komli-section-prospek .komli-info-icon,
.komli-section-fasilitas .komli-info-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    border-radius: 12px;
    font-size: 1.05rem;
}

.komli-section-prospek .komli-info-item p,
.komli-section-fasilitas .komli-info-item p,
.komli-section-mitra .komli-info-item p {
    font-size: .85rem;
    line-height: 1.55;
}

.komli-section-mitra .komli-info-icon {
    background: color-mix(in srgb, var(--komli-accent, var(--top-bar)) 16%, #fff);
    color: var(--komli-accent, var(--dark-top-bar));
    font-size: 1.6rem;
}

@media (max-width: 575.98px) {
    .komli-hero {
        padding: 22px 0 20px;
    }

    .komli-hero-title {
        font-size: 1.75rem;
    }

    .komli-about {
        padding: 14px 16px;
    }

    .komli-about-profil {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        text-align: center;
    }

    .komli-kaprodi {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
        min-height: 0;
    }

    .komli-kaprodi-foto img {
        object-position: center 25%;
    }

    .komli-about-body {
        padding: 14px 16px;
    }
}

.detail-judul{
    color: var(--dark-top-bar);
    font-weight: 700;
    text-align: center;
}

/* Kartu halaman statis: judul di header bergradasi */
.page-card.box-section{
    padding: 0;
    overflow: hidden;
}
.page-card-header{
    padding: 14px 20px;
}
.page-card-header .detail-judul{
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.page-card-header .detail-judul i{
    color: rgba(255,255,255,.85);
}
.page-card-header.has-badge{
    position: relative;
}
.page-card-header.has-badge .detail-judul{
    padding: 0 80px;
}
.page-card-header.has-badge .page-card-badge{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.page-card .content-page{
    padding: 18px 20px 20px;
}
.page-card .berita-cover-img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}
.page-card .berita-isi{
    font-size: 14px;
    line-height: 1.7;
}
@media (max-width: 575.98px){
    .page-card-header{ padding: 12px 15px; }
    .page-card-header .detail-judul{ font-size: 1.1rem; }
    .page-card-header.has-badge .detail-judul{ padding: 0 60px; }
    .page-card-header.has-badge .page-card-badge{ right: 15px; padding: .25rem .5rem !important; font-size: .7rem; }
    .page-card .content-page{ padding: 15px; }
}

.kepsek-detail-img {
    width: auto;
    max-width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.kepsek-photo {
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f5;
    padding: 8px;
}

.kepsek-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.kepsek-name {
    font-weight: 700;
    color: var(--dark-top-bar);
    line-height: 1.3;
}


/* ================= BANNER ================= */
.banner-img {
    border-radius: 8px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .feature-box {
        flex-direction: row;
    }

    .feature-box-head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .feature-box-head .feature-icon {
        margin-bottom: 0;
    }

    .feature-box-head h6 {
        font-size: 1.15rem;
        margin-bottom: 0;
    }

}


/* WRAPPER */
.scroll-wrapper {
    position: relative;
    width: 100%;
}

/* CONTAINER */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
}

/* hide scrollbar */
.scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ================= GALERI ================= */
.card-item {
    min-width: 250px;
    flex: 0 0 auto;
    background: var(--warna-latar);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    cursor: pointer;
}

.card-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-item .caption {
    padding: 12px;
    font-size: 14px;
    text-align: justify;    
    color: var(--warna-teks);
}

/* hover effect */
.card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-item:hover img {
    transform: scale(1.05);
}

/* ================= LINK ================= */
.link-item {
    min-width: 180px;
    flex: 0 0 auto;
    text-align: center;
    padding: 15px 10px;
    border-radius: 10px;
    background: var(--warna-latar);
    transition: all 0.3s ease;
    scroll-snap-align: center;
}

.link-item img {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.link-item p {
    font-size: 14px;
    color: var(--warna-teks);
    margin: 0;
}

/* hover link */
.link-item:hover {
    background: var(--tema-lembut-3);
    transform: translateY(-4px);
}

.link-item:hover img {
    transform: scale(1.1);
}

/* ================= BUTTON ================= */
.scroll-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: var(--top-bar);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.scroll-btn:hover {
    background: var(--dark-top-bar);
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
    left: -10px;
}

.scroll-btn.right {
    right: -10px;
}




/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .hero-overlay h1 {
        font-size: 22px;
    }

    .hero-overlay h2 {
        font-size: 14px;
    }

    .news-main img {
        height: 300px;
    }

    .news-overlay h3 {
        font-size: 18px;
    }

    .news-item {
        flex-direction: row;
    }

    .card-item {
        min-width: 200px;
    }

    .link-item {
        min-width: 140px;
    }

    .scroll-btn {
        display: none; /* sembunyikan tombol di HP */
    }




}


/* ================= TABEL DOWNLOAD ================= */
.table-download thead th {
    background: var(--dark-top-bar);
    color: #fff;
    border-color: var(--semi-top-bar);
}

.table-download thead th.text-center {
    text-align: center;
}

.table-download tbody td {
    vertical-align: middle;
}

.table-download .badge-secondary {
    background: var(--tema-setengah-14);
    color: var(--dark-top-bar);
}

.table-download tbody a {
    color: var(--dark-top-bar);
}

.table-download tbody a:hover {
    color: var(--semi-top-bar);
}
