* {
    margin: 0;
    padding: 0;
}

body {
    background-image: url("media/category_images/fon5 27kb.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачное черное наложение */
    z-index: -1;
    /* Псевдоэлемент находится под содержимым body */
}

.h-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(32, 43, 53, 0);
    height: auto;
    font-size: 1vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-info {
        font-size: 1.7vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-info {
        font-size: 1.7vw;
    }
}

.h-header-info {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    height: 3vw;
    font-size: 1.3vw;
}

.h-header_info1 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(29, 29, 29, 0.206);
    width: 100%;
    height: 2vw;
    font-size: 1.3vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .h-header_info1 {
        height: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .h-header_info1 {
        height: 4vw;
    }
}


/* --------------------------------Banner----------------------------------- */

.banner {
    display: flex;
    flex-direction: row;
    background-color: rgba(255, 0, 132, 0);
    width: 100%;
    height: 26vw;
    align-items: center;
    justify-content: center;
    margin-top: 1%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner {
        height: 30vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .banner {
        height: 30vw;
    }
}

.banner div {
    display: flex;
    width: 100%;
    height: 26vw;
    border-radius: 30px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner div {
        border-radius: 10px;
        height: 29vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .banner div {
        border-radius: 20px;
        height: 29vw;
    }
}

.banner_first:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.banner_second:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}

.clickable-link {
    display: block;
    width: 100%;
    margin: 1%;
}

.img_banner {
    display: flex;
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    object-position: top;
    border: 1.5px solid white;
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_banner {
        border-radius: 10px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_banner {
        border-radius: 20px;
    }
}

.banner_p {
    display: flex;
    position: absolute;
    margin: 10px 0 0;
    text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0);
    font-size: 2vw;
    padding-left: 2vw;
    padding-top: 20.5vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 19.5vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

@media (min-width: 601px) and (max-width: 800px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 19.5vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    .banner_p {
        font-size: 2.5vw;
        padding-top: 21vw;
        width: 44%;
        text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 10px #000000, 3px 0px 5px rgb(0, 0, 0), 1px 3px 5px rgb(0, 0, 0);
    }
}

.banner_info {
    display: flex;
    position: absolute;
    margin: 10px 0 0;
    font-size: 1.7vw;
    padding-left: 2vw;
    /* padding-top: 18vw; */
    width: 44vw;
    color: black;
    text-align: center;
}

@media (min-width: 100px) and (max-width: 900px) {
    .banner_info {
        font-size: 1.8vw;
        margin: 0;
        padding-top: 1vw;
    }
}


/* ----------------------------------------------End Banner--------------------------------------------- */


/* Body */


/* -------Body Left block-------- */

.body {
    display: flex;
    margin-top: 1%;
    flex-direction: row;
    justify-content: center;
    background-color: rgba(29, 29, 29, 0);
    width: 100%;
    height: auto;
}

.body_div_first {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    width: 82%;
    margin-right: 1%;
    margin-bottom: 2%;
    border-radius: 30px;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_first {
        border-radius: 15px;
        width: 100%;
        margin-left: 1%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_first {
        width: 100%;
        margin-left: 1%;
    }
}

.body_div_first_img {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.body_first_div_h1 {
    display: flex;
}

.clickable_link_body_first {
    width: 19%;
}

.category_item_body_first {
    width: 100%;
    height: 200px;
    overflow: hidden;
    /* Скрываем части изображения, выходящие за границы контейнера */
    position: relative;
    /* Для позиционирования внутри */
}

.img_body_first1 {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 35vw;
    object-fit: cover;
    margin: 1%;
    margin-left: 2%;
    align-items: center;
}

@media (min-width: 100px) and (max-width: 900px) {
    .img_body_first1 {
        margin-bottom: 7%;
        width: 42%;
        height: 35vw;
        margin-left: 2%;
    }
}

.img_body_first {
    display: flex;
    width: 100%;
    height: 35vw;
    object-fit: cover;
    object-fit: contain;
    margin: 1%;
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    border-radius: 20px;
}

.ad-info {
    display: flex;
    flex-direction: column;
    width: 48%;
    padding-top: 2%;
    margin-right: 2%;
    margin-left: 1%;
}

@media (min-width: 100px) and (max-width: 900px) {
    .ad-info {
        width: 51%;
    }
}

.name_p {
    display: flex;
    font-size: 1.2vw;
    color: black;
    line-height: 1em;
    justify-content: space-between;
    margin-bottom: 1vw;
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_p {
        font-size: 2.7vw;
        margin-bottom: 3vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_p {
        font-size: 2vw;
        margin-bottom: 3vw;
    }
}

.name_p_desc {
    display: flex;
    font-size: 1.2vw;
    color: black;
    line-height: 1em;
    justify-content: space-between;
    margin-bottom: 1vw;
    align-items: center;
    text-align: justify;
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_p_desc {
        font-size: 2.5vw;
        margin-bottom: 3vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_p_desc {
        font-size: 2.5vw;
        margin-bottom: 3vw;
    }
}

.name_p_desc strong {
    margin-right: 7vw;
}

.name_price {
    display: flex;
    font-size: 2.2vw;
    color: black;
    /* height: 1vw; */
    line-height: 1em;
    justify-content: space-evenly;
    margin-bottom: 1vw;
}

.name_a {
    display: flex;
    color: rgb(255 255 255);
    line-height: 1.4em;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1.5%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    margin-left: 1em;
    margin-right: 1em;
    width: 15vw;
    justify-content: center;
}

.name_a:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 40px 0 rgba(11, 99, 246, 1);
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_a {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_a {
        font-size: 2.4vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 0.5em;
        padding-right: 0.5em;
        margin-right: 0em;
        width: auto;
    }
}

.name_a_desc {
    display: flex;
    width: 5vw;
    justify-content: center;
    color: rgb(255 255 255);
    line-height: 1.4em;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
}

.name_a_desc:hover {
    transform: translate(0, -3px);
    box-shadow: 0 20px 40px 0 rgba(11, 99, 246, 1);
}

@media (min-width: 100px) and (max-width: 600px) {
    .name_a_desc {
        font-size: 2.6vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 1em;
        padding-right: 1em;
        margin-right: 0em;
        width: 10vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .name_a_desc {
        font-size: 2.4vw;
        height: auto;
        flex-wrap: nowrap;
        padding-left: 1em;
        padding-right: 1em;
        margin-right: 0em;
        width: 10vw;
    }
}

.form_button {
    display: flex;
    font-size: 1.2vw;
    color: rgb(255 255 255);
    height: 2vw;
    line-height: 1em;
    justify-content: space-between;
    text-decoration: none;
    background-color: rgb(11 99 246);
    border-radius: 10px;
    padding-top: 1%;
    padding-left: 5%;
    padding-right: 5%;
    box-shadow: 0 5px 15px 0 rgba(11, 99, 246, 1);
    transition: 0.5s;
    border: none;
    z-index: 10;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form_button {
        font-size: 2.2vw;
        height: 4vw;
        padding-top: 2.9%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form_button {
        font-size: 2vw;
        height: 3.6vw;
        padding-top: 2.6%;
    }
}

.form {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 2%;
    z-index: 10;
}

@media (min-width: 100px) and (max-width: 600px) {
    .form {
        margin-top: 10%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .form {
        margin-top: 10%;
    }
}

.div_button {
    display: flex;
    justify-content: center;
}

.desc {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
}

.desc_p {
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
    color: black;
    text-align: justify;
    line-height: 1.8em;
    margin-left: 4vw;
    margin-right: 4vw;
    margin-top: 4vw;
    margin-bottom: 1vw;
    white-space: pre-line;
}

@media (min-width: 100px) and (max-width: 600px) {
    .desc_p {
        font-size: 3.1vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .desc_p {
        font-size: 2.3vw;
    }
}

.h2_com {
    color: black;
    margin-left: 4vw;
    align-self: center;
    margin-bottom: 2vw;
    margin-top: 2vw;
}

.desc_com {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
}

.desc_p_com_sh {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    border-radius: 20px;
    align-self: center;
    margin-bottom: 3vw;
}

.desc_p_com {
    display: flex;
    flex-direction: column;
    font-size: 1.1em;
    color: black;
    text-align: justify;
    line-height: 1.8em;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
    white-space: pre-line;
}

@media (min-width: 100px) and (max-width: 600px) {
    .desc_p_com {
        font-size: 3.1vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .desc_p_com {
        font-size: 2.3vw;
    }
}

.img_body_first_full2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    /* height: 50%; */
    object-fit: cover;
    /* margin: 3%; */
}

@media (min-width: 100px) and (max-width: 600px) {
    .img_body_first_full2 {
        margin: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .img_body_first_full2 {
        margin: 0;
    }
}

.img_body_first_full {
    display: flex;
    width: 77vw;
    height: 50vw;
    object-fit: contain;
    margin: 1%;
    border-radius: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    display: inline-block;
}


/* Для вертикальной ориентации */

@media (orientation: portrait) {
    @media (min-width: 100px) and (max-width: 600px) {
        .img_body_first_full {
            width: 95%;
            height: auto;
            margin-bottom: 5%;
        }
    }
    @media (min-width: 601px) and (max-width: 900px) {
        .img_body_first_full {
            width: 80%;
            height: auto;
            margin-bottom: 5%;
        }
    }
}


/* Для горизонтальной ориентации */

@media (orientation: landscape) {
    .img_body_first_full {
        display: flex;
        width: 80vw;
        height: 45vw;
        object-fit: contain;
        margin: 1%;
        border-radius: 20px;
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
        display: inline-block;
    }
}

.ad-actions {
    display: flex;
    color: #000000;
    width: 100%;
    justify-content: space-between;
    margin-left: 6%;
}

.category_text_body_first {
    position: relative;
    margin: 10px 0 0;
}


/* -END------Body Left block-------- */


/* -------Body Right block-------- */


/* + Обновить .body и .body_div_first в другом файле */

.body_div_second {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    width: 14%;
    /* margin-top: 2%; */
    /* margin-bottom: 5%; */
    margin-right: 1%;
    margin-left: 0.5%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second {
        display: none;
        width: 11%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second {
        display: none;
        width: 13%;
    }
}

.body_div_second div {
    display: flex;
    justify-content: center;
    background-color: #0000008c;
    width: 100%;
    height: 18vw;
    border-radius: 10px;
    border: 0.3em solid white;
    margin-bottom: 15%;
}

@media (min-width: 100px) and (max-width: 600px) {
    .body_div_second div {
        display: none;
        height: 20vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div {
        display: none;
        height: 19vw;
    }
}

.body .body_div_second p {
    color: #ffffff;
    padding: 100% 0% 0% 0%;
    font-size: 1.7vw;
    position: relative;
    z-index: 7;
    padding-top: 14.5vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body .body_div_second p {
        font-size: 2.5vw;
        padding-top: 10vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body .body_div_second p {
        font-size: 2.5vw;
        padding-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body .body_div_second p {
        font-size: 2.2vw;
        padding-top: 12vw;
    }
}

.right_category-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.right_category-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.right_div1 {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.right_category-text {
    position: relative;
    margin: 10px 0 0;
    text-shadow: -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0), -1px -3px 21px #000000, 3px 0px 15px rgb(0, 0, 0), 1px 3px 16px rgb(0, 0, 0);
}

.body_div_second div .other_p {
    display: flex;
    height: 9vw;
    margin-top: 14vw;
    z-index: 5;
    position: absolute;
}

@media (min-width: 100px) and (max-width: 500px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_second div .other_p {
        height: 7vw;
        margin-top: 11vw;
    }
}

.div_com {
    display: flex;
    flex-direction: column;
    font-size: 1em;
    color: black;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 28px 30px rgba(0, 0, 0, 0.3);
    width: 80%;
    align-self: center;
    border-radius: 20px;
    margin-top: 3vw;
    background-color: #adadad;
}

.div_com_2 {
    display: flex;
    align-self: center;
    margin: 1vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .div_com_2 {
        margin: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .div_com_2 {
        margin: 2vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .div_com_2 {
        margin: 2vw;
    }
}

form {
    display: flex;
}

textarea {
    display: flex;
    height: 6vw;
    width: 47vw;
    padding: 0.5vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    textarea {
        font-size: 2.5vw;
        width: 47vw;
    }
}

label {
    color: black;
    font-size: 1.3vw;
    align-content: center;
    text-align: center;
}

@media (min-width: 100px) and (max-width: 500px) {
    label {
        font-size: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    label {
        font-size: 2vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    label {
        font-size: 2vw;
    }
}

.div_com_2 button {
    font-size: 1vw;
}

@media (min-width: 100px) and (max-width: 500px) {
    .div_com_2 button {
        font-size: 2vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .div_com_2 button {
        font-size: 2vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .div_com_2 button {
        font-size: 2vw;
    }
}


/* ----------------------------------------------End Body--------------------------------------------- */

.clickable_link_body_first {
    display: flex;
    flex-direction: column;
    width: 23%;
    text-decoration: none;
}

.category_item_body_first {
    display: flex;
    flex-direction: column;
    height: 25vw;
    overflow: hidden;
    background-color: white;
    border-radius: 20px;
    margin-bottom: 10%;
}

.category_text_body_first {
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding: 1%;
    box-sizing: border-box;
    color: black;
    font-size: 2vw;
}


/* --------------------------------------Other-------------------------------------------------------------- */

.header_plus {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    margin-top: 2em;
}

@media (min-width: 100px) and (max-width: 900px) {
    .header_plus {
        margin-top: 1em;
        margin-right: 2vw;
        margin-bottom: 2vw;
    }
}

.language-selector {
    display: inline-block;
    align-content: center;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #00ff0a00;
    color: white;
    padding: 3px;
    font-size: 1.2vw;
    border: 1.5px solid white;
    cursor: pointer;
    width: 12vw;
}

.dropbtn:hover {
    background-color: #00ff0a00;
    color: white;
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropbtn {
        font-size: 1.5vw;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(29, 29, 29, 0.638);
    min-width: 247px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0%;
    justify-items: center;
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropdown-content {
        min-width: 152px;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropdown-content {
        min-width: 201px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropdown-content {
        min-width: 288px;
    }
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: white;
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.dropdown-content a:hover {
    background-color: rgba(29, 29, 29, 0);
    transform: scale(1.2);
    transition: transform 0.2s ease;
}

@media (min-width: 100px) and (max-width: 500px) {
    .dropdown-content a {
        font-size: 4vw;
    }
}

@media (min-width: 501px) and (max-width: 600px) {
    .dropdown-content a {
        font-size: 4vw;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .dropdown-content a {
        font-size: 3vw;
    }
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Изменение цвета кнопки при наведении на dropdown */

.dropdown:hover .dropbtn {
    background-color: rgba(29, 29, 29, 0);
}


.appointment {
    display: flex;
}

/* ============================================================================================ */
/* Основные стили */
.kids-education-wrapper {
    font-family: 'Comic Neue', 'Arial Rounded MT', sans-serif;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    width: 35vw;
    margin-right: 1vw;
}

/* Шапка образования */
.education-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.education-icon {
    font-size: 3rem;
    background: #FFD166;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.education-title {
    font-size: 1.8rem;
    color: #2B2D42;
    margin: 0 0 10px 0;
}

.education-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.subject-badge {
    background: #06D6A0;
    color: white;
}

.location-badge {
    background: #118AB2;
    color: white;
}

/* Детали образования */
.education-details {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    margin-bottom: 0.5vw;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.5vw;
    background: #F8F9FA;
    border-radius: 15px;
}

.detail-icon {
    font-size: 1.8rem;
    color: #EF476F;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-label {
    font-size: 0.95rem;
    color: #6C757D;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2D42;
}

/* Контактная информация */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    margin-bottom: 25px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.5vw;
    background: #F8F9FA;
    border-radius: 15px;
}

.contact-icon {
    font-size: 1.8rem;
    color: #118AB2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.95rem;
    color: #6C757D;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2B2D42;
}

/* Социальные карточки */
.social-cards {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    transition: transform 0.3s;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    border-radius: 50%;
}

.social-content {
    flex-grow: 1;
}

.social-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 5px;
}

.social-link {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: block;
}

.div_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}


/* Цвета социальных карточек */
.telegram {width: 9vw; background: #0088CC; }
.instagram {width: 9vw; background: linear-gradient(45deg, #f09433, #dc2743); }
.facebook {width: 9vw; background: #1877F2; }
.viber {width: 9vw; background: #7360F2; }
.whatsapp {width: 9vw; background: #25D366; }
.website {width: 9vw; background: #4E54C8; }
.maps {width: 9vw; background: #34A853; }

/* Запись на занятия */
.enrollment-section {
    background: #F8F9FA;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.section-title {
    font-size: 1.3rem;
    color: #2B2D42;
    margin-top: 0;
    margin-bottom: 20px;
}

.teacher-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #DEE2E6;
}

.teacher-card:last-child {
    border-bottom: none;
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.teacher-avatar {
    font-size: 2rem;
    background: #EF476F;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.teacher-name {
    font-weight: 600;
    color: #2B2D42;
    font-size: 1.5rem;
}

.teacher-subject {
    color: #6C757D;
    font-size: 1.3rem;
}

.enroll-button {
    background: #06D6A0;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}

.enroll-button:hover {
    background: #04B58A;
}

.pending-notice {
    background: #FFD166;
    color: #2B2D42;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.kids-education-card {
    display: flex;
}


/* Адаптивность */
@media (max-width: 992px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .social-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .education-header {
        flex-direction: column;
        text-align: center;
    }

    .education-badges {
        justify-content: center;
    }

    .teacher-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .teacher-info {
        flex-direction: column;
    }

    .social-cards {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
        justify-content: center;
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .social-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .education-title {
        font-size: 1.5rem;
    }

    .education-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}














@media (min-width: 100px) and (max-width: 500px) {
    .body_div_first_img {
        display: flex;
        flex-direction: column;
    }

    .kids-education-wrapper {
        margin: 0;
        width: 82vw;
    }

    .kids-education-card {
        align-self: center;
    }

    .detail-value {
        padding-right: 1vw;
    }

    .img_body_first1 {
        width: 95%;
        height: 55vw;
        margin: 0;
        margin-top: 1vw;
        margin-bottom: 3vw;
        align-self: center;
    }

    .form {
        margin: 0;
        width: 26vw;
        margin-top: -7vw;
        margin-right: 66vw;
    }

    .img_body_first {
        height: 55vw;
    }

    .contact-card {
        padding: 0.5vw;
        padding-right: 1vw;
    }

    .telegram {gap: 0px;width: 31vw; background: #0088CC; }
    .instagram {gap: 0px;width: 31vw; background: linear-gradient(45deg, #f09433, #dc2743); }
    .facebook {gap: 0px;width: 31vw; background: #1877F2; }
    .viber {gap: 0px;width: 31vw; background: #7360F2; }
    .whatsapp {gap: 0px;width: 31vw; background: #25D366; }
    .website {gap: 0px;width: 31vw; background: #4E54C8; }
    .maps {gap: 0px;width: 31vw; background: #34A853; }
}

@media (min-width: 501px) and (max-width: 600px) {
    .body_div_first_img {
        display: flex;
        flex-direction: column;
    }

    .kids-education-wrapper {
        margin: 0;
        width: 82vw;
    }

    .kids-education-card {
        align-self: center;
    }

    .detail-value {
        padding-right: 1vw;
    }

    .img_body_first1 {
        width: 95%;
        height: 55vw;
        margin: 0;
        margin-top: 1vw;
        margin-bottom: 3vw;
        align-self: center;
    }

    .form {
        margin: 0;
        width: 26vw;
        margin-top: -7vw;
        margin-right: 66vw;
    }

    .img_body_first {
        height: 55vw;
    }

    .contact-card {
        padding: 0.5vw;
        padding-right: 1vw;
    }

    .telegram {width: 31vw; background: #0088CC; }
    .instagram {width: 31vw; background: linear-gradient(45deg, #f09433, #dc2743); }
    .facebook {width: 31vw; background: #1877F2; }
    .viber {width: 31vw; background: #7360F2; }
    .whatsapp {width: 31vw; background: #25D366; }
    .website {width: 31vw; background: #4E54C8; }
    .maps {width: 31vw; background: #34A853; }
}

@media (min-width: 601px) and (max-width: 900px) {
    .body_div_first_img {
        display: flex;
        flex-direction: column;
    }

    .kids-education-wrapper {
        margin: 0;
        width: 82vw;
    }

    .kids-education-card {
        align-self: center;
    }

    .detail-value {
        padding-right: 1vw;
    }

    .img_body_first1 {
        width: 95%;
        height: 55vw;
        margin: 0;
        margin-top: 1vw;
        margin-bottom: 3vw;
        align-self: center;
    }

    .form {
        margin: 0;
        width: 26vw;
        margin-top: -7vw;
        margin-right: 66vw;
    }

    .img_body_first {
        height: 55vw;
    }

    .contact-card {
        padding: 0.5vw;
        padding-right: 1vw;
    }

    .telegram {width: 31vw; background: #0088CC; }
    .instagram {width: 31vw; background: linear-gradient(45deg, #f09433, #dc2743); }
    .facebook {width: 31vw; background: #1877F2; }
    .viber {width: 31vw; background: #7360F2; }
    .whatsapp {width: 31vw; background: #25D366; }
    .website {width: 31vw; background: #4E54C8; }
    .maps {width: 31vw; background: #34A853; }
}



/* ============================================
   СОВРЕМЕННЫЙ БЛОК КОММЕНТАРИЕВ
   ============================================ */

/* Контейнер комментариев */
.comments-container {
    max-width: 800px;
    margin: 3rem auto 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Заголовок */
.comments-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(11, 99, 246, 0.1);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.comments-icon {
    color: #0b63f6;
    flex-shrink: 0;
}

.comments-count {
    background: linear-gradient(135deg, #0b63f6, #8b5cf6);
    color: white;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

/* Форма комментария */
.comment-form-section {
    margin-bottom: 3rem;
}

.comment-form-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    border: 1px solid rgba(11, 99, 246, 0.1);
    transition: all 0.3s ease;
}

.comment-form-card:focus-within {
    border-color: rgba(11, 99, 246, 0.3);
    box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.1);
}

.user-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b63f6, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-avatar img,
.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    flex: 1;
}

.form-group textarea {
    width: inherit;
    min-height: 100px;
    padding: 16px;
    font-size: 1rem;
    line-height: 1.5;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: #0b63f6;
    box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.1);
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-send-comment {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0b63f6, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(11, 99, 246, 0.3);
}

.btn-send-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 99, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-send-comment:active {
    transform: translateY(0);
}

/* Приглашение войти */
.login-prompt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: 16px;
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.login-prompt-icon {
    color: #f97316;
    flex-shrink: 0;
}

.login-prompt-text {
    margin: 0;
    font-size: 1rem;
    color: #7c2d12;
}

.login-link {
    color: #ea580c;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.login-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ea580c;
    transition: width 0.3s ease;
}

.login-link:hover:after {
    width: 100%;
}

/* Список комментариев */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-card {
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(11, 99, 246, 0.2);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #64748b;
}

.comment-actions {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-card:hover .comment-actions {
    opacity: 1;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: #0b63f6;
    color: white;
    border-color: #0b63f6;
}

.comment-body {
    margin-bottom: 16px;
}

.comment-body p {
    margin: 0;
    line-height: 1.6;
    color: #334155;
    font-size: 1rem;
}

.comment-footer {
    display: flex;
    justify-content: flex-end;
}

.btn-like {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

/* Нет комментариев */
.no-comments {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

.no-comments-icon {
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.no-comments h3 {
    margin: 0 0 0.5rem;
    color: #475569;
    font-size: 1.5rem;
}

.no-comments p {
    margin: 0;
    color: #94a3b8;
    font-size: 1rem;
}

/* Пагинация */
.comments-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.pagination-info {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #0b63f6;
    color: white;
    border-color: #0b63f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 99, 246, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .comments-container {
        margin: 1.5rem 0;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .comment-form-card {
        flex-direction: column;
    }

    .user-avatar {
        align-self: flex-start;
    }

    .comments-title {
        font-size: 1.5rem;
    }

    .comment-card {
        padding: 16px;
    }

    .btn-send-comment {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .comments-container {
        padding: 1rem;
    }

    .comment-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .author-info {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .comments-pagination {
        flex-direction: column;
        gap: 16px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-card {
    animation: fadeIn 0.4s ease-out;
}

.comment-card:nth-child(even) {
    animation-delay: 0.1s;
}

.comment-card:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Плавный скролл к комментариям */
.comments-container {
    scroll-margin-top: 20px;
}