/* =========================================
   1. SWIPER SLIDER & ANIMASI
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.swiper {
    margin-top: 27px; width: 62vw; height: 31vh; display: flex;
    border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative; overflow: hidden; 
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 15px),
    linear-gradient(135deg, #8B0000 0%, #7B0009 50%, #600000 100%);
    background-size: 21px 21px, 100% 100%;
    animation: gerakAngin 2.5s linear infinite;
}
.swiper-wrapper { position: relative; z-index: 2; }
.swiper::before {
    content: ''; position: absolute; top: 10%; left: 5%; width: 120px; height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; z-index: 1;
    animation: putarKotak 15s linear infinite; pointer-events: none;
}
.swiper::after {
    content: ''; position: absolute; bottom: -30%; right: -10%; width: 350px; height: 350px;
    border: 2px solid rgba(255, 255, 255, 0.07); border-radius: 50%; z-index: 1;
    animation: nafasBulat 8s ease-in-out infinite; pointer-events: none;
}
@keyframes gerakAngin {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 21px 21px, 0 0; }
}
@keyframes putarKotak {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(-20px); }
    100% { transform: rotate(360deg) translateY(0); }
}
@keyframes nafasBulat {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}
.swiper[data-effect="cube"], .swiper[data-effect="cube"] .swiper-slide,
.swiper[data-effect="coverflow"], .swiper[data-effect="coverflow"] .swiper-slide,
.swiper[data-effect="flip"], .swiper[data-effect="flip"] .swiper-slide,
.swiper[data-effect="cards"], .swiper[data-effect="cards"] .swiper-slide {
    background: transparent !important; box-shadow: none; animation: none !important;
}
.swiper[data-effect="cube"]::before, .swiper[data-effect="cube"]::after,
.swiper[data-effect="coverflow"]::before, .swiper[data-effect="coverflow"]::after,
.swiper[data-effect="flip"]::before, .swiper[data-effect="flip"]::after,
.swiper[data-effect="cards"]::before, .swiper[data-effect="cards"]::after {
    display: none !important;
}
.swiper-slide { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.slide-content-wrapper { display: flex; width: 100%; height: 100%; align-items: center; justify-content: space-between; padding: 15px 25px; box-sizing: border-box; }
.slide-text { font-family: 'Inter', system-ui, -apple-system, sans-serif; flex: 1.2; padding-right: 15px; color: #ffffff; opacity: 0; transform: translateY(20px); transition: all 0.8s ease 0.3s; }
.swiper-slide-active .slide-text { opacity: 1; transform: translateY(0); }
.slide-badge { display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.15); padding: 4px 10px; border-radius: 20px; font-size: 10px; letter-spacing: 0.5px; margin-bottom: 12px; color: #ffda79; text-transform: uppercase; font-weight: 600; }
.slide-badge::before { content: ""; width: 5px; height: 5px; background-color: #ffda79; border-radius: 50%; margin-right: 6px; }
.slide-text h3 { font-size: 1.05rem; font-weight: 400; color: #f8f9fa; margin: 0 0 15px 0; line-height: 1.6; text-align: left; }
.slide-text p { color: #f1f1f1; font-size: 11px; line-height: 1.4; margin-bottom: 10px; }
.btn-slide-detail { display: inline-block; background: linear-gradient(to bottom, #ffea8a, #fbc531); color: #2f3640; padding: 4px 12px; border-radius: 4px; font-size: 10px; font-weight: 600; text-decoration: none; box-shadow: 0 2px 5px rgba(0,0,0,0.15); }
.slide-image { flex: 1; height: 100%; display: flex; justify-content: center; align-items: center; }
.slide-image img { width: 100%; height: 100%; object-fit: fill; border-radius: 6px; }
.slide-image-full { width: 100%; height: 100%; display: block; }
.slide-image-full img { width: 100%; height: 100%; object-fit: fill; border-radius: 8px; }
@media (max-width: 768px) { .swiper { display: none !important; } }

/* =========================================
   2. PIN ZONA INTEGRITAS (STATIC FLOATING)
   ========================================= */
div.static { position: fixed; bottom: -50px; right: -20px; width: 250px; height: 160px; z-index: 9999; }       
div.static img { right: 20px; } 
div.static2 { position: fixed; width: 250px; height: 160px; top: -35px; left: 210px; z-index: 9999; }
div.static3 { position: fixed; top: -15px; right: 125px; width: 250px; height: 160px; z-index: 9999; }       
#close { float: right; display: inline-block; padding: 2px 5px; background: #ccc; margin-right: 60px; bottom: 270px; z-index: 10000; }
#close:hover { background: #ccc; color: #fff; }
@media only screen and (min-width: 769px) and (max-width: 1366px) {
    div.static2 { position: absolute !important; top: -15px; left: 10px; width: 170px; z-index: 9999; }
    div.static3 { position: absolute !important; top: -15px; right: 10px; width: 170px; z-index: 9999; }
}
@media only screen and (max-width: 768px) {
    div.static { position: fixed; bottom: 70px; right: 0; width: 150px; height: 30px; z-index: 9999; }       
    div.static2 { position: fixed; top: 30px; left: -20px; width: 200px; height: 90px; z-index: 9999; }
    div.static3 { position: fixed; top: 65px; right: -30px; width: 150px; height: 90px; z-index: 9999; }
}

/* =========================================
   3. HEADER KHUSUS PN (INDEPENDENT)
   ========================================= */
.pn-independent-header-wrap { position: relative; width: 100%; background-color: #fff; padding: 15px 0; }
.pn-independent-inner { width: 100%; max-width: 1170px; margin: 0 auto; padding: 25px 20px; }
.pn-custom-header-flex { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; width: 100%; }
.pn-flex-logo { flex: 0 0 auto; margin-right: 20px; }
.pn-flex-text { flex: 0 0 auto; margin-right: auto; }
.pn-flex-right { flex: 0 0 auto; text-align: right; }
@media (max-width: 991px) {
    .pn-custom-header-flex { flex-direction: column; text-align: center; }
    .pn-independent-inner { padding: 15px 10px; border-radius: 6px; }
    .pn-flex-logo, .pn-flex-text, .pn-flex-right { margin: 10px 0 !important; text-align: center !important; }
    .pn-flex-right { display: flex; flex-direction: column; align-items: center; }
}

/* =========================================
   4. LAYANAN PENGADILAN (QUICKLINK)
   ========================================= */
.pn-quicklink-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.pn-quicklink-card { position: relative; background: #fff; border-radius: 10px; padding: 2px; text-decoration: none !important; display: flex; flex-direction: column; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.pn-card-inner { background: #fff; border-radius: 8px; padding: 15px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; position: relative; z-index: 2; }
.pn-card-border-glow { position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0%, transparent 70%, #a91d22 90%, #ffd700 100%); animation: rotate-border 3s linear infinite; opacity: 0; transition: opacity 0.3s ease; z-index: 1; }
@keyframes rotate-border { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.pn-quicklink-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(169,29,34,0.15); }
.pn-quicklink-card:hover .pn-card-border-glow { opacity: 1; }
.pn-quicklink-icon { width: 45px; height: 45px; background: #fdf2f2; color: #a91d22; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 10px; transition: all 0.3s ease; }
.pn-quicklink-card:hover .pn-quicklink-icon { background: #a91d22; color: #fff; }
.pn-ql-title { color: #2d3748; font-size: 14px; font-weight: 700; margin-bottom: 3px; display: block; }
.pn-ql-desc { color: #718096; font-size: 10px; line-height: 1.2; display: block; }
@media (max-width: 1024px) { .pn-quicklink-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .pn-quicklink-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .pn-card-inner { padding: 12px 6px; } }
@media (max-width: 480px) { .pn-quicklink-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .pn-ql-title { font-size: 12px; } .pn-ql-desc { font-size: 9px; } }

/* =========================================
   5. RSS PENGADILAN
   ========================================= */
.pn-rss-tabs-header { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid #f1f1f1; padding-bottom: 12px; margin-bottom: 20px; }
.pn-rss-tab-btn { background: #f5f5f5; color: #444; border: 1px solid #ddd; padding: 8px 16px; font-size: 13.5px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: all 0.2s ease-in-out; }
.pn-rss-tab-btn:hover { background: #e9e9e9; color: #7B0009; }
.pn-rss-tab-btn.active { background: #7B0009; color: #fff; border-color: #7B0009; box-shadow: 0 2px 5px rgba(154, 33, 9, 0.2); }
.pn-rss-main-header:hover span:first-child { opacity: 0.85; }
@media (max-width: 768px) { .pn-rss-tabs-header { flex-direction: column; } .pn-rss-tab-btn { width: 100%; text-align: left; } }

/* =========================================
   6. INFOGRAFIS
   ========================================= */
#infographicPrev:hover, #infographicNext:hover { background: rgba(255,255,255,0.4) !important; }
.pn-section-title-wrapper > div:first-child:hover h2 { opacity: 0.9; }
.pn-infographic-viewport { overflow: hidden; width: 100%; position: relative; padding: 5px 0 15px 0; }
.pn-infographic-track { display: flex; gap: 20px; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.pn-info-item { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); box-sizing: border-box; }
.pn-info-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; }
.pn-info-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(154, 33, 9, 0.12); border-color: #7B0009; }
.pn-img-container { width: 100%; height: 420px; background: #f4f4f4; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pn-img-container img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.pn-info-card:hover .pn-img-container img { transform: scale(1.03); }
@media (max-width: 992px) { .pn-info-item { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); } }
@media (max-width: 768px) { .pn-info-item { flex: 0 0 100%; max-width: 100%; } }

/* =========================================
   7. WIDGET SIDEBAR (BAHASA, PENCARIAN, JAM KERJA, AGEN, TAUTAN)
   ========================================= */
.sidebar-widget.pn-lang-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pn-lang-card .sw-header { text-align: center; margin-bottom: 15px; }
.pn-lang-card .sw-header h4 { margin: 0; font-size: 20px; font-family: Georgia, serif; color: #111; font-weight: normal; }
.pn-lang-card .sw-line { width: 100px; height: 2px; background: #7B0009; margin: 8px auto 0 auto; }
.pn-lang-card .sw-body { padding: 0; }
.pn-lang-buttons { display: flex; gap: 10px; }
.pn-lang-btn { flex: 1; text-align: center; padding: 9px 12px; border-radius: 8px; background: #fdfaf9; color: #333; text-decoration: none !important; font-size: 13px; font-family: Arial, sans-serif; font-weight: bold; border: 1px solid #eaeaea; transition: all 0.2s ease; }
.pn-lang-btn:hover { background: #fdf5f2; border-color: #7B0009; color: #7B0009; }
.pn-lang-btn.active { background: #7B0009; color: #fff; border-color: #7B0009; }
.goog-te-banner-frame, .goog-te-gadget, .goog-logo-link, .goog-te-combo { display: none !important; visibility: hidden !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }

.pn-search-card{background:#fff;border:1px solid #eee;border-radius:13px;padding:17px;margin-bottom:16px;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.pn-search-title{margin:0 0 13px;color:#7B0009;font-size:15px;font-weight:800;text-transform:uppercase;letter-spacing:.2px;font-family:'Poppins',Arial,sans-serif}
.pn-search-form{margin:0;padding:0}
.pn-search-box{display:flex;align-items:center;width:100%;border:1px solid #eadede;border-radius:9px;background:#fff;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.03)}
.pn-search-box input{flex:1;width:100%;height:42px;border:0;background:#fff;padding:0 13px;color:#333;font-size:13px;font-family:'Inter',Arial,sans-serif;outline:none}
.pn-search-box input::placeholder{color:#999}
.pn-search-box button{width:46px;height:42px;border:0;background:#7B0009;color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;cursor:pointer;transition:all .22s ease;font-family:'Poppins',Arial,sans-serif;font-weight:700}
.pn-search-box button:hover{background:#650006}
.pn-search-box:focus-within{border-color:#c49a3a;box-shadow:0 0 0 3px rgba(196,154,58,.12)}

.sidebar-widget.pn-jamkerja-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pn-jamkerja-header { background: #7B0009; color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 15px; font-family: Georgia, serif; font-weight: bold; margin-bottom: 15px; }
.pn-section-title { font-size: 14px; font-family: Georgia, serif; font-weight: bold; color: #7B0009; margin-bottom: 8px; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.pn-jamkerja-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-family: Arial, sans-serif; }
.pn-jamkerja-table thead th { background: #fdf5f2; color: #7B0009; font-weight: bold; text-align: left; padding: 6px 8px; border-bottom: 1px solid #e9d5d0; }
.pn-jamkerja-table tbody td { padding: 7px 8px; color: #333; border-bottom: 1px solid #eee; }
.pn-jamkerja-table tbody tr:last-child td { border-bottom: 0; }

.moduletable.pn-animated-box { position: relative; border-radius: 14px; padding: 3px; background: linear-gradient(90deg, #7B0009, #ffeb3b, #7B0009); background-size: 200% 200%; animation: pnGlowBorder 4s linear infinite; margin-bottom: 20px; }
@keyframes pnGlowBorder { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.sidebar-widget.pn-agen-card { background: #fff; border: none !important; border-radius: 11px; margin-bottom: 0 !important; padding: 15px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pn-agen-header { background: #7B0009; color: #fff; padding: 10px 14px; border-radius: 6px; font-size: 15px; font-family: Georgia, serif; font-weight: bold; text-align: left; user-select: none; transition: opacity 0.2s ease; }
.pn-agen-header:hover { opacity: 0.90; }
.pn-slide-item { display: none; width: 100%; }
.pn-slide-item.active { display: block; }
.pn-slide-box { background: #7a1505; border-radius: 8px; padding: 10px; color: #fff; text-align: center; width: 100%; box-sizing: border-box; }
.pn-slide-banner { background: rgba(0, 0, 0, 0.15); padding: 6px; border-radius: 4px; margin-bottom: 8px; }
.pn-banner-title { font-size: 14px; font-family: Georgia, serif; font-weight: bold; color: #ffeb3b; text-transform: uppercase; }
.pn-banner-subtitle { font-size: 9px; color: #f1f1f1; margin-top: 2px; }
.pn-slide-img-wrap { position: relative; width: 100%; height: 210px; background: #fff; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.pn-slide-img-wrap img { width: 100%; height: 100%; object-fit: contain; background-color: #fff; display: block; }
.pn-slide-info { background: #fff; color: #333; padding: 8px; border-radius: 4px; }
.pn-pegawai-nama { font-size: 12px; font-weight: bold; color: #7B0009; }
.pn-pegawai-jabatan { font-size: 10px; color: #555; margin-top: 2px; }
.pn-slider-dots { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.pn-dot { width: 7px; height: 7px; border-radius: 50%; background: #ccc; cursor: pointer; }
.pn-dot.active { background: #7B0009; width: 16px; border-radius: 4px; }

.sidebar-widget.pn-tautan-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: all 0.2s ease; }
.pn-tautan-card .sw-header { text-align: left; margin-bottom: 0; }
.pn-tautan-card .sw-header:hover h4 { color: #7B0009; }
.pn-tautan-card .sw-header h4 { margin: 0; font-size: 20px; font-family: Georgia, serif; color: #111; font-weight: normal; }
.pn-tautan-card .sw-line { width: 100px; height: 2px; background: #7B0009; margin: 8px 0 0 0; }
.pn-tautan-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pn-tautan-list li { margin: 0 !important; padding: 0 !important; border-bottom: 1px solid #eaeaea; }
.pn-tautan-list li > a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; color: #333 !important; text-decoration: none !important; transition: all 0.2s ease; }
.pn-tautan-list li > a:before { content: ""; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid #7B0009; flex: 0 0 auto; margin-top: 5px; }
.pn-tautan-list li > a:hover { color: #7B0009 !important; padding-left: 4px; }
.pn-tautan-text strong { display: block; color: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; font-family: Arial, sans-serif; }

.pn-ikm-mini-bar { background: #fafafa; border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: all 0.2s ease-in-out; }
.pn-ikm-mini-bar:hover { background: #fff; border-color: #7B0009; box-shadow: 0 3px 10px rgba(154, 33, 9, 0.1); transform: translateY(-1px); }
.pn-ikm-mini-left { display: flex; align-items: center; gap: 12px; }
.pn-ikm-mini-title { display: block; font-size: 13px; font-weight: bold; color: #222; font-family: Georgia, serif; line-height: 1.2; }
.pn-ikm-mini-period { display: block; font-size: 10px; color: #666; margin-top: 2px; }
.pn-ikm-mini-right { display: flex; align-items: center; text-align: right; }
.pn-ikm-mini-score { font-size: 14px; font-weight: bold; color: #7B0009; }
.pn-ikm-mini-percent { font-size: 11px; color: #555; margin-left: 3px; font-weight: 600; }

/* =========================================
   8. MODAL INDEKS (IKM/IPAK)
   ========================================= */
.sidebar-widget.pn-indeks-card-link { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.pn-indeks-modal { display: none; position: fixed; inset: 0; z-index: 999999; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(6px); }
.pn-indeks-modal.active { display: flex; }
.pn-indeks-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.pn-indeks-modal-box { position: relative; z-index: 2; width: auto; max-width: 96vw; max-height: 94vh; background: transparent; padding: 0; overflow: visible; box-shadow: none; }
.pn-indeks-modal-close { position: absolute; right: -30px; top: -30px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0,0,0,.78); color: #fff; font-size: 25px; cursor: pointer; z-index: 5; }
.pn-indeks-modal-box img { display: block; max-width: 96vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 18px 60px rgba(0,0,0,.55); }
.pn-indeks-modal-action { position: absolute; right: 0; bottom: -46px; margin: 0; text-align: right; }
.pn-indeks-modal-detail { display: inline-flex; align-items: center; justify-content: center; background: #7B0009; color: #fff !important; border-radius: 8px; padding: 8px 16px; font-size: 11px; font-weight: bold; text-decoration: none !important; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

/* =========================================
   9. SOSMED, PETA & STATISTIK
   ========================================= */
.sidebar-widget.sosmed-pengadilan { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: all 0.2s ease; }
.sosmed-pengadilan .sw-header:hover h4 { color: #7B0009; }
.sosmed-pengadilan .sw-header h4 { margin: 0; font-size: 20px; font-family: Georgia, serif; color: #111; font-weight: normal; }
.sosmed-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #eaeaea; border-radius: 10px; background: #fff; color: #333; text-decoration: none !important; transition: all 0.2s ease; }
.sosmed-item:hover { border-color: #7B0009; background: #fdfaf9; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(154,33,9,0.08); }
.sosmed-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; display: block; border: 1px solid #eee; }
.sosmed-title { color: #111; font-size: 13.5px; font-weight: 700; font-family: Arial, sans-serif; }
.sosmed-url { color: #666; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; font-family: Arial, sans-serif; }

.sidebar-widget.peta-pengadilan { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.peta-pengadilan .sw-header:hover h4 { color: #7B0009; }
.peta-pengadilan .sw-header h4 { margin: 0; font-size: 20px; font-family: Georgia, serif; color: #111; font-weight: normal; }
.peta-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; border: 1px solid #eaeaea; }
.peta-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@keyframes pulse-online {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    50% { transform: scale(1.05); opacity: 0.9; box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* =========================================
   10. POPUP HOME ANIMATION
   ========================================= */
@keyframes popupScale { 0% { transform: scale(0.92); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes borderRotate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.animated-border-box { position: relative; padding: 3.5px; border-radius: 10px; background: linear-gradient(270deg, #ffb300, #ffeb3b, #fff176, #ff8f00, #ffb300); background-size: 400% 400%; animation: borderRotate 6s linear infinite; box-shadow: 0 8px 25px rgba(255, 179, 0, 0.3); }
.animated-border-inner { background: #ffffff; border-radius: 7px; overflow: hidden; display: flex; align-items: center; justify-content: center; }

/* =========================================
   11. AKSESIBILITAS (A11Y WIDGET)
   ========================================= */
#custom-a11y-widget { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 999999; font-family: Arial, sans-serif; }
#a11y-toggle-btn { background-color: #7B0009; border: none; border-radius: 50%; width: 52px; height: 52px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
#a11y-toggle-btn:hover { transform: scale(1.1); background-color: #7a1505; box-shadow: 0 6px 20px rgba(154,33,9,0.4); }
#a11y-menu-panel { display: none; position: absolute; bottom: 65px; left: 50%; transform: translateX(-50%); background: white; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.25); width: 220px; overflow: hidden; border: 1px solid #ddd; }
.a11y-menu-header { background: #7B0009; color: white; padding: 12px; text-align: center; font-weight: bold; font-size: 13.5px; font-family: Georgia, serif; }
.a11y-btn { width: 100%; background: none; border: none; padding: 12px 15px; text-align: left; font-size: 13px; cursor: pointer; border-bottom: 1px solid #eee; color: #333; display: flex; align-items: center; gap: 10px; transition: background 0.2s, color 0.2s; }
.a11y-btn:hover { background: #fdf5f2; color: #7B0009; font-weight: bold; }
.a11y-btn:last-child { border-bottom: none; }

/* Kontras Tinggi */
body.a11y-high-contrast, body.a11y-high-contrast main, body.a11y-high-contrast section, body.a11y-high-contrast div, body.a11y-high-contrast p, body.a11y-high-contrast span, body.a11y-high-contrast h1, body.a11y-high-contrast h2, body.a11y-high-contrast h3, body.a11y-high-contrast h4, body.a11y-high-contrast h5, body.a11y-high-contrast h6, body.a11y-high-contrast a, body.a11y-high-contrast li { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
body.a11y-high-contrast a { color: #00ff00 !important; text-decoration: underline; }

/* Pastikan widget tidak ikut terpengaruh oleh filter rendering body */
body.a11y-grayscale {
    filter: grayscale(100%);
    isolation: isolate; /* Membuat lapisan konteks baru agar elemen fixed aman */
}

/* Penyesuaian khusus untuk widget saat grayscale aktif */
body.a11y-grayscale #custom-a11y-widget {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647; /* Nilai z-index maksimal agar selalu di atas */
}

/* Font Ramah Disleksia */
body.a11y-dyslexia, 
body.a11y-dyslexia * {
    font-family: 'Comic Sans MS', 'OpenDyslexic', Arial, sans-serif !important;
}

/* =========================================
   12. MEDIA QUERIES LAINNYA
   ========================================= */
@media (max-width: 760px) {
    .sidebar-widget.pn-lang-card, .sidebar-widget.pn-jamkerja-card, .sidebar-widget.pn-tautan-card, .sidebar-widget.pn-indeks-card-link, .sidebar-widget.sosmed-pengadilan, .sidebar-widget.peta-pengadilan { padding: 15px; }
    .pn-search-title, .pn-lang-card .sw-header h4, .pn-tautan-card .sw-header h4, .pn-indeks-header h4, .sosmed-pengadilan .sw-header h4, .peta-pengadilan .sw-header h4 { font-size: 18px; }
    .pn-search-box input{height:40px;font-size:12.5px}
    .pn-search-box button{height:40px;width:44px}
    .pn-tautan-list li > a { padding: 8px 0; }
    .pn-tautan-text strong { font-size: 12px; }
    .pn-ikm-mini-bar { padding: 8px 10px; }
    .pn-ikm-mini-title { font-size: 12px; }
    .pn-indeks-modal { padding: 10px; }
    .pn-indeks-modal-box img { max-width: 100%; max-height: 78vh; }
    .pn-indeks-modal-close { right: 0; top: -46px; }
    .pn-indeks-modal-action { position: static; margin-top: 12px; text-align: center; }
    .sosmed-item { padding: 8px 10px; }
}

/* =========================================
   13. FAQ LAINNYA
   ========================================= */
    .pn-luxury-card {
        background: #ffffff !important;
        background-image: linear-gradient(0deg, rgba(248, 249, 250, 0.6) 50%, rgba(255, 255, 255, 0.6) 50%) !important;
        background-size: 100% 4px !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 4px solid #7B0009 !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
        transition: all 0.2s ease-in-out;
    }
    .pn-luxury-card:hover {
        box-shadow: 0 5px 15px rgba(154, 33, 9, 0.06) !important;
        border-color: #cbd5e1 !important;
    }

    /* Styling Paginasi Horizontal */
    .pagging {
        text-align: center !important;
        width: 100% !important;
        margin-top: 30px !important;
        display: block !important;
        clear: both !important;
    }
    .pagination {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .pagination li,
    .pagging ul.pagination li {
        display: inline-block !important;
        float: none !important;
        margin: 0 3px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .pagination li a, 
    .pagination li span,
    .pagging ul.pagination li a, 
    .pagging ul.pagination li span {
        display: inline-block !important;
        padding: 8px 14px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        color: #337ab7 !important;
        text-decoration: none !important;
        background-color: #fff !important;
    }
    .pagination li.active span,
    .pagination li.active a,
    .pagging ul.pagination li.active span,
    .pagging ul.pagination li.active a {
        background-color: #337ab7 !important;
        border-color: #337ab7 !important;
        color: #fff !important;
    }
	
/* =========================================
   14. BERITA
   ========================================= */
    .pn-luxury-card {
        background: #ffffff !important;
        /* Simulasi tekstur halus menggunakan garis-garis tipis berulang pada background */
        background-image: linear-gradient(0deg, rgba(248, 249, 250, 0.6) 50%, rgba(255, 255, 255, 0.6) 50%) !important;
        background-size: 100% 4px !important;
        border: 1px solid #e2e8f0 !important;
        border-left: 5px solid #7B0009 !important; /* Aksen marun instansi peradilan */
        border-radius: 8px !important;
        padding: 30px !important;
        margin-bottom: 30px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        position: relative;
    }

    /* Efek interaktif saat kursor diarahkan ke kartu */
    .pn-luxury-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(154, 33, 9, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
        border-color: #cbd5e1 !important;
        border-left-color: #b5270b !important;
    }

    /* Efek hover judul */
    .pn-luxury-title:hover {
        color: #7B0009 !important;
        transition: color 0.2s ease;
    }

    /* Styling Tombol Mewah */
    .pn-luxury-btn {
        background-color: #7B0009 !important;
        border-color: #7B0009 !important;
        padding: 7px 18px !important;
        border-radius: 4px !important;
        font-size: 13px !important;
        font-weight: 500;
        letter-spacing: 0.3px;
        transition: background-color 0.2s ease;
    }
    .pn-luxury-btn:hover {
        background-color: #7a1505 !important;
        border-color: #7a1505 !important;
    }

    /* Styling Paginasi Horizontal */
    .pagging {
        text-align: center !important;
        width: 100% !important;
        margin-top: 30px !important;
        display: block !important;
        clear: both !important;
    }
    .pagination {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .pagination li,
    .pagging ul.pagination li {
        display: inline-block !important;
        float: none !important;
        margin: 0 3px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    .pagination li a, 
    .pagination li span,
    .pagging ul.pagination li a, 
    .pagging ul.pagination li span {
        display: inline-block !important;
        padding: 8px 14px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        color: #337ab7 !important;
        text-decoration: none !important;
        background-color: #fff !important;
    }
    .pagination li.active span,
    .pagination li.active a,
    .pagging ul.pagination li.active span,
    .pagging ul.pagination li.active a {
        background-color: #337ab7 !important;
        border-color: #337ab7 !important;
        color: #fff !important;
    }
	
	/* =========================================
   15. DETIL BERITA
   ========================================= */
   /* Wrapper Kontainer Dokumen */
.pn-document-container {
    position: relative;
    max-width: 950px;
    margin: 40px auto 60px auto;
    padding: 20px 10px;
}

/* Klip Kertas Estetik di Bagian Atas */
.pn-paperclip {
    position: absolute;
    top: -15px;
    right: 120px;
    width: 32px;
    height: 65px;
    background: linear-gradient(135deg, #a51d1d, #7a1505);
    border-radius: 16px 16px 4px 4px;
    border: 5px solid #f2f2f2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
}
.pn-paperclip::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 4px;
    width: 10px;
    height: 35px;
    background: #fff;
    border-radius: 6px;
}

/* Lembaran Kertas Tumpuk di Belakang (Efek Buku/Arsip) */
.pn-paper-sheet {
    position: absolute;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
}
.pn-sheet-2 {
    top: 12px;
    left: 10px;
    right: -10px;
    bottom: -12px;
    transform: rotate(0.6deg);
    z-index: 1;
    background: #fcfcfc;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.pn-sheet-3 {
    top: 24px;
    left: 20px;
    right: -20px;
    bottom: -24px;
    transform: rotate(-0.6deg);
    z-index: 0;
    background: #f4f4f4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Lembar Utama Berita (Paling Depan) */
.pn-paper-sheet.pn-sheet-1 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 50px;
    z-index: 5;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* Styling Elemen di Dalam Dokumen */
.pn-doc-main-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}
.pn-doc-main-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 10px;
}
.pn-doc-divider {
    width: 90px;
    height: 3px;
    background: #7B0009;
    margin-bottom: 15px;
}
.pn-doc-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}
.pn-doc-meta-list a {
    color: #7B0009;
    text-decoration: none;
}
.pn-doc-meta-list a:hover {
    text-decoration: underline;
}
.pn-doc-body-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}
.pn-doc-body-content p {
    margin-bottom: 15px;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
    .pn-document-container {
        padding: 5px;
        margin: 15px 0;
    }
    .pn-paper-sheet.pn-sheet-1 {
        padding: 20px 15px;
    }
    .pn-paperclip {
        right: 35px;
        width: 25px;
        height: 50px;
    }
}

/* =========================================
   16. DETIL HALAMAN
========================================= */
   
.pn-document-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 60px auto;
    padding: 20px 10px;
}

/* Klip Kertas Estetik di Bagian Atas */
.pn-paperclip {
    position: absolute;
    top: -15px;
    right: 120px;
    width: 32px;
    height: 65px;
    background: linear-gradient(135deg, #a51d1d, #7a1505);
    border-radius: 16px 16px 4px 4px;
    border: 5px solid #f2f2f2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
}
.pn-paperclip::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 4px;
    width: 10px;
    height: 35px;
    background: #fff;
    border-radius: 6px;
}

/* Lembaran Kertas Tumpuk di Belakang (Efek Buku/Arsip) */
.pn-paper-sheet {
    position: absolute;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
}
.pn-sheet-2 {
    top: 12px;
    left: 10px;
    right: -10px;
    bottom: -12px;
    transform: rotate(0.5deg);
    z-index: 1;
    background: #fcfcfc;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.pn-sheet-3 {
    top: 24px;
    left: 20px;
    right: -20px;
    bottom: -24px;
    transform: rotate(-0.5deg);
    z-index: 0;
    background: #f4f4f4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Lembar Utama Halaman (Paling Depan) */
.pn-paper-sheet.pn-sheet-1 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 50px;
    z-index: 5;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* Styling Elemen di Dalam Dokumen Halaman */
.pn-doc-main-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    color: #1a1a1a;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 10px;
}
.pn-doc-divider {
    width: 90px;
    height: 3px;
    background: #7B0009;
    margin-bottom: 25px;
}
.pn-doc-body-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    color: #333;
    line-height: 1.75;
}
.pn-doc-body-content p {
    margin-bottom: 15px;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
    .pn-document-container {
        padding: 5px;
        margin: 15px 0;
    }
    .pn-paper-sheet.pn-sheet-1 {
        padding: 20px 15px;
    }
    .pn-paperclip {
        right: 35px;
        width: 25px;
        height: 50px;
    }
}
/* Memaksa kontainer pagination dan elemen list di dalamnya menjadi horizontal */
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] ul,
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] div,
div[style*="text-align: center; margin-top: 20px;"] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

/* Mengatur setiap item pagination (li, a, span) agar berjajar ke samping */
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] ul li,
div[style*="text-align: center; margin-top: 20px;"] a,
div[style*="text-align: center; margin-top: 20px;"] span,
div[style*="text-align: center; margin-top: 20px;"] strong {
    display: inline-block !important;
    float: none !important;
    margin: 0 2px !important;
    padding: 6px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
}

/* Warna latar untuk halaman aktif / sedang dipilih */
div[style*="text-align: center; margin-top: 20px;"] .active span,
div[style*="text-align: center; margin-top: 20px;"] strong,
div[style*="text-align: center; margin-top: 20px;"] .active {
    background-color: #7B0009 !important;
    border-color: #7B0009 !important;
    color: #fff !important;
}
/* =========================================
   17. PEGAWAI
========================================= */
@keyframes cardSpinGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Container luar untuk wadah efek putar border kartu */
.card-wrapper-glow {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    padding: 3px; /* Ketebalan garis cahaya pinggiran kartu */
    background: #e0e0e0;
    margin-bottom: 15px;
    height: 100%;
}

.card-wrapper-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(
        from 0deg, 
        transparent 0deg, 
        transparent 250deg, 
        rgba(255, 215, 0, 1) 310deg, 
        rgba(255, 255, 255, 1) 360deg
    );
    animation: cardSpinGlow 6s linear infinite;
    z-index: 1;
}

/* Isi dalam kartu agar tetap rapi dan putih bersih */
.card-content-inner {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    z-index: 2;
    height: calc(100% - 6px);
}
/* =========================================
   18. ROLE MODEL & AGEN
========================================= */
@keyframes cardSpinGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Container luar untuk wadah efek putar border kartu */
.card-wrapper-glow {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 3px; /* Ketebalan garis cahaya pinggiran kartu */
    background: #e0e0e0;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card-wrapper-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(
        from 0deg, 
        transparent 0deg, 
        transparent 250deg, 
        rgba(255, 215, 0, 1) 310deg, 
        rgba(178, 34, 34, 1) 360deg
    );
    animation: cardSpinGlow 6s linear infinite;
    z-index: 1;
}

/* Isi dalam kartu agar tetap rapi dan putih bersih */
.card-content-inner {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    padding: 35px;
    z-index: 2;
}

/* =========================================
   19. SEARCH
========================================= */
/* Wrapper Kontainer Dokumen */
.pn-document-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 60px auto;
    padding: 20px 10px;
}

/* Klip Kertas Estetik di Bagian Atas */
.pn-paperclip {
    position: absolute;
    top: -15px;
    right: 120px;
    width: 32px;
    height: 65px;
    background: linear-gradient(135deg, #a51d1d, #7a1505);
    border-radius: 16px 16px 4px 4px;
    border: 5px solid #f2f2f2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 10;
}
.pn-paperclip::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 4px;
    width: 10px;
    height: 35px;
    background: #fff;
    border-radius: 6px;
}

/* Lembaran Kertas Tumpuk di Belakang (Efek Buku/Arsip) */
.pn-paper-sheet {
    position: absolute;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
}
.pn-sheet-2 {
    top: 12px;
    left: 10px;
    right: -10px;
    bottom: -12px;
    transform: rotate(0.5deg);
    z-index: 1;
    background: #fcfcfc;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.pn-sheet-3 {
    top: 24px;
    left: 20px;
    right: -20px;
    bottom: -24px;
    transform: rotate(-0.5deg);
    z-index: 0;
    background: #f4f4f4;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

/* Lembar Utama Halaman (Paling Depan) */
.pn-paper-sheet.pn-sheet-1 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 45px 50px;
    z-index: 5;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* Styling Elemen di Dalam Dokumen Halaman */
.pn-doc-main-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    color: #1a1a1a;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 10px;
}
.pn-doc-divider {
    width: 90px;
    height: 3px;
    background: #7B0009;
    margin-bottom: 25px;
}
.pn-doc-body-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    color: #333;
    line-height: 1.75;
}
.pn-doc-body-content p {
    margin-bottom: 15px;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
    .pn-document-container {
        padding: 5px;
        margin: 15px 0;
    }
    .pn-paper-sheet.pn-sheet-1 {
        padding: 20px 15px;
    }
    .pn-paperclip {
        right: 35px;
        width: 25px;
        height: 50px;
    }
}
/* Memaksa kontainer pagination dan elemen list di dalamnya menjadi horizontal */
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] ul,
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] div,
div[style*="text-align: center; margin-top: 20px;"] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

/* Mengatur setiap item pagination (li, a, span) agar berjajar ke samping */
.pn-paper-sheet div[style*="text-align: center; margin-top: 20px;"] ul li,
div[style*="text-align: center; margin-top: 20px;"] a,
div[style*="text-align: center; margin-top: 20px;"] span,
div[style*="text-align: center; margin-top: 20px;"] strong {
    display: inline-block !important;
    float: none !important;
    margin: 0 2px !important;
    padding: 6px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
}

/* Warna latar untuk halaman aktif / sedang dipilih */
div[style*="text-align: center; margin-top: 20px;"] .active span,
div[style*="text-align: center; margin-top: 20px;"] strong,
div[style*="text-align: center; margin-top: 20px;"] .active {
    background-color: #7B0009 !important;
    border-color: #7B0009 !important;
    color: #fff !important;
}

/* =========================================
   20. SIDEBAR
========================================= */
.sidebar-widget.pn-lang-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.pn-lang-card .sw-header {
    text-align: center;
    margin-bottom: 15px;
}
.pn-lang-card .sw-header h4 {
    margin: 0;
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #111;
    font-weight: normal;
}
.pn-lang-card .sw-line {
    width: 100px;
    height: 2px;
    background: #7B0009;
    margin: 8px auto 0 auto;
}
.pn-lang-card .sw-body {
    padding: 0;
}
.pn-lang-buttons {
    display: flex;
    gap: 10px;
}
.pn-lang-btn {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fdfaf9;
    color: #333;
    text-decoration: none !important;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border: 1px solid #eaeaea;
    transition: all 0.2s ease;
}
.pn-lang-btn:hover {
    background: #fdf5f2;
    border-color: #7B0009;
    color: #7B0009;
}
.pn-lang-btn.active {
    background: #7B0009;
    color: #fff;
    border-color: #7B0009;
}
.goog-te-banner-frame, .goog-te-gadget, .goog-logo-link, .goog-te-combo {
    display: none !important;
    visibility: hidden !important;
}
body {
    top: 0 !important;
}
.skiptranslate {
    display: none !important;
}
@media (max-width: 760px) {
    .sidebar-widget.pn-lang-card { padding: 15px; }
    .pn-lang-card .sw-header h4 { font-size: 18px; }
}