/**
 * Podcasts Section
 * Podcast grid and card styles
 *
 * @package MediaKit_Lite
 */

.mkp-podcasts-section {
    padding: var(--mkp-spacing-xxl) 0;
}

/* Podcast Grid - Masonry layout */
.mkp-podcasts__grid {
    max-width: 1200px;
    margin: 0 auto;
}

.mkp-podcast-card {
    width: calc(33.333% - 14px);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for podcast cards */
.mkp-podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mkp-podcast-card__logo {
    max-height: 25vh; /* Maximum 1/4 of viewport height */
    height: 200px; /* Default height */
    overflow: hidden;
    background-color: transparent;
    padding: var(--mkp-spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mkp-podcast-card__logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mkp-podcast-card__logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mkp-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mkp-podcast-card__content {
    padding: var(--mkp-spacing-lg);
}

.mkp-podcast-card__content .mkp-btn {
    display: table;
    margin: var(--mkp-spacing-md) auto 0;
}

.mkp-podcast-card__title {
    margin: 0 0 var(--mkp-spacing-sm) 0;
    font-size: 1.5rem;
}

/* Tablet styles - 2 columns */
@media (max-width: 800px) {
    .mkp-podcast-card {
        width: calc(50% - 10px);
    }
}

/* Mobile styles - 1 column */
@media (max-width: 500px) {
    .mkp-podcast-card {
        width: 100%;
    }
}