/*
Theme Name: Driven with Alan
Theme URI: https://drivenwithalan.com
Author: Driven with Alan
Author URI: https://drivenwithalan.com
Description: Dark luxury automotive theme for Corvette content. Carbon fiber editorial design with crimson red accents, chrome metallic typography, and fully customizable sections for social media, dealer inventory, and aftermarket parts. Built for the "No Hype, Just Corvette Done Right" brand.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driven-with-alan
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, dark, automotive
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #111114;
  --bg-card: #1a1a1f;
  --bg-darker: #0d0d10;
  --red-primary: #cc0000;
  --red-light: #e63333;
  --red-dim: rgba(204, 0, 0, 0.4);
  --red-subtle: rgba(204, 0, 0, 0.08);
  --chrome-light: #e8edf0;
  --chrome-mid: #b8c4cc;
  --chrome-dark: #8a9aa8;
  --text-primary: #f0f0f0;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-faint: rgba(255, 255, 255, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.dwa-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .dwa-container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .dwa-container { padding: 0 2rem; }
}

/* ============================================================
   CARBON FIBER TEXTURE
   ============================================================ */
.carbon-bg {
  background-color: var(--bg-dark);
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px),
    repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px);
}

/* ============================================================
   CHROME METALLIC TEXT
   ============================================================ */
.chrome-text {
  background: linear-gradient(180deg, #e8edf0 0%, #b8c4cc 40%, #8a9aa8 70%, #c8d4dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CARD ACCENT (red left border)
   ============================================================ */
.card-accent {
  border-left: 3px solid var(--red-primary);
}

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  color: var(--red-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.4), 0 0 40px rgba(204, 0, 0, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ============================================================
   RED DIVIDER LINE
   ============================================================ */
.red-line {
  height: 2px;
  width: 4rem;
  background: var(--red-primary);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.dwa-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.dwa-navbar.scrolled {
  background: rgba(17, 17, 20, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.dwa-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.dwa-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dwa-navbar-brand img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dwa-navbar-brand:hover img {
  transform: scale(1.05);
}

.dwa-navbar-brand-text {
  display: none;
}

@media (min-width: 640px) {
  .dwa-navbar-brand-text { display: block; }
}

.dwa-navbar-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.dwa-navbar-brand-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}

.dwa-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .dwa-nav-links { display: flex; }
}

.dwa-nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.dwa-nav-links a:hover {
  color: var(--text-primary);
}

/* Mobile menu toggle */
.dwa-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}

.dwa-menu-toggle:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .dwa-menu-toggle { display: none; }
}

/* Mobile menu */
.dwa-mobile-menu {
  display: none;
  background: rgba(17, 17, 20, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
}

.dwa-mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .dwa-mobile-menu { display: none !important; }
}

.dwa-mobile-menu a {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

.dwa-mobile-menu a:hover {
  color: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.dwa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dwa-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dwa-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg-dark) 0%, rgba(17,17,20,0.55) 50%, rgba(17,17,20,0.3) 100%),
    linear-gradient(to right, rgba(17,17,20,0.6) 0%, transparent 50%, rgba(17,17,20,0.3) 100%);
}

.dwa-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.dwa-hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}

@media (min-width: 768px) {
  .dwa-hero-logo { width: 224px; height: 224px; }
}

.dwa-hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .dwa-hero-title { font-size: 6rem; }
}

.dwa-hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .dwa-hero-subtitle { font-size: 1.875rem; }
}

.dwa-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.dwa-hero-tagline .line {
  height: 1px;
  width: 3rem;
  background: var(--red-primary);
}

.dwa-hero-tagline span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.dwa-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .dwa-hero-ctas { flex-direction: row; }
}

.dwa-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-faint);
}

.dwa-hero-scroll span {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dwa-hero-scroll .arrow {
  display: block;
  margin: 0 auto;
  animation: bounce 1.5s ease-in-out infinite;
  font-size: 1.25rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================================
   SOCIAL SECTION
   ============================================================ */
.dwa-section {
  padding: 6rem 0;
}

.dwa-section-header {
  margin-bottom: 3.5rem;
}

.dwa-section-header h2 {
  font-size: 2.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .dwa-section-header h2 { font-size: 3rem; }
}

.dwa-section-header .subtitle-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dwa-section-header .subtitle-row p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Social cards grid */
.dwa-social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .dwa-social-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .dwa-social-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.dwa-social-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
  transition: all 0.3s ease;
}

.dwa-social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.dwa-social-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.dwa-social-card:hover .dwa-social-icon {
  transform: scale(1.1);
}

.dwa-social-card-body {
  flex: 1;
  min-width: 0;
}

.dwa-social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.dwa-social-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--text-primary);
}

.dwa-social-card-header .ext-icon {
  color: var(--text-faint);
  font-size: 0.75rem;
  transition: color 0.2s;
}

.dwa-social-card:hover .ext-icon {
  color: var(--text-muted);
}

.dwa-social-handle {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.dwa-social-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ============================================================
   INVENTORY SECTION
   ============================================================ */
.dwa-inventory {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.dwa-inventory-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.dwa-inventory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,17,20,0.97) 0%, rgba(17,17,20,0.85) 50%, rgba(17,17,20,0.6) 100%);
}

.dwa-inventory-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
}

.dwa-inventory h2 .highlight {
  color: var(--red-light);
}

.dwa-inventory-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.dwa-inventory-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  list-style: none;
}

@media (min-width: 640px) {
  .dwa-inventory-features { grid-template-columns: 1fr 1fr; }
}

.dwa-inventory-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.dwa-inventory-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-primary);
  flex-shrink: 0;
}

/* ============================================================
   PARTS SECTION
   ============================================================ */
.dwa-parts {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.dwa-parts-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.dwa-parts-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 20, 0.92);
}

.dwa-parts-content {
  position: relative;
  z-index: 10;
}

.dwa-coming-soon-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--red-dim);
  background: var(--red-subtle);
  margin-bottom: 3rem;
}

.dwa-coming-soon-banner .banner-icon {
  font-size: 1.5rem;
  color: var(--red-light);
  flex-shrink: 0;
}

.dwa-coming-soon-banner h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dwa-coming-soon-banner p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.dwa-parts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .dwa-parts-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .dwa-parts-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.dwa-part-card {
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.dwa-part-card:hover {
  border-color: var(--border-hover);
}

.dwa-part-card .part-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.dwa-part-card h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.dwa-part-card p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  line-height: 1.4;
}

.dwa-part-card .coming-label {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dwa-part-card:hover .coming-label {
  opacity: 1;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.dwa-about {
  padding: 6rem 0;
  border-top: 1px solid var(--border-subtle);
}

.dwa-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .dwa-about-grid { grid-template-columns: 1fr 1fr; }
}

.dwa-about-logo-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .dwa-about-logo-wrap { justify-content: flex-start; }
}

.dwa-about-logo-inner {
  position: relative;
}

.dwa-about-logo-glow {
  position: absolute;
  inset: 0;
  background: rgba(204, 0, 0, 0.15);
  filter: blur(48px);
  border-radius: 50%;
  transform: scale(1.1);
}

.dwa-about-logo-inner img {
  position: relative;
  width: 256px;
  height: 256px;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.5));
}

.dwa-about h2 .highlight {
  color: var(--red-light);
}

.dwa-about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.dwa-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.dwa-about-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red-light);
  margin-bottom: 0.25rem;
}

.dwa-about-stat-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.dwa-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-darker);
  padding: 2.5rem 0;
}

.dwa-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .dwa-footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.dwa-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dwa-footer-brand img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.dwa-footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.dwa-footer-brand-tagline {
  color: var(--text-faint);
  font-size: 0.75rem;
}

.dwa-footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dwa-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.dwa-footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.dwa-footer-copyright {
  color: var(--text-faint);
  font-size: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .dwa-footer-copyright { text-align: right; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================================
   BLOG STYLES
   ============================================================ */
.dwa-blog {
  padding: 8rem 0 4rem;
  min-height: 100vh;
}

.dwa-blog-header {
  margin-bottom: 3rem;
}

.dwa-blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.dwa-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .dwa-posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .dwa-posts-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.dwa-post-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s ease;
  overflow: hidden;
}

.dwa-post-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.dwa-post-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.dwa-post-card-body {
  padding: 1.5rem;
}

.dwa-post-card-body h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.dwa-post-card-body h2 a {
  transition: color 0.2s;
}

.dwa-post-card-body h2 a:hover {
  color: var(--red-light);
}

.dwa-post-meta {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.dwa-post-excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.dwa-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--red-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.2s;
}

.dwa-read-more:hover {
  gap: 0.75rem;
}

/* Single post */
.dwa-single {
  padding: 8rem 0 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.dwa-single-header {
  margin-bottom: 2rem;
}

.dwa-single-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .dwa-single-header h1 { font-size: 3rem; }
}

.dwa-single-content {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.dwa-single-content h2,
.dwa-single-content h3,
.dwa-single-content h4 {
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.dwa-single-content p {
  margin-bottom: 1.25rem;
}

.dwa-single-content a {
  color: var(--red-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dwa-single-content img {
  margin: 2rem 0;
  width: 100%;
}

.dwa-single-content blockquote {
  border-left: 3px solid var(--red-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--red-subtle);
  color: var(--text-secondary);
}

/* Pagination */
.dwa-pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.dwa-pagination a,
.dwa-pagination span {
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.dwa-pagination a:hover {
  border-color: var(--red-primary);
  color: #fff;
}

/* 404 Page */
.dwa-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.dwa-404 h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--red-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.dwa-404 h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.dwa-404 p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto; }

/* Screen reader text */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Comments */
.dwa-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.dwa-comments h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.comment-author {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.comment-content {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--red-primary);
}

.comment-respond .submit {
  background: var(--red-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-respond .submit:hover {
  background: var(--red-light);
}
