    /* Основные стили */
    
    body {
      font-family: 'Inter', sans-serif;
      margin: 0;
      padding: 0;
    }

    /* Изолированный блок */
    .isolated-scroll-message-section {
      width: 100%;
      margin: 40px 0;
      isolation: isolate;
      font-family: 'Inter', sans-serif;
    }

    .scroll-message-container {
      overflow-x: auto;
      scroll-behavior: smooth;
      -ms-overflow-style: none;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      box-sizing: border-box;
      scrollbar-width: none;
      cursor: grab;
    }

    .scroll-message-container::-webkit-scrollbar {
      display: none;
    }



    .messages-container {
      display: inline-flex;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      grid-auto-rows: 360px;
      gap: 20px;
      padding-bottom: 20px;
      width: max-content;
      height: 400px;
    }

    /* Стили карточек */
    .message {
      background-color: #1f1f1f;
      border-top: 3px solid #1f1f1f;
      position: relative;
      clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0 100%
      );
      padding: 25px;
      box-sizing: border-box;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      font-family: 'Inter', sans-serif;
      width: 350px;
      text-align: left; /* Выравнивание по левому краю */
    }

    .message-content {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: space-between;
    }

    .message h3 {
      margin: 0 0 15px;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      text-align: left;
      letter-spacing: 0.5px;
    }

    .message p {
      font-size: 14px;
      line-height: 1.5;
      margin: 0;
      text-align: left;
      font-weight: 400;
    }

    .message-content img {
      max-height: 170px;
      width: auto;

    }

    .message-content video {
      max-height: 170px;
      width: auto;

    }

    .message-footer {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 20px;
    }

    .icon-button-news {
      width: 40px;
      height: 40px;
      background-color: #881515;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      cursor: pointer;
      flex-shrink: 0;
      transition: background-color 0.3s;
    }

    .icon {
      width: 24px;
      height: 24px;
    }

    .more-text {
      color: #cb6d51;
      font-weight: 600;
      font-size: 14px;
      text-decoration: none;
      transition: color 0.3s;
    }

    /* Стили для точек навигации */
    .slider-controls {
      display: flex;
    }

    .slider-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: #2e2e2e;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .slider-dot.active {
      background-color: #8539CD;
    }   
    
    .update_button {
      width: 50px;
      height: 50px;
    }
