/* =========================================================
   ATOM PHYSICAL THERAPY
   INSURANCE ACQUISITION PAGES
   Shared styles for Medicare, Aetna, UHC, MetroPlus, etc.
   ========================================================= */


/* ---------- BASE ---------- */

.atom-insurance-page {
    background: #ffffff;
    color: #292d31;
    font-size: 16px;
    line-height: 1.7;
}

.atom-insurance-page *,
.atom-insurance-page *::before,
.atom-insurance-page *::after {
    box-sizing: border-box;
}

.atom-insurance-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ---------- TYPOGRAPHY ---------- */

.atom-insurance-page h1,
.atom-insurance-page h2,
.atom-insurance-page h3,
.atom-insurance-page p {
    margin-top: 0;
}

.atom-insurance-page h1 {
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #292d31;
}

.atom-insurance-page h2 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #292d31;
}

.atom-insurance-page h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #292d31;
}

.atom-insurance-page p {
    margin-bottom: 16px;
}

.atom-insurance-page p:last-child {
    margin-bottom: 0;
}

.atom-insurance-eyebrow {
    margin-bottom: 10px;
    color: #ef6c23;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}


/* ---------- HERO ---------- */

.atom-insurance-hero {
    padding: 56px 0 52px;
    background: #f6f6f5;
    border-bottom: 1px solid #e5e5e5;
}

.atom-insurance-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: start;
}

.atom-insurance-lead {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.65;
    color: #454a4f;
}

.atom-insurance-note {
    margin-top: 18px;
    margin-bottom: 0;
    max-width: 680px;
    font-size: 13px;
    line-height: 1.6;
    color: #70757a;
}


/* ---------- BUTTONS ---------- */

.atom-insurance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.atom-insurance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.035em;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.atom-insurance-btn-primary {
    background: #ef6c23;
    border: 2px solid #ef6c23;
    color: #ffffff !important;
}

.atom-insurance-btn-primary:hover,
.atom-insurance-btn-primary:focus {
    background: #d85d18;
    border-color: #d85d18;
    color: #ffffff !important;
}

.atom-insurance-btn-secondary {
    background: transparent;
    border: 2px solid #292d31;
    color: #292d31 !important;
}

.atom-insurance-btn-secondary:hover,
.atom-insurance-btn-secondary:focus {
    background: #292d31;
    border-color: #292d31;
    color: #ffffff !important;
}

.atom-insurance-btn-secondary-dark {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.72);
    color: #ffffff !important;
}

.atom-insurance-btn-secondary-dark:hover,
.atom-insurance-btn-secondary-dark:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #292d31 !important;
}


/* ---------- STANDARD TWO-COLUMN SECTION ---------- */

.atom-insurance-section {
    padding: 46px 0;
}

.atom-insurance-section-soft {
    background: #f6f6f5;
}

.atom-insurance-row {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.atom-insurance-heading h2 {
    margin-bottom: 0;
}

.atom-insurance-copy {
    max-width: 760px;
    color: #50555a;
}

.atom-insurance-copy strong {
    color: #292d31;
}


/* ---------- SECTION INTRO ---------- */

.atom-insurance-section-intro {
    max-width: 800px;
    margin-bottom: 26px;
}

.atom-insurance-section-intro > p {
    color: #555a5f;
}


/* ---------- BENEFIT / CONDITION CARDS ---------- */

.atom-insurance-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.atom-insurance-card {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e0e0de;
}

.atom-insurance-card p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5a5f64;
}


/* ---------- TEXT LINK ---------- */

.atom-insurance-text-link {
    display: inline-block;
    margin-top: 4px;
    color: #ef6c23 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.atom-insurance-text-link:hover,
.atom-insurance-text-link:focus {
    color: #d85d18 !important;
}


/* ---------- DARK SERVICES SECTION ---------- */

.atom-insurance-dark {
    padding: 46px 0;
    background: #292d31;
    color: #ffffff;
}

.atom-insurance-dark h2,
.atom-insurance-dark h3 {
    color: #ffffff;
}

.atom-insurance-dark-heading {
    max-width: 800px;
    margin-bottom: 24px;
}

.atom-insurance-dark-heading p {
    color: rgba(255,255,255,0.75);
}

.atom-insurance-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.atom-insurance-service-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    min-height: 72px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,0.24);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.atom-insurance-service-link:hover,
.atom-insurance-service-link:focus {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.48);
}


/* ---------- FINAL CTA ---------- */

.atom-insurance-final {
    padding: 42px 0;
    background: #343941;
    color: #ffffff;
}

.atom-insurance-final h2 {
    color: #ffffff;
}

.atom-insurance-final p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.75);
}

.atom-insurance-final-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
}

.atom-insurance-final-actions {
    justify-content: flex-end;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {

    .atom-insurance-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .atom-insurance-link-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 820px) {

    .atom-insurance-container {
        width: min(100% - 32px, 1180px);
    }

    .atom-insurance-hero {
        padding: 38px 0;
    }

    .atom-insurance-hero-grid,
    .atom-insurance-row,
    .atom-insurance-final-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    
    .atom-insurance-section {
        padding: 36px 0;
    }

    .atom-insurance-dark {
        padding: 36px 0;
    }

    .atom-insurance-final {
        padding: 36px 0;
    }

    .atom-insurance-final-actions {
        justify-content: flex-start;
    }
}


@media (max-width: 560px) {

    .atom-insurance-page h1 {
        font-size: 28px;
    }

    .atom-insurance-card-grid {
        grid-template-columns: 1fr;
    }

    .atom-insurance-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .atom-insurance-btn {
        width: 100%;
    }
}


.atom-insurance-hero .atom-insurance-actions {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
}

.atom-insurance-hero .atom-insurance-btn {
    margin: 0;
}
