/* ==========================================================================
   IIM RUSYAMSI, ST, MM - MODERN ACADEMIC & MENTOR PORTFOLIO (OPSI 2)
   Design System: Warm Intellectual & Sage Palette
   Colors: Midnight Navy (#191c42), Royal Blue (#0f75bc), Soft Sage (#e8f4ee & #2a6f4e),
           Warm Canvas (#f8faf9), Crisp White (#ffffff)
   Typography: Lora (Headings & Serif Accents) & Plus Jakarta Sans (Interface & Body)
   ========================================================================== */

:root {
  /* Opsi 2 Foundation & Warm Palette */
  --bg-page: #f8faf9;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-warm-tint: #f1f5f2;
  
  /* Brand Color Harmony */
  --brand-midnight: #191c42;
  --brand-royal: #0f75bc;
  --brand-sage: #2a6f4e;
  --brand-sage-soft: #e8f4ee;
  --brand-sage-text: #1d5239;
  
  --text-main: #141c24;
  --text-muted: #52606d;
  --text-dim: #8896a4;
  
  --border-light: #e6ebf0;
  --border-sage: #d0e4d9;
  
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  /* Surface & Base Foundation (Warm & Clean Palette) */
  --bg-hero: #f8faf9;
  --bg-dark: #f8faf9;
  --bg-darker: #f1f5f2;
  --bg-card-dark: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f8faf9;
  --bg-subtle: #f1f5f2;
  
  /* Navy / Slate Gradients */
  --slate-grad: linear-gradient(180deg, #f8faf9 0%, #edf4f0 100%);
  --slate-card: #ffffff;
  
  /* Brand Signature Colors */
  --accent-royal: #0f75bc;
  --accent-royal-hover: #0b5e98;
  --accent-royal-deep: #0c5d96;
  --accent-royal-glow: rgba(15, 117, 188, 0.20);
  --accent-royal-soft: rgba(15, 117, 188, 0.08);
  --accent-navy: #191c42;
  --accent-navy-dark: #10122e;
  --accent-navy-card: #ffffff;
  --accent-cyan: #0f75bc;
  --accent-blue-light: #e8f4ee;
  
  /* Text Contrast System */
  --text-white: #141c24;
  --text-light-muted: #52606d;
  --text-light-dim: #8896a4;
  --text-dark: #141c24;
  --text-dark-muted: #52606d;
  --text-dark-dim: #8896a4;
  
  /* Borders */
  --border-dark: #e6ebf0;
  --border-dark-hover: rgba(15, 117, 188, 0.35);
  --border-light: #e6ebf0;
  
  /* Typography & Layout */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Header Height Tokens */
  --header-height: 74px;
  
  /* Transitions & Shadows */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(20, 28, 36, 0.04);
  --shadow-md: 0 4px 18px rgba(20, 28, 36, 0.06);
  --shadow-lg: 0 10px 25px rgba(20, 28, 36, 0.08);
  --shadow-royal: 0 8px 24px rgba(15, 117, 188, 0.25);
  --shadow-soft: 0 4px 18px rgba(20, 28, 36, 0.04);
  --shadow-hover: 0 10px 25px rgba(20, 28, 36, 0.08);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6,
p, span, a, label, li,
blockquote, dt, dd, figcaption,
.hero-title, .hero-bio,
.section-title, .section-desc,
.card-title, .timeline-title,
.pillar-title, .quote-text,
.about-hero-title, .chapter-title {
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-content,
.about-hero-content,
.hero-grid > *,
.about-hero-grid > *,
.story-grid > *,
.kiprah-grid > *,
.community-grid > *,
.books-grid > *,
.quotes-grid > *,
.contact-grid > *,
.footer-top > *,
.footer-grid > *,
.timeline-item,
.timeline-card,
.card,
.pillar-card,
.kiprah-card,
.community-card,
.book-card,
.quote-card,
.stat-card,
.stat-ribbon-card,
.role-card,
.credential-card,
.essay-chapter {
  min-width: 0;
  max-width: 100%;
}

::selection {
  background: var(--accent-royal);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img,
iframe,
embed,
video,
object {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

iframe {
  border: 0;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

.form-submit-btn {
  width: 100%;
}

.page-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.page-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   EXECUTIVE CTA BUTTONS (ROYAL BLUE & NAVY)
   ========================================================================== */
.btn-royal,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-royal);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(15, 117, 188, 0.35);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-royal:hover,
.btn-primary:hover {
  background-color: var(--accent-royal-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 117, 188, 0.45);
}

.btn-royal svg,
.btn-primary svg,
.btn-outline-dark svg,
.btn-outline-white svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
  stroke: currentColor;
  flex-shrink: 0;
}

.btn-royal:hover svg,
.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-outline-white:hover {
  border-color: var(--accent-royal);
  color: #ffffff !important;
  background: rgba(15, 117, 188, 0.15);
  transform: translateY(-2px);
}

.btn-outline-royal,
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 117, 188, 0.08);
  color: var(--accent-royal) !important;
  border: 1.5px solid var(--accent-royal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-outline-royal:hover,
.btn-outline-gold:hover {
  background: var(--accent-royal);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 117, 188, 0.35);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--text-dark) !important;
  border: 2px solid var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(20, 28, 36, 0.04);
  z-index: 1000;
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
  padding-top: env(safe-area-inset-top, 0px);
}

/* WordPress Admin Bar Compatibility */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header .container {
  max-width: 1160px;
  width: 100%;
  padding: 0 24px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-emblem {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-midnight);
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-midnight);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-royal);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dynamic WordPress Custom Menu Support */
.nav-menu ul,
.nav-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu-list li,
.nav-menu ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-menu-list li a,
.nav-menu ul li a {
  font-family: var(--font-body);
  font-size: 0.90rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}

.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item > a,
.nav-menu-list li.current_page_item > a,
.nav-menu ul li a:hover,
.nav-menu ul li.current-menu-item > a,
.nav-menu ul li.current_page_item > a {
  color: var(--brand-midnight);
  font-weight: 600;
}

.nav-menu-list li a::after,
.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-royal);
  transition: width var(--transition);
}

.nav-menu-list li a:hover::after,
.nav-menu-list li.current-menu-item > a::after,
.nav-menu-list li.current_page_item > a::after,
.nav-menu ul li a:hover::after,
.nav-menu ul li.current-menu-item > a::after,
.nav-menu ul li.current_page_item > a::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid var(--border-light);
  flex-shrink: 0;
}

.lang-toggle-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: var(--brand-midnight);
  font-size: 0.80rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-toggle-btn:hover {
  border-color: var(--brand-royal);
  color: var(--brand-royal);
}

.nav-actions .btn-royal {
  background: var(--brand-royal);
  color: #ffffff;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nav-actions .btn-royal:hover {
  background: #0b5e98;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--brand-midnight);
  cursor: pointer;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
  z-index: 1003;
}

.mobile-toggle:hover,
.mobile-toggle.is-active {
  background: var(--bg-warm-tint);
  border-color: var(--brand-royal);
}

.mobile-toggle-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--brand-midnight);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color var(--transition);
}

.mobile-toggle.is-active .mobile-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--brand-royal);
}

.mobile-toggle.is-active .mobile-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active .mobile-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--brand-royal);
}

.mobile-drawer-overlay,
.mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   HERO SECTION (OPSI 2: MODERN ACADEMIC & MENTOR)
   ========================================================================== */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.hero {
  padding: 44px 0 0;
  position: relative;
  background: linear-gradient(180deg, #f8faf9 0%, #edf4f0 100%);
  overflow: hidden;
  min-height: 520px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: flex-end;
}

.hero-left {
  padding-bottom: 44px;
  position: relative;
  z-index: 2;
}

.academic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-sage);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1.22;
  color: var(--brand-midnight);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.hero-title mark {
  background: none;
  color: var(--brand-royal);
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.btn-main {
  background: var(--brand-midnight);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-main:hover {
  background: var(--brand-royal);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.hero-figure-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
  height: 100%;
}

.hero-person-img {
  width: 100%;
  max-width: 325px;
  max-height: 440px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 15px 30px rgba(27, 67, 50, 0.10));
  -webkit-mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 86%, transparent 100%);
}

.hero-affiliations-clean {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.affiliations-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.affiliations-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.affiliation-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-midnight);
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Mobile Hero Media Query (max-width: 820px) */
@media (max-width: 820px) {
  .site-header .container {
    padding: 0 18px;
  }
  .navbar {
    height: 62px;
  }
  .brand-emblem {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-sub {
    display: none !important;
  }
  .nav-menu,
  .nav-actions .btn-royal {
    display: none;
  }
  .nav-actions {
    gap: 8px;
    margin-left: 0;
    padding-left: 8px;
    border-left: none;
  }
  .lang-toggle-btn {
    padding: 5px 8px;
    font-size: 0.74rem;
    min-height: 36px;
  }
  .mobile-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  .hero {
    padding: 24px 0 32px;
    position: relative;
    background: radial-gradient(circle at 92% 18%, rgba(42, 111, 78, 0.08) 0%, transparent 60%);
  }
  .hero-grid {
    display: block;
    position: relative;
  }
  .hero-figure-wrap {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 48%;
    max-width: 195px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.46;
    align-items: flex-start;
  }
  .hero-person-img {
    max-width: 100%;
    max-height: 275px;
    object-fit: contain;
    object-position: top right;
    filter: none;
    -webkit-mask-image: radial-gradient(circle at 75% 32%, black 46%, transparent 92%);
    mask-image: radial-gradient(circle at 75% 32%, black 46%, transparent 92%);
  }
  .hero-left {
    padding-bottom: 0;
    position: relative;
    z-index: 2;
    max-width: 100%;
  }
  .academic-pill {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 1.76rem;
    line-height: 1.22;
    margin-bottom: 14px;
    max-width: 76%;
    text-shadow: 0 1px 1px #f8faf9, 0 2px 8px rgba(248, 250, 249, 0.95);
  }
  .hero-lead {
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 22px;
    color: #141c24;
    max-width: 95%;
    text-shadow: 0 1px 6px rgba(248, 250, 249, 0.90);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 20px;
  }
  .btn-main, .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

.hero-floating-role {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-royal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-floating-desc {
  font-size: 0.85rem;
  color: var(--text-white);
  font-weight: 600;
}

/* ==========================================================================
   IMPACT HIGHLIGHTS GRID (.impact-strip)
   ========================================================================== */
.impact-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
  position: relative;
  z-index: 2;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.impact-card {
  padding: 0 16px;
  border-right: 1px solid var(--border-light);
}

.impact-card:last-child {
  border-right: none;
}

.impact-num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--brand-royal);
  line-height: 1.1;
  margin-bottom: 6px;
}

.impact-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-midnight);
}

.impact-desc {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.partner-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.partner-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.partner-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.partner-item {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--brand-midnight);
  opacity: 0.85;
}

.partner-dot {
  color: var(--border-sage);
  font-size: 0.75rem;
}

/* ==========================================================================
   STORY & VISION SECTION (MODERN ACADEMIC & MENTOR)
   ========================================================================== */
.section-story {
  background-color: var(--bg-page);
  color: var(--text-main);
  padding: 80px 0 90px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
}

/* ==========================================================================
   EDITORIAL SECTION EYEBROW (Replaces cheap pill badges)
   ========================================================================== */
.section-eyebrow,
.story-tag,
.kiprah-badge-pill,
.books-tag,
.contact-tag,
.about-hero-pill,
.essay-badge,
.kiprah-domain-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-royal) !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 12px;
}

.hero-title mark,
.story-title .highlight-accent,
.contact-title .highlight-accent,
.about-hero-highlight {
  background: transparent !important;
  color: inherit !important;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-midnight);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.story-desc {
  font-size: 1.0rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.quote-box {
  margin-top: 32px;
  margin-bottom: 16px;
  background: #ffffff;
  border-left: 4px solid var(--brand-royal);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-soft);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quote-box blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--brand-midnight);
  line-height: 1.68;
  margin-bottom: 10px;
}

.quote-box cite {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
}

.story-visual {
  position: relative;
}

.story-visual-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.story-visual-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.story-visual-badge {
  position: absolute;
  bottom: -16px;
  left: 20px;
  background: #ffffff;
  color: var(--brand-midnight);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-sage);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.story-visual-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: var(--brand-midnight);
}

.story-visual-badge span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Mobile responsive for Impact Strip & Story */
@media (max-width: 820px) {
  .impact-strip {
    padding: 24px 0;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .impact-card {
    padding: 0 8px;
    border-right: none;
  }
  .impact-card:nth-child(1),
  .impact-card:nth-child(3) {
    border-right: 1px solid var(--border-light);
  }
  .impact-num {
    font-size: 1.8rem;
  }
  .impact-label {
    font-size: 0.78rem;
  }
  .impact-desc {
    font-size: 0.7rem;
  }
  .section-story {
    padding: 48px 0;
  }
  .story-grid {
    display: block;
  }
  .story-visual {
    margin-top: 36px;
  }
  .story-title {
    font-size: 1.7rem;
  }
  .quote-box {
    padding: 18px 20px;
    margin-top: 24px;
  }
}


/* ==========================================================================
   FOKUS STRATEGIS & REKAM JEJAK EKOSISTEM (.section-kiprah)
   Official Brand Styling (Deep Navy #0d1333 / #25276d & Royal Blue #0f75bc)
   ========================================================================== */
.section-anchor-alias {
  display: block;
  position: relative;
  top: -90px;
  visibility: hidden;
  height: 0;
}

.section-kiprah {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.kiprah-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 2;
}

.kiprah-badge-pill {
  display: inline-block;
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  color: var(--brand-sage-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.kiprah-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-midnight);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.kiprah-subtitle {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
}

/* Cards Grid */
.kiprah-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

@media (max-width: 860px) {
  .kiprah-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.kiprah-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--brand-sage);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.kiprah-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

.kiprah-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.kiprah-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sage-text);
}

.kiprah-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.kiprah-domain-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-royal);
  background: #f0f6fa;
  padding: 4px 10px;
  border-radius: 4px;
}

.kiprah-card-title {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--brand-midnight);
  line-height: 1.35;
  margin-bottom: 12px;
}

.kiprah-card-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.kiprah-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  border-radius: 4px;
}

.kiprah-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kiprah-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-main);
}

.kiprah-points li svg {
  width: 16px;
  height: 16px;
  color: var(--brand-royal);
  stroke: var(--brand-royal);
  flex-shrink: 0;
  margin-top: 2px;
}

.kiprah-card-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
}

.impact-indicator {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-sage-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Section CTA Box */
.kiprah-cta-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--brand-royal);
  border-radius: var(--radius-md);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

.kiprah-cta-text h4 {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 6px;
}

.kiprah-cta-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}


/* ==========================================================================
/* ==========================================================================
   COMMUNITY BANNER (MODERN ACADEMIC & MENTOR)
   ========================================================================== */
.section-community {
  background: linear-gradient(180deg, #f1f5f2 0%, #e8f4ee 100%);
  padding: 80px 0;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.community-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-midnight);
  margin-bottom: 18px;
}

.community-title strong {
  color: var(--brand-royal);
}

.community-desc {
  font-size: 1.0rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.community-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.community-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--brand-midnight);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
}

.community-btn:hover {
  background: var(--brand-royal);
  border-color: var(--brand-royal);
  color: #ffffff;
  transform: translateX(4px);
}

.community-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.community-visual-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.community-visual-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 820px) {
  .section-community {
    padding: 48px 0;
  }
  .community-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .community-title {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.section-testimonials {
  background-color: var(--bg-dark);
  padding: 90px 0 100px;
  color: var(--text-white);
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.testimonials-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
}

.testimonials-title strong {
  color: var(--accent-royal);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(15, 117, 188, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2b3342;
  border: 2px solid var(--accent-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-royal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.2;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--accent-royal);
  font-weight: 600;
}

.testimonial-quote-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.testimonial-body {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BOOKS & PUBLICATIONS (LIGHT EDITORIAL SECTION - OPSI 2)
   ========================================================================== */
.section-books {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 90px 0 110px;
}

.books-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}

.books-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-sage-text);
  background: var(--brand-sage-soft);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-sage);
  margin-bottom: 16px;
}

.books-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.books-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.book-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.book-card .book-card-mockup {
  padding: 34px 16px 26px;
  background: radial-gradient(circle at 50% 65%, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-light);
}

.book-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.book-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.book-year-badge {
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-sage);
  letter-spacing: 0.5px;
}

.book-publisher {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-royal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brand-midnight);
  line-height: 1.35;
  margin-bottom: 12px;
}

.book-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.book-takeaway {
  background: var(--bg-warm-tint);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--brand-royal);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.book-takeaway strong {
  color: var(--brand-midnight);
}

/* ==========================================================================
   CONTACT SECTION (OPSI 2: MODERN ACADEMIC & MENTOR)
   ========================================================================== */
.section-contact {
  background-color: var(--bg-warm-tint);
  padding: 90px 0 100px;
  color: var(--text-main);
  position: relative;
  border-top: 1px solid var(--border-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-sage-text);
  background: var(--brand-sage-soft);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-sage);
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-midnight);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.contact-title .highlight-accent {
  color: var(--brand-royal);
}

.contact-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.contact-info-item:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sage-text);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-info-meta strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-royal);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info-meta span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-midnight);
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 8px;
}

.form-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-midnight);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-royal);
  box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.12);
}

select.form-control option {
  background: #ffffff;
  color: var(--text-main);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER (OPSI 2: MODERN ACADEMIC & MENTOR)
   ========================================================================= */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  color: var(--text-muted);
}

.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p,
.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 360px;
  line-height: 1.65;
}

.footer-links-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-midnight);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--brand-royal);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sage-text);
  transition: all var(--transition);
}

.social-btn:hover {
  background: var(--brand-royal);
  color: #ffffff;
  border-color: var(--brand-royal);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--accent-royal);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FLOATING WHATSAPP ACTION (COMMUNICATION SHORTCUT)
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.floating-wa-btn:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 3px;
}

.floating-wa-btn svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1280px) {
  .container {
    padding: 0 16px;
  }
  .navbar {
    gap: 12px;
  }
  .brand-sub {
    display: none;
  }
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.78rem;
    letter-spacing: 0.2px;
    padding: 4px 0;
  }
  .nav-actions {
    margin-left: 8px;
    padding-left: 12px;
    gap: 8px;
  }
  .lang-toggle-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
  .nav-actions .btn-royal {
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 6px;
  }
}

@media (max-width: 1080px) {
  .navbar {
    height: 72px;
  }

  .nav-menu,
  .nav-actions .btn-royal {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    padding-left: 0;
    border-left: none;
    gap: 10px;
  }

  .brand-sub {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  /* Backdrop Overlay */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 28, 36, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }

  .mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Off-Canvas Side Drawer */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(310px, 84vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    border-left: 1px solid var(--border-light);
    box-shadow: -10px 0 30px rgba(20, 28, 36, 0.12);
    z-index: 1002;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    overflow: hidden;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
    flex-shrink: 0;
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .drawer-brand .brand-emblem {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .drawer-brand .brand-name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-midnight);
    letter-spacing: -0.2px;
  }

  .mobile-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border-radius: var(--radius-sm);
    background: var(--brand-sage-soft);
    border: 1px solid var(--border-sage);
    color: var(--brand-sage-text);
    cursor: pointer;
    transition: all var(--transition);
  }

  .mobile-drawer-close:hover,
  .mobile-drawer-close:focus-visible {
    background: var(--brand-royal);
    border-color: var(--brand-royal);
    color: #ffffff;
  }

  .mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 18px 16px;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-nav-links .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 16px;
    min-height: 46px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
  }

  .mobile-nav-links .nav-link:hover {
    background: var(--brand-sage-soft);
    color: var(--brand-sage-text);
  }

  .mobile-nav-links .nav-link.active {
    background: var(--brand-sage-soft);
    border-color: var(--border-sage);
    color: var(--brand-sage-text);
    font-weight: 700;
  }

  .mobile-nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-nav-links ul li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-links ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 16px;
    min-height: 46px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
  }

  .mobile-nav-links ul li a:hover,
  .mobile-nav-links ul li.current-menu-item > a,
  .mobile-nav-links ul li.current_page_item > a {
    background: var(--brand-sage-soft);
    border-color: var(--border-sage);
    color: var(--brand-sage-text);
    font-weight: 700;
  }

  .mobile-drawer-footer {
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-light);
    background: var(--bg-warm-tint);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
  }

  .mobile-drawer-footer .btn-royal {
    min-height: 46px;
    width: 100%;
    justify-content: center;
    display: inline-flex;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .community-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .site-header .container {
    padding: 0 16px;
  }

  .site-header .navbar {
    height: 68px;
  }

  .nav-actions {
    flex-shrink: 0;
    gap: 8px;
  }

  .lang-toggle-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 60px;
    min-height: auto;
    display: block;
    overflow: hidden;
  }

  .hero-bg-img {
    object-position: right top;
    opacity: 1;
  }

  .hero-bg-overlay {
    background: linear-gradient(to top, var(--bg-hero) 0%, rgba(13, 19, 51, 0.4) 15%, transparent 35%);
  }

  .hero-container {
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .lang-toggle-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .hero-content {
    max-width: 58%;
    position: relative;
    z-index: 2;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.8vw, 2.05rem);
    line-height: 1.18;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
  }

  .hero-bio {
    font-size: 0.84rem;
    line-height: 1.52;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 250px;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn-royal,
  .hero-cta-group .btn-outline-white {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.82rem;
    justify-content: center;
  }

  .hero-cta-group .btn-outline-white {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
  }

  .hero-affiliations {
    margin-top: 10px;
    padding-top: 16px;
    max-width: 100%;
  }

  .affiliations-title {
    font-size: 0.68rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .affiliations-badges {
    gap: 8px;
  }

  .affiliation-tag {
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .hero-photo-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-photo-wrapper img {
    height: clamp(300px, 60vw, 420px);
    object-fit: cover;
  }

  .announcement-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .kiprah-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kiprah-card {
    padding: 28px 22px;
  }

  .kiprah-cta-box {
    padding: 24px 20px;
  }

  .testimonials-grid,
  .books-grid {
    grid-template-columns: 1fr;
  }

  .story-title,
  .community-title,
  .testimonials-title,
  .books-title,
  .contact-title {
    font-size: 1.5rem;
  }

  .book-card {
    padding: 22px 18px;
  }

  .story-stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .contact-grid {
    gap: 36px;
  }

  .contact-form-card {
    padding: 28px 22px;
  }

  .testimonial-card {
    padding: 28px 22px;
  }

  .book-card {
    padding: 24px 20px;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE PHONE VIEWPORTS (320px to 480px: 320px, 375px, 390px, 412px)
   ========================================================================== */
@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .site-header .container {
    padding: 0 12px;
  }

  .site-header .navbar {
    height: 64px;
    gap: 8px;
    min-width: 0;
  }

  .brand-logo {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-emblem {
    width: 36px;
    height: 36px;
    padding: 3px;
    flex-shrink: 0;
  }

  .brand-meta {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-toggle-btn {
    padding: 4px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.2px;
    min-height: 38px;
    min-width: auto;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
  }

  .mobile-drawer-header {
    padding: 14px 16px;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
  }

  .mobile-drawer-body {
    padding: 14px 12px;
  }

  .mobile-nav-links .nav-link {
    padding: 12px 14px;
    min-height: 46px;
    font-size: 0.95rem;
  }

  .mobile-drawer-footer {
    padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .hero-bg-img {
    object-position: 86% 15%;
    opacity: 0.38;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero-bio {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 32px;
  }

  .hero-cta-group .btn-royal,
  .hero-cta-group .btn-outline-white {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .hero-affiliations {
    padding-top: 18px;
  }

  .affiliations-title {
    font-size: 0.70rem;
    margin-bottom: 10px;
  }

  .affiliations-badges {
    gap: 6px 8px;
  }

  .affiliation-tag {
    font-size: 0.72rem;
    padding: 4px 9px;
    line-height: 1.35;
  }

  .hero-photo-wrapper {
    max-width: 100%;
    border-radius: var(--radius-md);
  }

  .hero-photo-wrapper img {
    height: clamp(280px, 75vw, 380px);
  }

  .hero-floating-card {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }

  .hero-floating-role {
    font-size: 0.72rem;
  }

  .hero-floating-desc {
    font-size: 0.78rem;
  }

  .announcement-wrap {
    margin-top: -24px;
    margin-bottom: 14px;
  }

  .announcement-box {
    padding: 16px 14px;
    gap: 14px;
  }

  .announcement-text h3 {
    font-size: 1.05rem;
  }

  .announcement-text p {
    font-size: 0.82rem;
  }

  .announcement-box .btn-royal {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .section-story,
  .section-kiprah,
  .section-community,
  .section-books,
  .section-contact {
    padding: 56px 0;
  }

  .story-title,
  .community-title,
  .testimonials-title,
  .books-title,
  .contact-title,
  .kiprah-title {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    line-height: 1.25;
  }

  .story-desc,
  .contact-desc,
  .kiprah-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .kiprah-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    padding: 16px 12px;
    margin-bottom: 32px;
  }

  .metric-block {
    min-width: 0;
    width: 100%;
  }

  .metric-num {
    font-size: 1.65rem;
  }

  .metric-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .kiprah-card {
    padding: 22px 16px 18px;
  }

  .kiprah-card-header {
    margin-bottom: 14px;
  }

  .kiprah-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .kiprah-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .kiprah-card-title {
    font-size: 1.15rem;
  }

  .kiprah-card-desc {
    font-size: 0.88rem;
  }

  .kiprah-tags {
    gap: 6px;
  }

  .kiprah-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .kiprah-cta-box {
    padding: 20px 16px;
    gap: 16px;
  }

  .kiprah-cta-box .btn-royal {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .community-card,
  .story-card {
    padding: 20px 16px;
  }

  .story-stats-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .story-stat-item {
    min-width: 0;
    max-width: 100%;
  }

  .story-stat-item strong {
    font-size: 1.8rem;
  }

  .story-stat-item span {
    font-size: 0.78rem;
    letter-spacing: 0.2px;
  }

  .story-stat-card {
    padding: 16px 14px;
  }

  .testimonial-card {
    padding: 20px 16px;
  }

  .testimonial-author-row {
    gap: 12px;
    margin-bottom: 14px;
  }

  .testimonial-avatar {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .testimonial-quote-heading {
    font-size: 0.98rem;
  }

  .testimonial-body {
    font-size: 0.86rem;
  }

  .book-card {
    padding: 20px 16px;
  }

  .book-title {
    font-size: 1.05rem;
  }

  .book-desc {
    font-size: 0.84rem;
  }

  .book-takeaway {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .contact-form-card {
    padding: 20px 14px;
  }

  .form-control {
    font-size: 16px;
    min-height: 46px;
    padding: 12px 12px;
  }

  .contact-form-card .btn-royal {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .contact-info-list {
    gap: 14px;
  }

  .contact-info-item {
    gap: 12px;
  }

  .contact-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .footer-top,
  .footer-grid {
    gap: 24px;
  }

  .social-links {
    justify-content: flex-start;
    gap: 10px;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .footer-links-list a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .site-footer {
    padding: 48px 0 calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .floating-wa-btn {
    width: 50px;
    height: 50px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }

  .floating-wa-btn svg {
    width: 26px;
    height: 26px;
  }

  main.container.page-content {
    padding: 2.5rem 1rem !important;
  }
}

/* Extra small devices (<= 360px) */
@media (max-width: 360px) {
  .container,
  .site-header .container {
    padding: 0 8px;
  }

  .brand-logo {
    gap: 6px;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-emblem {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  .brand-meta {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .brand-name {
    font-size: 0.80rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 4px;
    flex-shrink: 0;
  }

  .lang-toggle-btn {
    padding: 3px 6px;
    font-size: 0.64rem;
    letter-spacing: 0.1px;
    min-height: 36px;
    min-width: auto;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .kiprah-metrics-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-stat-item strong {
    font-size: 1.5rem;
  }

  .story-stat-item span {
    font-size: 0.72rem;
    letter-spacing: 0.1px;
  }
}

/* ==========================================================================
   ABOUT PAGE COMPONENT STYLES (about.html)
   ========================================================================== */

/* Breadcrumbs */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 32px;
  color: var(--text-light-dim);
}
.page-breadcrumb a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.page-breadcrumb a:hover {
  color: var(--accent-royal);
}
.breadcrumb-separator {
  color: var(--border-dark);
}
.breadcrumb-current {
  color: var(--accent-royal);
  font-weight: 600;
}

/* About Hero */
.about-hero {
  padding: 48px 0 60px;
  background: linear-gradient(180deg, #f8faf9 0%, #edf4f0 100%);
  border-bottom: 1px solid var(--border-light);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 60px;
}
.about-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.about-portrait-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-portrait-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(25, 28, 66, 0.4) 100%);
  pointer-events: none;
}
.about-badge-float {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-badge-float .badge-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-midnight);
}
.about-badge-float .badge-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.about-hero-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  color: var(--brand-sage-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.about-hero-highlight {
  background: transparent;
  color: var(--brand-royal);
}
.about-hero-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.about-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* About Stats Ribbon */
.about-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.stat-ribbon-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition);
}
.stat-ribbon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 117, 188, 0.4);
}
.stat-ribbon-num {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-royal);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-serif);
}
.stat-ribbon-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 4px;
}
.stat-ribbon-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Section Essay (Narrative) */
.section-essay {
  padding: 100px 0;
  background-color: var(--bg-page);
}
.essay-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.essay-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.essay-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--brand-midnight);
}
.essay-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.essay-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}
.essay-main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.essay-chapter {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition);
}
.essay-chapter:hover {
  border-color: rgba(15, 117, 188, 0.35);
}
.chapter-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.chapter-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-royal);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}
.chapter-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}
.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.35;
  color: var(--brand-midnight);
}
.chapter-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.chapter-body p:last-child {
  margin-bottom: 0;
}

/* Essay Sidebar */
.essay-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-quote-card {
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  padding: 30px;
  border-radius: var(--radius-lg);
  position: relative;
}
.quote-symbol {
  font-size: 4rem;
  line-height: 1;
  font-family: var(--font-serif);
  color: var(--brand-royal);
  opacity: 0.25;
  margin-bottom: -20px;
}
.sidebar-quote-text {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--brand-midnight);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.sidebar-quote-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-midnight);
}
.sidebar-quote-author span {
  font-size: 0.8rem;
  color: var(--brand-sage-text);
}
.sidebar-dossier-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.dossier-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-midnight);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.dossier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dossier-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dossier-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light-dim);
}
.dossier-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Section Tabs (4 Pillars) */
.section-tabs {
  padding: 100px 0;
  background-color: var(--bg-warm-tint);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.tabs-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}
.tabs-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.tabs-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--brand-midnight);
}
.tabs-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.tab-btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover {
  border-color: var(--border-sage);
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  transform: translateY(-2px);
}
.tab-btn.active {
  background: var(--brand-midnight);
  border-color: var(--brand-midnight);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(25, 28, 66, 0.25);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.role-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 117, 188, 0.35);
  box-shadow: var(--shadow-hover);
}
.role-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}
.role-period {
  font-size: 0.8rem;
  color: var(--brand-royal);
  font-weight: 700;
}
.role-badge-tag {
  font-size: 0.72rem;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  border: 1px solid var(--border-sage);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.role-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-midnight);
  margin-bottom: 6px;
}
.role-institution {
  font-size: 0.9rem;
  color: var(--brand-royal);
  font-weight: 600;
  margin-bottom: 14px;
}
.role-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: auto;
}

/* Timeline (Compact 2-Column Milestone Grid) */
.section-timeline {
  padding: 68px 0;
  background-color: var(--bg-page);
}
.timeline-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.timeline-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--brand-midnight);
}
.timeline-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.timeline-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}
.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-royal);
  opacity: 0;
  transition: opacity var(--transition);
}
.timeline-card:hover {
  border-color: rgba(15, 117, 188, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.timeline-card:hover::before {
  opacity: 1;
}
.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.timeline-year {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: rgba(15, 117, 188, 0.08);
  color: var(--brand-royal);
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  border: 1px solid rgba(15, 117, 188, 0.15);
}
.timeline-step {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--bg-warm-tint);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.timeline-card:hover .timeline-step {
  color: var(--brand-royal);
  background: rgba(15, 117, 188, 0.10);
}
.timeline-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-sage);
}
.timeline-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-sage);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(42, 111, 78, 0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(42, 111, 78, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(42, 111, 78, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 111, 78, 0); }
}
.timeline-event {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 8px;
  line-height: 1.35;
}
.timeline-card p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex-grow: 1;
}
.timeline-card.current-phase {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 24px;
  align-items: center;
  border: 1.5px solid rgba(15, 117, 188, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, rgba(232, 244, 238, 0.4) 100%);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
}
.timeline-card.current-phase::before {
  opacity: 1;
  background: var(--brand-sage);
}
.timeline-card.current-phase:hover {
  border-color: var(--brand-royal);
  box-shadow: var(--shadow-md);
}
.timeline-current-meta .timeline-card-header {
  margin-bottom: 8px;
}
.timeline-current-meta .timeline-event {
  margin-bottom: 0;
}
.timeline-current-body p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-left: 2px solid var(--border-sage);
  padding-left: 18px;
}

/* Credentials */
.section-credentials {
  padding: 100px 0;
  background-color: var(--bg-warm-tint);
  border-top: 1px solid var(--border-light);
}
.credentials-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}
.credentials-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.credentials-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--brand-midnight);
}
.credentials-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cred-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.cred-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 117, 188, 0.4);
  box-shadow: var(--shadow-hover);
}
.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-sage-text);
  margin-bottom: 16px;
}
.cred-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cred-year {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}
.cred-issuer {
  font-size: 0.72rem;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.cred-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-midnight);
  margin-bottom: 6px;
}
.cred-authority {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* Education */
.section-education {
  padding: 100px 0;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
}
.education-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}
.education-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.education-title {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--brand-midnight);
}
.education-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.edu-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}
.edu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 117, 188, 0.35);
  box-shadow: var(--shadow-hover);
}
.edu-card.highlight {
  border-color: var(--brand-royal);
  border-width: 2px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.edu-status-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  border: 1px solid var(--border-sage);
  margin-bottom: 16px;
}
.edu-status-pill.completed {
  background: #f1f5f2;
  color: var(--text-muted);
  border-color: var(--border-light);
}
.edu-level {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 4px;
}
.edu-school {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-midnight);
  line-height: 1.3;
  margin-bottom: 6px;
}
.edu-major {
  font-size: 0.9rem;
  color: var(--brand-royal);
  font-weight: 600;
  margin-bottom: 4px;
}
.edu-year {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.edu-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: auto;
}

/* Institutions */
.section-institutions {
  padding: 80px 0;
  background-color: var(--bg-warm-tint);
  border-top: 1px solid var(--border-light);
}
.institutions-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}
.institutions-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-sage);
}
.institutions-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--brand-midnight);
}
.institutions-sub {
  font-size: 1rem;
  color: var(--text-muted);
}
.institutions-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.chip-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.chip-item:hover {
  border-color: var(--border-sage);
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  transform: translateY(-2px);
}

/* Responsive adjustments for about.html */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-portrait-card {
    max-width: 380px;
    margin: 0 auto;
  }
  .about-hero-actions {
    justify-content: center;
  }
  .about-stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .essay-layout {
    grid-template-columns: 1fr;
  }
  .essay-sidebar {
    position: static;
  }
  .credentials-grid,
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2.2rem;
  }
  .essay-title,
  .tabs-title,
  .timeline-title,
  .credentials-title,
  .education-title {
    font-size: 1.85rem;
  }
  .about-stats-ribbon {
    grid-template-columns: 1fr;
  }
  .role-cards-grid {
    grid-template-columns: 1fr;
  }
  .section-timeline {
    padding: 48px 0;
  }
  .timeline-header {
    margin-bottom: 24px;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .timeline-card {
    padding: 14px 16px;
  }
  .timeline-card.current-phase {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .timeline-current-body p {
    border-left: none;
    padding-left: 0;
  }
  .timeline-event {
    font-size: 0.98rem;
  }
  .timeline-card p {
    font-size: 0.83rem;
    line-height: 1.5;
  }
  .credentials-grid,
  .education-grid {
    grid-template-columns: 1fr;
  }
  .essay-chapter {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 36px 0 36px;
  }
  .page-breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .about-hero-title {
    font-size: clamp(1.6rem, 6.8vw, 2.05rem);
    line-height: 1.25;
  }
  .about-hero-lead {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .about-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .about-hero-actions a {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }
  .about-portrait-card {
    max-width: 100%;
  }
  .about-portrait-img {
    height: clamp(280px, 75vw, 380px);
  }
  .about-badge-float {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
  }
  .about-badge-float .badge-title {
    font-size: 0.92rem;
  }
  .about-badge-float .badge-sub {
    font-size: 0.72rem;
  }
  .stat-ribbon-card {
    padding: 16px 14px;
  }
  .stat-ribbon-num {
    font-size: 1.85rem;
  }
  .essay-chapter {
    padding: 18px 14px;
  }
  .chapter-title {
    font-size: 1.15rem;
  }
  .chapter-body p {
    font-size: 0.90rem;
    line-height: 1.65;
  }
  .sidebar-quote-card,
  .sidebar-dossier-card {
    padding: 18px 14px;
  }
  .tab-btn-wrapper {
    gap: 8px;
    margin-bottom: 24px;
  }
  .tab-btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  .role-card {
    padding: 18px 14px;
  }
  .role-card-title {
    font-size: 1.05rem;
  }
  .role-institution {
    font-size: 0.84rem;
  }
  .role-desc {
    font-size: 0.84rem;
  }
  .cred-card,
  .edu-card {
    padding: 18px 14px;
  }
  .cred-name,
  .edu-degree {
    font-size: 0.98rem;
  }
  .institutions-chips {
    gap: 8px;
  }
  .chip-item {
    padding: 8px 14px;
    font-size: 0.80rem;
    width: 100%;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .section-timeline {
    padding: 38px 0;
  }
  .timeline-grid {
    gap: 10px;
  }
  .timeline-card {
    padding: 13px 14px;
  }
  .timeline-event {
    font-size: 0.95rem;
  }
  .timeline-card p {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   DEDICATED BOOKS PAGE (BUKU.HTML) STYLES
   ========================================================================== */

.books-page-hero {
  background: linear-gradient(180deg, #f8faf9 0%, #edf4f0 100%);
  padding: 48px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.books-page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 117, 188, 0.08) 0%, rgba(248, 250, 249, 0) 70%);
  pointer-events: none;
}

.books-page-hero-header {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.books-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  color: var(--brand-sage-text);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.books-page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-midnight);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.books-page-hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

/* Books Stats Bar */
.books-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: var(--shadow-soft);
}

.books-stat-item {
  text-align: center;
  position: relative;
}

.books-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.books-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-royal);
  line-height: 1;
  margin-bottom: 6px;
}

.books-stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 2px;
}

.books-stat-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Catalog Toolbar */
.books-catalog-section {
  background-color: var(--bg-light);
  padding: 60px 0 100px;
  color: var(--text-dark);
}

.books-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.books-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  background: #f1f5f9;
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--accent-navy);
  color: #ffffff;
  border-color: var(--accent-navy);
  box-shadow: 0 4px 12px rgba(37, 39, 109, 0.25);
}

.filter-count {
  background: rgba(255, 255, 255, 0.25);
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.filter-btn:not(.active) .filter-count {
  background: #e2e8f0;
  color: #475569;
}

.books-search-wrapper {
  position: relative;
  min-width: 260px;
}

.books-search-input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #f8fafc;
  transition: all var(--transition);
}

.books-search-input:focus {
  outline: none;
  border-color: var(--accent-royal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.15);
}

.books-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* Book Catalog Grid & Modern Minimalist Cards (3-Column Layout) */
.books-catalog-section {
  padding: 50px 0 90px;
}

.books-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.book-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
  transform: translateY(-6px);
}

/* 3D Realistic Standing Book Showcase / Mockup Area */
.book-card-mockup {
  background: radial-gradient(circle at 50% 65%, #ffffff 0%, #f1f5f9 100%);
  padding: 42px 20px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: default;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
  perspective: 1200px;
}

/* Soft realistic ground shadow underneath book */
.book-card-mockup::after {
  content: '';
  position: absolute;
  bottom: 18px;
  width: 145px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0) 75%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.35s ease;
}

.book-item-card:hover .book-card-mockup::after {
  width: 160px;
  height: 20px;
  bottom: 14px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0) 75%);
}

/* Hide cheap floating status pills */
.book-status-pill {
  display: none !important;
}

/* 3D Realistic Standing Book Geometry */
.book-3d-model {
  width: 164px;
  height: 236px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  transform: rotateY(-20deg) rotateX(4deg);
  border-radius: 2px 8px 8px 2px;
  box-shadow: -10px 14px 28px -4px rgba(15, 23, 42, 0.4);
}

.book-item-card:hover .book-3d-model {
  transform: rotateY(-10deg) rotateX(2deg) translateY(-8px) scale(1.02);
  box-shadow: -14px 22px 36px -6px rgba(15, 23, 42, 0.5);
}

.book-3d-cover {
  width: 100%;
  height: 100%;
  border-radius: 2px 8px 8px 2px;
  padding: 16px 14px 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-left: 10px solid rgba(0, 0, 0, 0.35);
  box-shadow: 
    inset 4px 0 8px rgba(0, 0, 0, 0.6), 
    inset -2px 0 6px rgba(255, 255, 255, 0.15);
}

/* Real book glossy laminate sheen */
.book-3d-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 25%, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  z-index: 4;
}

/* Realistic 3D white page stack edges */
.book-3d-cover::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: -9px;
  width: 9px;
  background: repeating-linear-gradient(to right, #f8fafc 0px, #94a3b8 1px, #f8fafc 2px);
  border-radius: 0 3px 3px 0;
  box-shadow: inset -1px 0 3px rgba(0, 0, 0, 0.25);
  transform: rotateY(42deg);
  transform-origin: left;
}

/* Theme variations for 3D covers */
.book-3d-cover.theme-navy {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  border-left-color: #020617 !important;
}

.book-3d-cover.theme-royal {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #0f172a 100%);
  border-left-color: #075985;
}

.book-3d-cover.theme-emerald {
  background: linear-gradient(135deg, #0d9488 0%, #065f46 60%, #064e3b 100%);
  border-left-color: #042f2e;
}

.book-3d-cover.theme-amber {
  background: linear-gradient(135deg, #b45309 0%, #78350f 60%, #451a03 100%);
  border-left-color: #3b1802;
}

.book-3d-cover.theme-purple {
  background: linear-gradient(135deg, #7e22ce 0%, #581c87 60%, #3b0764 100%);
  border-left-color: #2e1065;
}

.book-3d-cover.theme-slate {
  background: linear-gradient(135deg, #334155 0%, #1e293b 60%, #0f172a 100%);
  border-left-color: #0f172a;
}

.book-cover-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.book-cover-kicker {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 3px;
  text-transform: uppercase;
}

.book-cover-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 3px 0 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.book-cover-subtitle {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.32;
  font-weight: 500;
}

.book-cover-author {
  font-size: 0.66rem;
  font-weight: 700;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 6px;
}

.book-cover-publisher {
  font-size: 0.62rem;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Book Information Content Area (Below Mockup) */
.book-card-info {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.book-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 8px;
  transition: color var(--transition);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.book-item-card:hover .book-card-title {
  color: var(--accent-royal);
}

.book-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-dark-muted);
  margin-bottom: 0;
}

.book-card-publisher {
  font-weight: 600;
  color: #475569;
}

.book-card-dot {
  color: #94a3b8;
  font-weight: bold;
}

.book-card-year {
  color: #64748b;
  font-weight: 600;
}

.book-card-actions-row {
  margin-top: auto;
}

.btn-book-quick-modal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: #f8fafc;
  color: var(--accent-navy);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-book-quick-modal svg {
  transition: transform 0.2s ease;
}

.btn-book-quick-modal:hover {
  background: var(--accent-royal);
  color: #ffffff;
  border-color: var(--accent-royal);
  box-shadow: 0 4px 14px rgba(15, 117, 188, 0.28);
  transform: translateY(-1px);
}

.btn-book-quick-modal:hover svg {
  transform: translateX(4px);
}

/* Media Mentions & Broadcast Section */
.section-media-columns {
  background-color: var(--bg-warm-tint);
  color: var(--text-main);
  padding: 90px 0;
  border-top: 1px solid var(--border-light);
}

.media-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.media-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  color: var(--brand-sage-text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.media-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-midnight);
  margin-bottom: 14px;
}

.media-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.media-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
  box-shadow: var(--shadow-soft);
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 117, 188, 0.35);
  box-shadow: var(--shadow-hover);
}

.media-card-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--brand-royal);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.media-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brand-midnight);
  margin-bottom: 12px;
}

.media-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.media-card-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-royal);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* Modal Bedah Buku Dialog */
.book-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 25, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.book-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.book-modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.book-modal-backdrop.open .book-modal-dialog {
  transform: translateY(0) scale(1);
}

.book-modal-header {
  background: linear-gradient(135deg, var(--brand-midnight) 0%, #10122e 100%);
  color: #ffffff;
  padding: 28px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.book-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.book-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.book-modal-body {
  padding: 32px;
  color: var(--text-dark);
}

.modal-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-chapters-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.modal-chapters-list li {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.modal-chapters-list li:last-child {
  border-bottom: none;
}

.chapter-number {
  background: #e2e8f0;
  color: #1e293b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  min-width: 24px;
  text-align: center;
}

.citation-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: monospace;
  font-size: 0.82rem;
  color: #334155;
  margin-bottom: 24px;
  position: relative;
}

.citation-copy-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.citation-copy-btn:hover {
  background: var(--accent-navy);
  color: #ffffff;
}

/* Responsiveness for Books page */
@media (max-width: 1080px) {
  .books-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 24px;
  }
  .books-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .books-stat-item:nth-child(2)::after {
    display: none;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .books-page-hero {
    padding: 36px 0 50px;
  }
  .books-page-hero-title {
    font-size: 2.1rem;
  }
  .books-stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .books-catalog-section {
    padding: 30px 0 60px;
  }
  .books-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .book-item-card {
    border-radius: 12px;
  }
  .book-card-mockup {
    padding: 24px 8px 18px;
  }
  .book-card-mockup::after {
    width: 95px;
    height: 10px;
    bottom: 12px;
  }
  .book-item-card:hover .book-card-mockup::after {
    width: 105px;
    height: 12px;
    bottom: 10px;
  }
  .book-status-pill {
    top: 8px;
    left: 8px;
    font-size: 0.58rem;
    padding: 2px 7px;
    letter-spacing: 0.3px;
  }
  .book-3d-model {
    width: 108px;
    height: 154px;
    transform: rotateY(-12deg) rotateX(2deg);
  }
  .book-item-card:hover .book-3d-model {
    transform: rotateY(-6deg) rotateX(1deg) translateY(-4px) scale(1.02);
  }
  .book-3d-cover {
    padding: 10px 8px;
    border-radius: 2px 6px 6px 2px;
    border-left-width: 3.5px;
  }
  .book-3d-cover::after {
    right: -4px;
    width: 4px;
    top: 2px;
    bottom: 2px;
  }
  .book-cover-meta-top {
    font-size: 0.48rem;
    letter-spacing: 0.4px;
  }
  .book-cover-kicker {
    font-size: 0.44rem;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
  }
  .book-cover-title {
    font-size: 0.68rem;
    line-height: 1.25;
    margin: 2px 0 3px;
  }
  .book-cover-subtitle {
    font-size: 0.48rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .book-cover-author {
    font-size: 0.52rem;
    padding-top: 4px;
  }
  .book-cover-publisher {
    font-size: 0.46rem;
  }
  .book-card-info {
    padding: 12px 10px 16px;
  }
  .book-card-title {
    font-size: 0.85rem;
    line-height: 1.35;
    margin-bottom: 6px;
    min-height: 2.7em;
  }
  .book-card-meta {
    font-size: 0.74rem;
    gap: 4px;
    margin-bottom: 0;
    flex-wrap: wrap;
  }
  .book-card-year {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .books-stats-bar {
    grid-template-columns: 1fr;
  }
  .books-stat-item::after {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .books-catalog-grid {
    gap: 12px 8px;
  }
  .book-3d-model {
    width: 95px;
    height: 136px;
  }
  .book-card-mockup {
    padding: 20px 4px 14px;
  }
  .book-card-info {
    padding: 10px 6px 14px;
  }
  .book-card-title {
    font-size: 0.78rem;
  }
  .book-card-meta {
    font-size: 0.68rem;
    margin-bottom: 0;
  }
}

/* ==========================================================================
   KEYBOARD ACCESSIBILITY & FOCUS VISIBLE
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--accent-royal-hover);
  outline-offset: 3px;
}

.btn-royal:focus-visible,
.btn-primary:focus-visible,
.btn-outline-royal:focus-visible,
.btn-outline-white:focus-visible,
.btn-outline-dark:focus-visible,
.community-btn:focus-visible,
.tab-btn:focus-visible,
.filter-btn:focus-visible,
.social-btn:focus-visible,
.lang-toggle-btn:focus-visible,
.mobile-toggle:focus-visible,
.mobile-drawer-close:focus-visible,
.book-modal-close:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent-royal-hover);
  outline-offset: 3px;
}

/* ==========================================================================
   NEWS PORTAL BLOG SYSTEM
   Styles for Breaking Ticker, Hero Headlines, Card Grid, Sticky Sidebar,
   and Single Article Layout (Deep Navy & Royal Blue Design System)
   ========================================================================== */

/* Dummy Disclaimer Bar */
.news-disclaimer-bar {
  background: var(--brand-sage-soft);
  border-bottom: 1px solid var(--border-sage);
  padding: 10px 0;
  color: var(--brand-sage-text);
  font-size: 0.85rem;
  font-weight: 500;
}
.news-disclaimer-bar a {
  color: var(--brand-royal);
  text-decoration: underline;
  font-weight: 600;
}
.news-disclaimer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.news-disclaimer-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-disclaimer-pill {
  background: var(--accent-royal);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Breaking News Ticker Bar */
.news-ticker-section {
  background: #060919;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
  position: relative;
  z-index: 10;
}
.news-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.news-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-ticker-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: tickerPulse 1.4s infinite ease-in-out;
}
@keyframes tickerPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.6; }
}
.news-ticker-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
}
.news-ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: tickerMarquee 38s linear infinite;
}
.news-ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
.news-ticker-item {
  color: var(--text-light-muted);
  font-size: 0.88rem;
  margin-right: 32px;
  text-decoration: none;
  transition: color var(--transition);
}
.news-ticker-item strong {
  color: var(--accent-cyan);
}
.news-ticker-item:hover {
  color: #ffffff;
}

/* Category Badges */
.news-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.3;
}
.badge-umkm { background: #0f75bc; color: #ffffff; }
.badge-digital { background: #0284c7; color: #ffffff; }
.badge-leadership { background: #4f46e5; color: #ffffff; }
.badge-ekosistem { background: #059669; color: #ffffff; }
.badge-opini { background: #d97706; color: #ffffff; }

/* News Page Header / Breadcrumb */
.news-page-header {
  padding: 36px 0 24px;
  background: linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-dark);
}
.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light-dim);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.news-breadcrumb a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.news-breadcrumb a:hover {
  color: var(--accent-royal-hover);
}
.news-breadcrumb-separator {
  color: var(--text-light-dim);
}
.news-header-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.news-header-desc {
  color: var(--text-light-muted);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.5;
}

/* Category Filter Tabs Bar */
.news-filter-bar {
  background: var(--bg-card-dark);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.news-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.news-filter-tabs::-webkit-scrollbar {
  display: none;
}
.news-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}
.news-tab-btn:hover {
  background: var(--brand-sage-soft);
  border-color: var(--border-sage);
  color: var(--brand-sage-text);
}
.news-tab-btn.active {
  background: var(--brand-midnight);
  border-color: var(--brand-midnight);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(25, 28, 66, 0.25);
}

/* Headline Hero Section (Cover Story & Highlights) */
.news-hero-section {
  padding: 32px 0 40px;
  background: var(--bg-dark);
}
.news-hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
}

/* Featured Big Card */
.news-featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #101736;
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.news-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(15, 117, 188, 0.25);
  border-color: var(--border-dark-hover);
}
.news-featured-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.news-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}
.news-featured-card:hover .news-featured-img {
  transform: scale(1.04);
}
.news-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.15) 0%, rgba(10, 14, 39, 0.7) 45%, rgba(6, 9, 25, 0.96) 100%);
}
.news-featured-content {
  position: relative;
  z-index: 2;
  padding: 32px;
}
.news-featured-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.news-featured-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.news-featured-excerpt {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-light-dim);
  flex-wrap: wrap;
}
.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-meta-author {
  color: #ffffff;
  font-weight: 600;
}

/* Secondary Side Cards */
.news-secondary-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-secondary-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  min-height: 205px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-secondary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(15, 117, 188, 0.2);
  border-color: var(--border-dark-hover);
}
.news-secondary-card .news-featured-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.news-secondary-card .news-featured-overlay {
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.2) 0%, rgba(6, 9, 25, 0.94) 100%);
}
.news-secondary-card .news-featured-content {
  padding: 20px;
}
.news-secondary-card .news-featured-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* Main Section: Article Grid + Sidebar */
.news-main-section {
  padding: 40px 0 70px;
  background: var(--bg-darker);
}
.news-main-grid-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Section Subhead within Portal */
.news-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(15, 117, 188, 0.2);
}
.news-section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-midnight);
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--brand-royal);
  border-radius: 2px;
}
.news-count-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Article Cards Grid */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  text-decoration: none;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 117, 188, 0.3);
  box-shadow: var(--shadow-hover);
}
.news-card-thumb-link {
  display: block;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
}
.news-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}
.news-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover .news-card-thumb {
  transform: scale(1.05);
}
.news-card-badge-pos {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.news-card-readtime {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(25, 28, 66, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-meta {
  display: flex;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.8rem;
}
.meta-date-icon {
  color: var(--brand-royal);
  flex-shrink: 0;
}
.news-card-title {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.42;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.news-card-title a {
  color: var(--brand-midnight);
  text-decoration: none;
  transition: color var(--transition);
}
.news-card:hover .news-card-title a,
.news-card-title a:hover {
  color: var(--brand-royal);
}
.news-card-excerpt {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
}
.news-card-author-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.news-author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}
.news-card-read-more {
  color: var(--brand-royal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition);
}
.news-card:hover .news-card-read-more {
  transform: translateX(4px);
}

/* Load More Area */
.news-load-more-wrap {
  text-align: center;
  margin-top: 36px;
}
.btn-load-more {
  background: #ffffff;
  border: 1px solid var(--brand-royal);
  color: var(--brand-royal);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  font-family: inherit;
  box-shadow: var(--shadow-sm);
}
.btn-load-more:hover {
  background: var(--brand-royal);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 117, 188, 0.25);
  transform: translateY(-2px);
}

/* Portal Sidebar & Widgets */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: calc(var(--header-height) + 60px);
}
.news-widget {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.news-widget-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-midnight);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-royal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-widget-title-icon {
  color: var(--brand-royal);
}

/* Search Widget */
.news-search-form {
  position: relative;
  display: flex;
}
.news-search-input {
  width: 100%;
  background: #f8faf9;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
  padding: 11px 44px 11px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: border-color var(--transition);
}
.news-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand-royal);
  box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.15);
}
.news-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--brand-royal);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Author Mini Spotlight Widget */
.news-author-spotlight {
  text-align: center;
}
.news-author-spotlight-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-royal);
  margin: 0 auto 12px;
  display: block;
  box-shadow: var(--shadow-md);
}
.news-author-spotlight-name {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.news-author-spotlight-role {
  color: var(--brand-royal);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-author-spotlight-bio {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}
.news-author-spotlight-link {
  display: inline-block;
  color: var(--brand-royal);
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition);
}
.news-author-spotlight-link:hover {
  background: var(--brand-royal);
  color: #ffffff;
  border-color: var(--brand-royal);
}

/* Popular / Trending List Widget (Ranked 1-5) */
.news-popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition);
}
.news-popular-item:hover {
  transform: translateX(4px);
}
.news-rank-num {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-dim);
  min-width: 24px;
  text-align: center;
  padding-top: 2px;
}
.news-popular-item:nth-child(1) .news-rank-num { color: #f59e0b; }
.news-popular-item:nth-child(2) .news-rank-num { color: var(--brand-royal); }
.news-popular-item:nth-child(3) .news-rank-num { color: var(--brand-midnight); }
.news-popular-detail {
  flex: 1;
}
.news-popular-title {
  color: var(--brand-midnight);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.news-popular-item:hover .news-popular-title {
  color: var(--brand-royal);
}
.news-popular-meta {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Category List Widget */
.news-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-cat-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), padding-left var(--transition);
}
.news-cat-item-link:hover {
  color: var(--brand-royal);
  padding-left: 6px;
}
.news-cat-count {
  background: var(--brand-sage-soft);
  color: var(--brand-sage-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Tag Cloud Widget */
.news-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-tag-pill {
  background: #f8faf9;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.news-tag-pill:hover {
  background: var(--brand-royal);
  color: #ffffff;
  border-color: var(--brand-royal);
}

/* Newsletter Widget */
.news-newsletter-box {
  background: var(--brand-sage-soft);
  border: 1px solid var(--border-sage);
}
.news-newsletter-desc {
  color: var(--brand-sage-text);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 14px;
}
.news-newsletter-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-sage);
  color: var(--text-main);
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-family: inherit;
}
.news-newsletter-input:focus {
  outline: none;
  border-color: var(--brand-royal);
  box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.15);
}
.btn-news-subscribe {
  width: 100%;
  background: var(--brand-royal);
  color: #ffffff;
  border: none;
  padding: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-news-subscribe:hover {
  background: var(--accent-royal-hover);
  box-shadow: 0 4px 14px var(--accent-royal-glow);
}

/* ==========================================================================
   SINGLE ARTICLE / DETAIL PAGE (blog-post.html)
   ========================================================================== */
.article-header {
  padding: 40px 0 28px;
  background: linear-gradient(180deg, #f8faf9 0%, #edf4f0 100%);
  border-bottom: 1px solid var(--border-light);
}
.article-header-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-main-title {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.article-lead-subtitle {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 400;
}
.article-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.article-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.article-author-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-royal);
}
.article-author-name {
  color: var(--brand-midnight);
  font-size: 0.98rem;
  font-weight: 700;
}
.article-author-date {
  color: var(--text-dim);
  font-size: 0.82rem;
}
.article-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-right: 4px;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-midnight);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.btn-share:hover {
  background: var(--brand-royal);
  color: #ffffff;
  border-color: var(--brand-royal);
  transform: translateY(-2px);
}
.btn-share.share-wa:hover { background: #25d366; border-color: #25d366; color: #ffffff; }
.btn-share.share-li:hover { background: #0a66c2; border-color: #0a66c2; color: #ffffff; }
.btn-share.share-x:hover { background: #000000; border-color: #000000; color: #ffffff; }

/* Article Body Content Area */
.article-main-layout {
  padding: 40px 0 80px;
  background: var(--bg-warm-tint);
}
.article-content-body {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
  box-shadow: var(--shadow-soft);
}
.article-featured-media {
  margin: -40px -40px 32px -40px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  position: relative;
}
.article-featured-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.article-media-caption {
  background: #f1f5f2;
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  border-bottom: 1px solid var(--border-light);
}

.article-content-body p {
  margin-bottom: 22px;
  color: var(--text-muted);
}
.article-content-body p:first-of-type {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.75;
}
.article-content-body h2 {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  line-height: 1.3;
}
.article-content-body h3 {
  color: var(--brand-royal);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 14px;
}
.article-content-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--brand-sage-soft);
  border-left: 4px solid var(--brand-sage);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--brand-midnight);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.65;
}
.article-content-body blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--brand-sage-text);
  font-weight: 700;
  margin-top: 8px;
}
.article-highlight-box {
  background: var(--bg-warm-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}
.article-highlight-title {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-highlight-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.article-highlight-box li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* Article Author Bio Card */
.article-author-bio-card {
  margin-top: 40px;
  padding: 28px;
  background: #f8faf9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
}
.author-bio-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-royal);
  flex-shrink: 0;
}
.author-bio-name {
  color: var(--brand-midnight);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-bio-title {
  color: var(--brand-royal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.author-bio-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Article Navigation (Prev/Next) */
.article-prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.article-nav-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.article-nav-box:hover {
  border-color: var(--brand-royal);
  background: var(--brand-sage-soft);
  transform: translateY(-2px);
}
.article-nav-label {
  font-size: 0.75rem;
  color: var(--brand-royal);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.article-nav-title {
  color: var(--brand-midnight);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Related Posts Section */
.related-posts-section {
  padding: 50px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR NEWS PORTAL
   ========================================================================== */
@media (max-width: 1080px) {
  .news-hero-grid {
    grid-template-columns: 1fr;
  }
  .news-featured-card {
    min-height: 380px;
  }
  .news-secondary-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .news-main-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .news-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .news-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card-body {
    padding: 14px 14px 18px;
  }
  .news-card-title {
    font-size: 1.02rem;
    line-height: 1.38;
  }
  .news-secondary-column {
    grid-template-columns: 1fr;
  }
  .news-featured-content {
    padding: 20px;
  }
  .news-featured-card {
    min-height: 320px;
  }
  .news-disclaimer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }
  .news-disclaimer-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.45;
  }
  .news-disclaimer-pill {
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: 2px;
  }
  .article-content-body {
    padding: 24px 18px;
  }
  .article-featured-media {
    margin: -24px -18px 24px -18px;
  }
  .article-author-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .article-share-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .article-author-bio-card {
    flex-direction: column;
    text-align: center;
  }
  .article-prev-next-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .news-ticker-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  .news-ticker-item {
    font-size: 0.82rem;
  }
  .news-filter-tabs {
    gap: 6px;
    padding: 10px 0;
  }
  .news-tab-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .news-card-body {
    padding: 16px;
  }
  .news-card-title {
    font-size: 1.05rem;
  }
  .article-header {
    padding: 28px 0 20px;
  }
  .article-main-title {
    font-size: 1.6rem;
  }
}



