/* Recherche du site : page de résultats (/recherche) */

.srp { padding: 36px 16px 56px; }
.srp__inner { max-width: 880px; margin: 0 auto; }

.srp__title { margin: 0 0 24px; font-size: 26px; font-weight: 700; line-height: 1.25; color: #000; overflow-wrap: anywhere; }
.srp__title::after { content: ""; display: block; width: 176px; height: 4px; margin-top: 10px; background: #E50002; }

.srp__form { display: flex; gap: 8px; margin-bottom: 24px; }
.srp__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; font-size: 16px; color: #232357; background: #fff; border: 1px solid #c3c3c3; border-radius: 6px; }
.srp__input:focus { border-color: #3F3F7F; outline: 2px solid rgba(63, 63, 127, .25); }
.srp__submit { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 20px; font-weight: 600; color: #fff; background: #3F3F7F; border-radius: 6px; cursor: pointer; transition: background-color .15s ease; }
.srp__submit:hover, .srp__submit:focus-visible { background: #232357; }

/* Onglets par type de contenu, avec leur nombre de résultats */
.srp__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.srp__tab { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: #232357; background: #fff; border: 1px solid #c3c3c3; border-radius: 999px; text-decoration: none; transition: border-color .15s ease; }
.srp__tab:hover { border-color: #3F3F7F; }
.srp__tab.is-active { color: #fff; background: #3F3F7F; border-color: #3F3F7F; }
.srp__tab-count { font-weight: 400; opacity: .8; }

.srp__count { margin: 0 0 14px; font-size: 14px; color: #707070; }

/* Résultats : cartes blanches, type, titre, extrait où les mots trouvés sont surlignés */
.srp__list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.srp__link { display: block; padding: 18px 22px; color: inherit; text-decoration: none; background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(35, 35, 87, .06); transition: box-shadow .15s ease; }
.srp__link:hover, .srp__link:focus-visible { box-shadow: 0 8px 24px rgba(35, 35, 87, .14); outline: none; }
.srp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; font-size: 13px; color: #707070; }
.srp__type { padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #3F3F7F; background: #F1F1F8; border-radius: 4px; }
.srp__type--news { color: #8A4F00; background: #FDF1E1; }
.srp__type--faq { color: #04702A; background: #E6F6EC; }
.srp__type--destination { color: #B10002; background: #FDECEC; }
.srp__name { display: block; font-size: 18px; font-weight: 700; line-height: 1.35; color: #232357; }
.srp__link:hover .srp__name { text-decoration: underline; }
.srp__snippet { display: block; margin-top: 6px; font-size: 15px; line-height: 1.55; color: #333; overflow-wrap: anywhere; }
.srp mark { padding: 0 1px; color: inherit; background: #FFE58F; border-radius: 2px; }

.srp__pager { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; font-size: 14px; color: #707070; }
.srp__pager a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #3F3F7F; }
.srp__pager a:hover { text-decoration: underline; }

/* Aucun résultat, recherche vide ou indisponible */
.srp__message { padding: 22px 24px; line-height: 1.55; background: #fff; border-radius: 8px; }
.srp__empty-title { margin-bottom: 4px; font-weight: 700; color: #232357; }
.srp__empty-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.srp__empty-links a { font-weight: 600; color: #3F3F7F; text-decoration: underline; }

@media (min-width: 1024px) {
    .srp__title { font-size: 34px; }
}
