.home-sermons {
    padding-bottom: 80px;
}

.home-sermons-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.home-sermons-heading h2 {
    color: var(--primary-blue);
    font-size: clamp(24px, 3vw, 32px);
}

.home-sermons a {
    color: var(--primary-blue);
    font-weight: 600;
}

.home-sermons a:hover {
    text-decoration: underline;
}

.home-sermons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.home-sermons-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--card-shadow);
}

.home-sermons-card iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #101827;
}

.home-sermons-caption {
    padding: 16px 20px;
}

.home-sermons-caption h3 {
    margin-bottom: 6px;
    font-size: 17px;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.home-sermons-caption a {
    font-size: 13px;
}

@media (max-width: 1024px) {
    .home-sermons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-sermons {
        padding-bottom: 48px;
    }

    .home-sermons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
