/* ==========================================================================
   PAGE: CONFERENCES / ATELIERS
   Complément à base.css
   ========================================================================== */

.wrc-hero-base {
    --hero-bg-image: url('../img/ateliers/ateliers_background.jpg');
}

/* --- SECTION HERO --- */
.hero-ateliers {
    background-position: center right;
}

.gap-4 {
    gap: 1rem;
}

/* --- BANDEAU D'INFORMATION --- */
.info-banner-box {
    border-radius: 12px;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.icon-circle-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--wrc-sage-green-kaki);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
}

.types-grid .icon {
    font-size: 1rem;
}

/* --- CARTES DES EVENEMENTS --- */
.wrc-event-card {
    border: 1px solid var(--wrc-border-gold-light);
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.wrc-event-card .columns {
    display: flex;
    align-items: stretch; /* Force la hauteur identique */
}

.wrc-event-img-container {
    position: relative;
    padding: 0 !important;
    /*display: flex;
    height: 100%;
    min-height: 200px;*/
    overflow: hidden;
    display: flex;
}

.wrc-event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*border-radius: 0;*/
    display: block;
}

/* Gérer la bordure proprement */
.border-right-light {
    border-right: 1px solid var(--wrc-border-gold-light);
    /* On retire le padding-right si nécessaire ou on l'ajuste */
    padding-right: 1.5rem !important;
}

/* Forcer la hauteur 100% sur toutes les colonnes enfants */
.wrc-event-card .columns {
    display: flex;
    align-items: stretch;
}

.wrc-event-card .column {
    display: flex;
    flex-direction: column;
}

.wrc-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    background-color: var(--wrc-sage-green-kaki);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.wrc-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
}

.wrc-date-badge .month {
    font-size: 0.75rem;
    font-weight: 600;
}

.wrc-img-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
}

.border-light {
    border: 1px solid var(--wrc-border-gold-light);
}

.is-radius {
    border-radius: 8px;
}

.border-right-light {
    border-right: 1px solid var(--wrc-border-gold-light);
}

/* Listes d'inclusions des cartes */
.wrc-event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrc-event-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.wrc-event-list li .icon {
    margin-top: 2px;
    font-size: 1rem;
}

/* --- BOTTOM CTA --- */
.wrc-bottom-cta {
    border-radius: 12px;
    border: 1px solid var(--wrc-border-gold-light);
}

.btn-sage-dark {
    background-color: var(--wrc-sage-green-kaki);
    color: white;
    border-radius: 50px;
    padding: 1rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-sage-dark:hover {
    background-color: var(--wrc-sage-green-deep);
    color: white;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .border-right-light {
        border-right: none;
        border-bottom: 1px solid var(--wrc-border-gold-light);
    }
    .info-banner-box {
        margin-top: 0;
    }
    .types-grid {
        grid-template-columns: 1fr;
    }
    .wrc-event-img-container {
        min-height: 200px;
    }
}

.wrc-event-card .column.border-right-light {
    padding-left: 1.0rem !important;
}

.wrc-event-card .column:last-child {
    flex-grow: 1;
}

.wrc-span-green{
    color: var(--wrc-sage-green-kaki);
}
