/* ══════════════════════════════════════════════
   TPA Base — Core Styles
   Reset, typography, containers, section spacing.
   Spacing values per TPA Design Reference v2.9:
   sections 50-70px, hero 60-70px (NOT 100vh),
   footer 40-50px top / 20-30px bottom.
   ══════════════════════════════════════════════ */

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

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

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 400;
    line-height: 1.1;
    text-wrap: balance;
}

p, li, blockquote {
    text-wrap: pretty;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

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

.section {
    padding: var(--section-padding-y) 0;
}

/* ── Global Button ── */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: .85rem 2rem;
    font-family: var(--heading-font);
    font-size: 1.15rem;
    letter-spacing: .06em;
    border: none;
    cursor: pointer;
    transition: background .3s, transform .2s, box-shadow .3s;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}

/* ── Utility ── */
.text-center { text-align: center; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Footer ── */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
    font-size: .82rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-practice-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    color: var(--white);
    letter-spacing: .03em;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: var(--footer-text);
    transition: all .3s;
}

.footer-social-link:hover {
    color: var(--white);
    border-color: var(--white);
}

.footer-legal-row {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
}

.footer-legal-row a {
    color: rgba(255,255,255,.5);
    transition: color .2s;
}

.footer-legal-row a:hover {
    color: var(--white);
}

.footer-contact a {
    color: var(--footer-text);
    transition: color .2s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-sep {
    margin: 0 8px;
    opacity: .3;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 8px;
    opacity: .4;
}

/* ══════════════════════════════════════════════
   HERO SECTION
   Padding: 60-70px (NOT 100vh per Design Ref)
   ══════════════════════════════════════════════ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 70px 0;
    overflow: hidden;
    min-height: 65vh;
}

.hero--solid-color {
    background: var(--secondary);
}

.hero--image-bg,
.hero--video {
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: -10% 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════════════
   LCP enforcement — hero must NEVER fade in
   ──────────────────────────────────────────────
   The hero is the LCP element on every TPA page. Child themes
   historically applied .fade-in (opacity:0 + translateY) and
   waited for JS to add .visible — which delays LCP by 300-800ms
   on mobile. Per Lighthouse: "noncomposited animations" warning.
   This parent rule guarantees hero paints on first frame regardless
   of any .fade-in / data-anim state the child or template applies.
   ══════════════════════════════════════════════ */
.hero,
.hero-content,
.hero-content.fade-in,
.hero .fade-in,
.hero [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.hero-rule {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--bg);
    text-transform: uppercase;
    letter-spacing: -.02em;
}

.hero-line1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    display: block;
}

.hero-line2 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    display: block;
    opacity: .55;
}

.hero-sub {
    color: rgba(244, 241, 234, .8);
    font-size: 1.05rem;
    margin-top: 1.8rem;
    max-width: 560px;
    font-weight: 400;
}

.hero-location {
    color: rgba(244, 241, 234, .5);
    font-size: .85rem;
    margin-top: .8rem;
    font-weight: 400;
}

.hero-cta {
    margin-top: 2.4rem;
    font-size: 1.25rem;
    padding: .9rem 2.2rem;
}

/* Hero: split-layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-split-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* ══════════════════════════════════════════════
   STORY SECTION (Pain / Vignettes / Body)
   Panel spacing: 40-50px per Design Ref
   ══════════════════════════════════════════════ */
.story-section {
    padding: var(--section-padding-y) 0;
}

/* Variant: text-panels */
.story-section--text-panels {
    background: var(--bg);
}

.story-panel {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(44, 47, 51, .07);
    max-width: 800px;
}

.story-panel:last-child {
    border-bottom: none;
}

.story-panel-heading {
    font-size: 1.8rem;
    color: var(--text);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.story-panel-body {
    color: rgba(44, 47, 51, .73);
    font-size: .95rem;
    line-height: 1.8;
    max-width: 700px;
}

/* Variant: icon-blocks */
.story-block {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(44, 47, 51, .07);
    align-items: flex-start;
}

.story-block:last-child {
    border-bottom: none;
}

.story-block-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--accent);
    opacity: .5;
    line-height: 1;
    min-width: 50px;
}

.story-block-content h3 {
    margin-bottom: .8rem;
}

/* Variant: image-panels (alternating left/right) */
.story-image-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
}

.story-image-panel--right {
    direction: rtl;
}

.story-image-panel--right > * {
    direction: ltr;
}

.story-image-panel-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.story-image-panel-text h3 {
    margin-bottom: 1rem;
}

.story-image-panel-text div {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(44, 47, 51, .73);
}

/* Variant: vignettes */
.story-vignette {
    padding: 2.5rem 0;
    max-width: 800px;
}

.story-vignette-title {
    margin-bottom: 1rem;
}

.story-vignette-body {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(44, 47, 51, .73);
}

.story-vignette-pull {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
}

.story-vignette-sep {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2rem 0;
    opacity: .4;
}

/* Variant: quote-panels */
.story-quote-panel {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(44, 47, 51, .07);
    max-width: 800px;
}

.story-quote-panel:last-child {
    border-bottom: none;
}

.story-quote-panel-body {
    font-size: .95rem;
    line-height: 1.8;
    color: rgba(44, 47, 51, .73);
    margin-bottom: 1rem;
}

.story-quote-panel-quote {
    padding: 1.5rem;
    background: rgba(44, 47, 51, .03);
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   CTA BRIDGE
   50-60px padding, full-width background + overlay
   ══════════════════════════════════════════════ */
.cta-bridge {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 2rem;
    overflow: hidden;
}

.cta-bridge-bg {
    position: absolute;
    inset: -10% 0;
    background-size: cover;
    background-position: center;
}

.cta-bridge-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 78, 121, .78);
}

.cta-bridge-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-bridge-heading {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--bg);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 1.5rem;
}

.cta-bridge-body {
    color: rgba(244, 241, 234, .8);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-bridge-btn {
    background: var(--accent);
    color: var(--white);
}

/* Split variants */
.cta-bridge--split-text-right .cta-bridge-content,
.cta-bridge--split-text-left .cta-bridge-content {
    text-align: left;
    margin-left: auto;
    margin-right: 0;
}

.cta-bridge--split-text-left .cta-bridge-content {
    margin-left: 0;
    margin-right: auto;
}

/* ══════════════════════════════════════════════
   BIO SECTION
   60-70px padding, photo generously sized
   ══════════════════════════════════════════════ */
.bio {
    background: var(--bg);
    padding: var(--section-padding-y) 0;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* photo-right: swap column order */
.bio-grid--photo-right {
    direction: rtl;
}

.bio-grid--photo-right > * {
    direction: ltr;
}

.bio-photo img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
}

.bio-text h2 {
    font-size: 3rem;
    color: var(--text);
    letter-spacing: .03em;
    margin-bottom: 1.5rem;
}

.bio-credentials {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bio-body {
    font-size: .92rem;
    line-height: 1.8;
    color: rgba(44, 47, 51, .8);
    margin-bottom: 1rem;
}

.bio-body p {
    margin-bottom: 1rem;
}

.bio-quote {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.5;
}

.bio-btn {
    margin-top: 1rem;
    background: var(--primary);
}

.bio-btn:hover {
    background: var(--primary-dark);
}

/* Banner-top variant */
.bio--banner-top .bio-banner {
    margin-bottom: 2rem;
}

.bio--banner-top .bio-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* ══════════════════════════════════════════════
   SERVICES SECTION
   Per Design Ref: "NEVER a plain card grid"
   ══════════════════════════════════════════════ */
.services {
    padding: var(--section-padding-y) 0;
}

.services-heading {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3rem;
}

/* Variant: text-rows */
.services--text-rows .services-list {
    max-width: 900px;
}

.svc-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    transition: all .3s;
    cursor: pointer;
}

.svc-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.svc-row:hover {
    padding-left: 1rem;
}

.svc-name {
    font-family: var(--heading-font);
    font-size: 1.45rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    flex: 1;
}

.svc-link {
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    opacity: .55;
    transition: opacity .3s, color .3s;
    white-space: nowrap;
}

.svc-row:hover .svc-link {
    opacity: 1;
    color: var(--accent);
}

/* Variant: numbered-rows */
.svc-numbered {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.svc-num {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    opacity: .3;
    line-height: 1;
    min-width: 50px;
}

.svc-numbered-content {
    flex: 1;
}

.svc-numbered-content .svc-name {
    font-size: 1.3rem;
    margin-bottom: .5rem;
}

.svc-desc {
    font-size: .9rem;
    line-height: 1.7;
    opacity: .75;
}

/* Variant: cards */
.services--cards .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.svc-card {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .3s, box-shadow .3s;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.svc-card-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

.svc-card-desc {
    font-size: .9rem;
    line-height: 1.7;
    opacity: .75;
    margin-bottom: 1.5rem;
}

.svc-card-link {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--accent);
    transition: color .2s;
}

/* Variant: image-cards */
.services--image-cards .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.svc-image-card {
    overflow: hidden;
    background: var(--white);
    transition: transform .3s, box-shadow .3s;
}

.svc-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.svc-image-card-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.svc-image-card-content {
    padding: 2rem;
}

.svc-image-card-content h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .8rem;
    color: var(--text);
}

.svc-image-card-content p {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(44, 47, 51, .7);
    margin-bottom: 1.2rem;
}

/* Variant: accordion */
.svc-accordion {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 0;
}

.svc-accordion-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--heading-font);
    font-size: 1.3rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    list-style: none;
    transition: color .2s;
}

.svc-accordion-title::-webkit-details-marker {
    display: none;
}

.svc-accordion-title:hover {
    color: var(--accent);
}

.svc-accordion-body {
    padding: 0 0 2rem 4rem;
}

.svc-accordion-body p {
    font-size: .9rem;
    line-height: 1.7;
    opacity: .75;
    margin-bottom: 1rem;
}

/* ══════════════════════════════════════════════
   FINAL CTA + CONTACT FORM
   60-70px padding, form max-width 500-550px
   ══════════════════════════════════════════════ */
.final-cta {
    position: relative;
    padding: var(--section-padding-y) 0;
    overflow: hidden;
}

.final-cta--two-column,
.final-cta--centered {
    color: var(--bg);
}

.final-cta-bg {
    position: absolute;
    inset: -10% 0;
    background-size: cover;
    background-position: center;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 47, 51, .8);
}

.final-cta-inner {
    position: relative;
    z-index: 1;
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.final-cta-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 1.5rem;
}

.final-cta-body {
    font-size: .95rem;
    line-height: 1.8;
    opacity: .8;
    margin-bottom: 1.5rem;
}

.final-cta-phone,
.final-cta-email {
    margin-bottom: .5rem;
}

.final-cta-phone a,
.final-cta-email a {
    color: var(--bg);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color .2s;
}

.final-cta-phone a:hover,
.final-cta-email a:hover {
    color: var(--accent);
}

.final-cta-form {
    max-width: 550px;
}

.final-cta-form--centered {
    margin: 2rem auto 0;
}

.final-cta-contact-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.final-cta-contact-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bg);
    transition: color .2s;
}

.final-cta-contact-link:hover {
    color: var(--accent);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.testimonials {
    padding: var(--section-padding-y) 0;
    background: var(--bg);
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    padding: 2rem;
    background: var(--white);
    border-left: 3px solid var(--accent);
}

.testimonial-text {
    font-style: italic;
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(44, 47, 51, .8);
    margin-bottom: 1rem;
}

.testimonial-cite {
    font-style: normal;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
}

/* ══════════════════════════════════════════════
   INNER PAGES
   Shorter hero than homepage. Title over image
   or in a band below it. Content follows story
   section patterns but may be plainer.
   ══════════════════════════════════════════════ */

/* Inner page hero — shared across all inner pages */
.inner-page-hero {
    position: relative;
    padding: 50px 0;
    color: var(--bg);
    overflow: hidden;
}

.inner-page-hero--solid {
    background: var(--primary);
}

.inner-page-hero--image {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.inner-page-hero-bg {
    position: absolute;
    inset: -10% 0;
    background-size: cover;
    background-position: center;
}

.inner-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.inner-page-hero .container {
    position: relative;
    z-index: 1;
}

.inner-page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.inner-page-subtitle {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: .8;
}

.inner-page-content {
    padding: var(--section-padding-y) 0;
}

.inner-page-body {
    max-width: 800px;
    font-size: .95rem;
    line-height: 1.8;
}

.inner-page-body p {
    margin-bottom: 1.2rem;
}

.inner-page-body h2,
.inner-page-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.inner-page-body img {
    margin: 1.5rem 0;
}

/* ── About Page ── */
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.about-bio-photo img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: top;
}

.about-bio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Team bios */
.about-team-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-member-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
}

.team-member-info h3 {
    font-size: 1.4rem;
    margin-bottom: .3rem;
}

.team-member-title {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

.team-member-bio {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(44, 47, 51, .75);
}

/* ── Contact Page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-phone,
.contact-email,
.contact-address {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-phone a,
.contact-email a {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color .2s;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: var(--primary-dark);
}

.contact-map {
    margin-top: 2rem;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

.contact-side-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin-top: 2rem;
}

/* ── Blog ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.blog-card-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.8rem;
}

.blog-card-date {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.3rem;
    margin: .6rem 0;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--text);
    transition: color .2s;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(44, 47, 51, .7);
    margin-bottom: 1rem;
}

.blog-card-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .03em;
}

.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.blog-pagination a,
.blog-pagination span {
    padding: .5rem 1rem;
    font-size: .9rem;
}

.blog-pagination .current {
    background: var(--accent);
    color: var(--white);
}

.blog-empty {
    text-align: center;
    font-size: 1.1rem;
    opacity: .6;
    padding: 4rem 0;
}

/* Single blog post */
.single-post-date {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .6;
    margin-bottom: .8rem;
}

.single-post-featured {
    margin-bottom: 2.5rem;
}

.single-post-featured img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.single-post-body {
    max-width: 800px;
    font-size: .95rem;
    line-height: 1.8;
}

.single-post-body p {
    margin-bottom: 1.2rem;
}

.single-post-body h2,
.single-post-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-body img {
    margin: 1.5rem 0;
}

.single-post-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 3px solid var(--accent);
    font-style: italic;
    background: rgba(44, 47, 51, .03);
}

.single-post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 47, 51, .1);
}

.single-post-nav-link {
    font-size: .9rem;
    color: var(--accent);
    font-weight: 600;
    transition: color .2s;
    max-width: 45%;
}

.single-post-nav-link:hover {
    color: var(--primary-dark);
}
