/* ==========================================================================
   CSS Variables - Change these to update site colors/fonts
   ========================================================================== */
:root {
    /* Primary brand colors */
    --color-primary: #2c3e50;           /* Dark blue-grey - header, footer, brand */
    --color-primary-hover: #3d5266;     /* Primary hover state */
    --color-accent: #e65c00;            /* Orange - matches SPCRC logo */

    /* Text colors */
    --color-text: #333;                 /* Body text */
    --color-text-dark: #1a202c;         /* Headings, emphasized text */
    --color-text-muted: #666;           /* Secondary text, captions */
    --color-text-light: #4b5563;        /* Lighter secondary text */
    --color-text-faint: #999;           /* Very subtle text (separators) */

    /* Background colors */
    --color-bg: #fff;                   /* Main background */
    --color-bg-light: #f9fafb;          /* Light gray sections */
    --color-bg-alt: #f8f9fa;            /* Alternate light background */
    --color-bg-accent: #f0f9ff;         /* Light blue tint (featured items) */

    /* Border colors */
    --color-border: #e5e7eb;            /* Standard borders */
    --color-border-light: #f3f4f6;      /* Subtle borders */
    --color-border-input: #d1d5db;      /* Form input borders */

    /* Status colors - Success (green) */
    --color-success-bg: #d1fae5;
    --color-success-text: #065f46;
    --color-success-hover: #a7f3d0;

    /* Status colors - Info (blue) */
    --color-info-bg: #dbeafe;
    --color-info-text: #1e40af;
    --color-info-hover: #bfdbfe;

    /* Status colors - Warning (yellow) */
    --color-warning-bg: #fef3c7;
    --color-warning-border: #f59e0b;
    --color-warning-text: #92400e;

    /* Status colors - Error (red) */
    --color-error-bg: #fee2e2;
    --color-error-text: #991b1b;

    /* Dark section colors (footer, related articles) */
    --color-link-on-dark: #93c5fd;      /* Links on dark backgrounds */

    /* Fonts */
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: var(--font-body);   /* Same as body by default */

    /* Spacing (optional - for future use) */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;  /* Prevent horizontal scroll without breaking position: sticky */
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem; /* 18px */
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: clip;  /* Prevent horizontal scroll without breaking position: sticky */
}

/* Horizontal rule - global styling */
hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

/* Container */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    background: var(--color-primary);
    padding: 1rem;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header__logo {
    color: var(--color-bg);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--color-accent);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs__separator {
    margin: 0 0.5rem;
    color: var(--color-text-faint);
}

/* Headline */
h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

/* Byline */
.byline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.byline__author-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.byline__author-link:hover {
    text-decoration: underline;
}

/* Trust Toggles */
.trust-toggles {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;  /* Buttons stay on same line */
    position: relative; /* Container for absolute content */
}

.trust-toggle {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.trust-toggle__button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;  /* Slightly rounded corners */
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.2s, border-radius 0.2s;
    border: none;
    cursor: pointer;
    background: var(--color-border-light);  /* Light gray background */
    color: var(--color-text);              /* Dark text */
}

.trust-toggle__button:hover {
    background: var(--color-border);       /* Darker on hover */
}

.trust-toggle__icon {
    font-size: 1rem;
}

/* Colored icons only */
.trust-toggle--fact-checked .trust-toggle__icon {
    color: var(--color-success-text);   /* Green checkmark */
}

.trust-toggle--why-trust .trust-toggle__icon {
    color: var(--color-info-text);      /* Blue info icon */
}

/* When open, flatten bottom corners to connect with content */
.trust-toggle.open .trust-toggle__button {
    border-radius: 0.375rem 0.375rem 0 0;
}

.trust-toggle__content {
    display: none;
    position: absolute;
    top: 100%;           /* Directly below button */
    left: 0;
    min-width: 280px;
    max-width: 400px;
    padding: 0.875rem 1rem;
    border-radius: 0 0.375rem 0.375rem 0.375rem;  /* Rounded except top-left */
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: left;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Light gray content for all toggles */
.trust-toggle__content {
    background: var(--color-border-light);
    color: var(--color-text);
}

/* Links inside trust toggle content */
.trust-toggle__content a {
    color: inherit;
    text-decoration: underline;
}

.trust-toggle__content a:hover {
    opacity: 0.8;
}

.trust-toggle.open .trust-toggle__content {
    display: block;
}

/* Mobile: Full-width dropdowns below both buttons */
@media (max-width: 480px) {
    .trust-toggles {
        flex-wrap: wrap;
    }

    .trust-toggle {
        position: static;
    }

    .trust-toggle__content {
        position: absolute;
        left: 0;
        right: 0;
        min-width: 0;
        max-width: none;
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 0.375rem;
        box-sizing: border-box;
    }

    .trust-toggle.open .trust-toggle__button {
        border-radius: 0.375rem;
    }
}

/* Video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
    border-radius: 0.5rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.875rem;
}

/* Table of Contents */
.toc {
    border: 2px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.toc__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bg-light);
    cursor: pointer;
    user-select: none;
}

.toc__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.toc__chevron {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}

.toc.open .toc__chevron {
    transform: rotate(180deg);
}

.toc__content {
    display: none;
    padding: 0 1rem 1rem;
    background: var(--color-bg-light);
}

.toc.open .toc__content {
    display: block;
}

/* Reset Markdown-generated TOC wrapper inside our TOC */
.toc__content .toc {
    border: none;
    border-left: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
}

.toc__list {
    list-style: none;
    padding-left: 0;
}

.toc__item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.toc__item:last-child {
    border-bottom: none;
}

.toc__link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9375rem;
}

.toc__link:hover {
    text-decoration: underline;
}

/* Article Body */
.article-body {
    margin-bottom: 3rem;
}

.article-body h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    font-style: italic;
    color: var(--color-text-light);
}

/* Highlight Box - Findlaw-style pullquote */
.highlight-box {
    border-left: 4px solid #e65c00;
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0 2rem 0;
    font-weight: 600;
    color: #e65c00;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Mission Pillars - Card-style numbered list */
.mission-pillars {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.mission-pillars li {
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.mission-pillars li:last-child {
    margin-bottom: 0;
}

/* About Page Links - Button style */
.about-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.about-links a {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.about-links a:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

@media (min-width: 600px) {
    .about-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Want More Info / Related Articles */
.related-articles {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 3rem;
}

.related-articles__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.related-articles__intro {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.related-articles__list {
    list-style: none;
    padding: 0;
}

.related-articles__item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.related-articles__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-articles__link {
    color: var(--color-link-on-dark);
    text-decoration: none;
    font-weight: 500;
}

.related-articles__link:hover {
    color: var(--color-bg);
    text-decoration: underline;
}

.related-articles__description {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

/* Contact Form */
.contact-form-section {
    background: var(--color-bg-light);
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.contact-form-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

/* Visually hidden labels for accessibility (screen readers only) */
.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;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border-input);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Honeypot field - hidden from real users */
.form-group--honeypot {
    position: absolute;
    left: -9999px;
}

/* Checkbox group */
.form-group--checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.checkbox-label span {
    line-height: 1.4;
}

.form-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--color-primary-hover);
}

/* Flash messages */
.flash-messages {
    margin-bottom: 1rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.flash--success {
    background: var(--color-success-bg);
    color: var(--color-success-text);
}

.flash--error {
    background: var(--color-error-bg);
    color: var(--color-error-text);
}

/* Footer */
.site-footer {
    background: #f5f5f5;
    color: var(--color-text);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.site-footer a {
    color: var(--color-accent);
}

/* ==========================================================================
   Hub Page Styles
   ========================================================================== */

/* Intro paragraph */
.intro {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Featured Articles */
.featured-articles {
    margin-bottom: 2.5rem;
}

.featured-articles__title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-card {
    background: var(--color-bg-accent);
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.featured-card__link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.featured-card__link:hover {
    text-decoration: underline;
}

.featured-card__description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Sub-hub Sections */
.sub-hub-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.sub-hub-section:last-of-type {
    border-bottom: none;
}

.sub-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sub-hub-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.sub-hub-header__title a {
    color: inherit;
    text-decoration: none;
}

.sub-hub-header__title a:hover {
    color: var(--color-accent);
}

.sub-hub-header__more {
    font-size: 0.875rem;
    color: var(--color-accent);
    text-decoration: none;
}

.sub-hub-header__more:hover {
    text-decoration: underline;
}

/* Article Preview (used on hub page) */
.article-preview {
    margin-bottom: 1rem;
    padding-left: 0;
}

.article-preview__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
}

.article-preview__link:hover {
    text-decoration: underline;
}

.article-preview__description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
    line-height: 1.5;
}

/* ==========================================================================
   Sub-Hub Page Styles
   ========================================================================== */

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-accent);
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.back-link:hover {
    text-decoration: underline;
}

.back-link__arrow {
    font-size: 1rem;
}

/* Article Sections */
.article-section {
    margin-bottom: 2.5rem;
}

.article-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.article-list {
    list-style: none;
    padding: 0;
}

.article-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item__link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.article-item__link:hover {
    text-decoration: underline;
}

.article-item__description {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Error page */
.error-page {
    text-align: center;
    padding: 4rem 1rem;
}

.error-page__code {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.error-page__message {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.error-page__link {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand__logo {
    height: 2.5rem;
    width: auto;
}

@media (max-width: 768px) {
    .nav-brand__logo {
        height: 2rem;
    }
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-bg);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-menu.active {
    display: block;
}

.nav-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-bg);
}

/* Desktop navigation */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        background: none;
        border-top: none;
        box-shadow: none;
        gap: 0.5rem;
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.15);
    }
}

/* ==========================================================================
   WordPress Column Layout Classes
   ========================================================================== */

/* Override WordPress columns in article body for consistent full-width layout */
.article-body .column-66 {
    width: 100%;
    float: none;
    padding-right: 0;
    box-sizing: border-box;
}

/* Hide sidebar columns in article body (redundant with our contact form) */
.article-body .column-33 {
    display: none;
}

/* Keep original column behavior outside article body if needed */
.column-66 {
    width: 100%;
    float: none;
    padding-right: 0;
    box-sizing: border-box;
}

.column-33 {
    display: none;
}

/* Row clearfix for floated columns */
.row::after,
.columns::after {
    content: "";
    display: table;
    clear: both;
}

/* Additional WordPress layout classes that may appear */
.column-50 {
    width: 50%;
    float: left;
    padding-right: 1rem;
    box-sizing: border-box;
}

.column-50:last-child {
    padding-right: 0;
    padding-left: 1rem;
}

@media (max-width: 768px) {
    .column-50 {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-left: 0;
    }
}

/* ==========================================================================
   WordPress Image & Caption Styles
   ========================================================================== */

/* Base image constraints - ensure all images are responsive */
.article-body img {
    max-width: 100%;
    height: auto;
}

/* Category image container (WordPress pattern) */
.category-image {
    max-width: 350px;
    margin: 1.5rem 0;
}

.category-image.top {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    clear: right;
}

.category-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.25rem;
}

/* Caption styling */
.category-image .description {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 0.5rem 0;
    line-height: 1.4;
    border-bottom: 1px solid var(--color-border);
}

.category-image .description a {
    color: var(--color-accent);
}

/* Specific image classes */
.aaron-img {
    max-width: 280px;
    border-radius: 0.25rem;
}

.logo-img {
    max-width: 180px;
}

/* WordPress alignment classes */
.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    max-width: 50%;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
}

.alignnone {
    max-width: 100%;
    height: auto;
}

/* WordPress caption block */
.wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
}

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

.wp-caption-text {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 0.5rem 0;
}

/* Mobile: Stack floated images */
@media (max-width: 768px) {
    .category-image,
    .category-image.top,
    .alignright,
    .alignleft {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }

    .category-image img,
    .aaron-img,
    .logo-img {
        max-width: 100%;
    }
}

/* ==========================================================================
   Homepage Styles
   ========================================================================== */

/* Hero Section - Mobile: stacked, Desktop: split layout with video */
.hero {
    background: var(--color-primary);
    color: var(--color-bg);
    /* Mobile: just use negative margins to break out of container padding */
    margin: -1rem -1rem 0 -1rem;
}

.hero__content {
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

.hero__headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: var(--color-bg);
}

.hero__subtext {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem auto;
    max-width: 500px;
    opacity: 0.85;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
    margin: 0 auto;
}

.hero__button {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.375rem;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.hero__button:hover {
    transform: translateY(-2px);
}

.hero__button--primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.hero__button--primary:hover {
    background: #d35400;
}

.hero__button--secondary {
    background: transparent;
    color: var(--color-bg);
    border: 2px solid var(--color-bg);
}

.hero__button--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero media - visible on mobile, stacked below content */
.hero__media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: Split layout with video on right */
@media (min-width: 900px) {
    .hero {
        display: flex;
        min-height: 500px;
        /* Desktop: use 100vw technique to break out of 720px container */
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: -1rem 0 0 0;
    }

    .hero__content {
        flex: 0 0 45%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem 3rem 4rem 4rem;
        text-align: left;
    }

    .hero__headline {
        font-size: 3rem;
    }

    .hero__subtext {
        font-size: 1.1rem;
        max-width: 420px;
        margin: 0 0 1.5rem 0;
    }

    .hero__buttons {
        flex-direction: row;
        margin: 0;
        max-width: none;
    }

    .hero__button {
        padding: 1rem 1.5rem;
    }

    .hero__media {
        display: block;
        flex: 0 0 55%;
        position: relative;
        height: auto;  /* Reset mobile height */
        overflow: visible;  /* Allow gradient to extend into content area */
    }

    /* Gradient overlay that fades from dark blue to transparent */
    .hero__media::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, var(--color-primary) 0%, transparent 100%);
        z-index: 1;
        pointer-events: none;
    }

    .hero__video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Large desktop adjustments */
@media (min-width: 1200px) {
    .hero__headline {
        font-size: 3.5rem;
    }

    .hero__content {
        padding: 5rem 4rem 5rem 6rem;
    }
}

/* CTA Buttons (legacy, kept for other pages) */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        max-width: 600px;
    }
}

.cta-button {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button--primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.cta-button--primary:hover {
    background: var(--color-primary-hover);
}

.cta-button--secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-button--secondary:hover {
    background: var(--color-bg-light);
}

/* About Summary */
.about-summary {
    padding: 2.5rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.about-summary h2 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.about-summary h3 {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-summary p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.about-summary ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.about-summary li {
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.about-summary a {
    color: var(--color-accent);
    text-decoration: none;
}

.about-summary a:hover {
    text-decoration: underline;
}

/* Popular Topics */
.popular-topics {
    padding: 2.5rem 1rem;
}

.popular-topics h2 {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
}

.popular-topics__list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .popular-topics__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.popular-topics__list li {
    padding: 0.75rem 1rem;
    background: var(--color-bg-alt);
    border-radius: 0.375rem;
    border-left: 3px solid var(--color-primary);
}

.popular-topics__list a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.popular-topics__list a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PROFESSIONAL RECOMMENDATION CARDS
   Used on lawyer and investigator recommendation pages
   ========================================================================== */

/* Card container */
/* Recommendation label above each card */
.professional-card__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.professional-card {
    background: var(--color-bg-accent);  /* Light blue tint #f0f9ff */
    border: 1px solid var(--color-border);
    border-radius: 0.25rem;
    margin-bottom: 1.75rem;  /* More space between cards */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.18);  /* Stronger shadow */
}

/* Card header - Photo + Name | Firm with orange underline */
.professional-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem 0.5rem 1rem;
    border-bottom: 3px solid var(--color-accent);
}

/* Professional headshot photo */
.professional-card__photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.professional-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder for missing photos */
.professional-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: white;
    font-size: 2rem;
    font-weight: 600;
}

.professional-card__header-text {
    flex: 1;
    min-width: 0;
}

.professional-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.professional-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.professional-card__separator {
    color: var(--color-text-muted);
    font-weight: 400;
}

.professional-card__firm {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.professional-card__city {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0.25rem 0 0 0;
}

/* Metrics row - compact inline display */
.professional-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.professional-card__metric {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.professional-card__metric-label {
    color: var(--color-text-muted);
    font-weight: 400;
}

.professional-card__metric-value {
    color: var(--color-text);
    font-weight: 600;
}

/* Contact row */
.professional-card__contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.professional-card__contact-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: underline;
    font-weight: 500;
}

.professional-card__contact-link:hover {
    color: var(--color-accent);
}

.professional-card__contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.professional-card__contact-btn--phone {
    background: var(--color-accent);
    color: white;
}

.professional-card__contact-btn--phone:hover {
    background: #c65a00;
    color: white;
}

/* Bio accordion */
.professional-card__bio-toggle {
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    border-top: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-align: left;
    transition: background-color 0.15s ease;
}

.professional-card__bio-toggle:hover {
    background: var(--color-bg-light);
}

.professional-card__bio-toggle-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.professional-card__bio-toggle[aria-expanded="true"] .professional-card__bio-toggle-icon {
    transform: rotate(180deg);
}

.professional-card__bio-content {
    display: none;
    padding: 0.75rem 1rem 1rem 1rem;
    border-top: 1px solid var(--color-border);
}

.professional-card__bio-content[data-expanded="true"] {
    display: block;
}

.professional-card__bio-content p {
    margin: 0 0 0.75rem 0;
    line-height: 1.6;
    color: var(--color-text);
    font-size: 0.9rem;
}

.professional-card__bio-content p:last-child {
    margin-bottom: 0;
}

.professional-card__credentials {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.professional-card__credentials-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0 0 0.35rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.professional-card__credentials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.professional-card__credentials-list li {
    font-size: 0.85rem;
    color: var(--color-text);
    padding: 0.2rem 0;
    padding-left: 1.1rem;
    position: relative;
}

.professional-card__credentials-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* Mobile responsiveness for professional cards */
@media (max-width: 600px) {
    .professional-card__photo {
        width: 60px;
        height: 60px;
    }

    .professional-card__photo--placeholder {
        font-size: 1.5rem;
    }

    .professional-card__title-row {
        flex-direction: column;
        gap: 0;
    }

    .professional-card__separator {
        display: none;
    }

    .professional-card__firm {
        font-size: 0.9rem;
        margin-top: 0.1rem;
    }

    .professional-card__metrics {
        flex-direction: column;
        gap: 0.15rem;
    }

    .professional-card__contact {
        flex-direction: column;
        gap: 0.5rem;
    }

    .professional-card__contact-btn {
        justify-content: center;
        width: 100%;
    }

    .professional-card__contact-link {
        order: 2;
        justify-content: center;
    }

    .professional-card__contact-btn--phone {
        order: 1;
    }
}

/* Price tier display */
.price-tier {
    letter-spacing: 0.1em;
}

.price-tier--1::after { content: "$"; }
.price-tier--2::after { content: "$$"; }
.price-tier--3::after { content: "$$$"; }
.price-tier--4::after { content: "$$$$"; }

/* ==========================================================================
   RECOMMEND TOOL - Interactive professional filtering (Redesigned)
   ========================================================================== */

/* Page background */
.recommend-tool-page {
    background-color: #e8eef3;
    padding: 2rem 1rem;
    margin: -1rem calc(-50vw + 50%) 0;
    padding-left: calc(50vw - 50% + 1rem);
    padding-right: calc(50vw - 50% + 1rem);
}

.recommend-tool-page .breadcrumbs {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* White card container */
.recommend-tool__card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Header styling */
.recommend-tool__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #1a2b4a;
    text-align: center;
    margin-bottom: 0.5rem;
}

.recommend-tool__subtitle {
    font-size: 0.9rem;
    color: #c75a00;
    text-align: center;
    font-style: italic;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

/* Question labels */
.recommend-tool__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

/* Selection Tiles (replace radio buttons) */
.recommend-tool__tiles {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.recommend-tool__tile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s ease;
}

.recommend-tool__tile:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.recommend-tool__tile--selected {
    background: #1a2b4a;
    border-color: #e67e22;
    color: white;
}

.recommend-tool__tile--selected:hover {
    background: #1a2b4a;
}

.recommend-tool__tile-icon {
    font-size: 1.1rem;
}

/* Dropdowns container - side by side */
.recommend-tool__dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.recommend-tool__dropdown-group {
    display: flex;
    flex-direction: column;
}

/* Custom dropdown wrapper */
.recommend-tool__dropdown {
    position: relative;
}

.recommend-tool__dropdown select {
    width: 100%;
    padding: 0.875rem 2.5rem 0.875rem 2.5rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    appearance: none;
    cursor: pointer;
    color: #374151;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.recommend-tool__dropdown select:focus {
    outline: none;
    border-color: #1a2b4a;
    box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.1);
}

/* Location pin icon (left) */
.recommend-tool__dropdown::before {
    content: '';
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e67e22' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Orange chevron (right) */
.recommend-tool__dropdown::after {
    content: '';
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e67e22' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Case type dropdown - document icon instead of location */
.recommend-tool__dropdown--case::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e67e22' viewBox='0 0 24 24'%3E%3Cpath d='M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm-1 7V3.5L18.5 9H13z'/%3E%3C/svg%3E");
}

/* Blurred skeleton preview */
.recommend-tool__skeleton {
    position: relative;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 180px;
    overflow: hidden;
}

.recommend-tool__skeleton-cards {
    display: flex;
    gap: 1rem;
    filter: blur(3px);
    opacity: 0.5;
}

.recommend-tool__skeleton-card {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recommend-tool__skeleton-avatar {
    width: 48px;
    height: 48px;
    background: #d1d5db;
    border-radius: 50%;
    margin-bottom: 0.75rem;
}

.recommend-tool__skeleton-line {
    height: 10px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.recommend-tool__skeleton-line--short {
    width: 50%;
}

.recommend-tool__skeleton-line--medium {
    width: 75%;
}

/* Lock overlay */
.recommend-tool__skeleton-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.recommend-tool__skeleton-lock {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.recommend-tool__skeleton-text {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
}

/* Results container */
.recommend-tool__results {
    margin-top: 0;
}

/* Messages (info/warning) */
.recommend-tool__message {
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.recommend-tool__message--info {
    background-color: #e8f4fc;
    border-left: 4px solid #5a9bd4;
    color: #2a5f8a;
}

.recommend-tool__message--warning {
    background-color: #fff9e6;
    border-left: 4px solid #e67e22;
    color: #8a5a2a;
}

.recommend-tool__message a {
    color: inherit;
    font-weight: 600;
}

/* Section titles for "Both" results */
.recommend-tool__section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2b4a;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1a2b4a;
}

.recommend-tool__section-title:first-child {
    margin-top: 0;
}

/* Trust statement below card */
.recommend-tool__trust-statement {
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .recommend-tool-page {
        padding: 1.5rem 1rem;
    }

    .recommend-tool__card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .recommend-tool__title {
        font-size: 1.5rem;
    }

    .recommend-tool__tiles {
        flex-direction: column;
    }

    .recommend-tool__tile {
        width: 100%;
    }

    .recommend-tool__dropdowns {
        grid-template-columns: 1fr;
    }

    .recommend-tool__skeleton-cards {
        flex-direction: column;
    }

    .recommend-tool__skeleton-card:nth-child(3) {
        display: none;
    }
}

/* Recommend Hub - List Design */
.recommend-hub {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
}

.recommend-hub__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.recommend-hub__subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.recommend-hub__subtitle--highlight {
    border-left: 4px solid #e65c00;
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0 2rem 0;
    font-weight: 600;
    color: #e65c00;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Search Input */
.recommend-hub__search {
    margin-bottom: 1.5rem;
}

.recommend-hub__search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='M21 21l-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.875rem center;
    background-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.recommend-hub__search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.1);
}

.recommend-hub__search-input::placeholder {
    color: #999;
}

/* State List */
.recommend-hub__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* State Row */
.state-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.state-row:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.state-row__icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.state-row__icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-accent);
}

.state-row__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.state-row__label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.state-row__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
}

.state-row__type {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}

.state-row__silhouette {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 100px;
    opacity: 0.06;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.state-row__silhouette svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

.state-row__arrow {
    font-size: 1.75rem;
    color: #ccc;
    margin-left: 1rem;
    z-index: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    font-weight: 300;
}

.state-row:hover .state-row__arrow {
    color: var(--color-accent);
    transform: translateX(3px);
}

/* Hidden state for search filtering */
.state-row.hidden {
    display: none;
}

/* No Results Message */
.recommend-hub__no-results {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Trust Statement */
.recommend-hub__trust {
    max-width: 750px;
    margin: 2.5rem 0 0;
    padding: 0;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: left;
}

.recommend-hub__trust p {
    margin: 0 0 1rem 0;
}

.recommend-hub__trust p:last-child {
    margin-bottom: 0;
}

/* Investigator Links Section */
.recommend-hub__investigators {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.recommend-hub__investigators-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.recommend-hub__investigators-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recommend-hub__investigators-list li {
    margin: 0;
}

.recommend-hub__investigators-list a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 1rem;
}

.recommend-hub__investigators-list a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .recommend-hub {
        padding: 1.5rem 1rem 2rem;
    }

    .recommend-hub__title {
        font-size: 1.75rem;
    }

    .recommend-hub__subtitle {
        font-size: 0.95rem;
    }

    .state-row {
        padding: 0.875rem 1rem;
    }

    .state-row__icon {
        width: 36px;
        height: 36px;
        margin-right: 0.75rem;
    }

    .state-row__label {
        font-size: 0.65rem;
    }

    .state-row__name {
        font-size: 1.1rem;
    }

    .state-row__type {
        font-size: 0.8rem;
    }

    .state-row__silhouette {
        width: 100px;
        height: 70px;
        right: 35px;
        opacity: 0.05;
    }

    .state-row__arrow {
        font-size: 1.5rem;
    }

    .recommend-hub__trust {
        padding: 0;
        font-size: 1rem;
        margin-top: 2rem;
    }

    .recommend-hub__subtitle--highlight {
        padding: 0.5rem 0 0.5rem 1rem;
        font-size: 1rem;
    }

    .recommend-hub__investigators {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .recommend-hub__investigators-title {
        font-size: 1.25rem;
    }
}
