/*
Theme Name: UP6
Theme URI: https://up6.org
Description: A child theme of Twenty Twenty-Five for UP6 — a Malaysian editorial news portal. Deep Blue #1B3C53, Accent Red #C0392B, Beige #C4B5A5. Three-row sticky header, full-bleed hero card, red-dot section labels, shadow-only article cards, Featured sidebar panel, centred footer. No plugins required.
Author: UP6
Author URI: https://up6.org
Template: twentytwentyfive
Version: 2.6.21
Requires at least: 6.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: up6
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-colors, custom-header
*/

/* =============================================================
   DESIGN TOKENS
   ============================================================= */
:root {
  --up6-deep:    #1B3C53;
  --up6-mid:     #2E5871;
  --up6-dark:    #162f42;
  --up6-red:     #C0392B;
  --up6-red-dk:  #a8302a;
  --up6-gold:    #D4A017;
  --up6-beige:   #C4B5A5;
  --up6-bg:      #F4F2EF;
  --up6-white:   #ffffff;
  --up6-border:  rgba(79,111,134,.12);
  --up6-shadow:  rgba(27,60,83,.07);
  --up6-shadow2: rgba(27,60,83,.13);

  --up6-sans:    'DM Sans', sans-serif;
  --up6-serif:   'Source Serif 4', 'Playfair Display', Georgia, serif;

  --up6-max:     75rem;
  --up6-pad:     1.5rem;
}

/* =============================================================
   BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--up6-serif);
  background: var(--up6-bg);
  color: var(--up6-deep);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title, .entry-title, .widget-title, nav {
  font-family: var(--up6-sans);
  font-weight: 900;
}

a { color: var(--up6-deep); text-decoration: none; }
a:hover { color: var(--up6-red); }

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

.site { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1; }

/* =============================================================
   SKIP LINK
   ============================================================= */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 0; top: 0;
  width: auto; height: auto;
  background: var(--up6-red);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 999;
}

/* =============================================================
   SITE HEADER — three rows, sticky
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(27,60,83,.18);
}

.header-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 0 var(--up6-pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --- Row 1: Brand + Search --- */
.header-brand-row {
  background: var(--up6-deep);
}
.header-brand-row .header-inner {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  justify-content: space-between;
}

/* Logo icon — round red circle */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
/* Logo bounce keyframe */
@keyframes up6-logo-bounce {
  0%   { transform: scale(1)    rotate(0deg);  }
  20%  { transform: scale(1.18) rotate(-8deg); }
  40%  { transform: scale(0.92) rotate(5deg);  }
  60%  { transform: scale(1.08) rotate(-3deg); }
  80%  { transform: scale(0.97) rotate(1deg);  }
  100% { transform: scale(1)    rotate(0deg);  }
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;           /* round */
  background: var(--up6-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
  transform-origin: center bottom;
  cursor: pointer;
}
.site-branding:hover .logo-icon {
  box-shadow: none;
  animation: none;
}
.logo-icon:hover {
  animation: up6-logo-bounce 0.55s cubic-bezier(.36,.07,.19,.97) both;
  box-shadow: 0 4px 14px rgba(192,57,43,.45);
}
.logo-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #fff;
  pointer-events: none;
}
/* Remove text lift — animation is icon-only */
.site-branding .site-branding-text { transition: none; }
.site-branding:hover .site-branding-text { transform: none; }

.site-branding-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

/* Site title — rendered from Settings → General → Site Title */
.site-title,
.site-title a,
.site-title-link,
.site-title-link .site-title {
  font-family: 'DM Sans', var(--up6-sans);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--up6-white);
  line-height: 1;
  display: inline;
  text-transform: uppercase;
}
/* Trailing-digit accent (e.g. the "6" in UP6) — always beige */
.site-title .site-title-accent,
.site-title-link .site-title .site-title-accent,
.footer-brand-name .site-title .site-title-accent,
.footer-brand-name .site-title-link .site-title .site-title-accent {
  color: var(--up6-beige) !important;
}
/* Subtitle words (e.g. "SUARA SEMASA") — light red tint */
.site-title .site-title-sub,
.site-title-link .site-title .site-title-sub {
  color: #d4564a !important;
}
.site-title-link:hover .site-title,
.site-title a:hover {
  color: var(--up6-beige);
  transition: color 0.2s;
}
/* Keep accent and sub colours stable on hover */
.site-title-link:hover .site-title .site-title-accent { color: var(--up6-beige) !important; }
.site-title-link:hover .site-title .site-title-sub    { color: #d4564a          !important; }

/* Custom logo image — replaces the red icon, sized to match */
.site-branding .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.site-branding .custom-logo {
  height: 2.25rem;
  width: auto;
  max-width: 3.5rem;
  object-fit: contain;
  display: block;
  transform-origin: center bottom;
  transition: box-shadow 0.2s;
}
.site-branding:hover .custom-logo {
  animation: up6-logo-bounce 0.55s cubic-bezier(.36,.07,.19,.97) both;
}
/* Footer custom logo */
.footer-brand-name .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.footer-brand-name .custom-logo {
  height: 1.5rem;
  width: auto;
  max-width: 2.5rem;
  object-fit: contain;
  display: block;
}

/* Tagline — rendered from Settings → General → Tagline */
.site-tagline {
  font-family: 'Source Serif 4', var(--up6-serif);
  font-size: 0.7rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.04em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* Search bar */
.header-search {
  margin-left: auto;
  max-width: 320px;
  width: 100%;
}
.header-search form {
  display: flex;
  align-items: center;
  background: var(--up6-white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.header-search .search-field {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--up6-sans);
  font-size: 0.875rem;
  color: var(--up6-deep);
  padding: 0.5rem 1rem;
  min-width: 0;
}
.header-search .search-field::placeholder { color: #aaa; }
.header-search .search-submit {
  background: var(--up6-red);
  border: none;
  cursor: pointer;
  padding: 0 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  transition: background 0.15s;
  flex-shrink: 0;
  color: #fff;
}
.header-search .search-submit:hover { background: var(--up6-red-dk); }
.header-search .search-submit svg {
  width: 1rem;
  height: 1rem;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--up6-white);
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

/* Header icon buttons: RSS + theme toggle */
.header-icons {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.header-icon-btn:hover {
  background: var(--up6-red);
  color: #ffffff;
}
.header-icon-btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Moon shown in light mode, sun hidden */
.header-theme-toggle .icon-sun  { display: none; }
.header-theme-toggle .icon-moon { display: block; }
/* When dark mode is active, swap icons */
html.up6-dark .header-theme-toggle .icon-sun  { display: block; }
html.up6-dark .header-theme-toggle .icon-moon { display: none; }

/* Mobile: show search toggle + dark mode, hide RSS */
@media (max-width: 768px) {
  .header-icons { display: flex; }
  .header-icon-btn.desktop-only { display: none; }
  .mobile-search-toggle { display: flex; }
}
/* Desktop: hide mobile search toggle */
@media (min-width: 769px) {
  .mobile-search-toggle { display: none; }
}

/* =============================================================
   DARK MODE
   ============================================================= */
html.up6-dark {
  --up6-bg:      #0f1923;
  --up6-deep:    #c8dae6;
  --up6-mid:     #90b4c8;
  --up6-border:  rgba(255,255,255,.08);
  --up6-shadow:  rgba(0,0,0,.25);
  --up6-shadow2: rgba(0,0,0,.45);
}
html.up6-dark body {
  background: var(--up6-bg);
  color: var(--up6-deep);
}
html.up6-dark .site-header {
  box-shadow: 0 2px 16px rgba(0,0,0,.4);
}
html.up6-dark .header-brand-row { background: #0d1a25; }
html.up6-dark .mobile-search-bar { background: #0d1a25; border-top-color: rgba(255,255,255,.06); }
html.up6-dark .mobile-search-inner form { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
html.up6-dark .header-nav-row   { background: #0a1520; }
html.up6-dark .header-search form {
  background: rgba(255,255,255,.07);
  box-shadow: none;
}
html.up6-dark .header-search .search-field {
  color: #c8dae6;
}
html.up6-dark .header-search .search-field::placeholder { color: rgba(200,218,230,.35); }
html.up6-dark .article-card,
html.up6-dark .recent-item,
html.up6-dark .featured-panel,
html.up6-dark .widget,
html.up6-dark .hero-empty-state,
html.up6-dark .comment-form textarea,
html.up6-dark .comment-form input[type="text"],
html.up6-dark .comment-form input[type="email"],
html.up6-dark .comment-form input[type="url"] {
  background: #16242f;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
}
html.up6-dark .article-card h3 a,
html.up6-dark .recent-title { color: #c8dae6; }
html.up6-dark .card-excerpt  { color: #7a9aaf; }
html.up6-dark .entry-content { color: rgba(200,218,230,.85); }
html.up6-dark .entry-title   { color: #c8dae6; }
html.up6-dark .section-header h1,
html.up6-dark .section-header h2 { color: #c8dae6; }
html.up6-dark a { color: #90b4c8; }
html.up6-dark a:hover { color: var(--up6-red); }
html.up6-dark .site-footer {
  background: #0d1a25;
}
html.up6-dark .footer-bar {
  border-top-color: rgba(255,255,255,.06);
}

/* --- Row 2: Primary nav --- */
.header-nav-row {
  background: var(--up6-dark);
}
.header-nav-row .header-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.primary-nav-scroll {
  flex: 1;
  min-width: 0;
  overflow: visible;
}
.primary-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow: visible;
}
.primary-navigation li { flex-shrink: 0; }
.primary-navigation li a,
.primary-navigation a {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-family: var(--up6-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,.65);
  padding: 0.625rem 1rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.primary-navigation li a:hover,
.primary-navigation a:hover { color: var(--up6-white); }
.primary-navigation .current-menu-item > a,
.primary-navigation .current-cat > a,
.primary-navigation .current-category-ancestor > a {
  color: var(--up6-white);
}
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current-cat > a::after,
.primary-navigation .current-category-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.5rem; right: 0.5rem;
  height: 3px;
  background: var(--up6-red);
  border-radius: 2px 2px 0 0;
}
.primary-navigation li a:hover::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.5rem; right: 0.5rem;
  height: 3px;
  background: var(--up6-red);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
}

/* --- Dropdown: parent chevron --- */
.primary-navigation .menu-item-has-children > a {
  padding-right: 1.75rem;
}
.primary-navigation .menu-item-has-children > a::before {
  content: '';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--up6-red);
  transition: transform 0.2s, border-top-color 0.2s;
  pointer-events: none;
}
.primary-navigation .menu-item-has-children.is-open > a::before {
  transform: translateY(-50%) rotate(180deg);
  border-top-color: var(--up6-red);
}

/* --- Dropdown: sub-menu panel --- */
.primary-navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  background: var(--up6-deep);
  border-top: 3px solid var(--up6-red);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 8px 24px rgba(27,60,83,.28);
  list-style: none;
  margin: 0;
  padding: 0.375rem 0;
  z-index: 200;
}
.primary-navigation .menu-item-has-children {
  position: relative;
}
.primary-navigation .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.primary-navigation .sub-menu li {
  flex-shrink: unset;
  width: 100%;
}
.primary-navigation .sub-menu li a {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.7);
  padding: 0.625rem 1.25rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.primary-navigation .sub-menu li a:hover {
  background: rgba(255,255,255,.07);
  color: var(--up6-white);
}
.primary-navigation .sub-menu li a::after { display: none; }

/* --- Mobile drawer dropdowns --- */
.mobile-nav-list .menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-list .menu-item-has-children > a .mobile-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,.45);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.mobile-nav-list .menu-item-has-children.is-open > a .mobile-chevron {
  transform: rotate(180deg);
}
.mobile-nav-list .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0.25rem 1rem;
}
.mobile-nav-list .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.mobile-nav-list .sub-menu li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

/* Date — sits flush right inside the nav row */
.nav-date {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-date-ce,
.nav-date-hijri {
  color: rgba(255,255,255,.4);
}
.nav-date-sep {
  font-size: 0.4rem;
  color: var(--up6-red);
  line-height: 1;
  flex-shrink: 0;
}

/* --- Mobile nav drawer --- */
.mobile-nav-drawer {
  display: none;
  background: var(--up6-deep);
  padding: 1rem var(--up6-pad);
}
.mobile-nav-drawer.is-open {
  display: block;
}
.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0;
}
.mobile-nav-list li a {
  display: block;
  font-family: var(--up6-sans);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  padding: 0.625rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid transparent;
  transition: color 0.15s, border-left-color 0.15s, padding-left 0.15s;
}
.mobile-nav-list li a:hover {
  color: var(--up6-white);
  border-left-color: var(--up6-red);
  padding-left: 0.75rem;
}
.mobile-nav-list li.current-menu-item > a {
  color: var(--up6-white);
  border-left-color: var(--up6-red);
  padding-left: 0.75rem;
}
.mobile-nav-utility {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.mobile-nav-utility a {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 0 0.875rem 0 0;
  transition: color 0.15s;
}
.mobile-nav-utility a:hover { color: var(--up6-beige); }

/* Mobile search bar — slides down below brand row */
.mobile-search-bar {
  display: none;
  background: var(--up6-deep);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-search-bar.is-open {
  display: block;
}
.mobile-search-inner {
  padding: 0.75rem var(--up6-pad);
}
.mobile-search-inner form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.mobile-search-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.65rem 0.875rem;
  font-family: var(--up6-sans);
  font-size: 0.9rem;
  color: var(--up6-white);
  min-width: 0;
}
.mobile-search-field::placeholder { color: rgba(255,255,255,.45); }
.mobile-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--up6-red);
  border: none;
  color: var(--up6-white);
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-search-submit:hover { background: var(--up6-red-dk); }
.mobile-search-submit svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile search toggle active state */
.mobile-search-toggle.is-active {
  background: var(--up6-red);
  color: var(--up6-white);
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .header-nav-row { display: none; }
  .header-search { display: none; }
  .site-branding {
    flex: 1;
    justify-content: center;
  }
}
@media (min-width: 769px) and (max-width: 960px) {
  .primary-nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .primary-nav-scroll::-webkit-scrollbar { display: none; }
}

/* =============================================================
   LAYOUT
   ============================================================= */
.site-content-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 2.75rem var(--up6-pad) 2rem;
}

.content-area-wrap {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .content-area-wrap { grid-template-columns: 1fr; }
}

/* =============================================================
   ARCHIVE HERO BANNER
   ============================================================= */
.archive-hero {
  background: linear-gradient(90deg, var(--up6-deep) 0%, var(--up6-mid) 100%);
  color: var(--up6-white);
  padding: 2.5rem 0;
  margin-bottom: 0;
}
.archive-hero-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 0 var(--up6-pad);
}
.archive-hero .archive-label {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--up6-beige);
  margin-bottom: 0.5rem;
}
.archive-hero h1 {
  font-family: var(--up6-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--up6-white);
  margin: 0;
}
.archive-hero .archive-description {
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  color: rgba(255,255,255,.6);
  margin-top: 0.75rem;
}

/* =============================================================
   HERO CARD — full-bleed overlay (homepage featured)
   ============================================================= */
.section-hero {
  margin-bottom: 2.5rem;
}

/* Hero empty state (no articles published) */
.section-hero-empty { margin-bottom: 2rem; }
.hero-empty-state {
  background: var(--up6-white);
  border-radius: 0.75rem;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 1px 6px var(--up6-shadow);
}
.hero-empty-state h2 {
  font-family: var(--up6-sans);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--up6-deep);
  margin: 0 0 0.5rem;
}
.hero-empty-state p {
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  color: #888;
  margin: 0;
}

.hero-card {
  display: block;
  position: relative;
  border-radius: 0.625rem;
  overflow: hidden;
  background: var(--up6-deep) center/cover no-repeat;
  min-height: 420px;
  text-decoration: none;
  transition: box-shadow 0.15s;
}
.hero-card:hover {
  box-shadow: 0 12px 40px rgba(27,60,83,.25);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8,18,28,.85) 0%, rgba(8,18,28,.45) 50%, rgba(8,18,28,.05) 100%),
    linear-gradient(to top, rgba(8,18,28,.80) 0%, rgba(8,18,28,.15) 45%, transparent 70%);
}

.hero-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  z-index: 1;
  max-width: 62%;
}
@media (max-width: 768px) {
  .hero-body { max-width: 100%; padding: 1.5rem; }
}

.hero-category {
  display: inline-block;
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--up6-red);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: 0.25rem;
  margin-bottom: 0.875rem;
}

.hero-title {
  font-family: var(--up6-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--up6-white);
  margin: 0 0 0.625rem;
}
.hero-card:hover .hero-title { color: rgba(255,255,255,.9); }

.hero-meta {
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-meta-dot { opacity: 0.5; }

/* =============================================================
   SECTION HEADER — red dot + uppercase label
   ============================================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.section-header-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--up6-red);
  flex-shrink: 0;
}

.section-header h1,
.section-header h2 {
  font-family: var(--up6-sans);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--up6-deep);
  margin: 0;
  line-height: 1;
}

.view-all {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--up6-mid);
  transition: color 0.15s;
}
.view-all:hover { color: var(--up6-red); }

.category-section { margin-bottom: 0; }
.section-recent  { margin-bottom: 2rem; }

.category-empty {
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  color: #999;
  font-style: italic;
  margin: 0 0 1rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--up6-border);
  margin: 0 0 2rem;
}

/* Ornamental section divider — Nusantaran editorial accent */
.section-divider-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.25rem 0 2rem;
  border: none;
}
.section-divider-ornament .sdo-line {
  flex: 1;
  height: 1px;
  background: var(--up6-border);
  display: block;
}
.section-divider-ornament .sdo-motif {
  display: block;
  flex-shrink: 0;
  color: rgba(27,60,83,.28);
}
/* Central diamond in gold — manuscript illumination accent */
.section-divider-ornament .sdo-motif path {
  stroke: var(--up6-gold);
  opacity: 0.6;
}
html.up6-dark .section-divider-ornament .sdo-motif {
  color: rgba(200,218,230,.22);
}
html.up6-dark .section-divider-ornament .sdo-motif path {
  stroke: #E8C84A;
  opacity: 0.4;
}
html.up6-dark .section-divider-ornament .sdo-line {
  background: rgba(255,255,255,.08);
}

/* =============================================================
   ARTICLE CARDS — shadow only, no border
   ============================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--up6-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 6px var(--up6-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.article-card:hover {
  box-shadow: 0 6px 20px var(--up6-shadow2);
}

.card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #4F6F86;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.article-card:hover .card-thumb img { transform: scale(1.035); }
.card-thumb a { display: block; height: 100%; }

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Kicker: category + author + date */
.card-kicker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.card-dot-sm {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--up6-red);
  flex-shrink: 0;
  align-self: center;
}
.card-kicker .card-author {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--up6-deep);
}
.card-meta {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--up6-deep);
}
.card-meta .card-author {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--up6-deep);
}
.card-meta .card-kicker-sep {
  font-size: 0.55rem;
  color: rgba(192,57,43,.35);
  margin: 0 0.2rem;
}
.card-meta .card-kicker-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  color: #aaa;
  white-space: nowrap;
}
.card-category {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--up6-red);
  transition: color 0.15s;
  line-height: 1;
}
/* Keep dot and category on the same line inside article cards */
.article-card .card-category {
  line-height: 1;
}
.card-category:hover { color: var(--up6-red-dk); }

.article-card h3 {
  font-family: var(--up6-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--up6-deep);
  margin: 0 0 0.5rem;
}
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { color: var(--up6-mid); text-decoration: underline; text-underline-offset: 2px; }

.card-excerpt {
  font-family: var(--up6-serif);
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  flex: 1;
  /* Clamp to 3 lines for balanced card heights */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Clamp card titles to 3 lines */
.article-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  color: #aaa;
  display: block;
  margin-top: auto;
}

/* =============================================================
   MOST RECENT LIST — compact horizontal items
   ============================================================= */
.recent-list { display: flex; flex-direction: column; gap: 0.75rem; }

.recent-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--up6-white);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 5px var(--up6-shadow);
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.recent-item:hover {
  box-shadow: 0 4px 14px var(--up6-shadow2);
}

.recent-thumb {
  width: 4.5rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #4F6F86;
}
.recent-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.recent-body { flex: 1; min-width: 0; }

.recent-title {
  font-family: var(--up6-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--up6-deep);
  line-height: 1.35;
  display: block;
  transition: color 0.15s;
}
.recent-item:hover .recent-title { color: var(--up6-mid); }

.recent-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =============================================================
   SIDEBAR — Featured panel + native widgets
   ============================================================= */
#secondary {
  position: sticky;
  top: calc(var(--header-h, 8rem) + 1rem);
}

/* Featured panel (white card style) */
.featured-panel {
  background: var(--up6-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 8px var(--up6-shadow);
  margin-bottom: 1.75rem;
}

.featured-panel-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--up6-border);
}
.featured-panel-bar {
  width: 3px;
  height: 1rem;
  background: var(--up6-red);
  border-radius: 999px;
  flex-shrink: 0;
}
.featured-panel-header h3 {
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--up6-deep);
  margin: 0;
}

.featured-panel-list {
  list-style: none;
  margin: 0; padding: 0;
}
.featured-panel-list > * + * {
  border-top: 1px solid var(--up6-border);
}

.featured-panel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  transition: background 0.15s;
}
.featured-panel-item:hover { background: #F9F8F6; }

.featured-panel-thumb {
  width: 3.5rem;
  height: 2.625rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #4F6F86;
}
.featured-panel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.featured-panel-content { flex: 1; min-width: 0; }

.featured-panel-kicker {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}
.featured-panel-kicker .card-dot-sm { background: var(--up6-red); }
.featured-panel-cat {
  font-family: var(--up6-sans);
  font-size: 0.575rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--up6-red);
}
.featured-panel-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--up6-sans);
  font-size: 0.575rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--up6-red);
  margin-right: 0.375rem;
}
.featured-panel-cat-item:last-child { margin-right: 0; }

.featured-panel-title {
  display: block;
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--up6-deep);
  transition: color 0.15s;
}
.featured-panel-item:hover .featured-panel-title { color: var(--up6-mid); }

.featured-panel-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  color: #aaa;
  display: block;
  margin-top: 0.25rem;
}

/* Native WordPress widgets */
.widget {
  background: var(--up6-white);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 6px var(--up6-shadow);
  margin-bottom: 1.75rem;
}
.widget:last-child { margin-bottom: 0; }

.widget-title {
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--up6-deep);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--up6-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1rem;
  background: var(--up6-red);
  border-radius: 999px;
  flex-shrink: 0;
}

.widget_recent_entries ul { list-style: none; margin: 0; padding: 0; }
.widget_recent_entries li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--up6-border);
}
.widget_recent_entries li:first-child { padding-top: 0; }
.widget_recent_entries li:last-child { border-bottom: none; padding-bottom: 0; }
.widget_recent_entries li a {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--up6-deep);
  line-height: 1.4;
}
.widget_recent_entries li a:hover { color: var(--up6-mid); }
.widget_recent_entries .post-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  color: #aaa;
  display: block;
  margin-top: 0.2rem;
}

.widget_search .search-form { display: flex; }
.widget_search .search-field {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--up6-border);
  border-right: none;
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  border-radius: 0.5rem 0 0 0.5rem;
  outline: none;
}
.widget_search .search-field:focus { border-color: var(--up6-deep); }
.widget_search .search-submit {
  background: var(--up6-red);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 0.5rem 0.5rem 0;
  transition: background 0.15s;
}
.widget_search .search-submit:hover { background: var(--up6-red-dk); }

/* Sidebar categories panel */
.sidebar-categories-panel .sidebar-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-categories-list li {
  border-bottom: 1px solid var(--up6-border);
}
.sidebar-categories-list li:last-child { border-bottom: none; }
.sidebar-categories-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  text-decoration: none;
  transition: color 0.15s;
}
.sidebar-categories-list li a:hover { color: var(--up6-red); }
.sidebar-cat-name {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--up6-deep);
  transition: color 0.15s;
}
.sidebar-categories-list li a:hover .sidebar-cat-name { color: var(--up6-red); }
.sidebar-cat-count {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: #aaa;
  background: rgba(27,60,83,.06);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  min-width: 1.5rem;
  text-align: center;
}

/* =============================================================
   SIDEBAR — Most Viewed panel
   Ranked list of most-viewed posts within the configured day window.
   View counts tracked via _up6_views post meta (zero-plugin).
   @since 2.5.114
   ============================================================= */
.most-viewed-panel { margin-top: 2rem; }

.most-viewed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.most-viewed-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--up6-border);
}
html.up6-dark .most-viewed-item { border-bottom-color: rgba(200,218,230,.1); }
.most-viewed-item:last-child { border-bottom: none; }

.most-viewed-rank {
  font-family: var(--up6-sans);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(27,60,83,.12);
  min-width: 2rem;
  text-align: right;
  flex-shrink: 0;
  padding-top: 0.1rem;
  user-select: none;
}
html.up6-dark .most-viewed-rank { color: rgba(200,218,230,.15); }

.most-viewed-body {
  flex: 1;
  min-width: 0;
  border-left: 2px solid var(--up6-border);
  padding-left: 0.75rem;
}
html.up6-dark .most-viewed-body { border-left-color: rgba(200,218,230,.15); }

.most-viewed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.most-viewed-cat {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--up6-red);
  text-decoration: none;
  transition: opacity 0.15s;
}
.most-viewed-cat:hover { opacity: 0.75; }
.most-viewed-date {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  white-space: nowrap;
  flex-shrink: 0;
}
html.up6-dark .most-viewed-date { color: rgba(200,218,230,.4); }

.most-viewed-title {
  font-family: var(--up6-sans);
  font-size: 0.825rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--up6-deep);
  text-decoration: none;
  display: block;
  transition: color 0.15s;
}
.most-viewed-title:hover { color: var(--up6-red); }
html.up6-dark .most-viewed-title { color: #c8dae6; }
html.up6-dark .most-viewed-title:hover { color: #e05a4e; }

/* =============================================================
   SINGLE POST
   ============================================================= */
.breadcrumb {
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: #aaa;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.375rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.breadcrumb a { color: var(--up6-deep); transition: color 0.15s; white-space: nowrap; }
.breadcrumb a:hover { color: var(--up6-red); }
.breadcrumb-sep { color: var(--up6-red); flex-shrink: 0; }

.entry-header { margin-bottom: 2rem; }

.entry-badges { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.entry-category-badge {
  display: inline-block;
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--up6-red);
  background: rgba(192,57,43,.08);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.entry-category-badge.is-breaking {
  background: var(--up6-red);
  color: #fff;
}

.entry-title {
  font-family: var(--up6-sans);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--up6-deep);
  margin: 0 0 1rem;
}

/* Subtitle / dek — short explanatory line below the headline */
.entry-subtitle {
  font-family: var(--up6-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--up6-mid);
  margin: 0 0 1.25rem;
}
html.up6-dark .entry-subtitle { color: #90b4c8; }

.entry-excerpt {
  font-family: var(--up6-serif);
  font-size: 1.15rem;
  color: #555;
  line-height: 1.75;
  border-left: 4px solid var(--up6-red);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

/* About page tagline — same visual weight as entry-excerpt */
.about-tagline {
  font-family: var(--up6-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--up6-deep);
  border-left: 4px solid var(--up6-red);
  padding-left: 1.25rem;
  margin-bottom: 1.75rem !important;
  text-align: left !important;
}
html.up6-dark .about-tagline { color: #c8dae6; }

/* =============================================================
   BYLINE — avatar + author + metadata in one compact block
   Spans the full 64rem header width. No inner width constraint.
   @since 2.6.12
   ============================================================= */
.entry-byline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-top: 1px solid var(--up6-border);
  border-bottom: 1px solid var(--up6-border);
}
.entry-author-avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--up6-beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--up6-sans);
  font-weight: 900;
  font-size: 1rem;
  color: var(--up6-deep);
  flex-shrink: 0;
  text-transform: uppercase;
}
.entry-author-avatar--img {
  object-fit: cover;
  background: var(--up6-beige);
  font-size: 0;
}
.entry-byline-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.entry-author-name {
  font-family: var(--up6-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--up6-deep);
}
.entry-meta-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.875rem;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
}
.meta-item a { color: inherit; }
.meta-item a:hover { color: var(--up6-red); }
.meta-icon {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
  opacity: 0.55;
}
.meta-item--published .meta-icon { color: var(--up6-deep); }
.meta-item--hijri     .meta-icon { color: var(--up6-gold); opacity: 0.85; }
.meta-item--updated   .meta-icon { color: #2D6A4F; opacity: 0.7; }
.meta-item--views     .meta-icon { color: var(--up6-mid); opacity: 0.65; }
.meta-item--reading-time .meta-icon { color: var(--up6-deep); }
.meta-item--updated { color: #2D6A4F; font-weight: 700; }
.meta-item--hijri   { color: var(--up6-mid); }

/* Red middot separators */
.meta-item + .meta-item::before {
  content: '·';
  margin-right: 0.05rem;
  color: rgba(192,57,43,.35);
  font-weight: 400;
  font-size: 0.8rem;
}

/* Dark mode — byline */
html.up6-dark .entry-byline { border-color: rgba(200,218,230,.1); }
html.up6-dark .meta-item { color: #6a8a9e; }
html.up6-dark .meta-item + .meta-item::before { color: rgba(224,90,78,.3); }
html.up6-dark .meta-item--published .meta-icon { color: #c8dae6; }
html.up6-dark .meta-item--hijri .meta-icon { color: #E8C84A; }
html.up6-dark .meta-item--updated { color: #5dba8a; }
html.up6-dark .meta-item--updated .meta-icon { color: #5dba8a; }
html.up6-dark .meta-item--views .meta-icon { color: #90b4c8; }
html.up6-dark .meta-item--reading-time .meta-icon { color: #c8dae6; }

/* Mobile: let metadata wrap naturally */
@media (max-width: 540px) {
  .entry-byline { gap: 0.625rem; }
  .meta-item { font-size: 0.65rem; }
  .meta-icon { width: 0.75rem; height: 0.75rem; }
  .entry-meta-details { gap: 0.15rem 0.625rem; }
}

/* =============================================================
   SOCIAL SHARE BAR — single post byline area
   Horizontal row: label + platform buttons.
   Zero plugin, native share URLs only.
   @since 2.6.4
   ============================================================= */
.entry-share {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 0.75rem;
  margin-top: 0;
}

.entry-share-label {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--up6-red);
  flex-shrink: 0;
}

.entry-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  flex-shrink: 0;
  background: rgba(27,60,83,.07);
  color: var(--up6-deep);
}
.share-btn:hover {
  transform: translateY(-1px);
}
.share-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Platform colours on hover */
.share-btn--whatsapp:hover  { background: #25D366; color: #fff; }
.share-btn--telegram:hover  { background: #0088cc; color: #fff; }
.share-btn--facebook:hover  { background: #1877F2; color: #fff; }
.share-btn--x:hover         { background: #000;    color: #fff; }
.share-btn--threads:hover   { background: #000;    color: #fff; }
.share-btn--linkedin:hover  { background: #0A66C2; color: #fff; }
.share-btn--reddit:hover    { background: #FF4500; color: #fff; }
.share-btn--pinterest:hover { background: #E60023; color: #fff; }
.share-btn--email:hover     { background: var(--up6-mid); color: #fff; }
.share-btn--copy:hover      { background: var(--up6-deep); color: #fff; }
.share-btn--copy.is-copied  { background: #2D6A4F; color: #fff; }

/* Dark mode */
html.up6-dark .share-btn {
  background: rgba(200,218,230,.1);
  color: #c8dae6;
}
html.up6-dark .entry-share-label { color: #e05a4e; }

/* Mobile: slightly smaller buttons, tighter gap */
@media (max-width: 540px) {
  .entry-share { gap: 0.625rem; }
  .share-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .share-btn svg {
    width: 1rem;
    height: 1rem;
  }
}

.entry-thumbnail {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.entry-thumbnail img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.entry-content {
  font-family: var(--up6-serif);
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(27,60,83,.82);
}
.entry-content p { margin-bottom: 1.5rem; text-align: justify; }
.entry-content h2, .entry-content h3 {
  font-family: var(--up6-sans);
  color: var(--up6-deep);
  margin: 2rem 0 1rem;
}
.entry-content blockquote {
  border-left: 4px solid var(--up6-red);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #F9F8F6;
  font-style: italic;
}
.entry-content a { color: var(--up6-red); text-decoration: underline; }
.entry-content img { border-radius: 0.5rem; margin: 1.5rem 0; }
/* Abstract Box plugin — prevent theme heading margins from creating
   a gap between the box border and the title. The plugin sets its
   own margin: 0 0 6px on .abstract-box__title but the theme's
   .entry-content h2/h3 rule has higher specificity and wins. */
.entry-content .abstract-box h1,
.entry-content .abstract-box h2,
.entry-content .abstract-box h3,
.entry-content .abstract-box h4,
.entry-content .abstract-box h5,
.entry-content .abstract-box h6 {
  margin: 0 0 6px;
}
.entry-content .abstract-box p {
  margin-bottom: 0.75rem;
  text-align: left;
}
.entry-content .abstract-box p:last-child {
  margin-bottom: 0;
}
/* Endmark plugin images must not inherit content-area img styles */
.entry-content .endmark-wrap,
.entry-content .endmark-image {
  display: inline !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  float: none !important;
}

.entry-tags {
  border-top: 1px solid var(--up6-border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.entry-tags-label {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--up6-deep);
}
.entry-tags a {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--up6-border);
  color: var(--up6-deep);
  padding: 0.3rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.15s, color 0.15s;
}
.entry-tags a:hover {
  background: var(--up6-deep);
  color: var(--up6-white);
}

/* Post navigation */
/* =============================================================
   SINGLE POST — FULL-WIDTH LAYOUT
   No sidebar. Stepped editorial hierarchy:
     – Entry header (badges, title, excerpt, meta): wide (64rem)
     – Featured image, body, tags, related, comments: 54rem
   Creates a visual step-down from the commanding headline
   into the focused reading column.
   @since 2.6
   ============================================================= */

/* Outer container — centred with site padding */
.single-content-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 2.75rem var(--up6-pad) 2rem;
}

/* Article wrapper — wide enough for the header */
.single-article {
  max-width: 64rem;
  margin: 0 auto;
}

/* Entry header — uses the full 64rem article width */
.single-article .entry-header {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* Featured image, content, tags — narrower reading column */
.single-article .entry-thumbnail,
.single-article .entry-content,
.single-article .entry-tags {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

/* Related News — match reading column */
.single-content-inner .related-news {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

/* Comments — match reading column */
.single-content-inner .comments-area {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================
   RELATED NEWS
   ============================================================= */
.related-news {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--up6-red);
}
.related-news .section-header {
  margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* =============================================================
   ARCHIVE / CATEGORY
   ============================================================= */
.pagination {
  margin-top: 3rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--up6-border);
  background: var(--up6-white);
  color: var(--up6-deep);
  border-radius: 0.375rem;
  box-shadow: 0 1px 4px var(--up6-shadow);
  transition: background 0.15s, color 0.15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--up6-deep);
  color: var(--up6-white);
  border-color: var(--up6-deep);
}

/* Load More button (replaces pagination on archive/search when JS loads) */
.up6-load-more-wrap {
  margin-top: 2.5rem;
  text-align: center;
}
.up6-load-more-btn {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  background: transparent;
  color: var(--up6-deep);
  border: 2px solid var(--up6-deep);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.up6-load-more-btn:hover:not(:disabled) {
  background: var(--up6-deep);
  color: var(--up6-white);
}
.up6-load-more-btn:disabled {
  cursor: default;
  opacity: 0.5;
}
.up6-load-more-exhausted {
  border-color: var(--up6-border);
  color: #aaa;
}
html.up6-dark .up6-load-more-btn {
  color: #c8dae6;
  border-color: rgba(200,218,230,.35);
}
html.up6-dark .up6-load-more-btn:hover:not(:disabled) {
  background: #16242f;
  color: #c8dae6;
  border-color: #c8dae6;
}

/* Masonry: override CSS grid so Masonry JS can control layout on related grid */
.related-grid.masonry-active {
  display: block;
}
.related-grid.masonry-active .article-card {
  width: calc( 33.333% - 1.25rem );
  margin-bottom: 1.25rem;
  float: left;
  margin-right: 1.25rem;
}
@media (max-width: 900px) {
  .related-grid.masonry-active .article-card {
    width: calc( 50% - 0.75rem );
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
  }
}
@media (max-width: 540px) {
  .related-grid.masonry-active .article-card {
    width: 100%;
    margin-right: 0;
  }
}

/* =============================================================
   FOOTER — 3-column grid layout
   ============================================================= */
.site-footer {
  background: var(--up6-deep);
  color: rgba(255,255,255,.7);
  border-top: 8px solid;
  border-image: linear-gradient(to bottom, var(--up6-red) 50%, var(--up6-gold) 50%) 1;
  margin-top: 2rem;
}

/* Main body: 2-column grid */
.footer-main { padding: 3rem 0 2.5rem; }
.footer-main-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 0 var(--up6-pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Brand column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.footer-brand-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--up6-red);
  flex-shrink: 0;
}
.footer-brand-name .site-title,
.footer-brand-name .site-title-link,
.footer-brand-name .site-title-link .site-title {
  font-family: 'DM Sans', var(--up6-sans);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--up6-white);
}
.footer-brand-name .site-title .site-title-sub,
.footer-brand-name .site-title-link .site-title .site-title-sub {
  color: #d4564a !important;
}

.footer-description {
  font-family: var(--up6-serif);
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.footer-description p { margin: 0 0 0.5rem; }
.footer-description p:last-child { margin-bottom: 0; }
.footer-description a { color: var(--up6-beige); text-decoration: underline; }
.footer-description a:hover { color: #fff; }
.footer-description strong { color: rgba(255,255,255,.8); font-weight: 700; }

/* Social icons */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.25rem;
}
.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--up6-white);
  transition: background 0.2s;
}
.social-icon:hover {
  background: var(--up6-red);
  color: var(--up6-white);
}
.social-icon svg {
  width: 1rem;
  height: 1rem;
}

/* Footer contact column */
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer-col-title {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.85);
  margin: 0 0 0.25rem;
}
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--up6-red);
}
.footer-contact-item span,
.footer-contact-item a {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  transition: color 0.15s;
}
.footer-contact-item a:hover {
  color: var(--up6-beige);
}

/* Obfuscated email — .email-display is populated by inline JS;
   .obfuscated-email[data-e] is the no-JS fallback via unicode-bidi */
.obfuscated-email .email-display:empty::before {
  content: attr(data-e);
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* Footer bar: secondary nav + copyright */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bar-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  padding: 0.875rem var(--up6-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-height: 2.75rem;
}

/* Secondary nav in footer bar */
.footer-utility-nav,
.footer-utility-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.footer-utility-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-utility-nav a,
.footer-utility-nav li a {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 0 0.875rem 0 0;
  line-height: 1;
  display: inline-block;
  transition: color 0.15s;
}
.footer-utility-nav a:hover,
.footer-utility-nav li a:hover { color: var(--up6-beige); }

.footer-copyright {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(255,255,255,.3);
  margin: 0;
}
.footer-copyright a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copyright a:hover {
  color: var(--up6-beige);
}

.footer-legal {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 0.75rem var(--up6-pad);
}
.footer-legal-inner {
  max-width: var(--up6-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.footer-legal-icon {
  flex-shrink: 0;
  opacity: 0.35;
  color: var(--up6-beige);
  display: flex;
  align-items: center;
}
.footer-legal-text {
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.38);
  margin: 0;
  line-height: 1.5;
}
.footer-legal-text a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal-text a:hover {
  color: var(--up6-beige);
}

@media (max-width: 540px) {
  .footer-bar-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 768px) {
  .footer-main-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =============================================================
   404 PAGE
   ============================================================= */
.error-404-content {
  text-align: center;
  padding: 6rem 0;
}
.error-404-code {
  font-family: var(--up6-sans);
  font-size: 5rem;
  font-weight: 900;
  color: var(--up6-red);
  margin: 0 0 0.5rem;
}
.error-404-content h2 {
  font-family: var(--up6-sans);
  font-weight: 900;
  color: var(--up6-deep);
}
.error-404-content p {
  color: #666;
}
.error-404-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--up6-deep);
  color: var(--up6-white);
  font-family: var(--up6-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.35rem;
  transition: background 0.15s;
}
.error-404-btn:hover {
  background: var(--up6-red);
  color: var(--up6-white);
}

/* =============================================================
   SEARCH RESULTS — full width, no sidebar
   ============================================================= */
.search-main {
  padding-bottom: 4rem;
}

/* Empty state — sits below the archive hero, centred */
.search-empty-wrap {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.search-empty {
  text-align: center;
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.search-empty-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--up6-red);
  margin: 0;
}
.search-empty-message {
  font-family: var(--up6-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(27,60,83,.65);
  margin: 0;
}
html.up6-dark .search-empty-message { color: rgba(200,218,230,.65); }

/* Back link — demoted from block button to text link */
.search-empty-home {
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--up6-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.search-empty-home:hover { color: var(--up6-red); }
html.up6-dark .search-empty-home { color: #90b4c8; }

/* =============================================================
   COMMENTS
   ============================================================= */
/* =============================================================
   COMMENTS
   ============================================================= */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--up6-border);
}
.comments-title {
  font-family: var(--up6-sans);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--up6-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.comments-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1rem;
  background: var(--up6-red);
  border-radius: 999px;
  flex-shrink: 0;
}
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list .comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--up6-border);
}
.comment-list .comment:last-child { border-bottom: none; }
.comment-list .children {
  list-style: none;
  margin: 0;
  padding-left: 2rem;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.comment-meta .avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}
.comment-author .fn {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--up6-deep);
}
.comment-metadata {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  color: #aaa;
}
.comment-metadata a { color: #aaa; }
.comment-metadata a:hover { color: var(--up6-red); }
.comment-body .reply a {
  font-family: var(--up6-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--up6-mid);
}
.comment-body .reply a:hover { color: var(--up6-red); }
.comment-content {
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(27,60,83,.82);
}
.comment-content p { margin: 0 0 0.75rem; }
.comment-content p:last-child { margin-bottom: 0; }

/* Comment form */
.comment-respond {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--up6-border);
}
.comment-reply-title {
  font-family: var(--up6-sans);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--up6-deep);
  margin: 0 0 1rem;
}
.comment-form label {
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--up6-deep);
  display: block;
  margin-bottom: 0.25rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--up6-border);
  border-radius: 0.5rem;
  font-family: var(--up6-serif);
  font-size: 0.9rem;
  color: var(--up6-deep);
  background: var(--up6-white);
  outline: none;
  transition: border-color 0.15s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--up6-deep);
}
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin-bottom: 1rem;
}
.comment-form .form-submit .submit {
  display: inline-block;
  padding: 0.625rem 1.75rem;
  background: var(--up6-red);
  color: var(--up6-white);
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.15s;
}
.comment-form .form-submit .submit:hover { background: var(--up6-red-dk); }



/* =============================================================
   FAQ PAGE TEMPLATE — accordion + page layout
   ============================================================= */

/* Page header */
.faq-page-header {
  margin-bottom: 2.5rem;
}
.faq-page-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--up6-deep);
  margin-bottom: 0.75rem;
}
.faq-page-intro {
  font-family: var(--up6-serif);
  font-size: 1.1rem;
  color: #555;
  line-height: 1.75;
  max-width: 52rem;
  margin: 0;
}

/* Accordion container */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 2px solid var(--up6-deep);
}

/* Individual FAQ item — <details> */
.faq-item {
  border-bottom: 1px solid var(--up6-border);
  transition: background 0.15s;
}
.faq-item[open] {
  background: var(--up6-white);
}

/* Summary row — the question */
.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
/* Remove native details marker in all browsers */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question:hover .faq-question-text {
  color: var(--up6-red);
}

/* Question number */
.faq-question-number {
  font-family: var(--up6-sans);
  font-size: 0.625rem;
  font-weight: 900;
  color: var(--up6-beige);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 1.75rem;
}

/* Question text */
.faq-question-text {
  font-family: var(--up6-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--up6-deep);
  flex: 1;
  line-height: 1.4;
  transition: color 0.15s;
}

/* Chevron icon */
.faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--up6-deep);
  transition: transform 0.25s ease, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-chevron svg {
  width: 1.1rem;
  height: 1.1rem;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--up6-red);
}
.faq-item[open] .faq-question-text {
  color: var(--up6-red);
}

/* Answer panel */
.faq-answer {
  overflow: hidden;
}
.faq-answer-inner {
  padding: 0 0 1.5rem 2.75rem;
  font-family: var(--up6-serif);
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(27,60,83,.82);
}
.faq-answer-inner p { margin-bottom: 1rem; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner a {
  color: var(--up6-red);
  text-decoration: underline;
}
.faq-answer-inner ul,
.faq-answer-inner ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.faq-answer-inner li { margin-bottom: 0.375rem; }

/* Empty state */
.faq-empty {
  padding: 3rem 0;
  font-family: var(--up6-serif);
  color: #888;
}

/* Dark mode */
html.up6-dark .faq-accordion { border-top-color: rgba(200,218,230,.25); }
html.up6-dark .faq-item { border-bottom-color: rgba(255,255,255,.06); }
html.up6-dark .faq-item[open] { background: #16242f; }
html.up6-dark .faq-question-text { color: #c8dae6; }
html.up6-dark .faq-answer-inner { color: rgba(200,218,230,.82); }
html.up6-dark .faq-chevron { color: #c8dae6; }
html.up6-dark .faq-item[open] .faq-question-text,
html.up6-dark .faq-item[open] .faq-chevron { color: var(--up6-red); }

/* Mobile */
@media (max-width: 768px) {
  .faq-question { gap: 0.75rem; padding: 1rem 0; }
  .faq-answer-inner { padding-left: 2.25rem; }
  .faq-question-text { font-size: 0.925rem; }
}

/* =============================================================
   SCROLL PROGRESS BAR — single posts only
   2px red line at top of viewport, fills as user scrolls.
   JS-driven via navigation.js. Hidden on non-single pages.
   ============================================================= */
#up6-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--up6-red);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}
@media print {
  #up6-scroll-progress { display: none !important; }
}

/* =============================================================
   CONTACT PAGE — template-contact.php
   Two-column layout: info/NAP left, CF7 form right.
   Full-width map below. NewsMediaOrganization schema in <head>.
   @since 2.5.106
   ============================================================= */

.contact-main { padding-bottom: 4rem; }

/* Header: same as policy pages but no last-updated line */
.contact-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--up6-border); }
html.up6-dark .contact-header { border-bottom-color: rgba(200,218,230,.12); }

/* Two-column grid */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* Intro text */
.contact-intro {
  font-family: var(--up6-serif);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(27,60,83,.75);
  margin: 0 0 1rem;
}
html.up6-dark .contact-intro { color: rgba(200,218,230,.75); }

/* NAP block */
.contact-nap {
  font-style: normal;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--up6-border);
  padding-top: 1.5rem;
}
html.up6-dark .contact-nap { border-top-color: rgba(200,218,230,.12); }

.contact-nap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-nap-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--up6-red);
  display: flex;
  align-items: center;
}
.contact-nap-text {
  font-family: var(--up6-sans);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--up6-deep);
}
html.up6-dark .contact-nap-text { color: #c8dae6; }
a.contact-nap-text { transition: color 0.15s; text-decoration: none; }
a.contact-nap-text:hover { color: var(--up6-red); }

/* CF7 form wrapper — light card treatment */
.contact-form-wrap {
  background: var(--up6-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 6px var(--up6-shadow);
}
html.up6-dark .contact-form-wrap {
  background: rgba(255,255,255,.04);
  box-shadow: none;
  border: 1px solid rgba(200,218,230,.1);
}

/* CF7 field overrides — match UP6 type scale */
.contact-form-wrap .wpcf7-form p { margin-bottom: 1.25rem; }
.contact-form-wrap .wpcf7-form label {
  font-family: var(--up6-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--up6-deep);
  display: block;
  margin-bottom: 0.375rem;
}
html.up6-dark .contact-form-wrap .wpcf7-form label { color: #c8dae6; }
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  color: var(--up6-deep);
  background: var(--up6-bg);
  border: 1px solid var(--up6-border);
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
html.up6-dark .contact-form-wrap .wpcf7-form input[type="text"],
html.up6-dark .contact-form-wrap .wpcf7-form input[type="email"],
html.up6-dark .contact-form-wrap .wpcf7-form textarea {
  background: rgba(255,255,255,.05);
  border-color: rgba(200,218,230,.2);
  color: #c8dae6;
}
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--up6-mid);
  box-shadow: 0 0 0 3px rgba(27,60,83,.1);
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  background: var(--up6-deep);
  color: var(--up6-white);
  border: 2px solid var(--up6-deep);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  width: auto;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--up6-mid);
  border-color: var(--up6-mid);
}

/* Admin notices (only visible to admins) */
.contact-form-notice,
.contact-map-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  font-family: var(--up6-sans);
  font-size: 0.8rem;
  color: #5a4200;
}
.contact-form-notice p,
.contact-map-notice p { margin: 0; }
.contact-form-notice a,
.contact-map-notice a { color: var(--up6-red); text-decoration: underline; }

/* Map */
.contact-map-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--up6-shadow);
  margin-bottom: 2rem;
}
.contact-map {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* Tablet */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { height: 300px; }
}

/* Mobile */
@media (max-width: 540px) {
  .contact-form-wrap { padding: 1.25rem; }
  .contact-map { height: 240px; }
}

/* =============================================================
   RESPONSIVE AUDIT — v2.5.103
   Systematic mobile (≤768px) and tablet (769–960px) consistency pass.
   Covers: padding token, hero, nav-date, article cards, entry layout,
   commitment rows, meaning-of-6 grids, footer, policy pages.
   ============================================================= */

/* ── 1. Reduce --up6-pad on small screens ── */
@media (max-width: 480px) {
  :root { --up6-pad: 1rem; }
  .site-content-inner { padding-top: 1.75rem; }
}

/* ── 2. Nav date: hide on narrow tablet where nav items crowd it ── */
@media (max-width: 900px) {
  .nav-date { display: none; }
}

/* ── 3. Hero card: reduce min-height on mobile ── */
@media (max-width: 768px) {
  .hero-card { min-height: 300px; }
  .hero-body { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .hero-card { min-height: 240px; }
}

/* ── 4. Article card body: tighter padding on single-column ── */
@media (max-width: 540px) {
  .card-body { padding: 1rem; }
  .article-card h3 { font-size: 0.925rem; }
}

/* ── 5. Entry byline: compact on mobile ── */
@media (max-width: 540px) {
  .entry-byline { gap: 0.5rem; padding: 0.625rem 0; }
  .entry-author-name { font-size: 0.75rem; }
  .entry-thumbnail { border-radius: 0.5rem; }
  .entry-thumbnail img { max-height: 260px; }
}

/* ── 6. Breadcrumb: wrap gracefully, reduce font on mobile ── */
@media (max-width: 540px) {
  .breadcrumb { font-size: 0.7rem; gap: 0.3rem; flex-wrap: wrap; row-gap: 0.25rem; }
}

/* ── 7. Policy / About / Meaning pages: body font reduction on mobile ── */
@media (max-width: 768px) {
  .policy-content { font-size: 1rem; }
  .policy-content p { text-align: left; } /* justified text breaks on narrow screens */
  .policy-main { padding-bottom: 3rem; }
  .entry-content p { text-align: left; }
}
@media (max-width: 480px) {
  .policy-content { font-size: 0.95rem; line-height: 1.8; }
  .policy-header .entry-title { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ── 8. Meaning of 6 — tablet intermediate (641–900px): 2-col grids ── */
@media (min-width: 641px) and (max-width: 900px) {
  .meaning-voices,
  .meaning-lenses {
    grid-template-columns: repeat(2, 1fr);
  }
  .meaning-lens:nth-child(2n) { border-right: none; }
  .meaning-lens:nth-child(n+5) { border-bottom: none; }
  .meaning-lens:nth-child(3),
  .meaning-lens:nth-child(4) { border-bottom: none; }
}

/* ── 9. Meaning of 6 — commitment rows: collapse ordinal on mobile ── */
@media (max-width: 540px) {
  .meaning-commitment {
    grid-template-columns: 1fr;
  }
  .meaning-commitment dt {
    display: none; /* hide ordinal number column on small screens */
  }
  .meaning-commitment dd {
    padding: 1.25rem 1rem;
  }
  .meaning-commitment .commit-name {
    font-size: 0.75rem;
  }
  .meaning-commitment .commit-body,
  .meaning-commitment .commit-body p {
    font-size: 0.9rem;
  }
}

/* ── 10. Footer: legal notice stacks on mobile ── */
@media (max-width: 540px) {
  .footer-legal-inner {
    flex-direction: column;
    gap: 0.375rem;
    text-align: center;
    align-items: center;
  }
  .footer-legal-icon { display: none; }
  .footer-legal-text { font-size: 0.575rem; text-align: center; }
}

/* ── 11. Footer main: reduce gap on tablet ── */
@media (min-width: 541px) and (max-width: 768px) {
  .footer-main-inner { gap: 1.5rem; }
}

/* ── 12. Archive hero: reduce padding on mobile ── */
@media (max-width: 540px) {
  .archive-hero { padding: 1.75rem 0; }
  .archive-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
}

/* ── 13. Section header: prevent overflow on narrow screens ── */
@media (max-width: 380px) {
  .section-header { flex-wrap: wrap; gap: 0.375rem; }
  .section-header h2 { font-size: 0.875rem; }
}

/* ── 14. Related grid: ensure consistent gap on mobile ── */
@media (max-width: 540px) {
  .related-news { margin-top: 2rem; }
  .related-grid { gap: 1rem; }
}

/* ── 15. Sidebar categories panel: consistent type on tablet ── */
@media (max-width: 960px) {
  /* Sidebar hidden at 960px via content-area-wrap collapse;
     on mobile it renders below content — ensure correct spacing */
  .sidebar-categories-panel,
  .widget.sidebar-categories-panel { margin-top: 2rem; }
}

/* =============================================================
   POLICY PAGES — Editorial Policy, Privacy Policy, etc.
   Consistent with page.php / .entry-content treatment.
   @since 2.5.75
   ============================================================= */

/* Wrapper — same padding as .site-content-inner on standard pages */
.policy-main {
  padding: 2rem var(--up6-pad) 4rem;
}

/* Header band — kicker label + title + last-updated date */
.policy-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--up6-border);
}

.policy-header-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--up6-sans);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--up6-red);
}

/* Title — same size as standard .entry-title, no override */
.policy-header .entry-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.policy-updated {
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  color: #999;
  margin: 0;
}

/* Body — mirrors .entry-content exactly */
.policy-content {
  font-family: var(--up6-serif);
  font-size: 1.125rem;
  line-height: 1.85;
  color: rgba(27,60,83,.82);
}

.policy-content h2 {
  font-family: var(--up6-sans);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--up6-deep);
  margin: 2.5rem 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--up6-border);
}

.policy-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.policy-content ul {
  margin: 0.5rem 0 1.25rem 1.25rem;
  padding: 0;
}

.policy-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  padding-left: 0.25rem;
}

.policy-content a {
  color: var(--up6-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover {
  color: var(--up6-deep);
}

/* Dark mode */
html.up6-dark .policy-header { border-bottom-color: rgba(200,218,230,.12); }
html.up6-dark .policy-content { color: rgba(200,218,230,.85); }
html.up6-dark .policy-content h2 { color: #c8dae6; border-bottom-color: rgba(200,218,230,.12); }
html.up6-dark .policy-updated { color: #6a8a9e; }
html.up6-dark .policy-content p,
html.up6-dark .policy-content li { color: rgba(200,218,230,.82); }
html.up6-dark .policy-content a { color: #e05a4e; }
html.up6-dark .policy-content a:hover { color: var(--up6-beige); }

/* =============================================================
   INLINE BRAND CHIP
   Mirrors the header logo colouring on a dark-blue pill.
   Scales to surrounding text size.
   ============================================================= */
.up6-brand-inline {
  display: inline;
  font-family: var(--up6-sans);
  font-size: 0.9em;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--up6-deep);
  white-space: nowrap;
}
.up6-brand-accent {
  color: var(--up6-beige);
  font-weight: 900;
}
.up6-brand-sub {
  color: #d4564a;
}

html.up6-dark .up6-brand-inline { color: #c8dae6; }
html.up6-dark .up6-brand-accent { color: var(--up6-beige); font-weight: 400; }
html.up6-dark .up6-brand-sub    { color: #e05a4e; }

/* Footer bar + legal band are always dark regardless of light/dark mode */
.footer-main .up6-brand-inline,
.footer-bar .up6-brand-inline,
.footer-legal .up6-brand-inline { color: rgba(255,255,255,.7); }
.footer-main .up6-brand-accent,
.footer-bar .up6-brand-accent,
.footer-legal .up6-brand-accent { color: var(--up6-beige); }
.footer-main .up6-brand-sub,
.footer-bar .up6-brand-sub,
.footer-legal .up6-brand-sub    { color: #e05a4e; }

/* =============================================================
   MEANING OF 6 PAGE — template-meaning-of-6.php
   ============================================================= */

/* Cold open — claim line */
.meaning-of-6 .meaning-claim {
  font-family: var(--up6-sans);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--up6-deep);
  letter-spacing: -0.01em;
  margin: 2rem 0;
}

/* Six Voices — colourful card grid */
.meaning-voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.meaning-voice {
  background: var(--up6-white);
  border: 1px solid var(--up6-border);
  border-top: 4px solid var(--voice-accent, var(--up6-red));
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1.5rem 1.25rem 1.25rem;
  position: relative;
}
/* Per-voice accent colours */
.meaning-voice[data-voice="rural"]    { --voice-accent: #2D6A4F; }
.meaning-voice[data-voice="urban"]    { --voice-accent: #B85C00; }
.meaning-voice[data-voice="youth"]    { --voice-accent: #1A7A8A; }
.meaning-voice[data-voice="minority"] { --voice-accent: #6B4E9B; }
.meaning-voice[data-voice="dissent"]  { --voice-accent: var(--up6-red); }
.meaning-voice[data-voice="ordinary"] { --voice-accent: var(--up6-deep); }

.meaning-voice h3 {
  font-family: var(--up6-sans);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--voice-accent, var(--up6-red));
  margin: 0 0 0.75rem;
}
.meaning-voice p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  text-align: left;
  color: rgba(27,60,83,.78);
}
.meaning-built-for {
  font-family: var(--up6-sans);
  font-weight: 900;
  font-size: 1rem;
  color: var(--up6-deep);
  margin: 1.5rem 0 2.5rem;
}

/* Six Lenses — numeral magazine grid */
.meaning-lenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.75rem 0 2rem;
  counter-reset: lens-counter;
  border: 1px solid var(--up6-border);
  border-radius: 0.5rem;
  overflow: hidden;
}
.meaning-lens {
  counter-increment: lens-counter;
  padding: 1.5rem 1.25rem 1.25rem;
  border-right: 1px solid var(--up6-border);
  border-bottom: 1px solid var(--up6-border);
  position: relative;
  background: var(--up6-white);
}
.meaning-lens:nth-child(3n) { border-right: none; }
.meaning-lens:nth-child(n+4) { border-bottom: none; }

.meaning-lens::before {
  content: "0" counter(lens-counter);
  display: block;
  font-family: var(--up6-sans);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--up6-deep);
  opacity: 0.08;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}
.meaning-lens dt {
  font-family: var(--up6-sans);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--up6-deep);
  margin-bottom: 0.625rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--up6-red);
  display: inline-block;
}
.meaning-lens dd {
  margin: 0.625rem 0 0;
  font-family: var(--up6-serif);
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(27,60,83,.78);
  text-align: left;
}

/* Six Commitments — pledge row layout */
.meaning-commitments {
  margin: 1.75rem 0 2rem;
  padding: 0;
  counter-reset: commitment-counter;
  border: 1px solid var(--up6-border);
  border-radius: 0.5rem;
  overflow: hidden;
}
.meaning-commitment {
  counter-increment: commitment-counter;
  display: grid;
  grid-template-columns: 5rem 1fr;
  border-bottom: 1px solid var(--up6-border);
  background: var(--up6-white);
  transition: background 0.15s;
}
.meaning-commitment:last-child { border-bottom: none; }
.meaning-commitment:hover { background: #f8f6f3; }

/* Ordinal column — empty dt, just shows counter */
.meaning-commitment dt {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--up6-sans);
  font-weight: 900;
  color: var(--up6-deep);
  border-right: 1px solid var(--up6-border);
  margin: 0;
  padding: 1rem 0;
  min-height: 4.5rem;
}
.meaning-commitment dt::before {
  content: "0" counter(commitment-counter);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  opacity: 0.18;
  line-height: 1;
}

/* Name + description column */
.meaning-commitment dd {
  grid-column: 2;
  margin: 0;
  padding: 1.25rem 1.5rem;
}
.meaning-commitment dd .commit-name {
  display: block;
  font-family: var(--up6-sans);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--up6-deep);
  margin-bottom: 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--commit-accent, var(--up6-red));
  display: inline-block;
}
.meaning-commitment dd .commit-body,
.meaning-commitment dd .commit-body p {
  font-family: var(--up6-serif);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(27,60,83,.82);
  text-align: left;
  margin: 0.625rem 0 0;
}
.meaning-commitment dd .commit-body p { margin: 0 0 0.875rem; }
.meaning-commitment dd .commit-body p:last-child { margin-bottom: 0; }

/* Per-commitment accent colours */
.meaning-commitment[data-commit="ketepatan"]    { --commit-accent: #1A7A8A; }
.meaning-commitment[data-commit="kebebasan"]    { --commit-accent: #2D6A4F; }
.meaning-commitment[data-commit="keadilan"]     { --commit-accent: #6B4E9B; }
.meaning-commitment[data-commit="ketelusan"]    { --commit-accent: #B85C00; }
.meaning-commitment[data-commit="keberanian"]   { --commit-accent: var(--up6-red); }
.meaning-commitment[data-commit="pembetulan"]   { --commit-accent: var(--up6-deep); }

/* Keberanian — slightly distinct */
.meaning-commitment--keberanian .commit-name { color: var(--up6-red); }

/* Keberanian — slightly distinct */
.meaning-commitment--keberanian dt {
  color: var(--up6-red);
}

/* The Position — closing lines */
.meaning-closing-line {
  font-family: var(--up6-sans);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--up6-deep);
  margin-top: 2rem;
}

/* SUARA section */
.meaning-suara {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 3px solid var(--up6-deep);
}
.meaning-suara h2 {
  font-family: var(--up6-sans);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--up6-deep);
  margin: 0 0 0.25rem;
  border: none;
  text-transform: uppercase;
  padding: 0;
}
.meaning-suara-intro {
  font-family: var(--up6-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(27,60,83,.6);
  margin: 0 0 2rem;
}
.meaning-suara-acronym {
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.meaning-suara-acronym > div {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.meaning-suara-acronym dt {
  font-family: var(--up6-sans);
  font-size: 1rem;
  font-weight: 900;
  color: var(--up6-deep);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.suara-letter {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--up6-red);
  line-height: 1;
  min-width: 1.1rem;
}
.meaning-suara-acronym dd {
  margin: 0;
  font-family: var(--up6-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(27,60,83,.82);
}
.meaning-suara-close {
  font-family: var(--up6-sans);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--up6-deep);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--up6-border);
}

@media (max-width: 640px) {
  .meaning-suara-acronym > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .meaning-voices,
  .meaning-lenses {
    grid-template-columns: 1fr;
  }
  .meaning-lens { border-right: none !important; }
  .meaning-lens:nth-child(n+4) { border-bottom: 1px solid var(--up6-border) !important; }
  .meaning-lens:last-child { border-bottom: none !important; }
}

/* Dark mode */
html.up6-dark .meaning-claim          { color: #c8dae6; }
html.up6-dark .meaning-voice          { background: rgba(255,255,255,.04); border-color: rgba(200,218,230,.1); }
html.up6-dark .meaning-voice h3       { /* inherits --voice-accent which is already set */ }
html.up6-dark .meaning-voice p        { color: rgba(200,218,230,.8); }
html.up6-dark .meaning-built-for      { color: #c8dae6; }
html.up6-dark .meaning-lenses         { border-color: rgba(200,218,230,.1); }
html.up6-dark .meaning-lens           { background: rgba(255,255,255,.03); border-color: rgba(200,218,230,.1); }
html.up6-dark .meaning-lens dt        { color: #c8dae6; }
html.up6-dark .meaning-lens dd        { color: rgba(200,218,230,.78); }
html.up6-dark .meaning-commitments    { border-color: rgba(200,218,230,.1); }
html.up6-dark .meaning-commitment     { border-color: rgba(200,218,230,.1); background: rgba(255,255,255,.03); }
html.up6-dark .meaning-commitment:hover { background: rgba(255,255,255,.06); }
html.up6-dark .meaning-commitment dt  { border-color: rgba(200,218,230,.1); }
html.up6-dark .meaning-commitment .commit-name { color: #c8dae6; }
html.up6-dark .meaning-commitment .commit-body,
html.up6-dark .meaning-commitment .commit-body p { color: rgba(200,218,230,.82); }
html.up6-dark .meaning-commitment--keberanian dt { color: #e05a4e; }
html.up6-dark .meaning-closing-line   { color: #c8dae6; }
html.up6-dark .meaning-suara          { border-top-color: #c8dae6; }
html.up6-dark .meaning-suara h2       { color: #c8dae6; }
html.up6-dark .meaning-suara-intro    { color: rgba(200,218,230,.5); }
html.up6-dark .meaning-suara-acronym dt { color: #c8dae6; }
html.up6-dark .meaning-suara-acronym dd { color: rgba(200,218,230,.82); }
html.up6-dark .meaning-suara-close    { color: #c8dae6; border-top-color: rgba(200,218,230,.12); }
