.t450__right_buttons_but {
    width: 100%;
}

.t450__right_buttons_but_two_left .t-btn {
    width: 100%;
}

    
    /* контейнер с обрезкой и градиентами */
#rec1403122071 .t1196__items {
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden; /* обрезаем выступающие карточки */
  position: relative;
}
/* градиенты по бокам */
#rec1403122071 .t1196__items::before,
#rec1403122071 .t1196__items::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 10;
}


#rec1403122071 .t1196__items::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}

#rec1403122071 .t1196__items::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}


/* ТЕМНАЯ ТЕМА */

/* === Анимация перехода между темами === */
.t-body,
.t-body * {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease, stroke 0.35s ease !important;
}

/* === ТЁМНАЯ ТЕМА: активируется при .t-body.dark-theme === */
.t-body.dark-theme,
.t-body.dark-theme .t-container,
.t-body.dark-theme .t-cover,
.t-body.dark-theme .t-section,
.t-body.dark-theme .t396__artboard,
.t-body.dark-theme .t-rec {
  background-color: #1e1e1e !important;
  color: #f5f5f5 !important;
}
.t-body.dark-theme #rec1411731371 .tn-elem[data-elem-id="1760047620417"] .tn-atom {
    background-color: #282828;
    box-shadow: none; 
}
.t-body.dark-theme #rec1411731371, .t-body.dark-theme #rec1411731371 .t396__artboard {
    background-color: transparent !important;
}
/* === КАРТИНКИ === */
.t-body.dark-theme .tn-atom.t-bgimg.loaded {
    background-color: #2e2e2e !important;
}
/* 🌙 Активируется только в тёмной теме */
.t-body.dark-theme .tn-atom__img,
.t-body.dark-theme .t-img {
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: filter 0.3s ease;
}

/* Если изображение вставлено через  */
.t-body.dark-theme .tn-atom__img img,
.t-body.dark-theme .t-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s ease;
  filter: brightness(0.7) saturate(0.9); /* основной эффект затемнения */
}

/* Если изображение идёт как background-image (например в Zero Block) */
.t-body.dark-theme .tn-atom__img[style*="background-image"],
.t-body.dark-theme .t-img[style*="background-image"] {
  filter: brightness(0.8) saturate(0.9);
  position: relative;
  overflow: hidden;
}

.t-body.dark-theme .tn-atom__img[style*="background-image"]::after,
.t-body.dark-theme .t-img[style*="background-image"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: background 0.3s ease;
}



.t-body.dark-theme #rec1402588901 .tn-elem[data-elem-id="175991129384537130"] .tn-atom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* интенсивность затемнения */
  transition: background 0.3s ease;
  pointer-events: none;
}

/* === Текст === */
.t-body.dark-theme h1,
.t-body.dark-theme h2,
.t-body.dark-theme h3,
.t-body.dark-theme h4,
.t-body.dark-theme h5,
.t-body.dark-theme h6,
.t-body.dark-theme .t-title,
.t-body.dark-theme .t-name,
.t-body.dark-theme .t-descr,
.t-body.dark-theme .t-text,
.t-body.dark-theme .t-uptitle,
.t-body.dark-theme .t-heading,
.t-body.dark-theme p,
.t-body.dark-theme span {
  color: #f5f5f5 !important;
}

/* === Ссылки === */
.t-body.dark-theme a,
.t-body.dark-theme a:visited {
  color: #fff !important;
}
.t-body.dark-theme a:hover {
  color: #fff !important;
}

/* === Кнопки === */
.t-body.dark-theme .t-btn,
.t-body.dark-theme .t-submit,
.t-body.dark-theme .t-input-submit,
.t-body.dark-theme button,
.t-body.dark-theme input[type="submit"],
.t-body.dark-theme .t-popup__btn {
  background-color: #007bff !important;
  color: #fff !important;
  border: none !important;
}

.t-body.dark-theme .t-btn:hover,
.t-body.dark-theme .t-submit:hover,
.t-body.dark-theme .t-popup__btn:hover {
  background-color: #3399ff !important;
}

/* === Формы === */
.t-body.dark-theme input,
.t-body.dark-theme textarea,
.t-body.dark-theme select {
  background-color: #1b1b1b !important;
  color: #fff !important;
  border: 1px solid #333 !important;
}

.t-body.dark-theme input::placeholder,
.t-body.dark-theme textarea::placeholder {
  color: #888 !important;
}

/* === Карточки, контейнеры === */
.t-body.dark-theme .t-card,
.t-body.dark-theme .t-col,
.t-body.dark-theme .t-item,
.t-body.dark-theme .t-cell,
.t-body.dark-theme .t-bg {
  background-color: #141414 !important;
  color: #f5f5f5 !important;
}

/* === Меню, футер === */
.t-body.dark-theme .tmenu,
.t-body.dark-theme .tmenuburger,
.t-body.dark-theme .t450,
.t-body.dark-theme .t478,
.t-body.dark-theme .t120,
.t-body.dark-theme .t-sociallinks,
.t-body.dark-theme .t-footer {
  background-color: #0e0e0e !important;
  color: #fff !important;
}

/* === Popup === */
.t-body.dark-theme .t-popup,
.t-body.dark-theme .t-popup__container,
.t-body.dark-theme .t-popup__wrapper {
  background-color: #141414 !important;
  color: #fff !important;
}

/* === SVG и иконки === */
.t-body.dark-theme svg path {
  fill: #f5f5f5 !important;
  stroke: #f5f5f5 !important;
}

/* === Разделители, линии === */
.t-body.dark-theme hr,
.t-body.dark-theme .t-separator,
.t-body.dark-theme .t-border,
.t-body.dark-theme .t-line {
  background-color: #333 !important;
  border-color: #333 !important;
}

/* === Hover карточек === */
.t-body.dark-theme .t-card:hover,
.t-body.dark-theme .t-item:hover {
  background-color: #1d1d1d !important;
}

/* === Цвет выделения === */
.t-body.dark-theme ::selection {
  background-color: #007bff;
  color: #fff;
}

/* === Замена белых inline фонов === */
.t-body.dark-theme *[style*="background-color: #fff"],
.t-body.dark-theme *[style*="background-color: rgb(255,255,255)"] {
  background-color: #0e0e0e !important;
  color: #f5f5f5 !important;
}



