/* ===== Сброс "оранжевых" цветов Tilda в тексте ===== */

/* 1) Все ссылки и текстовые атомы — наследуют текущий цвет текста */
a,
a:visited,
a:hover,
a:active,
.t-descr a,
.t-text a,
.t-name a,
.t-title a,
.tn-atom a,
.tn-atom,
.t-text,
.t-descr,
.t-title,
.t-name {
  color: currentColor !important;
  text-decoration-color: currentColor !important;
}

/* 2) Ховеры/фокусы не перекрашивают в фирменный оранжевый Tilda */
a:hover,
a:focus,
.t-descr a:hover,
.t-text a:hover,
.tn-atom a:hover {
  color: currentColor !important;
  text-decoration: underline;
}

/* 3) Жёсткая очистка инлайновых "оранжевых" цветов (hex / rgb) в style="" */
/* hex-диапазоны популярных оттенков Tilda (#ff7f00, #ff8a00, #f05b2b и т.п.) */
[style*="color:#ff7f00" i],
[style*="color:#ff8a00" i],
[style*="color:#ff6a00" i],
[style*="color:#ff5a00" i],
[style*="color:#ff9900" i],
[style*="color:#fd8424" i],
[style*="color:#f05b2b" i],
[style*="color:#ffa500" i], /* classic orange */
[style*="color: #ff7f00" i],
[style*="color: #ff8a00" i],
[style*="color: #ff6a00" i],
[style*="color: #ff5a00" i],
[style*="color: #ff9900" i],
[style*="color: #fd8424" i],
[style*="color: #f05b2b" i],
[style*="color: #ffa500" i],
/* rgb-варианты */
[style*="color:rgb(255,127,0)" i],
[style*="color: rgb(255,127,0)" i],
[style*="color:rgb(255,138,0)" i],
[style*="color: rgb(255,138,0)" i],
[style*="color:rgb(240,91,43)" i],
[style*="color: rgb(240,91,43)" i] {
  color: currentColor !important;
}

/* 4) Частые классы Tilda, которые могут тянуть акцентный оранжевый */
.t-link,
.t-menu__link-item,
.t-popup a,
.t-sociallinks a,
.t216__title,
.t216__descr,
.t403__text a {
  color: currentColor !important;
}

/* 5) Иконки-линки внутри текстовых блоков (чтобы не «рыжели») */
.tn-atom svg [fill],
.tn-atom svg [stroke] {
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* 6) На всякий случай: strong/em/span не должны уводить цвет в оранжевый */
strong, b, em, i, span {
  color: currentColor !important;
}

/* --- Опционально: можно задать единый "брендовый" цвет текста для всего сайта ---
:root { --text-color: #F7F7FA; }
body { color: var(--text-color) !important; }
a { color: var(--text-color) !important; }
*/
