/* ================================================================
   FILE INI DIPECAH PER-SECTION SUPAYA GAMPANG DICARI.
   Urutan section mengikuti urutan tampilan di halaman beranda.

   PRINSIP SPACING & KONTRAS YANG DIPAKAI DI FILE INI:
   - Background halaman (body) dibikin abu muda (#f4f5f7).
   - Section yang isinya "kartu" (card) dibiarkan di atas abu muda itu,
     supaya kartu putihnya kelihatan mengambang (ada shadow + jarak).
   - Section tertentu (Berita, Profil) dikasih background PUTIH PENUH
     supaya berselang-seling dengan body abu-abu → mata jadi istirahat
     tiap ganti section, gak keliatan menyatu semua.
   - Semua section pakai jarak vertikal seragam lewat class .tpl4-section
     (70px atas-bawah di desktop, 48px di HP) jadi gak ada section yang
     dempet ke section lain.
   ================================================================ */

/* ================================================================
   0. GLOBAL / BASE
   ================================================================ */
/* ================================================================
   FONT SYSTEM — diselaraskan dengan font yang sudah di-load di <head>
   (Poppins untuk judul/label tegas, Inter untuk body & UI, supaya
   nyambung sama redesign-content.css & redesign-header-footer.css
   yang sebelumnya inherit font browser default).
   ================================================================ */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, table, input, button {
    font-family: 'Inter', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.tpl4-section-title, .tpl4-section-label,
.search-title-content h1, .search-title-content h4,
.lip-title, .lip-eyebrow, .lip-panel-title,
.tpl4-berita-hero-title, .tpl4-berita-card-title, .tpl4-berita-badge, .tpl4-berita-tab,
.kal-month-label, .kal-detail-title, .kal-list-title,
.sgm-info-title, .sgm-info-value, .sgm-info-eyebrow, .sgm-legend-title,
.tpl4-stat-num, .tpl4-stat-lbl,
.pres-title, .pres-eyebrow, .pres-card-title,
.gal-item-name, .gal-tile-name,
.insta-card-title,
.tpl4-profil-img-body h3, .tpl4-profil-tab,
.tpl4-pimpinan-card h4,
.nav-header a, .navbar-brand span,
.footer-redesign h3, .footer-redesign h4,
.tpl4-btn-primary, .btn-kategori-berita, .btn-rubrik-masyarakat,
.mp-station {
    font-family: 'Poppins', sans-serif;
}

hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.card {
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, 0.14), 0 1px 4px rgba(0, 0, 0, 0.16);
}

/* ================================================================
   0.5 GLOBAL LAYOUT SYSTEM — jarak & kontras dasar seluruh halaman
   (.tpl4-container, .tpl4-section, .tpl4-section-header, dst)
   ================================================================ */
body {
    background-color: #f4f5f7;
}

.tpl4-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Jarak vertikal seragam untuk tiap section besar */
.tpl4-section {
    padding: 70px 0;
}

.tpl4-section-header {
    margin-bottom: 36px;
    max-width: 640px;
}

.tpl4-section-label {
    display: inline-block;
    color: #b90b0c;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tpl4-section-title {
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tpl4-section-sub {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.tpl4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #b90b0c;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 8px;
    transition: background .15s ease;
}

.tpl4-btn-primary:hover {
    background: #8a0809;
    color: #fff;
    text-decoration: none;
}

/* Section yang backgroundnya diputihkan supaya berselang-seling
   dengan body abu-abu → kontrasnya kerasa tiap ganti section */
#tpl4-berita,
#tpl4-profil {
    background: #ffffff;
}

/* Extra jarak untuk blok yang dibungkus .container.mt-5 polos
   (Layanan & Informasi Publik, Kalender Kegiatan) supaya lega,
   tanpa perlu ubah markup blade */
.container:has(> .lip-box) {
    margin-top: 90px !important;
    margin-bottom: 90px !important;
}

.container:has(> .lip-header) {
    margin-top: 90px !important;
    margin-bottom: 90px !important;
}

/* ================================================================
   1. HERO BANNER (carousel utama + search bar)
   ================================================================ */
.slide .carousel-item .carousel-image {
    border-bottom-left-radius: 1200px 120px;
    border-bottom-right-radius: 1200px 120px;
    filter: brightness(0.9);
    -webkit-filter: brightness(0.9);
    -moz-filter: brightness(0.9);
    -o-filter: brightness(0.9);
    -ms-filter: brightness(0.9);
}

.search-title-content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 750px;
    z-index: 99;
}

.search-title-content .image {
    text-align: center;
}

.search-title-content .image img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.search-title-content h1 {
    font-weight: bold;
}

.search-title-content h1,
.search-title-content h4 {
    text-shadow: 2px 2px 4px #000000;
    color: white;
}

.search-title-content .input-group [type="text"].form-control {
    height: 37px;
    font-size: 15px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border: 2px solid #b90b0c;
    padding: 0.3rem 1rem;
}

.search-title-content .input-group-append .btn {
    height: 37px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    background-color: #b90b0c;
}

.search-title-content .input-group [type="text"].form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(153, 51, 51, 0.25);
}

/* ================================================================
   2. RUNNING TEXT (marquee info bar)
   ================================================================ */
.running-text {
    margin-top: 40px !important;
    margin-bottom: 10px;
}

.running-text .marquee-info {
    background-color: #b90b0c;
    width: 100%;
    height: 50px;
    border-radius: 10px 0px 0px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.running-text .marquee-content {
    background-color: white;
    padding: 0px;
    border-radius: 0px 7px 7px 0px;
    border: 2px solid #b90b0c;
    margin-left: -2px;
}

.running-text .marquee-content marquee {
    font-size: 15px;
    color: #000000;
    font-weight: 600;
}

.marquee-content a:hover {
    color: rgb(26, 26, 26);
}

/* ================================================================
   3. LAYANAN & INFORMASI PUBLIK (.lip-*)
   ================================================================ */
.lip-box {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.lip-pane {
    display: none;
}

.lip-pane.lip-pane-active {
    display: block;
}

.lip-eyebrow {
    color: #b90b0c;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.lip-title {
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 4px;
}

.lip-subtitle {
    color: #6c757d;
    max-width: 650px;
}

.lip-header {
    margin-bottom: 12px;
}

.lip-main-tabs {
    list-style: none;
    border-bottom: 1px solid #eee;
    margin-top: 10px;
    gap: 8px;
}

.lip-main-tab-btn {
    border: none;
    background: transparent;
    padding: 10px 4px;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 3px solid transparent;
}

.lip-main-tab-btn.active {
    color: #b90b0c;
    border-bottom-color: #b90b0c;
}

.lip-sidebar {
    background: #f7f7f8;
    border-radius: 14px;
    padding: 8px;
}

.lip-sidebar-item {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    color: #333;
    border-left: 3px solid transparent;
}

.lip-sidebar-item.active {
    color: #b90b0c;
    border-left-color: #b90b0c;
    background: #fff;
}

.lip-panel {
    padding-left: 24px;
}

.lip-panel-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.lip-panel-sub {
    color: #6c757d;
    margin-bottom: 16px;
}

.lip-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f7f7f8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background .15s;
}

.lip-item-row:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.lip-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f3d3d3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b90b0c;
}

.lip-item-title {
    font-weight: 600;
    font-size: 15px;
}

.lip-item-sub {
    font-size: 13px;
    color: #6c757d;
}

.lip-item-arrow {
    margin-left: auto;
    color: #adb5bd;
}

.lip-link-more {
    color: #b90b0c;
    font-weight: 600;
    text-decoration: underline;
}

.lip-card {
    display: block;
    background: #f7f7f8;
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.lip-card:hover {
    background: #f0f0f0;
    color: inherit;
    text-decoration: none;
}

.lip-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lip-card-label {
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

/* ================================================================
   4. INFORMASI LAYANAN (modal detail, gambar layanan)
   ================================================================ */
.img-info-layanan > img {
    width: 350px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
}

.bg-info-layanan .deskripsi-info {
    font-size: 18px;
    color: white;
    text-align: justify;
}

.bg-info-layanan .info-layanan-lengkap {
    margin-top: 1rem;
}

.bg-info-layanan .info-layanan-lengkap > button {
    border-radius: 30px;
    padding: 6px 28px;
    background-color: #f1f1f1;
    color: black;
    font-weight: 600;
    border: 2px solid #FF5722;
    font-size: 14px;
}

.info-layanan-expand .modal-header > .modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #770000;
}

.info-layanan-expand .modal-header > i {
    font-size: 20px;
}

.info-layanan-expand .modal-body .image-info-layanan-detail > img {
    width: 100%;
    max-height: 450px;
    object-fit: scale-down;
}

/* ================================================================
   5. BERITA (.tpl4-berita-*) — SEBELUMNYA BELUM ADA STYLING SAMA SEKALI
   Dibuat baru: hero grid, tabs, filter kategori, grid card.
   ================================================================ */
.tpl4-berita-hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.tpl4-berita-hero-main {
    position: relative;
    display: block;
    min-height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.tpl4-berita-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%);
}

.tpl4-berita-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
}

.tpl4-berita-badge {
    display: inline-block;
    background: #b90b0c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.tpl4-berita-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl4-berita-hero-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 0;
}

.tpl4-berita-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tpl4-berita-aside-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.tpl4-berita-aside-item:hover {
    color: inherit;
    text-decoration: none;
}

.tpl4-berita-aside-item:hover .tpl4-berita-aside-title {
    color: #b90b0c;
}

.tpl4-berita-aside-thumb {
    width: 96px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 12px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.tpl4-berita-aside-cat {
    color: #b90b0c;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.tpl4-berita-aside-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s ease;
}

.tpl4-berita-aside-date {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.tpl4-berita-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.tpl4-berita-tab {
    padding: 10px 2px;
    font-weight: 700;
    color: #adb5bd;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tpl4-berita-tab.active {
    color: #b90b0c;
    border-bottom-color: #b90b0c;
}

.tpl4-berita-tab-link {
    margin-left: auto;
    color: #6c757d;
    font-weight: 600;
    cursor: default;
    text-decoration: none;
}

.tpl4-berita-tab-link:hover {
    color: #b90b0c;
    text-decoration: none;
}

.tpl4-berita-kategori-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.btn-kategori-berita {
    background: #f7f7f8;
    border: 1px solid #e9ecef;
    color: #495057;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 30px;
}

.btn-kategori-berita.active,
.btn-kategori-berita:hover {
    background: #b90b0c;
    border-color: #b90b0c;
    color: #fff;
}

.tpl4-berita-tab-content {
    display: none;
}

.tpl4-berita-tab-content.active {
    display: block;
}

.tpl4-berita-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tpl4-berita-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tpl4-berita-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.tpl4-berita-card-thumb {
    height: 160px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.tpl4-berita-card-body {
    padding: 16px;
}

.tpl4-berita-card-cat {
    color: #b90b0c;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.tpl4-berita-card-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tpl4-berita-card-meta {
    font-size: 12px;
    color: #6c757d;
}

.berita-terkini-render.tpl4-berita-grid,
.berita-not-found {
    min-height: 60px;
}

.berita-not-found {
    grid-column: 1 / -1;
    text-align: center;
    color: #adb5bd;
    padding: 40px 0;
}

.berita-not-found .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

/* ================================================================
   6. KALENDER KEGIATAN (.kal-*)
   ================================================================ */
.kal-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.kal-header {
    background: linear-gradient(135deg, #b90b0c, #5a0607);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}

.kal-nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
}

.kal-month-label {
    font-weight: 700;
    font-size: 16px;
}

.kal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 12px 8px 0;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
}

.kal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 6px 8px 16px;
}

.kal-day {
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    cursor: default;
    position: relative;
    color: #333;
}

.kal-day.has-event {
    cursor: pointer;
    font-weight: 600;
}

.kal-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FF9800;
}

.kal-day.kal-day-empty {
    visibility: hidden;
}

.kal-list {
    margin-top: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 14px;
}

.kal-list-item {
    display: flex;
    gap: 12px;
    padding: 10px 6px;
    cursor: pointer;
    border-radius: 10px;
}

.kal-list-item:hover {
    background: #f7f7f8;
}

.kal-list-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eee;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.kal-list-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: #f3d3d3;
    color: #b90b0c;
    margin-bottom: 2px;
}

.kal-list-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.kal-list-sub {
    font-size: 12px;
    color: #6c757d;
}

.kal-detail-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 300px;
}

.kal-detail-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #adb5bd;
    text-align: center;
    padding: 0 30px;
}

.kal-detail-img {
    height: 220px;
    background: linear-gradient(135deg, #b90b0c, #5a0607);
    background-size: cover;
    background-position: center;
    position: relative;
}

.kal-detail-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #FF5722;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.kal-detail-body {
    padding: 20px 24px;
}

.kal-detail-date {
    color: #b90b0c;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.kal-detail-title {
    font-weight: 800;
    margin: 6px 0 12px;
}

.kal-detail-desc {
    color: #495057;
    margin-bottom: 16px;
}

.kal-detail-meta {
    color: #495057;
    font-size: 14px;
    margin-bottom: 6px;
}

.kal-detail-btn {
    display: inline-block;
    background: #b90b0c;
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 10px;
}

.kal-detail-btn:hover {
    background: #8a0809;
    color: #fff;
    text-decoration: none;
}

/* ================================================================
   7. STATISTIKA KOTA - PETA INTERAKTIF (.sgm-*) + KARTU RINGKASAN (.tpl4-stat-*)
   ================================================================ */
.sgm-section {
    padding-top: 10px;
}

.sgm-header {
    margin-bottom: 24px;
}

.sgm-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: stretch;
}

.sgm-map-card,
.sgm-info-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 18px;
}

.sgm-map-wrap {
    position: relative;
    width: 100%;
}

.sgm-map-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}

.sgm-district {
    fill: #f3d3d3;
    stroke: #b90b0c;
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
    cursor: pointer;
    transition: fill .15s ease;
}

.sgm-district:hover {
    fill: #e7a9a9;
}

.sgm-district.active {
    fill: #b90b0c;
}

.sgm-center-dot {
    fill: #b90b0c;
    pointer-events: none;
}

.sgm-district.active ~ .sgm-center-dot {
    fill: #fff;
}

.sgm-label {
    font-size: 11px;
    font-weight: 700;
    fill: #5a0607;
    pointer-events: none;
    text-anchor: middle;
}

.sgm-district.active + .sgm-label {
    fill: #fff;
}

.sgm-caption {
    text-align: center;
    color: #adb5bd;
    font-size: 12px;
    margin-top: 8px;
}

.sgm-legend {
    margin-top: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.sgm-legend-title {
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 8px;
}

.sgm-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    padding: 4px 0;
    cursor: pointer;
}

.sgm-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: #f3d3d3;
    border: 1px solid #b90b0c;
    flex-shrink: 0;
}

.sgm-legend-item.active .sgm-legend-swatch {
    background: #b90b0c;
}

.sgm-legend-item.active {
    font-weight: 700;
    color: #b90b0c;
}

.sgm-info-eyebrow {
    color: #b90b0c;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
}

.sgm-info-title {
    font-weight: 800;
    color: #1a1a1a;
    margin: 2px 0 16px;
}

.sgm-info-row {
    background: #f7f7f8;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.sgm-info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #6c757d;
    text-transform: uppercase;
}

.sgm-info-value {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: 2px;
}

.sgm-info-sub {
    font-size: 12px;
    color: #6c757d;
}

.sgm-bar-track {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 6px;
    display: flex;
}

.sgm-bar-fill {
    height: 100%;
    background: #b90b0c;
}

.sgm-bar-fill.sgm-bar-fill-blue {
    background: #2c6ecb;
}

.sgm-gender-legend {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6c757d;
    margin-top: 4px;
}

/* Kartu ringkasan angka statistik (sebelumnya belum ada styling) */
.tpl4-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tpl4-stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px 18px;
    text-align: center;
}

.tpl4-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f3d3d3;
    color: #b90b0c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
}

.tpl4-stat-num {
    font-weight: 800;
    font-size: 26px;
    color: #1a1a1a;
}

.tpl4-stat-lbl {
    color: #6c757d;
    font-size: 13px;
    margin-top: 4px;
}

/* ================================================================
   8. POLLING & SARAN POPUP (.polling-*)
   ================================================================ */
   body:has(#polling-popup-modal.show) {
    overflow: auto !important;
    padding-right: 0 !important;
}
#polling-popup-modal .modal-content {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

   .polling-popup-content {
    border-radius: 20px;
    border: none;
}

.polling-title {
    font-size: 40px;
}

.polling-rating-scale {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.polling-scale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.polling-scale-item input {
    display: none;
}

.polling-scale-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6c757d;
    transition: all .15s;
}

.polling-scale-item input:checked + .polling-scale-circle {
    background: #b90b0c;
    border-color: #b90b0c;
    color: #fff;
}

.polling-scale-label {
    font-size: 11px;
    color: #6c757d;
    margin-top: 6px;
    max-width: 70px;
    text-align: center;
}

.polling-popup-btn {
    background: #b90b0c;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 28px;
    width: 100%;
}

.polling-popup-btn:hover {
    background: #8a0809;
    color: #fff;
}

.polling-popup-btn-skip {
    background: transparent;
    color: #6c757d;
    font-weight: 600;
    width: 100%;
}

/* ================================================================
   9. PRESTASI & PENGHARGAAN (.pres-*)
   ================================================================ */
.bg-prestasi-penghargaan {
    background-color: #9c0c0d;
}

.pres-section {
    background: linear-gradient(135deg, #7a0a0b 0%, #3d0405 100%);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.pres-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.08);
}

.pres-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.pres-eyebrow {
    color: #FFC107;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
}

.pres-title {
    color: #fff;
    font-weight: 800;
    margin-top: 6px;
}

.pres-carousel {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.pres-card {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.pres-card-photo {
    position: relative;
    flex: 0 0 40%;
    max-width: 40%;
}

.pres-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 260px;
    display: block;
}

.pres-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFC107;
    color: #7a0a0b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pres-card-body {
    flex: 1;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pres-card-link {
    text-decoration: none;
}

.pres-card-title {
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 10px;
}

.pres-card-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.pres-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #FFC107;
    font-size: 13px;
    margin-bottom: 20px;
}

.pres-card-meta i {
    margin-right: 4px;
}

.pres-card-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #FFC107;
    color: #3d0405;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
}

.pres-card-btn:hover {
    background: #ffca2c;
    color: #3d0405;
    text-decoration: none;
}

.pres-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.pres-nav:hover {
    background: #FFC107;
    color: #3d0405;
}

.pres-nav-prev {
    left: -20px;
}

.pres-nav-next {
    right: -20px;
}

.pres-dots {
    position: static;
    margin-top: 24px;
}

.pres-dots li {
    background: rgba(255, 255, 255, 0.35);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
}

.pres-dots li.active {
    background: #FFC107;
    width: 22px;
    border-radius: 4px;
}

#carosell-penghargaan .link-click:hover * {
    color: #FFC107 !important;
}

#carosell-penghargaan .carousel-indicators-bullets li {
    background-color: rgb(255, 255, 255, 0.5);
}

#carosell-penghargaan .carousel-indicators-bullets li.active {
    background-color: #FF9800;
}

/* ================================================================
   10. MAHARDIKA FM - FLOATING PLAYER (.mahardika-*, .mp-*)
   ================================================================ */
.mahardika-floating-player {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #181818;
    color: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
    font-family: inherit;
}

.mahardika-floating-player .mp-station {
    color: #b91d1d;
    font-weight: 700;
    font-size: 16px;
}

.mahardika-floating-player .mp-sub {
    color: #b3b3b3;
    font-size: 13px;
    margin-bottom: 12px;
}

.mahardika-floating-player .mp-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-play-btn {
    background: #fff;
    color: #000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.mp-progress-wrap {
    flex: 1;
}

.mp-progress {
    width: 100%;
    accent-color: #b91d1d;
}

/* ================================================================
   11. GALERI KEGIATAN (.gal-*)
   NOTE: .gal-item / .gal-bento adalah versi bento-grid yang dipakai
   di blade sekarang (galeri-kegiatan-render). .gal-tile dibiarkan
   ada karena mungkin masih dipakai partial AJAX lain (sudah di-dedupe,
   sebelumnya ke-definisi 2x dengan aspect-ratio yang beda-beda).
   ================================================================ */
.galery a > h1 {
    font-size: 40px;
}

.galery .galery-col {
    flex: 0 0 53%;
    max-width: 53%;
    padding: 0px 15px;
}

.galeri-filter.owl-carousel .owl-dots {
    display: none;
}

.gal-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
}

.gal-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gal-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 55%);
    display: flex;
    align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .25s ease;
}

.gal-tile-name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.gal-tile:hover img {
    transform: scale(1.06);
}

.gal-tile:hover .gal-tile-overlay {
    opacity: 1;
}

.gal-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

.gal-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gal-item:hover img {
    transform: scale(1.06);
}

.gal-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 55%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity .25s ease;
}

.gal-item:hover .gal-item-overlay {
    opacity: 1;
}

.gal-item-name {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* Kalau gambar gagal load: jadi kartu warna solid + nama di tengah */
.gal-item-noimg {
    background: linear-gradient(135deg, #b90b0c, #5a0607);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-item-noimg .gal-item-overlay {
    opacity: 1;
    position: static;
    background: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gal-item-noimg .gal-item-name {
    font-size: 16px;
}

.gal-empty-state {
    text-align: center;
    color: #adb5bd;
    padding: 40px 0;
}

.gal-empty-state i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

/* ================================================================
   12. VIDEO KEGIATAN
   ================================================================ */
.video-kegiatan {
    margin-top: 80px !important;
    margin-bottom: 80px !important;
}

.carousel-container {
    position: relative;
}

.btn-nav-video-kegiatan {
    position: absolute;
    top: 80px;
    width: 45px;
    height: 45px;
    bottom: 0;
    z-index: 1;
    border: 2px solid #a6201d;
    border-radius: 50%;
    font-size: 17px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.1);
}

.btn-nav-video-kegiatan#video-kegiatan-carousel-next {
    right: -5px;
}

.btn-nav-video-kegiatan#video-kegiatan-carousel-prev {
    left: -5px;
}

/* ================================================================
   13. RUBRIK MASYARAKAT — SEBELUMNYA BELUM ADA STYLING (FIX)
   ================================================================ */
.rubrik-masyarakat-container {
    background: linear-gradient(135deg, #7a0a0b 0%, #3d0405 100%);
    padding: 70px 0 80px;
}

.rubrik-masyarakat-container .title h1 {
    color: #fff;
    font-weight: 800;
    text-align: center;
    font-size: 32px;
    margin-bottom: 28px;
}

.rubrik-masyarakat-container .title a:hover {
    text-decoration: none;
}

.rubrik-masyarakat-container .filter-berita {
    margin-bottom: 28px;
}

.btn-rubrik-masyarakat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    white-space: nowrap;
}

.btn-rubrik-masyarakat.active,
.btn-rubrik-masyarakat:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #3d0405;
}

.nav-kategori-button {
    display: flex;
    align-items: center;
}

.btn-nav-kategori {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-kategori:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #3d0405;
}

.rubrik-masyarakat-render {
    row-gap: 20px;
}

.rubrik-masyarakat-render .berita {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease;
}

.rubrik-masyarakat-render .berita:hover {
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}

.rubrik-masyarakat-render .berita img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.rubrik-masyarakat-render .berita > .content {
    min-height: 135px;
    padding: 16px;
}

.rubrik-masyarakat-render .berita-not-found {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
}

.rubrik-masyarakat-render .berita-not-found .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

/* ================================================================
   14. PROFIL KOTA (.tpl4-profil-*) — SEBELUMNYA BELUM ADA STYLING
   ================================================================ */
.tpl4-profil-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.tpl4-profil-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    background-color: #eee;
}

.tpl4-profil-img img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.tpl4-profil-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%);
}

.tpl4-profil-img-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    color: #fff;
}

.tpl4-profil-img-body h3 {
    font-weight: 800;
    margin-bottom: 2px;
}

.tpl4-profil-img-body p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.tpl4-profil-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e9ecef;
    margin: 16px 0 20px;
}

.tpl4-profil-tab {
    padding: 8px 2px;
    font-weight: 700;
    color: #adb5bd;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tpl4-profil-tab.active {
    color: #b90b0c;
    border-bottom-color: #b90b0c;
}

.tpl4-profil-pane {
    display: none;
}

.tpl4-profil-pane.active {
    display: block;
}

.tpl4-profil-desc {
    color: #495057;
    line-height: 1.75;
    margin-bottom: 20px;
}

.tpl4-pimpinan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tpl4-pimpinan-card {
    text-align: center;
}

.tpl4-pimpinan-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.tpl4-pimpinan-card h4 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.tpl4-pimpinan-card p {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 0;
}

/* ================================================================
   15. INSTAGRAM FEED (.insta-*)
   ================================================================ */
.insta-section {
    padding-top: 24px;
}

.insta-embed-wrap {
    max-height: 620px;
    overflow-y: auto;
}

.insta-card {
    background: linear-gradient(135deg, #c62828, #4a0d0d);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
}

.insta-card-title {
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 24px;
}

.insta-card-title i {
    color: #FFC107;
    margin-right: 6px;
}

.insta-embed-wrap {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.insta-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFC107;
    color: #061a3d;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 30px;
    margin-top: 28px;
    text-decoration: none;
    transition: background .15s ease;
}

.insta-visit-btn:hover {
    background: #ffca2c;
    color: #061a3d;
    text-decoration: none;
}

@media (max-width: 767px) {
    .insta-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .insta-card-title {
        font-size: 20px;
    }
}

/* ================================================================
   16. SLIDER LINK SOSMED
   ================================================================ */
.slider-link-sosmet {
    background-color: #e3e3e3;
    padding: 24px 0;
}
.social-icons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.social-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #b90b0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.social-icon-btn:hover {
    background: #061f5a;
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 767px) {
    .social-icons-wrap {
        gap: 16px;
    }
    .social-icon-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ================================================================
   17. KONTAK KAMI (.kontak-kami, .border-card)
   ================================================================ */
.kontak-kami {
    padding-top: 20px;
    padding-bottom: 60px;
}

.bg-kontak-kami {
    padding-top: 10px;
}

.border-card {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.border-card:last-child {
    border-bottom: none;
}

/* ================================================================
   18. RESPONSIVE / MEDIA QUERIES
   ================================================================ */
@media (min-width: 1024px) {
    .scroll-on-lg {
        height: 500px;
        /* overflow-y: auto; */
    }
}

@media (min-width: 520px) and (max-width: 920px) {
    .berita-terbaru-container .col-filter-berita {
        flex: 0 0 95%;
        max-width: 95%;
    }

    .berita-terbaru-container img {
        border-radius: 10px 10px 0px 0px !important;
    }

    .galery .galery-col {
        flex: 0 0 73%;
        max-width: 73%;
    }
}

@media (max-width: 991px) {
    .tpl4-berita-hero-grid {
        grid-template-columns: 1fr;
    }

    .tpl4-berita-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tpl4-profil-grid {
        grid-template-columns: 1fr;
    }

    .tpl4-profil-img,
    .tpl4-profil-img img {
        min-height: 300px;
    }

    .tpl4-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tpl4-section {
        padding: 48px 0;
    }

    .container:has(> .lip-box),
    .container:has(> .lip-header) {
        margin-top: 56px !important;
        margin-bottom: 56px !important;
    }

    .sgm-grid {
        grid-template-columns: 1fr;
    }

    .gal-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .gal-item-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 65%);
    }

    .gal-tile-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 65%);
    }

    .gal-tile-name {
        font-size: 13px;
    }

    .pres-card {
        flex-direction: column;
    }

    .pres-card-photo {
        max-width: 100%;
        flex: none;
    }

    .pres-card-photo img {
        min-height: 200px;
    }

    .pres-card-body {
        padding: 24px 20px;
    }

    .pres-nav-prev {
        left: 4px;
    }

    .pres-nav-next {
        right: 4px;
    }

    .tpl4-berita-grid {
        grid-template-columns: 1fr;
    }

    .tpl4-pimpinan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .slide .carousel-item .carousel-image {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        filter: none;
    }

    .berita-utama .berita-prestasi-line {
        top: -18px;
    }

    .list-berita-tab-content .list-berita .image img {
        width: 100%;
        border-radius: 10px 10px 0px 0px !important;
    }

    .list-berita-tab-content .list-berita .col-md-8 {
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .berita-terbaru-container .col-filter-berita {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .berita-terbaru-container img {
        border-radius: 10px 10px 0px 0px !important;
    }

    .galery .galery-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .galery .image-galery {
        height: 130px;
    }

    .btn-nav-video-kegiatan {
        display: none;
    }

    .mahardika-floating-player {
        width: calc(100% - 40px);
    }

    .tpl4-stat-grid {
        grid-template-columns: 1fr;
    }
}

.headers-banner .carousel-item {
    position: relative !important;
    overflow: hidden;
}

.headers-banner .carousel-inner {
    position: relative;
    overflow: hidden;
}

#carouselExampleIndicators.carousel .carousel-inner {
    position: relative !important;
    overflow: hidden !important;
}

#carouselExampleIndicators.carousel .carousel-item {
    position: relative !important;
}

#carouselExampleIndicators.carousel .carousel-item:not(.active) {
    display: none !important;
}
#tpl4-hero { position: relative !important; width: 100% !important; margin-bottom: 20px !important; overflow: hidden !important; } #tpl4-hero #carouselExampleIndicators, #tpl4-hero .carousel-inner, #tpl4-hero .carousel-item { height: 480px !important; position: relative !important; } #tpl4-hero .carousel-image {
 position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; filter: brightness(0.55) !important; display: block !important; } #tpl4-hero .search-title-content { position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; z-index: 10 !important; width: 90% !important; max-width: 800px !important; text-align: center !important; padding: 30px 25px !important; background: rgba(15, 23, 42, 0.6) !important; backdrop-filter: blur(8px) !important; -webkit-backdrop-filter: blur(8px) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; border-radius: 16px !important; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important; } #tpl4-hero .#tpl4-hero .search-title-content .image img { width: 65px !important; height: 65px !important; object-fit: contain !important; margin-bottom: 12px !important; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)) !important; } #tpl4-hero .search-title-content h1 { color: #ffffff !important; font-size: 34px !important; font-weight: 800 !important; letter-spacing: 0.5px !important; margin: 5px 0 10px 0 !important; text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9) !important; line-height: 1.25 !important; } #tpl4-hero .search-title-content h4 { color: #f1f5f9 !important; font-size: 16px !important; font-weight: 400 !important; margin: 0 auto 22px auto !important; max-width: 650px !important; line-height: 1.5 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important; } #tpl4-hero .search-content { width: 100% !important; max-width: 550px !important; margin: 0 auto !important; } #tpl4-hero .search-content .input-group { display: flex !important; width: 100% !important; box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important; border-radius: 50px !important; overflow: hidden !important; background: #ffffff !important; padding: 3px !important; } #tpl4-hero .search-content-input {
 flex: 1 1 auto !important; border: none !important; background: #ffffff !important; height: 46px !important; padding: 0 20px !important; font-size: 15px !important; color: #1e293b !important; outline: none !important; box-shadow: none !important; } #tpl4-hero .search-content-input::placeholder { color: #64748b !important; } #tpl4-hero .input-group-append {
 display: flex !important; margin: 0 !important; } #tpl4-hero .search-content-button {
 height: 46px !important; padding: 0 25px !important; border-radius: 50px !important; background: #dc2626 !important; border: none !important; color: #ffffff !important; font-size: 16px !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; transition: background 0.2s ease !important; } #tpl4-hero .search-content-button:hover { background: #b91c1c !important; } #tpl4-hero .search-content-button i { color: #ffffff !important; font-size: 16px !important; display: inline-block !important; } #tpl4-hero .carousel-control-prev, #tpl4-hero .carousel-control-next { width: 45px !important; height: 45px !important; top: 50% !important; transform: translateY(-50%) !important; background: rgba(0, 0, 0, 0.4) !important; border-radius: 50% !important; opacity: 0.9 !important; z-index: 15 !important; display: flex !important; align-items: center !important; justify-content: center !important; } #tpl4-hero .carousel-control-prev {
 left: 15px !important; } #tpl4-hero .carousel-control-next { right: 15px !important; } #tpl4-hero .carousel-control-prev i, #tpl4-hero .carousel-control-next i { color: #ffffff !important; font-size: 18px !important; } @media (max-width: 768px) { #tpl4-hero #carouselExampleIndicators, #tpl4-hero .carousel-inner, #tpl4-hero .carousel-item { height: 380px !important; } #tpl4-hero .search-title-content { padding: 20px 15px !important; width: 92% !important; } #tpl4-hero .search-title-content h1 { font-size: 22px !important; } #tpl4-hero .search-title-content h4 { font-size: 13px !important; margin-bottom: 15px !important; } }