/*
Theme Name: Ліцей Пулюя
Text Domain: lyceum-pulyua
Author: RedStone
Author Uri: http://redstone.media/
Version: 1.0
*/
.h-links a.current-menu-item, .footer-links .current-menu-item a{
    color: var(--clr-primary);
}
.wpcf7-not-valid {
    border-color: var(--clr-red) !important;
}
.wpcf7-not-valid-tip{
    display: block;
    font-size: 0.75rem;
    line-height: 1.5em;
    font-weight: 400;
    color: var(--clr-red);
    margin-top: 0.25rem;
}
.wpcf7-response-output, .screen-reader-response{
    display: none !important;
}
.review-block.loader{
    opacity: 0.5;
    cursor: wait;
}
.more-text + .btn{
    padding-left: 1.75rem;
}
.section[data-layout="blocks-scholarship-levels"] .blog-item-2 .text{
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    overflow: initial;
    text-overflow: initial;
}
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
}
#scrollToTopBtn:before{
    display: none;
}
@media (max-width: 1199px) {
    .h-links{
        margin-top: 0;
    }
    .h-links ul, .h-drop-list{
        align-items: flex-start;
    }
}
@media (max-width: 375px) {
    /*.page-id-21 .section[data-layout="blocks-chronology"] .title.h2{
        font-size: 22px;
    }
    .page-id-28 .section[data-layout="blocks-partner"] .title.h2,
    .page-id-46 .section[data-layout="blocks-partner"] .title.h2 {
        font-size: 19px;
    }*/
}


@media (max-width: 991px) {
    .section[data-layout="blocks-documents"] {
        z-index: 10;
        overflow: visible;
    }
}

.banner-media .video video {
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    transform: none;
    min-height: 42%;
}

.video-controls {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    gap: 10px;
}

.video-controls button {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.educ-accordion .accordion-inner .hover-photo {
    right: 0;
}

.video-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}
@media (max-width: 443px) {
    .video-controls {
        position: absolute;
        bottom: 79px;
    }
    .banner-media .video video {
        min-height: 45%;
    }

    .educ-accordion .accordion-inner {
        margin-left: 0;
    }




    .educ-accordion tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .educ-accordion tr td:nth-child(1) {
        width: 5%;
    }

    .educ-accordion tr td:nth-child(2) {
        width: 35%;
    }

    .educ-accordion tr td:nth-child(3) {
        width: 60%;
    }

    .educ-accordion .accordion-inner .hover-photo {
        flex-basis: 60%;
        text-align: center;
    }

    .educ-accordion .hover-photo picture img {
        max-width: 100%;
        height: auto;
    }
    .educ-accordion .text td {
        height: auto;
        margin-top: 0;
    }
    .educ-accordion .text tbody tr .hover-photo {
        position: relative;
        display: none;
    }
    .educ-accordion .text tbody tr.is-active .hover-photo {
        position: relative;
        visibility: visible;
        opacity: 1;
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

.h-lang {
    margin-right: 4rem;
}

.h-lang a,
.h-lang span {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    padding: .75rem;
    border-radius: 1rem;
    color: var(--clr-black);
}

.h-lang span {
    background-color: var(--bg-2);
}

@media (min-width: 1200px) {
    .h-lang a:hover {
        color: var(--clr-primary);
    }
}

@media (max-width: 767px) {
    .teachers-table .name {
        display: none;
    }
    .teachers-table .num {
        order: 1;
    }
    .teachers-table .desc {
        order: 3;
    }
    .teachers-table tbody tr {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 1rem;
    }
    .educ-accordion .text .teachers-table tbody tr .hover-photo {
        flex-basis: 40%;
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        aspect-ratio: 1/1;
        order: 2;
        width: auto;
        pointer-events: none;
    }
    .educ-accordion .text .teachers-table tbody tr:not(:last-child) {
        padding-bottom: calc(var(--text-space)*2);
    }
    .educ-accordion .teachers-table .hover-photo picture img {
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
    }
}

.single-post .banner-sec .blog-labels-2 {
    justify-content: center;
    padding-top: var(--sp-xs);
    margin-bottom: .5rem;
}

.breadcrumbs {
    padding-bottom: .3125rem;
}