/* =================================================================
   custom.css
   Website Sekolah – Green Theme
   Warna: #123d1c (primer) | #1a5c2a (sekunder)
================================================================= */

/* ----------------------------------------------------------------
   GLOBAL VARIABLES
---------------------------------------------------------------- */
:root {
  --c-primer     : #224820;
  --c-sekunder   : #1B5E38;
  --c-aksen      : #f5a623;
  --c-hijau-muda : #e8f5e9;
  --c-border     : #cde5ce;
  --c-muted      : #666666;
  --c-bg         : #f5f8f5;
  --c-white      : #ffffff;
  --max          : 1280px;
}

* { box-sizing: border-box; }

/* ================================================================
   TOPBAR
================================================================ */
.topbar {
  background: var(--c-sekunder);
  border-bottom: 3px solid var(--c-primer);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
}
.brand-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo-fallback { font-size: 28px; color: var(--c-white); }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: .4px;
  line-height: 1.2;
}
.brand-tagline {
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,.70);
  line-height: 1.5;
  max-width: 340px;
}

/* Topbar right */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}
.top-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.top-contact a i { font-size: 12px; color: rgba(255,255,255,.55); }
.top-contact a:hover { color: var(--c-aksen); }
.top-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.22);
  margin: 0 8px;
}
.top-rss {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: 0 10px;
  transition: color .2s;
  white-space: nowrap;
}
.top-rss:hover { color: var(--c-aksen); }
.search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 6px;
}
.search-wrap input {
  background: none;
  border: none;
  outline: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-white);
  padding: 0 12px;
  width: 130px;
  height: 34px;
}
.search-wrap input::placeholder { color: rgba(255,255,255,.40); }
.search-wrap button {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 34px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.search-wrap button:hover { color: var(--c-aksen); }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  background: var(--c-primer);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 14px rgba(0,0,0,.28);
}
.navbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 44px;
  display: flex;
  align-items: stretch;
}
.nav-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  color: rgba(255,255,255,.80);
  font-size: 15px;
  text-decoration: none;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: color .2s, background .2s;
}
.nav-home:hover { color: var(--c-white); background: rgba(255,255,255,.08); }

.nav-menu {
  display: flex;
  align-items: stretch;
  list-style: none;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 11px;
  height: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  color: rgba(255,255,255,.90);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link .arrow { font-size: 8px; transition: transform .25s; }
.nav-link:hover,
.nav-item.open > .nav-link { background: rgba(255,255,255,.09); color: var(--c-white); }
.nav-item:hover > .nav-link .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--c-sekunder);
  border-top: 3px solid var(--c-aksen);
  padding: 6px 0;
  z-index: 500;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
  animation: fadeDown .18s ease;
  list-style: none;
  margin: 0;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item:hover .dropdown-menu,
.nav-item.open  .dropdown-menu { display: flex; }
.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.dropdown-menu li a:hover {
  background: var(--c-primer);
  border-left-color: var(--c-aksen);
  color: var(--c-white);
}

/* Hamburger */
.hamburger {
  position: absolute;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  z-index: 1200;
  flex-shrink: 0;
  margin-left: auto;
  order: 99;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 1px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   SIDEBAR MOBILE
================================================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1050;
  opacity: 0;
  transition: opacity .3s;
}
.sidebar-overlay.active { display: block; opacity: 1; }
.sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--c-primer);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.77,0,.18,1);
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,.35);
}
.sidebar.active { transform: translateX(0); }

.sidebar-head {
  background: var(--c-sekunder);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  flex-shrink: 0;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sidebar-logo-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-logo-fallback { font-size: 18px; color: var(--c-white); }
.sidebar-name { font-size: 11px; font-weight: 800; color: var(--c-white); line-height: 1.3; }
.sidebar-sub { font-size: 9px; font-weight: 500; color: rgba(255,255,255,.50); margin-top: 2px; }
.sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.sidebar-close:hover { background: rgba(255,255,255,.1); color: var(--c-aksen); }

.sidebar-nav { flex: 1; padding: 8px 0; }
.sidebar-nav > ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.06); }
.snav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  letter-spacing: .4px;
  transition: background .15s, color .15s;
}
.snav-link:hover,
.snav-link.active-item { background: rgba(255,255,255,.06); color: var(--c-aksen); }
.snav-toggle {
  width: 26px; height: 26px;
  border-radius: 4px;
  background: var(--c-sekunder);
  color: var(--c-white);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .25s;
}
.snav-link.open .snav-toggle { background: rgba(255,255,255,.15); transform: rotate(45deg); }
.snav-sub {
  display: none;
  background: rgba(0,0,0,.15);
  border-left: 3px solid var(--c-sekunder);
  margin-left: 18px;
  list-style: none;
  padding: 0;
}
.snav-sub.open { display: block; }
.snav-sub li { list-style: none; }
.snav-sub li a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color .15s, background .15s;
}
.snav-sub li a i { font-size: 9px; color: rgba(255,255,255,.35); }
.snav-sub li a:hover { color: var(--c-aksen); background: rgba(255,255,255,.04); }
.snav-home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.snav-home:hover { background: rgba(255,255,255,.06); color: var(--c-aksen); }
.snav-home i { font-size: 15px; }

/* ================================================================
   HERO SLIDER
================================================================ */
.hero-wrap { padding: 0; background: none; }
.hero-slider-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.carousel-caption-custom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(18,61,28,.85));
  padding: 28px 16px 16px;
  text-align: left;
}
.carousel-caption-custom p {
  color: var(--c-white);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.6;
}
.carousel-caption-custom strong { font-weight: 800; text-decoration: underline; }
.carousel-indicators [data-bs-slide-to] {
  background-color: rgba(255,255,255,.5);
  width: 28px; height: 4px;
  border-radius: 2px;
}
.carousel-indicators .active { background-color: var(--c-aksen) !important; }

/* ================================================================
   KUTIPAN
================================================================ */
.kutipan-outer { background: var(--c-bg); }
.kutipan-bar {
  max-width: 1230px;
  margin: 0 auto;
  background: var(--c-primer);
  border-top: 3px solid var(--c-aksen);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8px 0;
}
.kutipan-label {
  background: var(--c-aksen);
  color: var(--c-primer);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kutipan-scroll { overflow: hidden; flex: 1; min-width: 0; height: 20px; }
.kutipan-text {
  display: inline-block;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  white-space: nowrap;
  padding-left: 30px;
  animation: marquee 95s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ================================================================
   MAIN CONTENT WRAPPER
================================================================ */
.main-content-wrap {
  padding: 28px 0 44px;
  background: var(--c-bg);
}

/* ================================================================
   SECTION TITLE
================================================================ */
.sec-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primer);
  border-left: 4px solid var(--c-aksen);
  padding-left: 12px;
  margin-bottom: 20px;
  line-height: 1.35;
}

/* ================================================================
   NEWS CARDS
================================================================ */
.news-list-wrap { display: flex; flex-direction: column; gap: 16px; }
.news-card {
  display: flex;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18,61,28,.08);
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,61,28,.14);
}
.news-card-thumb {
  width: 150px;
  min-height: 120px;
  flex-shrink: 0;
  background: var(--c-hijau-muda);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-sekunder);
  font-size: 32px;
  overflow: hidden;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body {
  padding: 14px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.news-cat-badge {
  display: inline-block;
  background: var(--c-hijau-muda);
  color: var(--c-sekunder);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 7px;
  align-self: flex-start;
}
.news-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-primer);
  line-height: 1.5;
  margin-bottom: 7px;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--c-sekunder); text-decoration: underline; }
.news-card-excerpt {
  font-size: 12.5px;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--c-muted);
  gap: 8px;
  flex-wrap: wrap;
}
.meta-info {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.btn-cari {
  width: 30px; height: 30px;
  background: var(--c-sekunder);
  color: var(--c-white);
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
  text-decoration: none;
}
.btn-cari:hover { background: var(--c-primer); color: var(--c-white); }

/* ================================================================
   GALLERY / FOTO TERBARU
================================================================ */
.gallery-section { margin-top: 34px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18,61,28,.08);
  transition: transform .2s, box-shadow .2s;
}
.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,61,28,.14);
}
.gallery-card-img {
  height: 150px;
  background: var(--c-hijau-muda);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-sekunder);
  font-size: 42px;
  overflow: hidden;
}
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-body { padding: 12px; }
.gallery-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-primer);
  margin-bottom: 6px;
  line-height: 1.45;
}
.gallery-card-excerpt {
  font-size: 11.5px;
  color: var(--c-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11px;
  color: var(--c-muted);
}
.gallery-card-meta .btn-cari { width: 28px; height: 28px; font-size: 12px; }

/* ================================================================
   SIDEBAR WIDGETS
================================================================ */
.widget-box {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18,61,28,.08);
  margin-bottom: 20px;
  margin-top: 20px;
}
.widget-head {
  background: var(--c-sekunder);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 10px 16px;
  border-left: 4px solid var(--c-aksen);
}
.widget-body { padding: 14px 16px; }

/* Kepala Sekolah */
.ks-photo {
  width: 100%;
  height: 200px;
  background: var(--c-hijau-muda);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-sekunder);
  font-size: 70px;
  overflow: hidden;
}
.ks-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ks-body { padding: 14px 16px; text-align: center; }
.ks-name { font-size: 15px; font-weight: 700; color: var(--c-primer); margin-bottom: 4px; }
.ks-role {
  display: inline-block;
  background: var(--c-hijau-muda);
  color: var(--c-sekunder);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.ks-quote {
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}
.btn-selengkapnya {
  display: inline-block;
  background: var(--c-sekunder);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 7px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}
.btn-selengkapnya:hover { background: var(--c-primer); color: var(--c-white); }

/* Tautan */
.tautan-list { margin: 0; padding: 0; list-style: none; }
.tautan-list li { border-bottom: 1px solid var(--c-border); }
.tautan-list li:last-child { border-bottom: none; }
.tautan-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--c-primer);
  text-decoration: none;
  transition: color .2s, padding-left .15s;
}
.tautan-list li a::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--c-aksen);
  border-radius: 50%;
  flex-shrink: 0;
}
.tautan-list li a:hover { color: var(--c-sekunder); padding-left: 5px; }

/* Arsip */
.arsip-select {
  width: 100%;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  background: var(--c-bg);
  outline: none;
  cursor: pointer;
  color: #333;
}
.arsip-select:focus { border-color: var(--c-sekunder); }

/* Komentar */
.komentar-list { list-style: none; padding: 0; margin: 0; }
.komentar-list li { padding: 9px 0; border-bottom: 1px solid var(--c-border); }
.komentar-list li:last-child { border-bottom: none; }
.komentar-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primer);
  line-height: 1.45;
  margin-bottom: 3px;
}
.komentar-title a { color: inherit; text-decoration: none; }
.komentar-title a:hover { color: var(--c-sekunder); text-decoration: underline; }
.komentar-meta { font-size: 11px; color: var(--c-muted); }

/* Berlangganan */
.subscribe-wrap { display: flex; gap: 6px; }
.subscribe-wrap input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12.5px;
  background: var(--c-bg);
  outline: none;
}
.subscribe-wrap input:focus { border-color: var(--c-sekunder); }
.subscribe-wrap button {
  background: var(--c-sekunder);
  color: var(--c-white);
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.subscribe-wrap button:hover { background: var(--c-primer); }

/* Iklan */
.iklan-placeholder {
  width: 100%;
  aspect-ratio: 253/207;
  background: var(--c-hijau-muda);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 500;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--c-sekunder);
  color: var(--c-white);
  padding: 48px 0 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
.widget-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-white);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(255,255,255,.18);
  letter-spacing: .3px;
}
.footer-about-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 5px;
  line-height: 1.45;
}
.footer-about-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 22px;
  font-style: italic;
}
.contact-rows { display: flex; flex-direction: column; gap: 13px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; }
.contact-row-icon { width: 30px; flex-shrink: 0; color: var(--c-aksen); font-size: 13px; padding-top: 2px; }
.contact-row-label { font-size: 12.5px; font-weight: 700; color: var(--c-white); margin-bottom: 2px; }
.contact-row-val { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.70); line-height: 1.65; }
.contact-row-val a { color: rgba(255,255,255,.70); text-decoration: none; transition: color .2s; }
.contact-row-val a:hover { color: var(--c-aksen); }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid rgba(255,255,255,.30);
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,.80);
  text-decoration: none;
  letter-spacing: .3px;
  transition: all .2s;
}
.tag-link:hover { border-color: var(--c-aksen); color: var(--c-aksen); }

.social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.social-icon:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.social-icon.instagram { background: linear-gradient(135deg, #e1306c, #f77737, #833ab4); }
.social-icon.youtube   { background: #ff0000; }
.social-icon.facebook  { background: #1877f2; }
.social-icon.tiktok    { background: #010101; border: 1px solid rgba(255,255,255,.2); }
.social-icon i { color: #fff; }

.footer-bottom {
  background: var(--c-primer);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); }
.footer-powered { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); }
.footer-powered a { color: var(--c-aksen); text-decoration: none; transition: color .2s; }
.footer-powered a:hover { color: var(--c-white); }

/* Scroll to top */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 4px;
  background: var(--c-primer);
  border: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--c-sekunder); color: var(--c-white); transform: translateY(-2px); }

/* ================================================================
   RESPONSIVE – Tablet 1100px
================================================================ */
@media (max-width: 1100px) {
  .nav-link { padding: 0 8px; font-size: 11px; }
  .brand-name { font-size: 15px; }
  .top-contact { gap: 12px; }
}

/* ================================================================
   RESPONSIVE – Tablet 960px
================================================================ */
@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-slider-wrap { padding: 0 16px; }
}

/* ================================================================
   RESPONSIVE – Mobile 768px
================================================================ */
@media (max-width: 768px) {

  /* --- NAVBAR --- */
  .navbar-inner .nav-menu { display: none; }
  .nav-home { display: none; }
  .hamburger { display: flex; }
  .navbar-inner { justify-content: flex-end; height: 48px; padding: 0 16px; }

  /* --- TOPBAR --- */
  .topbar-inner { padding: 10px 16px; gap: 10px; flex-wrap: nowrap; }
  .brand-logo-wrap { width: 44px; height: 44px; }
  .brand-name { font-size: 13px; }
  .brand-tagline { display: none; }
  .top-contact { display: none; }
  .top-sep { display: none; }
  .top-rss { display: none; }
  .search-wrap { display: none; }

  /* --- HERO SLIDER --- fullwidth di mobile --- */
  .hero-slider-wrap {
    padding: 0;
    max-width: 100%;
  }
  #heroSlider .carousel-item img { height: 220px !important; }
  .carousel-caption-custom { padding: 14px 12px 10px; }
  .carousel-caption-custom p { font-size: 11.5px; }

  /* --- KUTIPAN --- fullwidth di mobile --- */
  .kutipan-outer { background: none; }
  .kutipan-bar {
    max-width: 100%;
    margin: 0;
  }
  .kutipan-label { padding: 6px 10px; font-size: 10px; }
  .kutipan-text { font-size: 12px; }

  /* --- MAIN CONTENT --- */
  .main-content-wrap { padding: 16px 0 28px; }
  .main-content-wrap .container { padding-left: 12px; padding-right: 12px; }

  /* Bootstrap grid override */
  .col-md-8, .col-md-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .row { margin-left: 0 !important; margin-right: 0 !important; }

  /* --- NEWS CARDS --- */
  .news-list-wrap { gap: 12px; }
  .news-card { flex-direction: column; }
  .news-card-thumb {
    width: 100%;
    height: 180px;
    font-size: 36px;
  }
  .news-card-body { padding: 12px; }
  .news-card-title { font-size: 13px; }
  .news-card-excerpt { font-size: 12px; }
  .news-card-meta { font-size: 10.5px; }

  /* --- SECTION TITLE --- */
  .sec-title { font-size: 15px; margin-bottom: 14px; }

  /* --- GALLERY --- */
  .gallery-section { margin-top: 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-card-img { height: 110px; font-size: 32px; }
  .gallery-card-body { padding: 10px; }
  .gallery-card-title { font-size: 11.5px; }
  .gallery-card-excerpt { font-size: 11px; -webkit-line-clamp: 2; }

  /* --- SIDEBAR WIDGETS --- */
  .widget-box { margin-bottom: 14px; }
  .ks-photo { height: 160px; font-size: 54px; }

  /* --- FOOTER --- */
  .footer { padding: 28px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 16px 28px; }
  .footer-bottom { padding: 12px 16px; flex-direction: column; text-align: center; gap: 4px; }
}

/* ================================================================
   RESPONSIVE – Mobile kecil 480px
================================================================ */
@media (max-width: 480px) {
  /* Topbar */
  .brand-logo-wrap { width: 38px; height: 38px; }
  .brand-name { font-size: 12px; }

  /* Hero */
  #heroSlider .carousel-item img { height: 180px !important; }
  .carousel-caption-custom p { font-size: 11px; }

  /* Gallery 1 kolom */
  .gallery-grid { grid-template-columns: 1fr; gap: 10px; }
  .gallery-card-img { height: 150px; }

  /* Footer */
  .footer-inner { gap: 20px; }
}