/* ==========================================================
   Via Dei – page de recherche (search.php)
   Bible, articles et dictionnaire Strong.
   Les résultats Strong réutilisent les cartes de lexique.css (à charger aussi).
   Mêmes variables que les autres feuilles, avec valeurs de secours ;
   l'ambiance sombre passe par les variables de moon.css.
   ========================================================== */

/* ---------- Bandeau « résultats de recherche » ---------- */
#contenu .recherche-bilan {
    margin: 12px 0 22px;
    padding: 22px 26px;
    border-radius: 14px;
    background: var(--strong-fond, #1f5d6b);
    color: #fff;
}
#contenu .recherche-surtitre {
    display: block;
    margin-bottom: 6px;
    font-size: .75em;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--strong-clair, #bfe0e6);
}
#contenu .recherche-requete {
    margin: 0 0 4px;
    font-size: 1.7em;
    font-style: italic;
    line-height: 1.2;
    color: var(--strong-mot, #e8c27a);
}
#contenu .recherche-nombre {
    margin: 0;
    color: #e3f1f3;
}
#contenu .recherche-vide {
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--carte-fond, #eaf4f5);
    border: 1px solid var(--carte-bord, #cde2e6);
    color: var(--carte-titre, #1d2b2f);
}

/* ---------- Le mot cherché, surligné ---------- */
#contenu mark.recherche-mot {
    padding: 0 2px;
    border-radius: 3px;
    background: rgba(232, 194, 122, .55);
    color: inherit;
    font-style: inherit;
    font-weight: 600;
}

#contenu .recherche-resultats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 24px;
}

/* ---------- Bible : un verset par carte ---------- */
#contenu .recherche-verset {
    padding: 14px 18px 16px;
    border-radius: 12px;
    background: var(--carte-fond, #eaf4f5);
    border: 1px solid var(--carte-bord, #cde2e6);
}
#contenu .recherche-verset-tete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
#contenu .recherche-ref {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--carte-titre, #1d2b2f);
    text-decoration: none;
}
#contenu .recherche-ref:hover {
    color: var(--accent, #2d7788);
}
#contenu .recherche-liens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
#contenu .recherche-liens a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-clair, #fff);
    color: var(--accent-fonce, #1f5d6b);
    font-size: .8em;
    font-weight: 600;
    text-decoration: none;
}
#contenu .recherche-liens a:hover {
    background: var(--accent, #2d7788);
    color: var(--sur-accent, #fff);
}
#contenu .recherche-verset-texte {
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--verset-fond, #fbf7ec);
    color: var(--verset-texte, #3b2f1f);
    font-style: italic;
    line-height: 1.6;
}

/* ---------- Articles du site ---------- */
#contenu .recherche-article {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--carte-fond, #eaf4f5);
    border: 1px solid var(--carte-bord, #cde2e6);
    border-left: 4px solid var(--accent, #2d7788);
    color: var(--carte-titre, #1d2b2f);
    text-decoration: none;
    transition: box-shadow .15s;
}
#contenu .recherche-article:hover {
    box-shadow: 0 6px 18px rgba(20, 60, 70, .12);
}
#contenu .recherche-article-picto {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-clair, #fff);
    color: var(--accent, #2d7788);
    display: flex;
    align-items: center;
    justify-content: center;
}
#contenu .recherche-article-picto svg {
    width: 24px;
    height: 24px;
}
#contenu .recherche-article-corps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
#contenu .recherche-article-titre {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.25;
}
#contenu .recherche-article-extrait {
    color: var(--carte-texte, #44555a);
    line-height: 1.5;
}
#contenu .recherche-article-lire {
    font-size: .9em;
    font-weight: 600;
    color: var(--accent-fonce, #1f5d6b);
}

/* ---------- Dictionnaire Strong ---------- */
#contenu .recherche-sommaire {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}
#contenu .recherche-sommaire a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--carte-fond, #eaf4f5);
    border: 1px solid var(--carte-bord, #cde2e6);
    color: var(--accent-fonce, #1f5d6b);
    font-weight: 600;
    text-decoration: none;
}
#contenu .recherche-sommaire span,
#contenu .recherche-pastille {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--accent, #2d7788);
    color: var(--sur-accent, #fff);
    font-size: .75em;
    font-weight: 600;
}
#contenu .recherche-strong {
    margin: 0 0 24px;
}
#contenu .recherche-strong h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 1.3em;
}
#contenu .recherche-note {
    margin: -4px 0 12px;
    font-size: .9em;
    color: var(--carte-texte, #44555a);
}
