/* CSS spécifique à la page des ressources */


/* --- 2. TITRES DE SECTIONS & NUMÉROTATION --- */
.ressource-section-wrapper {
    grid-column: 1 / -1;
    margin-top: 25px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-left: 10px;
}


.section-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--corail);
    background: rgba(255, 135, 135, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--bleu-lagon-sombre);
}

/* Grid des guides */

.guide-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    padding: 30px;
    background: var(--bleu-lagon-clair);
}

.guide-item-fullsize {
    grid-column: span 2;
}

.guide-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.guide-item h3 a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.guide-item p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* CTA Lire le guide */
.link-arrow {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bleu-lagon-moyen);
    text-transform: uppercase;
}

.guide-item:hover .link-arrow {
    color: var(--corail);
}

/* Ressources externes (bleu) */
.featured-legal {
    border: 1.5px solid var(--bleu-lagon-moyen);
    background-color: var(--blanc);
}

/* Bloc documents */
.doc-download-card {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFBF5;
    border: 2px dashed var(--bordure);
}

/* Responsive */

@media (max-width: 1100px) {
    .guide-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .guide-links-grid { 
        grid-template-columns: 1fr;
    }
    .doc-download-card { 
        flex-direction: column; 
        text-align: center; 
        gap: 25px; 
    }
    h2 {
        font-size: 1.6rem;
    }
}