:root {
    --wfdw-burgundy: #7a2525;
    --wfdw-burgundy-dark: #541818;
    --wfdw-gold: #b4975a;
    --wfdw-gold-soft: #e8dcc3;
    --wfdw-cream: #fbf7ee;
    --wfdw-paper: #ffffff;
    --wfdw-ink: #2b2926;
    --wfdw-muted: #746d64;
    --wfdw-border: rgba(122, 37, 37, .13);
    --wfdw-shadow: 0 18px 45px rgba(67, 39, 20, .08);
}

.wfdw-wrap,
.wfdw-wrap * {
    box-sizing: border-box;
}

.wfdw-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 28px auto;
    color: var(--wfdw-ink);
    font-family: inherit;
}

.wfdw-shell {
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(251,247,238,.92)),
        radial-gradient(circle at 10% 0%, rgba(180,151,90,.18), transparent 36%),
        radial-gradient(circle at 95% 12%, rgba(122,37,37,.08), transparent 34%);
    border: 1px solid var(--wfdw-border);
    border-radius: 12px;
    padding: clamp(18px, 3vw, 30px);
    box-shadow: var(--wfdw-shadow);
    position: relative;
    overflow: hidden;
}

.wfdw-shell::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(180, 151, 90, .18);
    border-radius: 9px;
    pointer-events: none;
}

.wfdw-header,
.wfdw-grid,
.wfdw-credit {
    position: relative;
    z-index: 1;
}

.wfdw-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding: 4px 2px 20px;
    border-bottom: 1px solid rgba(122,37,37,.1);
    margin-bottom: 18px;
}

.wfdw-eyebrow,
.wfdw-card-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    color: var(--wfdw-burgundy);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(180,151,90,.45);
    background: rgba(255,255,255,.72);
    border-radius: 999px;
    padding: 7px 10px;
}

.wfdw-header h2 {
    margin: 12px 0 8px;
    color: var(--wfdw-burgundy-dark);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.025em;
}

.wfdw-header p {
    margin: 0;
    max-width: 710px;
    color: var(--wfdw-muted);
    font-size: 16px;
    line-height: 1.7;
}

.wfdw-date {
    min-width: 178px;
    text-align: right;
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(180,151,90,.28);
}

.wfdw-date span,
.wfdw-station-head span,
.wfdw-note,
.wfdw-muted {
    color: var(--wfdw-muted);
}

.wfdw-date span,
.wfdw-station-head span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.wfdw-date strong {
    display: block;
    color: var(--wfdw-burgundy-dark);
    font-size: 18px;
    margin-top: 4px;
}

.wfdw-grid {
    display: grid;
    gap: 16px;
}

.wfdw-grid + .wfdw-grid {
    margin-top: 16px;
}

.wfdw-grid-featured {
    grid-template-columns: 1.05fr .95fr;
}

.wfdw-grid-secondary {
    grid-template-columns: .95fr 1.05fr;
}

.wfdw-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(122,37,37,.12);
    border-radius: 10px;
    padding: clamp(18px, 2.4vw, 26px);
    box-shadow: 0 12px 28px rgba(67,39,20,.055);
    position: relative;
    overflow: hidden;
}

.wfdw-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wfdw-burgundy), var(--wfdw-gold), transparent);
    opacity: .75;
}

.wfdw-card h3 {
    margin: 12px 0 10px;
    color: var(--wfdw-burgundy-dark);
    font-size: clamp(22px, 2.3vw, 28px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.wfdw-card p {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.7;
}

.wfdw-muted {
    font-size: 15px;
}

.wfdw-note {
    margin: 14px 0 0 !important;
    padding-top: 12px;
    border-top: 1px solid rgba(122,37,37,.08);
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.wfdw-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
}

.wfdw-actions-compact {
    margin-top: 9px;
}

.wfdw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.wfdw-btn:hover,
.wfdw-btn:focus {
    transform: translateY(-1px);
    text-decoration: none !important;
}

.wfdw-btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--wfdw-burgundy-dark), var(--wfdw-burgundy));
    box-shadow: 0 10px 22px rgba(122,37,37,.16);
}

.wfdw-btn-soft {
    color: var(--wfdw-burgundy-dark) !important;
    background: rgba(251,247,238,.78);
    border: 1px solid rgba(180,151,90,.42);
}

.wfdw-btn-soft:hover,
.wfdw-btn-soft:focus {
    background: #fff;
    box-shadow: 0 8px 18px rgba(67,39,20,.06);
}

.wfdw-stations {
    display: grid;
    gap: 13px;
}

.wfdw-station {
    padding: 14px;
    background: rgba(251,247,238,.62);
    border: 1px solid rgba(180,151,90,.22);
    border-radius: 9px;
}

.wfdw-station-head {
    margin-bottom: 10px;
}

.wfdw-station-head strong {
    display: block;
    color: var(--wfdw-burgundy-dark);
    font-size: 17px;
    margin-bottom: 3px;
}

.wfdw-player {
    width: 100%;
}

.wfdw-player audio {
    width: 100%;
    display: block;
    min-height: 42px;
}

.wfdw-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f2ede4;
    border: 1px solid rgba(122,37,37,.12);
    border-radius: 9px;
    overflow: hidden;
    margin: 14px 0;
}

.wfdw-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wfdw-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.wfdw-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px 13px;
    background: rgba(251,247,238,.7);
    border: 1px solid rgba(180,151,90,.26);
    border-radius: 8px;
    color: var(--wfdw-burgundy-dark) !important;
    text-decoration: none !important;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.wfdw-link-list a:hover,
.wfdw-link-list a:focus {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 8px 18px rgba(67,39,20,.055);
}

.wfdw-link-list span {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

.wfdw-link-list em {
    flex: 0 0 auto;
    color: var(--wfdw-gold);
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.wfdw-credit {
    text-align: center;
    color: rgba(43,41,38,.55);
    font-size: 12px;
    margin-top: 16px;
}

.wfdw-single .wfdw-card {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .wfdw-header,
    .wfdw-grid-featured,
    .wfdw-grid-secondary {
        grid-template-columns: 1fr;
    }

    .wfdw-header {
        display: grid;
        align-items: start;
    }

    .wfdw-date {
        text-align: left;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .wfdw-wrap {
        margin: 18px auto;
    }

    .wfdw-shell {
        border-radius: 8px;
        padding: 15px;
    }

    .wfdw-shell::before {
        display: none;
    }

    .wfdw-card {
        border-radius: 8px;
        padding: 17px;
    }

    .wfdw-actions,
    .wfdw-link-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wfdw-btn {
        width: 100%;
    }
}
