* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f7fa;
    color: #123b55;
}

a {
    text-decoration: none;
}

.programme-header {
    height: 78px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #075b91;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo > span {
    font-size: 32px;
}

.logo strong {
    display: block;
    font-size: 24px;
}

.logo small {
    display: block;
    font-size: 8px;
    letter-spacing: 3px;
}

.programme-header nav {
    display: flex;
    gap: 30px;
}

.programme-header nav a {
    color: white;
    font-weight: 600;
    padding: 28px 0;
}

.programme-header nav a.active {
    border-bottom: 4px solid #ffd000;
}

.header-live {
    background: #ed2630;
    color: white;
    padding: 13px 22px;
    border-radius: 30px;
    font-weight: 700;
}

.programme-hero {
    min-height: 265px;
    padding: 55px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background:
        linear-gradient(110deg, rgba(0,55,100,.9), rgba(0,125,190,.55)),
        linear-gradient(180deg,#0874b5,#064e82);
}

.hero-label {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.programme-hero h1 {
    margin: 0;
    font-size: clamp(44px,6vw,72px);
}

.programme-hero p {
    font-size: 21px;
    margin: 10px 0 0;
}

.hero-verse {
    max-width: 430px;
    font-size: 28px;
    font-style: italic;
    line-height: 1.35;
    text-align: center;
}

.hero-verse small {
    display: block;
    margin-top: 12px;
    font-size: 15px;
    font-style: normal;
}

.programme-container {
    width: min(1120px, 92%);
    margin: 20px auto 50px;
}

.date-tabs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.date-tab {
    border: 0;
    background: white;
    border-radius: 14px;
    padding: 17px;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
    color: #123b55;
    font-size: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
}

.date-tab.active {
    background: #075b91;
    color: white;
}

.date-tab span {
    display: block;
}

.date-tab strong,
.date-tab small {
    display: block;
}

.date-tab strong {
    font-size: 16px;
}

.date-tab small {
    font-size: 12px;
    margin-top: 4px;
    opacity: .8;
}

.programme-grid {
    display: grid;
    grid-template-columns: minmax(0,2.2fr) minmax(300px,1fr);
    gap: 18px;
}

.schedule-card,
.onair-card,
.next-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0,0,0,.07);
}

.schedule-card {
    padding: 22px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-heading h2 {
    margin: 0;
    font-size: 27px;
}

.heading-line {
    display: block;
    width: 45px;
    height: 4px;
    background: #ffd000;
    margin-bottom: 6px;
    border-radius: 5px;
}

.current-date {
    background: #f1f6f9;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.program-row {
    min-height: 72px;
    display: grid;
    grid-template-columns: 68px 130px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 7px 10px;
    border-radius: 12px;
    background: #f7fafc;
}

.program-row.current {
    background: #eef8fc;
    border-left: 4px solid #0877c0;
}

.program-time strong,
.program-time small {
    display: block;
}

.program-time strong {
    color: #0670bd;
    font-size: 17px;
}

.program-time small {
    color: #71808b;
    margin-top: 3px;
}

.program-thumb {
    height: 58px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 12px;
    font-weight: 800;
    padding: 5px;
}

.maraim { background: linear-gradient(135deg,#0d8ab7,#ffd000); }
.bible { background: linear-gradient(135deg,#35291d,#84613c); }
.music { background: linear-gradient(135deg,#16a9c0,#2759a8); }
.parole { background: linear-gradient(135deg,#4b8e29,#9bc64b); }
.testimony { background: linear-gradient(135deg,#9b401c,#e9a139); }
.church { background: linear-gradient(135deg,#563c22,#9c703b); }
.special { background: linear-gradient(135deg,#30271d,#aa772b); }
.worship { background: linear-gradient(135deg,#261b38,#8b3db4); }

.program-info h3 {
    margin: 0 0 3px;
    font-size: 15px;
}

.program-info p {
    margin: 0 0 4px;
    font-size: 12px;
    color: #657681;
}

.program-info span {
    font-size: 11px;
    color: #527083;
}

.program-status {
    border-radius: 20px;
    padding: 7px 11px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.program-status.live {
    background: #ed2630;
    color: white;
}

.program-status.next {
    background: #e4f4f5;
    color: #277786;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.onair-card,
.next-card {
    padding: 18px;
}

.card-title {
    font-weight: 800;
    margin-bottom: 12px;
}

.red-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: red;
    margin-right: 7px;
}

.live-label {
    float: right;
    color: red;
    font-size: 11px;
}

.onair-image {
    height: 145px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 800;
}

.onair-card h3 {
    margin: 12px 0 5px;
}

.onair-card p {
    font-size: 13px;
    color: #647680;
    margin: 0 0 10px;
}

.onair-time {
    font-size: 13px;
    margin-bottom: 12px;
}

.watch-button {
    display: block;
    background: #ffd000;
    color: #173e42;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
}

.next-item {
    display: flex;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f3;
}

.next-item strong {
    color: #075b91;
}

.next-item span {
    font-weight: 700;
    font-size: 13px;
}

.next-item small {
    display: block;
    font-weight: normal;
    color: #71808b;
    margin-top: 3px;
}

.full-program {
    width: 100%;
    margin-top: 14px;
    background: white;
    border: 1px solid #2474aa;
    color: #075b91;
    padding: 11px;
    border-radius: 10px;
    font-weight: 700;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin-top: 20px;
}

.info-cards > div {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
}

.info-cards span {
    font-size: 27px;
}

.info-cards h3 {
    margin: 8px 0 5px;
    font-size: 15px;
}

.info-cards p {
    margin: 0;
    color: #667781;
    font-size: 12px;
    line-height: 1.5;
}

.info-cards a {
    display: inline-block;
    margin-top: 10px;
    background: #ffd000;
    color: #173e42;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
}

footer {
    background: #075b91;
    color: white;
    padding: 28px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo strong,
.footer-logo small {
    display: block;
}

.footer-logo strong {
    font-size: 24px;
}

.footer-logo small {
    font-size: 8px;
    letter-spacing: 3px;
}

.footer-verse {
    text-align: center;
    font-style: italic;
}

.footer-verse small {
    display: block;
    margin-top: 5px;
}

.socials {
    margin-top: 10px;
}

@media (max-width: 900px) {

    .programme-header {
        height: auto;
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .programme-header nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        gap: 22px;
    }

    .programme-header nav a {
        padding: 8px 0;
        white-space: nowrap;
    }

    .header-live {
        padding: 10px 14px;
        font-size: 12px;
    }

    .programme-hero {
        min-height: 220px;
        padding: 35px 6%;
    }

    .hero-verse {
        display: none;
    }

    .date-tabs {
        grid-template-columns: repeat(2,1fr);
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 600px) {

    .programme-container {
        width: 96%;
    }

    .programme-hero h1 {
        font-size: 42px;
    }

    .programme-hero p {
        font-size: 17px;
    }

    .date-tabs {
        grid-template-columns: 1fr;
    }

    .program-row {
        grid-template-columns: 55px 75px 1fr;
        gap: 8px;
    }

    .program-thumb {
        height: 54px;
        font-size: 9px;
    }

    .program-info p {
        font-size: 11px;
    }

    .program-status {
        display: none;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
