/* ================================
   Core Pages
================================ */

.page-shell {
    max-width: 1100px;
    margin-top: 34px;
    margin-bottom: 44px;
}

.page-hero,
.page-section {
    padding: clamp(22px, 4vw, 40px);
}

.page-hero {
    margin-bottom: 16px;
    background:
        radial-gradient(circle at 86% 22%, rgba(20, 184, 166, 0.2), transparent 40%),
        linear-gradient(140deg, #ffffff, #f0f9f7);
    border: 1px solid rgba(15, 118, 110, 0.14);
}

.page-hero.page-hero-image {
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(11, 39, 46, 0.84), rgba(15, 118, 110, 0.7)),
        var(--page-hero-image);
    background-size: cover;
    background-position: center;
}

.page-hero.page-hero-image .eyebrow,
.page-hero.page-hero-image h1,
.page-hero.page-hero-image p {
    color: #ffffff;
}

.post-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: clamp(28px, 5vw, 52px);
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(11, 39, 46, 0.84), rgba(15, 118, 110, 0.7)),
        var(--post-hero-image, linear-gradient(130deg, #0f766e, #0d4a53));
    background-size: cover;
    background-position: center;
}

.post-hero .eyebrow,
.post-hero h1,
.post-hero .content-meta {
    color: #ffffff;
}

.page-section {
    margin-bottom: 16px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.clean-list {
    margin: 0;
    padding-left: 18px;
}

.clean-list li {
    margin-bottom: 8px;
}

.progress-list {
    display: grid;
    gap: 14px;
}

.progress-list .track {
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    overflow: hidden;
    margin-top: 4px;
}

.progress-list .track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #0f766e);
}

.muted-small {
    font-size: 0.9rem;
    color: var(--muted);
}

#contactForm {
    display: grid;
    gap: 10px;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    border: 1px solid #c7d8d4;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    color: inherit;
    background: #fff;
}

#contactForm label {
    font-weight: 700;
    font-size: 0.92rem;
}

.form-response {
    margin-top: 12px;
    min-height: 24px;
    transition: opacity 0.3s ease;
}

.content-body > *:last-child {
    margin-bottom: 0;
}

.content-body ul,
.content-body ol {
    padding-left: 20px;
}

.content-article-image {
    margin: -40px -40px 24px;
}

.content-article-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-album-item {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    background: #fff;
}

.gallery-album-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-album-item span {
    display: block;
    padding: 10px 12px;
    font-weight: 700;
    color: #1f2937;
}

.impact-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.action-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-card .btn {
    margin-top: auto;
}

.process-list {
    margin: 0;
    padding-left: 20px;
}

.process-list li {
    margin-bottom: 10px;
}

.event-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.event-list-card {
    padding: 20px;
}

.event-date {
    font-size: 0.92rem;
    color: var(--muted);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sponsor-card {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    text-align: center;
}

.sponsor-card a {
    text-decoration: none;
}

.sponsor-card img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.sponsor-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #1f2937;
}

.lead-form {
    display: grid;
    gap: 10px;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid #c7d8d4;
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
    color: #ffffff;
    font-weight: 700;
    caret-color: #ffffff;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #ffffff;
    font-weight: 700;
}

.lead-form label {
    font-weight: 700;
    font-size: 0.92rem;
}

.lead-success {
    color: #14835c;
    font-weight: 700;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.donation-goal-card {
    margin-bottom: 16px;
}

@media (max-width: 860px) {
    .two-column,
    .gallery-album-grid,
    .impact-actions-grid,
    .event-list-grid,
    .sponsor-grid {
        grid-template-columns: 1fr;
    }
}
