/*
Theme Name: Urity Blog - NAGA5000 Digital Portal
Theme URI: https://blog.urity.org/
Author: Urity & NAGA5000
Author URI: https://urity.org/
Description: Tema WordPress resmi untuk blog.urity.org. Didesain secara presisi selaras dengan ekosistem landing page urity.org dan guide.urity.org. Super ringan, ultra cepat, tanpa ketergantungan library berat, dan responsif optimal di perangkat mobile maupun desktop.
Version: 2.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urity-blog
Tags: blog, gaming, voucher, digital-hub, dark-mode, responsive, grid-layout, custom-menu, featured-images, seo-ready
*/

/* ==========================================================
   1. DESIGN TOKENS & CSS VARIABLES (MATCHING URITY.ORG & GUIDE)
   ========================================================== */
:root {
  /* Brand Core Dark Palette (from urity.org) */
  --ink: #05090f;
  --deep: #0a1019;
  --surface: #0f1927;
  --lift: #162134;
  --border: rgba(255, 255, 255, 0.08);
  --border-s: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(242, 168, 29, 0.35);

  /* Urity Signature Amber Gold Accents */
  --gold: #f2a81d;
  --gold-hi: #ffd060;
  --gold-lo: #c47e00;
  --gold-soft: rgba(242, 168, 29, 0.12);
  --gold-glow: rgba(242, 168, 29, 0.28);

  /* Status & Accent Colors */
  --ember: #e84040;
  --green: #2ecc71;
  --blue: #2563eb;
  --cyan: #06b6d4;

  /* Typography Colors */
  --text: #ecf2f9;
  --text-pure: #ffffff;
  --muted: #8ea3b8;
  --faint: #44596f;

  /* Editorial Accent from guide.urity.org */
  --paper-accent: #12664e;
  --paper-accent-soft: #e7f0ea;

  /* Font Families */
  --font-main: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', Menlo, Consolas, monospace;
  --font-editorial: 'Sora', Georgia, serif;

  /* Container & Spacing */
  --container-max: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 9999px;

  /* Transition & Shadows */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(242, 168, 29, 0.2);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 15.5px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle texture background from urity.org */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: 256px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold);
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

.urity-container {
  width: min(calc(100% - 32px), var(--container-max));
  margin-inline: auto;
}

/* ==========================================================
   2. BUTTONS & BADGES
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(242, 168, 29, 0.35);
}

.btn-gold:hover {
  background: var(--gold-hi);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 7px 26px rgba(242, 168, 29, 0.45);
}

.btn-outline {
  border-color: var(--border-s);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 0.98rem;
}

/* Eyebrow badge (from urity.org & guide.urity.org) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--gold);
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.category-badge:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-hi);
}

.gold-gradient-text {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 45%, var(--gold-hi) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================
   3. READING PROGRESS BAR
   ========================================================== */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-lo) 0%, var(--gold) 50%, var(--gold-hi) 100%);
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(242, 168, 29, 0.6);
}

/* ==========================================================
   4. TICKER STRIP (RUNNING TOPICS / FLASH NEWS)
   ========================================================== */
.urity-ticker {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.76rem;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border-right: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  padding: 0 1rem;
  height: 38px;
  flex-shrink: 0;
  z-index: 2;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.ticker-marquee {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  animation: tickerScroll 34s linear infinite;
  padding-left: 1.5rem;
}

.ticker-items:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.ticker-item:hover {
  color: var(--gold);
}

.ticker-bullet {
  color: var(--faint);
}

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

/* ==========================================================
   5. STICKY NAVBAR & HEADER
   ========================================================== */
.urity-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(5, 9, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.urity-header.scrolled {
  background: rgba(5, 9, 15, 0.98);
  border-color: var(--border-s);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-wrapper .custom-logo-link,
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  line-height: 1;
}

.brand-wrapper .custom-logo,
.brand-logo-img {
  width: 144px;
  max-width: 160px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
  display: block;
}

.brand-blog-tag {
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s var(--ease-out);
  border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu a[aria-current="page"] {
  color: var(--text-pure);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu a[aria-current="page"]::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border-s);
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-s);
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  transition: all 0.2s;
}

.hamburger:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

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

/* ==========================================================
   6. MOBILE DRAWER NAVIGATION
   ========================================================== */
.mobile-drawer {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(5, 9, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 1.5rem 1.25rem 3rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.drawer-link {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.45rem 0;
  display: block;
  transition: color 0.2s;
}

.drawer-link:hover {
  color: var(--gold);
}

/* ==========================================================
   7. HERO FEATURED SECTION (HOME PAGE)
   ========================================================== */
.blog-hero-section {
  padding: 3rem 0 2rem;
  position: relative;
}

.hero-header-bar {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hero-main-title {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-pure);
}

.hero-lead-text {
  color: var(--muted);
  font-size: 1rem;
  max-width: 60ch;
  margin-top: 0.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

/* Big Featured Card */
.lead-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.lead-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.lead-thumb-link {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  display: block;
  background: var(--deep);
}

.lead-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.lead-card:hover .lead-thumb-img {
  transform: scale(1.04);
}

.lead-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 15, 0.05) 0%, rgba(5, 9, 15, 0.85) 100%);
  pointer-events: none;
}

.lead-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.lead-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pulse-badge {
  background: rgba(242, 168, 29, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
}

.lead-title {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-pure);
}

.lead-title a:hover {
  color: var(--gold);
}

.lead-excerpt {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.post-meta-strip svg {
  vertical-align: -2px;
  margin-right: 0.25rem;
}

/* Side Stacked Cards */
.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-sub-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.side-sub-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  background: var(--lift);
}

.side-thumb-link {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: block;
  background: var(--deep);
  position: relative;
}

.side-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.side-sub-card:hover .side-thumb-link img {
  transform: scale(1.06);
}

.side-sub-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.side-sub-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-pure);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-sub-title a:hover {
  color: var(--gold);
}

.side-sub-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ==========================================================
   8. CATEGORY FILTER TABS
   ========================================================== */
.category-filter-strip {
  padding: 1.5rem 0 0.5rem;
}

.filter-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.filter-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.filter-tab-pill {
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-tab-pill:hover,
.filter-tab-pill.active {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-hi);
}

/* ==========================================================
   9. MAIN CONTENT & SIDEBAR 2-COLUMN LAYOUT
   ========================================================== */
.site-main-section {
  padding: 2rem 0 5rem;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.25rem;
  align-items: start;
}

/* Post Cards Grid */
.posts-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.urity-post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.urity-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.post-card-thumb-wrap {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--deep);
  display: block;
}

.post-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}

.urity-post-card:hover .post-card-thumb-img {
  transform: scale(1.05);
}

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

.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-pure);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a:hover {
  color: var(--gold);
}

.post-card-excerpt {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Numbered Pagination */
.urity-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.urity-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.urity-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.urity-pagination .page-numbers:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

.urity-pagination .page-numbers.current {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 3px 12px rgba(242, 168, 29, 0.35);
}

/* ==========================================================
   10. SIDEBAR WIDGETS
   ========================================================== */
.sidebar-sticky-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 96px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem;
  overflow: hidden;
}

.widget-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.01em;
}

.widget-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--gold);
  border-radius: 2px;
  margin-right: 0.5rem;
}

/* Widget Search */
.widget-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.widget-search-input {
  width: 100%;
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-sm);
  padding: 0.65rem 2.8rem 0.65rem 0.85rem;
  color: var(--text);
  font-size: 0.85rem;
  transition: border-color 0.2s;
}

.widget-search-input:focus {
  border-color: var(--gold);
}

.widget-search-submit {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
}

.widget-search-submit:hover {
  color: var(--gold);
}

/* Digital Hub Feature Card (from guide.urity.org) */
.guide-hub-widget {
  background: linear-gradient(165deg, #13243a 0%, #091322 100%);
  border: 1px solid rgba(242, 168, 29, 0.3);
}

.guide-hub-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.guide-hub-icon {
  width: 36px;
  height: 36px;
  background: var(--gold-soft);
  color: var(--gold);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-hub-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.guide-hub-desc {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.guide-hub-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.guide-hub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}

.guide-hub-link:hover {
  background: var(--gold-soft);
  color: var(--gold-hi);
  transform: translateX(3px);
}

/* Ranked Popular Posts Widget */
.ranked-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ranked-post-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.ranked-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ranked-number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--deep);
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ranked-post-item:nth-child(1) .ranked-number {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
}

.ranked-post-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ranked-post-title {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-pure);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranked-post-title a:hover {
  color: var(--gold);
}

.ranked-post-meta {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Quick Games Grid in Sidebar */
.sidebar-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.sidebar-game-badge {
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
  display: block;
}

.sidebar-game-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

/* Trust Card in Sidebar */
.trust-widget {
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  padding: 1.1rem;
}

.trust-widget-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.trust-widget-text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================
   11. SINGLE POST PAGE (EDITORIAL READING EXPERIENCE)
   ========================================================== */
.single-article-main {
  padding: 2.5rem 0 5rem;
}

.single-post-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

/* Breadcrumbs */
.post-breadcrumbs {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.post-breadcrumbs a {
  color: var(--muted);
}

.post-breadcrumbs a:hover {
  color: var(--gold);
}

.crumb-separator {
  color: var(--faint);
}

.crumb-current {
  color: var(--text-pure);
  font-weight: 600;
}

.single-top-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.single-post-title {
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

.single-byline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.byline-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.byline-info {
  display: flex;
  flex-direction: column;
}

.byline-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure);
}

.byline-date-time {
  font-size: 0.76rem;
  color: var(--muted);
}

.byline-right-stats {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}

.meta-pill {
  background: var(--deep);
  border: 1px solid var(--border-s);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Action Toolbar (Font Resize & Share) */
.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-sm);
  padding: 0.6rem 1rem;
  margin-bottom: 1.75rem;
}

.toolbar-font-resize {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.btn-font-size {
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-font-size:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.share-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  margin-right: 0.25rem;
}

.share-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s, transform 0.15s;
}

.share-pill:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.share-wa { background: #25D366; color: #fff; }
.share-tg { background: #0088cc; color: #fff; }
.share-tw { background: #000000; border: 1px solid var(--border-s); color: #fff; }
.share-fb { background: #1877F2; color: #fff; }
.share-copy { background: var(--surface); border: 1px solid var(--border-s); color: var(--text); cursor: pointer; }

/* Featured Media */
.single-featured-media {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  position: relative;
}

.single-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.media-caption {
  padding: 0.6rem 1rem;
  background: var(--deep);
  font-size: 0.76rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Key Takeaways Callout */
.takeaways-box {
  background: linear-gradient(135deg, rgba(242, 168, 29, 0.08) 0%, rgba(15, 25, 39, 0.95) 100%);
  border: 1px solid rgba(242, 168, 29, 0.35);
  border-radius: var(--r-md);
  padding: 1.4rem;
  margin-bottom: 2.2rem;
}

.takeaways-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.takeaways-content {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Interactive Table of Contents */
.toc-box {
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: 2.2rem;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.toc-toggle-btn {
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.toc-list {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.toc-list a {
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  display: block;
}

.toc-list a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.toc-list .toc-h3 {
  padding-left: 1.2rem;
  font-size: 0.82rem;
}

/* Article Body Typography (Sora + Guide style) */
.article-entry-content {
  font-size: 1.02rem;
  line-height: 1.82;
  color: #dbe4ee;
}

.article-entry-content p {
  margin-bottom: 1.45rem;
}

.article-entry-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text-pure);
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.article-entry-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-entry-content ul,
.article-entry-content ol {
  margin-bottom: 1.45rem;
  padding-left: 1.5rem;
}

.article-entry-content ul {
  list-style: disc;
}

.article-entry-content ol {
  list-style: decimal;
}

.article-entry-content li {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}

.article-entry-content blockquote {
  margin: 1.8rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--deep);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--text-pure);
}

.article-entry-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-entry-content a:hover {
  color: var(--gold-hi);
}

/* In-Article "Baca Juga" Box */
.urity-baca-juga-box {
  background: var(--deep);
  border: 1px solid rgba(242, 168, 29, 0.3);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.baca-juga-badge {
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.baca-juga-link {
  font-weight: 700;
  color: var(--text-pure);
  font-size: 0.95rem;
  text-decoration: none !important;
}

.baca-juga-link:hover {
  color: var(--gold) !important;
}

/* Post Tags Cloud */
.post-tags-strip {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-right: 0.35rem;
}

.tag-pill {
  background: var(--deep);
  border: 1px solid var(--border-s);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  transition: all 0.2s;
}

.tag-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}

/* Author Box */
.author-bio-card {
  margin-top: 2.5rem;
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-bio-avatar img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.author-bio-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.author-bio-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
}

.author-bio-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Related Posts Section */
.related-posts-section {
  margin-top: 3.5rem;
}

.section-subhead {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subhead::before {
  content: "";
  width: 5px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ==========================================================
   12. COMMENTS SECTION
   ========================================================== */
.comments-area {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.comment-body {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.comment-author .fn {
  font-weight: 700;
  color: var(--text-pure);
  font-size: 0.9rem;
}

.comment-metadata a {
  font-size: 0.74rem;
  color: var(--muted);
}

.comment-content {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
}

.reply a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}

.comment-respond {
  background: var(--deep);
  border: 1px solid var(--border-s);
  border-radius: var(--r-md);
  padding: 1.5rem;
}

.comment-reply-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

.comment-form p {
  margin-bottom: 1rem;
}

.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--r-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--gold);
}

.comment-form .form-submit input[type="submit"] {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.comment-form .form-submit input[type="submit"]:hover {
  background: var(--gold-hi);
  transform: translateY(-2px);
}

/* ==========================================================
   13. ARCHIVE, CATEGORY & SEARCH PAGE
   ========================================================== */
.archive-hero-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.archive-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.archive-description {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 65ch;
}

/* ==========================================================
   14. 404 PAGE & STATIC PAGE
   ========================================================== */
.error-404-wrap {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 600px;
  margin-inline: auto;
}

.error-404-number {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 14vw, 8.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 60%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.error-404-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.8rem;
}

.error-404-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-box {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}

.search-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.search-modal-close:hover {
  color: var(--gold);
}

.search-modal-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.6rem;
  margin-top: 1rem;
}

.search-modal-input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--text-pure);
  outline: none;
}

/* ==========================================================
   15. FOOTER (EXACT MATCHING URITY.ORG & GUIDE)
   ========================================================== */
.urity-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  margin-top: 4rem;
}

.urity-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 168, 29, 0.45) 50%, transparent);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  color: var(--text-pure);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.footer-brand-logo {
  max-width: 145px;
  height: auto;
  margin-bottom: 0.85rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 32ch;
  margin-bottom: 1.25rem;
}

.footer-address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  transition: all 0.2s;
}

.footer-address-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links-list a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: all 0.2s;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pay-badge {
  background: transparent;
  border: 1px solid var(--border-s);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.pay-badge:hover {
  border-color: var(--gold);
  color: var(--text-pure);
}

/* Back To Top Button */
#back-to-top {
  position: fixed;
  bottom: 86px;
  right: 20px;
  background: var(--surface);
  border: 1px solid var(--border-s);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

/* Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 16, 25, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-s);
  padding: 0.75rem 1rem;
  z-index: 990;
  gap: 0.75rem;
}

.mobile-bottom-bar .btn {
  flex: 1;
}

/* ==========================================================
   16. RESPONSIVE BREAKPOINTS (DESKTOP & MOBILE OPTIMIZATION)
   ========================================================== */
@media screen and (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sidebar-sticky-wrap {
    position: static;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media screen and (max-width: 860px) {
  .nav-menu,
  .header-cta-desktop {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: 64px;
  }
  .posts-cards-grid {
    grid-template-columns: 1fr;
  }
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .side-sub-card {
    grid-template-columns: 85px 1fr;
  }
  .single-post-wrapper {
    padding: 1.25rem 1rem;
    border-radius: var(--r-md);
  }
  .single-byline-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-wrapper .custom-logo,
  .brand-logo-img {
    width: 120px;
    max-height: 32px;
  }
}