









.tdp-videos {
margin: 0 0 22px;
}

.tdp-video {
position: relative;
margin: 0 0 18px;
}





.tdp-video--horizontal {
width: 100% !important;
aspect-ratio: 16 / 9 !important;
height: auto !important;
}

.tdp-video--vertical {
width: 100% !important;
max-width: 360px;
margin-inline: auto;
aspect-ratio: 9 / 16 !important;
height: auto !important;
}

.tdp-video iframe,
.tdp-video video {
display: block;
width: 100% !important;
height: 100% !important;
max-width: none !important;
position: static !important;
border: 0;
border-radius: 10px;
background: #000;
object-fit: contain;
}




.tdp-video .fluid-width-video-wrapper,
.tdp-video .wpb_video_wrapper,
.tdp-video .responsive-video-wrap {
padding: 0 !important;
position: static !important;
width: 100% !important;
height: 100% !important;
}

.tdp-video__quitar {
position: absolute;
top: 8px;
right: 8px;
z-index: 2;
width: 30px;
height: 30px;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.65);
color: #fff;
font-size: 19px;
line-height: 30px;
cursor: pointer;
}










.tdp-video__facade {
display: block;
width: 100%;
height: 100%;
border: 0;
padding: 0;
margin: 0;
border-radius: 10px;
overflow: hidden;
background: #000;
cursor: pointer;
}

.tdp-video__facade-img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}




.tdp-video__play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
width: 60px;
height: 60px;
border: 0;
padding: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.55);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
cursor: pointer;
transition: transform .15s, background .15s;
}

.tdp-video__play svg {
margin-left: 3px;
}

.tdp-video__facade:hover .tdp-video__play,
.tdp-video__facade:focus-visible .tdp-video__play,
.tdp-video__play:hover,
.tdp-video__play:focus-visible {
background: rgba(0, 0, 0, 0.75);
transform: translate(-50%, -50%) scale(1.08);
}




.tdp-videos-boton {
display: flex;
align-items: center;
justify-content: center;
gap: 9px;
width: 100%;
margin: 14px 0 6px;
padding: 14px 16px;
border: 0;
border-radius: 12px;
background: #15161a;
color: #fff;
font-size: 15px;
font-weight: 600;
letter-spacing: .01em;
line-height: 1.2;
cursor: pointer;
transition: background-color .15s, transform .1s;
}

.tdp-videos-boton:hover {
background: #000;
}

.tdp-videos-boton:active {
transform: scale(0.99);
}



.tdp-videos-boton svg {
flex: 0 0 auto;
width: 26px;
height: 26px;
padding: 5px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.14);
}








.tdp-videos--carrusel {
position: relative;
}

.tdp-videos__pista {
display: flex;
gap: 14px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;




touch-action: pan-x pan-y pinch-zoom;
overscroll-behavior-x: contain;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
padding-bottom: 2px;
}

.tdp-videos__pista::-webkit-scrollbar {
display: none;
}


.tdp-videos:not(.tdp-videos--carrusel) .tdp-videos__pista {
display: block;
overflow: visible;
}

.tdp-videos--carrusel .tdp-video {
flex: 0 0 auto;
scroll-snap-align: center;
margin-bottom: 0;
}





.tdp-videos--carrusel .tdp-video--vertical {
width: min(58vw, 300px) !important;
max-width: none;
margin-inline: 0;
}



.tdp-videos--carrusel .tdp-video--horizontal {
width: min(86vw, 420px) !important;
max-width: none;
margin-inline: 0;
}

.tdp-videos__flecha {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 3;
width: 40px;
height: 40px;
border: 0;
border-radius: 50%;
background: rgba(0, 0, 0, 0.6);
color: #fff;
font-size: 24px;
line-height: 40px;
cursor: pointer;
transition: opacity .15s;
}

.tdp-videos__flecha:hover {
background: rgba(0, 0, 0, 0.8);
}

.tdp-videos__flecha--antes {
left: 6px;
}

.tdp-videos__flecha--despues {
right: 6px;
}

.tdp-videos__flecha[hidden] {
display: none;
}









.tdp-videos__barras {
display: flex;
gap: 5px;
margin: 0 0 10px;
pointer-events: none;
}

.tdp-videos__barra {
flex: 1 1 0;
height: 4px;
border-radius: 4px;
background: #e3e6ea;
overflow: hidden;
}

.tdp-videos__barra i {
display: block;
width: 0;
height: 100%;
border-radius: 3px;
background: var(--tdp-ar-acento, #57c000);
transition: width .12s linear;
}


.tdp-videos__barra.is-vista i {
width: 100%;
}


.tdp-videos__barras:empty {
display: none;
}



.tdp-videos__toque {
display: none;
position: absolute;
top: 0;
bottom: 52px;
z-index: 2;
width: 18%;




touch-action: pan-x pan-y;
border: 0;
padding: 0;
background: transparent;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}

.tdp-videos__toque--antes {
left: 0;
}

.tdp-videos__toque--despues {
right: 0;
}



@media (hover: none) and (pointer: coarse) {
.tdp-videos--carrusel .tdp-videos__toque {
display: block;
}
}



.tdp-videos-hueco--vacio {
height: 0;
overflow: hidden;
}


body.tdp-ar-colocando .tdp-videos-hueco--vacio {
height: auto;
margin: 10px 0;
border: 2px dashed #c9ccd1;
border-radius: 8px;
min-height: 34px;
position: relative;
}

body.tdp-ar-colocando .tdp-videos-hueco--vacio::after {
content: "soltar aquí";
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #9aa0a6;
letter-spacing: .04em;
text-transform: uppercase;
}

body.tdp-ar-colocando .tdp-videos-hueco.is-diana,
body.tdp-ar-colocando .tdp-videos-hueco--vacio.is-diana {
border: 2px dashed var(--tdp-ar-acento, #b8ff4a);
background: rgba(184, 255, 74, .14);
}

.tdp-video__mando {
display: none;
position: absolute;
top: 8px;
left: 8px;
z-index: 3;
gap: 4px;
background: rgba(0, 0, 0, 0.65);
border-radius: 999px;
padding: 4px 6px;
}

body.tdp-ar-colocando .tdp-video__mando {
display: flex;
}

.tdp-video__mando button {
width: 26px;
height: 26px;
border: 0;
border-radius: 50%;
background: transparent;
color: #fff;
font-size: 15px;
line-height: 1;
cursor: pointer;
padding: 0;
}

.tdp-video__mando button:hover {
background: rgba(255, 255, 255, 0.22);
}

.tdp-video__asa {
cursor: grab;
touch-action: none;
}

body.tdp-ar-arrastrando {
user-select: none;
}

body.tdp-ar-arrastrando .tdp-video__asa {
cursor: grabbing;
}

.tdp-video.is-viajando {
outline: 3px solid var(--tdp-ar-acento, #b8ff4a);
outline-offset: 3px;
opacity: .65;
}


.tdp-ar-boton--colocar.is-activo {
background: #111;
color: #fff;
}











.tdp-videos__titulo {
margin: 0 0 14px;
font-size: 22px;
font-weight: 700;
line-height: 1.25;
}

.tdp-video--tt.tdp-video--vertical,
.tdp-video--tt.tdp-video--horizontal {
aspect-ratio: auto !important;
}

.tdp-video--tt .tdp-video__marco {
position: relative;
width: 100%;
border-radius: 16px;
overflow: hidden;
background: #000;
aspect-ratio: 9 / 16;


-webkit-tap-highlight-color: transparent;
}

.tdp-video--tt.tdp-video--horizontal .tdp-video__marco {
aspect-ratio: 16 / 9;
}


.tdp-video__marco:fullscreen {
border-radius: 0;
aspect-ratio: auto;
}
















.tdp-videos--tt.tdp-videos--carrusel {
--tdp-carta: min(68vw, 320px);
}

.tdp-videos--tt.tdp-videos--carrusel .tdp-video--vertical {
width: var(--tdp-carta) !important;
}

.tdp-videos--tt.tdp-videos--carrusel .tdp-videos__pista {
gap: 0;
padding-inline: calc(50% - var(--tdp-carta) / 2);
scroll-padding-inline: calc(50% - var(--tdp-carta) / 2);
padding-block: 6px 4px;
overflow-y: hidden;
}

.tdp-videos--tt.tdp-videos--carrusel .tdp-video {
position: relative;
}




.tdp-videos--tt.tdp-videos--carrusel .tdp-video__marco {
transform-origin: center center;
will-change: transform;




transition: none;
backface-visibility: hidden;
}



.tdp-videos--tt.tdp-videos--carrusel:not(.is-baraja) .tdp-videos__pista {
gap: 12px;
}



.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-video:not(.is-delante) .tdp-video__marco::after {
content: "";
position: absolute;
inset: 0;
z-index: 4;
background: rgba(0, 0, 0, 0.3);
pointer-events: none;
}

.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-video:not(.is-delante) .tdp-video__pie {
opacity: 0;
}

.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-video:not(.is-delante) .tdp-video__marco {
box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-video.is-delante .tdp-video__marco {
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}


.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-video:not(.is-delante) {
cursor: pointer;
}




.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-videos__flecha {
z-index: 40;
}

.tdp-videos--tt.tdp-videos--carrusel.is-baraja .tdp-videos__toque {
z-index: 35;
}




.tdp-video__cabecera {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 2;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 12px 26px;
background: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
color: #fff;
pointer-events: none;
}

.tdp-video__avatar {
flex: 0 0 auto;
width: 36px;
height: 36px;
border-radius: 50%;
object-fit: cover;
background: #fff;
border: 2px solid rgba(255, 255, 255, 0.9);
}

.tdp-video__avatar--letras {
display: flex;
align-items: center;
justify-content: center;
background: var(--tdp-ar-acento, #b8ff4a);
color: #111;
font-size: 12px;
font-weight: 800;
letter-spacing: .02em;
}

.tdp-video__quien {
display: flex;
flex-direction: column;
min-width: 0;
line-height: 1.25;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.tdp-video__quien strong {
font-size: 13px;
font-weight: 800;
letter-spacing: .03em;
text-transform: uppercase;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.tdp-video__quien span {
font-size: 11.5px;
opacity: .85;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}




.tdp-video__cabecera {
transition: opacity .25s;
}

.tdp-video.is-iframe .tdp-video__cabecera {
opacity: 0;
}



.tdp-video__lateral {
position: absolute;
right: 8px;
bottom: 70px;
z-index: 2;
display: flex;
flex-direction: column;
gap: 16px;
}

.tdp-video__cifra {
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
border: 0;
padding: 0;
background: transparent;
color: #fff;
font-size: 12px;
font-weight: 700;
cursor: pointer;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
-webkit-tap-highlight-color: transparent;
}

.tdp-video__cifra svg {
width: 30px;
height: 30px;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
transition: transform .12s;
}

.tdp-video__cifra:active svg {
transform: scale(1.18);
}


.tdp-video__cifra.is-latido svg {
color: #fe2c55;
}



.tdp-video__controles {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
display: flex;
align-items: center;
gap: 4px;
padding: 18px 8px 8px;
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62));
color: #fff;




touch-action: pan-x pan-y;
}

.tdp-video__controles button {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border: 0;
border-radius: 50%;
padding: 0;
background: transparent;
color: #fff;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}

.tdp-video__controles button:hover {
background: rgba(255, 255, 255, 0.16);
}

.tdp-video__controles svg {
width: 20px;
height: 20px;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

.tdp-video__tiempo {
font-size: 12.5px;
font-weight: 600;
font-variant-numeric: tabular-nums;
letter-spacing: .03em;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
margin-left: 2px;
}

.tdp-video__aire {
flex: 1 1 auto;
}


.tdp-video__ico-pausa,
.tdp-video__ico-mudo {
display: none;
}

.tdp-video.is-reproduciendo .tdp-video__ico-play {
display: none;
}

.tdp-video.is-reproduciendo .tdp-video__ico-pausa {
display: block;
}

.tdp-video.is-muda .tdp-video__ico-son {
display: none;
}

.tdp-video.is-muda .tdp-video__ico-mudo {
display: block;
}



.tdp-video--tt.is-reproduciendo .tdp-video__play[data-tdp-play] {
display: none;
}



.tdp-video__pie {
display: block;
padding: 10px 2px 0;
line-height: 1.35;
}

.tdp-video__pie strong {
display: block;
font-size: 14.5px;
font-weight: 700;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}



.tdp-video--tt .tdp-video__mando {
top: 58px;
}

.tdp-video--tt .tdp-video__quitar {
top: 58px;
}





.tdp-videos--tt .tdp-videos__flecha {
top: 44%;
}

.tdp-videos--tt .tdp-videos__toque {
bottom: 110px;
}
