/*
Theme Name: Jeff Smith State Farm
Theme URI: https://jeffdsmith.com
Author: Jeff D. Smith
Description: Clean, fast, SEO-friendly theme for Jeff D. Smith, State Farm Insurance Agent in Portsmouth, Ohio.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: jeffdsmith
*/

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
a { text-decoration: none; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --red:        #CC0033;
  --red-dk:     #a50029;
  --red-bg:     #fff0f3;
  --dark:       #111827;
  --dark-2:     #1f2937;
  --text:       #1f2937;
  --text-2:     #6b7280;
  --text-3:     #9ca3af;
  --border:     #e5e7eb;
  --bg:         #f9fafb;
  --white:      #ffffff;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --max-w: 1140px;
  --narrow: 740px;
  --gap: 1.5rem;

  --hdr: 70px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);

  --ease: 180ms ease;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

a { color: var(--red); }
a:hover { text-decoration: underline; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.7; }
p + p { margin-top: 1rem; }

strong { font-weight: 600; }

hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

blockquote {
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg);
  font-style: italic;
  color: var(--text-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}

code {
  font-family: var(--mono);
  font-size: 0.875em;
  background: var(--bg);
  padding: .15em .4em;
  border-radius: 4px;
}

pre {
  background: var(--dark);
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: .875rem;
}
pre code { background: none; padding: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap   { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gap); }
.narrow { max-width: var(--narrow); margin-inline: auto; padding-inline: var(--gap); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip { position: absolute; top: -9999px; left: 1rem; z-index: 9999; background: var(--dark); color: var(--white); padding: .5em 1em; border-radius: 0 0 var(--radius) var(--radius); font-size: .875rem; }
.skip:focus { top: 0; }

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

.btn-red   { background: var(--red);   color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }

.btn-ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }

.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }

.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); border-color: var(--dark-2); color: #fff; }

.btn-lg { padding: .75em 1.9em; font-size: 1.05rem; }
.btn-sm { padding: .4em 1em; font-size: .875rem; }

/* Focus */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--hdr);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.hdr-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--text);
}
.site-logo a:hover { text-decoration: none; }
.logo-main { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.logo-main em { font-style: normal; color: var(--red); }
.logo-sub  { font-size: .65rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); margin-top: 3px; }

/* Desktop nav */
.site-nav { flex: 1; }
.site-nav ul { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  display: block;
  padding: .45em .9em;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: color var(--ease), background var(--ease);
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-page-ancestor > a { color: var(--red); background: var(--red-bg); text-decoration: none; }

/* Dropdown */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .35rem 0;
  list-style: none;
  z-index: 200;
}
.site-nav .menu-item-has-children:hover .sub-menu,
.site-nav .menu-item-has-children:focus-within .sub-menu { display: block; }
.site-nav .sub-menu a { border-radius: 0; font-size: .875rem; padding: .5em 1.1em; white-space: nowrap; }

/* Header CTA */
.hdr-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.hdr-phone { font-size: 1.05rem; font-weight: 700; color: var(--red); white-space: nowrap; }
.hdr-phone:hover { color: var(--red-dk); text-decoration: underline; }

/* Hamburger */
.nav-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 7px;
  background: none;
  border: none;
  border-radius: var(--radius);
  margin-left: auto;
  flex-shrink: 0;
}
.nav-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
.nav-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-btn.open span:nth-child(2) { opacity: 0; }
.nav-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mob-nav {
  display: none;
  position: fixed;
  inset: var(--hdr) 0 0;
  background: var(--white);
  overflow-y: auto;
  padding: 1.5rem var(--gap) 3rem;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.mob-nav.open { display: block; }
.mob-nav ul { list-style: none; padding: 0; }
.mob-nav ul ul { padding-left: 1.25rem; border-left: 2px solid var(--border); margin: .35rem 0 .35rem .5rem; }
.mob-nav a { display: block; padding: .7em 0; font-size: 1rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--bg); }
.mob-nav a:hover { color: var(--red); text-decoration: none; }
.mob-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: .75rem;
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--red); text-decoration: none; }
.breadcrumbs .sep { opacity: .5; }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em 1em;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 1rem; font-size: clamp(2rem, 4.5vw, 3.1rem); }
.hero p  { color: rgba(255,255,255,.75); font-size: 1.15rem; max-width: 50ch; margin-bottom: 2rem; line-height: 1.6; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Trust bar */
.trust-bar { background: var(--red); padding: .8rem 0; }
.trust-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
.trust-item { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: #fff; white-space: nowrap; }
.trust-item::before { content: '✓'; font-size: .7rem; }
.trust-bar .sep { color: rgba(255,255,255,.3); font-size: .7rem; }

/* Coverage */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: #fff; }

.sec-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.section-dark .sec-label { color: rgba(255,255,255,.5); }
.sec-head { margin-bottom: .75rem; }
.sec-sub  { color: var(--text-2); max-width: 56ch; }
.section-dark .sec-sub { color: rgba(255,255,255,.6); }
.section-dark .sec-head { color: #fff; }

.section-hd { margin-bottom: 3rem; }
.section-hd.center { text-align: center; }
.section-hd.center .sec-sub { margin-inline: auto; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* Coverage card */
.cov-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--text);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.cov-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cov-card .icon { font-size: 2rem; margin-bottom: .75rem; line-height: 1; }
.cov-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.cov-card p  { font-size: .875rem; color: var(--text-2); line-height: 1.55; }
.cov-card .more { display: inline-block; margin-top: .65rem; font-size: .8rem; font-weight: 700; color: var(--red); }

/* About strip */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.about-img .img-placeholder {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,.15);
}
.about-text h2 { margin-bottom: 1rem; }
.about-text > p { color: var(--text-2); margin-bottom: 1.25rem; }
.points { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .75rem; }
.point { display: flex; gap: .75rem; align-items: flex-start; }
.point-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 800;
  margin-top: 3px;
}
.point strong { display: block; font-size: .95rem; margin-bottom: 1px; }
.point span   { font-size: .85rem; color: var(--text-2); line-height: 1.5; }

/* Service areas */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2.5rem; }
.chip {
  display: inline-block;
  padding: .4em 1.1em;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.chip:hover { background: var(--red); border-color: var(--red); color: #fff; text-decoration: none; }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg); }
.post-card-img a { display: block; width: 100%; height: 100%; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card-cat  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .4rem; }
.post-card h3   { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.35; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--red); text-decoration: none; }
.post-card-exc  { font-size: .875rem; color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-foot { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--bg); display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--text-3); }
.post-card-foot a { font-size: .8rem; font-weight: 700; color: var(--red); }
.post-card-foot a:hover { text-decoration: underline; }

/* CTA banner */
.cta-band { background: var(--red); color: #fff; padding: 4.5rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 52ch; margin: 0 auto 2rem; }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   INNER PAGES
   ============================================================ */

/* Page banner */
.page-banner { background: var(--bg); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.page-banner h1 { margin-top: .25rem; }

/* Content */
.page-body { padding: 3.5rem 0; }
.entry-content { line-height: 1.8; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content > * + h2 { margin-top: 2.75rem; }
.entry-content > * + h3 { margin-top: 2.25rem; }
.entry-content h2:first-child,
.entry-content h3:first-child { margin-top: 0; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content a:hover { color: var(--red-dk); }
.entry-content ul,
.entry-content ol { padding-left: 1.5em; list-style: revert; }
.entry-content li { margin-bottom: .4rem; }
.entry-content img { border-radius: var(--radius); max-width: 100%; height: auto; margin: .5rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.entry-content th,
.entry-content td { padding: .65em 1em; text-align: left; border-bottom: 1px solid var(--border); }
.entry-content thead th { background: var(--dark); color: #fff; border-bottom-color: var(--dark); }
.entry-content tr:nth-child(even) td { background: var(--bg); }

/* Featured image for pages */
.page-feat { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2.5rem; display: block; box-shadow: var(--shadow); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hdr { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.post-cat  { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: .6rem; display: block; }
.post-hdr h1 { margin-bottom: .75rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .82rem; color: var(--text-3); }
.post-meta .sep { opacity: .4; }

.post-feat { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2.5rem; display: block; box-shadow: var(--shadow); }

/* First image block inside a post gets hero-image treatment */
.entry-content > .wp-block-image:first-child img,
.entry-content > figure.wp-block-image:first-child img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.post-cta-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin-top: 3rem; }
.post-cta-box h3 { margin-bottom: .5rem; }
.post-cta-box p  { color: var(--text-2); margin-bottom: 1.25rem; max-width: 52ch; margin-inline: auto; }
.post-cta-box .btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.post-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 2.5rem 0; border-top: 1px solid var(--border); margin-top: 2rem; }
.pnav-link { display: flex; flex-direction: column; gap: .25rem; max-width: 46%; text-decoration: none; color: var(--text-2); font-size: .875rem; font-weight: 600; }
.pnav-link:hover { color: var(--red); text-decoration: none; }
.pnav-label { font-size: .72rem; font-weight: 400; color: var(--text-3); }
.pnav-link.next { text-align: right; margin-left: auto; }

.related { background: var(--bg); padding: 3.5rem 0; }
.related h2 { text-align: center; margin-bottom: 2rem; font-size: 1.35rem; }

/* ============================================================
   ARCHIVE / SEARCH
   ============================================================ */
.archive-hdr { background: var(--bg); border-bottom: 1px solid var(--border); padding: 2.5rem 0; margin-bottom: 3rem; }
.archive-hdr h1 { margin-top: .25rem; }
.archive-hdr p  { color: var(--text-2); margin-top: .4rem; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem; padding: 3rem 0; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 .6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.pagination a:hover { border-color: var(--red); color: var(--red); background: var(--red-bg); text-decoration: none; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .dots { border-color: transparent; color: var(--text-3); }

/* ============================================================
   404
   ============================================================ */
.pg-404 { text-align: center; padding: 5rem 1rem; }
.pg-404-code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 900; color: var(--bg); line-height: 1; letter-spacing: -.05em; margin-bottom: 1rem; }
.pg-404 h1 { margin-bottom: .75rem; }
.pg-404 p  { color: var(--text-2); max-width: 42ch; margin-inline: auto; margin-bottom: 2rem; }
.pg-404 .quick-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 560px; margin: 2rem auto 0; }
.pg-404 .chip { background: var(--bg); border-color: var(--border); color: var(--text-2); }
.pg-404 .chip:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   GUTENBERG BLOCK SUPPORT
   ============================================================ */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--radius); max-width: 100%; height: auto; }
.wp-element-caption { font-size: .8rem; color: var(--text-3); text-align: center; margin-top: .4rem; font-style: italic; }

.wp-block-table { overflow-x: auto; margin: 1.5rem 0; }
.wp-block-table table { width: 100%; border-collapse: collapse; min-width: 400px; }
.wp-block-table th,
.wp-block-table td { padding: .65em 1em; border-bottom: 1px solid var(--border); font-size: .9rem; text-align: left; vertical-align: top; }
.wp-block-table thead th { background: var(--dark); color: #fff; }
.wp-block-table tbody tr:nth-child(even) { background: var(--bg); }

.wp-block-separator { border: none; border-top: 1px solid var(--border); margin: 2rem 0; max-width: none; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: .6em 1.4em;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: opacity var(--ease), transform var(--ease);
  border: 2px solid transparent;
  line-height: 1.4;
}
.wp-block-button__link:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--red) !important;
  border-color: var(--red) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--red) !important; color: #fff !important; opacity: 1; }

.wp-block-group { margin: 1.5rem 0; }
.wp-block-group.has-background { border-radius: var(--radius); padding: 1.5rem; overflow: hidden; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
.wp-block-column { flex: 1; min-width: 200px; }

.wp-block-list { padding-left: 1.5em; list-style: revert; margin: 1rem 0; }
.wp-block-list li { margin-bottom: .4rem; }

.has-vivid-red-background-color { background-color: #CF2E2E !important; }
.has-white-color { color: #fff !important; }
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }
.has-large-font-size { font-size: 1.5rem; }
.has-small-font-size { font-size: .875rem; }
.alignwide  { max-width: 100%; }
.alignfull  { margin-inline: calc(-1 * var(--gap)); width: calc(100% + 2 * var(--gap)); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 4rem 0 0; }

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

.ftr-brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.ftr-brand a:hover { text-decoration: none; }
.ftr-brand .logo-main { color: #fff; font-size: 1.3rem; }
.ftr-brand .logo-sub  { color: rgba(255,255,255,.35); }
.ftr-brand p { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.5); max-width: 34ch; }
.ftr-addr { margin-top: 1.25rem; font-size: .82rem; line-height: 1.8; font-style: normal; color: rgba(255,255,255,.45); }
.ftr-addr strong { color: rgba(255,255,255,.8); display: block; font-size: .9rem; margin-bottom: 2px; }

.ftr-col h4 { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
.ftr-links { display: flex; flex-direction: column; gap: .6rem; }
.ftr-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--ease); }
.ftr-links a:hover { color: #fff; text-decoration: none; }

.ftr-phone { display: block; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .35rem; }
.ftr-phone:hover { color: rgba(255,200,200,1); text-decoration: underline; }
.ftr-email { font-size: .875rem; color: rgba(255,255,255,.55); }
.ftr-email:hover { color: #fff; text-decoration: underline; }
.ftr-hours { margin-top: 1rem; font-size: .75rem; color: rgba(255,255,255,.3); line-height: 1.9; }

.ftr-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.25rem 0;
}
.ftr-bottom p { font-size: .72rem; color: rgba(255,255,255,.25); line-height: 1.6; }
.ftr-legal { display: flex; gap: 1.25rem; }
.ftr-legal a { font-size: .72rem; color: rgba(255,255,255,.25); }
.ftr-legal a:hover { color: rgba(255,255,255,.6); text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: span 2; }
  .about-cols { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --hdr: 60px; --gap: 1rem; }

  .logo-sub { display: none; }
  .logo-main { font-size: 1.25rem; }

  .site-nav, .hdr-cta .btn { display: none; }
  .nav-btn { display: flex; }
  .hdr-phone { font-size: .9rem; }

  .section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .cta-band { padding: 3rem 0; }

  .about-cols { grid-template-columns: 1fr; }
  .about-img { display: none; }

  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-brand { grid-column: auto; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }

  .grid-4 { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .cta-band-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .trust-list { justify-content: flex-start; }
  .trust-bar .sep { display: none; }
  .post-nav { flex-direction: column; }
  .pnav-link { max-width: 100%; }
  .pnav-link.next { text-align: left; margin-left: 0; }
}
