/* Recherche du blog */
.gr { margin: .4rem 0 1.4rem; }
.gr-form { position: relative; max-width: 640px; margin: 0; }
.gr-form input { width: 100%; box-sizing: border-box; font: inherit; font-size: max(16px, 1.05rem); padding: .75rem 2.8rem .75rem 1rem; border: 1.5px solid var(--filet); border-radius: 8px; background: #fff; color: inherit; -webkit-appearance: none; appearance: none; }
.gr-form input:focus { border-color: var(--vert); }
.gr-form input::-webkit-search-cancel-button { display: none; }
.gr-effacer { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--doux); cursor: pointer; border-radius: 50%; }
.gr-effacer:hover { color: var(--encre); background: var(--chaux); }
.gr-effacer[hidden], .gr-sugg[hidden], .gr-plus[hidden] { display: none; }
.gr-aide { margin: .6rem 0 0; font-size: .88rem; color: var(--doux); display: flex; flex-wrap: wrap; gap: .35rem .4rem; align-items: center; }
.gr-aide span { flex-basis: 100%; font-style: italic; }
.gr-ex, .gr-sugg button { font: inherit; font-size: .86rem; padding: .3rem .75rem; border: 1.5px solid var(--filet); border-radius: 99px; background: #fff; color: var(--encre); cursor: pointer; min-height: 2.1rem; }
.gr-ex:hover, .gr-sugg button:hover { border-color: var(--encre); }
.gr-sugg { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 0; }
.gr-sugg button { background: #e3ede6; border-color: #e3ede6; text-align: left; }
.gr-sugg small { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--doux); margin-right: .15rem; }
.gr-sugg i { font-style: normal; font-size: .78rem; color: var(--doux); margin-left: .15rem; }
.gr-compte { margin: 1rem 0 .4rem; color: var(--doux); font-size: .95rem; }
.gr-compte:empty { display: none; }
.gr-liste { display: grid; gap: 0; }
.gr-res a { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--filet); color: inherit; text-decoration: none; align-items: start; }
.gr-res a:hover h2 { color: var(--brique); }
.gr-res img, .gr-sans { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; display: block; background: var(--volet); }
.gr-res h2 { font-size: 1.15rem; line-height: 1.2; margin: .15rem 0 .35rem; overflow-wrap: anywhere; }
.gr-meta { margin: 0; font-size: .82rem; color: var(--brique); font-weight: 600; }
.gr-extrait { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--doux); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gr-res mark { background: #f6dfb8; color: inherit; padding: 0 .05em; border-radius: 2px; }
.gr-plus { text-align: center; margin: 1.6rem 0; }
.gr-plus button { background: var(--vert); color: #fff; border: 0; padding: .65rem 1.2rem; border-radius: 6px; font: inherit; cursor: pointer; }
/* Pendant une recherche, la liste habituelle s'efface */
.gr-actif main .blog-cats, .gr-actif main .wp-block-query { display: none; }
@media (max-width: 520px) {
	.gr-res a { grid-template-columns: 72px 1fr; gap: .8rem; }
	.gr-res img, .gr-sans { width: 72px; height: 72px; }
	.gr-res h2 { font-size: 1.05rem; }
	.gr-extrait { -webkit-line-clamp: 2; }
}
