/* ------------------------- */
/* ------------------------- */
/* -------1REM = 10px------- */
/* ------------------------- */
/* ------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,600;1,600&display=swap&family=Open+Sans:wght@400;600;700&display=swap');

@import url('reset.css');
@import url('header.css');
@import url('footer.css');
@import url('login.css');
@import url('category.css');
@import url('single.css');
@import url('multi-servis.css');

/* font-family: 'Bitter', serif;
font-family: 'Open Sans', sans-serif; */


.bn1 { border: none; height: 16%; }



/* HEADER-NEWS */


#header-news{
    margin-top: 1rem;
}

#header-news .container-fluid{
    display: flex;
    gap: 2rem;
}

#header-news .main-news{
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    /* gap: 1rem; */
    height: min-content;
}

#header-news .main-news-left,
#header-news .main-news-right{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas:
    "a a b c"
    "a a f f"
    "d e f f";
    gap: 1rem;
    /* max-height: 68rem; */
}
#header-news .news:nth-child(5){
    grid-area: e;
}
#header-news .news:nth-child(6){
    grid-area: f;
}
video{
    background: white;
    height: 100%;
}

.main-news video{
    width: 100%;
    display: block;
    /* margin-bottom: 3rem;
    margin-top: 3rem; */
}
#header-news .news{
    position: relative;
    border-radius: .8rem;
    /* aspect-ratio: var(--aspect); */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
img.bnr2 {
    height: 148px;
    padding-bottom: 6px;
    padding-top: 6px;
}
.rcent{ text-align: center; }
/* #header-news .news::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 1;
    transition: height .3s ease-out;
    opacity: 1;
}

#header-news .news:hover::after{
    height: 35%;
} */
#header-news .news:first-child{
    grid-area: a;
}

#header-news .news:nth-child(2){
    grid-area: b;
    aspect-ratio: auto;
}

#header-news .news:nth-child(3){
    grid-area: c;
    aspect-ratio: auto;
}

#header-news .news:nth-child(4){
    grid-area: d;
    aspect-ratio: auto;
}


#header-news .news .txt{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.45);
    padding: 0.7rem 1.7rem 0.2rem;
}

#header-news .news h4{
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

#header-news .news .desc{
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* #header-news .main-news-left .news:nth-child(2) h4,
#header-news .main-news-left .news:last-child h4,
#header-news .main-news-right .news:first-child h4,
#header-news .main-news-right .news:nth-child(2) h4{
    font-size: 1.5rem;
} */

#header-news .main-news-left .news:last-child h4,
#header-news .main-news-left .news:nth-child(1) h4{
    font-size: 2rem;
}

#header-news .news img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
    /* transition: all .4s cubic-bezier(.29,.52,.33,.72); */
}

/* #header-news .news:hover img{
    height: 106%;
    width: 106%;
} */

#header-news .banners{
    width: min-content;
}

.banners-2.mobile{
    display: none!important;
}
.banners.mobile{
    display: none!important;
}
#header-news .banners > *{
    width: 300px;
/*    aspect-ratio: 6 / 6;*/
    margin-bottom: 2.4rem;
}
.ifrmbaner {
    height: 300px;
    border: none;
}
.acc-content-main-container{
    display: flex;
    gap: 4rem;
}
#header-news .banners .your-banner{
    display: grid;
    align-items: flex-end;
    justify-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-style: italic;
    font-family: 'Bitter', serif;
    font-size: 2rem;
    background: linear-gradient(25deg, #C0E0FC 0%, #EEF7FF 100%);
}
.your-banner > p{
    color: #190E4F;
}
.banners .your-banner > img{
    margin-bottom: 1rem;
}
.your-banner > img{
    max-width: 8rem;
}
.banners-2 .your-banner{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    padding: 1rem;
    font-weight: 600;
    font-style: italic;
    font-family: 'Bitter', serif;
    font-size: 2rem;
    background: linear-gradient(25deg, #C0E0FC 0%, #EEF7FF 100%);
}
.banners-2 .your-banner > *{
    margin-left: auto;
}

iframe.ifrm_baner { height: 30rem; }

.your-banner > *{opacity: 0;}

/* .your-banner > p{transition: opacity 1s ease;} */

/* .your-banner > img{transition: opacity 5s ease 1s;} */

/* .your-banner.active > *{
    opacity: 1;
} */

#header-news .container{
    margin-top: 6rem;
}

#header-news .banners-2{
    display: grid;
    place-items: center;
    margin-top: 5rem;
}

#header-news .banners-2 > *{
    width: 100%;
    max-width: 73rem;
    aspect-ratio: 73 / 9;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.6rem;
}



@media screen and (max-width:1450px) {
    #header-news .container-fluid{
        flex-direction: column;
        gap: 6rem;
    }

    #header-news .main-news-left,
    #header-news .main-news-right{
        max-height: 63rem;
    }

    #header-news .banners{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        justify-items: center;
        align-items: center;
        width: 100%;
    }

    #header-news .banners > *{
        max-width: 100%;
        width: 30rem;
    }
}

@media screen and (max-width:960px) {
    #header-news .banners > *{
        width: 100%;
    }
}

@media screen and (max-width:768px) {
    #header-news{
        margin-top: 2rem;
    }

    #header-news .main-news-left,
    #header-news .main-news-right{
        max-height: none;
    }

    #header-news .banners{
        gap: 1rem;
    }

    #header-news .main-news{
        grid-template-columns: 1fr;
    }

    #header-news .main-news-left{
        grid-template-rows: 1fr;
        grid-template-areas:
        "a"
        "b"
        "c"
        "d"
        "e"
        "f";
        gap: 1rem;
    }

    #header-news .main-news-left .news:first-child h4,
    #header-news .main-news-left .news:last-child h4{
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 600px) {
    #header-news .container-fluid{
        gap: 0;
    }

    .acc-content-main-container{
        flex-direction: column;
    }

    /* #header-news .banners-2 > *{
        aspect-ratio: 36 / 9;
    } */

    #header-news .container{
        margin-top: 4rem;
    }

    #header-news .main-news-left, #header-news .main-news-right,
    #header-news .main-news{
        gap: .7rem;
    }

    #header-news .news h4{
        text-shadow: 2px 2px 2px rgba(0, 0, 0, .4);
    }
    #header-news .main-news-left .news:nth-child(2) h4, #header-news .main-news-left .news:last-child h4, #header-news .main-news-right .news:first-child h4, #header-news .main-news-right .news:nth-child(2) h4{
        text-shadow: 2px 2px 2px rgba(0, 0, 0, .6);
    }
}


/* HEADER-NEWS */





/* OTHER NEWS */



#other-news{
    margin-top: 6rem;
}

#other-news .btn-secondary{
    display: block;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
}

#other-news .container-fluid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13rem;
}

#other-news .news-content{
    display: flex;
    flex-direction: column;
}

#other-news .news{
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

#other-news .news a.news-img{
    display: block;
    aspect-ratio: var(--aspect);
    border-radius: .6rem;
    overflow: hidden;
}

#other-news .news a img{
    object-fit: cover;
    height: 100%;
}

#other-news .news .category{
    font-weight: 600;
    color: var(--txt-color);
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}

#other-news .news .title a{
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#other-news .news .desc{
    color: var(--txt-color);
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 1.2rem;
}

#other-news .news .time{
    font-weight: 600;
    color: var(--txt-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: auto;
}


@media only screen and (max-width: 1400px) {
    #other-news .container-fluid{
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 700px) {
    #other-news .news{
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    #other-news .container-fluid{
        gap: 7rem;
    }

    #other-news .news .time{
        margin-top: 2rem;
    }
}




/* OTHER NEWS */





/* VIDEOS */



#videos{
    margin-top: 5rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
    background: #EEF7FF;
}
#srna_video {
    margin-top: 5rem;
    padding-top: 7rem;
    padding-bottom: 7rem;
    background: #EEF7FF;
}
.video-container {
    display: flex;
    justify-content: center;
}

#videos h2{
    margin-bottom: 2rem;
}

#videos .btn-secondary{
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    display: block;
    width: max-content;
}

#videos .video-container{
    display: grid;
    /* gap: 5rem 11.5rem; */
    grid-template-areas:
    "a a a b"
    "a a a c"
    "a a a d";
    gap: 2.1rem 4rem;
}

#videos .video-container .video:first-child{
    grid-area: a;
}

#videos .video-container .video:nth-child(2){
    grid-area: b;
}

#videos .video-container .video:nth-child(3){
    grid-area: c;
}

#videos .video-container .video:last-child{
    grid-area: d;
}

#videos .video{
    position: relative;
    border-radius: .8rem;
    /* aspect-ratio: var(--aspect); */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#videos .video video{
    height: 100%;
    width: 100%;
}

#videos .video::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 1;
    opacity: 1;
    transition: height .3s ease-out;
}

#videos .video:hover::after{
    height: 35%;
}

#videos .video h4{
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    bottom: 1rem;
    left: 1.2rem;
    max-width: 94%;
    word-break: break-word;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#videos .video:first-of-type h4{
    font-size: 2.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#videos .video .time{
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: .8rem;
    left: 1.2rem;
    width: 100%;
    max-width: 93%;
    z-index: 2;
}

#videos .video:first-of-type .time{
    top: auto;
    bottom: 4.5rem;
    left: 1.2rem;
    width: 100%;
    max-width: 14rem;
}

#videos .video .time p{
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

#videos .video img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#videos .phono-photo-container{
    margin-top:10rem;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}
.phono-photo-container .phono{
    display: flex;
    gap: 2rem;
}
.phono-photo-container .photo{
    display: flex;
    gap: 2rem;
}
#videos .phono-photo-container > *{
   
    padding: 0 0 5rem;
    border-radius: 1rem;
}

#videos .phono-photo-container header{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12rem;
    height: 10rem;
    background-color: #fff;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
    border-radius: 0.6rem;
}
#videos .phono-photo-container header img{
    width: 4rem;
    display: block;
}
#videos .phono-photo-container .news{
    display: flex;
    gap: 2rem;
}

#videos .phono-photo-container .news .news-content{
    display: flex;
    flex-direction: column;
}

#videos .phono-photo-container .news a.news-img{
    aspect-ratio: var(--aspect);
    border-radius: .6rem;
    overflow: hidden;
}

#videos .phono-photo-container .news a img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: 26rem;
}

#videos .phono-photo-container .news .date{
    font-weight: 600;
    color: var(--txt-color);
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}

#videos .phono-photo-container .news .title a{
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 20rem;
}

#videos .phono-photo-container .news .time{
    font-weight: 600;
    color: var(--txt-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: auto;
}




@media only screen and (max-width: 1024px) {
    #videos .video-container{
        gap: 1rem 1.9rem;
    }

    #videos .phono-photo-container{
        flex-direction: column;
    }
}

@media only screen and (max-width: 700px) {
    .phono-photo-container .phono{
        flex-direction: column;
    }
    .phono-photo-container .photo{
        flex-direction: column;
    }
    #videos .phono-photo-container .news {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    #videos .phono-photo-container > *{
        padding: 0 2rem 2rem;
    }

    #videos .phono-photo-container header{
        padding: 4rem 0 3rem;
        gap: 1.5rem;
    }

    #videos .phono-photo-container .news .time{
        margin-top: 2rem;
    }
    #videos .phono-photo-container{
        margin-top: 5rem;
    }

    #videos .video:first-of-type .time{
        top: 0.8rem;
        left: 1.2rem;
        width: 100%;
        max-width: 93%;
    }
    #videos .video:first-of-type h4{
        font-size: 1.5rem;
        bottom: 1rem;
        left: 1.2rem;
        max-width: 94%;
        word-break: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #videos .video-container{
        grid-template-areas: none;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    #videos .video-container .video:first-child{
        grid-area: auto;
    }
    #videos .video-container .video:nth-child(2){
        grid-area: auto;
    }
    #videos .video-container .video:nth-child(3){
        grid-area: auto;
    }
    #videos .video-container .video:last-child{
        grid-area: auto;
    }
}






/* VIDEOS */














/* SERIALS */


#serials{
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#serials .banners-2{
    display: grid;
    place-items: center;
}

#serials .banners-2 > *{
    width: 100%;
    max-width: 73rem;
    aspect-ratio: 73 / 9;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.6rem;
}

#serials h2{
    margin: 6rem 0 2.5rem;
}

#serials .cards{
    display: flex;
    justify-content: space-between;
    gap: 15rem;
}

#serials .card{
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: .8rem;
    position: relative;
}

#serials .card::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 1;
    opacity: 0;
    transition: opacity .3s ease-out;
}

#serials .card:hover::after{
    opacity: 1;
}

#serials .card img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .4s cubic-bezier(.29,.52,.33,.72);
}

#serials .card:hover img{
    height: 106%;
    width: 106%;
}

#serials .card h4{
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    bottom: 1.4rem;
    left: 1.2rem;
    max-width: 94%;
    word-break: break-word;
    z-index: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#serials .btn-holder{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
}



@media only screen and (max-width: 1100px) {
    #serials .cards {
        gap: 1rem;
    }
}

@media only screen and (max-width: 700px) {
    #serials .cards {
        flex-direction: column;
        gap: 3rem;
    }
}


/* SERIALS */













/* CATEGORIES */





#categories .headline{
    background: #EEF7FF;
    padding: 2rem 0;
}

#categories .category-news{
    padding: 3rem 0 4rem;
}

#categories .news-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

#categories .news-container .news{
    display: flex;
    flex-direction: column;
}

#categories a.news-img{
    aspect-ratio: var(--aspect);
    border-radius: .6rem;
    overflow: hidden;
}

#categories .news-img img{
    object-fit: cover;
    object-position: top;
    height: 100%;
    width: 100%;
}

#categories .category-news .news-other-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#categories .category-news .time{
    font-weight: 600;
    color: var(--txt-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1.5rem;
}

#categories .btn-holder{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

#categories .btn-holder a{
    display: none;
}

#categories .news-content .title a{
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#categories .news-content .desc{
    color: var(--txt-color);
    font-size: 1.5rem;
    margin-top: 1.2rem;
}


@media only screen and (max-width: 1200px) {
    #categories .category-news .news-other-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #categories .category-news .time{
        order: 2;
        margin-top: 1rem;
    }

    #categories .news-container{
        gap: 1rem;
    }

}

@media only screen and (max-width: 700px) {
    #categories .news-container{
        grid-template-columns: 1fr;
    }
}






/* CATEGORIES */









/* ACCORDIONS */



#accordions{
    padding-top: 4rem;
    margin-top: .5rem;
    padding-bottom: 5rem;
}
#last-add{
    padding-top: 4rem;
    margin-top: .5rem;
    padding-bottom: 5rem;
    border-top: 0.1rem solid #D7D7D7;
}
#accordions h2{
    margin-bottom: 2rem;
}

#last-add .banners-2{
    display: grid;
    place-items: center;
}

#last-add .banners-2 > *{
    width: 100%;
    max-width: 73rem;
    aspect-ratio: 73 / 9;
    margin-left: auto;
    margin-right: auto;
}

#accordions .acc-content{
    margin-top: 5rem;
    flex: 1;
}

#accordions .accordion {
    background-color: #EEF7FF;
    color: var(--secondary-color);
    font-weight: 700;
    padding: 1.8rem;
    padding-right: 3rem;
    width: 100%;
    border-radius: 0.6rem;
    text-align: left;
    font-size: 1.5rem;
    transition: background-color .4s ease;
    margin-bottom: 1rem;
    /* position: relative; */
    height: 100%;
}

#accordions .acc-content .acc-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* #accordions .accordion.active, */
#accordions .accordion:hover {
    background-color: #d8e2eb;
}

/* #accordions .accordion:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2rem;
    background: url(../../assets/arrow.svg);
    background-size: cover;
    height: 13px;
    width: 8px;
    transform: translateY(-50%);
    transition: transform .3s ease;
} */

#accordions .active:after {
    transform: translateY(-50%) rotate(90deg);
}

#accordions .panel {
    margin: .5rem 2rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
}

#accordions .panel p {
    font-size: 1.5rem;
    color: var(--txt-color);
}

@media only screen and (max-width: 600px) {
    #accordions{
        padding-top: 0;
        padding-bottom: 0;
    }

    .acc-content-main-container{
        gap: 0;
    }

    #accordions .accordion{
        font-size: 1.1rem;
        line-height: 1.52;
    }

    #accordions .panel p{
        font-size: 1.2rem;
    }
    .banners-2.desktop{
        display: none!important;
    }
    .banners.desktop{
        display: none!important;
    }
    .banners-2.mobile{
        display: grid!important;
        margin-top: 0;
    }
    .banners.mobile{
        display: grid!important;
        margin-top: 3rem;
    }
    #header-news .banners .your-banner{
        text-align: center;
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* ACCORDIONS */