/* ========================================================================== 
   Becas Progresar - plantilla propia
   ========================================================================== */

.fch-becas-progresar {
    --fch-becas-navy: #232d4f;
    --fch-becas-gold: #e7ba61;
    --fch-becas-line: #dedede;
    --fch-becas-muted: #666;
    width: 100%;
    overflow-x: hidden;
    background: #fff;
    color: var(--fch-becas-navy);
    font-family: var(--fhc26-font-primary, 'Montserrat', Arial, sans-serif);
    padding-bottom: 82px;
}

.fch-becas-progresar *,
.fch-becas-progresar *::before,
.fch-becas-progresar *::after {
    box-sizing: border-box;
}

.fch-becas-progresar a {
    color: inherit;
    text-decoration: none;
}

.fch-becas-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 292px;
    padding: 56px 24px 58px;
    background-image: linear-gradient(rgba(35, 45, 79, .78), rgba(48, 99, 130, .78)), url('/wp-content/uploads/2024/12/Frame-618.png');
    background-position: center;
    background-size: cover;
    border-bottom: 4px solid var(--fch-becas-gold);
    text-align: center !important;
    color: #fff;
}

.fch-becas-hero__title {
    width: min(1040px, 100%);
    margin: 0 0 18px;
    font-family: var(--fhc26-font-secondary, 'Lora', Georgia, serif);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
}

.fch-becas-hero__desc {
    width: min(1060px, 100%);
    max-width: 1060px;
    margin: 0 auto;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
}

.fch-becas-section {
    width: min(1080px, calc(100% - 48px));
    margin: 58px auto 0;
}

.fch-becas-section--obligatorio {
    margin-top: 48px;
}

.fch-becas-section__title {
    margin: 0 0 12px;
    font-family: var(--fhc26-font-secondary, 'Lora', Georgia, serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.18;
    color: var(--fch-becas-navy);
}

.fch-becas-section__desc {
    max-width: 980px;
    margin: 0 0 34px;
    font-size: 23px;
    line-height: 1.45;
    color: var(--fch-becas-navy);
}

.fch-becas-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr);
    gap: 24px;
    align-items: stretch;
    width: min(840px, 100%);
    margin: 22px auto 0;
    padding: 18px;
    border: 2px solid var(--fch-becas-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(35, 45, 79, .08);
}

.fch-becas-featured__media img {
    display: block;
    width: 100%;
    height: 286px;
    object-fit: cover;
    border-radius: 12px;
}

.fch-becas-featured__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2px 0 0;
}

.fch-becas-featured__title {
    margin: 0 0 12px;
    font-family: var(--fhc26-font-secondary, 'Lora', Georgia, serif);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.22;
    color: #000;
}

.fch-becas-featured__desc {
    margin: 0 0 16px;
    font-size: 19px;
    line-height: 1.35;
    color: var(--fch-becas-muted);
}

.fch-becas-featured__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: auto;
    border-radius: 7px;
    background: var(--fch-becas-navy);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
}

.fch-becas-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 34px;
    align-items: start;
}

.fch-becas-grid--tests {
    grid-template-columns: repeat(3, minmax(0, 226px));
    gap: 58px;
}

.fch-becas-card {
    display: flex;
    flex-direction: column;
    min-height: 338px;
    overflow: hidden;
    border: 1px solid var(--fch-becas-line);
    border-radius: 14px;
    background: #fff;
    color: #000;
    box-shadow: 0 8px 20px rgba(35, 45, 79, .06);
}

.fch-becas-card__image {
    display: block;
    width: 100%;
    height: 142px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.fch-becas-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px 18px;
}

.fch-becas-card__type {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 1.2;
    color: #000;
}

.fch-becas-card__title {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.28;
    color: #000;
}

.fch-becas-card__details {
    margin-top: auto;
    font-size: 16px;
    line-height: 1.24;
    color: #000;
}

.fch-becas-back {
    display: flex;
    justify-content: center;
    margin: 54px 0 74px;
}

.fch-becas-back a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 42px;
    padding: 0 24px;
    border: 2px solid #efefef;
    border-radius: 999px;
    color: var(--fch-becas-navy);
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .fch-becas-hero {
        min-height: 240px;
        padding: 48px 22px;
    }

    .fch-becas-hero__title {
        font-size: 35px;
    }

    .fch-becas-hero__desc {
        font-size: 23px;
    }

    .fch-becas-featured {
        grid-template-columns: 1fr;
        width: min(560px, 100%);
    }

    .fch-becas-featured__media img {
        height: 280px;
    }

    .fch-becas-grid,
    .fch-becas-grid--tests {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .fch-becas-progresar {
        padding-bottom: 58px;
    }

    .fch-becas-section {
        width: min(100% - 24px, 520px);
        margin-top: 34px;
    }

    .fch-becas-hero__title {
        font-size: 30px;
    }

    .fch-becas-hero__desc,
    .fch-becas-section__desc {
        font-size: 18px;
    }

    .fch-becas-section__title {
        font-size: 30px;
    }

    .fch-becas-grid,
    .fch-becas-grid--tests {
        grid-template-columns: 1fr;
    }
}
