/* --------- live - start --------------*/
#live-content{
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    justify-content: center; 
    gap: 24px;
}
.live-card {
    background-image: url('/assets/img/live-bg.svg');
    background-repeat: no-repeat;
    height: 288px;
    width: 416px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}
.live-card:hover {
    transform: scale(1.05) translateY(-5px);
}
.live-button{
    border-radius: 6px;
    background: rgba(28, 28, 28, 0.40);
    backdrop-filter: blur(3px);
    display: inline-flex;
    padding: 5px 8px 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 24px 16px;

    color: var(--White, #FFF);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}
.live-button span{
    border-radius: 100px;
    background: var(--Primary-Red, #B01116);
    width: 6px;
    height: 6px;
    animation: blink 1.5s infinite; 
}

.live-info{
    margin-top: 70px;
    margin-left: 16px;
}
.live-card h1{
    color: var(--White, #FFF);
    font-size: 28px;
    font-weight: 600;
    line-height: 24px; 
    text-transform: uppercase;
}
.live-card h2{
    color: rgba(255, 255, 255, 0.70);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.18px;
    padding-top: 6px;
    padding-bottom: 16px;
}
.live-card h3{
    color: var(--White, #FFF);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px; 
    width: 280px;
}
#news-section{
    padding-bottom: 20px !important;
}

.overlay_live {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    transition: .3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.overlay_live.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 480px) {
    #live-content {
        gap: 16px;
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
    #news-section{
        height: auto;
        padding-bottom: 250px;
        padding-top: 100px;
    }
    .news-all{
        overflow-x: hidden !important;
    overflow: visible !important;
    }
    
    .live-card {
        height: 288px;
        width: 100%;
    }
    .live-card:hover {
        transform: none;
        animation: none;
    }
    .live-button {
        margin: 16px;
        padding: 4px 6px;
    }
    .live-card h1 {
        font-size: 22px;
    }
    .live-card h2 {
        font-size: 16px;
    }
    .live-card h3 {
        font-size: 18px;
        width: auto;
    }
    .live-info {
        margin-top: 90px;
    }
    .live-card h2 {
        padding-top: 4px;
        padding-bottom: 8px;
    }

}


.modal {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 90vh;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    background: #F3F4F5;
    z-index: 1000;
    padding: 30px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
    transform: translateX(-50%) translateY(500px);
}
.modal.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}
/* .modal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
} */
.modal-content {
    position: relative;
    z-index: 10;
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 40px;
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.live-modal{
    display: flex;
    justify-content: space-between;
}
.modal-content h1{
    color: var(--Text, #1C1C1C);
    font-size: 38px;
    font-style: normal;
    font-weight: 600;
    line-height: 42px; 
    margin-top: 30px;
}
.modal-context{
    width: 450px;
}
.modal-context p{
    color: var(--Text, #1C1C1C);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    padding-top: 30px;
}
#live-video{
    width: 803px;
    height: 450px;
    margin-top: 5px;
    margin-bottom: 20px;
}
#live-video-mobile{
    display: none;
    width: 803px;
    height: 600px;
}
.live-btn{
    margin-top: 32px;
    cursor: pointer;
}
.live-btn h5{
    margin-left: 28px;
}
.live-btn:hover img {
    transform: translateX(340%);
}
.live-btn:hover h5 {
    transform: translateX(-30%);
}
.live-btn:hover .original-icon {
    transform: translateX(340%);
    opacity: 0;
}
.live-btn:hover .hover-icon {
    transform: translateX(340%);
    opacity: 1;
}
#mobile_close{
    display: none;
}
.live_bottom_content {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
}
.close_live_modal {
    display: none;
}
@media screen and (max-width: 480px) {
    .modal {
        max-height: 570px;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 20px 20px 0 0;
    }
    .close_live_modal {
        padding: 16px;
        font-weight: 500;
        font-size: 18px;
        border-radius: 12px;
        border: 1px solid #F7F7F5;
        color: #B01116;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 52px;
        width: 102px;
    }
    .close{
        position: absolute;
        border-radius: 12px;
        border: 1px solid var(--BG-Light, #F7F7F5);
        display: flex;
        padding: 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        color: var(--Primary-Red, #B01116);
        font-size: 18px;
        font-weight: 500;
        top: 24px;
        right: 24px;
    }
    #pk_close{
        display: none;
    }
    #mobile_close{
        display: block;
        margin-top: -55px;
        margin-left: 240px;
    }
    .modal-content{
        padding-left: 0;
        width: 100%;
    }
    .modal-context p{
        padding-top: unset;
    }
    
    .modal-context {
        width: 100%;
        padding-top: 15px;
        overflow: hidden;
        word-wrap: break-word;
    }
    .live-modal {
        width: 100%;
    }
    .modal-content h1{
        display: none;
    }

    #live-video{
        display: none;
    }

    #live-video-mobile{
        display: flex;
        width: 100%;
        height: 220px;
    }
    #thumbnail{
        width: 100%;
        height: 100%;
    }
}
/* --------- live - end --------------*/