/*
Theme Name: Kejari Palu
Theme URI: https://kejari-palu.go.id
Author: Kejaksaan Negeri Palu
Author URI: https://kejari-palu.go.id
Description: Tema resmi website Kejaksaan Negeri Palu — elegan, modern, dan profesional dengan nuansa navy dan emas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kejari-palu
Tags: government, elegant, navy, gold, responsive, custom-menu, featured-images, post-thumbnails
*/

/* === IMPORT FONT === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Jost:wght@200;300;400;500;600&display=swap');

/* === VARIABEL === */
:root {
  --gold:       #d4a917;
  --gold-light: #e4c53e;
  --navy:       #1a2540;
  --navy-mid:   #2d3f6e;
  --navy-light: #364f88;
  --white:      #ffffff;
  --gray-50:    #f8f7f4;
  --gray-100:   #f0f3f9;
  --gray-200:   #e5e7eb;
  --text:       #1a2540;
  --text-muted: #84a1c9;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.85;
  background: #fafafa;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
h4 { font-size: clamp(1.3rem, 2vw, 1.8rem); }

p { margin-bottom: 1.2rem; color: #364f88; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: #b8890f; }

img { max-width: 100%; height: auto; display: block; }

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gradient-hero { background: linear-gradient(135deg, #1a2540 0%, #2d3f6e 50%, #364f88 100%); }
.gradient-gold  { background: linear-gradient(135deg, #d4a917 0%, #e4c53e 100%); }
.gradient-subtle { background: linear-gradient(180deg, #ffffff 0%, #f8f7f4 100%); }

.gold-line::after {
  content: ''; display: block; width: 52px; height: 2px;
  background: var(--gold); margin-top: 14px; border-radius: 2px;
}
.gold-line-center::after {
  content: ''; display: block; width: 52px; height: 2px;
  background: var(--gold); margin: 14px auto 0; border-radius: 2px;
}

.card-hover { transition: transform .25s ease, box-shadow .25s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.10); }

.btn-gold {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; background: linear-gradient(135deg, #d4a917, #e4c53e);
  color: #fff; font-family: 'Jost', sans-serif; font-weight: 600;
  font-size: 1rem; border-radius: .75rem; border: none; cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
}
.btn-gold:hover { opacity: .9; color: #fff; box-shadow: 0 8px 24px rgba(212,169,23,.3); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem; background: transparent;
  color: var(--navy); font-family: 'Jost', sans-serif; font-weight: 500;
  font-size: .9rem; border-radius: .75rem; border: 1.5px solid var(--gray-200);
  cursor: pointer; transition: all .2s;
}
.btn-outline:hover { border-color: var(--navy); background: var(--gray-100); color: var(--navy); }

/* === TOP BAR === */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  padding: .5rem 0;
  overflow: hidden;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,.7); }
.top-bar a:hover { color: var(--gold); }
.top-bar-links { display: flex; gap: 1rem; align-items: center; }

/* === NAVIGASI === */
#main-nav {
  background: #fff;
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow .3s;
}
#main-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.site-logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #d4a917, #e4c53e);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-family: 'Cormorant Garamond', serif; font-weight: 700;
  box-shadow: 0 2px 8px rgba(212,169,23,.3);
}
.logo-text { line-height: 1.2; }
.logo-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1rem; color: var(--navy); display: block; }
.logo-sub { font-size: .7rem; color: #84a1c9; letter-spacing: .1em; text-transform: uppercase; }

/* Menu desktop */
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu a {
  font-size: 1rem; font-weight: 400; color: var(--navy);
  letter-spacing: .03em; position: relative; padding: .25rem 0;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-menu a:hover { color: var(--navy); }
.nav-menu a:hover::after, .nav-menu .current-menu-item > a::after { width: 100%; }

/* Dropdown */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: .75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.1); border: 1px solid var(--gray-100);
  opacity: 0; visibility: hidden; transition: all .2s; padding: .5rem 0;
  list-style: none;
}
.nav-menu .menu-item-has-children:hover .sub-menu { opacity: 1; visibility: visible; }
.nav-menu .sub-menu li a {
  display: block; padding: .6rem 1rem; font-size: .85rem; color: #2d3f6e;
}
.nav-menu .sub-menu li a:hover { background: #fdfbf3; color: var(--navy); }
.nav-menu .sub-menu li a::after { display: none; }

.nav-cta { display: flex; gap: .75rem; align-items: center; }

/* Hamburger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; border-radius: 2px; transition: all .3s; }

/* Mobile menu */
.mobile-menu { display: none; border-top: 1px solid var(--gray-100); padding: 1rem 0; }
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a { display: block; padding: .75rem 1.5rem; font-size: .9rem; color: var(--navy); border-radius: .5rem; }
.mobile-menu ul li a:hover { background: #fdfbf3; color: var(--navy); }

/* === HERO === */
.hero {
  min-height: 88vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a2540 0%, #2d3f6e 50%, #364f88 100%);
  position: relative; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15); color: #edd97a;
  font-size: .7rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 99px; margin-bottom: 1.5rem;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #e4c53e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { 
  color: #fff; 
  margin-bottom: 1.25rem;
  /* Ukuran dikurangi 50% dari clamp(4rem, 8vw, 6.5rem) */
  font-size: clamp(2rem, 4vw, 3.25rem); 
  /* Dibuat lebih tebal dari bawaannya (600) */
  font-weight: 700; 
  line-height: 1.1; 
  max-width: 600px; 
}
.hero h1 em { color: #e4c53e; font-style: normal; }
.hero-desc { color: #c3cfe4; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 300; line-height: 1.9; margin-bottom: 2.5rem; max-width: 560px; letter-spacing: 0.01em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-glass {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem;
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15); color: #fff;
  font-family: 'Jost', sans-serif; font-weight: 400; font-size: .9rem;
  border-radius: .75rem; cursor: pointer; transition: background .2s;
}
.btn-glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700; color: #fff; }
.hero-stat-label { font-size: .85rem; color: #84a1c9; margin-top: .25rem; }

/* Hero card (kanan) */
.hero-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; padding: .25rem;
}
.hero-card-inner { background: rgba(255,255,255,.1); border-radius: .75rem; padding: 1.5rem; }
.hero-card-title { color: #edd97a; font-size: .65rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-card-item {
  display: block; padding: 1rem; border-radius: .75rem;
  background: rgba(255,255,255,.08); margin-bottom: .75rem;
  transition: background .2s; text-decoration: none;
}
.hero-card-item:hover { background: rgba(255,255,255,.16); }
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-date { font-size: .7rem; color: #84a1c9; margin-bottom: .25rem; }
.hero-card-text { font-size: .85rem; color: #fff; line-height: 1.4; }
.hero-card-text:hover { color: #edd97a; }
.hero-card-more { display: flex; align-items: center; gap: .5rem; color: #e4c53e; font-size: .75rem; font-weight: 500; margin-top: 1rem; }

/* === SECTION HEADER === */
.section-label { font-size: .85rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #b8890f; margin-bottom: .75rem; }
.section-title { font-family: 'Cormorant Garamond', serif; color: var(--navy); /* Ukuran diperbesar dari bawaan h2 */ font-size: clamp(1.2rem, 2.25vw, 2rem); /* Dibuat lebih tebal (maksimal untuk font Cormorant Garamond) */ font-weight: 700; }
.section-desc { color: #84a1c9; font-size: 1rem; line-height: 1.8; max-width: 560px; }

/* === LAYANAN === */
.layanan-section { padding: 6rem 0; background: #fff; }
.layanan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.layanan-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: 1rem; padding: 1.5rem; text-decoration: none;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
}
.layanan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.layanan-icon {
  width: 48px; height: 48px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.layanan-card h3 { font-size: 1.2rem; font-family: 'Cormorant Garamond', serif; margin-bottom: .5rem; color: var(--navy); }
.layanan-card p { font-size: .95rem; color: #84a1c9; line-height: 1.6; margin: 0; }

/* === BERITA === */
.berita-section { padding: 6rem 0; background: linear-gradient(180deg, #fff 0%, #f8f7f4 100%); }
.berita-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.berita-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }

.berita-featured { background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: 0 2px 20px rgba(0,0,0,.05); }
.berita-featured-img { height: 200px; background: linear-gradient(135deg, #1a2540, #364f88); position: relative; }
.berita-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.berita-featured-badge { position: absolute; top: 1rem; left: 1rem; padding: .25rem .75rem; background: var(--gold); color: #fff; border-radius: 99px; font-size: .7rem; font-weight: 600; }
.berita-featured-body { padding: 1.5rem; }
.berita-featured-meta { font-size: .9rem; color: #84a1c9; margin-bottom: .75rem; }
.berita-featured-body h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.berita-featured-body h3 a { color: var(--navy); }
.berita-featured-body h3 a:hover { color: var(--gold); }
.berita-featured-body p { font-size: .85rem; color: #84a1c9; line-height: 1.7; margin-bottom: 1rem; }
.read-more { font-size: .95rem; font-weight: 600; color: var(--gold); }
.read-more:hover { color: #92670e; }

.berita-list { display: flex; flex-direction: column; gap: 1rem; }
.berita-item {
  display: flex; gap: 1rem; background: #fff; border-radius: .75rem;
  padding: 1.25rem; border: 1px solid var(--gray-100);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s; text-decoration: none;
}
.berita-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.berita-item-img {
  width: 80px; height: 80px; border-radius: .6rem; overflow: hidden; shrink: 0; flex-shrink: 0;
  background: linear-gradient(135deg, #dde4f0, #c3cfe4);
  display: flex; align-items: center; justify-content: center; color: #84a1c9;
}
.berita-item-img img { width: 100%; height: 100%; object-fit: cover; }
.berita-item-meta { font-size: .85rem; color: #84a1c9; margin-bottom: .4rem; }
.berita-item h4 { font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; color: var(--navy); line-height: 1.3; margin-bottom: .35rem; }
.berita-item:hover h4 { color: var(--gold); }
.berita-item p { font-size: .92rem; color: #84a1c9; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* === PIMPINAN === */
.pimpinan-section { padding: 6rem 0; background: #fff; }
.pimpinan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 900px; margin: 3rem auto 0; }
.pimpinan-card { text-align: center; }
.pimpinan-foto {
  width: 120px; height: 120px; border-radius: 1rem; margin: 0 auto 1rem;
  background: linear-gradient(135deg, #dde4f0, #c3cfe4);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pimpinan-foto img { width: 100%; height: 100%; object-fit: cover; }
.pimpinan-divider { width: 32px; height: 2px; background: var(--gold); margin: .75rem auto; border-radius: 2px; }
.pimpinan-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .25rem; }
.pimpinan-jabatan { font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pimpinan-desc { font-size: .8rem; color: #84a1c9; margin-top: .75rem; line-height: 1.6; }

/* === CTA BANNER === */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a2540 0%, #2d3f6e 50%, #364f88 100%);
  position: relative; overflow: hidden; text-align: center;
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: #99b0d3; max-width: 480px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* === PAGE HEADER === */
.page-header { padding: 5rem 0; background: linear-gradient(135deg, #1a2540 0%, #2d3f6e 50%, #364f88 100%); position: relative; overflow: hidden; }
.page-header .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #84a1c9; margin-bottom: 1.5rem; }
.breadcrumb a { color: #84a1c9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; }
.page-header h1 { color: #fff; }
.page-header p { color: #99b0d3; max-width: 560px; margin-top: 1rem; }

/* === SINGLE POST === */
.single-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding: 4rem 0; }
.post-content { background: #fff; border-radius: 1rem; padding: 3rem; border: 1px solid var(--gray-100); box-shadow: 0 2px 20px rgba(0,0,0,.05); }
.post-featured-img { border-radius: .75rem; overflow: hidden; margin-bottom: 2rem; }
.post-featured-img img { width: 100%; max-height: 400px; object-fit: cover; }
.post-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-100); }
.post-category { padding: .25rem .75rem; background: #fdfbf3; color: var(--gold); border-radius: 99px; font-size: .75rem; font-weight: 500; }
.post-date { font-size: .95rem; color: #84a1c9; }
.post-reading { font-size: .95rem; color: #84a1c9; }

/* Konten artikel */
.entry-content h2 { font-size: 2rem; margin: 2.5rem 0 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--gray-100); }
.entry-content h3 { font-size: 1.6rem; margin: 2rem 0 .75rem; color: var(--gold); }
.entry-content p { color: #364f88; font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: #364f88; }
.entry-content li { margin-bottom: .5rem; line-height: 1.7; }
.entry-content blockquote { border-left: 4px solid var(--gold); background: #fdfbf3; padding: 1rem 1.5rem; border-radius: 0 .75rem .75rem 0; margin: 1.5rem 0; }
.entry-content blockquote p { color: #2d3f6e; margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.5rem; }
.entry-content th { background: var(--navy); color: #fff; padding: .75rem 1rem; text-align: left; font-family: 'Jost', sans-serif; font-weight: 500; }
.entry-content td { padding: .75rem 1rem; border: 1px solid var(--gray-100); color: #364f88; }
.entry-content tr:nth-child(even) td { background: #f8f7f4; }
.entry-content img { border-radius: .75rem; margin: 1.5rem 0; }
.entry-content a { color: var(--gold); font-weight: 500; }
.entry-content strong { color: #1a2540; font-weight: 600; }
.entry-content code { background: #fdfbf3; color: var(--gold); padding: .15rem .4rem; border-radius: .25rem; font-size: .85em; }

/* Post share & nav */
.post-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 1rem; }
.share-label { font-size: .85rem; font-weight: 500; color: #84a1c9; }
.share-buttons { display: flex; align-items: center; gap: .75rem; }
.share-btn { width: 36px; height: 36px; border-radius: .5rem; background: #f0f3f9; display: flex; align-items: center; justify-content: center; color: #2d3f6e; transition: background .2s; }
.share-btn:hover { background: #dde4f0; color: var(--navy); }
.post-nav { display: flex; gap: .75rem; }
.post-nav a { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border: 1px solid var(--gray-200); border-radius: .5rem; font-size: .8rem; color: #84a1c9; transition: all .2s; }
.post-nav a:hover { border-color: var(--navy); background: #f0f3f9; color: var(--navy); }

/* Artikel terkait */
.related-posts { margin-top: 2.5rem; }
.related-posts h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-item { background: #fff; border-radius: .75rem; padding: 1.25rem; border: 1px solid var(--gray-100); box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: transform .25s; text-decoration: none; display: block; }
.related-item:hover { transform: translateY(-3px); }
.related-item .date { font-size: .7rem; color: #84a1c9; margin-bottom: .5rem; }
.related-item h4 { font-size: 1rem; color: var(--navy); line-height: 1.3; }
.related-item:hover h4 { color: var(--gold); }

/* === SIDEBAR === */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 88px; align-self: start; }
.widget { background: #fff; border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--gray-100); box-shadow: 0 2px 16px rgba(0,0,0,.05); }
.widget-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.widget-search input { width: 100%; padding: .6rem 1rem; border: 1px solid var(--gray-200); border-radius: .5rem; font-family: 'Jost', sans-serif; font-size: .875rem; }
.widget-search input:focus { outline: none; border-color: var(--navy); }
.widget-list { list-style: none; }
.widget-list li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid #f0f3f9; font-size: 1rem; }
.widget-list li:last-child { border-bottom: none; }
.widget-list li a { color: #2d3f6e; }
.widget-list li a:hover { color: var(--gold); }

/* === FAQ: Accordion / Card Styles === */
.faq-page details {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: .75rem;
  padding: 1rem 1.15rem;
  box-shadow: 0 8px 24px rgba(16,24,40,0.04);
  transition: box-shadow .18s ease, transform .18s ease;
  overflow: hidden;
}
.faq-page details[open] {
  box-shadow: 0 20px 48px rgba(16,24,40,0.06);
  transform: translateY(-4px);
}
.faq-page summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  font-size: 1rem;
}
.faq-page summary::-webkit-details-marker { display: none; }
.faq-page .faq-body { margin-top: .75rem; color: #364f88; line-height: 1.85; }
.faq-page summary .chev {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: #f0f3f9; color: var(--navy); transition: transform .18s ease, background .18s ease;
}
details[open] summary .chev { transform: rotate(180deg); background: linear-gradient(135deg,var(--gold),var(--gold-light)); color: #fff; }

/* Grid children spacing */
.faq-list details { width: 100%; }

/* Responsive: single column on small screens */
@media (max-width: 640px) {
  .faq-list { grid-template-columns: 1fr !important; }
  .faq-page summary { font-size: .98rem; }
}

@media (max-width: 780px) {
  .faq-page summary { padding-left: 1.25rem; }
}

/* FAQ: pills / category tabs */
.faq-tabs .pill {
  background: transparent; border: 1px solid var(--gray-100); color: var(--navy); padding: .5rem .85rem; border-radius: 999px; cursor: pointer; font-weight:600;
}
.faq-tabs .pill.active { background: var(--navy); color: #fff; border-color: transparent; }
.faq-tabs .pill:hover { background: var(--gray-100); }

/* Section heading icon */
.faq-page .section-title { display: inline-block; margin: 0; }

/* Summary chevron style override to match design */
.faq-page summary { align-items: center; }
.faq-page summary .chev { display:inline-flex; align-items:center; justify-content:center; width:36px;height:36px;border-radius:999px;background:transparent;color:var(--navy);font-weight:700;border:1px solid transparent; }
.faq-page details[open] summary .chev { background: transparent; color: var(--navy); border-color: #00000022; }

/* Add subtle dividing line for open item content area */
.faq-page details[open] { border: 1px solid rgba(0,0,0,0.08); }

/* Align FAQ content: ensure tabs, header and list share same centered width */
.faq-page .faq-container, .faq-tabs ul, .faq-intro {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* Section intro layout: icon + heading aligned to the left column */
.faq-page .faq-intro {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 1rem;
  align-items: center;
  text-align: left;
  margin-bottom: 1rem;
}
.faq-page .faq-intro > div { text-align: left; }
.faq-page .faq-intro h2.section-title { margin: 0; }

/* Make the faq list fill the container so cards align with headings */
.faq-page .faq-list { max-width: 100%; width: 100%; margin: 0; }

/* Reset details padding; use summary and faq-body for spacing so headers align */
.faq-page details { background: transparent; padding: 0; margin-bottom: 1rem; }
.faq-page summary {
  padding: 1rem 1.25rem; background: #fff; border-radius: .75rem; border: 1px solid var(--gray-100);
  /* align question text with section title text (icon width + gap) */
  padding-left: calc(44px + 1rem);
}
.faq-page summary { position: relative; }
.faq-page summary span { display:block; }
.faq-page .faq-body { padding: 1rem 1.25rem 1.5rem; border-top: none; margin-top: .75rem; background: #fff; border-radius: 0 0 .75rem .75rem; border: 1px solid var(--gray-100); border-top: none; box-shadow: 0 8px 24px rgba(16,24,40,0.02); }

/* Position chevron on the right and keep it vertically centered */
.faq-page summary .chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.faq-page details[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Slightly larger width for desktop, more breathing room */
@media (min-width: 1024px) {
  .faq-page .faq-container, .faq-tabs ul, .faq-intro { max-width: 760px; }
  .faq-page .faq-list { max-width: 100%; }
}



.widget-list li span { font-size: .7rem; background: #f0f3f9; color: #84a1c9; padding: .15rem .5rem; border-radius: 99px; }
.widget-recent li { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid #f0f3f9; align-items: flex-start; }
.widget-recent li:last-child { border-bottom: none; }
.widget-recent-icon { width: 44px; height: 44px; border-radius: .5rem; background: #fdfbf3; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.widget-recent a { font-size: .8rem; font-weight: 500; color: var(--navy); line-height: 1.3; display: block; margin-bottom: .25rem; }
.widget-recent a:hover { color: var(--gold); }
.widget-recent .date { font-size: .7rem; color: #84a1c9; }
.widget-contact { background: var(--navy); color: #fff; }
.widget-contact .widget-title { color: #fff; border-color: var(--gold); }
.widget-contact p { font-size: .85rem; color: #84a1c9; margin-bottom: 1.25rem; }

/* === ARCHIVE / LIST === */
.archive-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; padding: 4rem 0; }
.archive-posts { display: flex; flex-direction: column; gap: 1.25rem; }
.archive-item {
  display: flex; background: #fff; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--gray-100); box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s; text-decoration: none;
}
.archive-item:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(0,0,0,.12); }
.archive-item-thumb {
  width: 180px; flex-shrink: 0; background: linear-gradient(135deg, #eef2f7, #d8e0eb);
  display: flex; align-items: center; justify-content: center; color: #84a1c9;
  overflow: hidden;
}
.archive-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-item-body { padding: 1.75rem 1.75rem 1.5rem; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.archive-item-cat { display: inline-block; padding: .25rem .75rem; background: #fdfbf3; color: var(--gold); border-radius: 99px; font-size: .75rem; font-weight: 600; margin-bottom: .75rem; }
.archive-item-meta { margin-bottom: .75rem; }
.archive-item-date { display: inline-block; font-size: .8rem; color: #84a1c9; letter-spacing: .02em; text-transform: uppercase; }
.archive-item-body h2 { font-size: 1.45rem; margin-bottom: .85rem; line-height: 1.2; color: var(--navy); }
.archive-item-body h2 a { color: var(--navy); }
.archive-item-body h2 a:hover { color: var(--gold); }
.archive-item-body p { font-size: 1rem; color: #5b708f; line-height: 1.75; margin: 0 0 1.15rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.archive-item-more { font-size: .88rem; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: .35rem; }
.archive-item-more:hover { color: #92670e; }
.archive-item:hover .archive-item-cat { background: #fff8e2; }
.archive-item:hover .archive-item-date { color: #5b708f; }

/* Filter bar */
.filter-bar { background: #fff; border-bottom: 1px solid var(--gray-100); position: sticky; top: 72px; z-index: 50; }
.filter-bar .container { display: flex; gap: .75rem; overflow-x: auto; padding: 1rem 0; }
.filter-btn { padding: .5rem 1.1rem; border-radius: 99px; font-size: .9rem; font-weight: 500; border: 1px solid var(--gray-200); color: #2d3f6e; background: #fff; cursor: pointer; white-space: nowrap; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
  gap: .75rem;
}
.pagination-info {
  font-size: .95rem;
  color: #84a1c9;
  margin-right: 1rem;
}
.pagination-links {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.pagination-links ul.page-numbers {
  display: flex;
  gap: .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}
.pagination-links ul.page-numbers li { margin: 0; }
.pagination-links ul.page-numbers li a.page-numbers,
.pagination-links ul.page-numbers li span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .9rem;
  border-radius: .75rem;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: #84a1c9;
  font-size: 1rem;
  text-decoration: none;
  transition: all .18s;
}
.pagination-links ul.page-numbers li a.page-numbers:hover,
.pagination-links ul.page-numbers li span.page-numbers:hover {
  border-color: var(--navy);
  background: #f0f3f9;
  color: var(--navy);
}
.pagination-links ul.page-numbers li span.page-numbers.current,
.pagination-links ul.page-numbers li a.page-numbers.current {
  background: linear-gradient(135deg,#d4a917,#e4c53e);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
}
.pagination-links ul.page-numbers li .page-numbers.dots {
  background: transparent;
  border: none;
  color: #84a1c9;
  min-width: auto;
  padding: 0 .5rem;
}

@media (max-width: 768px) {
  .pagination { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .pagination-info { margin: 0 0 .25rem 0; }
  .pagination-links { margin-left: 0; }
}


/* === FOOTER === */
.site-footer { background: var(--navy); color: #fff; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { color: #84a1c9; font-size: .85rem; line-height: 1.8; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; border-radius: .5rem; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-title { font-family: 'Jost', sans-serif; font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #84a1c9; font-size: 1rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; font-size: .85rem; color: #84a1c9; }
.footer-contact li svg { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: #84a1c9; }
.footer-bottom a { color: #84a1c9; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 1.25rem; }

/* === 404 === */
.error-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 0; }
.error-404-num { font-family: 'Cormorant Garamond', serif; font-size: 10rem; font-weight: 700; color: var(--navy); opacity: .06; line-height: 1; }
.error-404-content { margin-top: -6rem; position: relative; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .berita-grid { grid-template-columns: 1fr; }
  .pimpinan-grid { grid-template-columns: 1fr; }
  .single-layout, .archive-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .archive-item-thumb { width: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .berita-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}