/* Баннер */

.wp-slider-main .wp-swiper__slide .wp-swiper__slide-content {
	max-height: 750px !important;
}

.slide-block {
	max-height: 750px !important;
}

.wp-block-details summary,
.wp-block-details > summary,
details summary,
.wp-block-details-summary {
    list-style: none !important;
    list-style-type: none !important;
}

.wp-block-details summary::-webkit-details-marker,
details summary::-webkit-details-marker,
.wp-block-details-summary::-webkit-details-marker {
    display: none !important;
}

.wp-block-details summary::marker,
details summary::marker,
.wp-block-details-summary::marker {
    display: none !important;
    content: none !important;
}

.wp-block-details summary,
.details-teachers summary {
    color: #FEFAF6 !important;
}

.wp-block-details summary {
    text-indent: -9999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    height: 1px !important;
	border-radius: 40px !important;
}

.wp-block-details summary {
    height: auto !important;
    min-height: 80px !important;
    line-height: 1.5 !important;
    padding-top: 0px !important;
	padding-bottom: 24px;
	align-content: flex-end;
}


.details-teachers summary {
	color: #fefaf6 !important;
	font-weight: normal;
    min-height: 120px !important;
    line-height: 1.5 !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #468c5f !important;
	text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
	border-radius: 40px !important;
	padding-bottom: 0px !important;
}


.wp-block-details summary::before {
    left: 16px !important;
}

.details-teachers summary::before {
    right: 16px !important;
}

.wp-block-details summary {
    display: flex;
    align-items: center !important;
    justify-content: flex-start !important;
}


.wp-block-details summary,
.wp-block-details > summary {
    position: relative !important;
    padding-left: 44px !important;
    padding-right: 16px !important;
    cursor: pointer !important;
}

.wp-block-details summary::before,
.wp-block-details > summary::before {
    content: "" ;
    position: absolute;
    left: 72px !important;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    background-image: url('/wp-content/uploads/2026/03/btn-arrow-open.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    transition: transform 0.25s ease;
}


.details-teachers summary::before {
    display: none !important;
    content: none !important;
}

.details-teachers summary::after,
.details-teachers > summary::after {
    content: "";
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    width: 72px;
    height: 72px;
    background-image: url('/wp-content/uploads/2026/03/btn-arrow-open.png') !important;
    background-size: contain;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}


.wp-block-details[open] summary::before,
.wp-block-details[open] > summary::before {
    transform: translateY(-50%) rotate(180deg) !important;
}

.details-teachers[open] summary::after,
.details-teachers[open] > summary::after {
    transform: translateY(-50%) rotate(180deg) !important;
}


.wp-block-details summary:hover::before {
    transform: translateY(-50%) scale(1.1) !important;
    opacity: 0.9 !important;
}

.details-teachers summary:hover::after {
    transform: translateY(-50%) scale(1.1) !important;
    opacity: 0.9 !important;
}


.wp-block-details summary:focus:not(:focus-visible),
.wp-block-details summary:active {
    outline: none !important;
    box-shadow: none !important;
}

.wp-block-details summary:focus-visible {
    outline: 2px solid #0C2621 !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

.position-relative {
    position: relative;
    overflow: visible;
}

.heading-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    z-index: 2;
}

.heading-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    z-index: 2;
}

.heading-top-right h2,
.heading-bottom-left h2 {
    margin: 0;
}


/** Всплывающее окно **/

/* Container */

.wpcf7 {
	font-size: 18px;
	padding: 0;
	border-radius: 5px;
	text-align: center;
}


/* Input Fields text */

.wpcf7-text {
	font-family: Century Gothic;
	font-size: 18px;
	color: #0C2621;
	width: 100%;
	padding-left: 32px;
	padding-right: 32px;
	height: 70px;
	border: 0;
	border-radius: 40px;
	box-sizing: border-box;
}


/* Contact Form misc */

.wpcf7-text {
	box-sizing: border-box;
}

.wpcf7-list-item {
	color: #0C2621;
	font-family: Century Gothic;
	font-size: 1em;
	margin: 30px 0;
	text-align: left;
}

.contact-form-misc .wpcf7-list-item {
	color: #FEFAF6;
}

.acceptance, .acceptance-padding {
	width: 28px;
	height: 28px;
	background-color: #468c5f;
}

.acceptance > a {
	text-decoration: underline !important;
}

.wpcf7-list-item-label > a {
	text-decoration: underline !important;
}

.wpcf7-list-item {
    display: grid !important;
    grid-template-columns: 28px 1fr !important;
    gap: 18px !important;
    align-items: flex-start !important;
}

.wpcf7-list-item label {
	display: contents;
}

.wpcf7-list-item-label {
    margin: 0 !important;
    line-height: 1.5 !important;
    font-size: 1em;
	font-weight: 100;
}

.wpcf7 input[type="checkbox"] {
    background-color: rgba(255, 0, 0, 0.0);
    border: 2px solid #0C2621;
}

.wpcf7 input[type="checkbox"]:checked {
	accent-color: white;
    background-color: rgba(255, 0, 0, 0.0);
}


/* The Submit button */

.wpcf7-submit {
	margin: 30px 0;
	font-family: Century Gothic;
	font-size: 18px;
	background-color: #d85203;
	color: #fefaf6;
	padding: 0 72px !important;
	height: 72px;
	border: 0;
	border-radius: 40px;
	cursor: pointer;
}


/* The Submit button hover */

.wpcf7-submit:hover {
	background-color: #555;
}


/* Spinner (статус отправки) */
.wpcf7-spinner {
	width: 0;
	height: 0;
	margin: 0;
}

.contact-form-misc form .wpcf7-response-output {
	border: none;
}


/* Блок с флагом и кодом оператора */

.intl-tel-input .selected-flag .iti-arrow {
	right: 0;
}

.intl-tel-input.separate-dial-code .selected-flag {
	background-color: rgba(0,0,0,.00);
}

.intl-tel-input .flag-container {
	padding-top: 1px !important;
	padding-bottom: 1px !important;
	padding-left: 24px !important;
}

.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input,
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=tel],
.intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=text] {
	padding-left: 100px;
}

.wpcf7-list-item {
	line-height: 1.8 !important;
}

.pum-container {
	max-width: 758px;
}