.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.sticky+.content {
    padding-top: 102px;
}

#myHeader {
    position: sticky;
    top: 0;
    background: #333;
    color: #fff;
    padding: 30px;
    z-index: 10000;
    transition: box-shadow 0.3s ease;
}

@media (max-width: 1024px) {

    .container-text-slider {
        padding: 50px;
    }
}

.dropdown-menu {
    background-color: rgba(var(--landing-dark));
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: black !important;
}

/* Desktop only */
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        min-width: 260px;
    }
}

.dropdown-menu li a {
    font-size: 14px !important;
}

/* Posisi submenu */
.dropdown-submenu {
    position: relative;
}

/* Submenu level 2+ ke kanan */
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Hover desktop */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Arrow kanan */
.dropend > .dropdown-toggle::after {
    margin-left: auto;
}

/* NAVBAR END */

/* GLOBAL */
.news-card {
    border-radius: 12px;
    overflow: hidden;
}

.news-desc,
.news-title {
    padding-right: 10px;
    padding-left: 10px;

}

/* ================= LEFT CARD ================= */

/* FIX HEIGHT 600px */
.left-card.news-card {
    height: 600px;
}

/* FLEX BODY */
.left-card .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* IMAGE 60% (360px dari 600px) */
.left-card .news-img-lg {
    width: 100%;
    height: 360px;
    object-fit: cover;
    flex-shrink: 0;
}

/* TITLE FULL */
.left-card .news-title {
    flex-shrink: 0;
}

/* DESC FLEX */
.left-card .news-desc {
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
}

.left-card .news-desc-inner {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* ================= RIGHT SIDE ================= */

/* GRID WRAPPER */
.right-news-grid {
    height: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
}

/* CARD */
.right-card {
    height: 100%;
}

/* CARD BODY FLEX */
.right-card .card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* IMAGE (CONSISTENT HEIGHT) */
.right-card .news-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex-shrink: 0;
}

/* TITLE (AUTO SHRINK FONT) */
.right-card .news-title {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    line-height: 1.25;
    margin-top: 6px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* DESC (ALWAYS VISIBLE) */
.right-card .news-desc {
    flex-grow: 1;
    min-height: 0;
    font-size: clamp(0.7rem, 1.6vw, 0.8rem);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 576px) {

    /* RIGHT GRID AUTO HEIGHT */
    .right-news-grid {
        height: auto;
        /* jangan dipaksa 600px */
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        align-items: stretch;
    }

    /* CARD AUTO */
    .right-card {
        height: auto;
    }

    /* CARD BODY */
    .right-card .card-body {
        height: 100%;
    }
}

/* box wrapper banks */
.box-wrapper {
    overflow: hidden;
    width: 100%;
}

.box-wrapper-list {
    display: flex;
    white-space: nowrap;
}

.box-wrapper-list li {
    flex-shrink: 0;
    padding: 0 40px;
}

/* ================================
NEWS CARD SLIDER ONLY
================================ */

#newsCardSlider .carousel-control-prev-icon,
#newsCardSlider .carousel-control-next-icon {
    filter: brightness(0.4);
}

/* Indicator bullets */
#newsCardSlider .carousel-indicators [data-bs-target] {
    background-color: #999;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Active bullet */
#newsCardSlider .carousel-indicators .active {
    background-color: #ffc107;
    /* primary */
}

/* CSS UNTUK VIDEO CAROUSEL START */
.video-wrapper {
    position: relative;
}

.video-scroll {
    display: flex;
    overflow-x: hidden;
}

.video-item {
    flex: 0 0 17%;
    padding: 0 10px;
}

.video-youtube .container-fluid, .pages-section, .berita-section{
    padding-left: 100px;
    padding-right: 100px;
}

@media screen and (max-width: 960px) {
    .video-youtube .container-fluid{
        padding: 0px;
    }

    .pages-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .berita-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.nav-btn {
    position: absolute;
    top: 40%;
    background: #fff;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 5;
}

.nav-btn.left {
    left: -15px;
}

.nav-btn.right {
    right: -15px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.section-subtitle {
    color: #777;
    margin-bottom: 30px;
}

.video-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
}

.play-btn {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #e53935;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 18px;
}

.video-body {
    padding: 15px;
}

.video-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 40px;
}

.video-date {
    color: #999;
    font-size: 12px;
}

.btn-lihat {
    float: right;
    margin-top: -45px;
}

/* Samakan tinggi semua card */
.video-scroll {
    display: flex;
    align-items: stretch;
    /* KUNCI UTAMA */
}

.video-item {
    display: flex;
}

.video-card {
    display: flex;
    flex-direction: column;
}

/* dorong konten ke bawah kalau judul pendek */
.video-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-date {
    margin-top: auto;
}

@media (max-width: 767px) {
    .video-item {
        flex: 0 0 50%;
        /* 2 video */
    }

    .nav-btn.left {
        left: 0;
    }

    .nav-btn.right {
        right: 0;
    }
}

/* CSS UNTUK VIDEO CAROUSEL END */


/* FOOTER */

.landing-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 30px;
}

.footer-logo {
    max-width: 90px;
}

.footer-title {
    color: #38bdf8;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.footer-text a {
    color: #7dd3fc;
    text-decoration: none;
}

.footer-list {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-list li {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #1e293b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #38bdf8;
    transform: translateY(-4px);
}

.footer-divider {
    border-color: #1e293b;
    margin: 40px 0 20px;
}

.footer-bottom {
    font-size: 13px;
    color: #94a3b8;
}

@media screen and (max-width: 576px) {
    .footer-text {
        text-align: left !important;
    }
}

.faq-section .card-body h4 {
    color: #ddd;
}


table,
tr,
th,
td {
    border: 1px solid #ddd;
}

tr,
th,
td {
    padding: 8px;
}