@charset "UTF-8";

html {
  font-size: 16px; 
}

:root {
  --theme-color: #FFEC40;
  --theme-color2: #FFEC40;
  --title-color: #081933;
  --title-color2: #00274C;
  --title-color3: #070E20;
  --title-color4: #13182B;
  --body-color: #506172;
  --smoke-color: #FFF6F8;
  --smoke-color2: #F8FAFE;
  --smoke-color3: #FCF6F1;
  --black-color: #081933;
  --black-color2: #202844;
  --th-border-color: #D3DBE2;
  --th-border-color2: #EEEFF2;
  --th-border-color3: rgba(87, 88, 95, 0.5);
  --th-border-color4: rgba(198, 201, 212, 0.5);
  --th-border-color7: #B7C2CC;
  --light-color: #C6C9D4;
  --gray-color: #EEF1F4;
  --gray-color2: #F4F3E6;
  --gray-color3: #57585F;
  --black-color3: #051311;
  --black-color4: #00110E;
  --black-color5: #22272E;
  --black-color6: #2D333D;
  --black-color7: #0E0E13;
  --black-color8: #070E20;
  --navi-color: #19294f;
  --white-color: #ffffff;
  --yellow-color: #FFB539;
  --success-color: #28a745;
  --error-color: #dc3545;
  --th-border-color5: #49515C;
  --th-border-color6: #383D46;
  --title-font: "Rubik", Helvetica, Arial, sans-serif;
  --subtitle-font: "Urbanist", sans-serif;
  --body-font: "Plus Jakarta Sans", sans-serif;
  --icon-font: "Font Awesome 6 Pro";
  --main-container: 1320px;
  --container-gutters: 24px;
  --section-space: 120px;
  --section-space-mobile: 80px;
  --section-title-space: 56px;
  --ripple-ani-duration: 5s;
  --th-body-background: #ffffff;
  --light-white: #f9f9f9;
}

body {
  font-family: "Rubik", Helvetica, Arial, sans-serif !important;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  -webkit-font-smoothing: antialiased; 
}

.th-btn {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    color: var(--black-color2);
    background-color: chocolate;
}

p {
   margin-bottom: 10px; 
}

.header-top {
    padding: 5px 0;
    padding-bottom: 5px;
}

.main-menu a {
    font-size: 16px;
}

.th-menu-toggle {
    width: 56px;
    height: 56px;
    padding: 0;
    font-size: 20px;
    border: none;
    background-color: var(--theme-color);
    color: var(--navi-color);
}

.pengaduan-form {
    background-color: var(--title-color);
}

.pengaduan-form, .form-control, input {
    border-radius: 0;
    color: var(--th-border-color6) !important;
    border: 1px solid var(--body-color);
    -webkit-transition: 0.4s ease-in;
    transition: 0.4s ease-in;
    background-color: transparent !important;
}


/* .card-form {
    background-color: #0c2236;
    -webkit-text-fill-color: #ffffff;
} */

.blog-card {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
}

.blog-card .box-title {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.box-title {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.blog-card .blog-meta {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    color: #b1b1b1;
    /* font-size: 12px; */
    font-size: 0.85714rem;
    margin-bottom: 5px;
}

.blog-card .blog-content {
    padding: 10px 20px;
}

.recent-post {
    margin-bottom: 20px;
}

.recent-post .recent-post-meta a {
    font-size: 12px;
}

.space, .space-top {
    padding-top: 40px;
}

.table>tbody {
    vertical-align: inherit;
    font-size: small;
}

/* @media (min-width: 1370px) {
    .th-container4 {
        --main-container: 1320px;
    }
} */

.about2-area {
    padding-top: 40px;
}

.breadcumb-wrapper .breadcumb-content {
    padding: 30px 0 30px 0px;
}

/* Container Timeline */
.career-timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #e4e4e4; /* Garis vertikal utama */
    margin-top: 20px;
}

/* Item Timeline */
.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Titik Bulat (Marker) */
.timeline-marker {
    position: absolute;
    left: -39px; /* Menyesuaikan posisi agar pas di tengah garis */
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--theme-color); /* Mengambil warna utama template */
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(var(--theme-color-rgb), 0.2); /* Efek glow halus */
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    background-color: var(--title-color);
}

/* Kotak Konten Timeline */
.timeline-content {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
}

/* Panah kecil menunjuk ke marker */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #fff;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    transform: rotate(45deg);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--theme-color);
}

/* Badge Tahun */
.timeline-year {
    display: inline-block;
    background-color: var(--theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Judul Jabatan */
.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Body Instansi */
.timeline-body p {
    font-size: 14px;
    color: #666;
}

/* Pimpinan Detail -- CSS KHUSUS DATA KEPEGAWAIAN (CLEAN) --*/
/* Wrapper Item */
.data-item {
    display: flex;
    align-items: center; /* Icon dan Text sejajar vertikal */
    padding: 15px 0; /* Jarak atas bawah */
    border-bottom: 1px solid #eee; /* Garis pemisah tipis */
    background: #fff; /* Putih murni */
    transition: all 0.3s ease;
}

/* Efek hover halus (opsional, agar terasa interaktif) */
.data-item:hover {
    padding-left: 10px; /* Bergeser sedikit saat dihover */
}

/* Icon Styling */
.icon-wrapper {
    width: 35px;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color); /* Warna sesuai tema */
    font-size: 16px;
    margin-right: 15px;
    background-color: transparent; /* Tanpa background box */
}

/* Text Content Wrapper */
.content-wrapper {
    display: flex;
    flex-direction: column;
}

/* Label Kecil (Judul Kolom) */
.data-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999; /* Warna abu-abu soft */
    margin-bottom: 2px;
    font-weight: 600;
}

/* Isi Data (Value) */
.data-value {
    font-size: 15px; /* Ukuran compact tapi terbaca */
    font-weight: 700; /* Bold agar tegas */
    color: var(--title-color); /* Warna hitam/gelap */
    line-height: 1.2;
}

/* -- CSS KHUSUS TIMELINE VERTIKAL (COMPACT) -- */
/* Container Utama */
.career-timeline-v2 {
    position: relative;
    padding-left: 10px; /* Jarak dari kiri container */
    margin-left: 10px;
}

/* Garis Vertikal Panjang ke Bawah */
.career-timeline-v2::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px; /* Posisi garis agar pas di tengah dot */
    width: 2px;
    background-color: #e0e0e0; /* Warna garis abu-abu muda */
    z-index: 0;
}

/* Item Wrapper */
.timeline-item-v2 {
    position: relative;
    padding-left: 20px; /* Memberi ruang agar teks tidak menabrak dot */
    padding-bottom: 20px; /* Jarak antar item ke bawah */
}

/* Menghilangkan padding bawah untuk item terakhir agar garis pas */
.timeline-item-v2:last-child {
    padding-bottom: 0;
}

/* Titik Bulat (Dot) */
.timeline-dot {
    position: absolute;
    left: -10px;
    top: 12px; /* Dot sejajar dengan bagian atas teks */
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--theme-color); /* Warna mengikuti tema website */
    border: 3px solid #fff; /* Border putih agar terpisah dari garis */
    box-shadow: 0 0 0 1px #e0e0e0; /* Garis halus di luar dot */
    z-index: 1; /* Di atas garis vertikal */
    transition: all 0.3s ease;
}

/* Efek saat hover item: Dot membesar sedikit */
.timeline-item-v2:hover .timeline-dot {
    transform: scale(1.2);
    background-color: var(--title-color);
}

/* Styling Badge Tahun (Font Kecil) */
.timeline-date {
    display: inline-block;
    background-color: #f3f4f8;
    color: var(--theme-color);
    font-size: 12px; /* Font kecil */
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* Styling Judul Jabatan */
.timeline-title {
    font-size: 16px; /* Tidak terlalu besar */
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Styling Instansi */
.timeline-instansi {
    font-size: 13px; /* Font kecil untuk deskripsi */
    color: #666;
    margin-bottom: 0;
}

.team-info-list .info-box .box-title {
    margin-bottom: 0;
}

.box-title .nama-pimpinan {
    font-size: 20px;
}

.team-author .box-content .nama-pimpinan {
    color: #fffb00;
    font-size: 20px;
}

.padding-cus {
    line-height: normal;
    padding: 25px 25px !important;
}

.page-title {
    font-size: 35px;
}

select, .form-control, .form-select, textarea, input {
    height: 50px;
    padding: 0 10px 0 10px;
    border: 1.5px solid #dc3545;
    color: var(--title-color);
    background-color: var(--smoke-color2);
    font-size: 14px;
}

::placeholder {
    font-size:small;
    color: #aaacae;
    font-style: italic;
    opacity: 60%;
}

@media (max-width: 575px) {
    .hero-style2 {
        padding: 50px 0 10px 0;
    }

    .header-layout2 .menu-area {
        padding: 0px 0;
    }

    p {
        margin-bottom: 10px;
        line-height: 140%;
        font-size: 16px;
    }
    
    .page-title {
        font-size: 25px;
    }

    .blog-meta span, .blog-meta a {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-color3);
        font-family: var(--body-font);
        position: relative;
        margin-right: 10px;
        line-height: 21px;
    }

    blog-card .blog-meta span {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray-color3);
        font-family: var(--body-font);
        position: relative;
        margin-right: 10px;
        line-height: 21px;
    }

    .blog-card .blog-meta span, .blog-card .blog-meta a {
        font-size: 14px;
        font-weight: 400;
        color: var(--gray-color3);
        margin-right: 10px;
    }

    .blog-meta span i, .blog-meta a i {
        margin-right: 5px;
    }

    .professor-card {
        gap: 20px;
    }

    .professor-card .professor-content {
        margin-top: unset;
        text-align: center;
    }

    .footer-layout3 .widget_nav_menu {
        display: none;
    }

    .footer-layout3 .th-widget-instagram {
        display: none;
    }

    td, th {
        border: 1px solid var(--th-border-color);
        padding: 9px 12px;
        line-height: 1.3;
    }
}

.blog-meta span, .blog-meta a {
    display: inline-block;
    font-size: 0.85714rem !important;
    font-weight: 400;
    color: var(--gray-color3);
    font-family: var(--body-font);
    position: relative;
    margin-right: 20px;
    line-height: 21px;
}

@media (max-width: 767px) {
    /* Target kontainer video utama */
    .video-area-1 {
        /* ATUR TINGGI BARU DI SINI */
        /* Pilih salah satu cara di bawah: */

        /* Pilihan 1: Atur Tinggi (Height) Tetap yang Lebih Kecil */
        height: 250px; /* Ganti 250px dengan tinggi yang Anda inginkan di HP */

        /* Pilihan 2: Atur Padding/Rasio Aspek yang Lebih Kecil */
        /* Gunakan jika kontainer menggunakan padding untuk menentukan tingginya. */
        /* Contoh: Jika Anda menggunakan padding-bottom untuk rasio 16:9, coba perkecil padding-top/bottom di sini */
        /* padding-top: 15px; */
        /* padding-bottom: 15px; */
    }
    .video-area-1 {
        background-size: 200% auto; /* atau: background-size: 100% auto; */
        background-position: center center;
    }

    /* Opsional: Sesuaikan Tombol Play */
    /* Agar tombol play terlihat proporsional di area yang lebih kecil */
    .video-area-1 .video-play-btn {
        width: 60px; /* Ukuran tombol play yang lebih kecil */
        height: 60px;
        font-size: 24px; /* Ukuran ikon play yang lebih kecil */
    }
}

.footer-layout3 .widget-area {
    padding-top: 50px;
    padding-bottom: 40px;
}

.blog-single .blog-img {
    margin-bottom: 10px;
}

.recent-post .post-title {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.border-\[--dt-light-500\] {
    border-color: var(--dt-light-500);
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

*, :after, :before {
    box-sizing: border-box;
    border: 0 solid #e5e7eb;
}

/* Pop UP */
#dinsosPopupOverlay {
        display: none; /* Default hidden */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Latar lebih gelap */
        z-index: 2147483647; /* Z-Index Maksimum Browser (Paling Depan) */
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(2px); /* Efek blur di latar belakang */
    }

    .dinsos-popup-box {
        position: relative;
        background: transparent;
        max-width: 600px; /* Ukuran maksimal gambar */
        width: 90%;
        animation: popupFadeIn 0.5s ease;
    }

    /* Tombol Close Modern */
    #dinsosCloseBtn {
        position: absolute;
        top: -15px;
        right: -15px;
        width: 40px;
        height: 40px;
        background-color: white;
        color: black;
        border-radius: 50%;
        font-weight: bold;
        font-size: 20px;
        border: 2px solid #ccc;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
        z-index: 2147483648; /* Harus lebih tinggi dari box */
        transition: transform 0.2s;
    }

    #dinsosCloseBtn:hover {
        background-color: red;
        color: white;
        transform: scale(1.1);
    }

    .dinsos-popup-box img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
        display: block;
        cursor: pointer; /* Indikasi bisa diklik */
    }

    @keyframes popupFadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* link terkait */

.swiper-pagination-bullets {
    padding-top: 30px !important;
}

/* ========== MOBILE NEWS LAYOUT (2 KOLOM) ========== */
.mobile-news-item {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 8px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mobile-news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.mobile-news-img {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.mobile-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mobile-news-item:hover .mobile-news-img img {
    transform: scale(1.05);
}

.mobile-news-body {
    padding: 10px 10px 12px;
}

.mobile-news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    color: #666;
}

.news-category {
    background-color: var(--theme-color);
    color: var(--title-color);
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.news-dot {
    margin: 0 5px;
    color: #999;
}

.news-time {
    color: #666;
}

.mobile-news-title {
    font-family: var(--title-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 55px;
}

.mobile-news-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-news-title a:hover {
    color: var(--theme-color);
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

/* ========== TRENDING TOPICS ========== */
.trending-section {
    background: var(--smoke-color2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trending-tag {
    background: var(--white-color);
    border: 1px solid var(--th-border-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--body-color);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.trending-tag:hover {
    background-color: var(--theme-color);
    color: var(--title-color);
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

/* ========== BERITA POPULER ========== */
.popular-section {
    background: var(--smoke-color2);
    border-radius: 10px;
    padding: 16px;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-item {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-content {
    padding-left: 0;
}

.popular-title {
    font-family: var(--title-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.popular-title a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.3s;
}

.popular-title a:hover {
    color: var(--theme-color);
}

.popular-meta {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #666;
}

.popular-category {
    color: var(--theme-color);
    font-weight: 600;
}

.popular-dot {
    margin: 0 5px;
    color: #999;
}

.popular-time {
    color: #666;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
/* Mobile kecil */
@media (max-width: 360px) {
    
    .mobile-news-img {
        height: 100px;
    }
    
    .mobile-news-title {
        font-size: 12px;
        min-height: 50px;
        -webkit-line-clamp: 3;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .trending-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Mobile max */
@media (max-width: 575px) {
    .news-category {
        background-color: var(--theme-color);
        color: var(--title-color);
        font-weight: 400;
        font-size: smaller;
        padding: 2px 2px;
    }

    .mobile-news-img {
        height: 130px;
    }
    
    .mobile-news-title {
        font-size: 13px !important;
        font-weight: 500;
    }
}

/* Mobile medium */
@media (min-width: 361px) and (max-width: 575px) {
    .news-category {
        background-color: var(--theme-color);
        color: var(--title-color);
        font-weight: 400;
        font-size: small;
    }

    .mobile-news-img {
        height: 130px;
    }
    
    .mobile-news-title {
        font-size: 13px;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
    .row.g-2.d-block.d-lg-none {
        display: flex !important;
    }
    .mobile-news-item {
        margin-bottom: 15px;
    }
    
    .mobile-news-img {
        height: 150px;
    }
    
    .mobile-news-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
        min-height: 40px;
    }
    
    .trending-tags {
        gap: 10px;
    }
    
    .trending-tag {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* Desktop: sembunyikan mobile layout */
@media (min-width: 992px) {
    .row.g-2.d-block.d-lg-none {
        display: none !important;
    }
    
    .trending-section,
    .popular-section {
        display: none;
    }
    
    .d-block.d-lg-none {
        display: none !important;
    }
}

/* Tablet landscape: sembunyikan mobile layout */
@media (min-width: 768px) and (max-width: 991px) {
    .row.g-2.d-block.d-lg-none {
        display: flex !important;
    }
    
    .d-none.d-lg-flex {
        display: none !important;
    }
}

.mobile-news-img {
    position: relative;
    padding-top: 62.5%; /* 8/5 = 1.6, jadi 62.5% */
    overflow: hidden;
    border-radius: 8px;
}

.mobile-news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}