/* Shared group template: compact terms, clear actions and readable enquiry. */
.single-grupos .taxonomy-estilo.wp-block-post-terms{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center;justify-content:flex-start;gap:8px!important;width:100%;}
.single-grupos .taxonomy-estilo.wp-block-post-terms>a{display:inline-flex!important;flex:0 1 auto!important;width:auto!important;max-width:100%;margin:0!important;white-space:normal;align-items:center;}
.single-grupos .taxonomy-estilo .wp-block-post-terms__separator{display:none!important;}
.single-grupos #solicitud .tsr-form-wrapper,.single-grupos #formulario.tsr-form-wrapper{width:min(100% - 40px,820px)!important;max-width:820px!important;margin-inline:auto!important;box-sizing:border-box;}
.single-grupos .tsr-bridge-cta .tsr-ghost-button .wp-block-button__link{background:linear-gradient(145deg,#9a3038,#6b1c1c)!important;border:1px solid #bb6b63!important;box-shadow:0 5px 0 #401213,0 12px 24px #37101026!important;color:#fff8ef!important;position:relative;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;}
.single-grupos .tsr-bridge-cta .tsr-ghost-button .wp-block-button__link::after{content:'↗';display:inline-block;margin-inline-start:.75em;transition:transform .18s ease;}
.single-grupos .tsr-bridge-cta .tsr-ghost-button .wp-block-button__link:hover,.single-grupos .tsr-bridge-cta .tsr-ghost-button .wp-block-button__link:focus-visible{transform:translateY(-3px);filter:brightness(1.12);box-shadow:0 7px 0 #401213,0 16px 28px #37101030!important;}
.single-grupos .tsr-bridge-cta .tsr-ghost-button .wp-block-button__link:hover::after{transform:translate(2px,-2px);}
@media(prefers-reduced-motion:reduce){.single-grupos .tsr-bridge-cta a{transition:none!important;transform:none!important;}}
.single-grupos .tsr-artist-hero.lp-hero-safe{min-height:clamp(420px,42vw,720px)!important;align-items:flex-end!important;padding-bottom:28px!important;}
.single-grupos .tsr-artist-hero.lp-hero-safe .wp-block-cover__inner-container{padding-top:180px;}
.single-grupos .tsr-artist-hero.lp-hero-safe .wp-block-cover__background{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.12) 45%,rgba(0,0,0,.82))!important;opacity:1!important;}
.single-grupos .youtube-video-simple{width:100%;aspect-ratio:16/9;overflow:hidden;background:#181413;}
.single-grupos .youtube-video-simple iframe{display:block;width:100%;height:100%;border:0;}
/* Give the wrapping style chips room: the reference needs less width than the repertoire of styles. */
@media(min-width:782px){
 .single-grupos .tsr-artist-ficha__columns>.tsr-ficha-estilos{flex-basis:45%!important;min-width:0;}
 .single-grupos .tsr-artist-ficha__columns>.tsr-ficha-ref{flex-basis:25%!important;min-width:0;}
 .single-grupos .tsr-artist-ficha__columns>.tsr-ficha-origen{flex-basis:30%!important;min-width:0;}
}
.single-grupos .taxonomy-estilo.wp-block-post-terms>a{flex-shrink:0!important;box-sizing:border-box;}
.single-grupos .tsr-ficha-ref .tsr-ficha-title{white-space:nowrap;hyphens:none;word-break:normal;}
/* Shared ficha order requested by Toni: reference, styles, origin. */
.single-grupos .tsr-artist-ficha__columns>.tsr-ficha-ref{order:1;}
.single-grupos .tsr-artist-ficha__columns>.tsr-ficha-estilos{order:2;}
.single-grupos .tsr-artist-ficha__columns>.tsr-ficha-origen{order:3;}
/* Center each label/icon pair above its own values. */
.single-grupos .tsr-artist-ficha__columns>.tsr-ficha-box{text-align:center;}
.single-grupos .tsr-ficha-box .is-layout-flex:has(>.tsr-ficha-title){justify-content:center!important;align-items:center!important;gap:10px!important;width:100%;}
.single-grupos .tsr-ficha-box .is-layout-flex>.tsr-ficha-title{margin:0!important;text-align:center!important;line-height:1.4;}
.single-grupos .tsr-ficha-box .is-layout-flex:has(>.tsr-ficha-title)>.gb-shape{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 32px;align-self:center;margin:0!important;line-height:0;}
.single-grupos .tsr-ficha-box .is-layout-flex:has(>.tsr-ficha-title)>.gb-shape svg{display:block;}
.single-grupos .tsr-ficha-box .tsr-ficha-value{text-align:center!important;}
.single-grupos .tsr-ficha-estilos .taxonomy-estilo.wp-block-post-terms{justify-content:center!important;}
.single-grupos .tsr-ficha-box .is-layout-flex:has(>.tsr-ficha-title)>.gb-shape{height:32px!important;min-height:0!important;align-items:center!important;justify-content:center!important;}
.single-grupos .tsr-ficha-box .is-layout-flex>.tsr-ficha-title{padding:0!important;line-height:32px!important;}
/* Main video keeps the premium rounded frame. */
.single-grupos .youtube-video-simple{border-radius:18px;overflow:hidden;}
@media(max-width:781px){
 .single-grupos #videos.tsr-videos-section{padding-inline:0!important;padding-bottom:16px!important;margin-bottom:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;}
 .single-grupos #videos>.wp-block-group{margin-inline:18px!important;width:calc(100% - 36px)!important;}
 .single-grupos #videos>.tsr-yt-wrap{padding:0 18px!important;margin-inline:0!important;width:100%!important;max-width:none!important;box-sizing:border-box;}
 .single-grupos #videos .tsr-yt-grid{width:100%;max-width:none;}
 .single-grupos #videos+.tsr-repertorio-section{padding-top:24px!important;margin-top:0!important;}
 .single-grupos #videos+.tsr-repertorio-section>.wp-block-spacer:first-child{display:none;}
 .single-grupos .tsr-repertorio-section>.titulo-seccion-grupos{padding-inline:0!important;margin-inline:0!important;}
 .single-grupos #formulario.tsr-form-wrapper,.single-grupos #solicitud .tsr-form-wrapper{width:calc(100% - 36px)!important;max-width:none!important;margin-inline:auto!important;padding-inline:40px!important;box-sizing:border-box;}
 .single-grupos .pml-group-diary{width:calc(100% - 36px)!important;max-width:none!important;margin-inline:auto!important;box-sizing:border-box;}
}
.single-grupos .tsr-artist-hero a[href="#repertorio-artista"]::after{content:'↓';display:inline-block;margin-inline-start:.7em;font-size:1.25em;line-height:1;vertical-align:middle;}
@media(max-width:781px){.single-grupos .tsr-pattern-solicitud-formulario{padding-inline:10px!important;}.single-grupos .tsr-pattern-solicitud-formulario #formulario.tsr-form-wrapper{width:100%!important;margin-inline:0!important;}}
@media(max-width:781px){
 .single-grupos .tsr-artist-hero .wp-block-buttons:has(a[href="#repertorio-artista"]){width:100%;justify-content:center;}
 .single-grupos .tsr-artist-hero .wp-block-button:has(>a[href="#repertorio-artista"]){width:min(100%,350px);max-width:100%;}
 .single-grupos .tsr-artist-hero a[href="#repertorio-artista"]{display:block!important;box-sizing:border-box;width:100%!important;max-width:none!important;min-height:0!important;padding:14px 16px!important;font-size:15px!important;line-height:1.35!important;letter-spacing:.3px!important;white-space:normal;text-align:center;}
 .single-grupos .tsr-artist-hero a[href="#repertorio-artista"]::after{margin-inline-start:.4em;font-size:1.1em;}
}
@media(max-width:781px){.single-grupos .tsr-artist-hero .tsr-hero-cta{padding-inline:0!important;width:100%;box-sizing:border-box;}.single-grupos .tsr-artist-hero .wp-block-buttons:has(a[href="#repertorio-artista"]){width:100%!important;}}
