:root {
  /* ===== Identitas Polri / Polres Katingan ===== */
  --polri-green: #1a3d2b;      /* hijau tua Polri */
  --polri-green-dark: #0f2a1d;
  --polri-green-light: #2a6b46;
  --polri-gold: #d4af37;       /* emas/tribrata */
  --polri-gold-light: #e8cd6a;
  --polri-navy: #12253c;
  --polri-red: #b71c1c;
  --polri-bg: #f4f6f8;
  --polri-text: #212529;
  --polri-muted: #6c757d;
  --polri-border: #dde3e7;
  --radius: 0; /* konsep resmi, tegas — tanpa rounded */
  --bs-primary: var(--polri-green);
  --bs-primary-rgb: 26, 61, 43;
  --bs-link-color: var(--polri-green);
  --bs-link-hover-color: var(--polri-green-light);
}

body {
  background-color: var(--polri-bg);
  color: var(--polri-text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  padding-top: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-head {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { text-decoration: none; }
a:hover { color: var(--polri-green-light); }

img, video, iframe { max-width: 100%; }

/* ================= TOP BAR ================= */
.topbar {
  background: linear-gradient(90deg, var(--polri-green-dark) 0%, var(--polri-green) 60%, #1f5137 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  padding: 5px 0;
}
.topbar a { color: rgba(255, 255, 255, 0.85); transition: color 0.15s; }
.topbar a:hover { color: var(--polri-gold-light); }

/* ================= NAVBAR ================= */
.navbar-polres {
  background: #ffffff;
  border-bottom: 3px solid var(--polri-gold);
  box-shadow: 0 2px 12px rgba(15, 42, 29, 0.08);
  padding: 0.5rem 0;
}
.navbar-polres .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--polri-green-dark);
  letter-spacing: 0.02em;
  max-width: 420px;
  min-width: 0;
}
.navbar-polres .brand-logo {
  width: 44px; height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.navbar-polres .brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.navbar-polres .brand-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--polri-green-dark);
  white-space: normal;          /* biar bisa wrap / enter kebawah */
  display: block;
}
.navbar-polres .brand-sub {
  font-size: 0.64rem;
  color: var(--polri-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;          /* kalimantan tengah turun baris sendiri */
  display: block;
}
.navbar-polres .navbar-nav .nav-link {
  font-weight: 600;
  color: var(--polri-text);
  padding: 0.5rem 0.8rem !important;
  border-radius: 0;
  font-size: 0.84rem;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.navbar-polres .navbar-nav .nav-link:hover,
.navbar-polres .navbar-nav .nav-link.active {
  color: #fff;
  background: var(--polri-green);
}
.navbar-polres .navbar-nav .nav-link.dropdown-toggle.active,
.navbar-polres .navbar-nav .nav-link.dropdown-toggle:hover {
  color: #fff;
  background: var(--polri-green);
}
.navbar-polres .dropdown-menu {
  border: 1px solid var(--polri-border);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px;
  margin-top: 6px;
  min-width: 220px;
}
.navbar-polres .dropdown-menu .dropdown-item {
  font-size: 0.83rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 0;
  display: flex;
  align-items: center;
  transition: background 0.12s, color 0.12s;
}
.navbar-polres .dropdown-menu .dropdown-item i { width: 20px; color: var(--polri-green); }
.navbar-polres .dropdown-menu .dropdown-item:hover {
  background: var(--polri-green);
  color: #fff;
}
.navbar-polres .dropdown-menu .dropdown-item:hover i { color: var(--polri-gold-light); }
.navbar-polres .dropdown-menu .dropdown-divider { margin: 6px 4px; opacity: 0.15; }

.navbar-polres .nav-search {
  border: 1px solid var(--polri-border);
  border-radius: 0;
  padding: 0.25rem 0.4rem 0.25rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f8faf9;
  max-width: 200px;
  width: 100%;
}
.navbar-polres .nav-search i { color: var(--polri-muted); }
.navbar-polres .nav-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.8rem;
  width: 100%;
  min-width: 60px;
}
.navbar-polres .btn-search-submit {
  border: 0;
  background: var(--polri-green);
  color: #fff;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  border-radius: 0;
  transition: background 0.15s;
}
.navbar-polres .btn-search-submit:hover { background: var(--polri-green-light); }

/* ================= TICKER ================= */
.ticker {
  background: #fff;
  border-bottom: 1px solid var(--polri-border);
}
.ticker .ticker-label {
  background: var(--polri-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 5px 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ticker .ticker-items { overflow: hidden; flex: 1; }
.ticker .ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
.ticker .ticker-track:hover { animation-play-state: paused; }
.ticker .ticker-track a, .ticker .ticker-track span {
  color: var(--polri-text);
  font-size: 0.82rem;
  padding: 5px 20px;
  border-left: 1px solid var(--polri-border);
  display: inline-block;
}
.ticker .ticker-track a:hover { color: var(--polri-green); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= HERO FULL WIDTH ================= */
/* Slider utama — membentang penuh layar */
.hero-slider-wrap {
  background: var(--polri-green-dark);
  position: relative;
}
.hero-slider .carousel-inner { height: 560px; }
.hero-slide { display: block; position: relative; height: 560px; overflow: hidden; }
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: transform 6s ease;
}
.carousel-item.active .hero-slide-img { transform: scale(1.05); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 17, 0.15) 0%, rgba(10, 25, 17, 0.35) 45%, rgba(8, 20, 14, 0.88) 100%);
  display: flex;
  align-items: flex-end;
}
.hero-slide-content { padding-bottom: 46px; max-width: 860px; }
.hero-slide-content .hero-cat {
  background: var(--polri-gold);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  display: inline-block;
}
.hero-slide-title {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 14px 0 10px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
  letter-spacing: -0.01em;
}
.hero-slide-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 720px;
}
.hero-slide-meta {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-slide-meta i { color: var(--polri-gold-light); }

/* Panah kiri/kanan */
.hero-arrow {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  position: absolute;
}
.hero-arrow .hero-arrow-icon {
  width: 52px; height: 52px;
  background: rgba(12, 30, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.2s;
}
.hero-arrow:hover .hero-arrow-icon {
  background: var(--polri-gold);
  color: #1a1a1a;
  border-color: var(--polri-gold);
}
.hero-arrow.carousel-control-prev { left: 24px; }
.hero-arrow.carousel-control-next { right: 24px; }

/* Indikator (dot) */
.hero-indicators {
  margin-bottom: 18px;
  gap: 6px;
}
.hero-indicators button {
  width: 34px;
  height: 4px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  transition: all 0.25s;
}
.hero-indicators button.active { background: var(--polri-gold); width: 52px; }

/* Thumbnail picker di bawah slider */
.hero-thumbs {
  background: var(--polri-green-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0 18px;
}
.hero-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.hero-thumb {
  position: relative;
  height: 74px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #000;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.hero-thumb.active { border-color: var(--polri-gold); }
.hero-thumb.active img { opacity: 1; }
.hero-thumb:hover img { opacity: 1; }
.hero-thumb-title {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 30px 8px 6px;
  display: flex;
  align-items: flex-end;
  line-height: 1.25;
}

/* ===== HERO CUSTOM (admin) ===== */
.hero-custom {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-custom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 20, 14, 0.92) 0%, rgba(8, 20, 14, 0.65) 45%, rgba(8, 20, 14, 0.2) 100%);
  display: flex;
  align-items: center;
  width: 100%;
}
.hero-custom-content { max-width: 720px; padding: 40px 0; }
.hero-custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--polri-gold);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  margin-bottom: 18px;
}
.hero-custom-title {
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 14px;
  text-shadow: 0 3px 16px rgba(0,0,0,0.5);
}
.hero-custom-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 26px;
  max-width: 620px;
}
.hero-custom-cta {
  font-size: 0.95rem;
  padding: 0.7rem 1.8rem;
  border-radius: 0;
}

/* ===== HERO STATIS ===== */
.hero-static { background: var(--polri-green-dark); }
.hero-static-link { display: block; position: relative; height: 480px; overflow: hidden; }
.hero-static-img { width: 100%; height: 100%; object-fit: cover; }
.hero-static-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,25,17,0.15) 0%, rgba(8,20,14,0.9) 100%);
  display: flex;
  align-items: flex-end;
}

/* Hero responsif */
@media (max-width: 991px) {
  .hero-slider .carousel-inner, .hero-slide { height: 420px; }
  .hero-slide-title { font-size: 1.55rem; }
  .hero-thumbs-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-thumb:nth-child(4), .hero-thumb:nth-child(5) { display: none; }
}
@media (max-width: 767px) {
  .hero-slider .carousel-inner, .hero-slide { height: 330px; }
  .hero-slide-title { font-size: 1.2rem; }
  .hero-slide-content { padding-bottom: 30px; }
  .hero-arrow { display: none; }
  .hero-custom { min-height: 400px; }
  .hero-custom-title { font-size: 1.7rem; }
  .hero-custom-sub { font-size: 0.9rem; }
  .hero-static-link { height: 320px; }
}

/* ================= CARDS BERITA ================= */
.news-card {
  background: #fff;
  border: 1px solid var(--polri-border);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 42, 29, 0.12);
  border-color: var(--polri-green-light);
}
.news-card .thumb { height: 180px; overflow: hidden; position: relative; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb .cat-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--polri-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 0;
}
.news-card .body { padding: 14px 16px; }
.news-card .body h5 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.news-card .body h5 a { color: var(--polri-text); }
.news-card .body h5 a:hover { color: var(--polri-green); }
.news-card .meta { color: var(--polri-muted); font-size: 0.72rem; }

/* ================= SECTION TITLE ================= */
.sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 16px;
}
.sec-title .bar {
  width: 5px; height: 24px;
  background: var(--polri-gold);
}
.sec-title h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--polri-green-dark);
}
.sec-title .link-more { margin-left: auto; font-size: 0.78rem; font-weight: 600; }

/* ================= SIDEBAR ================= */
.sidebar-box {
  background: #fff;
  border: 1px solid var(--polri-border);
  border-radius: 0;
  padding: 16px;
  margin-bottom: 18px;
}
.sidebar-box .sb-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--polri-green-dark);
  border-bottom: 2px solid var(--polri-gold);
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sb-news-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--polri-border);
  align-items: stretch;
}
.sb-news-item:last-child { border-bottom: 0; }
.sb-news-item img {
  width: 72px; height: 56px;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  display: block;
}
.sb-news-item .txt { flex: 1; min-width: 0; }
.sb-news-item .txt h6 { font-size: 0.78rem; font-weight: 600; line-height: 1.35; margin: 0 0 3px; }
.sb-news-item .txt h6 a { color: var(--polri-text); display: block; }
.sb-news-item .txt h6 a:hover { color: var(--polri-green); }
.sb-news-item .txt .dt { font-size: 0.66rem; color: var(--polri-muted); }

/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(160deg, var(--polri-green-dark) 0%, var(--polri-green) 100%);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 40px;
}
.site-footer h5 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--polri-gold);
}
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: var(--polri-gold-light); }
.site-footer .foot-link { list-style: none; padding: 0; margin: 0; }
.site-footer .foot-link li { padding: 4px 0; font-size: 0.85rem; }
.site-footer .foot-link li::before { content: "›"; margin-right: 8px; color: var(--polri-gold); }
.site-footer .contact-line { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; }
.site-footer .contact-line i { color: var(--polri-gold); width: 18px; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
  font-size: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

/* ================= DETAIL BERITA ================= */
.article-detail .article-title { font-size: 1.6rem; font-weight: 800; line-height: 1.3; }
.article-detail .article-meta {
  color: var(--polri-muted);
  font-size: 0.8rem;
  padding: 12px 0;
  border-top: 1px solid var(--polri-border);
  border-bottom: 1px solid var(--polri-border);
  margin-bottom: 18px;
}
.article-detail .article-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 16px;
}
.article-detail .article-body { font-size: 1.02rem; line-height: 1.85; }
.article-detail .article-body p { margin-bottom: 1.1rem; }
.article-detail .article-body img { max-width: 100%; }

/* ================= PAGINATION ================= */
.pagination { gap: 4px; }
.pagination .page-link {
  color: var(--polri-green);
  border-radius: 0 !important;
  border: 1px solid var(--polri-border);
  font-weight: 600;
  font-size: 0.85rem;
}
.pagination .page-item.active .page-link {
  background: var(--polri-green);
  border-color: var(--polri-green);
  color: #fff;
}

/* ================= FORM ================= */
.form-control:focus, .form-select:focus {
  border-color: var(--polri-green-light);
  box-shadow: 0 0 0 0.2rem rgba(26, 61, 43, 0.15);
}
.btn-polres {
  background: var(--polri-green);
  border: 0;
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: 0;
  transition: all 0.15s ease;
}
.btn-polres:hover { background: var(--polri-green-light); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: var(--polri-gold);
  border: 0;
  color: #1a1a1a;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: 0;
}
.btn-gold:hover { background: var(--polri-gold-light); color: #1a1a1a; }

/* ================= PAGE HEADER ================= */
.page-head {
  background: linear-gradient(90deg, var(--polri-green-dark), var(--polri-green));
  color: #fff;
  padding: 22px 0;
  margin-bottom: 20px;
}
.page-head h1 { font-size: 1.35rem; font-weight: 800; margin: 0; }
.page-head .breadcrumb { margin: 6px 0 0; font-size: 0.8rem; }
.page-head .breadcrumb a { color: var(--polri-gold-light); }

/* ================= TABEL ADMIN ================= */
.table-admin thead th {
  background: var(--polri-green);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
}
.table-admin td { vertical-align: middle; font-size: 0.85rem; }

/* ================= BADGES STATUS ================= */
.badge-status { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; }

/* ================= VIDEO / GALERI ================= */
.video-card .thumb { height: 180px; position: relative; overflow: hidden; border-bottom: 1px solid var(--polri-border); }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
}
.video-card .thumb .play-btn i {
  background: rgba(0,0,0,0.55);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.video-card .thumb .play-btn i:hover { background: var(--polri-gold); color: #1a1a1a; }

.gallery-item { position: relative; overflow: hidden; margin-bottom: 16px; border: 1px solid var(--polri-border); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  inset-inline: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 26px 12px 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1199px) {
  .navbar-polres .navbar-nav .nav-link { font-size: 0.78rem; padding: 0.5rem 0.55rem !important; }
  .navbar-polres .nav-search { max-width: 150px; }
  .navbar-polres .brand-title { font-size: 0.9rem; }
}

@media (max-width: 991px) {
  .hero-full .hero-card img { height: 320px; }
  .navbar-polres .navbar-brand { max-width: calc(100% - 60px); }
  .navbar-polres .nav-search { max-width: 100%; }
  .navbar-polres .navbar-nav .nav-link { white-space: normal; }
  .col-lg-4 { margin-top: 8px; }
  .hero-full .hero-overlay h2 { max-width: 90%; font-size: 1.3rem; }
}

@media (max-width: 767px) {
  .hero-full .hero-card img { height: 250px; }
  .hero-full .hero-overlay h2 { font-size: 1.1rem; max-width: 100%; }
  .hero-mini { grid-template-columns: 1fr; }
  .hero-mini .side-card { height: 100px; }
  /* Brand: logo + teks tetap muat */
  .navbar-polres .brand-title { font-size: 0.82rem; line-height: 1.15; }
  .navbar-polres .brand-sub { font-size: 0.56rem; }
  .navbar-polres .brand-logo { width: 34px; height: 34px; }
  .article-detail .article-title { font-size: 1.3rem; }
  .page-head h1 { font-size: 1.1rem; }
  .topbar .d-none { display: none; }
}

/* Footer social icons — sharp corners */
.footer-social {
  border-radius: 0 !important;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s;
}
.footer-social:hover {
  background: var(--polri-gold);
  border-color: var(--polri-gold);
  color: #1a1a1a;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}
.footer-contact li { margin-bottom: 10px; display: flex; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.footer-contact i { color: var(--polri-gold-light); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--polri-gold-light); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--polri-gold-light); padding-left: 3px; }
.footer-links i { font-size: 0.6rem; color: var(--polri-gold); }


/* ============================================================
   PEMBARUAN TEMA v3 — spacing lega, sidebar rapi, komponen baru
   ============================================================ */

/* --- Container lebih lega --- */
.container { max-width: 1240px; }

/* --- Spacing vertikal halaman --- */
.py-5 { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
.page-section { padding: 4rem 0; }

/* --- Header topbar lebih lega --- */
.topbar { padding: 0.6rem 0; }

/* --- Card umum lebih lapang --- */
.card { border-radius: 0 !important; }
.card .card-body { padding: 1.5rem; }

/* --- Sidebar lebih rapi --- */
.sidebar-box {
  background: #fff;
  border: 1px solid var(--polri-border);
  border-radius: 0 !important;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.sidebar-box .sb-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--polri-green-dark);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--polri-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-box .sb-title i { color: var(--polri-gold); font-size: 1.05rem; }
.sb-news-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e3e8ec;
  align-items: flex-start;
}
.sb-news-item:last-child { border-bottom: none; }
.sb-news-item .sb-num {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  min-width: 26px;
  color: var(--polri-muted);
  padding-top: 2px;
}
.sb-news-item .txt h6 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 4px;
}
.sb-news-item .txt h6 a { color: var(--polri-text); text-decoration: none; }
.sb-news-item .txt h6 a:hover { color: var(--polri-green); }
.sb-news-item .dt { font-size: 0.72rem; color: var(--polri-muted); display: flex; align-items: center; gap: 4px; }

/* --- Badge kategori di sidebar --- */
.sb-cat { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; background: var(--polri-green); padding: 2px 8px; margin-bottom: 6px; }

/* --- Widget agenda sidebar --- */
.sb-agenda-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e3e8ec; }
.sb-agenda-item:last-child { border-bottom: none; }
.sb-agenda-date { text-align: center; min-width: 46px; background: var(--polri-bg); border: 1px solid var(--polri-border); padding: 6px 4px; }
.sb-agenda-date .d { font-size: 1.05rem; font-weight: 800; color: var(--polri-green-dark); line-height: 1; }
.sb-agenda-date .m { font-size: 0.6rem; text-transform: uppercase; color: var(--polri-muted); }
.sb-agenda-item .t { font-size: 0.8rem; font-weight: 600; line-height: 1.4; }
.sb-agenda-item .t a { color: var(--polri-text); text-decoration: none; }
.sb-agenda-item .t a:hover { color: var(--polri-green); }

/* --- Tombol utama lebih tegas --- */
.btn-polres {
  background: var(--polri-green);
  color: #fff !important;
  border: none;
  border-radius: 0 !important;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-polres:hover { background: var(--polri-green-dark); color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.btn-polres-gold { background: var(--polri-gold); color: #1a1a1a !important; }
.btn-polres-gold:hover { background: var(--polri-gold-light); }

/* --- Divider emas (judul section) --- */
.divider-polres { width: 60px; height: 4px; background: var(--polri-gold); margin: 12px 0 20px; }
.section-title-polres { font-weight: 800; color: var(--polri-green-dark); letter-spacing: 0.3px; }

/* --- Grid berita homepage lebih rapi --- */
.news-card {
  background: #fff;
  border: 1px solid var(--polri-border);
  transition: all 0.25s;
  height: 100%;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.09); transform: translateY(-3px); border-color: var(--polri-gold); }
.news-card .thumb { position: relative; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 190px; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .cat-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.news-card .body { padding: 16px 18px; }
.news-card .body h3 { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 8px; }
.news-card .body h3 a { color: var(--polri-text); text-decoration: none; }
.news-card .body h3 a:hover { color: var(--polri-green); }
.news-card .meta { font-size: 0.75rem; color: var(--polri-muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Ikon layanan (Profil) --- */
.icon-layanan {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--polri-green);
  color: var(--polri-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.icon-layanan-gold { background: var(--polri-gold); color: var(--polri-green-dark); }
