/* Beyond the Sunday Sermon Homepage Widget */
.beyond-widget-section {
    padding: 70px 20px 80px 20px;
    background: linear-gradient(180deg, #f4f7f9 0%, #eaf1f8 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.beyond-widget-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.beyond-widget-header {
    text-align: center;
    margin-bottom: 45px;
}

.beyond-badge-wrapper {
    margin-bottom: 12px;
}

.beyond-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 999px;
    background: #0078D4;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 120, 212, 0.25);
}

.beyond-widget-header h2 {
    font-size: 2.6rem;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.beyond-widget-header p {
    font-size: 1.15rem;
    color: #555;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

.beyond-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (min-width: 1024px) {
    .beyond-widget-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styling - exactly matching the podcast card specification */
.beyond-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 120, 212, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.beyond-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.beyond-episode-number {
    font-size: 0.82rem;
    color: #0078D4;
    font-weight: 700;
    margin-bottom: 4px;
}

.beyond-episode-date {
    font-size: 0.88rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 10px;
}

.beyond-episode-title {
    font-size: 1.12rem;
    color: #222;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 12px 0;
    text-align: left;
    flex-grow: 1;
}

.beyond-episode-guest {
    font-size: 0.94rem;
    font-weight: 600;
    color: #0078D4;
    margin-bottom: 18px;
}

.beyond-listen-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: #0078D4;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.2s ease, transform 0.15s ease;
}

.beyond-listen-btn:hover {
    background: #005a9e;
    color: #ffffff !important;
}

.beyond-listen-btn i {
    font-size: 0.85rem;
}

/* Action button to view all */
.beyond-widget-action {
    text-align: center;
    margin-top: 10px;
}

.beyond-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0078D4;
    border: 2px solid #0078D4;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 120, 212, 0.1);
}

.beyond-view-all-btn:hover {
    background: #0078D4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 120, 212, 0.25);
}

.beyond-view-all-btn i {
    transition: transform 0.2s ease;
}

.beyond-view-all-btn:hover i {
    transform: translateX(4px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .beyond-widget-section {
        padding: 50px 16px 60px 16px;
    }

    .beyond-widget-header h2 {
        font-size: 1.85rem;
    }

    .beyond-widget-header p {
        font-size: 1rem;
    }

    .beyond-widget-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .beyond-card {
        padding: 18px;
    }

    .beyond-episode-title {
        font-size: 1.05rem;
    }
}
