/* =========================
   MENU PRINCIPAL
   ========================= */

.header-navigation-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.primary-menu a {
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;
    font-size: 22px !important;
    text-shadow:
        1px 1px 0px black,
        -1px 1px 0px black,
        1px -1px 0px black,
        -1px -1px 0px black !important;
}

/* =========================
   FOOTER
   ========================= */

#site-footer a,
.footer-menu a {
    color: black !important;
    font-size: 13px !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

/* =========================
   BOUTON MENU MOBILE
   ========================= */

.toggle-text {
    color: white !important;
    text-shadow:
        1px 1px 0px black,
        -1px 1px 0px black,
        1px -1px 0px black,
        -1px -1px 0px black !important;
    font-size: 20px !important;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .primary-menu a {
        font-size: 36px !important;
    }

    .wp-block-cover p,
    .wp-block-cover h1,
    .wp-block-cover h2,
    .wp-block-cover strong {
        font-size: 28px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

}


/* =========================
   TITRES DES ARTICLES
   ========================= */

@media (max-width: 767px) {

    .entry-title {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        -webkit-text-stroke: 1px #000000 !important;
        text-shadow: none !important;
        line-height: 1.2 !important;
    }

    /* Les liens "Lire la suite" restent normaux */
    .more-link {
        -webkit-text-stroke: 0 !important;
        text-shadow: none !important;
    }

}
/* =========================
   ARTICLES INDIVIDUELS
   ========================= */

/* Titre principal de l'article */
.single-post .entry-title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-text-stroke: 1.5px #000000 !important;
    text-shadow: none !important;
}

/* Petit texte "PRÉVISIONS" au-dessus du titre */
.single-post .entry-header a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-text-stroke: 1px #000000 !important;
    text-shadow: none !important;
}

/* Menu du haut uniquement sur les pages d'articles */
.single-post .primary-menu a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* Élargir la présentation météo */
.prevision-meteo {
  width: 100% !important;
  max-width: none !important;
}

/* Répartir les 3 colonnes */
.prevision-meteo .wp-block-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr 0.75fr !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
}

/* Agrandir les deux cartes */
.prevision-meteo .carte-meteo img,
.prevision-meteo .carte-temperatures img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
}

/* Supprimer les limites de largeur des colonnes */
.prevision-meteo .wp-block-column {
  min-width: 0 !important;
}

/* Affichage sur téléphone */
@media (max-width: 700px) {
  .prevision-meteo .wp-block-columns {
    grid-template-columns: 1fr !important;
  }
}