.jpo-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fade_in_show 0.3s ease-out;
    padding: 12px;
}

.jpo-frontpage-headline {
    color : var(--primary);
}

.jpo-overlay p, .jpo-overlay h2 {
    text-align: center;
}

.jpo-frontpage-section-title {
    color: var(--secondary);
}

.jpo-overlay .jpo-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--bold-weight);
}

/* ===== ARTICLE / CARD ===== */
.jpo-frontpage {
    background-color: var(--surface-container);
    color: var(--on-surface);
    width: 100%;
    max-width: 880px;
    padding: 14px 10px;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    font-family: 'SansSerifFLF', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
}

/* ===== BOUTON FERMER ===== */
.jpo-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: var(--on-surface-var);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

/* ===== SÉPARATEURS ===== */
.jpo-frontpage-rule {
    margin: 10px 0;
    border-top: 2px solid var(--primary);
}

/* ===== CORPS (4 ateliers) ===== */
.jpo-frontpage-body {
    display: block;
    padding: 0 4vw;
}

.jpo-frontpage-col-main {
    padding-right: 0;
    border-right: none;
}

/* ===== DATES / INFO ===== */
.jpo-frontpage-dates {
    padding: 10px 4vw;
}

.jpo-frontpage-dates-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jpo-frontpage-date-item {
    display: flex;
    justify-content: center;
}

.jpo-frontpage-date-city {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.jpo-frontpage-date-time {
    margin-left: 0.5em;
}

/* ===== FOOTER / CTA ===== */
.jpo-frontpage-footer {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.jpo-frontpage-cta {
    padding: 10px 22px;
    width: 100%;
    text-align: center;
}

/* ===== TABLETTE → min-width: 600px ===== */
@media screen and (min-width: 600px) {
    .jpo-frontpage-footer {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .jpo-frontpage-cta {
        width: auto;
    }
}

/* ===== DESKTOP → min-width: 900px ===== */
@media screen and (min-width: 900px) {
    .jpo-frontpage {
        padding: 20px 32px;
        max-width: 800px;
    }
}