/*
Theme Name: Stampede
Theme URI: https://stampedeon66.com/
Author: Stampede
Author URI: https://stampedeon66.com/
Description: A cultural-space theme for Stampede on Route 66 — a bold, photo-forward one-page design with a full-bleed carousel hero, cinematic overlays, and a refined dark editorial palette (ink, paper, gold). Includes a front page with hero + inline contact form, plus standard blog, page, archive, search, and 404 templates.
Version: 1.2.0
Requires at least: 5.8
Tested up to: 6.5
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: stampede
Tags: one-page, restaurant, events, dark, photography, custom-menu, custom-logo, featured-images, translation-ready, threaded-comments
*/

/* =========================================================================
   Stampede — Theme Styles
   ========================================================================= */

:root {
  --ink: #111010;
  --paper: #f4ede0;
  --gold: #af9050;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: "TeX Gyre Heros", "Helvetica Neue", sans-serif;
  /* overflow-x: clip prevents horizontal scroll without forcing
     the body to become a nested vertical scroll container (which
     caused the footer to paint over the contact form). */
  overflow-x: clip;
}

a {
  color: inherit;
}

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

/* ── CAROUSEL (fixed, full screen always) ── */
.carousel {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.carousel__slide.is-active {
  opacity: 1;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(0.9);
}
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.08) 30%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

/* ── DOTS ── */
.carousel__dots {
  position: fixed;
  z-index: 20;
  display: flex;
  gap: 7px;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 237, 224, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel__dot.is-active {
  background: var(--paper);
  transform: scale(1.35);
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: clamp(14px, 2.2vh, 22px) clamp(16px, 4vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  background-image: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, background-image 0.25s ease,
              border-bottom-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-nav.is-scrolled {
  background-color: #111010;
  background-image: none;
  backdrop-filter: none;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-logo,
.site-nav .custom-logo-link img {
  height: clamp(26px, 3.4vw, 32px);
  width: auto;
  display: block;
}
.nav-title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: clamp(6px, 0.8vw, 8px);
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link,
.nav-links a {
  padding: clamp(7px, 1vw, 9px) clamp(11px, 1.6vw, 16px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(14px);
  color: var(--paper);
  font-family: "TeX Gyre Heros", sans-serif;
  font-size: clamp(10px, 1.1vw, 11px);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.nav-link:hover,
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── DESKTOP LAYOUT ── */
.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(100px, 14vh, 140px) clamp(20px, 5vw, 40px) clamp(32px, 6vh, 56px);
  text-align: center;
  gap: clamp(10px, 1.4vh, 16px);
  pointer-events: none;
  min-height: 60svh;
}
.hero__eyebrow {
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.6);
}
.hero__headline {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(30px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--paper);
  /* Widened so "A Collaborative space" fits on one line on desktop. */
  max-width: 22ch;
}

/* ── Rotating word in the hero headline ── */
.hero__rotator {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  text-align: center;
  white-space: nowrap;
  /* Slightly larger than the rest of the headline to stand out.
     Change this number to tune emphasis: 1.1 = 10% bigger, 1.25 = 25% bigger, etc. */
  font-size: 1.5em;
  line-height: 1.25;
  color: var(--gold);
  font-style: italic;
}
.hero__rotator-sizer {
  visibility: hidden;
  display: inline-block;
  white-space: nowrap;
  pointer-events: none;
}
.hero__word {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.5s ease;
}
.hero__word.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__word { transition: none; }
}
.hero__sub {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  color: rgba(244, 237, 224, 0.65);
  max-width: 40ch;
  margin-top: 4px;
  text-align: center;
}

.contact-panel {
  pointer-events: auto;
  /* Mobile-first: single column. iPad+ gets two columns below. */
  margin: 0 auto clamp(32px, 5vh, 56px);
  /* Match the scrolled nav bar: black panel with sketchbook grid overlay. */
  background-color: rgba(10, 10, 10, 0.92);
  background-image:
    linear-gradient(rgba(244, 237, 224, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 237, 224, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 40px) clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  width: calc(100% - clamp(16px, 4vw, 32px));
  max-width: 900px;
  flex-shrink: 0; /* never shrink below natural size inside .page flex column */
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info__label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.contact-info__headline {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 10px;
}
.contact-info__body {
  font-size: clamp(12px, 1.15vw, 13px);
  line-height: 1.7;
  color: rgba(244, 237, 224, 0.58);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-detail {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(244, 237, 224, 0.55);
}
.contact-detail strong {
  display: block;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.32);
  margin-bottom: 2px;
}
.contact-detail a {
  color: rgba(244, 237, 224, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 13px;
}
.form-row {
  display: grid;
  /* Mobile-first: stacked. Two-column at ≥480px below. */
  grid-template-columns: 1fr;
  gap: 11px;
}
.form-field {
  display: grid;
  gap: 6px;
}
.form-field label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.36);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: #3a3a3a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--paper);
  font-family: "TeX Gyre Heros", sans-serif;
  /* 16px prevents iOS Safari from zooming on focus. */
  font-size: 16px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(175, 144, 80, 0.5);
}
.form-field textarea {
  resize: vertical;
  min-height: 88px;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(244, 237, 224, 0.22);
}

/* ── Inquiry type: sketchbook grid ── */
.form-field--inquiry {
  gap: 10px;
}
.form-field__label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.36);
}
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #3a3a3a;
  background-image: none;
}
.inquiry-grid__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.inquiry-grid__tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.55);
  color: var(--paper);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s, color 0.2s;
  user-select: none;
  text-align: left;
}
.inquiry-grid__tile:hover {
  border-color: rgba(175, 144, 80, 0.7);
  background: rgba(175, 144, 80, 0.08);
  transform: translateY(-1px);
}
.inquiry-grid__mark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(244, 237, 224, 0.5);
  background: transparent;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.inquiry-grid__input:checked + .inquiry-grid__tile {
  border-color: var(--gold, #af9050);
  background: rgba(175, 144, 80, 0.18);
  color: var(--paper);
  box-shadow: 0 0 0 1px rgba(175, 144, 80, 0.25) inset;
}
.inquiry-grid__input:checked + .inquiry-grid__tile .inquiry-grid__mark {
  border-color: var(--gold, #af9050);
  background: var(--gold, #af9050);
}
.inquiry-grid__input:checked + .inquiry-grid__tile .inquiry-grid__mark::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid var(--ink, #0a0a0a);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.inquiry-grid__input:focus-visible + .inquiry-grid__tile {
  outline: 2px solid rgba(175, 144, 80, 0.6);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
  }
}
.form-submit {
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: clamp(12px, 1.4vw, 14px) clamp(22px, 3vw, 30px);
  font-family: "TeX Gyre Heros", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  justify-self: start;
  margin-top: 4px;
}
.form-submit:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.form-status {
  font-size: 12px;
  color: var(--gold);
  margin-top: 8px;
}
.form-status.is-error {
  color: #d87a7a;
}

/* ──────────────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS (mobile-first)
   - <480px     : phones (single-col form, docked panel)
   - ≥480px     : larger phones — two-col name/email
   - ≥720px     : tablets/iPad — two-col contact panel
   - ≥1024px    : desktop — final polish
   ────────────────────────────────────────────────────────────────────── */

/* ── PHONES (≤680px) — dock contact panel to bottom, full-bleed ── */
@media (max-width: 680px) {
  .hero__top {
    position: relative;
    min-height: 100svh;
    padding: clamp(90px, 14vh, 120px) 22px clamp(28px, 6vh, 48px);
    justify-content: flex-end;
    align-items: flex-start;
    text-align: center;
  }
  .hero__headline {
    font-size: clamp(34px, 10vw, 52px);
    max-width: 18ch;
    text-align: center;
  }
  .hero__sub {
    max-width: 32ch;
      align-items: center;
      text-align: center;
      padding-left: 0;
      padding-right: 0;
      margin-left: auto;
      margin-right: auto;
  
  }
  .carousel__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: calc(100% + 18px);
  }
  .contact-panel {
    position: relative;
    z-index: 10;
    margin: 0 0 clamp(20px, 4vh, 32px);
    width: 100%;
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    /* Keep the sketchbook grid overlay on mobile too. */
    background-color: #0e0e0e;
    background-image:
      linear-gradient(rgba(244, 237, 224, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(244, 237, 224, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: -1px -1px;
    backdrop-filter: none;
    padding: clamp(26px, 6vw, 36px) clamp(18px, 5vw, 26px) clamp(36px, 8vw, 52px);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.8);
  }
  .form-submit {
    justify-self: stretch;
    text-align: center;
  }
}

/* ── LARGER PHONES (≥480px) — two-col name/email ── */
@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero__headline{
    text-align: center;
  }
}

/* ── TABLETS / iPAD (≥720px) — two-col contact panel ── */
@media (min-width: 720px) {
  .contact-panel {
    grid-template-columns: 1fr 1.3fr;
  }
  .hero__headline{
    text-align: center;
  }
}

/* ── DESKTOP (≥1024px) — final tuning ── */
@media (min-width: 1024px) {
  .contact-panel {
    grid-template-columns: 1fr 1.4fr;
  }
  .hero__top {
    min-height: 56svh;
  }
  .hero__headline{
    text-align: center;
  }
}

/* ── SHORT LANDSCAPE (phones on their side) — keep hero compact ── */
@media (orientation: landscape) and (max-height: 560px) {
  .hero__top {
    min-height: auto;
    padding: 80px 28px 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .carousel__dots {
    top: auto;
    bottom: 18px;
  }
  .contact-panel {
    margin: 0 auto 32px;
    padding: 26px 26px 32px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(10, 10, 10, 0.92);
    background-image:
      linear-gradient(rgba(244, 237, 224, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(244, 237, 224, 0.08) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: -1px -1px;
    backdrop-filter: blur(18px);
    width: calc(100% - 32px);
  }
  .hero__headline{
    text-align: center;
  }
}

/* ── FOOTER ── */
.site-footer {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(28px, 4vh, 40px) clamp(20px, 4vw, 28px);
  color: rgba(244, 237, 224, 0.55);
  font-size: clamp(11px, 1vw, 12px);
  line-height: 1.7;
}
.site-footer__building {
  max-width: 900px;
  margin: 0 auto clamp(20px, 3vh, 32px);
  display: flex;
  justify-content: center;
}
.site-footer__building img {
  display: block;
  width: 100%;
  max-width: 270px;
  height: auto;
  opacity: 0.85;
}
.site-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer__info a {
  color: rgba(244, 237, 224, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 237, 224, 0.2);
}
.site-footer__info a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.site-footer__socials {
  display: flex;
  gap: 10px;
}
.site-footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}
.site-footer__social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.site-footer__social svg {
  width: 16px;
  height: 16px;
}
.site-footer__bottom {
  max-width: 900px;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.32);
  text-align: center;
}

@media (max-width: 680px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__socials {
    justify-content: center;
  }
}

/* =========================================================================
   Interior templates (blog, single, page, archive, search, 404)
   Layered on the carousel backdrop is distracting for long-form content,
   so interior templates use a contained, readable surface.
   ========================================================================= */
body.has-interior-template .carousel,
body.has-interior-template .carousel__dots {
  display: none;
}
body.has-interior-template {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(175, 144, 80, 0.08), transparent 60%),
    var(--ink);
  overflow-y: auto;
}
body.has-interior-template .site-nav {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.interior {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(110px, 16vh, 160px) clamp(20px, 5vw, 40px) clamp(48px, 8vh, 96px);
  position: relative;
  z-index: 10;
}
.interior__eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.interior__title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 18px;
}
.interior__meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.45);
  margin-bottom: 36px;
}
.interior__content {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  color: rgba(244, 237, 224, 0.82);
}
.interior__content h2,
.interior__content h3,
.interior__content h4 {
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--paper);
  margin: 1.8em 0 0.6em;
  line-height: 1.25;
}
.interior__content h2 { font-size: 26px; }
.interior__content h3 { font-size: 20px; }
.interior__content h4 { font-size: 16px; }
.interior__content p { margin: 0 0 1.2em; }
.interior__content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(175, 144, 80, 0.4);
  text-decoration: none;
}
.interior__content a:hover {
  border-color: var(--gold);
}
.interior__content ul,
.interior__content ol {
  margin: 0 0 1.2em 1.3em;
}
.interior__content li { margin-bottom: 0.35em; }
.interior__content blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 1.4em 0;
  color: rgba(244, 237, 224, 0.7);
  font-style: italic;
}
.interior__content img,
.interior__content .wp-block-image img {
  border-radius: 10px;
  margin: 1.4em 0;
}
.interior__content pre,
.interior__content code {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13px;
}
.interior__content pre {
  padding: 16px 18px;
  overflow-x: auto;
  margin: 1.4em 0;
}
.interior__content code { padding: 2px 6px; }

.post-list {
  display: grid;
  gap: 36px;
}
.post-card {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.post-card:last-child { border-bottom: none; }
.post-card__title {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.post-card__title a {
  color: var(--paper);
  text-decoration: none;
}
.post-card__title a:hover { color: var(--gold); }
.post-card__meta {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.4);
  margin-bottom: 10px;
}
.post-card__excerpt {
  color: rgba(244, 237, 224, 0.7);
  font-size: 14px;
  line-height: 1.7;
}
.post-card__more {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(175, 144, 80, 0.4);
}

.pagination {
  margin-top: 48px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--paper);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.pagination .page-numbers.current {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.search-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.search-form input[type="search"] {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--paper);
  font-size: 13px;
  padding: 11px 14px;
}
.search-form button {
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.comments-area { margin-top: 60px; }
.comments-area h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  color: var(--paper);
  margin-bottom: 18px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 22px;
}
.comment-list li {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.comment-meta {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.5);
  margin-bottom: 6px;
}
.comment-content { color: rgba(244, 237, 224, 0.8); font-size: 14px; line-height: 1.7; }
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--paper);
  font-size: 13px;
  padding: 11px 14px;
  margin-bottom: 10px;
}
.comment-form .submit {
  background: var(--paper);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* WP admin bar offset */
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}

/* Screen reader helper (required by WP) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Alignments / WP core classes */
.alignleft { float: left; margin: 0 1.2em 0.6em 0; }
.alignright { float: right; margin: 0 0 0.6em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text {
  font-size: 11px;
  color: rgba(244, 237, 224, 0.5);
  text-align: center;
  margin-top: 6px;
}
.sticky { }
.bypostauthor { }
