/* ========================================
   EVO SPA — стеклянные кнопки
   ======================================== */

#allrecords .t-btn,
#allrecords .t-submit,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;

    color: #ffffff !important;
    background-color: rgba(93, 85, 75, 0.74) !important;
    background-image: none !important;

    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 999px !important;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 24px rgba(36, 33, 29, 0.18) !important;

    min-height: 50px;
    padding-left: 28px !important;
    padding-right: 28px !important;

    font-weight: 500 !important;

    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}


/* ========================================
   Тонкая белая обводка:
   правый верхний + левый нижний угол
   ======================================== */

#allrecords .t-btn::after,
#allrecords .t-submit::after,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom::after {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    padding: 1px !important;
    border-radius: inherit !important;

    pointer-events: none !important;

    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.48) 8%,
        rgba(255, 255, 255, 0.12) 20%,
        rgba(255, 255, 255, 0.04) 38%,
        rgba(255, 255, 255, 0.04) 62%,
        rgba(255, 255, 255, 0.12) 80%,
        rgba(255, 255, 255, 0.48) 92%,
        rgba(255, 255, 255, 0.90) 100%
    ) !important;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    mask-composite: exclude;
}


/* ========================================
   Наведение
   ======================================== */

#allrecords .t-btn:hover,
#allrecords .t-submit:hover,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:hover {
    color: #ffffff !important;
    background-color: rgba(126, 115, 101, 0.92) !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(36, 33, 29, 0.24) !important;
}


/* Обводка при наведении немного светлее */

#allrecords .t-btn:hover::after,
#allrecords .t-submit:hover::after,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:hover::after {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.60) 8%,
        rgba(255, 255, 255, 0.14) 20%,
        rgba(255, 255, 255, 0.05) 38%,
        rgba(255, 255, 255, 0.05) 62%,
        rgba(255, 255, 255, 0.14) 80%,
        rgba(255, 255, 255, 0.60) 92%,
        rgba(255, 255, 255, 1) 100%
    ) !important;
}


/* ========================================
   Нажатие
   ======================================== */

#allrecords .t-btn:active,
#allrecords .t-submit:active,
#allrecords .tn-elem[data-elem-type="button"] .tn-atom:active {
    transform: translateY(0);

    box-shadow:
        0 5px 16px rgba(36, 33, 29, 0.18) !important;
}


/* ========================================
   Мобильные устройства
   ======================================== */

@media screen and (max-width: 640px) {
    #allrecords .t-btn,
    #allrecords .t-submit,
    #allrecords .tn-elem[data-elem-type="button"] .tn-atom {
        min-height: 50px;

        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}



/* Положение контента первого экрана CR15 */
@media screen and (min-width: 981px) {

  /* Контейнер как на сайте-образце */
  #rec3986136501 .t-cover > .t-container {
    width: 100% !important;
    max-width: 1392px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
  }

  /* Возвращаем нормальную ширину стандартного CR15 */
  #rec3986136501 .t-cover > .t-container > .t-col {
    width: 760px !important;
    max-width: 760px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    float: left !important;
  }

  /* Сохраняем стандартное вертикальное центрирование */
  #rec3986136501 .t-cover__wrapper {
    display: table-cell !important;
    vertical-align: middle !important;
    height: 100vh !important;
  }

  /* Только немного поднимаем контент */
  #rec3986136501 .t181 {
    width: 100% !important;
    transform: translateY(-8vh) !important;
  }

  #rec3986136501 .t181__wrapper,
  #rec3986136501 .t181__title,
  #rec3986136501 .t181__descr,
  #rec3986136501 .t181__button-wrapper {
    text-align: left !important;
  }
}

/* На небольших ноутбуках сдвиг вверх слабее */
@media screen and (min-width: 981px) and (max-width: 1472px) {
  #rec3986136501 .t-cover > .t-container {
    max-width: calc(100% - 80px) !important;
  }

  #rec3986136501 .t181 {
    transform: translateY(-6vh) !important;
  }
}
</style>