/* ================================================
   Programa Podcast Filter - Estilos
   ================================================ */

/* Contenedor principal */
.ppf-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================================
   FILTROS
   ================================================ */

.ppf-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.ppf-filters-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background-color: #FFFFFF;
    border: 1px solid #15192F36;
    border-radius: 30px;
    flex: 1;
    min-width: 300px;
}

.ppf-filter-column {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 150px;
}

.ppf-search-column {
    min-width: 200px;
}

.ppf-filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ppf-calendar-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.ppf-select {
    flex: 1;
    border: none;
    background: transparent;
    color: #60606063;
    font-family: 'Poppins';
    font-size: 15px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    padding: 5px 10px 5px 0;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2360606063' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 25px;
}

.ppf-select:focus {
    color: #15192F;
}

.ppf-select option {
    color: #15192F;
    font-weight: 400;
}

/* Botón de filtrar */
.ppf-filter-btn {
    background-color: #191D50;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 20px;
    border: none;
    color: #FFFFFF;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ppf-filter-btn:hover {
    background-color: #0f1338;
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px 0px #00000040;
}

.ppf-filter-btn:active {
    transform: translateY(0);
}

/* ================================================
   GRID DE PODCASTS
   ================================================ */

.ppf-podcasts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    min-height: 400px;
}

.ppf-podcast-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Meta información */
.ppf-podcast-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-family: 'Poppins';
    font-size: 14px;
    color: #191D50;
    font-weight: 500;
}

.ppf-podcast-date,
.ppf-podcast-author {
    position: relative;
}

.ppf-podcast-author {
    font-weight: 700;
}
/*.ppf-podcast-author::before {
    content: '•';
    position: absolute;
    left: -10px;
}*/

/* Thumbnail con gradiente */
.ppf-podcast-thumbnail {
    position: relative;
    width: 100%;
    height: 395px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

.ppf-podcast-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(25, 29, 80, 0) 0%, #191D50 100%);
    z-index: 1;
}

.ppf-podcast-card:hover .ppf-podcast-thumbnail {
    transform: scale(1.02);
}

/* Contenedor del título */
.ppf-podcast-title-container {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
}

.ppf-podcast-title {
    margin: 0;
    color: #FFFFFF;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    min-height: 75px;
}

/* Mensaje sin resultados */
.ppf-no-results {
    width: 100%;
    text-align: center;
    font-family: 'Poppins';
    font-size: 18px;
    color: #606060;
    padding: 60px 20px;
}

/* ================================================
   LOADER
   ================================================ */

.ppf-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.ppf-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #191D50;
    border-radius: 50%;
    animation: ppf-spin 1s linear infinite;
}

@keyframes ppf-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================
   PAGINACIÓN
   ================================================ */

.ppf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 20px;
}

.ppf-pagination-numbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.ppf-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 8px 12px;
    color: #767676;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.ppf-page-number:hover,
.ppf-page-number.ppf-active {
    background-color: #001019;
    color: #FFFFFF;
    box-shadow: 0px 3px 5.5px 0px #52525221;
}

/* ================================================
   RESPONSIVE - TABLET
   ================================================ */

@media screen and (max-width: 1024px) {
    .ppf-podcast-card {
        flex: 1 1 calc(50% - 15px);
    }
    
    .ppf-filters-container {
        gap: 10px;
        padding: 15px 20px;
    }
    
    .ppf-filter-column {
        min-width: 120px;
    }
}

/* ================================================
   RESPONSIVE - MOBILE
   ================================================ */

@media screen and (max-width: 768px) {
    .ppf-container {
        padding: 15px;
    }
    
    .ppf-filters-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .ppf-filters-container {
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .ppf-filter-column {
        width: 100%;
    }
    
    .ppf-filter-btn {
        width: 100%;
        padding: 15px 30px;
    }
    
    .ppf-podcasts-grid {
        gap: 20px;
    }
    
    .ppf-podcast-card {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .ppf-podcast-thumbnail {
        height: 360px;
    }
    
    .ppf-podcast-title {
        font-size: 18px;
    }
    
    .ppf-page-number {
        min-width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .ppf-podcast-thumbnail {
        height: 360px;
    }
    
    .ppf-podcast-title {
        min-height: auto;
    }
    
    .ppf-podcast-title-container {
        padding: 20px;
    }
    
    .ppf-page-number {
        min-width: 35px;
        height: 35px;
        font-size: 20px;
    }
}