/* Styles exclusifs au contenu de la page Témoignages. */
.voices-page { color: var(--blue); }
.voices-wrap { max-width: 1726px; margin: 0 auto; padding: 64px var(--gutter); }
.voices-page h2 { max-width: 850px; margin: 0; font-size: clamp(30px, 2.8vw, 42px); font-weight: 500; line-height: 1.22; letter-spacing: -1.25px; }
.voices-opening { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.voices-intro { max-width: 780px; margin: 24px 0 0; font-size: 18px; line-height: 1.75; color: var(--text); }
.voices-authentic { padding-left: 32px; border-left: 1px solid var(--sage); }
.voices-authentic p { margin: 0 0 12px; font-size: 23px; line-height: 1.4; }
.voices-authentic span { color: var(--muted); font-size: 16px; line-height: 1.7; }
.voices-selection { background: #edf3ed; }
.voices-featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; margin-top: 40px; }
.voices-feature { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.voices-feature + .voices-feature { padding-left: 40px; border-left: 1px solid #7c9b8366; }
.voices-quote { height: 48px; font-family: Georgia, serif; font-size: 76px; line-height: 1; color: var(--sage); }
.voices-feature blockquote { margin: 0 0 24px; }
.voices-feature blockquote p { margin: 0; font-size: 22px; line-height: 1.65; }
.voices-feature figcaption { margin-top: auto; font-size: 16px; line-height: 1.6; }
.voices-feature figcaption span { display: block; max-width: 400px; margin-top: 7px; color: var(--muted); font-size: 14px; }
.voices-read { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 8px 0; border-bottom: 1px solid var(--turquoise); color: var(--turquoise-dark); font-size: 15px; }
.voices-topics { list-style: none; padding: 0; margin: 36px 0 12px; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--turquoise-dark); font-size: 14px; line-height: 1.6; }
.voices-topics li { padding: 0; }
.voices-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 48px; padding: 38px 0; border-bottom: 1px solid #7c9b8355; scroll-margin-top: 28px; }
.voices-entry[hidden], .voices-more button[hidden] { display: none; }
.voices-meta h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.5; font-weight: 600; }
.voices-meta time { font-size: 14px; color: var(--muted); line-height: 1.6; }
.voices-context { font-size: 14px; line-height: 1.65; color: var(--turquoise-dark); }
.voices-entry blockquote { margin: 0; max-width: 880px; min-width: 0; }
.voices-fulltext { margin: 0; white-space: pre-line; font-size: 17px; line-height: 1.65; color: var(--text); overflow-wrap: break-word; }
.voices-meta { min-width: 0; overflow-wrap: break-word; }
.voices-more { text-align: center; margin-top: 32px; }
.voices-more p { font-size: 14px; color: var(--muted); }
.voices-more button { cursor: pointer; border: 0; max-width: 100%; line-height: 1.5; }
.voices-transparency { padding-top: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
@media (max-width: 1000px) {
 .voices-fulltext { font-size: 16px; }
 .voices-wrap { padding-block: 48px; }
 .voices-opening { gap: 32px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
 .voices-featured { gap: 28px; }
 .voices-feature + .voices-feature { padding-left: 28px; }
 .voices-entry { gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); }
 .voices-transparency { padding-top: 0; }
}
@media (max-width: 760px) {
 .voices-wrap { padding-block: 38px; }
 .voices-opening, .voices-featured, .voices-entry { grid-template-columns: minmax(0, 1fr); }
 .voices-opening h1 { font-size: 36px; letter-spacing: -1.3px; }
 .voices-page h2 { font-size: 30px; }
 .voices-page .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
 .voices-intro { font-size: 17px; }
 .voices-authentic { padding-left: 20px; }
 .voices-authentic p { font-size: 20px; }
 .voices-feature + .voices-feature { padding: 28px 0 0; border-left: 0; border-top: 1px solid #7c9b8366; }
 .voices-feature blockquote p, .voices-feature:first-child blockquote p { font-size: 21px; line-height: 1.65; }
 .voices-featured { margin-top: 28px; }
 .voices-entry { gap: 18px; padding-block: 30px; }
 .voices-fulltext { font-size: 16px; line-height: 1.65; }
 .voices-topics { gap: 8px 20px; font-size: 14px; }
 .voices-topics li { min-height: 44px; display: flex; align-items: center; }
 .voices-more button { gap: 12px; font-size: 14px; min-height: 48px; padding: 12px 18px; }
 .voices-transparency { padding-top: 0; }
}

.voices-google { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; margin-top: 12px; padding: 8px 0; color: var(--turquoise-dark); font-size: 15px; font-weight: 600; line-height: 1.6; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.voices-google:hover { color: var(--blue); }

/* Filtres accessibles, sans changement de la typographie des avis. */
.voices-topics button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid transparent; border-bottom-color: #7c9b8366; border-radius: 3px; background: transparent; color: var(--turquoise-dark); font: inherit; font-size: 14px; line-height: 1.6; text-align: center; white-space: normal; cursor: pointer; }
.voices-topics button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.voices-topics button:focus-visible { outline: 3px solid var(--turquoise-dark); outline-offset: 3px; }

/* Quatre filtres, puis trois centrés, sur ordinateur. */
@media (min-width: 1024px) {
 .voices-topics { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px 16px; }
 .voices-topics li { grid-column: span 2; min-width: 0; display: flex; justify-content: center; align-items: center; }
 .voices-topics li:nth-child(5) { grid-column: 2 / span 2; }
 .voices-topics li:nth-child(6) { grid-column: 4 / span 2; }
 .voices-topics li:nth-child(7) { grid-column: 6 / span 2; }
}

/* Invitation au dépôt via le formulaire Gwolle existant. */
.voices-share .button { margin-top: 24px; max-width: 100%; min-height: 44px; line-height: 1.6; }
.voices-share-note { max-width: 780px; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* Espacements de fin de page plus compacts sur ordinateur uniquement. */
@media (min-width: 1024px) {
 .voices-share-note { margin-top: 10px; }
 .voices-share { padding-bottom: 28px; }
 .voices-transparency { padding-bottom: 32px; }
}

/* Le bloc suivant conserve ses 64px en haut : éviter leur cumul avec la liste. */
@media (min-width: 1024px) {
 .voices-archive { padding-bottom: 0; }
}

/* Enveloppes éditoriales Gutenberg. */
body.ts-refonte .voices-featured {margin-top:40px}
body.ts-refonte .voices-caption {margin:auto 0 0;font-size:16px;line-height:1.6}
body.ts-refonte .voices-caption span {display:block;max-width:400px;margin-top:7px;color:var(--muted);font-size:14px}
body.ts-refonte .voices-link-wrap {margin:0}
body.ts-refonte .voices-authentic .voices-source {margin:0;font-size:16px;line-height:1.7;color:var(--muted)}
body.ts-refonte .voices-authentic .voices-link-wrap {margin:0}
body.ts-refonte p.voices-quote {margin:0;height:48px;font:76px/1 Georgia,serif;color:var(--sage)}
body.ts-refonte .voices-page .wp-block-button.button,
body.ts-refonte .contact-final .wp-block-button.button {padding:0;min-height:0;background:none}
body.ts-refonte .voices-page .wp-block-button.button>.wp-block-button__link,
body.ts-refonte .contact-final .wp-block-button.button>.wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;gap:26px;min-height:56px;padding:16px 25px;border-radius:6px;background:var(--turquoise-dark);color:var(--button-text);font:700 15px/normal 'Open Sans Local',var(--font)}
body.ts-refonte .voices-share>.wp-block-buttons {margin-top:24px}
body.ts-refonte .voices-share-lead {margin:24px 0 0;font-size:23px;line-height:1.4}
body.ts-refonte .contact-final-actions .voices-link-wrap {margin:0;display:flex}
body.ts-refonte .voices-form {margin-top:24px;padding-top:24px;border-top:1px solid var(--sage)}
body.ts-refonte .voices-form[hidden] {display:none}
body.ts-refonte .voices-form input:not([type=checkbox]):not([type=radio]),body.ts-refonte .voices-form textarea {max-width:100%;box-sizing:border-box}
body.ts-refonte .voices-form label {display:block}
@media(max-width:760px){body.ts-refonte .voices-featured {margin-top:28px}}
@media(max-width:640px){body.ts-refonte .contact-final .wp-block-button.button>.wp-block-button__link {min-height:50px;padding:13px 22px;font-size:14px}}
/* Champs du formulaire officiel accessibles sur écran tactile. */
body.ts-refonte .voices-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]) {min-height:44px}
body.ts-refonte .voices-form textarea {min-height:160px}
