﻿.full-podcast-container{
    background-image: url("/Personas/Paginas/un-salto-gigante/d/assets/imgs/podcast-wallp-desktop.webp");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#podcast-title-container{
    max-width: 52%;
    padding-top: 5%;
}
#podcast-title-container > .podcast-banner-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;    
}
.podcast-banner-text .pod-title-h2-desk{
   font-size: 3.5rem;
}
.podcast-banner-text .pod-title-p-desk{
   font-size: 2.2rem;
}
#podcast-section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
    width: 100%;   
}
.podcast-container {    
    width: 100%;
    max-width: 50%;
    min-height: 600px;
    padding: 20px 0; /* Ajustamos el padding horizontal a 0 */
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    /* Reducimos el gap para que el slider ocupe el espacio sin desplazamientos extra */
    gap: 0;
    overflow: hidden;
}

/* MODIFICACIÓN: slides-wrapper */
.slides-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

/* AJUSTE: nav-arrow */
.nav-arrow {
    width: 40px;
    height: 55px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
    padding: 2px;
    z-index: 100;
    /* Añadimos margin horizontal para separarlos del contenido */
    margin: 0 15px;
    flex-shrink: 0; /* Evita que las flechas se encojan */
}
.nav-arrow:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* MODIFICACIÓN: video-data-wrapper (ahora podcast-slide) */
.video-data-wrapper {
    flex-shrink: 0;
    width: 100%;
    border-radius: var(--border-radius-lg);
    padding: 0 15px; /* Añadimos el padding aquí para el espacio interno */
}
.player-area {
    position: relative;
    width: 100%;
    padding-top: 57.25%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}
.episode-label {
    position: absolute;
    bottom: 25px;
    left: 15px;
    background-color: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9em;
    font-weight: bold;
    z-index: 10;
}
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-image 0.5s ease;
}

/* El .play-icon y el .video-iframe deben estar dentro de .video-player */
.play-icon {
    width: 80px; 
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" opacity="0.8"><circle cx="12" cy="12" r="10" fill="rgba(0,0,0,0.5)"/><path d="M9.5 16.5v-9l7 4.5z"/></svg>') no-repeat center center;
    background-size: contain;
    transition: opacity 0.3s ease;
    z-index: 5;
}
.video-player:hover .play-icon {
    opacity: 1;
    transition: 0.1s ease-in-out;
}
.video-player:hover .play-icon:hover{
    width: 84px;
    height: 84px;
}
.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    z-index: 15;
}
.video-iframe iframe{    
    width: 100%;
    height: 100%;
    border-radius:18px;
}
/* Estado de reproducción: OCULTA la imagen y el icono, MUESTRA el iframe */
.video-player.playing .play-icon {
    display: none;
}
.video-player.playing {
    background-image: none !important;
}
.video-player.playing .video-iframe {
    display: block;
}

.video-info {
    background: var(--color-light-blue);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    color: #fff;
}
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.info-header h3 {
    font-size: 1.5em;
    font-weight: bold;
    flex-grow: 1;
}
.info-header .duration {
    font-size: 1em;
    opacity: 0.7;
    margin-right: 15px;
}
.share-placeholder {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18 16.08c-.76 0-1.44.3-1.96.79l-4.22-2.55a3.97 3.97 0 0 0 0-2.46l4.22-2.55c.52.49 1.2.79 1.96.79 2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4c0 .24.03.47.08.69L9.58 11.2a3.97 3.97 0 0 0-3.58 0L2.8 8.69C2.8 8.47 2.77 8.24 2.77 8s.03-.47.08-.69L9.58 4.79C9.53 4.57 9.5 4.34 9.5 4c0-2.21 1.79-4 4-4s4 1.79 4 4-1.79 4-4 4c-.76 0-1.44-.3-1.96-.79l-4.22 2.55a3.97 3.97 0 0 0 0 2.46l4.22 2.55c.52-.49 1.2-.79 1.96-.79 2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4c0-.24.03-.47.08-.69L9.58 16.2a3.97 3.97 0 0 0-3.58 0L2.8 19.69C2.8 19.47 2.77 19.24 2.77 19s.03-.47.08-.69L9.58 15.2a3.97 3.97 0 0 0-3.58 0L2.8 12.69C2.8 12.47 2.77 12.24 2.77 12s.03-.47.08-.69L9.58 8.79C9.53 8.57 9.5 8.34 9.5 8c0-2.21 1.79-4 4-4s4 1.79 4 4-1.79 4-4 4c-.76 0-1.44-.3-1.96-.79l-4.22 2.55a3.97 3.97 0 0 0 0 2.46l4.22 2.55c.52-.49 1.2-.79 1.96-.79 2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4c0-.24.03-.47.08-.69L9.58 16.2a3.97 3.97 0 0 0-3.58 0L2.8 19.69C2.8 19.47 2.77 19.24 2.77 19s.03-.47.08-.69L9.58 15.2a3.97 3.97 0 0 0-3.58 0L2.8 12.69C2.8 12.47 2.77 12.24 2.77 12s.03-.47.08-.69L9.58 8.79C9.53 8.57 9.5 8.34 9.5 8c0-2.21 1.79-4 4-4s4 1.79 4 4-1.79 4-4 4z"/></svg>') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}
.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 10px 0;
}
.participants-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.participant {
    flex-basis: 48%;
    min-width: 200px;
}
.participant .name {
    font-weight: bold;
    font-size: 0.95em;
}
.participant .role {
    font-size: 0.85em;
    opacity: 0.8;
}
@media (max-width: 1023px) {
    .podcast-container {
        display: none;
    }
}