﻿/*
 * article.css — /css/article.css
 * Shared overrides for lifealert.net article pages (/article/*.aspx)
 * Must be loaded AFTER faq.css to win the cascade.
 * Uses !important throughout to override Tailwind preflight's global resets
 * (h1-h6 font-size/weight inherit, a color/text-decoration inherit, etc.)
 */

/* ─── Headings ──────────────────────────────────────────────────────────── */

.articleHeader h1,
.HeaderGrey h1 {
    font-size: 2.2rem !important;
    font-weight: normal !important;
    color: #212529 !important;
    line-height: 1.2 !important;
}

.articleBody h2:not(section h2),
.BodyText h2:not(section h2) {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #8A161A !important;
    margin: 28px 0 12px !important;
    line-height: 1.25 !important;
}

    /* FAQ section heading — exact values from faq.css Tailwind classes:
   font-extrabold = 800, mb-8 = 2rem, text-center = center
   font-size: 1rem (faq.css resets h2 to inherit, so it falls back to body size) */
    .articleBody h2.faq-section-heading,
    .BodyText h2.faq-section-heading {
        font-size: 1.5rem !important;
        padding-top: 26px !important;
        margin-top: 20px !important;
        /*        font-weight: 800 !important;
            color: #111827 !important;
            margin: 0 0 2rem 0 !important;
            line-height: 1.5 !important;
            text-align: center !important;*/
    }

.articleBody h3,
.BodyText h3 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #212529 !important;
    margin: 0 !important;
    line-height: 1.75rem !important;
}

/* ─── Body text ─────────────────────────────────────────────────────────── */

.articleBody p,
.BodyText p {
    margin-bottom: 1rem !important;
    line-height: 1.7 !important;
    color: #212529 !important;
}

/* ─── Links ─────────────────────────────────────────────────────────────── */

.articleBody a,
.BodyText a {
    color: #AC1E23 !important;
    text-decoration: none !important;
}

    .articleBody a:hover,
    .BodyText a:hover {
        text-decoration: underline !important;
    }

/* ─── Blockquotes (testimonials) ────────────────────────────────────────── */

.articleBody blockquote,
.BodyText blockquote {
    border-left: 4px solid #AC1E23 !important;
    margin: 1.25rem 0 1.25rem 1rem !important;
    padding: 0.5rem 0 0.5rem 1.25rem !important;
    color: #444 !important;
    font-style: italic !important;
}

    .articleBody blockquote p,
    .BodyText blockquote p {
        margin-bottom: 0.25rem !important;
    }

    .articleBody blockquote cite,
    .BodyText blockquote cite {
        font-style: normal !important;
        font-size: 0.875rem !important;
        color: #666 !important;
    }

/* ─── Bullet lists ───────────────────────────────────────────────────────── */

.articleBody ul,
.BodyText ul {
    list-style: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

    .articleBody ul li,
    .BodyText ul li {
        margin-bottom: 0.35rem !important;
    }

/* ─── Breadcrumb ────────────────────────────────────────────────────────── */

.articleBreadcrumb {
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: #555;
}

    .articleBreadcrumb a {
        color: #AC1E23 !important;
        text-decoration: none !important;
    }

        .articleBreadcrumb a:hover {
            text-decoration: underline !important;
        }

/* ─── FAQ accordion ─────────────────────────────────────────────────────── */

/*
 * The .hidden class from faq.css sets display:none.
 * toggleItem() in Articles.master removes/adds the "hidden" class.
 * We need to ensure the revealed content shows as block.
 * The :not(.hidden) selector covers the revealed state without JS dependency.
 */
.articleBody .bg-white [id^="content-"]:not(.hidden),
.BodyText .bg-white [id^="content-"]:not(.hidden) {
    display: block !important;
}

/* Clickable accordion row */
.articleBody .bg-white [onclick],
.BodyText .bg-white [onclick] {
    cursor: pointer !important;
}


/* article.css */
.formcontainer .right h2,
#brochure-form .right h2 {
    font-size: 22px !important;
    font-weight: bold !important;
    color: #8A161A !important;
    margin-bottom: 20px !important;
    white-space: normal !important;  Overrides white-space: nowrap 
}