/*
Theme Name:  OKC Lawyers Blog
Theme URI:   https://www.mapleslawokc.com/blog/
Description: Custom WordPress blog theme for Maples Harrison Zeaman PLLC. Matches the main site inside-page template design.
Author:      SLS Consulting
Version:     1.0
Text Domain: okc-lawyers
*/

/* ============================================================
   FONT FACES — shared from main site /fonts/ directory
   ============================================================ */
@font-face {
  font-display: swap;
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/rozha-one-v17-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/kumbh-sans-v27-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/kumbh-sans-v27-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/kumbh-sans-v27-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/kumbh-sans-v27-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Kumbh Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/kumbh-sans-v27-latin-700.woff2') format('woff2');
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-site-bg:   #0a0b0f;
  --color-white:     #ffffff;
  --color-black:     #000000;
  --color-red:       #c0392b;
  --color-coral:     #f7aaa4;
  --color-charcoal:  #292527;
  --color-navy:      #001824;
  --color-ink:       #0f1f2b;

  --font-display: 'Rozha One', Georgia, serif;
  --font-body:    'Kumbh Sans', 'Segoe UI', Tahoma, sans-serif;

  --canvas-max:         1920px;
  --side-padding-mob:   20px;
  --side-padding-tab:   30px;
  --side-padding-desk:  clamp(40px, calc(40px + (100vw - 951px) * 0.155), 190px);

  --section-padding-mob:  60px;
  --section-padding-tab:  70px;
  --section-padding-desk: 100px;

  --btn-radius:      50px;
  --card-radius:     20px;
  --transition-speed: 250ms;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-site-bg);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-nav {
  position: absolute; top: -100%; left: 50%;
  transform: translateX(-50%);
  background: var(--color-red); color: var(--color-white);
  padding: 12px 24px; border-radius: 0 0 8px 8px;
  font-weight: 600; z-index: 10000;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

:focus-visible { outline: 3px solid var(--color-red); outline-offset: 2px; }

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
  display: inline-block;
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, calc(16px + (100vw - 375px) * 0.0138), 24px);
  line-height: 1;
  padding: clamp(16px, calc(16px + (100vw - 375px) * 0.0028), 18px) clamp(40px, calc(40px + (100vw - 375px) * 0.0166), 52px);
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease, filter var(--transition-speed) ease;
  text-align: center;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.1); }
.btn:active { filter: brightness(0.95); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--color-white);
  transition: transform 0.35s ease, box-shadow 0.3s ease;
}
.site-header--scrolled  { box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.site-header--hidden    { transform: translateY(-100%); }
.site-header--revealed  { transform: translateY(0); }

#main-content { padding-top: 85px; }

.nav__inner {
  max-width: var(--canvas-max); margin: 0 auto;
  padding: 0 var(--side-padding-mob);
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav__logo img { display: block; width: 120px; height: auto; }

.nav__links { display: none; gap: 32px; }

.nav__item > a {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  color: var(--color-black); padding: 8px 0;
  position: relative; transition: color var(--transition-speed) ease;
}
.nav__item > a:hover { color: var(--color-red); }

/* Dropdown */
.nav__dropdown {
  position: absolute; top: calc(100% + 15px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white); min-width: 240px; padding: 0;
  border-radius: 8px 8px 0 0; border-bottom: 4px solid var(--color-red);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 100;
}
.nav__dropdown::before {
  content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px;
}
.nav__dropdown::after {
  content: ''; position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-bottom: 8px solid var(--color-white);
}
.nav__item--has-dropdown { position: relative; }
.nav__item--has-dropdown:hover > .nav__dropdown,
.nav__item--has-dropdown:focus-within > .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li { border-bottom: 1px solid #e0e0e0; }
.nav__dropdown li:last-child { border-bottom: none; }
.nav__dropdown a {
  display: block; padding: 10px 20px; font-size: 15px; font-weight: 400;
  color: var(--color-black); transition: background 0.15s ease, color 0.15s ease;
}
.nav__dropdown a:hover, .nav__dropdown a:focus-visible {
  background: #f5f5f5; color: var(--color-red);
}
.nav__dropdown--two-col { min-width: 480px; display: grid; grid-template-columns: 1fr 1fr; }
.nav__dropdown--two-col li:last-child {
  grid-column: 1 / -1; border-top: 1px solid #e0e0e0; border-bottom: none;
}

.nav__phone { display: none; text-align: right; }
.nav__phone-label {
  display: block; font-size: 18px; font-weight: 400;
  color: var(--color-charcoal); font-style: italic; font-family: var(--font-display);
}
.nav__phone-number {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 28px; color: var(--color-red); line-height: 1.1;
  transition: color var(--transition-speed) ease;
}
.nav__phone-number:hover { color: #c53328; }

/* Hamburger */
.nav__hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; width: 36px; height: 36px; padding: 4px; z-index: 1100;
}
.nav__hamburger-line {
  display: block; width: 100%; height: 3px; background: var(--color-black);
  border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav__hamburger--active .nav__hamburger-line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__hamburger--active .nav__hamburger-line:nth-child(2) { opacity: 0; }
.nav__hamburger--active .nav__hamburger-line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav__underline { height: 5px; background: var(--color-red); width: 100%; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
  background: var(--color-white); z-index: 1050;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto; padding: 100px 24px 40px;
}
.mobile-menu--open { transform: translateX(0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__item > a,
.mobile-menu__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; font-size: 18px; font-weight: 500; color: var(--color-black);
  border-bottom: 1px solid #e5e5e5; text-align: left;
}
.mobile-menu__chevron {
  display: inline-block; width: 10px; height: 10px;
  border-right: 2px solid var(--color-red); border-bottom: 2px solid var(--color-red);
  transform: rotate(45deg); transition: transform 0.3s ease;
}
.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__chevron { transform: rotate(-135deg); }
.mobile-menu__dropdown { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-menu__dropdown a {
  display: block; padding: 10px 0 10px 20px; font-size: 16px;
  color: var(--color-black); border-bottom: 1px solid #f0f0f0;
}
.mobile-menu__dropdown a:hover { color: var(--color-red); }
.mobile-menu__phone { margin-top: 30px; text-align: center; }
.mobile-menu__phone-link { font-size: 28px; font-weight: 700; color: var(--color-red); }

/* ============================================================
   INSIDE HERO
   ============================================================ */
.inside-hero {
  max-width: var(--canvas-max); margin: 0 auto;
  background-color: var(--color-site-bg);
  border-bottom: 3px solid var(--color-red);
  padding: clamp(50px, calc(50px + (100vw - 375px) * 0.053), 80px) var(--side-padding-mob) clamp(44px, calc(44px + (100vw - 375px) * 0.047), 72px);
  position: relative; overflow: hidden;
}
.inside-hero::before,
.inside-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.inside-hero::before {
  background: linear-gradient(to right, var(--color-site-bg) 0%, var(--color-site-bg) 25%, transparent 60%);
}
.inside-hero::after {
  background: linear-gradient(to left, var(--color-site-bg) 0%, transparent 15%);
}
.inside-hero__bg {
  display: none; position: absolute; inset: 0; z-index: 0;
}
.inside-hero__img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.inside-hero__inner {
  max-width: var(--canvas-max); margin: 0 auto; position: relative; z-index: 2;
}
.inside-hero__eyebrow {
  display: block; font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-red); margin-bottom: 0.6em;
}
.inside-hero__title {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem); color: var(--color-white);
  line-height: 1.15; margin: 0 0 0.5em; text-align: left;
}
.inside-hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem); color: rgba(255,255,255,0.72);
  line-height: 1.65; text-align: left; margin: 0 0 1.5em; max-width: 640px;
}
.inside-hero__btn { display: inline-block; }

/* Overlap variant — used for all blog pages */
.inside-hero--overlap {
  border-bottom: none;
  padding-bottom: clamp(80px, calc(80px + (100vw - 375px) * 0.063), 120px);
}
.inside-hero--overlap .inside-hero__bg { display: block; }
.inside-hero--overlap::before {
  background:
    linear-gradient(to top,  var(--color-site-bg) 0%, transparent 35%),
    linear-gradient(to right, var(--color-site-bg) 0%, var(--color-site-bg) 25%, transparent 60%);
}
.inside-hero--overlap + .inside-body-wrap {
  margin-top: clamp(-60px, calc(-60px - (100vw - 375px) * 0.021), -80px);
  position: relative; z-index: 3;
}

/* ============================================================
   TWO-COLUMN BODY LAYOUT
   ============================================================ */
.inside-body-wrap {
  max-width: var(--canvas-max); margin: 0 auto;
  padding: clamp(32px, calc(32px + (100vw - 375px) * 0.042), 48px) var(--side-padding-mob) clamp(16px, calc(16px + (100vw - 375px) * 0.021), 24px);
}

/* ============================================================
   CONTENT AREA TYPOGRAPHY
   ============================================================ */
#content { margin-bottom: 2em; }

#content h1 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-white); margin: 0 0 0.75em; line-height: 1.2;
}
#content h2 {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  color: var(--color-white); margin: 1.5em 0 0.6em; line-height: 1.25;
}
#content h3 {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--color-white); margin: 1.25em 0 0.5em; line-height: 1.3;
}
#content h4 {
  font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-white); font-weight: 700; margin: 1.2em 0 0.5em;
}
#content h5 {
  font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--color-white); font-weight: 700; margin: 1em 0 0.4em;
}
#content p {
  color: rgba(255,255,255,0.82); font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75; margin-bottom: 1em;
}
#content a     { color: var(--color-coral); text-decoration: underline; }
#content a:hover { color: var(--color-white); }

#content ul {
  list-style: none; padding: 0; margin-left: 1.25em; margin-bottom: 1em;
  color: rgba(255,255,255,0.82);
}
#content ol {
  list-style: decimal; padding-left: 1.5em; margin-left: 1.25em;
  margin-bottom: 1em; color: rgba(255,255,255,0.82);
}
#content li { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 0.6em; line-height: 1.75; }
#content ol li::marker { color: var(--color-red); font-weight: 700; font-size: 1.1em; }
#content ul li { position: relative; padding-left: 1.2em; }
#content ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--color-red); font-weight: 700; font-size: 1.4em; line-height: 1.25;
}

/* Breadcrumbs */
.breadcrumbs {
  display: block; font-size: clamp(0.8rem, 1vw, 0.875rem);
  color: rgba(255,255,255,0.45);
  margin-bottom: clamp(10px, calc(10px + (100vw - 375px) * 0.008), 16px);
}
.breadcrumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-coral); }

/* Back-to-top link */
.to-top { text-align: right; margin: 0.5em 0 2em; }
.to-top a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; }
.to-top a:hover { color: var(--color-coral); }

/* Post featured image */
.post-featured-img { margin-bottom: 1.5em; border-radius: 8px; overflow: hidden; }
.post-featured-img__img { width: 100%; height: auto; }

/* Single post meta */
.post-meta--single {
  display: flex; flex-wrap: wrap; gap: 1em; align-items: center;
  margin-bottom: 1.5em; font-size: 0.875rem; color: rgba(255,255,255,0.55);
}
.post-meta--single .post-card__category a { color: var(--color-coral); font-weight: 600; }

/* ============================================================
   FORM ERROR STATES
   ============================================================ */
.input--error { border-color: var(--color-red) !important; }
.field-error-msg { display: block; color: var(--color-red); font-size: 0.75rem; margin-top: 0.25rem; }

/* ============================================================
   SIDEBAR
   ============================================================ */
#sidebar { margin-top: 2em; }

.contact-sb {
  background: var(--color-white); border-radius: var(--card-radius);
  padding: clamp(24px, 2.5vw, 32px) clamp(20px, 2vw, 28px) clamp(16px, 1.5vw, 22px);
  margin-bottom: 20px;
}
.contact-sb-heading {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(26px, calc(26px + (100vw - 375px) * 0.06), 36px);
  color: var(--color-red); line-height: 1.2; text-align: center; margin: 0 0 0.6em;
}
.contact-sb > p:not(.contact-sb-heading) {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(17px, calc(17px + (100vw - 375px) * 0.018), 20px);
  color: var(--color-ink); line-height: 1.6; margin-bottom: 1em;
}

.sidebar-form__field { margin-bottom: clamp(10px, 1vw, 14px); }
.sidebar-form__field input,
.sidebar-form__field textarea {
  width: 100%; font-family: var(--font-body); font-size: clamp(14px, 1.2vw, 15px);
  padding: clamp(12px, 1.2vw, 16px); border: 3px solid var(--color-ink);
  border-radius: 0; background: var(--color-white); color: var(--color-black);
  box-sizing: border-box; transition: border-color var(--transition-speed);
  -webkit-appearance: none;
}
.sidebar-form__field input:focus,
.sidebar-form__field textarea:focus { border-color: var(--color-red); outline: none; }
.sidebar-form__field input::placeholder,
.sidebar-form__field textarea::placeholder { color: #888888; }
.sidebar-form__field textarea { resize: vertical; min-height: 80px; }

.sidebar-form__submit {
  display: block; width: auto; margin: 6px auto 0; font-size: 15px;
  background-color: var(--color-red); border-color: var(--color-red);
}
.sidebar-form__submit:hover { background-color: #a93226; border-color: #a93226; }

.sidebar-form__status { font-size: 0.85rem; margin-top: 8px; color: var(--color-red); }
.sidebar-form__status--success { color: #2e7d32; }
.sidebar-form__status--error   { color: var(--color-red); }

/* ============================================================
   BLOG — POST CARD
   ============================================================ */
.post-card {
  margin-bottom: 2.5em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2.5em;
}
.post-card:last-of-type { border-bottom: none; padding-bottom: 0; }

.post-card__thumb {
  display: block; overflow: hidden; border-radius: 8px;
  margin-bottom: 1em; aspect-ratio: 16/9;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.03); }

.post-card__meta {
  display: flex; gap: 1em; flex-wrap: wrap; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.4em;
}
.post-card__category a {
  color: var(--color-coral); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.post-card__title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem); color: var(--color-white);
  line-height: 1.25; margin-bottom: 0.5em;
}
.post-card__title a { color: var(--color-white); transition: color 0.2s ease; }
.post-card__title a:hover { color: var(--color-coral); }

.post-card__excerpt {
  font-size: clamp(0.9rem, 1.5vw, 1rem); color: rgba(255,255,255,0.72);
  line-height: 1.65; margin-bottom: 1em;
}

.post-card__read-more {
  font-size: 0.875rem; font-weight: 600; color: var(--color-coral);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.3em;
  transition: color 0.2s ease;
}
.post-card__read-more:hover { color: var(--color-white); }
.post-card__read-more::after { content: '›'; font-size: 1.2em; }

/* ============================================================
   BLOG — SIDEBAR RECENT POSTS
   ============================================================ */
.recent-posts-sb {
  background: var(--color-charcoal); border-radius: var(--card-radius);
  padding: clamp(20px, 2.5vw, 28px);
}
.recent-posts-sb__heading {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px); color: var(--color-white);
  margin-bottom: 1em; padding-bottom: 0.5em; border-bottom: 2px solid var(--color-red);
}
.recent-posts-sb__list { list-style: none; padding: 0; margin: 0; }
.recent-posts-sb__item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.recent-posts-sb__item:last-child { border-bottom: none; }
.recent-posts-sb__link {
  display: block; padding: 0.75em 0;
  font-size: clamp(0.875rem, 1.2vw, 0.95rem); color: rgba(255,255,255,0.75);
  text-decoration: none; line-height: 1.4; transition: color 0.2s ease;
}
.recent-posts-sb__link:hover { color: var(--color-coral); }
.recent-posts-sb__date { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 0.2em; }

/* ============================================================
   CATEGORIES PANEL — reuses related-links-panel styles
   ============================================================ */
.related-links-panel { padding: clamp(16px, 2vw, 24px) 0 0; }
.related-links-panel__inner {
  max-width: var(--canvas-max); margin: 0 auto; padding: 0 var(--side-padding-mob);
}
.related-links {
  background: var(--color-charcoal); border-radius: var(--card-radius);
  padding: clamp(20px, 2vw, 32px);
}
.related-links h2 {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(18px, 2vw, 26px);
  color: var(--color-white); text-align: center; margin: 0 0 clamp(12px, 1.5vw, 20px);
}
.related-links ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.related-links li a {
  display: flex; align-items: center; gap: 0.4em;
  padding: clamp(6px, 0.75vw, 10px) 0; color: rgba(255,255,255,0.7);
  text-decoration: none; font-size: clamp(14px, 1.1vw, 16px);
  transition: color var(--transition-speed);
}
.related-links li a::before {
  content: '›'; flex-shrink: 0; color: var(--color-red);
  font-size: 1.4em; font-weight: 700; line-height: 1;
}
.related-links li a:hover { color: var(--color-coral); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  margin-top: 2em; display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pagination-wrap .page-numbers:hover,
.pagination-wrap .page-numbers.current { background: var(--color-red); color: var(--color-white); }

/* ============================================================
   AWARDS & MEMBERSHIPS
   ============================================================ */
.awards { padding: var(--section-padding-mob) 0 0; background: transparent; }
.awards__inner {
  max-width: var(--canvas-max); margin: 0 auto;
  padding: 0 var(--side-padding-mob); text-align: center;
}
.awards__heading {
  font-family: var(--font-body); font-weight: 700;
  font-size: 32px; color: var(--color-white); margin-bottom: 20px;
}
.awards__intro {
  font-family: var(--font-display); font-weight: 400; font-size: 18px;
  color: var(--color-white); line-height: 1.7; max-width: 800px;
  margin: 0 auto 40px;
}
.awards__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 20px; margin-bottom: 40px;
}
.awards__item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.awards__logo-cell {
  height: 90px; display: flex; align-items: center; justify-content: center; width: 100%;
}
.awards__item img { width: auto; height: auto; max-height: 65px; max-width: 100%; }
.awards__name { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--color-coral); text-align: center; }
.awards__desc { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 13px; color: var(--color-white); text-align: center; line-height: 1.5; }
.awards__cta { margin-top: 10px; }

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta { padding: var(--section-padding-mob) 0 0; background: transparent; }
.footer-cta__inner {
  max-width: var(--canvas-max); margin: 0 auto;
  padding: 0 var(--side-padding-mob); display: flex; flex-direction: column; gap: 30px;
}
.footer-cta__heading {
  font-family: var(--font-body); font-weight: 700; font-size: 30px;
  color: var(--color-white); line-height: 1.2;
}
.footer-cta__body {
  font-family: var(--font-display); font-weight: 400; font-size: 15px;
  color: var(--color-white); line-height: 1.7; margin-top: 16px;
}
.footer-cta__form { display: flex; flex-direction: column; gap: 14px; }
.footer-cta__field { }
.footer-cta__form input,
.footer-cta__form textarea {
  width: 100%; font-family: var(--font-body); font-weight: 400; font-size: 15px;
  padding: 16px 18px; border: none; border-radius: 0;
  background: var(--color-white); color: var(--color-black); -webkit-appearance: none;
}
.footer-cta__form input::placeholder,
.footer-cta__form textarea::placeholder { color: #888888; }
.footer-cta__form input:focus,
.footer-cta__form textarea:focus { outline: 3px solid var(--color-red); outline-offset: -3px; }
.footer-cta__form textarea { resize: vertical; min-height: 100px; }
.footer-cta__submit { width: fit-content; margin: 0 auto; font-size: 18px; padding: 18px 52px; }
.footer-cta__status { font-size: 14px; min-height: 20px; }
.footer-cta__status:empty      { display: none; }
.footer-cta__status--success   { color: #2e7d32; }
.footer-cta__status--error     { color: var(--color-red); }

/* ============================================================
   FOOTER BAR
   ============================================================ */
.footer { background: transparent; border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--section-padding-mob); }
.footer__inner {
  max-width: var(--canvas-max); margin: 0 auto;
  padding: 0 var(--side-padding-mob); display: flex; flex-direction: column; gap: 40px; text-align: center;
}
.footer__col--left { display: flex; flex-direction: column; gap: 20px; }
.footer__brand-row { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__logo { width: 160px; height: auto; }
.footer__social { display: flex; justify-content: center; gap: 12px; flex-shrink: 0; }
.footer__social img { width: 53px; height: 53px; flex-shrink: 0; }
.footer__nav-bar { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer__nav-bar ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.footer__nav-bar li a {
  font-family: var(--font-display); font-style: italic; font-size: 14px;
  color: var(--color-white); padding: 4px 10px; transition: color 0.2s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.75);
}
.footer__nav-bar li a:hover { color: var(--color-red); }
.footer__sep { font-family: var(--font-display); color: rgba(255,255,255,0.35); font-size: 14px; user-select: none; text-shadow: 0 1px 4px rgba(0,0,0,0.75); }
.footer__contact-line { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-white); margin-bottom: 8px; }
.footer__contact-line a { color: var(--color-white); }
.footer__contact-line a:hover { color: var(--color-red); }
.footer__map { width: 100%; max-width: 300px; height: auto; margin-top: 10px; margin-left: auto; margin-right: auto; border-radius: 4px; }
.footer__bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding: 30px 0; }
.footer__bottom-inner { max-width: var(--canvas-max); margin: 0 auto; padding: 0 var(--side-padding-mob); }
.footer__copyright { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.footer__disclaimer { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 16px; }
.footer__fine-print { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.footer__fine-print a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.footer__credit { font-size: 12px; color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.footer__sls-logo { width: 40px; height: 25px; display: inline-block; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in--visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   FOOTER BACKGROUND — applied via JS IntersectionObserver
   Images relative to this CSS file in the theme root.
   ============================================================ */
.footer-bg-loaded {
  background-image: url('assets/images/footer-bg-630.jpg');
  background-position: center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TABLET — 631px+
   ============================================================ */
@media (min-width: 631px) {
  #main-content { padding-top: 105px; }

  .nav__inner { padding: 0 var(--side-padding-tab); height: 100px; }
  .nav__logo img { width: 150px; }
  .nav__phone { display: block; }
  .nav__phone-number { font-size: 28px; }

  .inside-hero {
    padding-left: var(--side-padding-tab);
    padding-right: var(--side-padding-tab);
    min-height: clamp(260px, calc(260px + (100vw - 631px) * 0.146), 450px);
  }
  .inside-hero__bg { display: block; }
  .inside-hero__inner { max-width: 60%; margin: 0; }

  .inside-body-wrap { padding-left: var(--side-padding-tab); padding-right: var(--side-padding-tab); }

  .related-links-panel__inner { padding-left: var(--side-padding-tab); padding-right: var(--side-padding-tab); }

  .footer-cta__inner { flex-direction: row; padding: 0 var(--side-padding-tab); gap: 40px; align-items: flex-start; }
  .footer-cta__content { flex: 1; }
  .footer-cta__form-wrap { flex: 1; }
  .footer-cta__heading { font-size: 38px; }
  .footer-cta__body { font-size: 16px; }

  .awards__heading { font-size: 42px; }
  .awards__grid { grid-template-columns: repeat(3, 1fr); }
  .awards__logo-cell { height: 100px; }
  .awards__item img { max-height: 75px; max-width: 130px; }
  .awards__inner { padding: 0 var(--side-padding-tab); }

  .footer__inner { padding: 0 var(--side-padding-tab); }
  .footer__brand-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__bottom-inner { padding: 0 var(--side-padding-tab); }

  .footer-bg-loaded { background-image: url('assets/images/footer-bg-950.jpg'); }

  .awards, .footer-cta { padding-top: var(--section-padding-tab); }
  .footer { padding-top: var(--section-padding-tab); }
}

/* ============================================================
   DESKTOP — 951px+
   ============================================================ */
@media (min-width: 951px) {
  .nav__inner { padding: 0 clamp(30px, calc(30px + (100vw - 951px) * 0.029), 50px); }
  .nav__item > a { font-size: 18px; }

  .inside-hero { padding-left: var(--side-padding-desk); padding-right: var(--side-padding-desk); }
  .inside-hero__inner { max-width: 55%; margin: 0; }

  .inside-body-wrap {
    display: flex; align-items: flex-start; gap: 40px;
    padding-left: var(--side-padding-desk); padding-right: var(--side-padding-desk);
  }

  .related-links-panel__inner { padding-left: var(--side-padding-desk); padding-right: var(--side-padding-desk); }

  #content { flex: 1 1 0%; min-width: 0; margin-bottom: 0; }
  #sidebar { flex: 0 0 33%; margin-top: 0; }

  .awards__heading { font-size: 54px; }
  .awards__name { font-size: 18px; }
  .awards__desc { font-size: 15px; }
  .awards__grid { grid-template-columns: repeat(6, 1fr); }
  .awards__logo-cell { height: 110px; }
  .awards__item img { max-height: 90px; max-width: 150px; }
  .awards__inner { padding: 0 var(--side-padding-desk); }

  .footer-cta__heading { font-size: 48px; }
  .footer-cta__body { font-size: 18px; }
  .footer-cta__inner { padding: 0 var(--side-padding-desk); }

  .footer__inner { padding: 0 var(--side-padding-desk); }
  .footer__nav-bar li a, .footer__sep { font-size: 16px; }
  .footer__bottom-inner { padding: 0 var(--side-padding-desk); }

  .footer-bg-loaded { background-image: url('assets/images/footer-bg-1920.jpg'); }

  .awards, .footer-cta { padding-top: var(--section-padding-desk); }
  .footer { padding-top: var(--section-padding-desk); }
}

/* Footer two-column layout — 1050px+ */
@media (min-width: 1050px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; gap: 50px; }
  .footer__col--left { flex: 1; min-width: 0; }
  .footer__logo { width: 196px; }
  .footer__col--contact { flex-shrink: 0; }
  .footer__nav-bar li a, .footer__sep { font-size: 18px; }
  .footer__nav-bar ul { justify-content: flex-start; }
  .footer__contact-line { font-size: 16px; }
  .footer__map { max-width: 420px; margin-left: 0; }
}

/* Awards full-size logos — 1250px+ */
@media (min-width: 1250px) {
  .awards__logo-cell { height: 135px; }
  .awards__item img { max-height: none; max-width: none; }
}

/* Wide desktop — 1225px+: show desktop nav */
@media (min-width: 1225px) {
  #main-content { padding-top: 135px; }
  .nav__inner { height: 130px; }
  .nav__logo img { width: 186px; }
  .nav__phone-number { font-size: 44px; }
  .nav__links { display: flex; align-items: center; }
  .nav__hamburger { display: none; }
}
