
/* =====================================
   RUBRIK DAERAH - PEKANBARUTV
   Mengikuti layout rubrik Hukum
===================================== */

/* DESKTOP DAN MOBILE */

.daerah-desktop {
    display: block;
}

.daerah-mobile {
    display: none;
}

.daerah-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* NAVIGASI WILAYAH */

.daerah-navigasi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    margin: 0 0 22px;
    background: #ffffff;
    border: 1px solid #e8ebef;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.035);
    box-sizing: border-box;
}

.daerah-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.daerah-heading-line {
    display: block;
    width: 4px;
    height: 38px;
    background: #d71920;
    border-radius: 5px;
}

.daerah-heading-small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #888;
}

.daerah-heading h2 {
    margin: 2px 0 0;
    font-size: 17px;
    font-weight: 700;
    color: #172b45;
    text-transform: uppercase;
}

/* DROPDOWN WILAYAH */

.daerah-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 260px;
    height: 43px;
    padding: 0 13px;
    background: #f7f9fb;
    border: 1px solid #e0e5eb;
    border-radius: 5px;
    color: #53657a;
    box-sizing: border-box;
}

.daerah-select-wrap > .fa-location-dot {
    font-size: 14px;
    color: #d71920;
}

.daerah-select {
    width: 100%;
    height: 100%;
    padding: 0 28px 0 10px;
    border: none;
    outline: none;
    appearance: none;
    background: transparent;
    color: #172b45;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.daerah-select-arrow {
    position: absolute;
    right: 13px;
    pointer-events: none;
    font-size: 11px;
}

/* JUDUL WILAYAH */

.daerah-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 15px;
}

.daerah-title > span {
    flex: 0 0 5px;
    width: 5px;
    height: 25px;
    background: #d71920;
    border-radius: 3px;
}

.daerah-title h1 {
    margin: 0;
    color: #172b45;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
}

/* JUDUL BERITA TERBARU */

.daerah-section-title {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ebef;
    color: #172b45;
    font-size: 19px;
    font-weight: 700;
}

.daerah-desktop .daerah-section-title,
.daerah-desktop .daerah-section-title:hover,
.daerah-desktop .daerah-section-title:focus,
.daerah-desktop .daerah-section-title:active {
    color: #172b45 !important;
    background: transparent !important;
    text-decoration: none !important;
    cursor: default !important;
    transform: none !important;
    box-shadow: none !important;
}

/* =====================================
   ARTIKEL DESKTOP
   GAMBAR KIRI - TEKS KANAN
===================================== */

.daerah-desktop .daerah-artikel {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecef;
    box-sizing: border-box;
}

.daerah-desktop .daerah-gambar {
    display: block;
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
    background: #f0f0f0;
}
.daerah-desktop .daerah-gambar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.daerah-desktop .daerah-artikel:hover .daerah-gambar img {
    transform: scale(1.04);
}

.daerah-desktop .daerah-info {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.daerah-desktop .daerah-meta {
    display: block;
    margin-bottom: 7px;
     font-family: 'Open Sans', sans-serif;
    font-size: 12px;
     font-weight: bold;
}

.daerah-desktop .daerah-info h2 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
}

.daerah-desktop .daerah-info h2 a {
    color: #222;
    text-decoration: none;
}

.daerah-desktop .daerah-info h2 a:hover {
    color: #d71920;
}

.daerah-desktop .daerah-info p {
    margin: 0;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.6;
}


/* BERITA KOSONG */

.daerah-empty {
    padding: 40px 15px;
    text-align: center;
    color: #888;
    border: 1px solid #eee;
    border-radius: 5px;
}

.daerah-empty i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
}

.daerah-empty p {
    margin: 0;
    font-size: 13px;
}

/* HALAMAN TIDAK DITEMUKAN */

.daerah-error {
    padding: 40px 20px;
    text-align: center;
}

/* =====================================
   MOBILE
===================================== */

@media screen and (max-width: 768px) {

    .daerah-desktop {
        display: none;
    }

    .daerah-mobile {
        display: block;
    }

    .daerah-mobile-content {
        margin: 10px;
        font-family: 'Poppins', sans-serif;
    }

    .daerah-mobile .daerah-navigasi {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 15px;
        margin: 10px 0 18px;
    }

    .daerah-mobile .daerah-heading h2 {
        font-size: 15px;
    }

    .daerah-mobile .daerah-select-wrap {
        width: 100%;
        height: 44px;
    }

    .daerah-mobile .daerah-title {
        margin: 15px 0 10px;
    }

    .daerah-mobile .daerah-title h1 {
        font-size: 19px;
    }

    .daerah-mobile .container_teks {
        display: flex;
    }

    .daerah-mobile .daerah-empty {
        padding: 25px 12px;
    }

}

/* MOBILE KECIL */

@media screen and (max-width: 380px) {

    .daerah-mobile .daerah-heading h2 {
        font-size: 14px;
    }

    .daerah-mobile .daerah-title h1 {
        font-size: 17px;
    }

}

/* KUNCI JUDUL BERITA TERBARU */
.wrapper-2kolom .left .artikel h3.daerah-section-title,
.wrapper-2kolom .left .artikel h3.daerah-section-title:hover {
    color: #172b45 !important;
    background: none !important;
    text-decoration: none !important;
    transform: none !important;
    box-shadow: none !important;
    cursor: default !important;
    transition: none !important;
}

h3.daerah-section-title:hover {
    color: #172b45 !important;
}