:root {
  --maroon: #872332;
  --maroon-mid: #742A35;
  --maroon-dark: #5E121D;
  --gold: #C59358;
  --gold-light: #D4A86A;
  --gold-dark: #A67C45;
  --cream: #FFF9F0;
  --cream-dark: #F5EDE0;
  --charcoal: #1A0A0C;
  --mid: #6B5A5E;
  --light: #F7F3EE;
  --white: #FFFFFF;
  --success: #16A34A;
  --danger: #DC2626;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(135,35,50,.08);
  --shadow-lg: 0 20px 60px rgba(135,35,50,.15);
  --public-footer-h: 44px;
  --marquee-h: 42px;
  --mobile-bottom-nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--article { max-width: 780px; }

main.public-main {
  flex: 1 0 auto;
  width: 100%;
}
main.public-main--offset { padding-top: 72px; }

/* Nav — scoped to #navbar so breadcrumb/pagination <nav> are not affected */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(135,35,50,.06);
  padding: 10px 0;
  transition: box-shadow .3s, padding .3s, background .3s;
  overflow: visible;
}
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(135,35,50,.08);
  background: rgba(255,255,255,.94);
  padding: 8px 0;
}
#navbar .inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px;
  max-width: 1180px; margin: 0 auto; padding: 0 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
  justify-self: start;
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mid);
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
  justify-content: center; flex-wrap: nowrap;
  justify-self: center;
  overflow: visible;
}
#navbar .inner { overflow: visible; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--mid); font-size: .84rem; font-weight: 600;
  text-decoration: none; transition: color .2s, background .2s;
  padding: 8px 14px; border-radius: 100px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--maroon);
  background: rgba(135,35,50,.06);
}
.nav-links a.nav-link-cta {
  color: var(--maroon);
  background: transparent;
  box-shadow: none;
}
.nav-links a.nav-link-cta:hover,
.nav-links a.nav-link-cta.active {
  color: var(--maroon-dark);
  background: rgba(135,35,50,.06);
  box-shadow: none;
}
.nav-links a .nav-icon,
.nav-dropdown-toggle .nav-icon {
  width: 17px; height: 17px; flex-shrink: 0;
  stroke: currentColor; opacity: .85;
}

.nav-dropdown { position: relative; z-index: 20; }
.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--mid); font-size: .84rem; font-weight: 600;
  font-family: inherit;
  background: transparent; border: none; cursor: pointer;
  padding: 8px 14px; border-radius: 100px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.active > .nav-dropdown-toggle,
.nav-dropdown.open > .nav-dropdown-toggle {
  color: var(--maroon);
  background: rgba(135,35,50,.06);
}
.nav-dropdown-chevron {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform .15s;
}
.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.open .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid rgba(135,35,50,.1);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 1100;
}
@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
  }
  .nav-dropdown:hover > .nav-dropdown-toggle {
    color: var(--maroon);
    background: rgba(135,35,50,.06);
  }
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-dropdown-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  opacity: .85;
}
.nav-dropdown-item span { line-height: 1.2; }
.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  color: var(--maroon);
  background: rgba(135,35,50,.06);
}
.nav-dropdown-item.active .nav-dropdown-icon { opacity: 1; }

.nav-actions { display: flex; gap: 8px; align-items: center; justify-self: end; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: .875rem;
  padding: 10px 22px; border-radius: 100px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-ghost {
  background: transparent; color: var(--maroon);
  border: 1.5px solid rgba(135,35,50,.2);
}
.btn-ghost:hover { background: rgba(135,35,50,.05); border-color: var(--maroon); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  box-shadow: 0 4px 16px rgba(197,147,88,.35);
}
.btn-gold:hover { box-shadow: 0 6px 24px rgba(197,147,88,.5); transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: .95rem; }
.menu-toggle {
  display: none;
}

/* Footer — mengikuti alur halaman */
footer.public-footer {
  background: var(--charcoal);
  padding: 16px 0;
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}
.public-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-footer-brand { min-width: 0; }
.public-footer-tagline {
  color: var(--white);
  font-size: .75rem;
  line-height: 1.4;
  margin: 0;
}
.public-footer-motto {
  color: var(--white);
  font-size: .68rem;
  line-height: 1.35;
  margin: 2px 0 0;
}
.public-footer-copy {
  color: var(--white);
  font-size: .72rem;
  line-height: 1.4;
  margin: 0;
  text-align: right;
  flex-shrink: 0;
}
footer.public-footer span { color: var(--white); font-weight: 700; }

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid rgba(135,35,50,.1);
  box-shadow: 0 -4px 24px rgba(135,35,50,.08);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--mid);
  font-size: .58rem;
  font-weight: 600;
  line-height: 1.2;
  transition: color .15s, background .15s;
}
.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item.active {
  color: var(--maroon);
  background: rgba(135,35,50,.05);
}
.mobile-bottom-nav-item--menu {
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mobile-subnav-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 1090;
  padding: 0 12px 8px;
}
.mobile-subnav-panel.open { display: block; }
.mobile-subnav-panel-inner {
  background: var(--white);
  border: 1px solid rgba(135,35,50,.1);
  border-radius: 16px;
  box-shadow: 0 -8px 32px rgba(135,35,50,.12);
  padding: 10px;
  max-height: 50vh;
  overflow-y: auto;
}
.mobile-subnav-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid);
  padding: 4px 10px 8px;
  margin: 0;
}
.mobile-subnav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--charcoal);
  font-size: .88rem;
  font-weight: 600;
}
.mobile-subnav-item:hover,
.mobile-subnav-item.active {
  background: rgba(135,35,50,.06);
  color: var(--maroon);
}
.mobile-subnav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
}
.mobile-subnav-hub {
  display: block;
  text-align: center;
  padding: 10px;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  border-top: 1px solid rgba(135,35,50,.08);
}
.mobile-bottom-nav-item--cta {
  color: var(--maroon);
}
.mobile-bottom-nav-item--cta.active {
  color: var(--maroon-dark);
}
.mobile-bottom-nav-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Subpages */
.page-hero {
  background: var(--cream);
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(135,35,50,.06);
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 8px;
}
.page-hero p { color: var(--mid); max-width: 640px; }
.breadcrumb { font-size: .8rem; color: var(--mid); margin-bottom: 12px; }
.breadcrumb a { color: var(--maroon); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Share buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(135,35,50,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.share-bar--compact {
  margin-top: 0;
  padding: 12px 14px;
  background: var(--light);
  box-shadow: none;
}
.share-bar-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
  letter-spacing: .01em;
}
.share-bar-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.share-btn:active { transform: scale(.94); }
.share-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.share-wa  { background: #25D366; }
.share-fb  { background: #1877F2; }
.share-x   { background: #0f0f0f; }
.share-li  { background: #0A66C2; }
.share-tg  { background: #0088cc; }
.share-copy,
.share-native {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
}
.share-copy svg,
.share-native svg {
  width: 17px;
  height: 17px;
}
.share-copy-toast {
  font-size: .78rem;
  font-weight: 600;
  color: var(--success);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.share-copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Article pages */
.page-hero--article {
  padding: 40px 0 28px;
}
.page-hero--article h1 {
  font-size: clamp(1.45rem, 3.5vw, 1.95rem);
}
.page-hero--article .share-bar {
  max-width: 100%;
}
.article-page { padding: 36px 0 56px; }
.article-excerpt {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mid);
  border-left: 4px solid var(--maroon);
  padding-left: 16px;
  margin-bottom: 28px;
}
.article-cover {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--charcoal);
}
.article-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul,
.article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--maroon); text-decoration: underline; }
.article-share-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(135,35,50,.08);
}
.article-share-bottom p {
  font-size: .85rem;
  font-weight: 600;
  color: var(--mid);
  margin-bottom: 12px;
}
.article-cta {
  margin-top: 48px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-cta p {
  font-size: .9rem;
  color: var(--mid);
  margin-bottom: 16px;
}
.article-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-list {
  padding: 0 0 72px;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 120px, var(--cream) 100%);
}

/* Toolbar panel */
.article-panel {
  background: var(--white);
  border: 1px solid rgba(135,35,50,.08);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-top: -28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.page-hero--compact { padding-bottom: 48px; }
.page-hero--articles {
  background: linear-gradient(165deg, var(--cream) 0%, #fff 55%, var(--light) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero--articles::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(135,35,50,.07) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(135,35,50,.1);
  box-shadow: var(--shadow);
}
.page-hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--maroon);
}
.page-hero-stat-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--mid);
  margin-top: 4px;
}
.page-hero-desc { max-width: 620px; margin: 0; }

.article-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(135,35,50,.08);
}
.article-search-field {
  flex: 1 1 260px;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}
.article-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--mid);
  stroke: currentColor;
  pointer-events: none;
  z-index: 1;
}
.article-search-input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  border: 1.5px solid rgba(135,35,50,.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: .9rem;
  background: var(--light);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.article-search-input:focus {
  outline: none;
  border-color: var(--maroon);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(135,35,50,.08);
}
.article-search-btn { flex-shrink: 0; padding: 11px 24px; border-radius: 12px; }
.article-search-reset {
  font-size: .82rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  padding: 8px 4px;
}
.article-search-reset:hover { text-decoration: underline; }

.article-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-categories-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mid);
}
.article-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--mid);
  background: var(--light);
  border: 1.5px solid rgba(135,35,50,.08);
  transition: .2s;
  white-space: nowrap;
}
.article-cat-chip:hover {
  color: var(--maroon);
  border-color: rgba(135,35,50,.2);
  background: var(--white);
}
.article-cat-chip.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border-color: transparent;
}
.article-cat-count {
  font-size: .7rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(0,0,0,.07);
}
.article-cat-chip.is-active .article-cat-count {
  background: rgba(255,255,255,.22);
}

.article-filter-summary {
  font-size: .88rem;
  color: var(--mid);
  margin: -12px 0 24px;
  padding: 0 4px;
}
.article-filter-count {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(135,35,50,.06);
  font-size: .78rem;
  font-weight: 600;
  color: var(--maroon);
}

/* Article grid — 3 kolom */
.article-grid-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 2px;
}
.article-grid-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}
.article-grid-count {
  font-size: .78rem;
  font-weight: 600;
  color: var(--mid);
  white-space: nowrap;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(135,35,50,.08);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.article-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(135,35,50,.14);
  transform: translateY(-3px);
}
.article-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.article-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.article-card__img.is-broken { display: none; }
.article-card:hover .article-card__img:not(.is-broken) {
  transform: scale(1.05);
}
.article-card__img-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(145deg, rgba(135,35,50,.04) 0%, transparent 50%),
    linear-gradient(145deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.article-card__img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23872332' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' opacity='.18'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
}
.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  gap: 0;
}
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.article-card__cat {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--maroon);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(135,35,50,.07);
}
.article-card__cat:hover {
  background: rgba(135,35,50,.12);
}
.article-card__date {
  font-size: .72rem;
  color: var(--mid);
  white-space: nowrap;
}
.article-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.article-card__title a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color .15s;
}
.article-card__title a:hover { color: var(--maroon); }
.article-card__excerpt {
  font-size: .86rem;
  line-height: 1.65;
  color: var(--mid);
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(135,35,50,.07);
}
.article-card__author {
  font-size: .78rem;
  color: var(--mid);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-card__read {
  font-size: .8rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.article-card__read:hover { text-decoration: underline; }

.article-empty {
  text-align: center;
  color: var(--mid);
  padding: 56px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed rgba(135,35,50,.15);
}
.article-empty-icon { font-size: 2rem; margin-bottom: 12px; opacity: .6; }
.article-empty p { margin-bottom: 16px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Pagination */
.article-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.article-page-btn,
.article-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid rgba(135,35,50,.12);
  transition: .15s;
}
.article-page-num:hover,
.article-page-btn:hover:not(.is-disabled) {
  border-color: var(--maroon);
  color: var(--maroon);
}
.article-page-num.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}
.article-page-btn.is-disabled {
  opacity: .35;
  cursor: default;
}
.article-page-ellipsis {
  padding: 0 4px;
  color: var(--mid);
  font-size: .9rem;
}
.article-pagination-info {
  text-align: center;
  font-size: .82rem;
  color: var(--mid);
  margin-top: 12px;
}

.article-detail-cat {
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}
.article-detail-cat:hover { text-decoration: underline; }
.article-meta-line { color: var(--mid); }
.article-updated { font-size: .85rem; color: var(--mid); }

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .share-bar-buttons { gap: 6px; }
  .share-btn { width: 36px; height: 36px; }
  .share-btn svg { width: 16px; height: 16px; }
  .article-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-grid-head { margin-bottom: 12px; }
  .page-hero { padding: 28px 0 24px; }
  .page-hero--compact { padding-bottom: 32px; }
  .page-hero h1 { font-size: 1.45rem; margin-bottom: 6px; }
  .page-hero-desc { font-size: .875rem; line-height: 1.5; }
  .breadcrumb { margin-bottom: 8px; }
  .page-hero-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-hero-stat { flex-direction: row; gap: 8px; padding: 8px 14px; min-width: 0; }
  .page-hero-stat-num { font-size: 1.25rem; }
  .page-hero-stat-label { margin-top: 0; font-size: .68rem; }
  .article-panel {
    margin-top: -16px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: var(--radius);
  }
  .article-search {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .article-search-field { flex: 1 1 0; min-width: 0; }
  .article-search-input {
    padding: 9px 12px 9px 38px;
    font-size: .875rem;
    border-radius: 10px;
  }
  .article-search-icon { left: 12px; width: 16px; height: 16px; }
  .article-search-btn {
    width: auto;
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: .82rem;
    border-radius: 10px;
    align-self: stretch;
  }
  .article-search-reset {
    width: 100%;
    text-align: center;
    padding: 2px 0 0;
    font-size: .78rem;
  }
  .article-categories { gap: 6px; }
  .article-categories-label { font-size: .68rem; }
  .article-categories-list { gap: 6px; }
  .article-cat-chip {
    padding: 5px 10px;
    font-size: .75rem;
    gap: 4px;
  }
  .article-cat-count { font-size: .65rem; min-width: 18px; padding: 0 5px; }
  .article-filter-summary { margin: -8px 0 16px; font-size: .82rem; }
  .article-list { padding-bottom: 48px; }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(var(--mobile-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .nav-links { display: none; }
  #navbar .inner { grid-template-columns: 1fr auto; }
  .nav-actions { justify-self: end; }
  .nav-actions .btn {
    padding: 8px 14px;
    font-size: .8rem;
  }
  .nav-actions .btn svg { display: none; }
  .mobile-bottom-nav { display: grid; }
  footer.public-footer { padding: 20px 0 16px; }
  .public-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .public-footer-copy {
    text-align: center;
    font-size: .65rem;
  }
  .public-footer-tagline { font-size: .7rem; }
  .public-footer-motto { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
