﻿#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 0;
    background: none;
}

main {
    margin-top: 0;
    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: radial-gradient(circle at top right, #2d6b2d 30%, #1b4d1b 100%);
}

.red-gradient-reverse {
    background: radial-gradient(circle at top right, #1b4d1b 20%, #2d6b2d 100%);
}

.baca-juga-container {
    border-left: 4px solid #1b4d1b;
    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) {
    #header {
        padding: 0;
    }

    main {
        margin-top: 55px;
    }
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
}

.post-category {
    color: #1b4d1b;
    font-weight: 700;
    text-transform: uppercase;
}

.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: 22px;
    padding-top: 8px;
}

.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 a {
    text-decoration: none;
    display: flex;
    font-weight: 500;
    color: #1b4d1b;
}

/* TIME */
.border-section-bottom {
    border-bottom: 1px solid rgb(146, 144, 144);
}

.sidebar-section {
    margin-top: 24px;
    border-bottom: 1px solid rgb(146, 144, 144);
    padding-bottom: 22px;
}

.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 h2 {
    font-size: 24px !important;
    font-weight: 500 !important;
    border-bottom: 0px !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 {
    /* background-color: #ebebeb; */
    margin-top: 24px;
    padding: 0 16px;
    padding-bottom: 50px;
    padding-top: 1px;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-top: 26px !important;
    margin-top: 26px !important;
}

/* Kolom generik */
.footer-col {
    flex: 0 0 auto;
}

/* Kolom 1: Logo */
.footer-col-logo img {
    width: 80px;
    height: auto;
    display: block;
}

/* Kolom 2: Sosmed â€” ikon horizontal */
.footer-col-social .footer-social-label {
    font-size: 13px;
    font-weight: 600;
    color: rgb(86, 86, 86);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

/* Kolom 3: Link navigasi */
.footer-col-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.footer-col-links ul li a {
    text-decoration: none;
    color: #1b4d1b;
    font-weight: 500;
    font-size: 15px;
}

/* Kolom 4: Alamat & kontak â€” ambil sisa ruang */
.footer-col-contact {
    flex: 1;
}

.footer-col-contact .address {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgb(86, 86, 86);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contacts div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-contacts a {
    color: rgb(86, 86, 86);
    text-decoration: none;
}

.copyright {
    font-size: 13px;
    color: rgb(114, 113, 113);
    font-weight: 500;
}

/* Ikon sosmed â€” bulat */
.social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #1b4d1b;
}

.social li a i {
    font-size: 16px;
    color: white;
}

/* Tablet: logo+sosmed+links satu baris, kontak turun */
@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 28px;
    }

    .footer-col-contact {
        flex: 0 0 100%;
    }
}

/* Mobile: semua stack vertikal */
@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col-contact {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* 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: #1b4d1b;
    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;
}

@media (max-width: 992px) {
    .home-content {
        margin-top: 32px;
    }

    .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";
}

/* ==========================================
   MODERN REDESIGN 2026
   ========================================== */

/* --- Ticker Bar --- */
.ticker-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 7px 0;
}
.ticker-inner {
    display: flex;
    align-items: center;
    min-height: 30px;
    gap: 0;
}
.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: ticker-pulse 1.4s infinite;
}
@keyframes ticker-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(0.75);
    }
}
.ticker-separator {
    width: 1px;
    height: 18px;
    background: #cbd5e1;
    margin: 0 12px;
    flex-shrink: 0;
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}
.ticker-content ul {
    padding: 0;
    margin: 0;
    height: 22px;
    list-style: none;
}
.ticker-content a {
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
}
.ticker-date {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    margin-left: 12px;
    flex-shrink: 0;
}
.ticker-more {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: #1b4d1b !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 10px;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: background 0.18s;
}
.ticker-more:hover {
    background: #dbeafe;
}
@media (max-width: 768px) {
    .ticker-date,
    .ticker-more {
        display: none;
    }
}

/* --- Hero Section --- */
.hn-hero {
    padding: 20px 0 0;
}
.hn-hero-wrap {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 10px;
    height: 460px;
}
.hn-hero-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.hn-hero-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
}
.hn-hero-main:hover img {
    transform: scale(1.04);
}
.hn-hero-main-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 70px 20px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        transparent 100%
    );
}
.hn-hero-main-title {
    color: #fff !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0 8px;
}
.hn-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
.hn-hero-sub {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.hn-hero-sub img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.42s ease;
}
.hn-hero-sub:hover img {
    transform: scale(1.04);
}
.hn-hero-sub-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 14px 14px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        transparent 100%
    );
}
.hn-hero-sub-title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 4px 0 0;
}
.hn-badge {
    display: inline-block;
    background: #1b4d1b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 4px;
}
.hn-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 5px;
}
.hn-meta-sep {
    opacity: 0.55;
}
@media (max-width: 768px) {
    .hn-hero-wrap {
        grid-template-columns: 1fr;
        height: auto;
    }
    .hn-hero-main {
        height: 260px;
    }
    .hn-hero-side {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        height: 150px;
    }
}
@media (max-width: 576px) {
    .hn-hero-main {
        height: 200px;
    }
    .hn-hero-main-title {
        font-size: 16px !important;
    }
    .hn-hero-side {
        height: 130px;
    }
    .hn-hero-sub-title {
        font-size: 12px !important;
    }
}

/* --- Main layout (content + sidebar) --- */
.hn-main-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    padding: 24px 0 40px;
    align-items: start;
}
.hn-sidebar {
    position: sticky;
    top: 80px;
}
@media (max-width: 992px) {
    .hn-main-wrap {
        grid-template-columns: 1fr;
    }
    .hn-sidebar {
        position: static;
    }
}

/* --- Section card wrapper --- */
.hn-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 20px 22px 22px;
    margin-bottom: 22px;
}
.hn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.hn-section-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #1e293b !important;
    border-left: 4px solid #1b4d1b;
    padding-left: 10px;
    margin: 0 !important;
    border-bottom: 0 !important;
    line-height: 1.3 !important;
}
.hn-see-all {
    font-size: 12px;
    font-weight: 600;
    color: #1b4d1b !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.hn-see-all:hover {
    color: #164316 !important;
}

/* --- Category pill --- */
.hn-cat {
    display: inline-block;
    background: #e8f5e8;
    color: #1b4d1b;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Meta small --- */
.hn-meta-sm {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #94a3b8;
    flex-wrap: wrap;
}

/* --- Horizontal list (Berita Terbaru) --- */
.hn-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hn-list-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none !important;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.18s;
}
.hn-list-item:hover {
    background: #f8fafc;
}
.hn-list-thumb {
    width: 96px;
    min-width: 96px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.hn-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hn-list-item:hover .hn-list-thumb img {
    transform: scale(1.06);
}
.hn-list-body {
    flex: 1;
    min-width: 0;
}
.hn-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 4px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Card Grid (e.g. Nasional) --- */
.hn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hn-card {
    display: block;
    text-decoration: none !important;
    border-radius: 10px;
    overflow: hidden;
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}
.hn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}
.hn-card-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 10px;
}
.hn-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.hn-card:hover .hn-card-thumb img {
    transform: scale(1.05);
}
.hn-card-body {
    padding: 10px 2px 2px;
}
.hn-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 5px;
}
.hn-card-author {
    font-size: 11px;
    color: #94a3b8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.hn-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 992px) {
    .hn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .hn-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hn-card-title {
        font-size: 12px;
    }
}

/* --- Video Section --- */
.hn-video-wrap {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 16px;
    align-items: start;
}
.hn-vid-featured {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
}
.hn-vid-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(58%);
    transition: transform 0.3s;
}
.hn-vid-featured:hover img {
    transform: scale(1.04);
}
.hn-vid-featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 18px;
}
.hn-vid-play-lg {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.hn-vid-play-lg i {
    color: #1b4d1b;
    font-size: 18px;
    margin-left: 3px;
}
.hn-vid-featured-body {
    margin-top: auto;
}
.hn-vid-yt-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 5px;
}
.hn-vid-featured-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hn-vid-sm-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hn-vid-sm {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none !important;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.18s;
}
.hn-vid-sm:hover {
    background: #f8fafc;
}
.hn-vid-sm-thumb {
    position: relative;
    width: 90px;
    min-width: 90px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.hn-vid-sm-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(62%);
}
.hn-vid-play-sm {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hn-vid-play-sm i {
    color: #fff;
    font-size: 13px;
}
.hn-vid-sm-body {
    flex: 1;
    min-width: 0;
}
.hn-vid-label {
    font-size: 10px;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    margin-bottom: 3px;
    display: block;
}
.hn-vid-sm-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hn-video-wrap {
        grid-template-columns: 1fr;
    }
    .hn-vid-sm-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hn-vid-sm {
        flex: 0 0 calc(50% - 5px);
    }
}
@media (max-width: 576px) {
    .hn-vid-sm {
        flex: 0 0 100%;
    }
}

/* --- Ad wrapper --- */
.hn-ad-wrap {
    position: relative;
    text-align: center;
    margin: 16px 0;
    padding-top: 8px;
}
.hn-ad-label {
    position: absolute;
    top: -2px;
    right: 0;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}
.hn-ad-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Loading Spinner */
.loading-spinner-container {
    display: flex;
    align-items: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1b4d1b;
    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);
    }
}

/* ==========================================
   EDITORIAL REDESIGN 2026  (jn-* prefix)
   Completely independent from hn-* system.
   ========================================== */

/* â”€â”€ Ticker: dark navy bar â”€â”€ */
.jn-ticker {
    background: #164316;
}
.jn-ticker-inner {
    display: flex;
    align-items: stretch;
    min-height: 36px;
}
.jn-ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 16px;
    white-space: nowrap;
    flex-shrink: 0;
}
.jn-ticker-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: jn-blink 1.2s infinite;
}
@keyframes jn-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.2;
    }
}
.jn-ticker-scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 16px;
    min-width: 0;
}
.jn-ticker-scroll ul {
    padding: 0;
    margin: 0;
    height: 20px;
    list-style: none;
}
.jn-ticker-scroll a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 13px;
}
.jn-ticker-date {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .jn-ticker-date {
        display: none;
    }
}

/* â”€â”€ Hero: cinematic dark + rail â”€â”€ */
.jn-hero {
    background: #0f172a;
}
.jn-hero-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    min-height: 480px;
}
.jn-hero-featured {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    min-height: 480px;
}
.jn-hero-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: transform 0.5s ease;
}
.jn-hero-featured:hover img {
    transform: scale(1.03);
}
.jn-hero-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 110px 32px 32px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        transparent 100%
    );
}
.jn-hero-cat {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
}
.jn-hero-title {
    color: #fff !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.28;
    margin: 0 0 10px;
}
.jn-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}
.jn-hero-rail {
    background: #1e293b;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.jn-hero-rail-head {
    background: #1b4d1b;
    padding: 11px 18px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
}
.jn-rail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none !important;
    transition: background 0.18s;
    flex: 1;
}
.jn-rail-item:last-child {
    border-bottom: 0;
}
.jn-rail-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.jn-rail-num {
    font-size: 22px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.11);
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    padding-top: 2px;
}
.jn-rail-body {
    flex: 1;
    min-width: 0;
}
.jn-rail-cat {
    font-size: 9px;
    font-weight: 700;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.jn-rail-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.83);
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 992px) {
    .jn-hero-grid {
        grid-template-columns: 1fr;
    }
    .jn-hero-featured {
        min-height: 300px;
    }
    .jn-hero-rail {
        flex-direction: row;
        flex-wrap: wrap;
        min-height: auto;
    }
    .jn-rail-item {
        flex: 0 0 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .jn-hero-title {
        font-size: 20px;
    }
}
@media (max-width: 576px) {
    .jn-hero-featured {
        min-height: 230px;
    }
    .jn-hero-featured-body {
        padding: 60px 16px 20px;
    }
    .jn-hero-title {
        font-size: 17px !important;
    }
    .jn-rail-item {
        flex: 0 0 100%;
    }
}

/* â”€â”€ Section: solid blue header band â”€â”€ */
.jn-section {
    margin-bottom: 28px;
}
.jn-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1b4d1b;
    border-radius: 4px 4px 0 0;
    padding: 9px 16px;
}
.jn-section-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.jn-see-all {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
}
.jn-see-all:hover {
    color: #fff !important;
}
.jn-cat {
    display: inline-block;
    background: #1b4d1b;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 2px;
}
.jn-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
}

/* â”€â”€ Berita Terbaru: flat 2-column grid â”€â”€ */
.jn-latest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}
.jn-latest-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none !important;
    background: #fff;
    padding: 14px;
    transition: background 0.15s;
}
.jn-latest-item:hover {
    background: #f8fafc;
}
.jn-latest-thumb {
    width: 76px;
    min-width: 76px;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.jn-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.jn-latest-item:hover .jn-latest-thumb img {
    transform: scale(1.07);
}
.jn-latest-body {
    flex: 1;
    min-width: 0;
}
.jn-latest-cat {
    font-size: 9px;
    font-weight: 800;
    color: #1b4d1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.jn-latest-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jn-latest-time {
    font-size: 11px;
    color: #94a3b8;
}
@media (max-width: 576px) {
    .jn-latest-grid {
        grid-template-columns: 1fr;
    }
}

/* â”€â”€ Nasional: featured left + stacked list right â”€â”€ */
.jn-nasional-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}
.jn-nasional-featured {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #0f172a;
    aspect-ratio: 16/10;
}
.jn-nasional-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: transform 0.4s;
}
.jn-nasional-featured:hover img {
    transform: scale(1.04);
}
.jn-nasional-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 18px 18px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        transparent 100%
    );
}
.jn-nasional-featured-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.38;
    margin: 5px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jn-nasional-list {
    background: #fff;
    display: flex;
    flex-direction: column;
}
.jn-nasional-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    transition: background 0.15s;
    flex: 1;
}
.jn-nasional-item:last-child {
    border-bottom: 0;
}
.jn-nasional-item:hover {
    background: #f8fafc;
}
.jn-nasional-item-thumb {
    width: 54px;
    min-width: 54px;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.jn-nasional-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jn-nasional-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .jn-nasional-wrap {
        grid-template-columns: 1fr;
    }
    .jn-nasional-featured {
        aspect-ratio: 16/9;
    }
}

/* â”€â”€ Video: 2Ã—2 flat grid â”€â”€ */
.jn-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e2e8f0;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}
.jn-video-item {
    background: #fff;
    display: block;
    text-decoration: none !important;
    transition: background 0.15s;
}
.jn-video-item:hover {
    background: #f8fafc;
}
.jn-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.jn-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: transform 0.3s;
}
.jn-video-item:hover .jn-video-thumb img {
    transform: scale(1.04);
}
.jn-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jn-video-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.jn-video-item:hover .jn-video-play-btn {
    transform: scale(1.12);
}
.jn-video-play-btn i {
    color: #1b4d1b;
    font-size: 13px;
    margin-left: 2px;
}
.jn-video-body {
    padding: 10px 12px 12px;
}
.jn-video-label {
    font-size: 9px;
    font-weight: 800;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
}
.jn-video-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .jn-video-grid {
        grid-template-columns: 1fr;
    }
}

/* â”€â”€ Ad wrapper â”€â”€ */
.jn-ad-wrap {
    position: relative;
    text-align: center;
    padding-top: 10px;
    margin: 18px 0;
}
.jn-ad-label {
    position: absolute;
    top: -2px;
    right: 0;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 10px;
}
.jn-ad-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* â”€â”€ Main layout â”€â”€ */
.jn-main-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 28px 0 48px;
    align-items: start;
}
.jn-sidebar {
    position: sticky;
    top: 80px;
}
@media (max-width: 992px) {
    .jn-main-wrap {
        grid-template-columns: 1fr;
    }
    .jn-sidebar {
        position: static;
    }
}

/* ==========================================
   MATA DESA HOME  (md-home components)
   Palet: #1B4D1B · #C8960C · #2D6B2D
   ========================================== */

/* Nav baru sticky — reset margin-top paksa */
main {
    margin-top: 0 !important;
}
@media (max-width: 992px) {
    main {
        margin-top: 0 !important;
    }
}

/* Latar halaman */
.md-page-bg {
    background: #f5f9f3;
}

/* ── Ticker ── */
.md-ticker {
    background: #1b4d1b;
}
.md-ticker-inner {
    display: flex;
    align-items: stretch;
    min-height: 34px;
}
.md-ticker-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0 14px;
    white-space: nowrap;
    flex-shrink: 0;
}
.md-ticker-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: md-blink 1.2s infinite;
}
@keyframes md-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.15;
    }
}
.md-ticker-scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 14px;
    min-width: 0;
}
.md-ticker-scroll ul {
    padding: 0;
    margin: 0;
    height: 20px;
    list-style: none;
}
.md-ticker-scroll a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 13px;
}
.md-ticker-date {
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.48);
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .md-ticker-date {
        display: none;
    }
}

/* ── Hero ── */
.md-hero {
    padding: 20px 0 0;
    background: #f5f9f3;
}
.md-hero-grid {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 16px;
}
.md-hero-featured {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    min-height: 420px;
}
.md-hero-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.md-hero-featured:hover img {
    transform: scale(1.03);
}
.md-hero-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 22px 22px;
    background: linear-gradient(
        to top,
        rgba(10, 24, 10, 0.9) 0%,
        transparent 100%
    );
    border-radius: 0 0 16px 16px;
}
.md-hero-cat-badge {
    display: inline-block;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.md-hero-title {
    color: #fff !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 8px;
}
.md-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}
.md-hero-rail {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dde8dd;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(27, 77, 27, 0.06);
}
.md-hero-rail-head {
    background: #1b4d1b;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    flex-shrink: 0;
}
.md-rail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f5ee;
    text-decoration: none !important;
    flex: 1;
    transition: background 0.15s;
}
.md-rail-item:last-child {
    border-bottom: 0;
}
.md-rail-item:hover {
    background: #fafdf6;
}
.md-rail-num {
    font-size: 20px;
    font-weight: 900;
    color: #c8960c;
    opacity: 0.55;
    line-height: 1;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    padding-top: 1px;
}
.md-rail-body {
    flex: 1;
    min-width: 0;
}
.md-rail-cat {
    font-size: 9px;
    font-weight: 700;
    color: #2d6b2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
}
.md-rail-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1c3a1c;
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 992px) {
    .md-hero-grid {
        grid-template-columns: 1fr;
    }
    .md-hero-featured {
        min-height: 280px;
    }
    .md-hero-rail {
        flex-direction: row;
        flex-wrap: wrap;
        border-radius: 12px;
    }
    .md-rail-item {
        flex: 0 0 50%;
        border-bottom: 1px solid #f0f5ee;
    }
    .md-hero-title {
        font-size: 19px;
    }
}
@media (max-width: 576px) {
    .md-hero-featured {
        min-height: 210px;
    }
    .md-hero-featured-body {
        padding: 55px 16px 16px;
    }
    .md-hero-title {
        font-size: 16px !important;
    }
    .md-rail-item {
        flex: 0 0 100%;
    }
}

/* ── Layout utama ── */
.md-home-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 22px;
    padding: 22px 0 48px;
    align-items: start;
}
.md-home-sidebar {
    position: sticky;
    top: 74px;
}
@media (max-width: 992px) {
    .md-home-wrap {
        grid-template-columns: 1fr;
    }
    .md-home-sidebar {
        position: static;
    }
}

/* ── Section card ── */
.md-home-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dde8dd;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 1px 8px rgba(27, 77, 27, 0.05);
}
.md-home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eef4ee;
}
.md-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.md-section-label-bar {
    width: 4px;
    height: 16px;
    background: #c8960c;
    border-radius: 2px;
    flex-shrink: 0;
}
.md-section-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1b4d1b !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.md-see-all {
    font-size: 12px;
    font-weight: 700;
    color: #c8960c !important;
    text-decoration: none !important;
    transition: color 0.15s;
}
.md-see-all:hover {
    color: #1b4d1b !important;
}

.md-cat {
    display: inline-block;
    background: #edf7ed;
    color: #1b4d1b;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.md-meta-sm {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #94a3b8;
}

/* ── Berita Terbaru ── */
.md-latest-list {
    display: flex;
    flex-direction: column;
}
.md-latest-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f5ee;
    text-decoration: none !important;
    transition: background 0.15s;
}
.md-latest-item:last-child {
    border-bottom: 0;
}
.md-latest-item:hover {
    background: #fafdf6;
}
.md-latest-thumb {
    width: 80px;
    min-width: 80px;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.md-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.md-latest-item:hover .md-latest-thumb img {
    transform: scale(1.06);
}
.md-latest-body {
    flex: 1;
    min-width: 0;
}
.md-latest-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #1c2f1c;
    line-height: 1.44;
    margin: 4px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.md-latest-time {
    font-size: 11px;
    color: #94a3b8;
}

/* ── Nasional: featured + list ── */
.md-nasional-wrap {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1px;
    background: #dde8dd;
}
.md-nasional-featured {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #0f1f0f;
}
.md-nasional-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: transform 0.4s;
}
.md-nasional-featured:hover img {
    transform: scale(1.04);
}
.md-nasional-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 16px 16px;
    background: linear-gradient(
        to top,
        rgba(8, 18, 8, 0.9) 0%,
        transparent 100%
    );
}
.md-nasional-featured-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.38;
    margin: 5px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.md-nasional-list {
    background: #fff;
    display: flex;
    flex-direction: column;
}
.md-nasional-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f0f5ee;
    text-decoration: none !important;
    flex: 1;
    transition: background 0.15s;
}
.md-nasional-item:last-child {
    border-bottom: 0;
}
.md-nasional-item:hover {
    background: #fafdf6;
}
.md-nasional-item-thumb {
    width: 52px;
    min-width: 52px;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.md-nasional-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.md-nasional-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #1c2f1c;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .md-nasional-wrap {
        grid-template-columns: 1fr;
    }
    .md-nasional-featured {
        aspect-ratio: 16/9;
    }
}

/* ── Video: 2×2 grid ── */
.md-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #dde8dd;
}
.md-video-item {
    background: #fff;
    display: block;
    text-decoration: none !important;
    transition: background 0.15s;
}
.md-video-item:hover {
    background: #fafdf6;
}
.md-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.md-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: transform 0.3s;
}
.md-video-item:hover .md-video-thumb img {
    transform: scale(1.04);
}
.md-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.md-video-play-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.md-video-item:hover .md-video-play-btn {
    transform: scale(1.1);
}
.md-video-play-btn i {
    color: #1b4d1b;
    font-size: 13px;
    margin-left: 2px;
}
.md-video-body {
    padding: 10px 12px 12px;
}
.md-video-label {
    font-size: 9px;
    font-weight: 800;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
    display: block;
}
.md-video-title {
    font-size: 12px;
    font-weight: 600;
    color: #1c2f1c;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .md-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Ad ── */
.md-ad-wrap {
    position: relative;
    text-align: center;
    padding-top: 10px;
    margin: 16px 0;
}
.md-ad-label {
    position: absolute;
    top: -2px;
    right: 0;
    background: #f0f5ee;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.md-ad-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ==========================================
   MATA DESA SECTIONS v3  (mds-* prefix)
   — No card wrapper, editorial grid style —
   ========================================== */

/* Page bg */
.mds-page {
    background: #f2f7f0;
    min-height: 60vh;
}

/* ── Ticker ── */
.mds-ticker {
    background: #1b4d1b;
}
.mds-ticker-inner {
    display: flex;
    align-items: stretch;
    min-height: 36px;
}
.mds-ticker-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 0 16px;
    white-space: nowrap;
    flex-shrink: 0;
}
.mds-ticker-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: mds-blink 1.2s infinite;
}
@keyframes mds-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.12;
    }
}
.mds-ticker-scroll {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 16px;
    min-width: 0;
}
.mds-ticker-scroll ul {
    padding: 0;
    margin: 0;
    height: 20px;
    list-style: none;
}
.mds-ticker-scroll a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 13.5px;
}
.mds-ticker-date {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .mds-ticker-date {
        display: none;
    }
}

/* ── Hero ── */
.mds-hero {
    padding: 22px 0 0;
    margin-top: 20px;
}
.mds-hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 14px;
}

.mds-hero-main {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    min-height: 440px;
}
.mds-hero-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}
.mds-hero-main:hover img {
    transform: scale(1.03);
}
.mds-hero-main-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 90px 24px 24px;
    background: linear-gradient(
        to top,
        rgba(10, 22, 10, 0.92) 0%,
        transparent 100%
    );
    border-radius: 0 0 14px 14px;
}
.mds-hero-cat {
    display: inline-block;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 9px;
}
.mds-hero-title {
    color: #fff !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 8px;
}
.mds-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.mds-hero-rail {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 14px rgba(27, 77, 27, 0.08);
}
.mds-hero-rail-head {
    background: #1b4d1b;
    padding: 11px 16px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    flex-shrink: 0;
}
.mds-rail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border-bottom: 1px solid #eef4ee;
    text-decoration: none !important;
    flex: 1;
    transition: background 0.15s;
}
.mds-rail-item:last-child {
    border-bottom: 0;
}
.mds-rail-item:hover {
    background: #fafdf6;
}
.mds-rail-num {
    font-size: 22px;
    font-weight: 900;
    color: #c8960c;
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.mds-rail-body {
    flex: 1;
    min-width: 0;
}
.mds-rail-cat {
    font-size: 9px;
    font-weight: 700;
    color: #2d6b2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.mds-rail-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1b3a1b;
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .mds-hero-grid {
        grid-template-columns: 1fr;
    }
    .mds-hero-main {
        min-height: 280px;
    }
    .mds-hero-rail {
        flex-direction: row;
        flex-wrap: wrap;
        border-radius: 12px;
    }
    .mds-rail-item {
        flex: 0 0 50%;
        border-right: 1px solid #eef4ee;
    }
    .mds-hero-title {
        font-size: 19px;
    }
}
@media (max-width: 576px) {
    .mds-hero-main {
        min-height: 210px;
    }
    .mds-hero-main-body {
        padding: 55px 16px 16px;
    }
    .mds-hero-title {
        font-size: 16px !important;
    }
    .mds-rail-item {
        flex: 0 0 100%;
        border-right: 0;
    }
}

/* ── Main layout ── */
.mds-main-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    padding: 26px 0 52px;
    align-items: start;
}
.mds-sidebar {
    position: sticky;
    top: 70px;
}
@media (max-width: 992px) {
    .mds-main-wrap {
        grid-template-columns: 1fr;
    }
    .mds-sidebar {
        position: static;
    }
}

/* ── Section heading — NO card wrapper, gold bottom line ── */
.mds-section {
    margin-bottom: 32px;
}
.mds-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 3px solid #c8960c;
    margin-bottom: 18px;
}
.mds-section-title {
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #1b4d1b !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.mds-see-all {
    font-size: 12px;
    font-weight: 700;
    color: #c8960c !important;
    text-decoration: none !important;
    white-space: nowrap;
    padding-bottom: 2px;
}
.mds-see-all:hover {
    color: #1b4d1b !important;
}

/* ── Berita Terbaru: 2-col image card grid ── */
.mds-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.mds-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}
.mds-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(27, 77, 27, 0.14);
}
.mds-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.mds-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mds-card:hover .mds-card-thumb img {
    transform: scale(1.05);
}
.mds-card-body {
    padding: 12px 14px 14px;
}
.mds-card-cat {
    font-size: 9.5px;
    font-weight: 800;
    color: #2d6b2d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
    display: block;
}
.mds-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1c2f1c;
    line-height: 1.42;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mds-card-meta {
    font-size: 11px;
    color: #94a3b8;
}
@media (max-width: 576px) {
    .mds-card-grid {
        grid-template-columns: 1fr;
    }
    .mds-card-title {
        font-size: 13px;
    }
}

/* ── Nasional: featured + stacked list ── */
.mds-nasional-wrap {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 14px;
}
.mds-nasional-featured {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #0f1f0f;
}
.mds-nasional-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    transition: transform 0.4s;
}
.mds-nasional-featured:hover img {
    transform: scale(1.04);
}
.mds-nasional-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 18px 18px;
    background: linear-gradient(
        to top,
        rgba(8, 18, 8, 0.9) 0%,
        transparent 100%
    );
    border-radius: 0 0 12px 12px;
}
.mds-nasional-featured-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.38;
    margin: 6px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mds-nasional-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.mds-nasional-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mds-nasional-item {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none !important;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    transition:
        box-shadow 0.18s,
        transform 0.18s;
}
.mds-nasional-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(27, 77, 27, 0.11);
}
.mds-nasional-item-thumb {
    width: 72px;
    min-width: 72px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.mds-nasional-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mds-nasional-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1c2f1c;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {
    .mds-nasional-wrap {
        grid-template-columns: 1fr;
    }
    .mds-nasional-featured {
        min-height: 220px;
    }
}

/* ── Video: 2×2 card grid ── */
.mds-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.mds-video-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}
.mds-video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(27, 77, 27, 0.13);
}
.mds-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.mds-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: transform 0.3s;
}
.mds-video-item:hover .mds-video-thumb img {
    transform: scale(1.05);
}
.mds-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mds-video-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.mds-video-item:hover .mds-video-play-btn {
    transform: scale(1.12);
}
.mds-video-play-btn i {
    color: #1b4d1b;
    font-size: 14px;
    margin-left: 3px;
}
.mds-video-body {
    padding: 10px 13px 13px;
}
.mds-video-label {
    font-size: 9px;
    font-weight: 800;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    display: block;
}
.mds-video-title {
    font-size: 13px;
    font-weight: 600;
    color: #1c2f1c;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .mds-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Category / meta pills ── */
.mds-cat {
    display: inline-block;
    background: #e8f5e8;
    color: #1b4d1b;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 9px;
    border-radius: 20px;
}
.mds-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
}

/* ── Ad ── */
.mds-ad-wrap {
    position: relative;
    text-align: center;
    padding-top: 10px;
    margin: 14px 0;
}
.mds-ad-label {
    position: absolute;
    top: -2px;
    right: 0;
    background: #e8f0e8;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.mds-ad-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ==========================================
   SIDEBAR WIDGETS  (sb-*)  — Editorial Dark
   Palet: #1B4D1B · #C8960C · #163E16
   ========================================== */

.sb-root {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Widget card */
.sb-widget {
    background: #fff;
    overflow: hidden;
    border-left: 3px solid #1b4d1b;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.sb-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #1b4d1b;
}
.sb-widget-title {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff !important;
    border-left: none;
    padding-left: 0;
    margin: 0 !important;
    border-bottom: 0 !important;
    line-height: 1.3 !important;
}
.sb-see-all {
    font-size: 10px;
    font-weight: 700;
    color: #c8960c !important;
    text-decoration: none !important;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.15s;
}
.sb-see-all:hover {
    color: #e8b84b !important;
}

/* Featured post */
.sb-post-main {
    display: block;
    text-decoration: none !important;
}
.sb-post-main:hover .sb-post-main-title {
    color: #c8960c;
}
.sb-post-main-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.sb-post-main-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.sb-post-main:hover .sb-post-main-thumb img {
    transform: scale(1.05);
}
.sb-post-main-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 4px;
}
.sb-post-main-time {
    font-size: 10px;
    color: #94a3b8;
}
.sb-post-main-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin: 0 0 5px;
    padding: 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.sb-post-main-author {
    font-size: 11px;
    color: #94a3b8;
    padding: 0 14px 10px;
}

/* Small post list */
.sb-post-list {
    display: flex;
    flex-direction: column;
    background: #fafdf6;
}
.sb-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-top: 1px solid #eaf2ea;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition:
        background 0.15s,
        border-left-color 0.15s;
}
.sb-post-item:hover {
    background: #f0f7ee;
    border-left-color: #c8960c;
}
.sb-post-item:hover .sb-post-item-title {
    color: #c8960c;
}
.sb-post-item-thumb {
    width: 60px;
    min-width: 60px;
    height: 48px;
    overflow: hidden;
    flex-shrink: 0;
}
.sb-post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sb-post-item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

/* Popular numbered list */
.sb-popular-list {
    display: flex;
    flex-direction: column;
}
.sb-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
    transition: background 0.15s;
}
.sb-popular-item:last-child {
    border-bottom: none;
}
.sb-popular-item:hover {
    background: #fafdf6;
}
.sb-popular-item:hover .sb-popular-title {
    color: #1b4d1b;
}
.sb-popular-num {
    flex-shrink: 0;
    width: 44px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: #dde8dd;
    background: #fff;
    border-right: 1px solid #f0f0f0;
    transition: color 0.15s;
}
.sb-popular-item:nth-child(-n + 3) .sb-popular-num {
    color: #c8960c;
    background: #fdfaf3;
}
.sb-popular-item:nth-child(1) .sb-popular-num {
    color: #1b4d1b;
    background: #f0f7ee;
}
.sb-popular-title {
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.42;
    margin: 0;
    padding: 10px 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

/* Tag cloud */
.sb-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 14px 14px;
    background: #fff;
}
.sb-tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: transparent;
    color: #1b4d1b !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none !important;
    border: 1.5px solid #b8d4b8;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}
.sb-tag-cloud a:hover {
    background: #1b4d1b;
    color: #c8960c !important;
    border-color: #1b4d1b;
}

/* Clock widget */
.sb-clock-widget .sb-widget-head {
    background: #163e16;
}
.sb-clock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 14px;
}
.sb-clock-date {
    display: flex;
    flex-direction: column;
}
.sb-clock-day {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}
.sb-clock-full {
    font-size: 13px;
    color: #1b4d1b;
    font-weight: 700;
}
.sb-clock-digits {
    display: flex;
    align-items: center;
    gap: 4px;
}
.sb-clock-group {
    display: flex;
    gap: 3px;
}
.sb-clock-digit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 36px;
    background: #1b4d1b;
    color: #c8960c;
    font-size: 20px;
    font-weight: 700;
    border-radius: 4px;
    font-family: monospace;
}
.sb-clock-sep {
    font-size: 22px;
    font-weight: 700;
    color: #1b4d1b;
    line-height: 1;
}

/* Ads */
.sb-ad-wrap {
    position: relative;
    text-align: center;
    padding: 10px 0 0;
    background: #fff;
    border-left: 3px solid #c8960c;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.sb-ad-label {
    position: absolute;
    top: 4px;
    right: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}
.sb-ad-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   FOOTER  (ft-*)
   Palet: #0F2D0F (dark) · #C8960C (gold)
   ========================================== */

.ft-root {
    background: #0f2d0f;
    color: #b8c8b8;
    font-size: 13.5px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}
.ft-accent-line {
    height: 4px;
    background: linear-gradient(
        90deg,
        #c8960c 0%,
        #e8b84b 40%,
        #2d6b2d 70%,
        #1b4d1b 100%
    );
}
.ft-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    padding: 40px 0 32px;
}

/* Brand column */
.ft-brand {
}
.ft-logo-wrap {
    display: inline-block;
    margin-bottom: 12px;
}
.ft-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}
.ft-tagline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c8960c;
    margin: 0 0 8px;
}
.ft-desc {
    font-size: 13px;
    color: #8aa88a;
    line-height: 1.65;
    margin: 0 0 18px;
}
.ft-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ft-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #b8c8b8 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition:
        background 0.2s,
        color 0.2s;
}
.ft-social-btn:hover {
    background: #c8960c;
    color: #fff !important;
}

/* Generic column */
.ft-col {
}
.ft-col-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin: 0 0 14px;
}
.ft-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ft-links li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ft-links li::before {
    content: "›";
    color: #c8960c;
    font-size: 14px;
    line-height: 1;
}
.ft-links a {
    color: #8aa88a !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: color 0.15s;
}
.ft-links a:hover {
    color: #c8960c !important;
}

/* Contact column */
.ft-contact {
}
.ft-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ft-contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.ft-contact-list li i {
    color: #c8960c;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.ft-contact-list span,
.ft-contact-list a {
    font-size: 13px;
    color: #8aa88a !important;
    text-decoration: none !important;
    line-height: 1.5;
}
.ft-contact-list a:hover {
    color: #c8960c !important;
}

/* Bottom bar */
.ft-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 14px 0;
    text-align: center;
}
.ft-bottom span {
    font-size: 12px;
    color: #5a7a5a;
}

/* Responsive footer */
@media (max-width: 992px) {
    .ft-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 32px 0 24px;
    }
    .ft-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 576px) {
    .ft-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 0 20px;
    }
    .ft-brand {
        grid-column: auto;
    }
}

/* ============================================================
   MATA DESA v4  —  n2-* prefix
   Modern Editorial News Portal
   Palet: #1B4D1B · #C8960C · #2D6B2D
   ============================================================ */

/* ── Page wrapper ── */
.n2-page {
    background: #f0f4f0;
    min-height: 60vh;
    padding-top: 107px; /* topbar(3) + masthead(58) + nav(46) */
}
@media (max-width: 992px) {
    .n2-page {
        padding-top: 55px; /* topbar(3) + masthead(52) */
    }
}
@media (max-width: 576px) {
    .n2-page {
        padding-top: 52px; /* topbar(3) + masthead(49) */
    }
}

/* ── Ticker ── */
.n2-ticker {
    background: #1b4d1b;
}
.n2-ticker-inner {
    display: flex;
    align-items: stretch;
    min-height: 38px;
}
.n2-ticker-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 18px;
    white-space: nowrap;
    flex-shrink: 0;
}
.n2-ticker-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    animation: n2-pulse 1.4s infinite;
}
@keyframes n2-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(0.7);
    }
}
.n2-ticker-track {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 18px;
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.n2-ticker-track ul {
    padding: 0;
    margin: 0;
    height: 20px;
    list-style: none;
}
.n2-ticker-track a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 13.5px;
}
.n2-ticker-date {
    display: flex;
    align-items: center;
    padding: 0 18px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .n2-ticker-date {
        display: none;
    }
}

/* ── Hero section ── */
.n2-hero {
    background: #fff;
    padding: 20px 0 0;
}
.n2-hero-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}
.n2-hero-main {
    position: relative;
    min-height: 460px;
    display: block;
    text-decoration: none !important;
    overflow: hidden;
}
.n2-hero-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.n2-hero-main:hover img {
    transform: scale(1.03);
}
.n2-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 110px 28px 28px;
    background: linear-gradient(
        to top,
        rgba(5, 14, 5, 0.94) 0%,
        transparent 100%
    );
}
.n2-hero-cat {
    display: inline-block;
    background: #c8960c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.n2-hero-title {
    color: #fff !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.28;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n2-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}
/* Rail kanan */
.n2-hero-rail {
    background: #0f2410;
    display: flex;
    flex-direction: column;
}
.n2-hero-rail-hd {
    background: #1b4d1b;
    padding: 12px 16px;
    font-size: 9px;
    font-weight: 900;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}
.n2-rail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none !important;
    /* flex: 1; */
    transition: background 0.18s;
}
.n2-rail-item:last-child {
    border-bottom: 0;
}
.n2-rail-item:hover {
    background: rgba(200, 150, 12, 0.08);
}
.n2-rail-num {
    font-size: 28px;
    font-weight: 900;
    color: rgba(200, 150, 12, 0.22);
    line-height: 1;
    flex-shrink: 0;
    width: 26px;
    text-align: center;
}
.n2-rail-item:first-of-type .n2-rail-num {
    color: rgba(200, 150, 12, 0.7);
}
.n2-rail-body {
    flex: 1;
    min-width: 0;
}
.n2-rail-cat {
    font-size: 9px;
    font-weight: 700;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    display: block;
}
.n2-rail-title {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n2-rail-item:hover .n2-rail-title {
    color: #fff;
}
@media (max-width: 992px) {
    .n2-hero-wrap {
        grid-template-columns: 1fr;
    }
    .n2-hero-main {
        min-height: 300px;
    }
    .n2-hero-rail {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .n2-rail-item {
        flex: 0 0 50%;
    }
    .n2-hero-title {
        font-size: 20px;
    }
}
@media (max-width: 576px) {
    .n2-hero-main {
        min-height: 220px;
    }
    .n2-hero-overlay {
        padding: 60px 16px 18px;
    }
    .n2-hero-title {
        font-size: 17px !important;
    }
    .n2-rail-item {
        flex: 0 0 100%;
    }
}

/* ── Main layout (content + sidebar) ── */
.n2-layout {
    display: grid;
    grid-template-columns: 1fr 290px;
    gap: 28px;
    padding: 28px 0 56px;
    align-items: start;
}
.n2-sidebar {
    position: sticky;
    top: 72px;
}
@media (max-width: 992px) {
    .n2-layout {
        grid-template-columns: 1fr;
    }
    .n2-sidebar {
        position: static;
    }
}

/* ── Section heading ── */
.n2-section {
    margin-bottom: 38px;
}
.n2-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #dde8dd;
    position: relative;
}
.n2-section-hd::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: #c8960c;
}
.n2-section-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #1a2f1a !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.n2-see-all {
    font-size: 12px;
    font-weight: 700;
    color: #c8960c !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.15s;
}
.n2-see-all:hover {
    color: #1b4d1b !important;
}

/* ── Category pill & meta ── */
.n2-cat {
    display: inline-block;
    background: #e6f2e6;
    color: #1b4d1b;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.n2-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #94a3b8;
    flex-wrap: wrap;
}

/* ── Berita Terbaru: 3-col card grid ── */
.n2-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.n2-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}
.n2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(27, 77, 27, 0.13);
}
.n2-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.n2-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.n2-card:hover .n2-card-thumb img {
    transform: scale(1.06);
}
.n2-card-body {
    padding: 14px 14px 16px;
}
.n2-card-cat {
    font-size: 9px;
    font-weight: 800;
    color: #2d6b2d;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: block;
}
.n2-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2f1a;
    line-height: 1.44;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n2-card-meta {
    font-size: 11px;
    color: #94a3b8;
}
@media (max-width: 992px) {
    .n2-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .n2-card-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ── Nasional: featured-main + stacked-list ── */
.n2-featured-wrap {
    display: grid;
    grid-template-columns: 5fr 3fr;
    gap: 18px;
}
.n2-featured-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    background: #0a150a;
    min-height: 260px;
}
.n2-featured-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(52%);
    transition: transform 0.4s;
}
.n2-featured-main:hover img {
    transform: scale(1.04);
}
.n2-featured-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 70px 18px 18px;
    background: linear-gradient(
        to top,
        rgba(5, 12, 5, 0.92) 0%,
        transparent 100%
    );
    border-radius: 0 0 10px 10px;
}
.n2-featured-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.38;
    margin: 6px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n2-featured-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}
.n2-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.n2-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start; /* sebelumnya center */
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-decoration: none !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.18s,
        box-shadow 0.18s;
}
.n2-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(27, 77, 27, 0.12);
}
.n2-list-thumb {
    width: 80px;
    min-width: 80px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.n2-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.n2-list-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.n2-list-cat {
    font-size: 9px;
    font-weight: 700;
    color: #1b4d1b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.n2-list-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a2f1a;
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.n2-list-item:hover .n2-list-title {
    color: #1b4d1b;
}
.n2-list-date {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: auto;
}
@media (max-width: 768px) {
    .n2-featured-wrap {
        grid-template-columns: 1fr;
    }
    .n2-featured-main {
        min-height: 220px;
    }
    .n2-list-wrap {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .n2-list-item {
        flex: 0 0 calc(50% - 6px);
    }
}
@media (max-width: 576px) {
    .n2-list-item {
        flex: 0 0 100%;
    }
}

/* ── Video: 2×2 card grid ── */
.n2-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.n2-video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.22s,
        box-shadow 0.22s;
}
.n2-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(27, 77, 27, 0.13);
}
.n2-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.n2-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(62%);
    transition: transform 0.3s;
}
.n2-video-card:hover .n2-video-thumb img {
    transform: scale(1.05);
}
.n2-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.n2-video-play-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s,
        background 0.2s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.n2-video-card:hover .n2-video-play-btn {
    transform: scale(1.12);
    background: #fff;
}
.n2-video-play-btn i {
    color: #1b4d1b;
    font-size: 15px;
    margin-left: 3px;
}
.n2-video-body {
    padding: 12px 14px 14px;
}
.n2-video-label {
    font-size: 9px;
    font-weight: 800;
    color: #c8960c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
    display: block;
}
.n2-video-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a2f1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 576px) {
    .n2-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Ad wrapper ── */
.n2-ad-wrap {
    position: relative;
    text-align: center;
    padding-top: 10px;
    margin: 16px 0 24px;
}
.n2-ad-label {
    position: absolute;
    top: 0;
    right: 0;
    background: #e8f0e8;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}
.n2-ad-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ============================================================
   SIDEBAR WIDGETS v2  —  n2-sb-* prefix
   ============================================================ */

.n2-sb-root {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Widget card */
.n2-sb-widget {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.n2-sb-widget-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: #1b4d1b;
}
.n2-sb-widget-title {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
}
.n2-sb-see-all {
    font-size: 10px;
    font-weight: 700;
    color: #c8960c !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.15s;
}
.n2-sb-see-all:hover {
    color: #e8b84b !important;
}
.n2-sb-clock-hd {
    background: #163e16 !important;
}

/* Featured post */
.n2-sb-featured {
    display: block;
    text-decoration: none !important;
}
.n2-sb-featured:hover .n2-sb-feat-title {
    color: #1b4d1b;
}
.n2-sb-feat-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.n2-sb-feat-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.n2-sb-featured:hover .n2-sb-feat-thumb img {
    transform: scale(1.05);
}
.n2-sb-feat-body {
    padding: 12px 14px 10px;
}
.n2-sb-feat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}
.n2-sb-feat-time {
    font-size: 10px;
    color: #94a3b8;
}
.n2-sb-feat-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1a2f1a;
    line-height: 1.44;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.n2-sb-feat-author {
    font-size: 11px;
    color: #94a3b8;
    padding-bottom: 2px;
}

/* Small post list */
.n2-sb-post-list {
    background: #f8fbf8;
}
.n2-sb-post-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-top: 1px solid #eaf2ea;
    text-decoration: none !important;
    transition: background 0.15s;
}
.n2-sb-post-item:hover {
    background: #f0f7ee;
}
.n2-sb-post-item:hover .n2-sb-post-title {
    color: #c8960c;
}
.n2-sb-post-thumb {
    width: 58px;
    min-width: 58px;
    height: 46px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}
.n2-sb-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.n2-sb-post-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

/* Popular numbered list */
.n2-sb-popular-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f5ee;
    text-decoration: none !important;
    transition: background 0.15s;
}
.n2-sb-popular-item:last-child {
    border-bottom: 0;
}
.n2-sb-popular-item:hover {
    background: #fafdf6;
}
.n2-sb-popular-num {
    flex-shrink: 0;
    width: 44px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: #d4e4d4;
    border-right: 1px solid #f0f5ee;
    transition: color 0.15s;
}
.n2-sb-popular-item:nth-child(-n + 3) .n2-sb-popular-num {
    color: #c8960c;
}
.n2-sb-popular-item:nth-child(1) .n2-sb-popular-num {
    color: #1b4d1b;
}
.n2-sb-popular-title {
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    line-height: 1.42;
    margin: 0;
    padding: 10px 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.n2-sb-popular-item:hover .n2-sb-popular-title {
    color: #1b4d1b;
}

/* Tag cloud */
.n2-sb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 14px;
    background: #fff;
}
.n2-sb-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: transparent;
    color: #1b4d1b !important;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    border: 1.5px solid #b8d4b8;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}
.n2-sb-tags a:hover {
    background: #1b4d1b;
    color: #c8960c !important;
    border-color: #1b4d1b;
}

/* WIB Clock */
.n2-sb-clock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 16px;
}
.n2-sb-clock-date {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.n2-sb-clock-day {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}
.n2-sb-clock-full {
    font-size: 13px;
    color: #1b4d1b;
    font-weight: 700;
}
.n2-sb-clock-digits {
    display: flex;
    align-items: center;
    gap: 4px;
}
.n2-sb-clock-group {
    display: flex;
    gap: 3px;
}
.n2-sb-clock-digit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 38px;
    background: #1b4d1b;
    color: #c8960c;
    font-size: 21px;
    font-weight: 700;
    border-radius: 5px;
    font-family: monospace;
}
.n2-sb-clock-sep {
    font-size: 22px;
    font-weight: 700;
    color: #1b4d1b;
    line-height: 1;
}

/* Sidebar ad */
.n2-sb-ad {
    position: relative;
    text-align: center;
    padding-top: 8px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    border-top: 3px solid #c8960c;
}
.n2-sb-ad-label {
    position: absolute;
    top: -1px;
    right: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 0 0 4px 4px;
    letter-spacing: 0.04em;
}
.n2-sb-ad-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   FOOTER OVERRIDE  —  ft-* refinements
   ============================================================ */

.ft-root {
    background: #0d2b0d;
    color: #b0c8b0;
    font-size: 13.5px;
    margin-top: 0;
}
.ft-accent-line {
    height: 4px;
    background: linear-gradient(
        90deg,
        #c8960c 0%,
        #e8b84b 40%,
        #2d6b2d 70%,
        #1b4d1b 100%
    );
}
.ft-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 0.7fr 1.3fr;
    gap: 32px;
    padding: 44px 0 36px;
}
.ft-logo {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}
.ft-tagline {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c8960c;
    margin: 0 0 8px;
}
.ft-desc {
    font-size: 13px;
    color: #7a9c7a;
    line-height: 1.65;
    margin: 0 0 18px;
}
.ft-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ft-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0c8b0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}
.ft-social-btn:hover {
    background: #c8960c;
    color: #fff !important;
    border-color: #c8960c;
}
.ft-col-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin: 0 0 16px;
}
.ft-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.ft-links li {
    display: flex;
    align-items: center;
    gap: 7px;
}
.ft-links li::before {
    content: "›";
    color: #c8960c;
    font-size: 15px;
    line-height: 1;
}
.ft-links a {
    color: #7a9c7a !important;
    text-decoration: none !important;
    font-size: 13px;
    transition: color 0.15s;
}
.ft-links a:hover {
    color: #c8960c !important;
}
.ft-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ft-contact-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.ft-contact-list li i {
    color: #c8960c;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.ft-contact-list span,
.ft-contact-list a {
    font-size: 13px;
    color: #7a9c7a !important;
    text-decoration: none !important;
    line-height: 1.5;
}
.ft-contact-list a:hover {
    color: #c8960c !important;
}
.ft-bottom {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px 0;
    text-align: center;
}
.ft-bottom span {
    font-size: 12px;
    color: #4a6a4a;
}
@media (max-width: 1100px) {
    .ft-main { grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; padding: 36px 0 28px; }
    .ft-brand { grid-column: 1 / -1; }
    .ft-contact { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .ft-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0 24px; }
    .ft-brand { grid-column: 1 / -1; }
    .ft-contact { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .ft-main { grid-template-columns: 1fr 1fr; gap: 24px 20px; padding: 28px 0 20px; }
    .ft-brand { grid-column: 1 / -1; }
    .ft-contact { grid-column: 1 / -1; }
    .ft-desc { font-size: 13px; margin-bottom: 14px; }
    .ft-bottom { padding: 16px 0 20px; }
}
@media (max-width: 400px) {
    .ft-main { grid-template-columns: 1fr; gap: 22px; padding: 26px 4px 18px; }
}

/* ── Contact page ── */
.n2-contact-wrap {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 28px;
    padding: 32px 0 56px;
    align-items: start;
}
.n2-contact-intro { font-size: 15px; line-height: 1.7; color: #2c3a2c; margin-bottom: 24px; }
.n2-contact-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.n2-contact-form-card h3 {
    font-size: 16px; font-weight: 700; color: #1a2f1a;
    margin: 0 0 20px; padding-bottom: 12px;
    border-bottom: 2px solid #dde8dd; position: relative;
}
.n2-contact-form-card h3::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 40px; height: 2px; background: #c8960c;
}
.n2-contact-map {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    position: sticky; top: 80px;
    background: #e8f0e8; min-height: 280px;
}
.n2-contact-map iframe { width: 100%; min-height: 360px; display: block; border: none; }
.n2-contact-form .form-control {
    border: 1.5px solid #dde8dd; border-radius: 8px;
    padding: 9px 14px; font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.n2-contact-form .form-control:focus {
    border-color: #1b4d1b; box-shadow: 0 0 0 3px rgba(27,77,27,.1); outline: none;
}
.n2-contact-form .form-label { font-size: 13px; font-weight: 600; color: #334155; }
.n2-contact-btn {
    background: #1b4d1b; color: #fff; border: none; border-radius: 8px;
    padding: 11px 28px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.n2-contact-btn:hover { background: #c8960c; }
@media (max-width: 768px) {
    .n2-contact-wrap { grid-template-columns: 1fr; }
    .n2-contact-map { position: static; }
}
@media (max-width: 576px) { .n2-contact-form-card { padding: 20px 16px; } }

/* ── FAQ page ── */
.n2-faq-wrap { padding: 32px 0 56px; max-width: 860px; }
.n2-faq-intro { margin-bottom: 24px; }
.n2-faq-list { display: flex; flex-direction: column; gap: 10px; }
.n2-faq-list .accordion-item {
    border: none !important; border-radius: 10px !important;
    overflow: hidden; box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.n2-faq-list .accordion-button {
    font-size: 15px !important; font-weight: 700 !important;
    color: #1a2f1a !important; background: #fff !important;
    padding: 16px 20px !important; border-radius: 10px !important;
    border: none !important; box-shadow: none !important;
}
.n2-faq-list .accordion-button:not(.collapsed) {
    color: #1b4d1b !important; background: #f5faf3 !important; box-shadow: none !important;
}
.n2-faq-list .accordion-button::after {
    filter: invert(27%) sepia(49%) saturate(527%) hue-rotate(87deg) brightness(93%) contrast(89%);
}
.n2-faq-list .accordion-body {
    font-size: 14.5px; line-height: 1.75; color: #2c3a2c;
    padding: 4px 20px 20px !important;
    background: #fff; border-top: 1px solid #eef4ee;
}

/* ── Gallery pages ── */
.n2-gallery-wrap { padding: 28px 0 56px; }
.n2-vgal-grid, .n2-pgal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}
.n2-gal-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    display: block; text-decoration: none !important;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
    transition: transform .22s, box-shadow .22s;
}
.n2-gal-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(27,77,27,.13); }
.n2-gal-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.n2-gal-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(65%); transition: transform .3s, filter .3s;
}
.n2-gal-card:hover .n2-gal-thumb img { transform: scale(1.05); filter: brightness(75%); }
.n2-gal-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.n2-gal-play, .n2-gal-plus {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, background .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.n2-gal-card:hover .n2-gal-play,
.n2-gal-card:hover .n2-gal-plus { transform: scale(1.12); background: #fff; }
.n2-gal-play i { color: #1b4d1b; font-size: 14px; margin-left: 3px; }
.n2-gal-plus i { color: #1b4d1b; font-size: 16px; }
.n2-gal-body { padding: 10px 12px 13px; }
.n2-gal-caption {
    font-size: 13px; font-weight: 600; color: #1a2f1a; margin: 0 0 4px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.n2-gal-date { font-size: 11px; color: #94a3b8; }
@media (max-width: 992px) { .n2-vgal-grid, .n2-pgal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .n2-vgal-grid, .n2-pgal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .n2-vgal-grid, .n2-pgal-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

footer.ft-root {
    padding: 0 !important;
    margin-top: 0 !important;
}

main {
    min-height: unset !important;
}

/* ============================================================
   HALAMAN UMUM  —  page header, breadcrumb, prose, list pages
   ============================================================ */

/* ── Page header (judul + breadcrumb) ── */
.n2-page-hd {
    background: #fff;
    border-bottom: 2px solid #dde8dd;
    padding: 20px 0 18px;
    position: relative;
}
.n2-page-hd::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 60px; height: 2px;
    background: #c8960c;
}
.n2-page-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1a2f1a !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
    letter-spacing: -.01em;
}
@media (max-width: 576px) {
    .n2-page-title { font-size: 20px !important; }
}

/* ── Breadcrumb ── */
.n2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0; margin: 0;
}
.n2-breadcrumb a {
    font-size: 12.5px;
    font-weight: 500;
    color: #1b4d1b !important;
    text-decoration: none !important;
    transition: color .15s;
}
.n2-breadcrumb a:hover { color: #c8960c !important; }
.n2-breadcrumb-sep { font-size: 13px; color: #94a3b8; }
.n2-breadcrumb-current { font-size: 12.5px; color: #64748b; }

/* ── Full-width prose pages (about, terms, privacy, dll.) ── */
.n2-prose-wrap { padding: 32px 0 56px; }
.n2-prose-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 40px 44px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    font-size: 15px;
    line-height: 1.8;
    color: #2c3a2c;
    max-width: 860px;
}
.n2-prose-card h1,
.n2-prose-card h2,
.n2-prose-card h3,
.n2-prose-card h4 {
    color: #1a2f1a;
    font-weight: 700;
    margin-top: 1.6em;
    line-height: 1.3;
}
.n2-prose-card h2 { font-size: 20px; }
.n2-prose-card h3 { font-size: 17px; }
.n2-prose-card p { margin-bottom: 1em; }
.n2-prose-card a { color: #1b4d1b; text-decoration: underline; }
.n2-prose-card a:hover { color: #c8960c; }
.n2-prose-card img { max-width: 100%; border-radius: 8px; margin: 1.2em 0; }
.n2-prose-card ul,
.n2-prose-card ol { padding-left: 1.6em; margin-bottom: 1em; }
.n2-prose-card li { margin-bottom: .4em; }
@media (max-width: 768px) {
    .n2-prose-card { padding: 24px 20px 28px; font-size: 14px; }
}
@media (max-width: 576px) {
    .n2-prose-card { padding: 18px 16px 22px; }
}

/* ── Empty / no-posts state ── */
.n2-no-posts {
    background: #fff;
    border-radius: 12px;
    padding: 52px 24px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.n2-no-posts-icon { font-size: 38px; color: #c8d8c8; margin-bottom: 14px; }
.n2-no-posts-text { font-size: 16px; font-weight: 700; color: #4a6a4a; margin: 0 0 6px; }
.n2-no-posts-sub { font-size: 13px; color: #94a3b8; margin: 0; }

/* ── Pagination wrapper ── */
.n2-pagination { margin-top: 28px; }
.n2-pagination .pagination { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; list-style: none; }
.n2-pagination .page-item .page-link {
    border-radius: 6px !important;
    border: 1.5px solid #dde8dd !important;
    color: #1b4d1b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    background: #fff !important;
    transition: background .15s, color .15s, border-color .15s !important;
    box-shadow: none !important;
}
.n2-pagination .page-item.active .page-link {
    background: #1b4d1b !important;
    border-color: #1b4d1b !important;
    color: #fff !important;
}
.n2-pagination .page-item .page-link:hover {
    background: #f0f7ee !important;
    border-color: #1b4d1b !important;
    color: #1b4d1b !important;
}
.n2-pagination .page-item.disabled .page-link {
    color: #94a3b8 !important;
    border-color: #f0f0f0 !important;
    background: #fafafa !important;
}

/* ============================================================
   HALAMAN LOGIN AUTHOR
   ============================================================ */
.n2-login-wrap {
    min-height: calc(100vh - 119px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background: #f0f4f0;
}
.n2-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(27,77,27,.13);
}
.n2-login-head {
    background: #1b4d1b;
    padding: 30px 32px 26px;
    text-align: center;
}
.n2-login-logo {
    height: 46px;
    width: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(0) invert(1);
}
.n2-login-head-title {
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    letter-spacing: .3px;
}
.n2-login-body { padding: 32px 32px 28px; }
.n2-login-field { margin-bottom: 18px; }
.n2-login-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.n2-login-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.n2-login-input:focus {
    border-color: #1b4d1b;
    box-shadow: 0 0 0 3px rgba(27,77,27,.08);
}
.n2-login-btn {
    width: 100%;
    padding: 12px;
    background: #1b4d1b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    margin-top: 6px;
    letter-spacing: .3px;
}
.n2-login-btn:hover { background: #2d6b2d; }
.n2-login-foot {
    margin-top: 16px;
    text-align: center;
    padding-bottom: 4px;
}
.n2-login-foot a {
    color: #c8960c;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}
.n2-login-foot a:hover { text-decoration: underline; }
.n2-login-error { color: #dc2626; font-size: 12px; margin-top: 5px; }
.n2-login-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 7px;
    color: #15803d;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 18px;
    text-align: center;
}
@media (max-width: 576px) {
    .n2-login-wrap { padding: 28px 12px; }
    .n2-login-body { padding: 24px 22px 22px; }
    .n2-login-head { padding: 26px 22px 22px; }
}

/* ============================================================
   BRAND CONSISTENCY OVERRIDES
   ============================================================ */

/* ── Font: Roboto sebagai default seluruh front-end ── */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, td, th, input, button, select, textarea {
    font-family: 'Roboto', sans-serif;
}

/* ── Scroll-to-top button ── */
.scroll-top {
    background-image: none !important;
    background-color: #1b4d1b !important;
    background: #1b4d1b !important;
    color: #c8960c !important;
    border-radius: 8px !important;
    opacity: 1 !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 18px !important;
    box-shadow: 0 4px 14px rgba(27,77,27,.28) !important;
    transition: background .2s, transform .2s, box-shadow .2s !important;
}
.scroll-top:hover {
    background: #c8960c !important;
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(200,150,12,.32) !important;
}

/* ── Tag / badge chip (post_detail_tags) ── */
.tag-section-content .badge,
.tag-section-content a .badge {
    background-image: none !important;
    background-color: #1b4d1b !important;
    background: #1b4d1b !important;
    color: #c8960c !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    transition: background .18s !important;
}
.tag-section-content a:hover .badge {
    background: #c8960c !important;
    color: #fff !important;
}

/* ── Berita Terkait — Owl Carousel nav arrows ── */
.related-news .owl-nav .owl-prev,
.related-news .owl-nav .owl-next {
    background-image: none !important;
    background-color: #1b4d1b !important;
    background: #1b4d1b !important;
    color: #c8960c !important;
    border-radius: 6px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    transition: background .18s !important;
}
.related-news .owl-nav .owl-prev:hover,
.related-news .owl-nav .owl-next:hover {
    background: #c8960c !important;
    color: #fff !important;
}
.related-news .owl-dots .owl-dot span {
    background: #c8d8c8 !important;
}
.related-news .owl-dots .owl-dot.active span,
.related-news .owl-dots .owl-dot:hover span {
    background: #1b4d1b !important;
}

/* ── Related post category badge ── */
.related-news .item .category span,
.related-news .item .category span a,
.post-category {
    background: #1b4d1b !important;
    color: #fff !important;
    padding: 2px 10px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

/* ============================================================
   NEWS DETAIL — n2-article
   ============================================================ */

/* ── Wrapper artikel ── */
.n2-article {
    min-width: 0;
}

/* ── Header: kategori + judul + meta ── */
.n2-art-header {
    margin-bottom: 20px;
}
.n2-art-cat {
    display: inline-block;
    background: #1b4d1b;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    margin-bottom: 12px;
    transition: background .18s;
}
.n2-art-cat:hover { background: #c8960c !important; color: #fff !important; }

.n2-art-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f1a0f !important;
    line-height: 1.35 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -.02em;
}
@media (max-width: 768px) { .n2-art-title { font-size: 22px !important; } }
@media (max-width: 576px) { .n2-art-title { font-size: 19px !important; } }

.n2-art-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    background: #f4f6f4;
    border-left: 3px solid #1b4d1b;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0;
}
.n2-art-meta-item {
    font-size: 12.5px;
    color: #4b6b4b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.n2-art-meta-item i { color: #1b4d1b; font-size: 11px; }
.n2-art-meta-sep { color: #94a3b8; font-size: 14px; font-weight: 300; }

/* ── Foto utama ── */
.n2-art-photo {
    margin: 20px 0 24px;
    border-radius: 12px;
    overflow: hidden;
}
.n2-art-photo img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
.n2-art-photo .gallery-lightbox-single { display: block; border-radius: 12px; overflow: hidden; }
.n2-art-photo .gallery-lightbox-single img { border-radius: 12px; }
.n2-art-photo-caption {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    margin: 8px 0 0;
    padding: 0 4px;
}

/* Gallery slider dalam artikel */
.n2-art-photo .post-gallery-slider .owl-dot.active span,
.n2-art-photo .post-gallery-slider .owl-dot:hover span {
    background: #1b4d1b !important;
}

/* ── Isi artikel (tipografi) ── */
.n2-art-body {
    font-size: 16px;
    line-height: 1.85;
    color: #1e2e1e;
    margin-bottom: 28px;
}
.n2-art-body p { margin-bottom: 1.2em; }
.n2-art-body h2 { font-size: 20px; font-weight: 700; color: #0f1a0f; margin: 1.6em 0 .6em; }
.n2-art-body h3 { font-size: 17px; font-weight: 700; color: #0f1a0f; margin: 1.4em 0 .5em; }
.n2-art-body a { color: #1b4d1b; text-decoration: underline; }
.n2-art-body a:hover { color: #c8960c; }
.n2-art-body img { max-width: 100%; border-radius: 8px; margin: 1em 0; }
.n2-art-body blockquote {
    border-left: 4px solid #c8960c;
    background: #fdf9f0;
    padding: 14px 20px;
    margin: 1.4em 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b3a0f;
}
.n2-art-body ul, .n2-art-body ol { padding-left: 1.6em; margin-bottom: 1em; }
.n2-art-body li { margin-bottom: .4em; }
@media (max-width: 576px) { .n2-art-body { font-size: 15px; line-height: 1.75; } }

/* ── Footer artikel (tag section) ── */
.n2-art-footer {
    padding: 20px 0;
    border-top: 1px solid #e8f0e8;
    border-bottom: 1px solid #e8f0e8;
    margin-bottom: 32px;
}
.n2-art-footer .tag-section h2 {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: #6b7280 !important;
    margin-bottom: 10px !important;
    border: none !important;
}

/* ── Berita terkait ── */
.related-news { margin-top: 0; }
.related-news .related-news-heading h2 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f1a0f !important;
    border-bottom: 2px solid #e0e8e0 !important;
    padding-bottom: 10px !important;
    position: relative;
}
.related-news .related-news-heading h2::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 56px; height: 2px;
    background: #c8960c;
}
