/*
Theme Name: TheOnStreamsAPK
Theme URI: https://theonstreamsapk.com/
Author: TheOnStreamsAPK Team
Author URI: https://theonstreamsapk.com/
Description: A custom, lightweight, high-performance WordPress theme for OnStream. Built with pure black (#000000) background, neon lime (#CCFF00) accents, sticky glassmorphic navigation, glowing CTAs, responsive comparison tables, interactive FAQs, animated stat counters, and full device install guides.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: theonstreamsapk
Tags: dark-theme, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Custom Properties
   ----------------------------------------------------------------------- */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --surface: #121212;
  --surface-2: #1e1e1e;
  --card: #121212;
  --card-fg: #ffffff;
  --primary: #CCFF00;
  --primary-fg: #000000;
  --primary-hover: #b8e600;
  --muted: #a3a3a3;
  --muted-fg: #9e9e9e;
  --border: rgba(255, 255, 255, 0.12);
  --border-lime: rgba(204, 255, 0, 0.25);
  --line: rgba(204, 255, 0, 0.16);
  --destructive: #ef4444;
  --destructive-fg: #ffffff;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --container: 1280px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --glow-primary: 0 0 0 1px rgba(204, 255, 0, 0.6), 0 8px 40px -8px rgba(204, 255, 0, 0.55);
  --glow-soft: 0 0 60px -20px rgba(204, 255, 0, 0.7);
  --gradient-hero: radial-gradient(60% 55% at 70% 20%, rgba(204, 255, 0, 0.16), transparent 70%);
}

/* --------------------------------------------------------------------------
   2. Base & Global Resets
   ----------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--fg);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  margin: 0 0 1rem;
  color: var(--muted);
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
}

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

/* --------------------------------------------------------------------------
   3. Layout Utilities
   ----------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  background: var(--primary); color: #000; padding: 10px 18px;
  border-radius: var(--radius-md); font-weight: 700;
  clip: auto; width: auto; height: auto;
}

.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--muted) !important; }
.text-foreground { color: var(--fg) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 2rem; }
.leading-relaxed { line-height: 1.625; }
.w-full { width: 100% !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.overflow-hidden { overflow: hidden !important; }

/* --------------------------------------------------------------------------
   4. Buttons, Panels, Eyebrows & Badges
   ----------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.2;
}

.glow-btn, .btn-glow {
  background-color: var(--primary);
  color: var(--primary-fg) !important;
  box-shadow: var(--glow-primary);
  font-weight: 700;
}
.glow-btn:hover, .btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px -5px rgba(204, 255, 0, 0.75);
  color: var(--primary-fg) !important;
}

.btn-ghost {
  background-color: transparent;
  color: var(--fg) !important;
  border-color: var(--border);
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
}

.hero-glow {
  background-image: var(--gradient-hero);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(204, 255, 0, 0.4);
  background-color: rgba(204, 255, 0, 0.1);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}

.link-inline {
  color: var(--primary);
  text-underline-offset: 3px;
  text-decoration: underline 1px rgba(204, 255, 0, 0.45);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.link-inline:hover, .link-inline:focus-visible {
  color: #9bc400;
  text-decoration-color: currentColor;
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   ----------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--fg);
  text-decoration: none;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-fg);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1024px) {
  .nav-menu-desktop { display: flex; }
}

.nav-menu-desktop a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}
.nav-menu-desktop a:hover,
.nav-menu-desktop .current-menu-item > a,
.nav-menu-desktop .current_page_item > a {
  color: var(--primary);
}

.nav-toggle-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .nav-toggle-btn { display: none; }
}

.mobile-menu-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding: 0.75rem 1rem 1.25rem;
}
.mobile-menu-drawer.is-open {
  display: block;
}
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-list a {
  display: block;
  padding: 0.75rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
}
.mobile-menu-list a:hover,
.mobile-menu-list .current-menu-item > a {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   6. Sections & Layout Grids
   ----------------------------------------------------------------------- */
.section {
  padding: 4rem 1rem;
}
@media (min-width: 640px) {
  .section { padding: 5rem 1.5rem; }
}
.section-border {
  border-top: 1px solid var(--border);
}
.section-subtle {
  background-color: rgba(18, 18, 18, 0.4);
}

.section-head {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.text-left {
  margin-left: 0;
  text-align: left;
}

/* Grids */
.grid-1 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Feature Cards */
.feature-card {
  height: 100%;
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.feature-card:hover {
  border-color: rgba(204, 255, 0, 0.5);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: rgba(204, 255, 0, 0.12);
  color: var(--primary);
  transition: transform 0.25s ease;
}
.feature-card:hover .icon-box {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   7. Stat Counters
   ----------------------------------------------------------------------- */
.stat-card {
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.25s ease;
}
.stat-card:hover {
  border-color: rgba(204, 255, 0, 0.5);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
@media (min-width: 640px) { .stat-number { font-size: 2.5rem; } }
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Steppers (Horizontal & Vertical)
   ----------------------------------------------------------------------- */
/* Horizontal Stepper */
.stepper-horizontal {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stepper-horizontal { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  height: 100%;
  padding: 2rem;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(204, 255, 0, 0.25);
  line-height: 1;
}

/* Vertical Stepper */
.stepper-vertical {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .stepper-vertical { padding-left: 2rem; }
}

.stepper-vertical-item {
  position: relative;
}

.stepper-vertical-num {
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-size: 0.875rem;
  font-weight: 700;
}
@media (min-width: 640px) {
  .stepper-vertical-num {
    left: -2.85rem;
  }
}

.stepper-vertical-card {
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Tables (Comparison & Specs)
   ----------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background-color: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: center;
}
.compare-table th, .compare-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.compare-table thead tr {
  background-color: var(--surface-2);
}
.compare-table th:first-child, .compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.compare-table tbody tr:hover {
  background-color: rgba(30, 30, 30, 0.6);
}

.badge-check {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: rgba(204, 255, 0, 0.15);
  color: var(--primary);
}
.badge-x {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--destructive);
}
.badge-minus {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: var(--surface-2);
  color: var(--muted);
}

/* Specs Table */
.specs-table {
  max-width: 48rem;
  margin: 0 auto;
  overflow: hidden;
}
.specs-table-head {
  padding: 1rem 1.5rem;
  background-color: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
  font-weight: 700;
}
.specs-dl {
  margin: 0;
}
.specs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.specs-row:last-child { border-bottom: 0; }
.specs-dt { font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.specs-dd { font-size: 0.875rem; color: var(--primary); font-weight: 600; text-align: right; margin: 0; }

/* --------------------------------------------------------------------------
   10. Accordion FAQ
   ----------------------------------------------------------------------- */
.faq-wrap {
  max-width: 48rem;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  overflow: hidden;
}
.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-btn:hover {
  color: var(--primary);
}
.faq-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(204, 255, 0, 0.4);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  font-size: 1.1rem;
}
.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  display: none;
}
.faq-content.is-open {
  display: block;
}

/* --------------------------------------------------------------------------
   11. Legal Body & Notes
   ----------------------------------------------------------------------- */
.legal-body {
  max-width: 48rem;
  margin: 0 auto;
}
.legal-section {
  margin-top: 3rem;
}
.legal-section:first-child {
  margin-top: 0;
}
.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.legal-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1rem;
}
.legal-bullet-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.legal-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.legal-bullet-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.6rem;
}

.legal-note {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 48rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(204, 255, 0, 0.4);
  background-color: rgba(204, 255, 0, 0.1);
  color: var(--fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. Blog & Post Cards
   ----------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.post-card:hover {
  border-color: rgba(204, 255, 0, 0.5);
}
.post-header-icon {
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-2);
}
.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.post-category-badge {
  border-radius: var(--radius-full);
  border: 1px solid rgba(204, 255, 0, 0.4);
  background-color: rgba(204, 255, 0, 0.1);
  padding: 0.25rem 0.75rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.75rem;
}
.post-title {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}
.post-title a { color: var(--fg); }
.post-title a:hover { color: var(--primary); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination .page-numbers {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--primary-fg);
}

/* Single Article Body & Content Typography */
.single-article-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  word-wrap: break-word;
}
.single-article-body h1,
.single-article-body h2,
.single-article-body h3,
.single-article-body h4,
.single-article-body h5,
.single-article-body h6 {
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.single-article-body h1 {
  font-size: 2.25rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}
.single-article-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.single-article-body h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.single-article-body h4 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.single-article-body p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.single-article-body p.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #e5e7eb;
}
.single-article-body strong,
.single-article-body b {
  color: var(--fg);
  font-weight: 700;
}
.single-article-body em,
.single-article-body i {
  font-style: italic;
}
.single-article-body a {
  color: var(--primary);
  text-decoration: underline 1px rgba(204, 255, 0, 0.45);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.single-article-body a:hover {
  color: var(--primary-hover);
  text-decoration-color: currentColor;
}
.single-article-body ul,
.single-article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
  color: var(--muted);
}
.single-article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  color: var(--muted);
}
.single-article-body blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--primary);
  background-color: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--fg);
  font-style: italic;
}
.single-article-body blockquote p:last-child {
  margin-bottom: 0;
}
.single-article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background-color: var(--surface-2);
  color: var(--primary);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
}
.single-article-body pre {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg);
}
.single-article-body pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.single-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  margin: 1.5rem 0;
  display: block;
}
.single-article-body figure {
  margin: 1.75rem 0;
}
.single-article-body figure img {
  margin: 0;
}
.single-article-body figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.single-article-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.single-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.single-article-body th,
.single-article-body td {
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}
.single-article-body th {
  background-color: var(--surface-2);
  color: var(--fg);
  font-weight: 700;
}
.single-article-body td {
  color: var(--muted);
}
.single-article-body iframe {
  max-width: 100%;
  border-radius: var(--radius-xl);
}

/* Gutenberg block support */
.single-article-body .wp-block-image {
  margin: 1.75rem 0;
}
.single-article-body .wp-block-image img {
  margin: 0;
  border-radius: var(--radius-xl);
}
.single-article-body .wp-block-embed {
  margin: 1.75rem 0;
}
.single-article-body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--primary-fg) !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--glow-primary);
}
.single-article-body .wp-block-columns {
  margin: 1.75rem 0;
}

.conclusion-box {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--surface);
  border: 1px solid var(--border-lime);
  border-radius: var(--radius-2xl);
}
.conclusion-box h2, .conclusion-box h3 {
  color: var(--fg);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   13. Contact Form & Inputs
   ----------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-input, .form-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--surface-2);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   14. Footer
   ----------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.75rem;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.social-icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   15. Reveal Scroll Animations
   ----------------------------------------------------------------------- */
.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-shown {
  opacity: 1;
  transform: translateY(0);
}
