/* --- LAYOUT GLOBAL (mobile first) --- */

.club-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #1e1e1e;
    font-family: "Poppins", sans-serif;
}

/* --- TITRES & TEXTE --- */

.club-left h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-align: left;
}

.club-left h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
    position: relative;
}

.club-left h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: #ffd071;
    margin-top: 8px;
    border-radius: 2px;
}

.club-left h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
}

.club-left h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 18px;
    background: #ffd071;
    border-radius: 3px;
    margin-right: 10px;
}

.club-left p {
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 1rem;
}


/* --- GRILLE IMAGES (mobile = 2 colonnes, sinon 3 puis 2 sur desktop) --- */

.club-right .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.club-right .image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- ITEM IMAGE + LÉGENDE --- */

.img-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-item img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.img-item .caption {
    font-size: 0.9rem;
    color: #555;
    margin-top: 6px;
    text-align: center;
    max-width: 95%;
    line-height: 1.3;
    font-style: italic;
}


/* --- BREAKPOINT TABLETTE (> 700px) --- */

@media (min-width: 700px) {

    .club-right .image-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* --- BREAKPOINT DESKTOP (> 900px) --- */

@media (min-width: 900px) {

    .club-layout {
        grid-template-columns: 1fr 0.9fr;
        padding: 60px 20px;
    }

    .club-right {
        margin-top: 0;
    }

    .club-right .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .club-left h1 {
        font-size: 2.4rem;
    }

    .club-left h2 {
        font-size: 1.4rem;
    }
}

/* --- GRAND ÉCRAN (> 1200px) --- */

@media (min-width: 1200px) {

    .club-right .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
