/* =========================================================
   HÖFER — new.css
   Страница одной новости
   ========================================================= */

.new-page {
  margin-bottom: 40px;
}

/* ---------- Заголовок и дата ---------- */
.new-page__head {
  margin-bottom: 28px;
}

.new-page__date {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 10px;
}

.new-page__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin: 0 0 12px;
}

.new-page__subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text-muted);
  margin: 0;
}

/* ---------- Баннер ---------- */
.new-page__banner {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-gray-100);
  margin-bottom: 28px;
}

.new-page__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- Бейджи ---------- */
.new-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* ---------- Таблица товаров ---------- */
.new-page__items {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-gray-200);
}

.new-page__items-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid var(--c-red);
}

.items-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.items-table th {
  background: var(--c-gray-50);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-gray-200);
  white-space: nowrap;
}

.items-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-gray-100);
  color: var(--c-text);
  vertical-align: top;
}

.items-table tr:last-child td {
  border-bottom: 0;
}

.items-table tr:hover td {
  background: var(--c-gray-50);
}

.items-table__hf a,
.items-table td a {
  color: var(--c-red);
  font-weight: 600;
  transition: color var(--tr-fast);
}

.items-table__hf a:hover,
.items-table td a:hover {
  color: var(--c-red-hover);
  text-decoration: underline;
}

.items-table__apps {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ---------- Кнопка "Смотреть в каталоге" ---------- */
.new-page__catalog {
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
}

/* ---------- Кнопка "Вернуться" ---------- */
.new-page__back {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--c-gray-200);
  display: flex;
  justify-content: center;
}

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
  .new-page__banner {
    aspect-ratio: 16 / 9;
  }
  .new-page__title {
    font-size: 22px;
  }
  .items-table th,
  .items-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .new-page__items-title {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .new-page__banner {
    aspect-ratio: 4 / 3;
  }
  .new-page__title {
    font-size: 20px;
  }
  .items-table {
    font-size: 12px;
  }
  .items-table th,
  .items-table td {
    padding: 8px 10px;
  }
}