/* ============================================================
   PAGE-OFFER-DETAIL — layout 2 colonnes
   Préfixe classes : pod-
   Tokens : --theme-section-title-color, --theme-button-bg,
            --theme-button-text-color, --theme-section-subtitle-color,
            --theme-text-color
   ============================================================ */

.pod-detail {
    padding: 60px 0;
    box-sizing: border-box;
}

/* Grille 2 colonnes 50/50 — placement explicite */
.pod-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 60px;
    align-items: start;
}

/* === COLONNE GAUCHE === */
.pod-detail__info {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 32px;
}

.pod-detail__title {
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-section-title-color, #000000);
    line-height: 1.2;
    margin: 0 0 12px;
}

.pod-detail__subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--theme-section-subtitle-color, #444444);
    margin: 0 0 16px;
}

.pod-detail__dates {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-text-color, #666666);
    margin: 0;
}

.pod-detail__media {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-bottom: 24px;
}

.pod-detail__media img {
    width: 100%;
    height: auto;
    display: block;
}

.pod-detail__legal {
    grid-column: 1;
    grid-row: 3;
    margin-top: 16px;
}

.pod-detail__legal-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-text-color, #333333);
    margin: 0 0 6px;
}

.pod-detail__legal-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 11px;
    font-weight: 200;
    color: var(--theme-text-color, #666666);
    line-height: 1.6;
    margin: 0;
}

/* === COLONNE DROITE === */
.pod-detail__right {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: start;
}

.pod-detail__content {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--theme-text-color, #333333);
    margin-bottom: 40px;
}

.pod-detail__content p { margin-bottom: 16px; }
.pod-detail__content h2,
.pod-detail__content h3 {
    font-family: 'Jost', sans-serif;
    color: var(--theme-section-title-color, #000000);
    margin-bottom: 12px;
}

.pod-detail__cta {
    margin-top: 8px;
}

.pod-detail__btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--theme-button-bg, #2a6d47);
    color: var(--theme-button-text-color, #ffffff);
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--theme-button-bg, #2a6d47);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.pod-detail__btn:hover {
    background: transparent;
    color: var(--theme-button-bg, #2a6d47);
}

/* === NAVIGATION PREV/NEXT === */
.pod-detail__nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.pod-detail__nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    max-width: 45%;
}

.pod-detail__nav-link--next {
    text-align: right;
    margin-left: auto;
}

.pod-detail__nav-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--theme-section-title-color, #000000);
}

.pod-detail__nav-title {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-section-title-color, #000000);
}

/* === ÉTAT VIDE === */
.pod-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-family: 'Work Sans', sans-serif;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .pod-detail__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }

    .pod-detail__info,
    .pod-detail__media,
    .pod-detail__legal,
    .pod-detail__right {
        grid-column: auto;
        grid-row: auto;
    }

    .pod-detail {
        padding: 40px 0;
    }
}

@media (max-width: 640px) {
    .pod-detail__title { font-size: 22px; }
    .pod-detail__nav { flex-direction: column; }
    .pod-detail__nav-link--next { text-align: left; margin-left: 0; }
}

/* === LAYOUT — sectionWidth + density === */

/* Full width */
.pod-detail--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: 42px;
    padding-right: 42px;
    box-sizing: border-box;
}

/* Inner — contrôle la density */
.pod-detail__inner {
    max-width: var(--pod-inner-max, 86%);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 900px) {
    .pod-detail--full {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width: 640px) {
    .pod-detail--full {
        padding-left: 18px;
        padding-right: 18px;
    }
}
