﻿.podcast-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 48px; /* or try 40px or 32px depending on desired spacing */
    row-gap: 64px; /* adds vertical space between rows */
    padding: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.podcast-header {
    max-width: 300px;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
    object-fit: cover;
}

.podcast-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    max-width: 450px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .podcast-card:hover {
        transform: translateY(-5px);
    }

    .podcast-card img {
        width: 100%;
        height: auto;
        display: block;
    }

    .podcast-card .info {
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .podcast-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 12px;
        text-align: center;
    }

    .podcast-card .published-at {
        font-size: 0.875rem;
        color: #777;
        margin-bottom: 16px;
        text-align: center;
        display: block;
    }

    .podcast-card p {
        font-size: 1rem;
        color: #444;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .podcast-card .listen-button {
        background-color: #E30613; /* Brand red */
        color: white;
        font-weight: 600;
        text-align: center;
        padding: 12px 20px;
        border-radius: 6px;
        text-decoration: none;
        display: inline-block;
        max-width: 180px;
        margin: 0 auto;
        transition: background-color 0.3s ease;
    }

        .podcast-card .listen-button:hover {
            background-color: #b8000d;
        }

@media screen and (max-width: 1024px) {
    .podcast-feed {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }
}

@media screen and (max-width: 640px) {
    .podcast-feed {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}
