body {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
}

.expand-on-hover {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-on-hover:hover {
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.main-section {
    background: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) inset, 0 6px 20px 0 rgba(0, 0, 0, 0.19)inset;
}

.main-text {
    max-width: 526px;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 26px;
    font-weight: bold;
    margin-right: 0px;
    padding-left: 50px;
}

video {
    display: block;
    width: 70%;
    height: 190px;
    margin-left: auto;
    padding-top: 50px;
    padding-bottom: 120px;
    padding-right: 50px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.video-bg {
    background-image: url('images/bigarrow.png');
    background-repeat: no-repeat;
    background-size: auto;
    /* Fixed size */
    background-position: 0px center;
    width: 100%;
    height: auto;
    /* Adjust as needed */
}

h2,
.show-subtitle,
#news-shows,
#weekday-lineup,
#weekend-lineup {
    margin: 20px 50px;
}

#news-shows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

#weekday-lineup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    width: 75%;
}

#weekend-lineup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
    width: 45%;
}

.show {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*cursor: pointer;*/
    position: relative;
}

/*
.show:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}*/

.show .image {
    background-color: #ccc;
    height: 120px;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.show .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.show .info {
    padding: 10px;
}

.show .time {
    font-weight: bold;
    font-size: 0.9em;
    color: #555;
}

.show .title {
    margin-top: 4px;
    font-size: 1em;
}

.show-subtitle {
    font-size: 22px;
}

.live-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 2px 6px;
    font-size: 0.75em;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.8);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 14px rgba(255, 0, 0, 1);
        opacity: 0.5;
    }

    100% {
        box-shadow: 0 0 6px rgba(255, 0, 0, 0.8);

    }
}

@media (max-width: 1712px) {
    #weekday-lineup {
        width: 70%;
    }

    #weekend-lineup {
        width: 70%;
    }
}

/* Media Query for screen 1250px or smaller */
@media (max-width: 1250px) {


    .header-video {
        display: block;
    }

    .main-section {
        flex-direction: column;
    }

    .main-text {
        max-width: none;
        padding-right: 50px;
        padding-top: 50px;
    }

    video {
        display: block;
        padding-top: 0px !important;
        padding-left: 50px;
        padding-right: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    .video-bg {
        display: block;
        background: none;
        text-align: center;
    }

    .video-bg video {
        padding-bottom: 50px;
        height: 160px !important;
    }
}

/* Hide fullscreen button on mobile devices */
@media (max-width: 768px) {
    video::-webkit-media-controls-fullscreen-button {
        display: none !important;
    }

    video::-webkit-media-controls-panel {
        display: flex !important;
        opacity: 1 !important;
    }
}

@media (max-width: 660px) {
    video {
        padding: 0 20px 120px 20px;
        margin: 0px auto 20px;
        display: block;
        width: 80%;
    }

    header {
        padding: 0px !important;
    }

    .main-text,
    h2,
    .show-subtitle,
    #news-shows,
    #weekday-lineup,
    #weekend-lineup {
        grid-template-columns: auto auto;
        width: 85%;
        margin: 20px 15px;
    }

    .footer-logo {
        height: 50px !important;
    }

    .footer-section {
        flex-direction: column;
    }

    .logo {
        height: 100px !important;
    }

    .main-text {
        font-size: 16px;
        line-height: 26px;
        padding: 0 20px;
    }

    .video-bg video {
        padding: 0;
        height: 115px !important;
    }

    footer {
        padding-left: 5px !important;

    }
}

@media (max-width: 450px) {
    video {
        background-image: url('images/1170\ KOTV\ AM\ Horizontal\ Logo\ RGB.png');
        background-repeat: no-repeat;
        background-size: contain;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-section {
        width: 100%;
        margin: 10px 0;
    }

    .footer-section:nth-child(3) {
        order: 3;
        /* Puts .footer-about last */
    }

    .footer-section:nth-child(2) {
        order: 1;
        /* Address section */
    }

    .footer-section:nth-child(1) {
        order: 0;
        /* Logo section */
    }
}


header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}

.logo {
    height: 160px;
}



.angled-box {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1070px;
    background: white;
    clip-path: polygon(150px 0, 100% 0, 100% 100%, 150px 100%, 0 50%);

    filter: drop-shadow(0 0 0.75rem rgb(96, 96, 96));
}

footer {
    background-color: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    font-size: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 70px;
}

.footer-section {
    flex: 1 1 30%;
    margin: 10px;
}

.footer-section p {
    margin: 5px 0;
}

.footer-about {
    line-height: 24px;
}

.copyright {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #666;
}