.content-page {
    padding: 3rem 1rem 4rem;
}

.content-page .container {
    max-width: 960px;
}

.subpage-hero {
    padding: 4rem 0 1rem;
}

.content-page.content-page-after-hero {
    padding-top: 1rem;
}

.subpage-hero-image {
    width: 100%;
    max-width: 300px;
    height: 250px;
    object-fit: cover;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.page-intro,
.content-page p,
.content-page li,
.resource-card p,
.faq-item p {
    text-align: left;
}

.page-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.content-page h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
}

.content-page h3 {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin: 1.5rem 0 0.5rem;
}

.content-page ul {
    padding-left: 1.25rem;
}

.faq-content-page {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.faq-item,
.resource-card,
.history-card {
    padding: 1.5rem;
    border: 1px solid rgba(163, 29, 29, 0.15);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.faq-item {
    scroll-margin-top: 7rem;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-item-highlight {
    background-color: #fff6dd;
    border-color: rgba(163, 29, 29, 0.45);
    box-shadow: 0 0 0 4px rgba(239, 208, 172, 0.85), 0 10px 24px rgba(109, 35, 35, 0.12);
}

.faq-list,
.resource-list {
    display: grid;
    gap: 1rem;
}

.resource-card p,
.faq-item p {
    margin-bottom: 0;
}

.resource-card h2,
.faq-item h2 {
    margin-top: 0;
}

.faq-item p + p {
    margin-top: 1rem;
}

.resource-contact {
    margin-top: 0.75rem;
    font-weight: 500;
}

.resource-contact a {
    overflow-wrap: anywhere;
}

.history-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

@media (max-width: 1023px) {
    .content-page {
        padding-top: 2rem;
    }

    .subpage-hero {
        padding-top: 2.5rem;
    }

    .page-title {
        font-size: 1.9rem;
    }

    .faq-item {
        padding: 1.5rem 1rem;
    }

    .faq-item p {
        font-size: 1rem;
    }

    .faq-item a {
        font-size: 1rem;
    }
}
