/* ===========================================
   STARR LAW — PREMIUM SITE-WIDE UPLIFT v1.8
   v1.8 (2026-05-15) — Dropped body:has(.disclame) parent-prose white
            override; injury notice always sits on white bg below
            footer, theme-default dark prose is correct everywhere
   v1.7 (2026-05-15) — Scoped injury-notice parent-prose white
            override to body:has(.disclame); gold link kept universal
   v1.6 (2026-05-14) — Site-wide contrast: Practice Areas (homepage),
            .disclame disclaimer, injury bridge notice
   v1.5 (2026-05-14) — Desktop layout round 2, wpautop root cause fix
   v1.4 (2026-05-14) — Desktop layout round 1
   v1.3 (2026-05-14) — About cleanup, duplicate H1 hide, white nav
   v1.1 (2026-05-14) — About page editorial rebuild
   v1.0 (2026-05-14) — Site-wide premium uplift (typography, buttons,
            links, cards, trust strip, blockquote, focus states)
   =========================================== */

:root {
    --starr-navy: #082153;
    --starr-navy-deep: #051538;
    --starr-red: #C62828;
    --starr-gold: #C9A961;
    --starr-gold-light: #D4B872;
    --starr-text: #1A1A1A;
    --starr-text-muted: #4A4A4A;
    --starr-bg: #FAFAF7;
    --starr-bg-card: #FFFFFF;
    --starr-border: rgba(8, 33, 83, 0.08);
    --starr-shadow-sm: 0 2px 8px rgba(8, 33, 83, 0.04);
    --starr-shadow-md: 0 8px 32px rgba(8, 33, 83, 0.08);
    --starr-shadow-lg: 0 24px 64px rgba(8, 33, 83, 0.12);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, .elementor-heading-title[class*="-h1"] {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2, .elementor-heading-title[class*="-h2"] {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

h3, .elementor-heading-title[class*="-h3"] {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: clamp(22px, 2.8vw, 28px);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

body, p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--starr-text);
    font-weight: 400;
}

/* ---------- PREMIUM BUTTON SYSTEM ---------- */
.elementor-button,
a.elementor-button-link,
.wp-block-button__link {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    padding: 16px 32px !important;
    border-radius: 4px !important;
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out) !important;
    box-shadow: 0 2px 8px rgba(8, 33, 83, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

.elementor-button:hover,
a.elementor-button-link:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.25) !important;
}

/* ---------- ANIMATED UNDERLINE LINKS ---------- */
.entry-content a:not(.elementor-button):not([href^="tel:"]),
.elementor-text-editor a:not(.elementor-button):not([href^="tel:"]) {
    color: var(--starr-red);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 300ms var(--ease-out);
}

.entry-content a:not(.elementor-button):not([href^="tel:"]):hover,
.elementor-text-editor a:not(.elementor-button):not([href^="tel:"]):hover {
    background-size: 100% 1px;
}

/* ---------- BLOG POST IMAGE ZOOM ---------- */
.elementor-post__thumbnail__link {
    overflow: hidden;
    display: block;
}

.elementor-post__thumbnail__link img {
    transition: transform 600ms var(--ease-out) !important;
}

.elementor-post__thumbnail__link:hover img {
    transform: scale(1.06);
}

/* ---------- BLOG POST CARDS ---------- */
article.elementor-post {
    transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
    border-radius: 8px;
    overflow: hidden;
}

article.elementor-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--starr-shadow-md);
}

article.elementor-post .elementor-post__title a {
    transition: color 300ms ease;
}

article.elementor-post .elementor-post__title a:hover {
    color: var(--starr-red);
}

/* ---------- TRUST SIGNAL STRIP (utility) ---------- */
.starr-trust-strip {
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--starr-border);
    border-bottom: 1px solid var(--starr-border);
}

.starr-trust-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--starr-text-muted);
    font-weight: 500;
}

.starr-trust-item strong {
    color: var(--starr-navy);
    font-weight: 700;
}

/* ---------- CRED MARKER (gold underline) ---------- */
.starr-cred {
    position: relative;
    padding-bottom: 4px;
}

.starr-cred::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--starr-gold);
}

/* ---------- SECTION VERTICAL RHYTHM ---------- */
.elementor-section.elementor-section-boxed > .elementor-container {
    padding-top: clamp(60px, 8vw, 120px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

/* ---------- PREMIUM QUOTE BLOCK ---------- */
blockquote, .starr-pull-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.4;
    color: var(--starr-navy);
    padding: 32px 0 32px 32px;
    border-left: 3px solid var(--starr-gold);
    margin: 48px 0;
    letter-spacing: -0.01em;
}

/* ---------- FOCUS STATES (a11y + premium) ---------- */
a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible {
    outline: 2px solid var(--starr-gold);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ---------- MOBILE REFINEMENTS ---------- */
@media (max-width: 768px) {
    h1, .elementor-heading-title[class*="-h1"] {
        font-size: clamp(32px, 8vw, 42px);
    }

    .starr-trust-strip {
        gap: 24px;
        padding: 24px 0;
    }

    .starr-trust-item {
        font-size: 12px;
    }
}

/* ===========================================================
   ABOUT PAGE (id 7844) — EDITORIAL CREDENTIALS LAYOUT (v1.1)
   All rules scoped to .page-id-7844 to prevent leakage.
   =========================================================== */

/* Hide the block-theme auto-rendered title — our hero has its own H1 */
.page-id-7844 .wp-block-post-title {
    display: none;
}

/* White nav bar matching practice pages */
.page-id-7844 .wp-block-template-part {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Site title typography — Playfair navy to match brand */
.page-id-7844 .wp-block-site-title {
    margin: 0;
}

.page-id-7844 .wp-block-site-title a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--starr-navy);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.page-id-7844 .wp-block-site-title a:hover {
    color: var(--starr-red);
}

/* Nav menu item spacing + typography */
.page-id-7844 .wp-block-navigation__container {
    gap: 8px;
}

.page-id-7844 .wp-block-navigation-item__content {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--starr-text);
    letter-spacing: 0.01em;
    padding-left: 14px;
    padding-right: 14px;
}

.page-id-7844 .wp-block-navigation-item__content:hover {
    color: var(--starr-red);
}

/* Reset entry-content max-width on About so hero can go full-bleed */
.page-id-7844 .entry-content {
    max-width: none;
    padding: 0;
}

.page-id-7844 .entry-content > section,
.page-id-7844 .entry-content > p.legal-disclaimer {
    box-sizing: border-box;
}

/* ---------- Eyebrow label (shared across sections) ---------- */
.page-id-7844 .eyebrow {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--starr-gold);
    margin: 0 0 16px 0;
    line-height: 1;
}

/* ---------- HERO ---------- */
.page-id-7844 .about-hero {
    background: linear-gradient(135deg, var(--starr-navy) 0%, var(--starr-navy-deep) 100%);
    color: #ffffff;
    padding: clamp(60px, 8vw, 100px) 24px;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.page-id-7844 .about-hero__inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.page-id-7844 .about-hero .hero-cta-row {
    margin: 8px 0 0 0;
}

.page-id-7844 .about-hero .eyebrow {
    color: var(--starr-gold-light);
    margin-bottom: 0;
}

.page-id-7844 .about-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(48px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0;
}

.page-id-7844 .about-hero .tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    letter-spacing: -0.005em;
}

/* Hero stats */
.page-id-7844 .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 6vw, 80px);
    margin: 0 auto;
    max-width: 760px;
    width: 100%;
}

.page-id-7844 .hero-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.page-id-7844 .hero-stats .num {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1;
    color: var(--starr-gold);
    letter-spacing: -0.02em;
}

.page-id-7844 .hero-stats .label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    text-align: center;
    max-width: 180px;
}

.page-id-7844 .hero-cta {
    display: inline-block;
    background: #ffffff;
    color: var(--starr-navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.02em;
    padding: 20px 40px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
    min-height: 44px;
    line-height: 1.2;
}

.page-id-7844 .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    color: var(--starr-navy);
    background: #ffffff;
}

/* ---------- Section wrappers ---------- */
.page-id-7844 .about-section,
.page-id-7844 .credentials,
.page-id-7844 .philosophy,
.page-id-7844 .trust-signals,
.page-id-7844 .beyond {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(72px, 9vw, 120px) 24px;
}

.page-id-7844 .about-section h2,
.page-id-7844 .credentials h2,
.page-id-7844 .trust-signals h2,
.page-id-7844 .beyond h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--starr-navy);
    margin: 0 0 32px 0;
}

.page-id-7844 .about-section p,
.page-id-7844 .philosophy p,
.page-id-7844 .beyond p,
.page-id-7844 .credentials-postscript,
.page-id-7844 .trust-postscript {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: var(--starr-text);
    margin: 0 auto 24px auto;
    max-width: 760px;
}

/* Section inner content (eyebrow + h2) constrained to editorial width */
.page-id-7844 .about-section > .eyebrow,
.page-id-7844 .about-section > h2,
.page-id-7844 .credentials > .eyebrow,
.page-id-7844 .credentials > h2,
.page-id-7844 .philosophy > .eyebrow,
.page-id-7844 .trust-signals > .eyebrow,
.page-id-7844 .trust-signals > h2,
.page-id-7844 .beyond > .eyebrow,
.page-id-7844 .beyond > h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.page-id-7844 .philosophy .pull-quote {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Credentials grid ---------- */
.page-id-7844 .credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 0 48px 0;
}

.page-id-7844 .cred-card {
    background: var(--starr-bg-card);
    border-left: 3px solid var(--starr-gold);
    padding: 32px 28px;
    box-shadow: var(--starr-shadow-sm);
    transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}

.page-id-7844 .cred-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--starr-shadow-md);
}

.page-id-7844 .cred-year {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: var(--starr-gold);
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.page-id-7844 .cred-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.25;
    color: var(--starr-navy);
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.page-id-7844 .cred-degree {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--starr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px 0;
}

.page-id-7844 .cred-detail {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--starr-text);
    margin: 0;
}

/* ---------- Philosophy / pull quote ---------- */
.page-id-7844 .philosophy {
    background: #f8f6f0;
}

.page-id-7844 .philosophy .pull-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.35;
    color: var(--starr-navy);
    border-left: 3px solid var(--starr-gold);
    padding: 24px 0 24px 32px;
    margin: 0 0 40px 0;
    letter-spacing: -0.01em;
}

/* ---------- Trust signals grid ---------- */
.page-id-7844 .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 0 40px 0;
}

.page-id-7844 .trust-item {
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid var(--starr-border);
    border-bottom: 1px solid var(--starr-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-id-7844 .trust-item strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    color: var(--starr-gold);
    letter-spacing: -0.01em;
}

.page-id-7844 .trust-item span {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--starr-text-muted);
    line-height: 1.4;
}

/* ---------- CTA section ---------- */
.page-id-7844 .about-cta {
    background: linear-gradient(135deg, var(--starr-navy) 0%, var(--starr-navy-deep) 100%);
    color: #ffffff;
    padding: clamp(100px, 12vw, 160px) 24px;
    text-align: center;
    margin: 0;
    overflow: visible;
}

.page-id-7844 .about-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #ffffff;
    max-width: 760px;
    margin: 0 auto 20px auto;
}

.page-id-7844 .about-cta p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.page-id-7844 .cta-button {
    display: inline-block;
    background: var(--starr-gold);
    color: var(--starr-navy);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.02em;
    padding: 22px 48px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), background 300ms ease;
    min-height: 44px;
    line-height: 1.2;
}

.page-id-7844 .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
    background: var(--starr-gold-light);
    color: var(--starr-navy);
}

.page-id-7844 .multilingual {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 32px 0 0 0;
    letter-spacing: 0.01em;
}

/* ---------- Legal disclaimer ---------- */
.page-id-7844 .legal-disclaimer {
    max-width: 980px;
    margin: 0 auto;
    padding: 48px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: var(--starr-text-muted);
    text-align: center;
    border-top: 1px solid var(--starr-border);
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
    .page-id-7844 .hero-stats {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .page-id-7844 .credentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-id-7844 .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .page-id-7844 .about-hero {
        padding: 64px 20px;
    }

    .page-id-7844 .about-hero h1 {
        font-size: clamp(40px, 11vw, 64px);
    }

    .page-id-7844 .about-section,
    .page-id-7844 .credentials,
    .page-id-7844 .philosophy,
    .page-id-7844 .trust-signals,
    .page-id-7844 .beyond {
        padding: 56px 20px;
    }

    .page-id-7844 .philosophy .pull-quote {
        padding-left: 20px;
        font-size: clamp(22px, 5vw, 28px);
    }

    .page-id-7844 .about-cta {
        padding: 56px 20px;
    }

    .page-id-7844 .cta-button {
        font-size: 17px;
        padding: 18px 32px;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-id-7844 .hero-cta {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/* Tablet trust grid */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-id-7844 .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===========================================================
   CONTRAST FIXES — dark text on dark navy bg (v1.6)
   =========================================================== */

/* Homepage Practice Areas — descriptions inside anchor card containers */
.page-id-4439 a.elementor-element.e-flex.e-con-boxed.e-con .elementor-widget-text-editor p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Footer disclaimer — site-wide (in global Elementor footer template 24) */
.disclame,
.disclame p,
.disclame b,
.disclame strong {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Starr Injury Law bridge notice — site-wide (injected by starr-injury-bridge.php mu-plugin) */
/* Injury notice bridge — v1.7
   Parent-prose white override scoped to pages with Canvas footer
   (.disclame exists in DOM). Gold link kept universal so it reads
   on both navy and white backgrounds. */

/* Gold link, site-wide */
:has(> p > a[href*="starrinjurylaw.com"]) a[href*="starrinjurylaw.com"] {
    color: var(--starr-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

a[href*="starrinjurylaw.com"]:hover {
    color: var(--starr-gold-light);
}

/* v1.8 (2026-05-15): parent-prose white override removed — injury
   notice always sits on white bg below the footer; theme-default
   dark prose is correct. Gold link styling above is retained. */
