/*
Theme Name: Norm's Auto Clinic
Theme URI: https://www.normsautoclinic.com
Author: Norm's Auto Clinic
Description: Custom lightweight theme — minimalistic, fast, SEO-friendly design for Norm's Auto Clinic, Coweta Oklahoma.
Version: 1.0.0
License: GNU General Public License v2 or later
Tags: custom, minimal, business, auto-repair
Text Domain: norms-auto-clinic
*/

/* ─── 1. CSS Custom Properties ─────────────────────────────────────────────── */
:root {
  --navy:          #1a2744;
  --navy-dark:     #111d35;
  --navy-mid:      #243256;
  --orange:        #e8772a;
  --orange-dark:   #cc6520;
  --orange-light:  #fff4ec;
  --white:         #ffffff;
  --gray-50:       #f9fafb;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-300:      #d1d5db;
  --gray-500:      #6b7280;
  --gray-700:      #374151;
  --gray-900:      #111827;
  --text:          #1f2937;
  --text-light:    #6b7280;
  --border:        #e5e7eb;
  --radius:        6px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 2px 8px rgba(0,0,0,.10);
  --shadow-md:     0 4px 20px rgba(0,0,0,.12);
  --transition:    0.2s ease;
  --container:     1200px;
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', sans-serif;
}

/* ─── 2. Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
ul, ol { padding-left: 1.5rem; }
table  { border-collapse: collapse; width: 100%; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ─── 3. Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: .6em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em     { font-style: italic; }

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gray-700);
}

/* ─── 4. Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: .4em; }
.section-title p   { color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ─── 5. Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img { height: 48px; width: auto; }
.site-logo a   { display: flex; align-items: center; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .logo-name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.logo-text .logo-sub {
  font-size: .65rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* Primary Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: var(--gray-700);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav .current-menu-item > a,
.header-nav .current-page-ancestor > a {
  color: var(--navy);
  background: var(--gray-100);
}
.header-nav .current-menu-item > a {
  color: var(--orange);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-phone svg { width: 14px; height: 14px; opacity: .7; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }

/* ─── 6. Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(232,119,42,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: .8rem; }

/* ─── 7. Hero Section ──────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='200' cy='200' r='180'/%3E%3Ccircle cx='200' cy='200' r='120'/%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center center no-repeat;
  background-size: cover;
  opacity: .7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,119,42,.18);
  border: 1px solid rgba(232,119,42,.35);
  color: #ffb37c;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: .5em;
}
.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.80);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 3px;
}

/* ─── 8. Services Section ──────────────────────────────────────────────────── */
.services-section { background: var(--gray-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--orange);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: .5em;
  color: var(--navy);
}
.service-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.2em;
}
.service-card .card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .card-link:hover { color: var(--orange-dark); }
.service-card .card-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .card-link::after { transform: translateX(3px); }

/* ─── 9. Stats Bar ─────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ─── 10. About / Trust Section ─────────────────────────────────────────────── */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 { margin-bottom: .6em; }
.about-content .lead { margin-bottom: 1.5rem; }

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-700);
}
.about-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-badge-wrap {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.about-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.about-badge-icon svg { width: 22px; height: 22px; }
.about-badge-text { font-size: .78rem; }
.about-badge-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1;
}
.about-badge-text span { color: var(--text-light); }

/* ─── 11. Testimonials ──────────────────────────────────────────────────────── */
.testimonials-section { background: var(--gray-50); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-size: .875rem;
  color: var(--navy);
}
.author-info span {
  font-size: .78rem;
  color: var(--text-light);
}

/* ─── 12. Makes We Serve ────────────────────────────────────────────────────── */
.makes-section { background: var(--navy); padding: 56px 0; }
.makes-section .section-title h2 { color: var(--white); }
.makes-section .section-title p   { color: rgba(255,255,255,.6); }

.makes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.make-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
}
.make-tag:hover {
  background: rgba(232,119,42,.25);
  border-color: var(--orange);
  color: var(--white);
}

/* ─── 13. CTA Strip ────────────────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: .3em;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}
.cta-text p { color: rgba(255,255,255,.88); margin: 0; }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

.btn-white {
  background: var(--white);
  color: var(--orange-dark);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--orange-dark);
  border-color: var(--gray-100);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

/* ─── 14. Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-about .footer-logo-text {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.2;
}
.footer-logo-sub {
  font-size: .7rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-desc {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,.6);
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange);
}
.footer-contact-item a { color: rgba(255,255,255,.6); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-hours { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─── 15. Blog / Archive ────────────────────────────────────────────────────── */
.archive-page, .search-page { padding: 56px 0 72px; }

.page-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 1.75rem; margin-bottom: .3em; }
.page-header p   { color: var(--text-light); margin: 0; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.03); }

.post-card-no-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 2.5rem;
}

.post-card-body { padding: 24px; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.post-meta-cat {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 2px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.post-card h2 {
  font-size: 1.05rem;
  margin-bottom: .5em;
  line-height: 1.35;
}
.post-card h2 a { color: var(--navy); }
.post-card h2 a:hover { color: var(--orange); }

.post-excerpt {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.read-more:hover { color: var(--orange-dark); }
.read-more::after { content: '→'; }

/* Pagination */
.nav-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.nav-pagination .nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-pagination a,
.nav-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}
.nav-pagination a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.nav-pagination .current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.nav-pagination .dots { border-color: transparent; }

/* ─── 16. Single Post Layout ────────────────────────────────────────────────── */
.content-area { padding: 48px 0 72px; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Post Article */
.post-article {}

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}
.post-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.post-header { margin-bottom: 32px; }

.post-header .post-meta {
  margin-bottom: 12px;
}

.post-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--navy);
}

/* Article Body */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.entry-content h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
  margin-bottom: .6em;
  padding-bottom: .4em;
  border-bottom: 2px solid var(--orange-light);
  color: var(--navy);
}

.entry-content h3 {
  font-size: 1.15rem;
  margin-top: 1.8em;
  margin-bottom: .5em;
  color: var(--navy-mid);
}

.entry-content h4 {
  font-size: 1.05rem;
  margin-top: 1.5em;
  margin-bottom: .4em;
  color: var(--navy);
}

.entry-content p { margin-bottom: 1.3em; }

.entry-content ul, .entry-content ol {
  margin-bottom: 1.3em;
  padding-left: 1.6rem;
}
.entry-content li { margin-bottom: .4em; line-height: 1.7; }

.entry-content strong { color: var(--navy); }

.entry-content a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(232,119,42,.35);
  text-underline-offset: 2px;
}
.entry-content a:hover {
  color: var(--orange-dark);
  text-decoration-color: var(--orange-dark);
}

.entry-content blockquote {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--orange-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-700);
}

.entry-content table {
  margin: 1.5rem 0;
  font-size: .9rem;
}
.entry-content th,
.entry-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.entry-content th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}
.entry-content tr:nth-child(even) td { background: var(--gray-50); }

/* Gutenberg Block Styles */
.wp-block-image {
  margin: 2rem 0;
}
.wp-block-image img {
  border-radius: var(--radius);
  width: 100%;
}
.wp-element-caption,
figcaption {
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .5rem;
  font-style: italic;
}
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.wp-block-quote {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--orange-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.wp-block-quote p { font-style: italic; color: var(--gray-700); }
.wp-block-code, pre {
  background: var(--gray-900);
  color: #f8f8f8;
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: .875rem;
  margin: 1.5rem 0;
}

.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Post Footer */
.post-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  transition: background var(--transition);
}
.post-tag:hover { background: var(--orange-light); color: var(--orange-dark); }

/* ─── 17. Sidebar ───────────────────────────────────────────────────────────── */
.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* CTA Widget */
.widget-cta {
  background: var(--navy);
  border-color: var(--navy);
  text-align: center;
  padding: 28px 24px;
}
.widget-cta .widget-title { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.1); }
.widget-cta h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: .5em;
}
.widget-cta p {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
}
.widget-cta .phone-link {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.widget-cta .phone-link:hover { color: #ffb37c; }

/* Search Widget */
.sidebar-search { display: flex; gap: 8px; }
.sidebar-search input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  outline: none;
  transition: border-color var(--transition);
  color: var(--text);
}
.sidebar-search input:focus { border-color: var(--orange); }
.sidebar-search button {
  padding: 9px 16px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transition);
}
.sidebar-search button:hover { background: var(--orange); }

/* Recent Posts */
.recent-posts-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.recent-posts-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.recent-posts-list li:last-child { border-bottom: none; padding-bottom: 0; }
.recent-posts-list a {
  font-size: .875rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
  display: block;
  transition: color var(--transition);
}
.recent-posts-list a:hover { color: var(--orange); }

/* Hours Widget */
.hours-list {
  list-style: none;
  padding: 0;
  font-size: .875rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray-700);
}
.hours-list li:last-child { border-bottom: none; }
.hours-open { color: #16a34a; font-weight: 600; }
.hours-closed { color: var(--text-light); }

/* ─── 18. Page Template ─────────────────────────────────────────────────────── */
.page-content { padding: 48px 0 72px; }

.page-article {}

.page-title-area {
  background: var(--gray-50);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-title-area h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: .4em;
  color: var(--navy);
}
.page-title-area .breadcrumb {
  font-size: .8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-title-area .breadcrumb a { color: var(--text-light); }
.page-title-area .breadcrumb a:hover { color: var(--orange); }
.page-title-area .breadcrumb span::before { content: '/'; margin-right: 6px; }

/* ─── 19. 404 Page ──────────────────────────────────────────────────────────── */
.error-404-page {
  text-align: center;
  padding: 96px 0;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gray-200);
  margin-bottom: .2em;
}
.error-404-page h1 {
  font-size: 1.75rem;
  margin-bottom: .5em;
}
.error-404-page p {
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── 20. Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-orange { color: var(--orange); }
.text-light  { color: var(--text-light); }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ─── 21. Skip Link ─────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

/* ─── 22. Responsive ────────────────────────────────────────────────────────── */

/* Tablet: 768px – 1024px */
@media (max-width: 1024px) {
  .header-nav {
    justify-content: flex-start;
  }
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; margin-top: 40px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .header-inner { height: 64px; }
  .header-nav    { display: none; }
  .header-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 2px;
  }
  .header-nav.is-open a { width: 100%; padding: 10px 12px; }
  .header-cta .header-phone { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.4rem; }

  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .posts-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* Very small: < 480px */
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .about-badge-wrap { display: none; }
}
