#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 0;
}

main {
    margin-top: 152px;
    min-height: 70vh;
}

.gray-gradient {
    background: radial-gradient(circle at top left, #ebebeb 30%, #cccccc 100%);
}

.gray-bottom-gradient {
    background: radial-gradient(circle at bottom, #e0e0e0 30%, #f0f0f0 70%);
}

.light-gray-gradient {
    background: radial-gradient(circle at top right, #ebebeb 100%, #efefef 30%);
}

.red-gradient {
    background: #0D2060;
}

.red-gradient-reverse {
    background: #C62828;
}

.baca-juga-container {
    border-left: 4px solid #1565C0;
    background-color: rgb(249 250 251);
    padding: 0 10px;
    padding-top: 5px;
    font-weight: 600;
    margin: 18px 0;
}

.baca-juga-container span {
    display: block;
}

.baca-juga-container a {
    padding-top: 2px;
    padding-bottom: 5px;
    display: block;
}

@media (max-width: 992px) {
    main {
        margin-top: 82px;
    }
}
@media (max-width: 480px) {
    main {
        margin-top: 72px;
    }
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
}

.post-category {
    color: #C62828;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-timestamp {
    color: rgb(92, 91, 91);
    font-size: 13px;
    font-weight: 400;
}

.post-content-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.post-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
}

.post-title-lg {
    font-size: 28px;
    line-height: 35px;
}

.post-description {
    font-weight: 400;
    color: rgb(92, 90, 90);
    font-size: 16px;
    line-height: 24px;
}

.post-similar-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.search-container {
    position: absolute;
    width: 100%;
    top: 0;
    /* Overflow ke atas */
    left: 0;
    /* transform: translateX(-50%); */
    background: white;
    /* padding: 10px; */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
    /* Awalnya disembunyikan */
}

.post-similar-home {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-similar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-similar-thumbnail {
    width: 196px;
    min-width: 196px;
    aspect-ratio: 16/11;
}

.post-similar-title {
    font-weight: 400;
    color: rgb(92, 90, 90);
    font-size: 16px;
    line-height: 24px;
}

.category-post-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 4px;
}

/* Card treatment */
.category-post-container > div {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.06);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.category-post-container > div:hover {
    box-shadow: 0 8px 24px rgba(27,42,107,0.13);
    transform: translateY(-4px);
}
.category-post-container > div .post-thumbnail {
    margin-bottom: 0;
}
.category-post-container > div .category-post-content-top {
    padding: 8px 10px 0;
    margin-top: 0;
}
.category-post-container > div .post-similar-title {
    padding: 3px 10px 4px;
    margin: 0;
}
.category-post-container > div .date-user-2 {
    padding: 0 10px 10px;
}

/* Video cards */
.video-section-container > div {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.06);
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    padding-bottom: 10px;
}
.video-section-container > div:hover {
    box-shadow: 0 8px 24px rgba(27,42,107,0.13);
    transform: translateY(-4px);
}
.video-section-container > div .post-thumbnail {
    border-radius: 0;
    margin-bottom: 0;
}
.video-section-container > div h3 {
    padding: 8px 10px 2px;
    margin: 0;
}
.video-section-container > div .catgeory-post-content-top {
    padding: 0 10px;
}

.category-post-content-top {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.category-post-content-bottom {
    margin-top: 10px;
    margin-bottom: 4px;
}

.video-section-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding-top: 8px;
}

@media (max-width: 576px) {
    .post-title-lg {
        font-size: 24px;
        line-height: 30px;
    }

    .post-title {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
    }

    .post-description {
        font-size: 14px;
        line-height: 22px;
    }

    .post-content-top {
        margin-top: 10px;
        margin-bottom: 3px;
    }

    .post-category {
        font-size: 12px;
    }

    .category-post-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 18px;
    }

    .category-post-content-top {
        margin-top: 8px;
        margin-bottom: 2px;
    }

    .category-post-content-bottom {
        margin-top: -4px;
    }

    .sorotan .post-similar-container {
        margin-top: 16px;
    }

    .post-similar-home {
        flex-direction: column;
    }

    .post-similar-thumbnail {
        width: 100%;
        min-width: none;
        margin-bottom: -24px;
    }

    .post-similar-home .post-description {
        margin-top: -4px;
    }

    .video-section-container {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 22px;
    }
}

.truncate-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.see-more {
    margin-top: 18px;
}
.see-more a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1B2A6B;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #1B2A6B;
    padding: 7px 18px;
    border-radius: 4px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.2s;
}
.see-more a:hover {
    background: #1B2A6B;
    color: #fff;
}
.see-more a svg path {
    fill: currentColor !important;
}


/* TIME */
.border-section-bottom {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 10px;
}

.sidebar-section {
    margin-top: 32px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 28px;
}

.local-time-container {
    /* background-color: rgb(238, 235, 235); */
    padding: 10px 16px;
    padding-bottom: 17px;
    border-radius: 4px;
}

.local-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid gray;
    padding-bottom: 6px;
}

.local-time-header span {
    font-size: 13px;
    color: rgb(101, 101, 101);
}

.local-time-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.local-time-date {
    font-size: 19px;
    font-weight: 400;
    color: rgb(101, 101, 101);
    line-height: 24px;
}

.local-time-label {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.local-time-label .clock-number {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(247, 244, 244);
    border-radius: 6px;
}

.clock-number span {
    font-size: 26px;
    padding: 2px 6px;
    font-stretch: 10%;
    font-weight: 500;
    color: rgb(101, 101, 101);
}

.news-heading {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
}
.news-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #C62828, #1B2A6B);
    border-radius: 2px;
}
.news-heading h2 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #1B2A6B !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    border-bottom: 0 !important;
    margin: 0 !important;
}

.popular-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* margin-top: -4px; */
}

.popular-tags a {
    font-size: 14px;
    font-weight: 400;
    color: rgb(40, 39, 39);
}

@media (max-width: 576px) {

    /* .popular-tags {
        gap
    } */
    .popular-tags a {
        font-size: 16px;
    }
}

/* FOOTER */
/* ===== FOOTER ===== */
.site-footer {
    margin-top: 40px;
    background: linear-gradient(175deg, #0e1f5b 0%, #070e2e 100%);
    border-top: 3px solid #C62828;
}

.ft-body {
    display: grid;
    grid-template-columns: 2fr 1fr 1.6fr;
    gap: 48px;
    padding: 52px 0 44px;
}

/* Brand column */
.ft-logo { width: 72px; height: auto; display: block; margin-bottom: 16px; }
.ft-tagline { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 22px; max-width: 260px; }

.ft-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.ft-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8); font-size: 14px; text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.ft-social-link:hover { background: #C62828; border-color: #C62828; color: #fff; }

/* Section heading */
.ft-heading {
    font-size: 10.5px; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: rgba(255,255,255,.3);
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Nav links */
.ft-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ft-links li a {
    color: rgba(255,255,255,.7); text-decoration: none; font-size: 13.5px; font-weight: 500;
    display: flex; align-items: center; gap: 7px; transition: color .2s;
}
.ft-links li a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #C62828; flex-shrink: 0; }
.ft-links li a:hover { color: #fff; }

/* Contact */
.ft-contact-list { display: flex; flex-direction: column; gap: 13px; }
.ft-contact-row { display: flex; gap: 12px; align-items: flex-start; }
.ft-contact-row i { color: #C62828; font-size: 13px; margin-top: 2px; flex-shrink: 0; width: 14px; }
.ft-contact-row span { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.55; }
.ft-contact-row a { color: rgba(255,255,255,.65); font-size: 13px; text-decoration: none; transition: color .2s; }
.ft-contact-row a:hover { color: #fff; }

/* Bottom bar */
.ft-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.ft-bar-inner { display: flex; align-items: center; justify-content: center; }
.ft-bar-inner span { font-size: 12.5px; color: rgba(255,255,255,.3); letter-spacing: .3px; }

/* Responsive */
@media (max-width: 992px) {
    .ft-body { grid-template-columns: 1fr 1fr; gap: 36px; padding: 44px 0 36px; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .ft-body { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
}

/* Ikon sosmed lama (di widget lain) */
.social li a {
    display: flex; align-items: center; justify-content: center;
    width: 34px; aspect-ratio: 1/1; border-radius: 50%; background-color: #1B2A6B;
}
.social li a i { font-size: 16px; color: white; }

/* TAG SECTION */
.tag-section-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* HOME SECTION */

.search-inner {
    margin: 24px 0;
    margin-bottom: 28px;
}

.headline {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 4px 16px;
}

.typing-container {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 600px;
    font-size: 16px !important;
}

.daerah-container {
    padding: 8px 0px;
}

.daerah-container ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.daerah-container ul a {
    text-decoration: none;
    color: black;
    font-weight: 400;
}

.daerah-content {
    padding: 0 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.daerah-more {
    gap: 10px;
}

.daerah-more span {
    color: #1565C0;
    font-weight: 400;
}

.daerah-more button {
    border: none;
    background: white;
    aspect-ratio: 1/1;
    border-radius: 4px;
}

.headline-container {
    padding: 0px 8px;
}

.headline-container .headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headline-label {
    flex-basis: fit-content;
    padding: 8px 18px;
    border-radius: 2px;
}

.headline-label span {
    display: inline-block;
    font-weight: 400;
    word-spacing: 4px;
    font-size: 13px;
}

.headline-post {
    max-width: 50%;
    width: 50%;
    overflow: hidden;
}

.truncate-1 {
    width: 612px;
}

.home-content {
    margin-top: 20px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .home-content {
        margin-top: 20px;
    }

    .daerah-content {
        padding: 0;
    }

    .headline-container {
        padding: 4px 8px;
    }

    .headline-container .headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .headline-post {
        max-width: 100%;
        width: 100%;
    }

    .headline-label {
        padding: 4px 12px;
    }

    .headline-label span {
        font-size: 12px;
    }

    .truncate-1 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .home-content {
        margin-top: 24px;
    }

    .daerah-container {
        display: none;
    }
}

.date-user-2 {
    display: flex;
    margin-top: 5px;
    margin-bottom: 5px;
}

.date-user-2 .user {
    margin-right: 20px;
    position: relative;
    padding-left: 12px;
    color: #898989;
    font-size: 12px;
}

.date-user-2 .date {
    position: relative;
    padding-left: 12px;
    color: #898989;
    font-size: 12px;
}

.date-user-2 .time {
    position: relative;
    padding-left: 4px;
    color: #898989;
    font-size: 12px;
}

.date-user-2 .user:before,
.date-user-2 .date:before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 1px;
    left: 0;
    font-size: 10px;
}

.date-user-2 .user a,
.date-user-2 .date a,
.date-user-2 .time a {
    color: #898989;
}

.date-user-2 .user a:hover,
.date-user-2 .date a:hover,
.date-user-2 .time a:hover {
    color: #5374d3;
}

.date-user-2 .user:before {
    content: "\f007";
}

.date-user-2 .date:before {
    content: "\f073";
}


/* Loading Spinner */
.loading-spinner-container {
    display: flex;
    align-items: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1565C0;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    animation: spin 2s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== ARTICLE DETAIL ===== */

.detail-bc-bar { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.detail-bc { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12.5px; }
.detail-bc a { color: #1B2A6B; text-decoration: none; }
.detail-bc a:hover { text-decoration: underline; }
.detail-bc-sep { color: #ccc; font-size: 15px; margin: 0 2px; }
.detail-bc-cur { color: #999; }

.detail-header { padding: 22px 0 0; }
.detail-cat-badge { display: inline-block; background: #C62828; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; text-decoration: none; margin-bottom: 14px; }
.detail-title { font-size: 28px; font-weight: 800; line-height: 1.38; color: #0e1f5b; margin: 0 0 18px; }

.detail-meta { display: flex; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 2px solid #eef0f7; border-bottom: 1px solid #eef0f7; margin-bottom: 22px; }
.dm-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #666; padding-right: 18px; }
.dm-item i { color: #C62828; font-size: 11px; }
.dm-item a { color: #1B2A6B; text-decoration: none; font-weight: 600; }
.dm-item a:hover { color: #C62828; }
.dm-sep { width: 1px; height: 14px; background: #dde0ea; margin-right: 18px; flex-shrink: 0; }

.detail-featured { border-radius: 10px; overflow: hidden; margin-bottom: 26px; }
.detail-featured > a img,
.detail-featured .gallery-lightbox-single img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.detail-featured .photo-source-caption { padding: 8px 2px 0; font-size: 12px; color: #999; font-style: italic; }

.detail-body { font-size: 16px; line-height: 1.9; color: #2a2a2a; margin-bottom: 28px; }
.detail-body p { margin-bottom: 1.25em; }
.detail-body img { max-width: 100%; border-radius: 6px; margin: 10px 0; }
.detail-body h2, .detail-body h3 { color: #0e1f5b; margin: 1.6em 0 .7em; font-weight: 700; }
.detail-body blockquote { border-left: 4px solid #C62828; background: #f8f9fc; padding: 14px 20px; border-radius: 0 6px 6px 0; margin: 22px 0; font-style: italic; color: #444; line-height: 1.7; }
.detail-body a { color: #1B2A6B; }

.detail-tags { margin-bottom: 24px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.detail-tags-label { font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: rgba(14,31,91,.4); margin-bottom: 12px; }
.detail-tags-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags-pills a { display: inline-block; font-size: 12px; font-weight: 600; color: #1B2A6B; background: #eef0f8; border: 1.5px solid #c8ceea; padding: 4px 12px; border-radius: 20px; text-decoration: none; transition: all .2s; }
.detail-tags-pills a:hover { background: #1B2A6B; color: #fff; border-color: #1B2A6B; }

/* Suppress legacy article-detail elements */
.page-top > .container > .row { display: none !important; }
.page-content .sub { display: none !important; }
.page-content .featured-photo { display: none !important; }
.page-content .main-text { display: none !important; }
.tag-section { display: none !important; }

@media (max-width: 768px) {
    .detail-title { font-size: 22px; }
    .detail-body { font-size: 15px; line-height: 1.8; }
    .detail-meta { gap: 8px; }
    .dm-sep { display: none; }
    .dm-item { padding-right: 12px; }
}

/* ===== RELATED POSTS ===== */
.related-news { margin: 28px 0 24px; border-top: 2px solid #eef0f7; padding-top: 24px; }
.related-news-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.related-news-heading h2 { font-size: 13px !important; font-weight: 800 !important; color: #0e1f5b !important; margin: 0 !important; text-transform: uppercase; letter-spacing: 1.8px; }
.related-news-heading::before { content: ''; display: inline-block; width: 4px; height: 18px; background: #C62828; border-radius: 2px; flex-shrink: 0; }

.rel-card { display: block; text-decoration: none; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #f0f0f0; box-shadow: 0 1px 5px rgba(0,0,0,.06); transition: box-shadow .22s, transform .22s; }
.rel-card:hover { box-shadow: 0 6px 20px rgba(27,42,107,.12); transform: translateY(-3px); }
.rel-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.rel-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.rel-card:hover .rel-card-img img { transform: scale(1.05); }
.rel-card-cat { position: absolute; top: 10px; left: 10px; background: #C62828; color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.rel-card-body { padding: 12px 14px 14px; }
.rel-card-title { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #1a1a1a; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.rel-card:hover .rel-card-title { color: #C62828; }
.rel-card-meta { font-size: 11.5px; color: #bbb; display: flex; gap: 5px; align-items: center; }
.rel-meta-dot { opacity: .45; }

.related-news .owl-nav .owl-prev,
.related-news .owl-nav .owl-next { background: #0e1f5b !important; border-radius: 4px !important; width: 30px !important; height: 30px !important; }
.related-news .owl-nav .owl-prev:hover,
.related-news .owl-nav .owl-next:hover { background: #C62828 !important; }
