/*
Theme Name: Double A Fitness
Theme URI: https://doubleafitness.com
Author: Double A Fitness
Description: Personal training studio landing theme for Mesa, AZ. Ported from a static HTML design.
Version: 0.2.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: double-a-fitness
*/

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

:root {
  --black:    #1A1A1A;
  --red:      #C0392B;
  --red-dark: #a93226;
  --white:    #F7F7F7;
  --gray-mid: #4A4A4A;
  --gray-lt:  #E8E8E8;
  --gray-bg:  #EFEFEF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--gray-mid);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── UTILITY ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--black);
  line-height: 1.15;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: .5px;
}
.logo span { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.site-nav a:hover { color: #fff; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 32px; margin: 0; padding: 0; }
.nav-cta .btn { padding: 11px 22px; font-size: 13px; }

/* ─── MOBILE NAV (hamburger + panel) ─── */
.nav-toggle {
  display: none; /* shown on mobile via media query */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Keep the toggle transparent in every state (out-specify the generic button:hover). */
.site-header .nav-toggle,
.site-header .nav-toggle:hover,
.site-header .nav-toggle:focus,
.site-header .nav-toggle:active { background: none; box-shadow: none; }

.mobile-nav {
  display: none; /* enabled on mobile via media query */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-nav.open { max-height: 85vh; overflow-y: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 6px 0; }
.mobile-nav a {
  display: block;
  padding: 15px 24px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .2s, color .2s;
}
.mobile-nav a:hover,
.mobile-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.05); }
.mobile-nav-cta { padding: 18px 24px 22px; }
.mobile-nav-cta .btn { display: block; text-align: center; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d0d0d 0%, #1f1f1f 60%, #2a1a1a 100%);
  overflow: hidden;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 280px;
  font-weight: 700;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-accent {
  position: absolute;
  left: 0; top: 0;
  width: 5px; height: 100%;
  background: var(--red);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 48px 0; }
.hero-eyebrow {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(192,57,43,.12);
  border: 1px solid rgba(192,57,43,.3);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.08;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin-bottom: 38px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .3px;
}
.trust-item .stars { color: #f5c518; margin-right: 4px; }
.trust-sep { width: 1px; height: 16px; background: rgba(255,255,255,.2); }

/* ─── WHO WE HELP ─── */
.who { background: var(--white); }
.section-label {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.who h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }
.who-intro { font-size: 18px; color: var(--gray-mid); max-width: 600px; margin-bottom: 52px; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow .2s, border-color .2s;
}
.who-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); border-color: #d0d0d0; }
.who-icon {
  width: 44px; height: 44px;
  background: rgba(192,57,43,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.who-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--black); }
.who-card p { font-size: 15px; line-height: 1.65; color: var(--gray-mid); }

/* ─── SERVICES ─── */
.services { background: var(--black); }
.services .section-label { color: var(--red); }
.services h2 { font-size: clamp(32px, 4vw, 46px); color: #fff; margin-bottom: 12px; }
.services-intro { color: rgba(255,255,255,.7); max-width: 580px; margin-bottom: 52px; font-size: 17px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 36px 30px;
  transition: background .2s, border-color .2s;
}
.service-card:hover { background: rgba(255,255,255,.08); border-color: rgba(192,57,43,.5); }
.service-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(192,57,43,.25);
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 22px; color: #fff; margin-bottom: 14px; }
.service-card p { font-size: 15px; color: rgba(255,255,255,.68); line-height: 1.65; margin-bottom: 20px; }
.service-tag {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  width: 100%;
}
.services-cta { margin-top: 48px; text-align: center; }
.services-cta p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 14px; }

/* ─── WHY CHOOSE ─── */
.why { background: var(--gray-bg); }
.why h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 12px; }
.why-intro { font-size: 18px; max-width: 560px; margin-bottom: 52px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-item {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--gray-lt);
}
.why-item-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
}
.why-item h3 { font-size: 20px; color: var(--black); margin-bottom: 8px; }
.why-item p { font-size: 15px; line-height: 1.65; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--white); }
.testimonials h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.testimonials-intro { max-width: 580px; margin-bottom: 52px; font-size: 17px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
.testimonial-card {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 32px 28px;
  border-left: 4px solid var(--red);
}
.testimonial-stars { color: #f5c518; font-size: 14px; margin-bottom: 16px; }
.testimonial-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-mid);
  flex-shrink: 0;
}
.author-name {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--black);
}
.author-result {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
}
.results-banner {
  background: var(--black);
  border-radius: 8px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.results-stat { text-align: center; }
.results-stat .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.results-stat .label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  font-family: 'Barlow', sans-serif;
}
.results-divider { width: 1px; height: 60px; background: rgba(255,255,255,.1); }

/* ─── LOCATION ─── */
.location { background: var(--black); }
.location h2 { font-size: clamp(30px, 4vw, 44px); color: #fff; margin-bottom: 20px; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.location-body { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 28px; line-height: 1.7; }
.location-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.area-chip {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  padding: 8px 16px;
  border-radius: 100px;
}
.area-chip.primary { background: rgba(192,57,43,.2); border-color: rgba(192,57,43,.4); color: #fff; }
.location-info { margin-bottom: 28px; }
.location-info-row {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,.7); font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.location-info-row:last-child { border-bottom: none; }
.loc-icon { font-size: 16px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.map-placeholder {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,.4);
  font-size: 14px;
  text-align: center;
}
.map-placeholder .map-icon { font-size: 40px; margin-bottom: 4px; color: rgba(255,255,255,.2); }

/* ─── FAQ ─── */
.faq { background: var(--white); }
.faq h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.faq-intro { font-size: 17px; max-width: 560px; margin-bottom: 48px; }
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--gray-lt);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--red); background: none; }
.faq-chevron {
  font-size: 18px;
  color: var(--red);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer-inner { padding-bottom: 22px; font-size: 16px; line-height: 1.7; color: var(--gray-mid); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── FINAL CTA ─── */
.final-cta { background: var(--red); }
.final-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.65; margin-bottom: 24px; }
.cta-trust { display: flex; align-items: center; gap: 8px; }
.cta-trust .stars { color: #fff; font-size: 14px; }
.cta-trust span { color: rgba(255,255,255,.8); font-size: 13px; font-family: 'Barlow', sans-serif; }

.lead-form {
  background: #fff;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 22px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--red); }
.form-row textarea { resize: vertical; min-height: 90px; }
.lead-form .form-submit {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  margin-top: 4px;
  transition: background .2s;
}
.lead-form .form-submit:hover { background: var(--red-dark); }
.form-disclaimer {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  text-align: center;
  line-height: 1.5;
}

/* ─── FOOTER ─── */
.site-footer { background: #111; color: rgba(255,255,255,.65); }
.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { font-size: 20px; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-contact-icon { color: var(--red); flex-shrink: 0; font-size: 14px; margin-top: 2px; }
.footer-seo {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 0;
}
.footer-seo p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 900px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: background .2s, color .2s;
}
.social-link:hover { background: var(--red); color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .final-cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .results-banner { justify-content: center; gap: 20px; }
  .results-divider { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .who-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { min-height: 75vh; }
  .hero-bg-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
}

/* ─── BLOG ─── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d 0%, #1f1f1f 60%, #2a1a1a 100%);
  padding: 72px 0 56px;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); color: #fff; margin-bottom: 16px; }
.page-hero-sub { color: rgba(255,255,255,.75); font-size: 18px; max-width: 620px; line-height: 1.6; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); border-color: #d0d0d0; }
.blog-card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.blog-card-title { font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
.blog-card-title a:hover { color: var(--red); }
.blog-card-excerpt { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.blog-card-link {
  margin-top: auto;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--red);
}
.blog-card-link:hover { color: var(--red-dark); }

.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-pagination a,
.blog-pagination .current {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 5px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--gray-lt);
  color: var(--gray-mid);
}
.blog-pagination a:hover { border-color: var(--red); color: var(--red); }
.blog-pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* Single post */
.post-single { max-width: 760px; margin: 0 auto; }
.post-single-thumb { margin-bottom: 32px; border-radius: 8px; overflow: hidden; }
.post-content { font-size: 17px; line-height: 1.8; }
.post-content h2 { font-size: 30px; margin: 36px 0 14px; }
.post-content h3 { font-size: 24px; margin: 30px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin: 0 0 20px 22px; }
.post-content li { margin-bottom: 8px; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content img { border-radius: 8px; margin: 24px 0; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-style: italic;
  color: var(--black);
}
.post-back { margin-top: 40px; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ─── GENERIC PAGE (page.php) ─── */
.page-content { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: var(--gray-mid); }
.page-content > *:first-child { margin-top: 0; }
.page-content h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 44px 0 16px;
  padding-top: 8px;
}
.page-content h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 16px;
}
.page-content h3 { font-size: 21px; margin: 28px 0 8px; color: var(--black); }
.page-content p { margin-bottom: 18px; }
.page-content a { color: var(--red); text-decoration: underline; }
.page-content .lead { font-size: 20px; line-height: 1.6; color: var(--black); }
/* Clean "feature" lists (the emoji/checkmark bullets from the source content). */
.page-content ul { list-style: none; margin: 0 0 24px; padding: 0; }
.page-content ul li {
  padding: 11px 0 11px 2px;
  border-bottom: 1px solid var(--gray-lt);
  font-size: 16px;
}
.page-content ul li:last-child { border-bottom: none; }

/* Trainer profile card (Trainers page) */
.trainer-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-left: 5px solid var(--red);
  border-radius: 10px;
  padding: 36px 34px;
  margin: 8px 0 28px;
}
.trainer-card h2 { margin: 0 0 4px; font-size: 30px; }
.trainer-card h2::before { display: none; }
.trainer-role {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.trainer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-lt);
}
.trainer-meta > div { display: flex; flex-direction: column; gap: 4px; }
.trainer-meta strong {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}
.trainer-meta span { font-size: 15px; color: var(--gray-mid); }

/* Bottom CTA band on pages */
.page-cta { background: var(--black); text-align: center; padding: 66px 0; }
.page-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.page-cta p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 28px; font-size: 17px; }

/* ─── CONTACT PAGE ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-details { margin-top: 24px; }
.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-lt);
  font-size: 15px;
  color: var(--gray-mid);
}
.contact-detail-row:last-child { border-bottom: none; }
.contact-detail-row a { color: var(--gray-mid); }
.contact-detail-row a:hover { color: var(--red); }
.contact-detail-row .loc-icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-map { height: 320px; }
}

/* ════════════════════════════════════════════
   WORDPRESS DEFAULTS / BASE
   Styles the markup WordPress generates itself —
   comment form, comments, search, default buttons,
   block content, captions, alignments — so anything
   outside the hand-built landing page still looks
   on-brand.
════════════════════════════════════════════ */

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

/* ─── Generic form controls (WP-generated forms) ─── */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
textarea { resize: vertical; min-height: 120px; }

/* ─── Default buttons (comment submit, block buttons, etc.) ─── */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link {
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.wp-block-button__link:hover {
  background: var(--red-dark);
  color: #fff;
}
/* The bespoke landing-page controls (.btn, .form-submit, .faq-question) use
   class selectors, which already win over these element-level defaults. */

/* ─── Search form ─── */
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form .search-field { flex: 1; min-width: 200px; }

/* ─── Comments area ─── */
.post-comments {
  max-width: 760px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gray-lt);
}
.comments-title,
.comment-reply-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}
.comment-reply-title small { font-size: 14px; margin-left: 10px; }

.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list ol.children { list-style: none; margin: 0 0 0 28px; padding: 0; }
.comment-list li.comment { margin-bottom: 22px; }
.comment-body {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 22px 24px;
  position: relative;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-style: normal;
  color: var(--black);
}
.comment-author .says { display: none; }
.comment-meta { font-size: 12px; margin-bottom: 10px; }
.comment-meta a { color: #999; }
.comment-metadata { display: inline; }
.comment-content { font-size: 15px; line-height: 1.7; }
.comment-content p { margin-bottom: 12px; }
.comment-content p:last-child { margin-bottom: 0; }
.reply { margin-top: 10px; }
.comment-reply-link,
.comment-edit-link {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--red);
}
.comment-reply-link:hover { color: var(--red-dark); }
.bypostauthor > .comment-body { border-left: 4px solid var(--red); }

/* ─── Comment form ─── */
.comment-respond { margin-top: 8px; }
.comment-form { display: block; }
.comment-form p { margin-bottom: 16px; }
.comment-form label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.comment-notes,
.comment-form-cookies-consent {
  font-size: 13px;
  color: #999;
  line-height: 1.5;
}
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form-cookies-consent input { width: auto; margin-right: 8px; }
.comment-form .form-submit { margin-bottom: 0; }
.no-comments {
  font-style: italic;
  color: #999;
  padding: 14px 0;
}

/* ─── WordPress core content classes ─── */
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption {
  font-size: 13px;
  color: #999;
  text-align: center;
  padding: 8px 0;
}
figure { margin: 24px 0; }
.sticky { display: block; }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.post-content th,
.post-content td {
  border: 1px solid var(--gray-lt);
  padding: 10px 14px;
  text-align: left;
}
.post-content th { background: var(--gray-bg); font-family: 'Barlow', sans-serif; }
.post-content code,
.post-content pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--gray-bg);
  border-radius: 4px;
}
.post-content code { padding: 2px 6px; font-size: 90%; }
.post-content pre { padding: 18px 20px; overflow-x: auto; margin: 24px 0; }

/* ─── WPForms (consultation form in the lead-form card) ─── */
.lead-form .wpforms-container { margin: 0; }
.lead-form .wpforms-form .wpforms-field { padding: 0 0 16px; }
.lead-form .wpforms-form .wpforms-field-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-mid);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.lead-form .wpforms-form .wpforms-required-label { color: var(--red); }
.lead-form .wpforms-form input[type="text"],
.lead-form .wpforms-form input[type="email"],
.lead-form .wpforms-form input[type="tel"],
.lead-form .wpforms-form select,
.lead-form .wpforms-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: #fff;
}
.lead-form .wpforms-form input:focus,
.lead-form .wpforms-form select:focus,
.lead-form .wpforms-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
  outline: none;
}
.lead-form .wpforms-form textarea { min-height: 100px; resize: vertical; }
/* WPForms caps medium/small fields at 60%/25% via `.wpforms-container
   select.wpforms-field-medium` (specificity 0,2,1). Override with a higher-
   specificity rule so all controls span the card full-width. */
.lead-form .wpforms-form input.wpforms-field-small,
.lead-form .wpforms-form input.wpforms-field-medium,
.lead-form .wpforms-form input.wpforms-field-large,
.lead-form .wpforms-form select.wpforms-field-small,
.lead-form .wpforms-form select.wpforms-field-medium,
.lead-form .wpforms-form select.wpforms-field-large,
.lead-form .wpforms-form .wpforms-field-row.wpforms-field-medium {
  width: 100%;
  max-width: 100%;
}
.lead-form .wpforms-form .wpforms-field-description {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
/* Submit button — full-width to match the original design. */
.lead-form .wpforms-form .wpforms-submit-container { margin-top: 4px; }
.lead-form .wpforms-form button.wpforms-submit,
.lead-form .wpforms-form input.wpforms-submit {
  width: 100%;
  padding: 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s;
}
.lead-form .wpforms-form button.wpforms-submit:hover,
.lead-form .wpforms-form input.wpforms-submit:hover { background: var(--red-dark); }
/* Validation + confirmation messaging. */
.lead-form .wpforms-form .wpforms-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
}
.lead-form .wpforms-form input.wpforms-error,
.lead-form .wpforms-form select.wpforms-error,
.lead-form .wpforms-form textarea.wpforms-error { border-color: var(--red); }
.lead-form .wpforms-confirmation-container-full,
.lead-form .wpforms-confirmation-container,
div.wpforms-container .wpforms-confirmation-container-full {
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.25);
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.6;
}
.lead-form .wpforms-confirmation-container-full,
.lead-form .wpforms-confirmation-container-full p,
.lead-form .wpforms-confirmation-container,
.lead-form .wpforms-confirmation-container p,
div.wpforms-container .wpforms-confirmation-container-full,
div.wpforms-container .wpforms-confirmation-container-full p {
  color: var(--black);
}
