/* GPAT — Texte conditions station (shortcode [gpat-station-snow])
 *
 * 4 lignes Barlow 16px :
 *   - Ligne 1 (statut) : weight 600 (semi-bold)
 *   - Lignes 2–4       : weight 400 (regular)
 *
 * Aucun background, padding, ombrage ni border-radius — la section
 * s'intègre directement au flow de la page hôte.
 *
 * Personnalisation via la page admin « Station — Apparence » :
 *   --gpat-station-dot-open / --gpat-station-dot-closed (injectées inline)
 *   + bloc CSS additionnel libre (injecté après ce fichier)
 */

.gpat-station-info {
    --gpat-station-text: #1a2433;
    --gpat-station-dot-open: #16a34a;
    --gpat-station-dot-closed: #dc2626;

    box-sizing: border-box;
    font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400; /* lignes 2–4 par défaut */
    line-height: 1.5;
    color: var(--gpat-station-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.gpat-station-info *,
.gpat-station-info *::before,
.gpat-station-info *::after {
    box-sizing: inherit;
}

/* Reset des <p> pour ne pas hériter de marges abusives du thème. */
.gpat-station-info__line {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
}

.gpat-station-info__line + .gpat-station-info__line {
    margin-top: 2px;
}

/* Ligne statut : dot coloré + libellé en semi-bold. */
.gpat-station-info__status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Le dot est rendu en SVG inline avec fill="currentColor".
 * On force juste taille + couleur via `color` pour rester robuste face
 * aux thèmes WP / Elementor qui pourraient resetter les <span>. */
.gpat-station-info__dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
}

.gpat-station-info__dot.is-open    { color: var(--gpat-station-dot-open); }
.gpat-station-info__dot.is-closed  { color: var(--gpat-station-dot-closed); }

/* Statut « Ouvert : 9h - 16h » / « Fermé » masqué : on n'affiche que les
 * conditions (Pistes / Remontée mécanique / Parc à neige) en dessous.
 * Masquage uniquement — le PHP continue de générer la ligne. Pour la
 * réafficher, supprimer cette règle. */
.gpat-station-info__status {
    display: none;
}
