/* ============================================================
   JOGJA FIN — Homepage Redesign Styles
   Tone: Merapi Green (#1B4D3E) + Kraton Gold (#C9A84C)
   File: public_html/assets/css/jogja-home.css
   ============================================================ */

:root {
  --jg-green:      #1B4D3E;
  --jg-green-mid:  #2D6B52;
  --jg-gold:       #C9A84C;
  --jg-gold-dark:  #A07830;
  --jg-cream:      #F8F5F0;
  --jg-cream-dark: #E8E2D8;
  --jg-text:       #1a1a1a;
}

/* ── Hero Carousel (dalam col-lg-8, bukan full-width) ── */
.jg-hero {
  position: relative;
  background: #111;
  border-radius: 8px;
  overflow: hidden;   /* crop gambar carousel */
}

/* Carousel: pakai aspect-ratio agar responsif dalam kolom */
.jg-hero > #jgHeroCarousel {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  position: relative;
}
.jg-hero .carousel-inner {
  height: 100% !important;
  position: relative;
}

/* Fade transition */
.jg-hero .carousel-item {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity .7s ease !important;
  display: block !important;
}
.jg-hero .carousel-item.active {
  opacity: 1 !important;
  position: relative !important;
}

/* Gambar slide */
.jg-hero .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  opacity: .85;
  display: block !important;
  border-radius: 0 !important;
}

/* Overlay gradient + teks */
.jg-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  padding: 60px 20px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.jg-hero-overlay a { pointer-events: auto; }

/* Badge BERITA UTAMA */
.jg-hero-badge {
  display: inline-block;
  background: var(--jg-gold); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 3px;
  text-transform: uppercase; margin-bottom: 8px;
}

/* Judul hero — override .home-style8 h2 { font-family:Inter } dari style.css */
.jg-hero-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5em; font-weight: 700;
  color: #fff !important; line-height: 1.3; margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.jg-hero-title a { color: #fff !important; text-decoration: none; }
.jg-hero-title a:hover { color: var(--jg-gold) !important; }
.jg-hero-meta { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* Dots */
.jg-hero .carousel-indicators {
  bottom: 8px; z-index: 20; margin: 0;
}
.jg-hero .carousel-indicators button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; opacity: 1;
}
.jg-hero #jgHeroCarousel .carousel-indicators button.active {
  background: var(--jg-gold);
}

/* Arrow controls */
.jg-hero .carousel-control-prev,
.jg-hero .carousel-control-next {
  z-index: 20; width: 44px;
}
.jg-hero .carousel-control-prev-icon,
.jg-hero .carousel-control-next-icon {
  background-color: rgba(0,0,0,.4);
  border-radius: 50%; padding: 18px;
}

/* ── Headline 2×2 Grid ── */
.jg-headline-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}
.jg-headline-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--jg-cream-dark);
  text-decoration: none; color: inherit;
  transition: background .18s;
}
.jg-headline-item:hover { background: var(--jg-cream); }
.jg-headline-item:nth-child(odd)       { border-right: 1px solid var(--jg-cream-dark); }
.jg-headline-item:nth-last-child(-n+2) { border-bottom: none; }
.jg-hl-thumb {
  flex-shrink: 0; width: 80px; height: 60px;
  border-radius: 5px; overflow: hidden;
}
.jg-hl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jg-hl-title {
  font-size: 13px; font-weight: 700; color: var(--jg-text);
  line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.jg-hl-date { font-size: 11px; color: #999; margin-top: 4px; }

/* ── Section Title ── */
.jg-sec-title {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--jg-green);
  padding-bottom: 8px; margin-bottom: 16px;
}
.jg-sec-title h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05em; font-weight: 700;
  color: var(--jg-green);
  text-transform: uppercase; letter-spacing: .05em;
  margin: 0;
}

/* ── Terkini Feed ── */
.jg-terkini-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--jg-cream-dark);
}
.jg-terkini-item:last-child { border-bottom: none; }
.jg-tk-thumb {
  flex-shrink: 0; width: 120px; height: 85px;
  border-radius: 6px; overflow: hidden;
}
.jg-tk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jg-tk-cat {
  font-size: 10px; font-weight: 700; color: var(--jg-green);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.jg-tk-cat a { color: inherit; text-decoration: none; }
.jg-tk-title {
  font-size: 15px; font-weight: 700; color: var(--jg-text);
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.jg-tk-title:hover { color: var(--jg-green); }
.jg-tk-date { font-size: 11px; color: #999; margin-top: 5px; }

/* ── Ad Slot inline feed ── */
.jg-feed-ad {
  background: var(--jg-cream); border-radius: 4px;
  margin: 8px 0 16px; min-height: 90px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Sidebar Widgets ── */
.jg-sidebar-widget {
  background: #fff; border-radius: 8px;
  padding: 18px 20px; margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.jg-widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1em; font-weight: 700; color: var(--jg-green);
  text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 2px solid var(--jg-gold);
  padding-bottom: 7px; margin-bottom: 14px;
}

/* Dahlan Iskan Widget */
.jg-dahlan-widget {
  background: #eaeaea; border-radius: 8px;
  padding: 18px 18px 14px; margin-bottom: 24px;
}
.jg-dahlan-widget .jg-dahlan-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 6px; display: block;
}

/* Popular Items */
.jg-popular-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f0ede6;
  text-decoration: none; color: inherit;
}
.jg-popular-item:last-child { border-bottom: none; }
.jg-popular-num {
  flex-shrink: 0; width: 28px; height: 28px;
  background: var(--jg-green); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.jg-popular-title {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.jg-popular-date { font-size: 11px; color: #999; margin-top: 3px; }

/* Pilihan Editor Items */
.jg-pilihan-item {
  display: flex; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #f0ede6;
  text-decoration: none; color: inherit;
}
.jg-pilihan-item:last-child { border-bottom: none; }
.jg-pilihan-thumb {
  flex-shrink: 0; width: 70px; height: 50px;
  border-radius: 5px; overflow: hidden;
}
.jg-pilihan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jg-pilihan-title {
  font-size: 12px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  color: var(--jg-text);
}
.jg-pilihan-item:hover .jg-pilihan-title { color: var(--jg-green); }

/* ── Jaringan Kami ── */
.jg-jaringan {
  background: var(--jg-green); padding: 32px 0; margin-top: 16px; margin-bottom: 0;
}
.jg-jaringan-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.15em; font-weight: 700; color: var(--jg-gold);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}
.jg-net-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; overflow: hidden;
  transition: background .2s; height: 100%;
}
.jg-net-card:hover { background: rgba(255,255,255,.16); }
.jg-net-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.jg-net-body { padding: 12px; }
.jg-net-site {
  font-size: 10px; font-weight: 700; color: var(--jg-gold);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px;
}
.jg-net-site a { color: inherit; text-decoration: none; }
.jg-net-title {
  font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none;
}
.jg-net-title:hover { color: var(--jg-gold); }
.jg-net-date { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 6px; }

/* ── Sidebar sticky ── */
@media (min-width: 992px) {
  .jg-sidebar-sticky {
    position: sticky;
    top: 80px;          /* sesuaikan dengan tinggi sticky navbar */
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .jg-hero-title { font-size: 1.1em !important; }
  .jg-hero-overlay { padding: 30px 14px 14px; }
}
@media (max-width: 576px) {
  .jg-headline-grid { grid-template-columns: 1fr; }
  .jg-headline-item:nth-child(odd) { border-right: none; }
  .jg-headline-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--jg-cream-dark); }
  .jg-headline-item:last-child { border-bottom: none; }
  .jg-tk-thumb { width: 90px; height: 68px; }
  .jg-net-card img { height: 110px; }
}


/* ════════════════════════════════════════════════════════════
   CATEGORY & TAG PAGE BANNER — redesign
   ════════════════════════════════════════════════════════════ */

/* Shared banner base */
.jg-page-banner {
  padding: 36px 0 32px;
  border-bottom: 3px solid var(--jg-gold);
}
.jg-page-banner-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.jg-page-banner-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.jg-page-banner-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 8px;
}
.jg-page-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700;
  margin: 0 0 6px; line-height: 1.2;
}
.jg-page-banner-sub {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

/* Category variant — hijau elegan */
.jg-cat-banner {
  background: linear-gradient(135deg, var(--jg-cream) 0%, #eee8dc 100%);
}
.jg-cat-banner .jg-page-banner-icon {
  background: var(--jg-green);
  color: var(--jg-gold);
  box-shadow: 0 4px 16px rgba(27,77,62,.2);
}
.jg-cat-banner .jg-page-banner-label {
  background: rgba(27,77,62,.08);
  color: var(--jg-green);
  border: 1px solid rgba(27,77,62,.2);
}
.jg-cat-banner .jg-page-banner-title { color: var(--jg-green); }
.jg-cat-banner .jg-page-banner-sub   { color: #666; }

/* Tag variant — emas subtle */
.jg-tag-banner {
  background: #fff;
  border-top: 1px solid var(--jg-cream-dark);
}
.jg-tag-banner .jg-page-banner-icon {
  background: var(--jg-gold);
  color: #fff;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(201,168,76,.25);
}
.jg-tag-icon { font-weight: 700; }
.jg-tag-banner .jg-page-banner-label {
  background: rgba(201,168,76,.1);
  color: var(--jg-gold-dark);
  border: 1px solid rgba(201,168,76,.3);
}
.jg-tag-banner .jg-page-banner-title { color: var(--jg-text); }
.jg-tag-banner .jg-page-banner-sub   { color: #888; }
.jg-tag-banner .jg-page-banner-sub strong { color: var(--jg-gold-dark); }

/* Tag badge on featured image */
.jg-tag-badge {
  background: var(--jg-gold) !important;
}

/* Responsive */
@media (max-width: 576px) {
  .jg-page-banner { padding: 24px 0 20px; }
  .jg-page-banner-icon { width: 50px; height: 50px; font-size: 22px; border-radius: 10px; }
  .jg-page-banner-title { font-size: 1.4rem; }
  .jg-page-banner-inner { gap: 16px; }
}


/* ════════════════════════════════════════════════════════════
   AUTHOR PAGE — redesign
   ════════════════════════════════════════════════════════════ */

/* Banner */
.jg-author-banner {
  background: linear-gradient(135deg, var(--jg-green) 0%, #0f3028 100%);
  padding: 48px 0 40px;
  border-bottom: 3px solid var(--jg-gold);
}
.jg-author-profile {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Avatar */
.jg-author-avatar-wrap { flex-shrink: 0; }
.jg-author-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid var(--jg-gold);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  position: relative;
}
.jg-author-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.jg-author-avatar-init {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--jg-gold);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  letter-spacing: .04em;
}

/* Info */
.jg-author-info { flex: 1; }
.jg-author-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--jg-gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px;
}
.jg-author-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: #fff; margin: 0 0 8px;
  line-height: 1.2;
}
.jg-author-desc {
  font-size: 14px; color: rgba(255,255,255,.6);
  line-height: 1.6; margin: 0 0 16px;
  max-width: 480px;
}
.jg-author-stats {
  display: flex; align-items: center; gap: 16px;
}
.jg-author-stat {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
}
.jg-author-stat-num {
  font-size: 18px; font-weight: 700;
  color: var(--jg-gold); line-height: 1;
}
.jg-author-stat-label {
  font-size: 10px; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .06em;
}
.jg-author-stat-div {
  width: 1px; height: 30px;
  background: rgba(255,255,255,.15);
}

/* Featured article */
.jg-author-featured {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: box-shadow .2s, transform .2s;
  background: #fff;
}
.jg-author-featured:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  transform: translateY(-2px);
  color: inherit;
}
.jg-author-featured-img {
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
.jg-author-featured-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.jg-author-featured:hover .jg-author-featured-img img {
  transform: scale(1.03);
}
.jg-author-featured-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--jg-gold); color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
}
.jg-author-featured-body {
  padding: 20px 22px 22px;
}
.jg-author-featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--jg-text); line-height: 1.4;
  margin: 8px 0 10px;
}
.jg-author-featured:hover .jg-author-featured-title {
  color: var(--jg-green);
}
.jg-author-featured-desc {
  font-size: 14px; color: #666;
  line-height: 1.6; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Small article cards (grid 2 kolom) */
.jg-author-card {
  display: flex; gap: 12px;
  background: #fff; border-radius: 8px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
  height: 100%;
}
.jg-author-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
  color: inherit;
}
.jg-author-card-img {
  flex-shrink: 0;
  width: 100px; height: 80px;
  overflow: hidden;
}
.jg-author-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s;
}
.jg-author-card:hover .jg-author-card-img img { transform: scale(1.05); }
.jg-author-card-body {
  padding: 10px 12px 10px 0;
  display: flex; flex-direction: column; justify-content: center;
}

/* Responsive author page */
@media (max-width: 768px) {
  .jg-author-banner { padding: 32px 0 28px; }
  .jg-author-profile { flex-direction: column; align-items: flex-start; gap: 20px; }
  .jg-author-avatar { width: 80px; height: 80px; }
  .jg-author-avatar-init { font-size: 1.5rem; }
  .jg-author-name { font-size: 1.5rem; }
  .jg-author-card { flex-direction: column; }
  .jg-author-card-img { width: 100%; height: 140px; }
}


/* ════════════════════════════════════════════════════════════
   MODERN HEADER — redesign
   ════════════════════════════════════════════════════════════ */

/* Top strip */
.jg-topstrip {
  background: var(--jg-green);
  height: 34px;
  display: flex;
  align-items: center;
}
.jg-topstrip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.jg-topstrip-date {
  font-size: 11.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}
.jg-topstrip-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.jg-topstrip-social a {
  color: rgba(255,255,255,.6);
  font-size: 15px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: color .2s, background .2s;
  text-decoration: none;
}
.jg-topstrip-social a:hover {
  color: var(--jg-gold);
  background: rgba(255,255,255,.08);
}

/* Main header */
.jg-site-header { z-index: 1030; }
.jg-header-main {
  background: #fff;
  border-bottom: 3px solid var(--jg-gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.jg-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}
.jg-logo { flex-shrink: 0; }
.jg-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* Search box */
.jg-search-wrap {
  flex: 1;
  max-width: 520px;
}
.jg-search-box {
  display: flex;
  align-items: center;
  background: #f4f4f4;
  border: 2px solid transparent;
  border-radius: 100px;
  padding: 0 6px 0 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.jg-search-box:focus-within {
  background: #fff;
  border-color: var(--jg-green);
  box-shadow: 0 0 0 4px rgba(27,77,62,.08);
}
.jg-search-box > .bi {
  color: #aaa;
  font-size: 15px;
  flex-shrink: 0;
  transition: color .2s;
}
.jg-search-box:focus-within > .bi { color: var(--jg-green); }
.jg-search-box input {
  border: none;
  background: transparent;
  outline: none;
  padding: 10px 10px;
  font-size: 14px;
  width: 100%;
  color: var(--jg-text);
}
.jg-search-box input::placeholder { color: #bbb; }
.jg-search-btn {
  flex-shrink: 0;
  background: var(--jg-green);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.jg-search-btn:hover { background: var(--jg-green-mid); }

/* Widget Cuaca */
.jg-weather-widget {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--jg-cream);
  border: 1px solid var(--jg-cream-dark);
  border-radius: 100px;
  cursor: default;
  opacity: 0;
  transition: opacity .3s ease;
}
.jg-weather-widget.jg-weather-loaded { opacity: 1; }
.jg-weather-icon {
  font-size: 22px;
  color: var(--jg-gold);
  line-height: 1;
}
.jg-weather-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jg-weather-row-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.jg-weather-temp {
  font-size: 15px;
  font-weight: 700;
  color: var(--jg-text);
  line-height: 1;
}
.jg-weather-desc {
  font-size: 12px;
  color: #555;
  white-space: nowrap;
}
.jg-weather-row-bottom {
  display: flex;
  align-items: center;
  gap: 5px;
}
.jg-weather-city {
  font-size: 10.5px;
  color: var(--jg-green);
  font-weight: 600;
  white-space: nowrap;
}
.jg-weather-city .bi { font-size: 9px; }
.jg-weather-sep {
  font-size: 10px;
  color: #ccc;
}
.jg-weather-date {
  font-size: 10.5px;
  color: #999;
  white-space: nowrap;
}

/* Hamburger */
.jg-hamburger {
  flex-shrink: 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.jg-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--jg-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Navbar */
.jg-navbar {
  background: var(--jg-green);
  border-top: 3px solid var(--jg-gold);
}
.jg-nav-inner {
  display: flex;
  align-items: center;
}
.jg-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
}
.jg-nav-list > li { position: relative; }
.jg-nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 15px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
/* Animated underline */
.jg-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 15px; right: 15px;
  height: 2px;
  background: var(--jg-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.jg-nav-list > li > a:hover,
.jg-nav-list > li > a:focus { color: #fff; }
.jg-nav-list > li > a:hover::after { transform: scaleX(1); }

/* Dropdown */
.jg-nav-has-dropdown { position: relative; }
.jg-nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border-top: 2px solid var(--jg-gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  min-width: 180px;
  list-style: none;
  margin: 0; padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 200;
}
.jg-nav-has-dropdown:hover .jg-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.jg-nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--jg-text);
  text-decoration: none;
  transition: background .15s, color .15s, padding-left .15s;
}
.jg-nav-dropdown li a:hover {
  background: var(--jg-cream);
  color: var(--jg-green);
  padding-left: 24px;
}

/* Offcanvas styling */
/* ── Offcanvas shell ── */
.jg-offcanvas {
  width: 300px !important;
  max-width: 88vw;
  background: var(--jg-green) !important;
  display: flex;
  flex-direction: column;
  border-right: none !important;
}

/* Header: logo + close */
.jg-oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.jg-oc-logo { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
.jg-oc-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.jg-oc-close:hover { background: rgba(255,255,255,.2); }

/* Scrollable body */
.jg-oc-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.jg-oc-body::-webkit-scrollbar { width: 4px; }
.jg-oc-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }

/* Search */
.jg-oc-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 0 12px;
  margin-bottom: 24px;
  gap: 8px;
}
.jg-oc-search-icon { color: rgba(255,255,255,.5); font-size: 14px; flex-shrink: 0; }
.jg-oc-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 12px 0;
  font-family: inherit;
}
.jg-oc-search-input::placeholder { color: rgba(255,255,255,.4); }
.jg-oc-search-btn {
  background: transparent;
  border: none;
  color: var(--jg-gold);
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color .2s;
}
.jg-oc-search-btn:hover { color: #fff; }

/* Section label */
.jg-oc-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jg-gold);
  margin-bottom: 8px;
  margin-top: 4px;
}

/* Nav links */
.jg-oc-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.jg-oc-nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
.jg-oc-nav li:last-child { border-bottom: none; }
.jg-oc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s, gap .2s;
}
.jg-oc-link:hover { color: var(--jg-gold); gap: 12px; }
.jg-oc-arrow { font-size: 10px; color: rgba(255,255,255,.3); transition: color .2s; }
.jg-oc-link:hover .jg-oc-arrow { color: var(--jg-gold); }

/* Footer: sosmed */
.jg-oc-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.jg-oc-footer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.jg-oc-socials { display: flex; gap: 10px; }
.jg-oc-social {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.jg-oc-social:hover {
  background: var(--jg-gold);
  border-color: var(--jg-gold);
  color: #fff;
}

/* Responsive header */
@media (max-width: 991px) {
  .jg-topstrip { display: none; }
  .jg-navbar { display: none; }
  .jg-search-wrap { max-width: 100%; }
}
@media (max-width: 575px) {
  .jg-logo img { height: 36px; }
  .jg-header-inner { gap: 12px; }
  .jg-search-btn { display: none; }
}


/* ════════════════════════════════════════════════════════════
   MODERN FOOTER — redesign
   ════════════════════════════════════════════════════════════ */

.jg-footer {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
  background: #0f1923;
  color: rgba(255,255,255,.6);
  display: block;
  box-sizing: border-box;
}

/* Main grid */
.jg-footer-main {
  padding: 60px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Logo in footer */
.jg-footer-logo {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* Tagline */
.jg-footer-tagline {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  margin: 16px 0 22px;
  max-width: 320px;
}

/* Address */
.jg-footer-address {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-bottom: 22px;
}
.jg-footer-address .bi { color: var(--jg-gold); }

/* Social row */
.jg-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.jg-footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 15px;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.jg-footer-social a:hover {
  border-color: var(--jg-gold);
  color: var(--jg-gold);
  background: rgba(201,168,76,.08);
}

/* Column headings */
.jg-footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--jg-gold);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Link lists */
.jg-footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.jg-footer-links li { margin-bottom: 9px; }
.jg-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  display: inline-block;
  transition: color .2s, transform .2s;
}
.jg-footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Bottom bar */
.jg-footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jg-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.28);
}
.jg-footer-copy a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .2s;
}
.jg-footer-copy a:hover { color: var(--jg-gold); }

/* Back to top button */
.jg-back-top {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.jg-back-top:hover {
  background: var(--jg-gold);
  border-color: var(--jg-gold);
  color: #fff;
}

/* Responsive footer */
@media (max-width: 768px) {
  .jg-footer-main { padding: 40px 0 32px; }
  .jg-footer-bottom {
    flex-direction: column-reverse;
    gap: 14px;
    text-align: center;
  }
  .jg-footer-tagline { max-width: 100%; }
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

/* Banner — reuse jg-page-banner, tambahan warna */
.jg-archive-banner .jg-page-banner-icon {
  background: var(--jg-green);
  color: var(--jg-gold);
}

/* Filter form */
.jg-archive-filter {
  background: var(--jg-cream);
  border: 1px solid var(--jg-cream-dark);
  border-radius: 10px;
  padding: 20px 22px;
}
.jg-archive-filter-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--jg-green);
  margin-bottom: 14px;
}
.jg-archive-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.jg-archive-select {
  flex: 1 1 100px;
  min-width: 80px;
  padding: 9px 12px;
  border: 1px solid var(--jg-cream-dark);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--jg-text);
  outline: none;
  transition: border-color .2s;
}
.jg-archive-select:focus {
  border-color: var(--jg-green);
}
.jg-archive-btn {
  padding: 9px 20px;
  background: var(--jg-green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.jg-archive-btn:hover { background: var(--jg-green-mid); }

/* Article list */
.jg-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--jg-cream-dark);
  border-radius: 10px;
  overflow: hidden;
}
.jg-archive-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--jg-cream-dark);
  text-decoration: none;
  background: #fff;
  transition: background .18s;
}
.jg-archive-item:last-child { border-bottom: none; }
.jg-archive-item:hover { background: var(--jg-cream); }
.jg-archive-item-time {
  font-size: 12px;
  color: #888;
}
.jg-archive-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--jg-text);
  line-height: 1.45;
  transition: color .18s;
}
.jg-archive-item:hover .jg-archive-item-title {
  color: var(--jg-green);
}

/* Empty state */
.jg-archive-empty {
  text-align: center;
  padding: 48px 24px;
  color: #aaa;
  font-size: 14px;
}

/* Archive tree (sidebar) */
.jg-archive-tree {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jg-archive-tree-year {
  background: var(--jg-green);
  border-radius: 6px;
  padding: 8px 14px;
  margin-top: 6px;
}
.jg-archive-tree-year:first-child { margin-top: 0; }
.jg-archive-tree-year a {
  color: var(--jg-gold);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: .03em;
}
.jg-archive-tree-month {
  display: block;
  padding: 7px 14px 7px 26px;
  font-size: 13.5px;
  color: var(--jg-text);
  text-decoration: none;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.jg-archive-tree-month:hover {
  background: var(--jg-cream);
  color: var(--jg-green);
}

/* ============================================================
   TAG INDEX PAGE
   ============================================================ */

.jg-tagidx-banner .jg-page-banner-icon {
  background: var(--jg-gold);
  color: var(--jg-green);
}

/* A–Z navigation */
.jg-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.jg-alpha-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--jg-cream-dark);
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--jg-text);
  text-decoration: none;
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.jg-alpha-item:hover,
.jg-alpha-item.active {
  background: var(--jg-green);
  border-color: var(--jg-green);
  color: #fff;
}

/* Big letter + tag list layout */
.jg-tagidx-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.jg-tagidx-letter {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--jg-cream-dark);
  min-width: 70px;
  text-align: center;
  user-select: none;
}
.jg-tagidx-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}
.jg-tagidx-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--jg-cream);
  border: 1px solid var(--jg-cream-dark);
  border-radius: 20px;
  font-size: 13.5px;
  color: var(--jg-text);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.jg-tagidx-item:hover {
  background: var(--jg-green);
  border-color: var(--jg-green);
  color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .jg-tagidx-letter { font-size: 48px; min-width: 48px; }
  .jg-archive-form-row { flex-direction: column; }
  .jg-archive-select,
  .jg-archive-btn { width: 100%; flex: none; }
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */

.jg-search-banner .jg-page-banner-icon {
  background: var(--jg-green);
  color: var(--jg-gold);
}
.jg-search-banner .jg-page-banner-title em {
  font-style: italic;
  color: var(--jg-gold);
}

/* Search bar inline (di dalam halaman hasil) */
.jg-search-inline {
  display: flex;
  gap: 0;
  border: 2px solid var(--jg-green);
  border-radius: 8px;
  overflow: hidden;
}
.jg-search-inline-input {
  flex: 1;
  padding: 11px 16px;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--jg-text);
  background: #fff;
}
.jg-search-inline-btn {
  padding: 0 20px;
  background: var(--jg-green);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .2s;
}
.jg-search-inline-btn:hover { background: var(--jg-green-mid); }

/* Terkini mini (sidebar search) */
.jg-terkini-mini {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--jg-cream-dark);
  text-decoration: none;
}
.jg-terkini-mini:last-child { border-bottom: none; }
.jg-terkini-mini-thumb {
  width: 70px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
}
.jg-terkini-mini-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.jg-terkini-mini:hover .jg-terkini-mini-thumb img { transform: scale(1.05); }
.jg-terkini-mini-body { flex: 1; }
.jg-terkini-mini .jg-tk-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--jg-text);
  line-height: 1.4;
  transition: color .2s;
}
.jg-terkini-mini:hover .jg-tk-title { color: var(--jg-green); }
