/*
Theme Name: SLB Negeri Salatiga
Theme URI: https://slbnegerisalatiga.sch.id
Author: SLB Negeri Salatiga
Author URI: https://slbnegerisalatiga.sch.id
Description: Template resmi website SLB Negeri Salatiga - Sekolah Luar Biasa Negeri Kota Salatiga
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: education, school, special-needs, responsive, clean
Text Domain: slb-salatiga
*/

/* ===================================
   IMPORT FONTS
=================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ===================================
   CSS VARIABLES / DESIGN TOKENS
=================================== */
:root {
  --primary:       #0ea5e9;
  --primary-dark:  #0284c7;
  --primary-light: #38bdf8;
  --secondary:     #e8a020;
  --accent:        #3aaa6e;
  --dark:          #1a1a2e;
  --text:          #333340;
  --text-light:    #6b7280;
  --bg-light:      #f4f8fb;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    all .25s ease;
  --navbar-h:      70px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===================================
   UTILITY
=================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge-primary { background: rgba(14,165,233,.12); color: var(--primary); }
.badge-secondary { background: rgba(232,160,32,.12); color: var(--secondary); }

/* ===================================
   TOP BAR
=================================== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: var(--white); }

.top-bar-info { display: flex; align-items: center; gap: 20px; }
.top-bar-social { display: flex; align-items: center; gap: 10px; }

.top-bar-social a {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: var(--transition);
}
.top-bar-social a:hover { background: rgba(255,255,255,.3); }

/* ===================================
   NAVBAR
=================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}

#site-header.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  gap: 24px;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-branding img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

.site-title-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--dark);
}

.site-title-text span {
  display: block;
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-light);
}

/* Nav Menu */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

#primary-menu > li { position: relative; }

#primary-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
}

#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a,
#primary-menu > li.current-menu-ancestor > a,
#primary-menu > li.current_page_ancestor > a {
  color: var(--primary);
  background: rgba(14,165,233,.06);
}

/* Dropdown arrow */
#primary-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .2s ease;
}

#primary-menu .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* Dropdown Menu */
#primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s ease;
  pointer-events: none;
}

#primary-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

#primary-menu .sub-menu li a {
  display: block;
  padding: 9px 14px;
  font-size: .85rem;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
}

#primary-menu .sub-menu li a:hover {
  background: rgba(14,165,233,.07);
  color: var(--primary);
  padding-left: 18px;
}

/* Nested sub-menu */
#primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Nav CTA */
.nav-cta .btn {
  padding: 8px 16px;
  font-size: .85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================
   HERO SECTION
=================================== */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,46,.82) 0%,
    rgba(14,165,233,.60) 60%,
    rgba(26,46,36,.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.9);
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-title .highlight {
  color: var(--secondary);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.25rem;
  line-height: 1.75;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 14px; 
  flex-wrap: wrap; 
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  color: var(--white);
}

.hero-stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--secondary);
}

.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}

/* Logos panel */
.hero-logos {
  position: absolute;
  top: 32px;
  right: 0;
  z-index: 2;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.hero-logos img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1) opacity(.9);
  transition: var(--transition);
}
.hero-logos img:hover { filter: brightness(0) invert(1) opacity(1); }

.hero-logos-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .05em;
  animation: bounce 2s infinite;
}

.scroll-hint::before {
  content: '';
  display: block;
  width: 20px; height: 32px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 999px;
  position: relative;
}

.scroll-hint::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  animation: scroll-dot 2s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@keyframes scroll-dot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===================================
   ANNOUNCEMENT TICKER
=================================== */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  overflow: hidden;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.announcement-label {
  background: var(--secondary);
  color: var(--dark);
  padding: 4px 18px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 4px 4px 0;
  margin-right: 20px;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
}

.ticker {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker span { font-size: .88rem; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================
   ABOUT / INTRO SECTION
=================================== */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-image-badge .num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-badge .text {
  font-size: .75rem;
  opacity: .85;
  margin-top: 4px;
}

.about-content { padding-right: 20px; }
.about-content .badge { margin-bottom: 16px; }

.about-features {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(14,165,233,.1);
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.feature-text h4 { font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.feature-text p  { font-size: .82rem; color: var(--text-light); }

/* ===================================
   SERVICES / PROGRAM SECTION
=================================== */
.services-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-header { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: rgba(14,165,233,.1);
  color: var(--primary);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===================================
   NEWS / BERITA SECTION
=================================== */
.news-section {
  padding: 80px 0;
  background: var(--white);
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-card-body { padding: 20px; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-meta .category {
  background: rgba(14,165,233,.1);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.news-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--dark);
}

.news-card h3 a:hover { color: var(--primary); }

.news-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.65;
}

.news-card-featured .news-card-body { padding: 24px; }
.news-card-featured h3 { font-size: 1.2rem; }

/* side news list */
.news-side { display: flex; flex-direction: column; gap: 16px; }

.news-side-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--white);
}

.news-side-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.news-side-img {
  width: 80px; height: 70px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-side-body h4 {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-side-body h4 a:hover { color: var(--primary); }

.news-side-body .date {
  font-size: .72rem;
  color: var(--text-light);
}

/* ===================================
   GALLERY
=================================== */
.gallery-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 36px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,165,233,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.8rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===================================
   CONTACT / CTA SECTION
=================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,.75); }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ===================================
   CONTACT INFO SECTION
=================================== */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-items { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(14,165,233,.1);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p  { font-size: .84rem; color: var(--text-light); line-height: 1.6; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 320px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===================================
   FOOTER
=================================== */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-title-text { color: var(--white); }
.footer-brand .site-title-text span { color: rgba(255,255,255,.5); }

.footer-desc {
  margin-top: 14px;
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ===================================
   PAGE HEADER (Inner Pages)
=================================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: rgba(255,255,255,.7);
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: .5; }

/* ===================================
   MAIN CONTENT AREA
=================================== */
.site-main { padding: 60px 0; }

.content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Post entry */
.entry-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.entry-content {
  font-size: .95rem;
  line-height: 1.85;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.entry-content h2, .entry-content h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  margin: 24px 0 12px;
}

.entry-content p { margin-bottom: 16px; }
.entry-content img {
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}

/* List styles — penting agar bullet/nomor muncul di halaman */
.entry-content ul,
.entry-content ol {
  margin: 0 0 20px 0;
  padding-left: 28px;
}
.entry-content ul { list-style: disc; }
.entry-content ul ul { list-style: circle; margin-bottom: 4px; }
.entry-content ol { list-style: decimal; }
.entry-content li {
  margin-bottom: 8px;
  line-height: 1.75;
  word-break: break-word;
}
.entry-content li p { margin-bottom: 4px; }

/* Heading hierarchy */
.entry-content h1 { font-size: 1.7rem; margin: 28px 0 14px; }
.entry-content h2, .entry-content h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  margin: 24px 0 12px;
}
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  margin: 16px 0 8px;
}

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

/* Table */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .9rem;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.entry-content table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.entry-content table tr:nth-child(even) td {
  background: var(--bg-light);
}

/* Gutenberg block alignment */
.entry-content .wp-block-image img   { max-width: 100%; height: auto; }
.entry-content .aligncenter          { display: block; margin: 0 auto; text-align: center; }
.entry-content .alignright           { float: right; margin: 0 0 16px 24px; }
.entry-content .alignleft            { float: left;  margin: 0 24px 16px 0; }
.entry-content .wp-block-separator   { border: none; border-top: 2px solid var(--border); margin: 32px 0; }

/* Sidebar */
.sidebar-widget {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

/* ===================================
   BACK TO TOP
=================================== */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  font-size: 1rem;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid   { grid-template-columns: 1fr; }
  .news-card-featured { display: grid; grid-template-columns: 1fr 1fr; }
  .news-card-featured .news-card-img { height: 100%; }
}

@media (max-width: 900px) {
  .about-grid   { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .content-area { grid-template-columns: 1fr; }
  .hero-logos   { display: none; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 62px; }

  #primary-menu {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    border-top: 2px solid var(--primary);
  }

  #primary-menu.open { display: flex; }

  #primary-menu > li > a {
    padding: 11px 14px;
    border-radius: 6px;
  }

  #primary-menu .sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-left: 3px solid rgba(14,165,233,.2);
    border-radius: 0;
    padding: 4px 0 4px 12px;
    display: none;
  }

  #primary-menu .menu-item-has-children.open > .sub-menu { display: block; }

  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  .hero-section { min-height: 70vh; }
  .hero-title   { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .news-card-featured { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }

  .top-bar { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: 1; grid-row: 1; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===================================
   WORDPRESS ALIGNMENTS & BLOCKS
=================================== */
.alignleft  { float: left; margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { margin: 0 auto 16px; text-align: center; display: block; }
.alignwide  { margin-left: -40px; margin-right: -40px; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }

/* WordPress Generated Classes */
.wp-caption, .wp-caption-text, .gallery-caption, .bypostauthor { }
.sticky { border-left: 3px solid var(--primary); padding-left: 16px; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  overflow: hidden; position: absolute;
}
