/**
 * Resource Article
 *
 * Reusable layout for indexable pages built from Resources-page brochures
 * and technical documents. Scoped to .resource-article so it never leaks into
 * other page content. Matches Transcon theme tokens (red #d92a1c, heading
 * #303030, Manrope). No numbered steps, no decorative dividers.
 */

.resource-article {
    color: #303030;
    font-family: 'Manrope', sans-serif;
}

/* One max-width, set on the container, so the hero band and the body
   share the exact same reading column and align on both edges. */
.resource-article .container {
    max-width: 960px;
}

/* ── Hero band ──────────────────────────────────────────────── */
.resource-article__hero {
    background: #f7f7f7;
    border-top: 4px solid #d92a1c;
    padding-top: 56px;
    padding-bottom: 56px;
    margin-bottom: 48px;
}

.resource-article__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d92a1c;
    margin: 0 0 12px 0;
}

.resource-article__title {
    font-size: 2.75rem;
    line-height: 1.1;
    font-weight: 800;
    color: #303030;
    margin: 0 0 18px 0;
}

.resource-article__lede {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 820px;
    margin: 0;
}

/* ── Body ───────────────────────────────────────────────────── */
/* Width is governed by the theme .container (same as the hero) so the
   body and hero align on the same left/right edges. */
.resource-article__body {
    padding-bottom: 64px;
}

.resource-article__body > p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3a3a3a;
    margin: 0 0 22px 0;
}

.resource-article__body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #303030;
    margin: 44px 0 16px 0;
}

.resource-article__body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #303030;
    margin: 28px 0 12px 0;
}

.resource-article__body a {
    color: #d92a1c;
    font-weight: 600;
    text-decoration: none;
}

.resource-article__body a:hover {
    color: #b92119;
    text-decoration: underline;
}

.resource-article__body ul {
    margin: 0 0 22px 0;
    padding-left: 0;
    list-style: none;
}

.resource-article__body ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #3a3a3a;
}

.resource-article__body ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d92a1c;
}

/* ── Figures / product imagery ──────────────────────────────── */
.resource-article__figure {
    margin: 32px 0 36px 0;
}

.resource-article__figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.resource-article__figure figcaption {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    line-height: 1.4;
}

/* ── Spec group cards ───────────────────────────────────────── */
.resource-article__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 28px 0 32px 0;
}

.resource-article__spec-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px 26px;
}

.resource-article__spec-card h3 {
    margin-top: 24px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    font-size: 1.15rem;
}

.resource-article__spec-card h3:first-child {
    margin-top: 0;
}

.resource-article__spec-card ul {
    margin-bottom: 0;
}

.resource-article__spec-card ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

/* ── CTA panel ──────────────────────────────────────────────── */
.resource-article__cta {
    background: #303030;
    border-radius: 8px;
    padding: 40px 44px;
    margin-top: 48px;
}

.resource-article__cta h2 {
    color: #fff;
    margin: 0 0 12px 0;
    font-size: 1.6rem;
}

.resource-article__cta p {
    color: #d6d6d6;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin: 0 0 24px 0;
    max-width: 640px;
}

.resource-article__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d92a1c;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 26px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.resource-article__btn:hover {
    background: #b92119;
    gap: 14px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .resource-article__title {
        font-size: 2.25rem;
    }
    .resource-article__specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .resource-article__hero {
        padding-top: 40px;
        padding-bottom: 40px;
        margin-bottom: 32px;
    }
    .resource-article__title {
        font-size: 1.85rem;
    }
    .resource-article__lede {
        font-size: 1.1rem;
    }
    .resource-article__cta {
        padding: 28px 24px;
    }
}
