/**
 * Programm Page Styles
 * Ella Radio Theme
 */

/* ==============================================
   PAGE HEADER
============================================== */
.programm-page {
    background: #ffffff;
}

.programm-header {
    padding: 2rem 0 3rem;
    text-align: left;
}

.programm-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .programm-header h1 {
        font-size: 3rem;
    }
}

.programm-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 100%;
}

.programm-description p {
    margin-bottom: 1rem;
}

.programm-description p:last-child {
    margin-bottom: 0;
}

/* ==============================================
   WEEKDAY TABS (wie Ella Radio - volle Breite)
============================================== */
.programm-tabs-section {
    padding: 1rem 0 2rem;
}

.programm-tabs {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 1398px;
    margin: 0 auto;
    padding: 0 20px;
}

.programm-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.programm-tab:hover {
    color: #E30917;
    background: rgba(225, 7, 23, 0.05);
}

.programm-tab.active {
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 7, 23, 0.3);
}

.programm-tab .tab-short {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.programm-tab .tab-full {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==============================================
   SCHEDULE
============================================== */
.programm-schedule-section {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.day-schedule {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
}

.no-shows {
    text-align: center;
    padding: 3rem 0;
    color: #999;
    font-size: 1.125rem;
}

/* ==============================================
   SHOW CARDS
============================================== */
.show-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .show-card {
        grid-template-columns: 256px 1fr;
    }
}

.show-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Active Show (Jetzt Live) */
.show-card.active-show {
    border: 2px solid #E30917;
    box-shadow: 0 4px 20px rgba(225, 7, 23, 0.2);
}

.show-card.active-show::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    opacity: 0.1;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.2;
    }
}

/* Show Image */
.show-image {
    width: 100%;
    height: 0;
    padding-bottom: 114%; /* 256/292 = 0.877 → 292/256 = 1.14 */
    position: relative;
    background: #f5f5f5;
}

@media (min-width: 768px) {
    .show-image {
        padding-bottom: 0;
        height: 100%;
        min-height: 292px;
    }
}

.show-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show Info */
.show-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .show-info {
        padding: 2rem;
    }
}

.show-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.show-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    padding: 0.375rem 0.75rem;
    background: #f5f5f5;
    border-radius: 0.5rem;
}

.show-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    text-transform: uppercase;
    animation: pulse-badge 2s infinite;
}

.show-live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 7, 23, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(225, 7, 23, 0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.show-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

@media (min-width: 768px) {
    .show-title {
        font-size: 1.75rem;
    }
}

.show-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.show-host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #666;
    margin-top: auto;
}

.show-host svg {
    flex-shrink: 0;
    color: #E30917;
}

.show-host span {
    font-weight: 500;
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
    .programm-header {
        padding: 1.5rem 0 2rem;
    }
    
    .programm-header h1 {
        font-size: 2rem;
    }
    
    .programm-description {
        font-size: 1rem;
    }
    
    .programm-tabs-section {
        padding: 1.5rem 0;
    }
    
    .programm-tabs {
        display: flex;
        width: 100%;
        gap: 0.5rem;
    }
    
    .programm-tab {
        padding: 0.5rem 0.25rem;
        gap: 0.15rem;
    }
    
    .programm-tab .tab-short {
        font-size: 0.75rem;
    }
    
    .programm-tab .tab-full {
        font-size: 0.65rem;
    }
    
    .programm-schedule-section {
        padding: 1.5rem 0 3rem;
    }
    
    .show-title {
        font-size: 1.25rem;
    }
}
