/* QAV Podcast Grid Styles */

/* Year headings */
.qav-year-heading {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    color: #4f6d7a;
    font-weight: 700;
    font-size: 32px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #f7c800;
    width: 100%;
    clear: both;
}

/* Grid container */
.qav-podcast-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: flex-start;
}

/* Podcast item */
.qav-podcast-item {
    width: calc(33.333% - 30px);
    margin: 0 15px 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.qav-podcast-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Podcast image container */
.qav-podcast-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
}

.qav-podcast-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.qav-podcast-item:hover .qav-podcast-image img {
    transform: scale(1.05);
}

/* Podcast title */
.qav-podcast-title {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 20px 20px 10px;
}

.qav-podcast-title a {
    color: #4f6d7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.qav-podcast-title a:hover {
    color: #f7c800;
}

/* Podcast excerpt */
.qav-podcast-excerpt {
    padding: 0 20px;
    color: #1a1423;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Podcast link */
.qav-podcast-link {
    padding: 0 20px;
    margin-top: auto;
}

.qav-podcast-read-more {
    display: inline-block;
    background-color: #f7c800;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.qav-podcast-read-more:hover {
    background-color: #4f6d7a;
    color: #fff;
}

/* Empty item for grid alignment */
.qav-empty-item {
    box-shadow: none;
    background: transparent;
}

/* Responsive styles */
@media (max-width: 980px) {
    .qav-podcast-item {
        width: calc(50% - 30px);
    }
}

@media (max-width: 767px) {
    .qav-podcast-item {
        width: 100%;
        margin: 0 0 30px;
    }
    
    .qav-podcast-grid {
        margin: 0;
    }
    
    .qav-year-heading {
        font-size: 28px;
    }
} 