/* De Werven Podcast Feed - v1.1.3
   Rustige kaartstijl, dichter bij de agenda-opmaak. Afbeeldingen vierkant. */

.dw-podcast-wrap {
    max-width: 1180px;
    margin: 28px auto 42px auto;
    padding: 0 14px;
}

.dw-podcast-header {
    background: #ffffff;
    border-left: 7px solid #ff5b1a;
    border-radius: 15px;
    padding: 22px 28px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.dw-podcast-header h1 {
    margin: 0 0 8px 0;
    color: #12384c;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.dw-podcast-header p {
    margin: 0;
    color: #2f3238;
    font-size: 17px;
    line-height: 1.45;
}

.dw-podcast-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 26px 0;
}

.dw-podcast-tab {
    border: 0;
    background: #006995;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 17px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
    transition: background .15s ease, box-shadow .15s ease;
}

.dw-podcast-tab:hover,
.dw-podcast-tab:focus {
    background: #00577c;
    color: #ffffff;
}

.dw-podcast-tab.is-active {
    background: #ff5b1a;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 91, 26, .14);
}

.dw-podcast-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.dw-podcast-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.055);
    border: 1px solid rgba(18, 56, 76, 0.055);
    min-width: 0;
}

.dw-podcast-card.is-hidden {
    display: none;
}

.dw-podcast-cover {
    position: relative;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #edf1f3;
    overflow: hidden;
}

.dw-podcast-cover img,
.dw-podcast-cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dw-podcast-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #12384c;
    font-size: 22px;
    font-weight: 850;
    background: linear-gradient(135deg, #dfe8ec, #ffffff);
}

.dw-podcast-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 30px);
    border-radius: 8px;
    padding: 8px 11px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.05;
    font-weight: 850;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

.dw-podcast-badge-series {
    display: none !important;
}

.dw-podcast-badge-duration {
    right: 14px;
    bottom: 14px;
    background: #006995;
}

.dw-podcast-content {
    padding: 20px 21px 23px 21px;
}

.dw-podcast-content h2 {
    margin: 0 0 12px 0;
    color: #151b28;
    font-size: 22px;
    line-height: 1.13;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.dw-podcast-date {
    margin-bottom: 14px;
    color: #ff5b1a;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 850;
}

.dw-podcast-desc {
    color: #3e4550;
    font-size: 16px;
    line-height: 1.38;
    margin: 0 0 22px 0;
}

.dw-podcast-open {
    display: inline-block;
    border: 0;
    background: transparent;
    color: #ff5b1a !important;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 850;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
}

.dw-podcast-open:hover,
.dw-podcast-open:focus {
    color: #d94a11 !important;
    text-decoration: underline;
}

.dw-podcast-player {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(18, 56, 76, 0.10);
}

.dw-podcast-player audio {
    display: block;
    width: 100%;
    margin: 0 0 12px 0;
}

.dw-podcast-link {
    display: inline-block;
    color: #006995 !important;
    background: transparent;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    padding: 0;
}

.dw-podcast-link:hover,
.dw-podcast-link:focus {
    color: #00577c !important;
    text-decoration: underline;
}

.dw-podcast-error {
    max-width: 1180px;
    margin: 24px auto;
    padding: 16px 20px;
    background: #fff3f3;
    border-left: 5px solid #c00;
    border-radius: 10px;
}

@media (max-width: 1120px) {
    .dw-podcast-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 820px) {
    .dw-podcast-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }


    .dw-podcast-content h2 {
        font-size: 21px;
    }
}

@media (max-width: 560px) {
    .dw-podcast-wrap {
        margin-top: 18px;
        padding: 0 12px;
    }

    .dw-podcast-header {
        padding: 20px 20px;
        border-radius: 14px;
    }

    .dw-podcast-header h1 {
        font-size: 28px;
    }

    .dw-podcast-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }

    .dw-podcast-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .dw-podcast-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .dw-podcast-content {
        padding: 19px 20px 22px 20px;
    }

    .dw-podcast-content h2 {
        font-size: 22px;
    }
}
