/*
Theme Name: University of Kyiv
Version: 1.1
Text Domain: universityofkyiv
*/
.uok-header { background: #004562; color: white; padding: .6rem 1rem; text-align: center; }
.uok-header a, .uok-header summary { color: white; }
.uok-header a:hover, .uok-header a:focus-visible, .uok-header summary:hover { text-decoration: underline; }
.uok-contact, .uok-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1.5rem; }
.uok-contact { font-size: .88rem; }
.uok-contact nav a + a { margin-left: .6rem; }
.uok-contact .search-field { width: 10rem; }
.uok-contact label, .uok-contact input { margin: 0; }
.uok-logo { display: block; margin: .8rem auto; }
.uok-logo img { width: min(90vw, 640px); height: auto; max-height: 112px; object-fit: contain; }
.uok-nav { padding: .4rem 0; }
.uok-nav details { position: relative; }
.uok-nav summary, .uok-sidebar summary { cursor: pointer; }
.uok-nav details ul { position: absolute; z-index: 1100; min-width: 15rem; text-align: left; background: white; box-shadow: 0 4px 12px #0003; padding: .5rem; }
.uok-nav ul, .uok-sidebar ul { margin: 0; list-style: none; }
.uok-nav details a, .uok-sidebar a { display: block; color: #004562; padding: .3rem .5rem; }
.uok-sidebar details { border-bottom: 1px solid #c8d3da; padding: .65rem; }
.uok-sidebar ul { padding: .25rem; }
.uok-article { min-width: 0; overflow-wrap: anywhere; }
.uok-article img { max-width: 100%; height: auto; }
.uok-article article { margin-bottom: 1.5rem; }
.uok-header .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.about-header h1 { color: white; font-size: clamp(1.4rem, 4vw, 2.45rem); }
.header .carousel-inner { overflow: hidden; }
.home .uok-news-divider { display: none; }
.home .video .slick-arrow.left { left: 0; margin-left: 0; }
.home .video .slick-arrow.right { right: 0; margin-right: 0; }
.header .uok-admissions { position: absolute; z-index: 3; left: 8%; bottom: 15%; padding: .55rem 1rem; background: #004562; color: #fff; }
@media(max-width: 991px) {
    .home .uok-news-divider { display: block; margin: 1rem 0; border-top: 2px solid #004562; }
    body.home .header { top: 0; }
    .header #carouselExampleIndicators .carousel-item { height: clamp(13rem, 55vw, 24rem); }
    .header #carouselExampleIndicators .carousel-item > img.d-block { width: 100%; height: 100%; object-fit: cover; }
    .header #carouselExampleIndicators .shadow-layer { inset: 0; }
    .header #carouselExampleIndicators .carousel-caption { display: none; }
    .header #carouselExampleIndicators .carousel-header-button-new { display: none; }
    body .form-mop { display: block !important; padding: 1rem !important; }
    .form-mop > img { display: none; }
    .form-mop .wpcf7, .form-mop .wpcf7-form { width: 100%; min-width: 0; max-width: 100%; margin: 0 !important; }
    .form-mop .wpcf7-form .row { margin: 0 !important; }
    .form-mop .wpcf7-form .col-lg-3 { padding: 0; }
    .form-mop .wpcf7-spinner { display: block; margin: 0 auto; }
}
@media(max-width: 767px) {
    .uok-contact, .uok-nav { gap: .4rem .8rem; }
    .uok-nav details[open] { flex-basis: 100%; }
    .uok-nav details ul { position: static; margin: .3rem auto; max-width: 30rem; }
    .uok-article img.alignleft, .uok-article .text-rector { float: none; display: block; width: auto !important; max-width: 100%; margin: .5rem 0 !important; }
}
