/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       A-Lab Chile Spa
 Author URI:   http://alchemylab.cl
 Template:     basel
 Version:      1.1.0
 Text Domain:  basel-child
*/


/* Your customizations starts here */

/* Botón Flotante de WhatsApp - Izquierda */
.jumpseller-whatsapp-float {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: jumpseller_pulse 2s infinite;
}

.jumpseller-whatsapp-float:hover {
    background-color: #1ebea5;
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.35);
}

/* Efecto de animación pulsante */
@keyframes jumpseller_pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajustes para no chocar con la barra de herramientas móvil o de WooCommerce */
@media (max-width: 768px) {
    .jumpseller-whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        left: 15px;
        bottom: 15px;
    }
}

/* =========================================================
   ESTILOS RESPONSIVE (SOLO PARA ESTA SECCIÓN)
   ========================================================= */
#videos-srcompost {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: inherit;
}

#videos-srcompost .page-header {
    text-align: center;
    margin-bottom: 30px;
}

#videos-srcompost .subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

/* =========================================================
   GRID RESPONSIVE (3 COLUMNAS → 2 → 1)
   ========================================================= */
#videos-srcompost .videos-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

#videos-srcompost .video-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

/* =========================================================
   TABLETS (768px - 1024px) → 2 COLUMNAS
   ========================================================= */
@media screen and (max-width: 1024px) {
    #videos-srcompost .video-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* =========================================================
   MÓVILES (menos de 768px) → 1 COLUMNA
   ========================================================= */
@media screen and (max-width: 767px) {
    #videos-srcompost .video-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #videos-srcompost .subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    #videos-srcompost .video-title {
        font-size: 0.95rem !important;
    }

    #videos-srcompost .video-meta {
        font-size: 0.75rem !important;
    }
}

/* =========================================================
   MÓVILES PEQUEÑOS (menos de 480px)
   ========================================================= */
@media screen and (max-width: 480px) {
    #videos-srcompost {
        padding: 10px 8px;
    }

    #videos-srcompost .video-col {
        padding: 0 8px;
        margin-bottom: 20px;
    }

    #videos-srcompost .video-info {
        padding: 8px 0 !important;
    }

    #videos-srcompost .video-title {
        font-size: 0.85rem !important;
    }

    #videos-srcompost .video-meta {
        font-size: 0.7rem !important;
        flex-wrap: wrap;
    }

    #videos-srcompost .video-type {
        font-size: 0.6rem !important;
        padding: 1px 6px !important;
    }
}

/* =========================================================
   WRAPPER DEL VIDEO (mantiene proporción 16:9)
   ========================================================= */
#videos-srcompost .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

#videos-srcompost .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#videos-srcompost .video-info {
    padding: 12px 0;
}

#videos-srcompost .video-title {
    font-size: 1rem;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

#videos-srcompost .video-title a {
    text-decoration: none;
    color: #2c3e50;
}

#videos-srcompost .video-title a:hover {
    color: #27ae60;
}

#videos-srcompost .video-meta {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

#videos-srcompost .video-date {
    margin-right: 4px;
}

#videos-srcompost .video-type {
    display: inline-block;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#videos-srcompost .video-source {
    margin-left: 4px;
}

/* Colores de etiquetas */
#videos-srcompost .tag-short { background: #2ecc71; }
#videos-srcompost .tag-entrevista { background: #e74c3c; }
#videos-srcompost .tag-podcast { background: #3498db; }
#videos-srcompost .tag-capsula { background: #f39c12; }
#videos-srcompost .tag-live { background: #9b59b6; }

/* =========================================================
   ENLACES INTERNOS RESPONSIVE
   ========================================================= */
#videos-srcompost .internal-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

#videos-srcompost .internal-links h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

#videos-srcompost .internal-links .links-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#videos-srcompost .internal-links .links-list li {
    margin: 0;
}

#videos-srcompost .internal-links .links-list a {
    text-decoration: none;
    background: #f0f0f0;
    padding: 8px 18px;
    border-radius: 20px;
    display: inline-block;
    color: #2c3e50;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

#videos-srcompost .internal-links .links-list a:hover {
    background: #27ae60;
    color: #fff;
}

#videos-srcompost .internal-links .links-list .btn-primary {
    background: #27ae60;
    color: #fff;
}

#videos-srcompost .internal-links .links-list .btn-primary:hover {
    background: #219a52;
    color: #fff;
}

/* =========================================================
   RESPONSIVE: ENLACES INTERNOS
   ========================================================= */
@media screen and (max-width: 767px) {
    #videos-srcompost .internal-links .links-list {
        gap: 8px;
    }

    #videos-srcompost .internal-links .links-list a {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    #videos-srcompost .internal-links h2 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    #videos-srcompost .internal-links .links-list a {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */
#videos-srcompost .videos-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #777;
}

#videos-srcompost .videos-footer strong {
    color: #2c3e50;
}

#videos-srcompost .videos-footer a {
    color: #27ae60;
    text-decoration: none;
}

#videos-srcompost .videos-footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #videos-srcompost .videos-footer {
        font-size: 0.8rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    #videos-srcompost .videos-footer {
        font-size: 0.7rem;
    }
}