/**
 * Theme Name:     Neve 2tout2rien
 * Author:         ThemeIsle
 * Template:       neve
 * Text Domain:    neve-2tout2rien
 */

/* SEO fix : neutralise les styles h1 generiques sur le site-title de la home */
.site-logo h1.site-title {
    font-size: var(--fs);
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    display: inline;
}

.t2r-post-dates {
    font-size: 0.9rem;
    color: #555;
    margin: 0.3em 0 0;
    line-height: 1.4;
}

.t2r-post-dates time {
    font-weight: 500;
}

/* CTA Google Sources préférées - version centrée */
.t2r-preferred-source {
    margin: 24px 0 28px !important;
    padding: 16px 18px !important;
    border: 1px solid #d8e2ef !important;
    border-left: 4px solid #1a73e8 !important;
    border-radius: 9px !important;
    background: #f7faff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    clear: both !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.t2r-preferred-source__text {
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: center !important;
    max-width: 680px !important;
}

.t2r-preferred-source__text strong {
    font-weight: 700 !important;
}

.t2r-preferred-source__link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 15px !important;
    border-radius: 999px !important;
    background: #1a73e8 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

.t2r-preferred-source__link:hover,
.t2r-preferred-source__link:focus {
    background: #1558b0 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 640px) {
    .t2r-preferred-source {
        margin: 22px 0 26px !important;
        padding: 15px 14px !important;
        gap: 10px !important;
    }
    .t2r-preferred-source__text {
        font-size: 14px !important;
        line-height: 1.45 !important;
    }
    .t2r-preferred-source__link {
        white-space: normal !important;
    }
}
/* =============================================
   TYPOGRAPHIE - Améliorations 2026
   ============================================= */

/* Corps de texte : Palatino */
body, p, .entry-content, .entry-content p {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

/* Titres H1-H6 : Georgia */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
}

/* H1 article : couleur, espacement, marge */
.entry-title {
  color: #222222;
  margin-bottom: 20px;
}
/* h2 souligné */
.entry-content h2 {
  display: block;
  width: fit-content;
  border-bottom: 6px solid #AABFAC;
  padding-bottom: 6px;
}