/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #1a5fa8;
  --blue-dark: #0d3d73;
  --blue-light: #2a7bd4;
  --green: #27a844;
  --orange: #f59c11;
  --purple: #7c3fb4;
  --teal: #00a79d;
  --red: #e53935;
  --yellow: #e8b400;
  --white: #ffffff;
  --gray-light: #f4f7fc;
  --gray: #6b7a8d;
  --text: #1e2d3d;
  --shadow: 0 4px 24px rgba(26,95,168,0.12);
  --radius: 14px;
}
body { 
  font-family: 'Inter', sans-serif; 
  color: var(--text); 
  background: #fff; 
  scroll-behavior: smooth; 
}
.container { max-width: 1350px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ========== NAVBAR ========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,95,168,0.10);
  padding: 8px 0;
}
.nav-container {
  display: flex; align-items: center; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; min-width: 200px; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-ppid { font-size: 13px; font-weight: 700; color: var(--blue); }
.brand-name { font-size: 13px; font-weight: 600; color: var(--text); }
.brand-province { font-size: 11px; color: var(--gray); }
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; flex-wrap: nowrap; justify-content: flex-end; }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--text);
  padding: 8px 6px; border-radius: 6px;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link.active { border-bottom: 2px solid var(--blue); border-radius: 0; }
.nav-link.nav-berita { color: var(--blue); font-weight: 700; }
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #0b2f6d; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  min-width: 240px; padding: 8px 0; z-index: 200;
  border: 1px solid rgba(255,255,255,0.1);
}
.dropdown-menu a { display: block; padding: 12px 18px; font-size: 13px; color: rgba(255,255,255,0.9); transition: background 0.2s, color 0.2s; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-dropdown:hover > .dropdown-menu { display: block; animation: fadeDown 0.18s ease; }

/* Submenu Support */
.dropdown-submenu { position: relative; }
.dropdown-submenu > a { display: flex; justify-content: space-between; align-items: center; }
.dropdown-submenu > a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 11px;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  animation: fadeDown 0.18s ease;
}

@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-btn-icon {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--blue); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.nav-btn-icon:hover { background: var(--gray-light); }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--blue); padding: 4px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f5f8fc;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-dots {
  position: absolute; top: 20px; right: 40%;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.hero-container {
  display: block;
  max-width: 600px;
  padding-top: 70px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}
.hero-welcome { color: rgba(255,255,255,0.88); font-size: 15px; margin-bottom: 10px; }
.hero-title {
  font-size: 42px; font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner {
  display: flex;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  will-change: transform;
}
.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.carousel-control {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.carousel-control:hover {
  background: rgba(0, 0, 0, 0.7);
}
.carousel-control.prev {
  left: 20px;
}
.carousel-control.next {
  right: 20px;
}
.carousel-indicators {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.carousel-indicators .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.carousel-indicators .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}
.carousel-indicators .dot.active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .carousel-control {
    width: 36px;
    height: 36px;
    top: 35%;
  }
  .carousel-indicators {
    bottom: 80px;
  }
}



/* SERVICE CARDS */
.service-cards-wrap {
  position: relative;
  z-index: 10;
  padding: 0 0 36px 0;
  margin-top: -120px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}
.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  min-height: 200px;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.svc-card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.svc-card strong { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.svc-card span   { font-size: 11.5px; opacity: 0.95; line-height: 1.45; }

.svc-blue { background: linear-gradient(145deg, #1066c4, #084c99); }
.svc-blue .svc-card-icon { color: #084c99; }

.svc-green { background: linear-gradient(145deg, #17b359, #0e8640); }
.svc-green .svc-card-icon { color: #0e8640; }

.svc-orange { background: linear-gradient(145deg, #faa212, #db8100); }
.svc-orange .svc-card-icon { color: #db8100; }

.svc-purple { background: linear-gradient(145deg, #8738a3, #65207d); }
.svc-purple .svc-card-icon { color: #65207d; }

.svc-teal { background: linear-gradient(145deg, #00a4ad, #00777e); }
.svc-teal .svc-card-icon { color: #00777e; }

/* ========== JENIS INFORMASI ========== */
.info-publik { padding: 70px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.section-subtitle { color: var(--gray); font-size: 15px; }
.section-header.white .section-title, .section-title.white { color: #fff; }
.info-cards {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.info-card {
  background: var(--gray-light); border-radius: var(--radius);
  padding: 28px 18px; text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  border: 1px solid #e5eaf3;
  text-decoration: none;
  display: block;
}
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.info-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.info-icon.blue { background: #dbeafe; color: var(--blue); }
.info-icon.green { background: #dcfce7; color: var(--green); }
.info-icon.orange { background: #fef3c7; color: var(--orange); }
.info-icon.teal { background: #ccfbf1; color: var(--teal); }
.info-icon.purple { background: #ede9fe; color: var(--purple); }
.info-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.info-card p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ========== MEDIA SOSIAL ========== */
.sosmed {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0b2f6d 0%, #1a5fa8 60%, #1565c0 100%);
  padding: 70px 0 50px;
}
.sosmed-bg { position: absolute; inset: 0; pointer-events: none; }
.sosmed-circles {
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.sosmed-title-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 10px; }
.sosmed-icon-bubble {
  background: rgba(255,255,255,0.18);
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
}
.sosmed-cards {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 32px;
}
.sosmed-card {
  background: #fff; border-radius: 16px; padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.25s;
}
.sosmed-card:hover { transform: translateY(-6px); }
.sosmed-illus {
  width: 100%; height: 100px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #f4f7fc;
}
.sosmed-badge {
  padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff;
}
.sosmed-badge.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sosmed-badge.twitter { background: #000; }
.sosmed-badge.facebook { background: #1877F2; }
.sosmed-badge.tiktok { background: #010101; }
.sosmed-badge.youtube { background: #FF0000; }
.sosmed-handle { font-size: 13px; font-weight: 600; color: var(--text); }
.sosmed-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid #ddd; border-radius: 999px;
  padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--text); transition: all 0.2s;
}
.sosmed-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.sosmed-caption { color: rgba(255,255,255,0.8); text-align: center; font-size: 13px; line-height: 1.7; }

/* ========== LINK TERKAIT ========== */
.link-terkait { padding: 70px 0; background: var(--gray-light); }
.link-title {
  font-size: 22px; font-weight: 900; text-align: center;
  color: var(--text); margin-bottom: 32px; letter-spacing: 1px;
}
.link-row { display: grid; gap: 18px; margin-bottom: 20px; }
.primary-links { grid-template-columns: repeat(3, 1fr); }
.secondary-links { grid-template-columns: repeat(6, 1fr); gap: 16px; }

.link-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
}
.link-card:hover {
  box-shadow: 0 12px 28px rgba(11, 47, 109, 0.12);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}
.link-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 47, 109, 0.08) 0%, rgba(11, 47, 109, 0.04) 100%);
  flex-shrink: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.link-card:hover .link-card-icon {
  background: rgba(11, 47, 109, 0.12);
  transform: scale(1.05);
}
.link-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ppid-badge { background: var(--red); color:#fff; font-size:11px; font-weight:800; padding:4px 8px; border-radius:6px; text-align:center; line-height:1.2; }
.link-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.link-card-body strong { font-size: 14px; font-weight: 700; color: #1e293b; }
.link-card-body span { font-size: 12px; color: #64748b; }
.link-card-body small { font-size: 11px; color: #94a3b8; }

/* Secondary Link Cards */
.link-card-sm {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  min-height: 235px;
}
.link-card-sm:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(11, 47, 109, 0.12);
  border-color: #cbd5e1;
}
.link-card-media {
  width: 100%;
  height: 115px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.link-card-sm:hover .link-media-img {
  transform: scale(1.08);
}
.link-icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(11, 47, 109, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.link-icon-placeholder i {
  color: #0b2f6d;
  font-size: 26px;
  transition: all 0.3s ease;
}
.link-card-sm:hover .link-icon-placeholder {
  background: #0b2f6d;
  transform: scale(1.08);
}
.link-card-sm:hover .link-icon-placeholder i {
  color: #ffffff;
}
.link-card-content {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  text-align: center;
  gap: 10px;
}
.link-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.link-visit {
  color: #0b2f6d !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  transition: all 0.2s ease;
}
.link-card-sm:hover .link-visit {
  color: #f08c33 !important;
}
.link-visit i {
  transition: transform 0.25s ease;
}
.link-card-sm:hover .link-visit i {
  transform: translateX(4px);
}

/* ========== BERITA PAGE ========== */
.berita-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1a30 0%, #153460 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.berita-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.berita-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.berita-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.berita-title {
  font-size: 36px;
  font-weight: 800;
}
.berita-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
}

.berita-list {
  background: #f8fafc;
  padding: 60px 0;
}
.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.berita-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.berita-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.berita-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.berita-card:hover .berita-img img {
  transform: scale(1.05);
}
.berita-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.berita-meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
.berita-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.berita-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.berita-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.berita-link:hover {
  color: var(--blue-dark);
}

/* ========== STANDARD PAGE LAYOUT (JAKARTA PPID STYLE) ========== */
.page-hero {
  background: linear-gradient(135deg, #0b2f6d 0%, #1a5fa8 100%);
  padding: 100px 0 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.page-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.page-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}
.page-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.page-wrapper {
  padding: 60px 0 100px 0;
  background: #eef2f6; /* Soft blue/gray background */
}
.page-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

/* MAIN CONTENT CARD */
.page-main-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
}

/* Typography Enhancements for WP Content */
.page-main-card h1, 
.page-main-card h2, 
.page-main-card h3, 
.page-main-card h4, 
.page-main-card h5, 
.page-main-card h6 {
  color: #0f172a;
  font-weight: 700;
  margin: 35px 0 15px 0;
  line-height: 1.3;
}
.page-main-card h1:first-child,
.page-main-card h2:first-child,
.page-main-card h3:first-child,
.page-main-card h4:first-child {
  margin-top: 0;
}
.page-main-card h2 { font-size: 26px; }
.page-main-card h3 { font-size: 22px; color: #1e293b; }
.page-main-card h4 { font-size: 19px; color: #0b2f6d; }
.page-main-card h4 span[style] { color: inherit !important; } /* Override WP colors */

.page-main-card p {
  color: #475569;
  margin-bottom: 20px;
}
.page-main-card ul, 
.page-main-card ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: #475569;
}
.page-main-card ul {
  list-style-type: disc;
}
.page-main-card ol {
  list-style-type: decimal;
}
.page-main-card ul ul, .page-main-card ol ul {
  list-style-type: circle;
}
.page-main-card ul ul ul, .page-main-card ol ul ul, .page-main-card ol ol ul {
  list-style-type: square;
}
.page-main-card li {
  margin-bottom: 12px;
  padding-left: 8px;
}
.page-main-card li > ul,
.page-main-card li > ol {
  margin-top: 10px;
  margin-bottom: 0;
}

.page-main-card a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted transparent;
  transition: all 0.2s ease;
}
.page-main-card a:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.page-main-card b, 
.page-main-card strong {
  font-weight: 600;
  color: #1e293b;
}

.page-main-card blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 20px;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: #64748b;
  background: #f8fafc;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
}

/* DOCUMENT CARD GRID IN DYNAMIC PAGES */
.page-doc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin: 20px 0 28px 0;
}

.page-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.page-doc-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 6px 16px rgba(11, 47, 109, 0.06);
  transform: translateY(-1px);
}

.page-doc-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.page-doc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.page-doc-icon.pdf {
  background: #fee2e2;
  color: #dc2626;
}

.page-doc-icon.drive {
  background: #dbeafe;
  color: #2563eb;
}

.page-doc-icon.image {
  background: #fef3c7;
  color: #d97706;
}

.page-doc-icon.other {
  background: #e0f2fe;
  color: #0284c7;
}

.page-doc-meta {
  min-width: 0;
  flex: 1;
}

.page-doc-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.page-doc-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
}

.page-doc-year {
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
}

.page-doc-card-right {
  flex-shrink: 0;
}

.page-main-card .page-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.page-main-card .page-doc-btn.primary {
  background: #0b2f6d;
  color: #ffffff !important;
}

.page-main-card .page-doc-btn.primary:hover {
  background: #1e40af;
}

.page-main-card .page-doc-btn.secondary {
  background: #eff6ff;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe;
}

.page-main-card .page-doc-btn.secondary:hover {
  background: #dbeafe;
}

@media (max-width: 640px) {
  .page-doc-card-grid {
    grid-template-columns: 1fr;
  }
  .page-doc-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-doc-card-right,
  .page-main-card .page-doc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* RESPONSIVE POSTERS & EMBEDDED YOUTUBE VIDEOS IN DYNAMIC PAGES */
.page-main-card img {
  max-width: min(100%, 820px);
  height: auto !important;
  border-radius: 14px;
  margin: 16px auto;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
}

.page-main-card a:has(img) {
  border-bottom: none !important;
  display: block;
}

.page-video-card {
  max-width: 920px;
  margin: 24px auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 47, 109, 0.08);
  background: #0f172a;
}

.page-video-header {
  background: #0b2f6d;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-video-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-video-title i {
  color: #f87171;
  font-size: 18px;
}

.page-main-card .page-video-ext {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-main-card .page-video-ext:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

.page-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
}

.page-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* SIDEBAR WIDGETS */
.sidebar-widget {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 30px;
}
.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #0b2f6d;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}
.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: #f0f4f8;
}
.sidebar-title::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px;
  height: 2px;
  background: #e8b400;
  z-index: 1;
}

/* SIDEBAR MENU (Jakarta Style) */
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 12px;
  background: #f4f7fa;
  color: #2d3748;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.sidebar-menu a i {
  width: 32px;
  height: 32px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #4a5568;
  transition: all 0.3s ease;
}
.sidebar-menu a:hover {
  background: #e2e8f0;
}
.sidebar-menu a.active {
  background: #0b2f6d;
  color: #fff;
}
.sidebar-menu a.active i {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* SIDEBAR STATS (Grid of 4) */
.sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}
.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.stat-icon {
  width: 48px;
  height: 48px;
  background: #0b2f6d;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 15px auto;
}
.sidebar-stats .stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #0b2f6d;
  margin-bottom: 5px;
}
.sidebar-stats .stat-label {
  font-size: 12px;
  color: #718096;
  font-weight: 600;
}

/* NAVIGASI CEPAT SECTION (Bottom cards) */
.nav-cepat-section {
  background: #0b2f6d;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.nav-cepat-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #e8b400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.nav-cepat-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
}
.nav-cepat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nav-cepat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}
.nav-cepat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.nav-cepat-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px auto;
}
.nav-cepat-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}
.nav-cepat-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  background: #0b1a30;
  color: #fff;
  padding: 45px 0 0;
}
.footer-grid-new {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1fr;
  gap: 24px;
  padding-bottom: 35px;
}
.footer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.footer-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}
.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}
.footer-map-wrapper {
  position: relative;
  width: 100%;
  height: 185px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
}
.footer-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.footer-map-link:hover {
  background: #0b2f6d;
  border-color: #38bdf8;
  color: #38bdf8;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}
.stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.footer-bottom {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .info-cards { grid-template-columns: repeat(3,1fr); }
  .sosmed-cards { grid-template-columns: repeat(3,1fr); }
  .secondary-links { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1024px) {
  .footer-grid-new { grid-template-columns: 1fr; gap: 20px; }
}
/* ========== TAB LAYOUT (INFORMASI BERKALA) ========== */
.info-layout {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 30px;
  align-items: start;
}
.info-sidebar {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: sticky;
  top: 100px;
}
.info-tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 5px;
  line-height: 1.5;
}
.info-tab-btn:hover {
  background: #f0f4f8;
}
.info-tab-btn.active {
  background: #0b2f6d;
  color: #fff;
}
.info-content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.info-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}
.info-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.info-panel-title {
  font-size: 22px;
  font-weight: 700;
  color: #0b2f6d;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f4f8;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f9fbfd;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.info-item:hover {
  border-color: #0b2f6d;
  box-shadow: 0 4px 12px rgba(11, 47, 109, 0.05);
}
.info-item-text {
  font-size: 15px;
  color: #2d3748;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}
.info-item-text i {
  color: #0b2f6d;
  font-size: 18px;
}
.form-page-grid {
  grid-template-columns: 1fr 350px !important;
}
.berita-item-link:hover .berita-title {
  color: #1a5fa8 !important;
}
.info-search-container {
  margin-bottom: 30px;
  position: relative;
}
.info-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  font-size: 15px;
  color: #2d3748;
  background: #ffffff;
  border: 1.5px solid #0b2f6d;
  border-radius: 10px;
  outline: none;
  box-shadow: 0 4px 10px rgba(11, 47, 109, 0.04);
  transition: all 0.3s;
  box-sizing: border-box;
}
.info-search-input:focus {
  box-shadow: 0 6px 16px rgba(11, 47, 109, 0.12);
}
.info-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #718096;
  font-size: 16px;
  pointer-events: none;
}
.info-item-btn {
  background: #e2e8f0;
  color: #2d3748;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.info-item-btn:hover {
  background: #0b2f6d;
  color: #fff;
}

/* YEAR FILTER & ARCHIVE ACCORDION STYLES */
.year-filter-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}
.year-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}
.year-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.year-pill {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.year-pill:hover {
  background: #f1f5f9;
  color: #0b2f6d;
  border-color: #94a3b8;
}
.year-pill.active {
  background: #0b2f6d;
  color: #ffffff;
  border-color: #0b2f6d;
  box-shadow: 0 4px 10px rgba(11, 47, 109, 0.2);
}
.year-pill .pill-badge {
  background: rgba(11, 47, 109, 0.1);
  color: #0b2f6d;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.year-pill.active .pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.year-pill.pill-archive {
  border-style: dashed;
}
.year-active-notice {
  font-size: 12px;
  color: #64748b;
  margin-top: -10px;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.year-active-notice i {
  color: #10b981;
}

/* YEAR GROUP CARDS & HEADERS */
.year-group-card {
  margin-bottom: 24px;
  transition: all 0.3s ease;
}
.year-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #f1f5f9;
  border-left: 4px solid #0b2f6d;
  border-radius: 8px;
  margin-bottom: 12px;
}
.year-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}
.year-group-title i {
  color: #0b2f6d;
}
.badge-latest-year {
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.year-group-count {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* ARCHIVE ACCORDION BOX */
.archive-accordion-card {
  margin-top: 25px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
  overflow: hidden;
  background: #fdfefe;
  transition: all 0.3s ease;
}
.archive-accordion-card.open {
  border-color: #0b2f6d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.archive-accordion-header {
  padding: 16px 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}
.archive-accordion-header:hover {
  background: #f1f5f9;
}
.archive-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.archive-header-left i.fa-box-archive {
  font-size: 24px;
  color: #64748b;
  transition: color 0.2s ease;
}
.archive-accordion-card.open .archive-header-left i.fa-box-archive {
  color: #0b2f6d;
}
.archive-header-text h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.archive-header-text p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}
.archive-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}
.archive-accordion-header:hover .archive-toggle-btn {
  border-color: #0b2f6d;
  color: #0b2f6d;
}
.archive-toggle-btn i {
  transition: transform 0.3s ease;
}
.archive-accordion-card.open .archive-toggle-btn i {
  transform: rotate(180deg);
}
.archive-accordion-body {
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

@media (max-width: 900px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .service-cards-wrap { margin-top: -60px; padding: 0 16px 36px; }
  .service-cards { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .svc-card { min-height: 180px; }
  .primary-links { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .hero-info-grid { grid-template-columns: 1fr; }
  .footer-grid-new { grid-template-columns: 1fr; }
  .berita-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .nav-cepat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-layout { grid-template-columns: 1fr; gap: 20px; }
  .info-sidebar {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding: 15px;
    gap: 10px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .info-sidebar::-webkit-scrollbar {
    height: 6px;
  }
  .info-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
  }
  .info-tab-btn {
    width: auto;
    flex-shrink: 0;
    margin-bottom: 0;
    padding: 12px 20px;
    white-space: nowrap;
  }
  .form-page-grid { grid-template-columns: 1fr !important; }
  .form-split-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 28px; }
  .service-cards-wrap { margin-top: -15px; padding: 0 12px 24px; }
  .service-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-card { min-height: 110px; padding: 12px 8px; gap: 8px; border-radius: 8px; }
  .svc-card-icon { width: 40px; height: 40px; font-size: 18px; }
  .svc-card strong { font-size: 12px; line-height: 1.25; }
  .svc-card span { font-size: 9.5px; line-height: 1.3; }
  .svc-card:last-child { grid-column: span 2; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .sosmed-cards { grid-template-columns: 1fr 1fr; }
  .secondary-links { grid-template-columns: repeat(2,1fr); }
  .berita-grid { grid-template-columns: 1fr; }
  .page-main-card { padding: 20px; }
  .nav-cepat-grid { grid-template-columns: 1fr; }
  .info-content { padding: 20px; }
  .info-item { flex-direction: column; align-items: flex-start; gap: 15px; }
  .info-item-btn { align-self: flex-start; }
}

/* ========== SEARCH MODAL ========== */
.search-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.search-modal.active {
  opacity: 1;
  visibility: visible;
}
.search-modal-content {
  background: linear-gradient(135deg, #0b2f6d, #1a5fa8);
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s ease;
}
.search-modal.active .search-modal-content {
  transform: translateY(0) scale(1);
}
.search-modal-content input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid #dd6b20;
  padding: 16px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}
.search-modal-content input::placeholder {
  color: rgba(255,255,255,0.6);
}
.search-modal-content input:focus {
  border-color: #f6ad55;
  background: rgba(255,255,255,0.15);
}
.search-modal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.search-modal-footer button {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-modal-footer button:hover {
  background: rgba(255,255,255,0.2);
}

/* ========== SOSMED FEED GRID (3 ATAS, 2 BAWAH, ALIGN CENTER) ========== */
.sosmed-feed-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}
.feed-widget {
  flex: 0 1 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  min-width: 320px;
  max-width: calc((100% - 48px) / 3);
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  height: 550px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .feed-widget {
    flex: 0 1 calc(50% - 12px);
    width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    min-width: 280px;
  }
}

@media (max-width: 680px) {
  .feed-widget {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
}
.feed-header {
  padding: 20px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
}
.feed-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.feed-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.feed-info {
  display: flex;
  flex-direction: column;
}
.feed-info strong {
  font-size: 15px;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 4px;
}
.feed-info span {
  font-size: 12px;
  color: #718096;
}
.feed-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 0 10px;
}
.feed-stats div {
  text-align: center;
}
.feed-stats strong {
  display: block;
  font-size: 14px;
  color: #2d3748;
}
.feed-stats span {
  font-size: 11px;
  color: #a0aec0;
}
.btn-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-follow:hover { opacity: 0.9; }
.ig-btn { background: #0095f6; }
.tw-btn { background: #0f1419; }
.yt-btn { background: #ff0000; }

.feed-body {
  flex: 1;
  overflow-y: auto;
  background: #fff;
}
/* Scrollbar */
.feed-body::-webkit-scrollbar { width: 5px; }
.feed-body::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 3px; }

/* IG Grid */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.ig-grid .ig-post {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
}
.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.ig-grid .ig-post:hover img {
  transform: scale(1.05);
}

/* TW List */
.tw-post {
  padding: 15px;
  border-bottom: 1px solid #edf2f7;
}
.tw-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tw-post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.tw-post-text {
  font-size: 13px;
  color: #2d3748;
  line-height: 1.5;
  margin-bottom: 10px;
}
.tw-post-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #edf2f7;
}
.tw-post-actions {
  display: flex;
  gap: 24px;
  color: #718096;
  font-size: 13px;
}

/* YT Header */
.yt-header-wrap {
  background: url('baner-dinkes.png') center/cover;
  position: relative;
  padding-top: 40px;
}
.yt-header-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}
.yt-profile {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-bottom: 20px;
}
.yt-profile .feed-avatar {
  margin: 0 auto 10px;
  width: 60px;
  height: 60px;
}
.yt-stats {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  margin: 10px 0 15px;
}
.yt-btn-wrap {
  display: flex;
  justify-content: center;
}
.yt-btn-small {
  background: #ff0000;
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yt-grid {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #0f0f0f;
  min-height: 100%;
}
.yt-video {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.yt-video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.yt-video:hover img {
  transform: scale(1.05);
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.yt-video:hover .yt-play { background: #ff0000; }
.yt-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 4px;
}
.yt-title {
  margin-top: 8px;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive handled in sosmed-feed-grid flex definition */

/* ========== DETAIL DOKUMEN ========== */
.detail-doc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.detail-doc-header {
  padding: 24px 30px;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-doc-header-icon {
  width: 48px;
  height: 48px;
  background: #f08c33;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.detail-doc-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0b2f6d;
  margin: 0;
}
.detail-doc-list {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #f9fbfd;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.detail-doc-item:hover {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.doc-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}
.doc-item-icon.blue {
  background: #0b2f6d;
}
.doc-item-icon.red {
  background: #ef4444;
}
.doc-item-text {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #2d3748;
}
.doc-item-arrow {
  width: 28px;
  height: 28px;
  background: #e2e8f0;
  color: #4a5568;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
}
.detail-doc-item:hover .doc-item-arrow {
  background: #0b2f6d;
  color: #fff;
}

@media (max-width: 600px) {
  .detail-doc-list { padding: 20px; }
  .detail-doc-header { padding: 20px; }
  .detail-doc-item { padding: 12px 16px; gap: 12px; }
  .doc-item-icon { width: 36px; height: 36px; font-size: 14px; }
  .doc-item-text { font-size: 14px; }
}
