
/* Testimonial actions: consistent geometry, including room-video references. */
main .legacy-videos .testimonial .text-link.ty-button {
 display:inline-flex; align-items:center; justify-content:center; gap:6px;
 box-sizing:border-box; padding:12px 18px; min-height:44px; height:auto;
 min-width:0; max-width:100%; border-radius:999px; border:1px solid var(--button-orange);
 white-space:normal; text-align:center; text-decoration:none; overflow-wrap:anywhere;
}
main .legacy-videos .testimonial.quote-only {grid-template-columns:minmax(0,1fr)}
/* Three equal buttons above two centered buttons, never a lone fifth item. */
main #testimonios .testimonial-category-nav {
 display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr));
 gap:12px; width:100%; max-width:800px; margin-inline:auto;
}
main #testimonios .testimonial-category-nav > a {
 grid-column:span 2; display:flex; justify-content:center; align-items:center;
 min-width:0; max-width:100%; min-height:56px!important; height:auto;
 padding:12px 14px!important; white-space:normal; text-align:center; text-decoration:none;
}
main #testimonios .testimonial-category-nav > a:nth-child(4) {grid-column:2 / span 2}
main #testimonios .testimonial-category-nav > a:nth-child(5) {grid-column:4 / span 2}
main #testimonios > div > div:first-child,
main section[data-section="12"] > div > div:first-child {text-align:center}
main #videos > summary {display:flex; width:fit-content; max-width:100%; margin-inline:auto; text-align:center; justify-content:center}
main #videos .gallery-controls {text-align:center; align-items:center; justify-content:center}
main #videos .gallery-controls > div {display:flex; flex-wrap:wrap; gap:12px; justify-content:center}
main section[data-section="13"] > div {text-align:center; align-items:center}
@media(max-width:600px) {
 main #testimonios .testimonial-category-nav {gap:8px}
 main #testimonios .testimonial-category-nav > a {--t-button:11.5px;padding:8px 6px!important;line-height:1.4!important}
}
@media(max-width:380px) {
 main #testimonios .testimonial-category-nav > a {--t-button:11px;padding-inline:3px!important}
}
@media(max-width:340px){main #testimonios .testimonial-category-nav > a{padding-inline:1px!important}}
