/*
Theme Name: RC Air Shenanigans
Theme URI: https://rcairshenanigans.com/
Author: Built for Anthony Ferrigno
Author URI: https://rcairshenanigans.com/
Description: A jet-turbine-inspired WordPress theme for rcairshenanigans.com. Dark afterburner palette, instrument-panel grid backgrounds, glowing aerospace typography, and a live YouTube feed that auto-pulls the latest videos from the @rcairshenanigans6135 channel. Includes a Videos gallery template, blog archive, custom widgets, Customizer controls, and a newsletter signup block.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rc-air-shenanigans
Tags: dark, custom-logo, custom-menu, custom-colors, custom-background, featured-images, threaded-comments, translation-ready, blog, video, two-columns, right-sidebar

This theme is licensed under the GPL v2 or later.
*/

/* ============================================================
   ROOT TOKENS — afterburner palette + aerospace type
   ============================================================ */
:root {
  --color-bg: #08090d;
  --color-bg-2: #0d0f15;
  --color-surface: #14151d;
  --color-surface-hi: #1c1e29;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hot: rgba(255, 96, 0, 0.35);
  --color-text: #e8eaed;
  --color-text-dim: #a6a9b3;
  --color-muted: #6e7079;

  /* Afterburner gradient stops */
  --burn-1: #ffb547; /* cone */
  --burn-2: #ff6a00; /* afterburner orange */
  --burn-3: #ff2d2d; /* hot core */
  --burn-glow: rgba(255, 106, 0, 0.55);

  /* Cool jet accents */
  --jet-blue: #4dd2ff;
  --jet-blue-dim: #1a8cb8;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-deep: 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--burn-glow);

  --font-display: 'Orbitron', 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --font-ui: 'Rajdhani', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --container-wide: 1440px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Instrument-panel grid */
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-position: 0 0, 0 0, 0 0;
  background-attachment: fixed;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--burn-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--burn-1); }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 2rem 0; }

::selection { background: var(--burn-2); color: #fff; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; letter-spacing: .12em; }

p { margin: 0 0 1.1em; }

code, pre, kbd {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
code { padding: .12em .4em; font-size: .92em; }
pre { padding: 1rem 1.2rem; overflow-x: auto; }
pre code { background: transparent; border: 0; padding: 0; }

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--burn-2);
  background: linear-gradient(90deg, rgba(255,106,0,0.06), transparent);
  color: var(--color-text-dim);
  font-style: italic;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--burn-2);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 999;
  border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-wide { max-width: var(--container-wide); }

.section { padding: clamp(3rem, 7vw, 6rem) 0; position: relative; }
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-hot), transparent);
  margin: 0;
}

/* Two-column with sidebar */
.with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
}
@media (max-width: 960px) {
  .with-sidebar { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--burn-2), transparent);
  opacity: .55;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.site-branding { display: flex; align-items: center; gap: .9rem; }
.site-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
}
.site-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(90deg, #fff 0%, var(--burn-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-title a { color: inherit; }
.site-description { display: none; }

/* Primary nav */
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-text);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .92rem;
  font-weight: 600;
  padding: .4rem 0;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%; bottom: -4px; height: 2px;
  background: var(--burn-2);
  box-shadow: 0 0 10px var(--burn-glow);
  transition: left .2s ease, right .2s ease;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a {
  color: var(--burn-1);
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
  left: 0; right: 0;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: .55rem .8rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-ui);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.menu-toggle:hover { border-color: var(--burn-2); color: var(--burn-1); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-bg-2);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 1rem 1.25rem; align-items: stretch; }
  .primary-nav li { border-bottom: 1px solid var(--color-border); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: .9rem 0; }
  .primary-nav a::after { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
button.btn,
input[type='submit'],
input[type='button'] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .92rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary,
input[type='submit'] {
  color: #fff;
  background: linear-gradient(135deg, var(--burn-1), var(--burn-2) 55%, var(--burn-3));
  box-shadow: 0 6px 20px -6px var(--burn-glow), inset 0 0 0 1px rgba(255,255,255,.08);
}
.btn-primary:hover,
input[type='submit']:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -6px var(--burn-glow), 0 0 22px var(--burn-glow);
}
.btn-ghost {
  color: var(--color-text);
  background: transparent;
  border-color: var(--color-border-hot);
}
.btn-ghost:hover {
  color: var(--burn-1);
  border-color: var(--burn-2);
  background: rgba(255, 106, 0, 0.06);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0;
  border-bottom: 1px solid var(--color-border);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(255, 106, 0, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 70%, rgba(77, 210, 255, 0.10), transparent 55%);
  pointer-events: none;
}
.hero::after {
  /* Subtle horizon line */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--burn-2), transparent);
  opacity: .6;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  color: var(--burn-1);
  padding: .35rem .8rem;
  border: 1px solid var(--color-border-hot);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.06);
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--burn-2);
  box-shadow: 0 0 12px var(--burn-glow);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.25); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 1rem;
  line-height: 1;
  letter-spacing: .04em;
}
.hero-title .burn {
  background: linear-gradient(180deg, #fff 0%, var(--burn-1) 50%, var(--burn-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px var(--burn-glow));
}
.hero-sub {
  color: var(--color-text-dim);
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero video frame — turbine ring */
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 14px;
  background:
    conic-gradient(from 0deg,
      var(--burn-3), var(--burn-2), var(--burn-1),
      var(--jet-blue), var(--burn-2), var(--burn-3));
  box-shadow: var(--shadow-deep), 0 0 60px -10px var(--burn-glow);
  isolation: isolate;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: inherit;
  filter: blur(20px);
  opacity: .55;
  z-index: -1;
  animation: turbine 12s linear infinite;
}
@keyframes turbine {
  to { transform: rotate(360deg); }
}
.hero-media .frame {
  position: relative;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.hero-media .frame iframe,
.hero-media .frame img {
  width: 100%; height: 100%; display: block; border: 0;
}

/* Hero specs strip (telemetry) */
.hero-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2.5rem;
}
.hero-specs .spec {
  background: var(--color-bg-2);
  padding: 1rem 1.1rem;
}
.hero-specs .label {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-bottom: .3rem;
}
.hero-specs .value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--burn-1);
  font-weight: 700;
  letter-spacing: .08em;
}
@media (max-width: 700px) {
  .hero-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .78rem;
  color: var(--burn-1);
  margin-bottom: .8rem;
}
.section-title { margin: 0 0 .6rem; }
.section-lede { color: var(--color-text-dim); max-width: 64ch; margin: 0 auto; }

/* ============================================================
   VIDEO GRID (YouTube live feed)
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hot);
  box-shadow: 0 12px 36px -10px rgba(0,0,0,.7), 0 0 24px -8px var(--burn-glow);
}
.video-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-card .thumb img,
.video-card .thumb iframe {
  width: 100%; height: 100%; object-fit: cover; border: 0;
  transition: transform .4s ease;
}
.video-card:hover .thumb img { transform: scale(1.04); }
.video-card .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.video-card .play svg {
  width: 64px; height: 64px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.7));
  transition: transform .2s ease;
}
.video-card:hover .play svg { transform: scale(1.08); }
.video-card .body { padding: 1.05rem 1.15rem 1.2rem; }
.video-card .video-title {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 .5rem;
  letter-spacing: .04em;
  text-transform: none;
  color: #fff;
}
.video-card .video-title a { color: inherit; }
.video-card .video-title a:hover { color: var(--burn-1); }
.video-card .meta {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Embed wrapper for inline playback (used when JS swaps thumb -> iframe) */
.video-embed-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-embed-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   BLOG / POSTS
   ============================================================ */
.posts-list { display: grid; gap: 2rem; }
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.post-card:hover {
  border-color: var(--color-border-hot);
  transform: translateY(-2px);
}
.post-card .thumb img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
.post-card .body { padding: 1.4rem 1.6rem 1.6rem; }
.post-meta {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: .55rem;
}
.post-meta a { color: var(--burn-1); }
.post-card h2.entry-title { margin: 0 0 .7rem; font-size: 1.45rem; text-transform: none; letter-spacing: .02em; }
.post-card h2.entry-title a { color: #fff; }
.post-card h2.entry-title a:hover { color: var(--burn-1); }
.post-excerpt { color: var(--color-text-dim); margin: 0 0 1rem; }
.read-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--burn-1);
}
.read-more::after { content: '→'; transition: transform .2s ease; }
.read-more:hover::after { transform: translateX(4px); }

/* Single post */
.entry-header { margin-bottom: 2rem; }
.entry-header h1.entry-title {
  text-transform: none;
  letter-spacing: .01em;
  font-size: clamp(2rem, 4vw, 3rem);
}
.entry-content { font-size: 1.05rem; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2, .entry-content h3 { margin-top: 2rem; text-transform: none; letter-spacing: .02em; }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 3rem; justify-content: center;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 .85rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--color-text);
  text-transform: uppercase;
}
.pagination a:hover { border-color: var(--burn-2); color: var(--burn-1); }
.pagination .current { background: var(--burn-2); color: #fff; border-color: var(--burn-2); }

/* ============================================================
   SIDEBAR + WIDGETS
   ============================================================ */
.sidebar { display: grid; gap: 1.5rem; }
.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--burn-2), transparent);
  opacity: .6;
}
.widget-title {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #fff;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .55rem 0; border-bottom: 1px dashed var(--color-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--color-text); }
.widget a:hover { color: var(--burn-1); }

/* Recent videos widget */
.widget-recent-videos li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: .8rem;
  align-items: center;
  padding: .7rem 0;
}
.widget-recent-videos .vthumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.widget-recent-videos .vthumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-videos .vtitle {
  font-size: .9rem;
  line-height: 1.3;
  color: var(--color-text);
}
.widget-recent-videos .vdate {
  display: block;
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: .25rem;
}

/* Social widget */
.social-links {
  display: flex; gap: .6rem; flex-wrap: wrap;
}
.social-links a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all .2s ease;
}
.social-links a:hover {
  color: var(--burn-1);
  border-color: var(--burn-2);
  box-shadow: 0 0 16px -2px var(--burn-glow);
  transform: translateY(-2px);
}
.social-links svg { width: 18px; height: 18px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 106, 0, 0.12), transparent 60%),
    linear-gradient(135deg, #11131a, #1a1d26);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 90deg at 50% 50%,
    transparent 0deg, var(--burn-glow) 30deg, transparent 60deg,
    transparent 180deg, var(--burn-glow) 210deg, transparent 240deg);
  opacity: .12;
  animation: turbine 18s linear infinite;
  pointer-events: none;
}
.newsletter > * { position: relative; }
.newsletter h2 { margin: 0 0 .6rem; }
.newsletter p { color: var(--color-text-dim); max-width: 56ch; margin: 0 auto 1.6rem; }
.newsletter-form {
  display: flex;
  gap: .6rem;
  max-width: 520px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type='email'] {
  flex: 1 1 260px;
  min-width: 0;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(0,0,0,.4);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.newsletter-form input[type='email']:focus {
  border-color: var(--burn-2);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

/* ============================================================
   FORMS — generic
   ============================================================ */
input[type='text'], input[type='email'], input[type='url'],
input[type='password'], input[type='search'], textarea, select {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-bg-2);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--burn-2);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}
label { display: block; margin-bottom: .4rem; color: var(--color-text-dim); font-family: var(--font-ui); letter-spacing: .1em; font-size: .85rem; text-transform: uppercase; }

/* Search form */
.search-form {
  display: flex; gap: .5rem;
}
.search-form input[type='search'] { flex: 1; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 3rem; }
.comments-area h2.comments-title {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.comment-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--color-border); }
.comment-meta { font-family: var(--font-ui); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .55rem; }
.comment-author { color: var(--burn-1); font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 4rem;
  padding: 3.5rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.6));
  border-top: 1px solid var(--color-border);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--burn-2), transparent);
  opacity: .5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-size: .85rem;
  letter-spacing: .22em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: var(--color-text-dim); }
.footer-col a:hover { color: var(--burn-1); }
.site-info {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: var(--color-muted);
  font-family: var(--font-ui);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* ============================================================
   ALIGNMENT & WP CORE CLASSES
   ============================================================ */
.alignleft { float: left; margin: .3rem 1.2rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.2rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: calc(var(--container) + 200px); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-top: .4rem;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

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

/* Loading state */
.is-loading {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid var(--color-border);
  border-top-color: var(--burn-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Notice */
.notice {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border-hot);
  background: rgba(255, 106, 0, 0.06);
  color: var(--color-text-dim);
}
