/* ================================================================
   SINGLE STRUCTURE — Bio et Local
   Rose FRAB #D2097A | Vert FRAB #009C50
   ================================================================ */

:root {
    --rose: #D2097A;
    --vert: #009C50;
    --r:    8px;
    --ft:   'Boogaloo', 'Arial Rounded MT Bold', sans-serif;
    --fb:   system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ── Page entière fond vert ──────────────────────────────────── */
.st-page {
    background: var(--vert);
    min-height: 60vh;
    padding: 48px 0;
    font-family: var(--fb);
}

/* ── Ligne Bootstrap ─────────────────────────────────────────── */
.st-row {
    row-gap: 40px;
}

/* ── Colonnes ────────────────────────────────────────────────── */
.st-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Séparateur vertical entre les deux colonnes sur lg+ */
@media (min-width: 992px) {
    .st-col--right {
        border-left: 1px solid rgba(255,255,255,0.25);
        padding-left: 40px;
    }
}

/* ── En-tête titre + badge ───────────────────────────────────── */
.st-header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
}

.st-title {
    font-family: var(--ft);
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.st-badge {
    display: inline-block;
    background: var(--rose);
    color: #fff;
    font-family: var(--fb);
    font-size: 13px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 40px;
    white-space: nowrap;
}

/* ── Grille label / valeur (colonne gauche) ──────────────────── */
.st-fields {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.25);
}

.st-field {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.st-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 2px;
}

.st-value {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
    margin: 0;
}

.st-value--link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.st-value--link:hover {
    text-decoration: underline;
}

/* ── Bouton carte ────────────────────────────────────────────── */
.st-btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: #fff;
    color: var(--vert);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--r);
    text-decoration: none;
    transition: opacity 0.15s;
}

.st-btn-map:hover {
    opacity: 0.88;
}

/* ── Blocs colonne droite ────────────────────────────────────── */
.st-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.st-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* .st-label réutilisé tel quel dans .st-block */

/* Styles the_content() sur fond vert */
.entry-content p          { color: #fff; margin: 0 0 .8em; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content a          { color: #fff; font-weight: 600; }
.entry-content ul,
.entry-content ol         { color: #fff; padding-left: 1.4em; margin: 0 0 .8em; }
.entry-content h2,
.entry-content h3         { color: #fff; font-size: 18px; margin: 0 0 .5em; }

/* ── Réseaux sociaux ─────────────────────────────────────────── */
.st-social {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.st-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    color: var(--vert);
    font-size: 22px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition:
        transform .4s cubic-bezier(.34,1.56,.64,1),
        background-color .25s,
        color .25s;
}

.st-social-link:hover {
    transform: translateY(-4px) scale(1.12);
    background: var(--rose);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .st-social-link { transition: none; }
    .st-social-link:hover { transform: none; }
}

/* ── Événements associés ─────────────────────────────────────── */
.st-events {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 12px;
}

.st-events-title {
    font-family: var(--ft);
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px;
}

.st-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.st-events-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.st-events-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.st-events-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.15s;
}

.st-events-link:hover { opacity: 0.7; }

.st-events-date {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(255,255,255,0.12);
    padding: 2px 10px;
    border-radius: 20px;
}

.st-events-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

/* ── Carte Leaflet ───────────────────────────────────────────── */
.st-map-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.25);
}

.st-map {
    width: 100%;
    height: 320px;
    border-radius: var(--r);
    overflow: hidden;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 520px) {
    .st-field {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .st-title { font-size: 26px; }
}
