
/* клетка тетради */
.custom-cell > div:first-child{
    position: relative;
    z-index: 1;
    background:#fff;
}
.custom-cell > div:first-child::before {
    content: "";
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='201' height='201' viewBox='0 0 201 201' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M40.3145 0.900391H1.31445H0.314453V1.90039V40.9004V41.9004V80.9004V81.9004V120.9V121.9V160.9V161.9V200.9H1.31445V161.9H40.3145V200.9H41.3145V161.9H80.3145V200.9H81.3145V161.9H120.314V200.9H121.314V161.9H160.314V200.9H161.314V161.9H200.314V160.9H161.314V121.9H200.314V120.9H161.314V81.9004H200.314V80.9004H161.314V41.9004H200.314V40.9004H161.314V1.90039H200.314V0.900391H161.314H160.314H121.314H120.314H81.3145H80.3145H41.3145H40.3145ZM40.3145 160.9H1.31445V121.9H40.3145V160.9ZM80.3145 160.9H41.3145V121.9H80.3145V160.9ZM120.314 160.9H81.3145V121.9H120.314V160.9ZM160.314 160.9H121.314V121.9H160.314V160.9ZM40.3145 120.9H1.31445V81.9004H40.3145V120.9ZM80.3145 120.9H41.3145V81.9004H80.3145V120.9ZM120.314 120.9H81.3145V81.9004H120.314V120.9ZM160.314 120.9H121.314V81.9004H160.314V120.9ZM40.3145 80.9004H1.31445V41.9004H40.3145V80.9004ZM80.3145 80.9004H41.3145V41.9004H80.3145V80.9004ZM120.314 80.9004H81.3145V41.9004H120.314V80.9004ZM160.314 80.9004H121.314V41.9004H160.314V80.9004ZM40.3145 40.9004H1.31445V1.90039H40.3145V40.9004ZM80.3145 40.9004H41.3145V1.90039H80.3145V40.9004ZM120.314 40.9004H81.3145V1.90039H120.314V40.9004ZM160.314 40.9004H121.314V1.90039H160.314V40.9004Z' fill='%23E6E6E6'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index:-2;
    border-radius: 30px;
}
.custom-cell > div:first-child::after {
    content: "";
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, #FFF 100%);
    z-index:-1;
    border-radius: 30px;
}


/* подчеркивания */
/* включаем режим только внутри .js-gram, чтобы не ломать чужой текст */
.js-gram u,
.js-gram s,
.js-gram i,
.js-gram em{
    position: relative;
    text-decoration: none !important; /* убираем нативные линии */
    font-style: normal !important;
}

/* базовая «полка» под линию */
.js-gram u::after,
.js-gram s::after,
.js-gram i::after,
.js-gram em::after{
    content:"";
    position:absolute;
    left:0; right:0;
    top: 90%;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    pointer-events:none;
    z-index: -1;
}

/*  — одна волна (синяя) */
.js-gram u::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='83' height='5' viewBox='0 0 83 5' fill='none'%3E%3Cpath d='M81.6992 2.40124C55.3203 -1.15416 26.3271 5.79366 1.21875 2.4012' stroke='%233FA9F5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/*  — двойная волна (плотнее) */
.js-gram s::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='119' height='7' viewBox='0 0 119 7' fill='none'%3E%3Cpath d='M1.28125 5.63622C39.2005 5.6362 80.8953 4.14056 117.305 5.63619M117.305 2.3045C117.305 2.3045 67.9319 1.64523 44.3993 1.66909C22.6181 1.69117 1.28125 2.30454 1.28125 2.30454' stroke='%233FA9F5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* / — мазки (для обстоятельств/наречий) */
.js-gram i::after,
.js-gram em::after{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='203' height='5' viewBox='0 0 203 5' fill='none'%3E%3Cpath d='M28.228 1.73623C19.5881 1.73625 10.088 3.2319 1.79216 1.73627M32.4832 1.73623H33.138M37.9653 1.73623L64.3227 2.29218M70.0514 2.29218H70.9519M76.8394 3.07263L105.98 2.29218M112.037 2.29218H112.937M121.285 2.29218L154.436 2.78884M162.866 2.78884H164.175M171.788 2.22124L201.504 2.78884' stroke='%233FA9F5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* плавность при ховере/состояниях (по желанию) */
.js-gram u, .js-gram s, .js-gram i, .js-gram em{ transition: color .2s ease; }

.main-price u {
    position: relative;
    text-decoration: none !important; /* убираем нативные линии */
}
.main-price u::after {
    content:"";
    position:absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='135' height='43' viewBox='0 0 135 43' fill='none'%3E%3Cpath d='M76.6722 8.81374C57.3305 16.4829 1.81624 0.22358 1.81624 25.9938C1.81624 48.3893 147.187 45.935 132.16 19.5515C120.634 -0.686972 50.2884 1.14404 50.2884 1.14404' stroke='%233FA9F5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events:none;
    background-size: contain;
    pointer-events: none;
    z-index: -1;
}

/* таблица Расписание */
.uc-schedule-table .t611__header {
    border-radius: 16px;
}
.uc-schedule-table .t611__middle_item:nth-child(even) {
    border-radius: 16px;
    background:#fff;
}
.uc-schedule-table .t611__middle_item .t611__title span[style="background-color: rgb(240, 90, 37); color: rgb(255, 255, 255);"] {
    padding: 2px 8px;
    border-radius: 20px;
}

/* подчеркивания на главной (Главный экран) */
.custom-underline-main u {
    text-decoration: none;
    position: relative;
}
.custom-underline-main u:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 101%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='10' viewBox='0 0 317 12' fill='none'%3E%3Cpath d='M314.039 4.64478C213.178 -2.19729 99.7368 17.6435 2.66144 4.64475' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Настройки попап (филды табы) */
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper .t-radio__indicator:after {
    display:none;
}
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper .t-radio__indicator {
    position:absolute;
    z-index:;
    width:100%;
    height:100%;
    border-radius:0;
    top:0;
    left:0;
    background-color:#fff;
    border:none;
    opacity:1;
}
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper span {
    z-index:1;
}
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper {
    gap:4px;
}
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper .t-radio__item {
    width: auto;
    padding: 8px 13px;
    height: auto;
    margin: 0;
    overflow:hidden;
}

.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper .t-radio:checked~.t-radio__indicator {
    background-color:#3fa9f5;
    color:#fff;
}
.t-input-group[role="radiogroup"][data-field-name="found"] .t-radio__wrapper .t-radio:checked~span {
    background-color:#3fa9f5;
    color:#fff;
}

/* Отзывы */
.uc-custom-reviews li.t533__col.t-col.t-col_4.t-item.t-list__item {
    padding-top:0px !important;
}
.uc-custom-reviews .t533__textwrapper {
    padding:20px !important;
    text-align:left;
    position: relative;
}
.uc-custom-reviews .t533__title, .uc-custom-reviews .t533__uptitle {
    margin-left: 60px;
}
.uc-custom-reviews .kim-rating {
    margin-top:8px;
}
.uc-custom-reviews .t533__textwrapper::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url('https://static.tildacdn.com/tild6632-3231-4639-b437-633934343834/m-avatar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: #FAFAFA;
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 100px;
}
button.t-submit {
    text-transform: uppercase;
}


.uc-custom-reviews .t1186__card_circle {
    padding: 20px;
}
.uc-custom-reviews .t1186__bgimg.t1186__bgimg_circle.t-bgimg {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-height: 60px !important;
    background-color: #fafafa;
}
.uc-custom-reviews .t1186__head+.t1186__text {
    margin-top: 0px; 
}
.uc-custom-reviews button.t-btn.t1186__control {
    width: 100px;
    height: 30px;
    border:1px solid #202020;
}
.uc-custom-reviews .t1186 .t1186__header .t-col_2 {
    max-width: 200px;
}
.uc-custom-reviews .t1186 .t1186__header .t1186__controls {
    margin-bottom: 40px;
}

/*Карточки блога*/
.uc-custom-blog .t-feed__post-label {
    border-radius: 100px;
}
.uc-custom-blog .t-feed__button-readmore .t-btn {
    margin-top: 14px;
    padding: 4px 10px;
}
.uc-custom-blog .t-feed__button-readmore .t-btn span.t-btnflex__text {
    color: #202020;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
    text-transform: uppercase;
    padding-right: 10px;
}
.uc-custom-blog .t-feed__button-readmore .t-btn span.t-btnflex__text::after {
    content: "";
    display: inline-block;
    width: 17px;
    height: 8px;
    position: relative;
    left: 10px;
    background: no-repeat center / contain url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNyIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgMTcgOCIgZmlsbD0ibm9uZSI+PHBhdGggZD0iTTE2LjM1MzYgNC40OTYxM0MxNi41NDg4IDQuMzAwODcgMTYuNTQ4OCAzLjk4NDI5IDE2LjM1MzYgMy43ODkwMkwxMy4xNzE2IDAuNjA3MDQ0QzEyLjk3NjMgMC40MTE3ODIgMTIuNjU5NyAwLjQxMTc4MiAxMi40NjQ1IDAuNjA3MDQ0QzEyLjI2OTIgMC44MDIzMDYgMTIuMjY5MiAxLjExODg5IDEyLjQ2NDUgMS4zMTQxNUwxNS4yOTI5IDQuMTQyNThMMTIuNDY0NSA2Ljk3MTAxQzEyLjI2OTIgNy4xNjYyNyAxMi4yNjkyIDcuNDgyODUgMTIuNDY0NSA3LjY3ODExQzEyLjY1OTcgNy44NzMzNyAxMi45NzYzIDcuODczMzcgMTMuMTcxNiA3LjY3ODExTDE2LjM1MzYgNC40OTYxM1pNMSAzLjY0MjU4QzAuNzIzODU4IDMuNjQyNTggMC41IDMuODY2NDQgMC41IDQuMTQyNThDMCA0LjQxODcyIDAuNzIzODU4IDQuNjQyNTggMSA0LjY0MjU4VjQuMTQyNThMMSAzLjY0MjU4Wk0xNiA0LjE0MjU4VjMuNjQyNThMMSAzLjY0MjU4TDEgNC4xNDI1OFY0LjY0MjU4TDE2IDQuNjQyNThWNCAuMTQyNTh6IiBmaWxsPSIjMjMyMzIzIi8+PC9zdmc+');
}
.uc-custom-blog .t-feed__buttons-wrapper {
    margin-top: 40px;
}
.uc-custom-blog .t-btn.t-btnflex.t-btnflex_type_bbutton.t-btnflex_md.js-feed-btn-show-all-posts.t-feed__showallpost-btn {
    text-transform: uppercase;
}

/* ФАК */
.uc-custom-faq .t668__wrapper .t668__header .t668__trigger-button .t668__icon {
    display: none;
}
.uc-custom-faq .t668__wrapper .t668__header .t668__trigger-button {
    position: relative; /* чтобы ::after позиционировался относительно этого блока */
    padding-right: 40px; /* добавь отступ справа, чтобы текст не перекрывал иконку */
}

.uc-custom-faq .t668__wrapper .t668__header .t668__trigger-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 14px;
    height: 8px;
    transition: all 0.3s ease;

    /* используем svg как маску */
    -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,');
    mask: no-repeat center / contain url('data:image/svg+xml;utf8,');

    background-color: #909090; /* ← цвет стрелки */
}
.uc-custom-faq .t668__wrapper .t668__header.t668__opened .t668__trigger-button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(180deg);
    width: 14px;
    height: 8px;
    transition: all 0.3s ease;

    /* используем svg как маску */
    -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,');
    mask: no-repeat center / contain url('data:image/svg+xml;utf8,');

    background-color: #909090; /* ← цвет стрелки */
}

/* Чекбокс Прайвиси */
.t-input-group[data-field-name="privacy"] .t-checkbox__indicator {
    width: 36px;
    height: 18px;
    border: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 100px;
    opacity: 1;
    transition: all 0.3s ease;
}
.t-input-group[data-field-name="privacy"] .t-checkbox__indicator::after {
    content:'';
    position:relative;
    top:1px;
    left:1px;
    width: 14px;
    display:block;
    height: 14px;
    background: #3FA9F5;
    border-radius: 100px;
    opacity: 1;
    outline:none;
    border:none;
    transition: all 0.3s ease;
}
.t-input-group[data-field-name="privacy"] label.t-checkbox__control.t-checkbox__control_flex {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.t-input-group[data-field-name="privacy"] .t-checkbox__control .t-checkbox:checked~.t-checkbox__indicator {
    width: 36px;
    height: 18px;
    border: 1px solid #3FA9F5;
    background: #3FA9F5;
    border-radius: 100px;
    opacity: 1;
    transition: all 0.3s ease;
}
.t-input-group[data-field-name="privacy"] .t-checkbox__control .t-checkbox:checked~.t-checkbox__indicator:after {
    content:'';
    position:relative;
    top:1px;
    left:19px;
    width: 14px;
    display:block;
    height: 14px;
    background: #fff;
    border-radius: 100px;
    opacity: 1;
    outline:none;
    border:none;
    transition: all 0.3s ease;
}

/* ОБЩИЕ*/
.shadow > div:first-child {box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.02);}
.big-smooth-shadow > div:first-child {box-shadow: 145px 173px 63px 0 rgba(0, 0, 0, 0.00), 93px 111px 58px 0 rgba(0, 0, 0, 0.01), 52px 62px 49px 0 rgba(0, 0, 0, 0.03), 23px 28px 36px 0 rgba(0, 0, 0, 0.04), 6px 7px 20px 0 rgba(0, 0, 0, 0.05);}
.mops-blue-banner {top:auto !important; bottom:0 !important;}
.main-boxer {
    left: 50% !important;
    transform: translateX(-50%);
}
@media screen and (max-width: 959px) {
    .mops-blue-banner {
        left: 50% !important;
        transform: translateX(-50%);
    }
}
textarea, .t-input-block  {
    border-radius:20px !important;
}
.t-form__errorbox-wrapper {
    border-radius: 16px;
}
.t450_opened .t450__close_icon span {
    border-radius: 10px;
}
.t-form-success-popup_new .t-form-success-popup__button {
    border-radius: 100px;
    background: #3FA9F5;
}

path.t-form-success-popup__content-icon-background {
    fill: #3FA9F5;
}
.uc-custom-cell .t004 .t-container  .t-text {
    position: relative;
    z-index: 1;
    background:#fff;
}
.uc-custom-cell .t004 .t-container .t-text::before {
    content: "";
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='201' height='201' viewBox='0 0 201 201' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M40.3145 0.900391H1.31445H0.314453V1.90039V40.9004V41.9004V80.9004V81.9004V120.9V121.9V160.9V161.9V200.9H1.31445V161.9H40.3145V200.9H41.3145V161.9H80.3145V200.9H81.3145V161.9H120.314V200.9H121.314V161.9H160.314V200.9H161.314V161.9H200.314V160.9H161.314V121.9H200.314V120.9H161.314V81.9004H200.314V80.9004H161.314V41.9004H200.314V40.9004H161.314V1.90039H200.314V0.900391H161.314H160.314H121.314H120.314H81.3145H80.3145H41.3145H40.3145ZM40.3145 160.9H1.31445V121.9H40.3145V160.9ZM80.3145 160.9H41.3145V121.9H80.3145V160.9ZM120.314 160.9H81.3145V121.9H120.314V160.9ZM160.314 160.9H121.314V121.9H160.314V160.9ZM40.3145 120.9H1.31445V81.9004H40.3145V120.9ZM80.3145 120.9H41.3145V81.9004H80.3145V120.9ZM120.314 120.9H81.3145V81.9004H120.314V120.9ZM160.314 120.9H121.314V81.9004H160.314V120.9ZM40.3145 80.9004H1.31445V41.9004H40.3145V80.9004ZM80.3145 80.9004H41.3145V41.9004H80.3145V80.9004ZM120.314 80.9004H81.3145V41.9004H120.314V80.9004ZM160.314 80.9004H121.314V41.9004H160.314V80.9004ZM40.3145 40.9004H1.31445V1.90039H40.3145V40.9004ZM80.3145 40.9004H41.3145V1.90039H80.3145V40.9004ZM120.314 40.9004H81.3145V1.90039H120.314V40.9004ZM160.314 40.9004H121.314V1.90039H160.314V40.9004Z' fill='%23E6E6E6'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index:-2;
}
.uc-custom-cell .t004 .t-container .t-text::after {
    content: "";
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, #FFF 100%);
    z-index:-1;
}

.t-popup__container {
    max-width:560px !important;
}
.t702 .t702__wrapper {
    padding:20px 25px;
}
@media screen and (max-width: 560px) {
.t702 .t-popup__block-close {
    background: #3FA9F5;
    }
}
/* Стандартные заголовки */
/* очень большие устройства (десктопы ≥ 1200px) */
@media (min-width: 1200px) {
  .t-section__title {
      font-size: 40px !important;
  }
}
/* большие устройства (ноутбуки ≥ 992px) */
@media screen and (max-width: 1199px) {
  .t-section__title {
      font-size: 34px !important;
  }
}
/* средние устройства (планшеты ≥ 768px) */
@media screen and (max-width: 959px) {
  .t-section__title {
      font-size: 34px !important;
  }
}
/* маленькие устройства (телефоны ≥ 576px) */
@media screen and (max-width: 639px) {
  .t-section__title {
      font-size: 26px !important;
  }
}
/* очень маленькие (телефоны < 576px) */
@media screen and (max-width: 479px){
  .t-section__title {
      font-size: 22px !important;
  }
}

@media screen and (max-width: 639px) {
    .t396__artboard {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
/*@media screen and (max-width: 479px) {*/
/*    .t396__artboard {*/
/*        padding-left: 10px !important;*/
/*        padding-right: 10px !important;*/
/*    }*/
/*}*/