:root {
    --primary-org: #43584B;
    --dark-nav: #333333;
    --text-main: #1a1a1a;
    --text-muted: #666;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* --- TOP HEADER DESKTOP (Default) --- */

.top-header {
    padding: 15px 0;
    background-color: #fff;
}

.header-logo {
    width: 80px;
    /* Ukuran desktop sedikit diperkecil dari 100 agar lebih elegan */
    height: auto;
    transition: all 0.3s ease;
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
}


/* --- RESPONSIVE ADJUSTMENTS (Mobile & Tablet) --- */

@media (max-width: 767.98px) {
    .top-header {
        padding: 10px 0;
        /* Padding lebih tipis di mobile */
    }
    .header-logo {
        width: 45px;
        /* Logo jauh lebih kecil di HP */
    }
    /* Ukuran Judul di HP */
    .logo-text h1.title-mobile {
        font-size: 0.75rem;
        /* Font diperkecil agar tidak memenuhi layar */
        letter-spacing: 0;
        line-height: 1.1;
    }
    /* Ukuran Teks Pendukung di HP */
    .logo-text p.text-muted-mobile {
        font-size: 0.6rem;
        letter-spacing: 0;
    }
    /* Mengurangi jarak antara logo dan teks di HP */
    .me-2 {
        margin-right: 0.5rem !important;
    }
}


/* Penyesuaian untuk layar sangat kecil (seperti iPhone SE) */

@media (max-width: 350px) {
    .logo-text h1.title-mobile {
        font-size: 0.65rem;
    }
    .header-logo {
        width: 35px;
    }
}

.search-box {
    position: relative;
    max-width: 300px;
    transition: all 0.3s ease;
}

.search-box input {
    border-radius: 50px;
    padding-left: 40px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    height: 40px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    background-color: #fff;
    border-color: var(--primary-org);
    box-shadow: 0 0 0 0.25rem rgba(67, 88, 75, 0.1);
    outline: none;
    width: 350px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.search-box input:focus+i {
    color: var(--primary-org);
}


/* Styling Search Mobile yang Ringkas */

.search-mobile-compact {
    max-width: 160px;
    /* Batasi lebar agar tetap kecil */
}

.search-mobile-compact .form-control {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 20px 0 0 20px !important;
    font-size: 0.8rem !important;
    padding: 5px 12px;
    height: 34px;
}

.search-mobile-compact .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-mobile-compact .btn-search-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    color: white;
    border-radius: 0 20px 20px 0;
    padding: 0 12px;
    height: 34px;
    font-size: 0.8rem;
}

.search-mobile-compact .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none;
}


/* Penyesuaian Header Mobile */

@media (max-width: 991.98px) {
    .navbar-toggler {
        font-size: 1.1rem;
    }
    /* Menghilangkan padding container agar lebih luas di HP */
    .navbar-main .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.main-title-news {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--text-main);
    letter-spacing: -1px;
    border-left: 6px solid var(--primary-org);
    padding-left: 20px;
    text-transform: uppercase;
}

.news-horizontal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-horizontal-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    text-decoration: none !important;
    display: block;
    margin-bottom: 25px;
}

.news-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.news-horizontal-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background-color: #f8f9fa;
}

.news-horizontal-body {
    padding: 30px;
}

.news-horizontal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Batasi judul 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-horizontal-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Batasi teks 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-horizontal-meta {
    font-size: 0.8rem;
    color: #999;
    font-weight: 600;
}

.badge-result-type {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: inline-block;
}

.type-berita {
    background-color: rgba(67, 88, 75, 0.1);
    color: var(--primary-org);
}

.type-karya {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.search-empty-icon {
    color: #e9ece9;
    font-size: 6rem;
    margin-bottom: 20px;
}

.navbar-main {
    background-color: var(--primary-org);
    padding: 5px 0;
}

.navbar-main .nav-link {
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px !important;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid #fff;
}

.hero-section {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    height: 450px;
    transition: transform 0.8s ease-in-out;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-item.active img {
    animation: zoomEffect 5s linear infinite;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 40px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    z-index: 10;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 12px;
    max-width: 85%;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.badge-category {
    background-color: #E6C200;
    color: #000;
    padding: 5px 12px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    display: inline-block;
}

.hero-link {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-link:hover {
    color: #E6C200 !important;
    transform: translateX(5px);
}

.carousel-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay {
    z-index: 3;
    pointer-events: none;
}

.hero-link,
.badge-category {
    pointer-events: auto;
}

.thumb-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.thumb-container::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex: 0 0 calc(12.5% - 10px);
    min-width: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    opacity: 0.6;
}

.thumb-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.thumb-item.active {
    border-color: var(--primary-org);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(67, 88, 75, 0.3);
}

.card-youtube {
    background: linear-gradient(135deg, #e62117 0%, #ff5c00 100%);
    border-radius: 20px;
    border: none;
    overflow: hidden;
    position: relative;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-youtube:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(230, 33, 23, 0.3) !important;
}

.phone-container {
    height: 100%;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.phone-blend-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(230, 33, 23, 0) 50%, #e62117 100%), linear-gradient(to top, rgba(230, 33, 23, 0.2), transparent 20%), linear-gradient(to bottom, rgba(230, 33, 23, 0.2), transparent 20%);
    pointer-events: none;
}

.phone-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
}

.pill-subscribe {
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    animation: pulseCustom 2s infinite;
}

.bg-dots-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 15px 15px;
    animation: floating 4s ease-in-out infinite;
}

.btn-klik-disini {
    background: white;
    color: #e62117 !important;
    padding: 10px 45px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-klik-disini:hover {
    background: #fdfdfd;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.card-googleplay {
    background-color: #006633;
    border-radius: 12px;
    padding: 35px 60px;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    color: white;
    text-decoration: none;
}

.card-googleplay:hover {
    background-color: #00552b;
    transform: translateY(-3px);
}

.play-text {
    font-size: 1.8rem;
    line-height: 1.2;
}

.play-badge img {
    height: 65px;
    width: auto;
}

.history-section {
    background-color: #fff;
    padding: 60px 0;
}

.top-line {
    border-top: 4px solid var(--primary-org);
    width: 100%;
    margin-bottom: 20px;
}

.title-header {
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.history-img-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-img-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.motto-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid #f0f0f0;
}

.org-node {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.org-node:hover {
    transform: translateY(-5px);
    border-color: var(--primary-org);
}

.org-node img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f2f0;
    margin-bottom: 15px;
}


/* --- MODERN ORG STRUCTURE STYLES --- */

.org-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}


/* Card Pimpinan Harian */

.pimpinan-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pimpinan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67, 88, 75, 0.1) !important;
    border-color: var(--primary-org);
}

.pimpinan-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f8f9f8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pimpinan-role {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-org);
    background: rgba(67, 88, 75, 0.08);
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.pimpinan-name {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0;
}


/* Kotak Biro / Bidang (Lebih Ringkas) */

.biro-card {
    background: #fcfdfc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
    height: 100%;
}

.biro-card:hover {
    background: #ffffff;
    border-color: var(--primary-org);
}

.biro-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    border: 2px solid #eee;
}

.biro-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-org);
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}


/* Dekorasi Garis Alur (Opsional) */

.org-connector {
    width: 2px;
    height: 40px;
    background: #e0e0e0;
    margin: 0 auto;
}


/* --- RESPONSIVE ORG CHART ADJUSTMENTS --- */

@media (max-width: 767.98px) {
    /* Perkecil jarak antar level */
    .org-section {
        padding-top: 30px;
    }
    .org-connector {
        height: 20px;
        /* Garis penghubung lebih pendek */
    }
    /* Scaling Kartu Pimpinan */
    .pimpinan-card {
        padding: 15px 10px;
        border-radius: 15px;
    }
    .pimpinan-img {
        width: 60px !important;
        /* Foto jauh lebih kecil */
        height: 60px !important;
        border-width: 2px;
        margin-bottom: 10px;
    }
    .pimpinan-role {
        font-size: 0.5rem;
        /* Font badge sangat kecil */
        padding: 3px 10px;
        letter-spacing: 1px;
    }
    .pimpinan-name {
        font-size: 0.8rem !important;
        /* Nama lebih kecil */
    }
    /* Penyesuaian Kolom agar tetap sejajar (Bagan style) */
    .row.g-4.justify-content-center>div {
        width: 50%;
        /* Memaksa 2 kartu per baris di HP agar tetap terlihat seperti bagan */
        padding: 5px;
    }
    /* Khusus untuk Biro/Kabid */
    .biro-card {
        padding: 12px;
    }
    .biro-img {
        width: 40px;
        height: 40px;
        margin-right: 8px !important;
    }
    .biro-title {
        font-size: 0.6rem;
    }
    .biro-card .small.fw-bold {
        font-size: 0.7rem !important;
    }
    /* Judul Pemisah */
    .px-4.text-nowrap {
        font-size: 0.8rem !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.page-header {
    background-color: #f8f9f8;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.news-card-long {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: 0.3s;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-card-long:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-card-long img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
}

.news-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin-bottom: 15px;
    text-decoration: none;
    display: block;
}

.news-card-title:hover {
    color: #43584B;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.widget-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #43584B;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f0;
}

.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.recent-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
}

.pagination .page-link {
    color: #43584B;
    border: none;
    margin: 0 5px;
    border-radius: 8px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: #43584B;
    color: #fff;
}

.trending-section-title {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.trending-section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-org);
    border-radius: 2px;
}

.trending-card {
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: block;
}

.trending-card:hover {
    transform: translateY(-8px);
}

.trending-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
}

.trending-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trending-card:hover .trending-img-container img {
    transform: scale(1.1);
}

.trending-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.trending-card:hover .trending-title {
    color: var(--primary-org);
}

.trending-meta {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editorial-wrapper {
    padding: 60px 0;
}

.karya-item-row {
    margin-bottom: 100px;
    align-items: center;
}

.karya-item-row:nth-child(even) {
    flex-direction: row-reverse;
}

.karya-editorial-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.karya-item-row:hover .karya-editorial-img {
    transform: scale(1.02);
}

.karya-editorial-content {
    padding: 40px;
}

.karya-editorial-label {
    color: #43584B;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.karya-editorial-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.karya-editorial-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-editorial {
    background-color: #43584B;
    color: white !important;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-editorial:hover {
    background-color: #35463b;
    box-shadow: 0 10px 20px rgba(67, 88, 75, 0.2);
    transform: translateX(5px);
}

.article-header {
    padding: 60px 0 40px;
    background-color: #ffffff;
}

.article-category {
    color: var(--primary-org);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.meta-item {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-org);
}

.featured-image-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.featured-image-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.article-body-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.article-body-content p {
    margin-bottom: 25px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #f8f9f8;
    border-radius: 16px;
    padding: 25px;
    border: none;
}

.sidebar-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
    text-transform: uppercase;
}

.karya-detail-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}

.karya-header-bg {
    background-color: #f8f9f8;
    padding: 60px 0;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.karya-label-detail {
    color: var(--primary-org);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.karya-title-detail {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -2px;
}

.karya-main-frame {
    background: #fff;
    padding: 15px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    position: relative;
    z-index: 5;
}

.karya-main-frame img {
    width: 100%;
    border-radius: 15px;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    background: #fdfdfd;
}

.karya-author-card {
    background: #f8f9f8;
    border-radius: 16px;
    padding: 25px;
    border-left: 5px solid var(--primary-org);
}

.karya-content-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
}

.karya-content-text p {
    margin-bottom: 25px;
}

.other-karya-card {
    text-decoration: none !important;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.other-karya-card:hover {
    transform: translateX(5px);
}

.other-karya-card img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(67, 88, 75, 0.1) !important;
    border-color: var(--primary-org);
}

.contact-icon-box {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background-color: var(--primary-org);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-label {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary-org);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-text {
    color: #333;
    line-height: 1.5;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    border: 8px solid white;
}

.custom-pagination .page-link {
    color: #43584B;
    border: 1px solid #eee;
    margin: 0 3px;
    border-radius: 8px !important;
    font-weight: 600;
    transition: 0.3s;
}

.custom-pagination .page-item.active .page-link {
    background-color: #43584B !important;
    border-color: #43584B !important;
    color: white !important;
}

.custom-pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: #f8f9fa;
}


/* --- FOOTER IMPROVEMENT --- */

footer {
    background-color: var(--primary-org);
    color: rgba(255, 255, 255, 0.8);
    /* Warna teks agak soft agar premium */
    padding: 50px 0 25px;
    font-size: 0.85rem;
    border-top: 6px solid rgba(0, 0, 0, 0.1);
    /* Memberikan anchor agar tidak mengambang */
    margin-top: auto;
    /* Penting untuk sticky footer */
}


/* Mengatur warna putih terang hanya untuk judul/teks penting */

footer h6,
footer b,
footer strong {
    color: #fff;
    letter-spacing: 1px;
}

.footer-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}


/* Warna ikon disamakan dengan badge kuning organisasi agar manis */

.footer-info i {
    width: 25px;
    color: #E6C200;
    font-size: 1rem;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #E6C200;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.05);
    }
}

@media (max-width: 992px) {
    .yt-main-title {
        font-size: 1.8rem;
    }
    .card-googleplay {
        padding: 25px 30px;
        text-align: center;
    }
    .play-text {
        font-size: 1.4rem;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-overlay {
        padding: 60px 20px 20px 20px;
    }
    .thumb-item {
        flex: 0 0 100px;
    }
}

@keyframes pulseCustom {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.yt-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .article-title {
        font-size: 2rem;
    }
    .featured-image-container {
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }
}

@media (max-width: 992px) {
    .karya-editorial-title {
        font-size: 1.8rem;
    }
    .karya-item-row {
        margin-bottom: 60px;
        text-align: center;
    }
    .karya-editorial-content {
        padding: 30px 10px;
    }
    .karya-editorial-img {
        height: 300px;
    }
}

@media (max-width: 992px) {
    .karya-title-detail {
        font-size: 2.2rem;
    }
    .karya-main-frame {
        margin-top: 0;
        border-radius: 0;
        padding: 5px;
    }
}

@media (max-width: 991px) {
    .map-container {
        height: 350px !important;
        margin-top: 20px;
    }
    .fw-extrabold {
        font-size: 2rem !important;
    }
}

@media (max-width: 992px) {
    .search-box {
        max-width: 200px;
    }
    .search-box input:focus {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .news-horizontal-img {
        height: 200px;
    }
    .news-horizontal-body {
        padding: 20px;
    }
    .news-horizontal-title {
        font-size: 1.2rem;
    }
    .main-title-news {
        font-size: 1.6rem;
    }
}