/*Добавляем  скругления углов у карточек стандартных блоков*/
    .t774__wrapper{   /*Сюда вставляем класс блока из таблицы выше*/
        border-radius: 20px !important;    /*Радиус скругления у блока*/
        overflow: hidden; /*Используется для некоторых блоков, к которым не применяется скругление*/
        /*Если нужно скруглить углы, каждый по отдельности, то используйте вместо одного значения четыре,
        написав их через пробел, например 20px 30px 10px 50px*/
    }

/* === Универсальный стиль надзаголовка для всех блоков === */
[class$="__eyebrow"] {
  font-family: var(--t-headline-font);
  font-size: 13px;
  font-weight: 600;
  color: #e63946;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

[class$="__eyebrow"]::before,
[class$="__eyebrow"]::after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(230, 57, 70, 0.5);
}

/* Мобильная адаптация */
@media (max-width: 960px) {
  [class$="__eyebrow"] {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  [class$="__eyebrow"]::before,
  [class$="__eyebrow"]::after {
    width: 16px;
  }
}

/* ============================================
   ФУТЕР (FOOTER) — глобальный для всех страниц
   Класс: .ft | Блок: T123 в шапке/подвале
   ============================================ */

.ft, .ft * { box-sizing: border-box; }

.ft {
  background: #0f0f0f;
  color: #a0a0a0;
  padding: 80px 20px 40px;
  font-family: var(--t-text-font, Arial);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ft__container {
  max-width: 1200px;
  margin: 0 auto;
}

.ft__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.ft__col-title {
  font-family: var(--t-headline-font, Arial);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
  letter-spacing: 0.02em;
}

.ft__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ft__link {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: inline-block;
}

.ft__link:hover {
  color: #e63946;
}

.ft__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.ft__contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft__contact-item a:hover {
  color: #e63946;
}

.ft__socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.ft__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff; /* Белый круг по умолчанию */
  border: none; /* Убираем обводку */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #0f0f0f; /* Тёмная иконка (как фон футера) */
}

.ft__social-link svg {
  width: 20px;
  height: 20px;
  transition: fill 0.3s ease;
}

/* При наведении: красный фон, иконка остаётся тёмной */
.ft__social-link:hover {
  background: #e63946; /* Красный фон */
  color: #0f0f0f; /* Иконка остаётся тёмной */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.ft__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #777777;
}

.ft__bottom a {
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft__bottom a:hover {
  color: #e63946;
}

/* Адаптивность: Планшет */
@media (max-width: 960px) {
  .ft { padding: 60px 20px 32px; }
  .ft__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Адаптивность: Мобильный */
@media (max-width: 640px) {
  .ft { padding: 48px 16px 24px; }
  .ft__grid { grid-template-columns: 1fr; gap: 32px; }
  .ft__bottom { 
    flex-direction: column; 
    text-align: center; 
    align-items: center;
  }
}

/* ============================================
   ФУТЕР (FOOTER) — иконки контактов
   ============================================ */

.ft__contact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #a0a0a0; /* Цвет иконки как у текста */
  margin-top: 2px;
  transition: color 0.2s ease;
}

.ft__contact-item:hover .ft__contact-icon {
  color: #e63946; /* Красный при наведении */
}

/* ============================================================
НОРМАЛИЗАЦИЯ ТИПОГРАФИКИ САЙТА avtolider54.ru
Цель: убрать Georgia / DrukTextWideTT / Arial из старых блоков и привести
шрифты и ссылки к стилю, заданному в настройках сайта (заголовки Manrope,
текст Roboto Condensed) и в «Дизайн-система АвтоЛИДЕР.md».

КУДА СТАВИТЬ: проектный CSS (Настройки сайта → Ещё → CSS-код) — один раз
на весь сайт; правка обратимая (удалить текст = откат).
Новые блоки (.ft__*, .brf__*, .art-*, .dh-*, .hd__*, t-feed) не трогаются:
их классы здесь не упоминаются.

Роли по ДС:
  Заголовки, меню, кнопки        → Manrope
  Текст, описания, формы, метки  → Roboto Condensed
  Ссылки в тексте                → #B6BFC9, hover #FFFFFF, пунктир
============================================================ */

/* ---------- ЗАГОЛОВКИ, МЕНЮ, КНОПКИ → Manrope ---------- */
.t-title, .t-heading,
.t-section__title, .t467__title, .t698__title, .t994__title, .t996__title,
.t-card__title, .t702__title, .t390__title, .t183__title, .t891__title,
.t183__uptitle, .t390__uptitle,
a.t-menu__link-item, .t-menusub__link-item,
.t228__right_langs_lang a, .t450__right_langs_lang a,
.t-btnflex__text, .t-btnflex {
  font-family: 'Manrope', Arial, sans-serif !important;
}

/* ---------- ТЕКСТ, ОПИСАНИЯ, ФОРМЫ → Roboto Condensed ---------- */
.t-text, .t-descr,
.t-section__descr, .t467__descr, .t994__descr, .t-card__descr,
.t605__descr, .t265__text, .t390__descr, .t702__descr,
.t450__right_descr, .t-input__vis-ph,
.t-input, .t-textarea, .t-select, .t-input-title,
.t-checkbox__label, .t-radio__label,
/* Zero Block'и: текст элементов → основной шрифт (Georgia там — дефолт
   незаданных элементов, а не выбор дизайна) */
.t396 .tn-elem .tn-atom {
  font-family: 'Roboto Condensed', Arial, sans-serif !important;
}

/* Инлайн-шрифты из редактора Тильды (font-family: Georgia на выделении
   текста) внутри заголовков и текстовых блоков — наследовать роль блока */
.t-title span, .t-heading span, .t-descr span, .t-text span,
.t996__title span, .t-section__title span, .t-card__title span,
.t467__title span, .t994__title span {
  font-family: inherit !important;
}
/* Универсально: любой инлайн Georgia (атрибут style) — наследовать роль
   родителя. Закрывает надзаголовки t183/t891 и прочие ручные выделения */
body [style*="georgia" i] {
  font-family: inherit !important;
}
/* «Сжатие/растягивание» текста ручным scale — снять в текстовых ролях */
.t-text span[style*="scale" i], .t-descr span[style*="scale" i],
.t-title span[style*="scale" i] {
  transform: none !important;
}

/* Старый блок-подводка на /category-b (.art-teaser): заголовок — Manrope
   до замены записи на актуальный .lnk-teaser-блок */
.art-teaser h2, .art-teaser .art-teaser-title {
  font-family: 'Manrope', Arial, sans-serif !important;
}
.art-teaser p, .art-teaser .art-teaser-text {
  font-family: 'Roboto Condensed', Arial, sans-serif !important;
}

/* FAQ-аккордеон (t668, страница /faq54): белый заголовок вопроса на белой
   карточке → тёмный (карточки страницы светлые) */
.t668__title {
  color: #1A1A1A !important;
}

/* ---------- ССЫЛКИ В ТЕКСТЕ — по разделу 4 Дизайн-системы ---------- */
/* Синие/дефолтные запрещены: наследуют палитру, hover — белое сплошное */
.t-text a,
.t-descr a,
.t-card__descr a,
.t994__descr a,
.t265__text a,
.t605__descr a {
  color: #B6BFC9;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .3);
}
.t-text a:hover,
.t-descr a:hover,
.t-card__descr a:hover,
.t994__descr a:hover,
.t265__text a:hover,
.t605__descr a:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, .55);
}
