/* ==========================================================================
   MADRASSA — PAGE RECRUTEMENT
   Fichier : public/assets/css/public-recruitment.css
   ========================================================================== */

.public-page-hero--recruitment {
    min-height: 560px;
    background:
        linear-gradient(
            90deg,
            rgba(6,47,34,.97),
            rgba(6,47,34,.80) 50%,
            rgba(6,47,34,.24)
        ),
        url('/assets/images/recrutement1.png') 82% center / min(46vw, 720px) auto no-repeat,
        linear-gradient(145deg, #0a3b2b, #052d21);
}

.public-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.8rem;
}

.public-btn--gold {
    color: #fffdf7 !important;
    background: linear-gradient(135deg, var(--public-gold-600), var(--public-gold-800));
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 12px 28px rgba(168,108,12,.24);
}

.public-btn--outline-light {
    color: #fffdf7 !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(8px);
}

.recruitment-intro {
    align-items: center;
}

.public-media-frame--recruitment {
    min-height: 460px;
}

.public-media-frame--recruitment img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    padding: 1.5rem;
}

.recruitment-facts {
    display: grid;
    gap: .8rem;
}

.recruitment-fact {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .85rem;
    align-items: start;
    padding: .9rem 1rem;
    background: rgba(255,255,255,.64);
    border: 1px solid var(--public-border);
    border-radius: 13px;
}

.recruitment-fact__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--public-gold-700);
    background: rgba(214,164,59,.12);
    border-radius: 12px;
}

.recruitment-fact__label {
    display: block;
    margin-bottom: .15rem;
    color: var(--public-text-faint);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.recruitment-fact strong {
    color: var(--public-green-950);
    line-height: 1.55;
}

.recruitment-content-card {
    min-height: 100%;
}

.recruitment-content-card .public-card__title {
    font-size: 1.8rem;
}

.recruitment-quality-card {
    text-align: center;
}

.recruitment-quality-card .public-card__icon {
    margin-inline: auto;
    margin-bottom: 1rem;
}

.recruitment-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-top: 1.5rem;
}

@media (max-width: 1199.98px) {
    .public-page-hero--recruitment {
        background-size: 52vw auto;
        background-position: 94% center;
    }
}

@media (max-width: 991.98px) {
    .public-page-hero--recruitment {
        min-height: 500px;
        background:
            linear-gradient(
                90deg,
                rgba(6,47,34,.97),
                rgba(6,47,34,.90)
            ),
            linear-gradient(145deg, #0a3b2b, #052d21);
    }

    .public-media-frame--recruitment,
    .public-media-frame--recruitment img {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .public-page-hero__actions,
    .recruitment-cta__actions {
        flex-direction: column;
    }

    .public-page-hero__actions .public-btn,
    .recruitment-cta__actions .public-btn {
        width: 100%;
    }

    .public-media-frame--recruitment,
    .public-media-frame--recruitment img {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .public-page-hero--recruitment {
        min-height: 450px;
    }

    .public-media-frame--recruitment,
    .public-media-frame--recruitment img {
        min-height: 250px;
    }

    .public-media-frame--recruitment img {
        padding: .75rem;
    }
}