

@font-face {
  font-family: Exo-Bold;
  src: url(../font/Exo-Bold.ttf);
}


         .hot {
            display: block;
            width: 100%;
            background-color: #161616;
            margin-top: 0px;
         }


         /* Обёртка для карусели и навигации */
         .hot_inner_container { 
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
         }
 
         .hot_inner {
            display: flex;
            flex-direction: row;
            gap: 0px;
            box-sizing: border-box;
            padding-top: 13px;
            padding-bottom: 13px;
               /* горизонтальный скролл вместо скрытия */
                overflow-x: auto;                  
                scroll-behavior: smooth;           
                -webkit-overflow-scrolling: touch; /* инерционная прокрутка в iOS */
                touch-action: pan-x pan-y;              /* явно разрешить тач-скролл */
         }

         .hot_inner::-webkit-scrollbar {
            display: none;   /* СКРЫТЬ SCROLL BAR - Chrome, Safari, Edge */
         }


         @media (max-width: 1200px) {
            .hot_inner {
            margin-left: 10px;
            margin-right: 10px;
         }
         }



         .hot_item {
            display: flex;
            flex-direction: column; /* Размещение элементов по вертикали */
            justify-content: flex-start; /* Выровнять элементы по верхнему краю */
            width: 300px;
            flex-shrink: 0;
         }


         /* ===========  ITEM  ===========  */

         .hot_item_topic {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            max-width: 300px;
            margin: 0;
         }


         .hot_item_topic_img {
                width: 100%; /* Адаптивная ширина */
                height: auto; /* Автоматическая высота */
                aspect-ratio: 300 / 346; /* Сохраняет соотношение сторон */
            overflow: hidden; /* Скрывает части изображения, выходящие за рамки */
            position: relative; /* Для правильного позиционирования изображения и текста внутри */
                border-radius: 0px;

         }


         .hot_item_topic_img img {
            width: 100%; /* Растягиваем изображение по ширине контейнера */
            height: 100%; /* Растягиваем изображение по высоте контейнера */
            object-fit: cover; /* Сохраняет соотношение сторон, обрезая лишнее */
            position: absolute;
            top: 50%; /* Центрируем по вертикали */
            left: 50%; /* Центрируем по горизонтали */
            transform: translate(-50%, -50%); /* Сдвигаем для точного центрирования */
                transition: transform 0.3s ease;  /* Увеличение при ховере */
         }

         .hot_item_topic_img:hover img {
                transform: translate(-50%, -50%) scale(1.06);  /* Увеличение при ховере */
         }




         .hot_item_text {
            position: absolute;
            bottom: 0;  /* прижат к низу */
            left: 0;
            right: 0;
            padding-left: 22px; /* Отступы вокруг текста */
            padding-right: 22px; /* Отступы вокруг текста */
            padding-bottom: 24px; /* Отступы вокруг текста */
            background: linear-gradient(transparent, rgba(0,0,0,1)); /* Градиент */
            display: flex;
            flex-direction: column; /* Размещение элементов по вертикали */
            align-items: flex-start;
            box-sizing: border-box;
         }


         .hot_item_tag_cont {
            display: flex;
            flex-direction: row;
            justify-content: flex-start; /* Выровнять элементы по верхнему краю */
            align-items: center; /* Центрируем элементы по вертикали */
            gap: 8px;
            margin-bottom: 8px;
         }

         .hot_item_tag a {
            display: flex;
            align-items: center;
            background-color: #d42121;
            color: #ffffff;
            border-radius: 2px;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 7.5px;
            font-weight: normal;
            text-transform: uppercase;
            padding-left: 4px;
            padding-right: 4px;
            height: 19.5px;
            width: max-content; /* Ширина зависит от содержимого */
            white-space: nowrap;
            text-decoration: none;  
               transition: background-color 0.3s ease, color 0.3s ease;
         }

         .hot_item_tag a:hover {
            background-color: #e81717;
            color: #ffffff;
         }

         .hot_item_tag_right {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 10px;
            font-weight: normal;
            color: #ffffff;
         }


        .hot_item_topic_title {
            font-family: Exo-Bold;
            text-align: left;
            font-size: 20.3px;
            font-weight: normal;
            line-height: 25.3px;
            color: #ffffff;
                display: block; /* Позволяет тексту вести себя как блочный элемент */
                max-height: calc(25.3px * 3); /* Ограничиваем высоту N строками */
                overflow: hidden; /* Обрезаем лишний текст */
               transition: transform 0.3s ease;
        }

        .hot_item_topic_title:hover {
               transform: translateX(2px);
        }

        .hot_item_topic_title a {
            color: #ffffff;
            text-decoration-line: underline;       /* всегда подчеркивание */
            text-decoration-color: transparent;    /* но изначально невидимое */
            text-decoration-thickness: 1px;        /* толщина линии */
            text-underline-offset: 2px;            /* небольшой отступ от текста */
            transition: text-decoration-color 0.3s ease; /* плавное появление/исчезновение */
        }

        .hot_item_topic_title a:hover {
            text-decoration-color: #ffffff;
        }




         .hot_item_info {
            display: flex;
            flex-direction: row; /* Размещение элементов по горизонтали */
            justify-content: flex-start; /* Выровнять элементы по верхнему краю */
            height: auto;
            width: 100%;
            margin-top: 11px;
                opacity: 0.73;
         }


         .hot_item_info_author {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 10px;
            font-weight: bold;
            text-transform: uppercase;
            color: #ffffff;
         }

         .hot_item_info_author a {
            color: #ffffff;
            text-decoration-line: underline;       /* всегда подчеркивание */
            text-decoration-thickness: 0.5px;        /* толщина линии */
            text-underline-offset: 2.5px;            /* небольшой отступ от текста */
            text-decoration-color: #ffffff;
            transition: text-decoration-color 0.3s ease; /* плавное появление/исчезновение */
         }

         .hot_item_info_author a:hover {
            color: #ffffff;
            text-decoration-color: transparent; 
         }



         .hot_item_info_divider {
            width: 1.5px;
            height: 1.5px;
            background-color: #ffffff;
            margin-top: 5px;
            margin-left: 6px;
            margin-right: 6px;
         }

         .hot_item_info_date {
            font-family: Helvetica, Arial, sans-serif;
            text-align: left;
            font-size: 10px;
            font-weight: bold;
            color: #ffffff;
            margin-bottom: 0px;
            text-transform: uppercase;
         }





         /* ===========  SELECTOR  ===========  */

    /* Контейнер-оверлей для навигационных кнопок */
    .hot_nav_overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none; /* оверлей не блокирует клики */
    }
    .hot_nav_overlay .hot_nav {
      pointer-events: auto;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px;
      height: 42px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      z-index: 10;
    }
    .hot_nav_overlay .hot_nav_left {
      left: 12px;
      background-image: url("../img/hot/arrow_l.png");
    }
    .hot_nav_overlay .hot_nav_left::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url("../img/hot/arrow_l_hover.png");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .hot_nav_overlay .hot_nav_left:hover::after {
      opacity: 1;
    }
    .hot_nav_overlay .hot_nav_right {
      right: 12px;
      background-image: url("../img/hot/arrow_r.png");
    }
    .hot_nav_overlay .hot_nav_right::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: url("../img/hot/arrow_r_hover.png");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .hot_nav_overlay .hot_nav_right:hover::after {
      opacity: 1;
    }






