/*
Theme Name: D.B. Lunt Electrical
Author: Antigravity
Description: Custom WordPress theme for D.B. Lunt Electrical Contractors.
Version: 2.1
*/

/* ============================================================
   DESIGN SYSTEM — D.B. Lunt Electrical Contractors
   Brand Colors: #141516 (Black), #710d21 (Red), #F5F5F5 (Light)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --brand-black: #141516;
  --brand-red: #710d21;
  --brand-light: #F5F5F5;
  --brand-white: #ffffff;
  --brand-red-hover: #8a1029;
  --brand-red-dark: #5a0a1a;
  --text-primary: #141516;
  --text-secondary: #4a4a4a;
  --text-muted: #717171;
  --border-light: #e5e5e5;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--brand-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

h1:first-child, h2:first-child, h3:first-child {
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { 
  color: var(--text-secondary); 
  line-height: 1.8; 
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 60px; }
}

.section-padding {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 120px 0; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--brand-white);
  border-color: var(--brand-red);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--brand-black);
  color: var(--brand-white);
  border-color: var(--brand-black);
}

.btn-secondary:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-black);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: var(--brand-light);
  border-color: var(--brand-black);
}

.btn-white {
  background: var(--brand-white);
  color: var(--brand-black);
  border-color: var(--brand-white);
}

.btn-white:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-body {
  padding: 32px;
}

/* ============================================================
   UTILITY BAR (Top)
   ============================================================ */
.utility-bar {
  background: var(--brand-black);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 0;
}

.utility-bar a {
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.utility-bar a:hover {
  color: var(--brand-white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 5px 0;
}

.site-header nav {
  transition: padding 0.3s ease;
}

.site-header.scrolled nav {
  padding: 6px 0 !important;
}

.site-header a[aria-label="D.B. Lunt Home"] {
  transition: width 0.3s ease;
  overflow: visible;
  flex-shrink: 0;
}

.site-header.scrolled a[aria-label="D.B. Lunt Home"] {
  width: 140px !important;
}

/* Navigation & Dropdowns */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  background-color: white;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  padding: 12px 0;
  z-index: 1000;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  top: 100%;
  left: 0;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

/* Hover bridge to prevent closure when moving between link and menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  z-index: 999;
  display: none;
}

.nav-dropdown:hover::after {
  display: block;
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.dropdown-content a {
  color: var(--brand-black);
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  transition: var(--transition);
}

.dropdown-content a:hover {
  background-color: var(--brand-light);
  color: var(--brand-red);
}

.nav-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--brand-red);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--brand-black);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-black) 0%, rgba(20,21,22,0.85) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand-red);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-red);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--brand-red);
  color: var(--brand-white);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--brand-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.trust-logo {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0.6;
  transition: var(--transition);
}

.trust-logo:hover {
  opacity: 1;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
  background: var(--brand-black);
  color: var(--brand-white);
  border: none;
  box-shadow: var(--shadow-xl);
}

.star-rating {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 3px;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-black);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.site-footer h4 {
  color: var(--brand-white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-link {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--brand-white);
  padding-left: 4px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--brand-white);
  font-size: 18px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--brand-red);
  transform: translateY(-2px);
}

/* ============================================================
   POPUP / MODAL
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,21,22,0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-modal {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.active .popup-modal {
  transform: scale(1) translateY(0);
}

.popup-header {
  background: var(--brand-red);
  color: var(--brand-white);
  padding: 32px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: var(--brand-white);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.popup-close:hover {
  background: rgba(255,255,255,0.3);
}

.popup-body {
  padding: 32px;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--brand-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(113, 13, 33, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23141516'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  padding-right: 40px;
  cursor: pointer;
}

/* ============================================================
   CHATBOT PLACEHOLDER
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
}

.chatbot-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--brand-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.chatbot-trigger:hover {
  background: var(--brand-red-hover);
  transform: scale(1.1);
}

.chatbot-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.chatbot-window.active {
  display: flex;
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-cta .btn {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
  .floating-cta {
    bottom: 16px;
    gap: 8px;
  }
  .floating-cta .btn {
    padding: 12px 20px;
    font-size: 12px;
  }
}

/* ============================================================
   GALLERY / LIGHTBOX
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--brand-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,21,22,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,21,22,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse-subtle 2s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { 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); }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,21,22,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 85vw;
  max-width: 400px;
  background: var(--brand-white);
  z-index: 1005;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.mobile-nav-link:hover {
  color: var(--brand-red);
}

/* ============================================================
   PAGE HERO (Interior Pages)
   ============================================================ */  
.page-hero {
  background: var(--brand-black);
  color: var(--brand-white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.team-photo {
  aspect-ratio: 1;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-muted);
}

.team-info {
  padding: 24px;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--brand-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-thumbnail {
  aspect-ratio: 16/9;
  background: var(--brand-light);
  overflow: hidden;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumbnail img {
  transform: scale(1.05);
}

.blog-meta {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover {
  color: var(--brand-red);
}

.faq-icon {
  font-size: 24px;
  color: var(--brand-red);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   WORDPRESS BASE CLASSES
   ============================================================ */
.aligncenter { display: block; margin: 0 auto; clear: both; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; }
.wp-caption-text { text-align: center; font-size: 0.875rem; color: var(--text-muted); }
.gallery-caption { display: block; font-size: 0.875rem; color: var(--text-muted); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   MISC HELPERS
   ============================================================ */
.text-brand-red { color: var(--brand-red); }
.bg-brand-red { background-color: var(--brand-red); }
.text-brand-black { color: var(--brand-black); }
.bg-brand-black { background-color: var(--brand-black); }
.bg-brand-light { background-color: var(--brand-light); }

.visually-hidden {
  position: absolute;
  clip: rect(0,0,0,0);
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
}
/* ============================================================
   BLOG / SINGLE POST ENHANCEMENTS
   ============================================================ */
.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

article header {
  margin-bottom: 3rem !important;
}

.site-main article {
  padding-bottom: 2rem;
}
