﻿/*
Theme Name: OrenPro - lyceum
Author: OrenPro
Author URI: https://orenpro.ru/
Version: 1.1
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.more-box .nav-links {
    margin-bottom: 5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.more-box .nav-links a, .more-box .nav-links span {
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #edeef2;
    background-color: #f8f9f9;
    display: block;
    cursor: pointer;
    padding: 0 10px;
    line-height: 36px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    font-size: 14px;
    color: var(--clr-base);
    text-align: center;
    margin: 0 12px 0 0;
}

.more-box .nav-links span.current, .more-box .nav-links a:hover {
    color: #fff;
    background-color: #73a2c4;
    border-color: #73a2c4;
}

.wpcf7-list-item-label:before, .wpcf7-list-item-label:after {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
    border: 1px solid #e2e4e7;
}

.wpcf7-list-item-label:after {
    border: none;
    background: url(./img/icons/checkbox.png) 50% no-repeat;
    background-size: 100% auto;
    opacity: 0;
}

.frm-select input:checked~.wpcf7-list-item-label:after {
    opacity: 1;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.wp-block-columns.items-wrap {
    text-align: center;
}

.wp-block-columns.items-wrap .item-wrap {
    display: block;
    position: relative;
    min-height: 100%;
    color: var(--clr-title);
    padding: 3.2rem 3rem 5.5rem;
    border-radius: 2rem;
    text-align: center;
    -webkit-box-shadow: 0 26px 46px 0 rgb(54 58 69 / 3%);
    box-shadow: 0 26px 46px 0 rgb(54 58 69 / 3%);
}

.wp-block-columns.items-wrap .item-wrap:before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    top: 1rem;
    bottom: 10px;
    bottom: 1rem;
    left: 10px;
    left: 1rem;
    right: 10px;
    right: 1rem;
    border-radius: 2rem;
    border: 1px solid var(--clr-border);
}

.wp-block-columns.items-wrap .item-wrap:hover {
    color: var(--clr-title);
    -webkit-box-shadow: 0 26px 46px 0 rgb(54 58 69 / 10%);
    box-shadow: 0 26px 46px 0 rgb(54 58 69 / 10%);
}

.wp-block-columns.items-wrap figure {
    width: 84px;
    width: 8.4rem;
    height: 84px;
    height: 8.4rem;
    border-radius: 50%;
    margin: 0 auto 3rem;
    background-image: linear-gradient(45deg,#64849b,#91bee0);
}

.wp-block-columns.items-wrap {
    font-size: 1.125em;
    line-height: 1.27777778;
    font-weight: 500;
}

@media (min-width: 1024px) and (max-width:1399px) {
    .wp-block-columns.items-wrap {
        flex-wrap: wrap!important;
    }

    .wp-block-columns.items-wrap .item-wrap {
        width: 50%;
        flex-basis: max-content;
    }
}


/* Номер + иконка глаза в одну строку (горизонтально) для слабовидящих */
.contacts-wrap .phone-wrap {
    display: flex;
    align-items: center;          
    gap: 12px;                    
    flex-wrap: nowrap;            
}

.phone-wrap .link-phone {
    display: inline-block;
    white-space: nowrap;
    line-height: 34px;            
}

.phone-wrap .bvi-shortcode,
.phone-wrap .bvi-open,
.phone-wrap .bvi-svg-eye {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.phone-wrap .bvi-svg-eye path {
    fill: #73a2c4 !important;
}

.phone-wrap .bvi-open:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.phone-wrap .bvi-shortcode a::after {
    content: none !important;
}

.contacts-wrap {
    display: flex;
    flex-direction: column;          
    align-items: flex-start;         
    gap: 8px;                        
}

.phone-wrap {
    display: flex;
    align-items: center;
    gap: 15px;                       
}

.social-icons {
    display: flex;
    gap: 15px;                       
    margin-top: 2px;                 
}

.social-link img {
    width: 36px;                     
    height: 36px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.social-link:hover img {
    transform: scale(1.15);          
}
