/**
 * Family Strengthening Landing Page Styles
 *
 * @package HoltInternational
 * @page /family-strengthening/
 */

/* ========================================
   CSS VARIABLES (Brand Palette)
   ======================================== */
:root {
    --fs-brick: #d33928;
    --fs-coral: #e35030;
    --fs-golden: #fbae49;
    --fs-teal: #007086;
    --fs-charcoal: #212529;
    --fs-muted: #6a717c;
    --fs-line: #e8ebef;
    --fs-cloud: #f7f8fa;
}

/* ========================================
   HERO SECTION - Coral Gradient Overlay
   ======================================== */
.page-family-strengthening .holt-page-header.hero {
    min-height: 70vh;
}

/* Brand colors: Coral #e35030, Brick #d33928 */
.page-family-strengthening .holt-page-header .hero__image-container {
    background-color: rgba(211, 57, 40, 0.95) !important; /* Brick with high opacity */
}

.page-family-strengthening .holt-page-header .hero__image-container.has-background-dim::before {
    background: linear-gradient(135deg, rgba(227, 80, 48, 0.92), rgba(211, 57, 40, 0.95)) !important; /* Coral to Brick */
    opacity: 1 !important;
}

.page-family-strengthening .hero__kicker {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.page-family-strengthening .hero__title {
    margin-bottom: 24px;
}

.page-family-strengthening .hero__text {
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 68ch;
}

.page-family-strengthening .hero__buttons {
    gap: 12px;
}

.page-family-strengthening .holt-page-header .hero__inner {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.page-family-strengthening .holt-page-header .hero__content {
    max-width: 100%;
}

/* Hero button colors - set via Gutenberg editor, not CSS */

/* ========================================
   INTRO SECTION
   ======================================== */
.family-strengthening-intro {
    background: var(--fs-cloud) !important;
}

.family-strengthening-intro > .wp-block-columns {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.family-strengthening-intro .kicker {
    margin-bottom: 8px;
}

.family-strengthening-intro .intro-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   STATS SECTION
   ======================================== */
.family-strengthening-stats {
    background: var(--fs-teal) !important;
    color: #fff;
}

.family-strengthening-stats .wp-block-columns {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.family-strengthening-stats h3 {
    font-family: var(--f-heading, "Rowan", Georgia, serif);
    line-height: 1;
    margin-bottom: 12px;
}

/* ========================================
   PROGRAMS SECTION - Cards
   ======================================== */
.family-strengthening-programs {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.program-card {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 200ms ease;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.program-card .wp-block-cover {
    transition: transform 300ms ease;
}

.program-card:hover .wp-block-cover img {
    transform: scale(1.03);
}

.program-card h3 {
    color: var(--fs-charcoal);
    margin-bottom: 16px;
}

.program-card p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.program-card .wp-block-button.is-style-outline .wp-block-button__link {
    border-color: var(--fs-teal);
    color: var(--fs-teal);
    border-radius: 12px;
    padding: 0.8rem 1.1rem;
    font-weight: 600;
    transition: all 150ms ease;
}

.program-card .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--fs-teal);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   COUNTRIES SECTION
   ======================================== */
.family-strengthening-countries {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.countries-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.country-btn .wp-block-button__link {
    background: var(--fs-cloud) !important;
    border: 1px solid var(--fs-line) !important;
    border-radius: 10px !important;
    color: var(--fs-charcoal) !important;
    font-weight: 500;
    padding: 20px 16px;
    transition: all 200ms ease;
    margin-bottom: 16px;
}

.country-btn .wp-block-button__link:hover {
    background: var(--fs-teal) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 134, 0.25);
    border-color: var(--fs-teal) !important;
}

/* ========================================
   APPROACH SECTION
   ======================================== */
.family-strengthening-approach {
    background: var(--fs-cloud) !important;
}

.family-strengthening-approach .wp-block-columns {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.approach-item {
    text-align: center;
}

.approach-item h3 {
    margin-bottom: 12px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.family-strengthening-cta {
    text-align: center;
    background: var(--fs-teal) !important;
    color: #fff;
}

.family-strengthening-cta > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.family-strengthening-cta h2 {
    margin-bottom: 12px;
    color: #fff;
}

.family-strengthening-cta > p {
    max-width: 600px;
    margin-bottom: 28px;
}

.family-strengthening-cta .wp-block-buttons {
    gap: 12px;
}

.family-strengthening-cta .wp-block-button__link {
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.page-family-strengthening .wp-block-button__link {
    border-radius: 12px;
    font-weight: 600;
    transition: all 150ms ease;
}

.page-family-strengthening .wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .family-strengthening-stats .wp-block-columns {
        flex-wrap: wrap;
    }

    .family-strengthening-stats .wp-block-column {
        flex-basis: 50% !important;
    }

    .programs-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .family-strengthening-intro .wp-block-columns {
        flex-direction: column;
    }

    .countries-grid {
        flex-wrap: wrap;
    }

    .countries-grid .wp-block-column {
        flex-basis: 50% !important;
    }

    .family-strengthening-approach .wp-block-columns {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .family-strengthening-stats .wp-block-column {
        flex-basis: 100% !important;
    }

    .countries-grid .wp-block-column {
        flex-basis: 100% !important;
    }
}
