.news-archive {
  background: #fff;
  color: #151515;
  font-family: var(--site-font-body, "Roboto", "Poppins", "Helvetica Neue", Arial, sans-serif);
}

.news-archive *,
.news-archive *::before,
.news-archive *::after {
  box-sizing: border-box;
}

.news-archive .container {
  width: 85%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.news-category-tabs {
  width: 100%;
  border-bottom: 1px solid #eceff1;
  background: #fff;
}

.news-category-tabs .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 78px);
  min-height: 64px;
}

.news-category-tabs__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  color: #252525;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.22s ease;
}

.news-category-tabs__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #ef4b00;
  opacity: 0;
  transform: scaleX(0.42);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.news-category-tabs__link:hover,
.news-category-tabs__link:focus-visible,
.news-category-tabs__link.is-active {
  color: #ef4b00;
}

.news-category-tabs__link:hover::after,
.news-category-tabs__link:focus-visible::after,
.news-category-tabs__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.news-content-section {
  width: 100%;
  padding: clamp(34px, 4vw, 56px) 0 clamp(62px, 6vw, 96px);
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 75, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f8fa 0, #fff 220px);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(28px, 3vw, 44px);
  align-items: start;
}

.news-list {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: clamp(22px, 2.4vw, 34px);
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.06);
  animation: news-card-enter 0.68s ease both;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.news-card:nth-child(2) {
  animation-delay: 0.08s;
}

.news-card:nth-child(3) {
  animation-delay: 0.16s;
}

.news-card:nth-child(4) {
  animation-delay: 0.24s;
}

.news-card:hover {
  border-color: rgba(239, 75, 0, 0.24);
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(20, 20, 20, 0.11);
}

.news-card__image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #f2f2f2;
}

.news-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.news-card:hover .news-card__image {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.04);
}

.news-card__date {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 52px;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 26px rgba(20, 20, 20, 0.18);
}

.news-card__date strong {
  padding-top: 6px;
  background: #ef4b00;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.news-card__date span {
  padding-bottom: 6px;
  background: #ef4b00;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.news-card__date em {
  padding: 6px 0;
  color: #222;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.1;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-card__title {
  margin: 0 0 14px;
  line-height: 1.2;
  font-weight: 900;
}

.news-card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: #111;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.22s ease;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
  color: #ef4b00;
}

.news-card__excerpt {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #666;
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__read-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ef4b00;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.news-card__read-more:hover,
.news-card__read-more:focus-visible {
  background: #151515;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(239, 75, 0, 0.18);
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  color: #777;
  font-size: 13px;
}

.news-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 20px;
  transition: color 0.22s ease;
}

.news-card__meta-icon {
  width: 16px;
  height: 16px;
  color: #ef4b00;
  font-size: 16px;
  line-height: 1;
  transition: color 0.22s ease, transform 0.22s ease;
}

.news-card:hover .news-card__meta-icon {
  color: #151515;
  transform: translateY(-1px);
}

.news-card__meta-icon::before {
  display: block;
}

.news-sidebar {
  display: grid;
  gap: 22px;
}

.news-sidebar-card {
  padding: clamp(24px, 2.5vw, 32px);
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.06);
}

.news-sidebar-card h2 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  color: #151515;
  font-size: 22px;
  line-height: 1.2;
}

.news-sidebar-card h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #ef4b00;
}

.news-message-form {
  display: grid;
  gap: 14px;
}

.news-message-form input,
.news-message-form textarea {
  width: 100%;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #faf8f4;
  color: #151515;
  font-size: 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.news-message-form input {
  min-height: 46px;
  padding: 0 14px;
}

.news-message-form textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.news-message-form input:focus,
.news-message-form textarea:focus {
  border-color: #ef4b00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(239, 75, 0, 0.1);
}

.news-message-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #ef4b00;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.news-message-form button:hover,
.news-message-form button:focus-visible {
  background: #151515;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(239, 75, 0, 0.18);
}

.news-featured-products__list {
  display: grid;
  gap: 18px;
}

.news-featured-product {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: #151515;
  text-decoration: none;
}

.news-featured-product img {
  display: block;
  width: 74px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background: #f2f2f2;
}

.news-featured-product span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.news-featured-product strong {
  display: -webkit-box;
  overflow: hidden;
  color: #151515;
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.22s ease;
}

.news-featured-product em {
  color: #ef4b00;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.news-featured-product:hover strong,
.news-featured-product:focus-visible strong {
  color: #ef4b00;
}

.news-featured-products__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  border: 1px solid #ef4b00;
  border-radius: 6px;
  color: #ef4b00;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.news-featured-products__all:hover,
.news-featured-products__all:focus-visible {
  background: #ef4b00;
  color: #fff;
}

.news-pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.news-pagination .page-numbers .current,
.news-pagination .page-numbers a:hover,
.news-pagination .page-numbers a:focus-visible {
  border-color: #ef4b00;
  background: #ef4b00;
  color: #fff;
  transform: translateY(-2px);
}

.news-empty {
  padding: 52px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(20, 20, 20, 0.06);
}

@keyframes news-card-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1080px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  .news-archive .container {
    width: min(92%, 680px);
  }

  .news-category-tabs .container {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
  }

  .news-category-tabs__link {
    flex: 0 0 auto;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .news-card__image {
    aspect-ratio: 1.55;
  }

  .news-card__title {
    font-size: 20px;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card {
    animation: none;
  }

  .news-card,
  .news-card__image,
  .news-category-tabs__link,
  .news-card__read-more,
  .news-message-form input,
  .news-message-form textarea,
  .news-message-form button,
  .news-featured-products__all {
    transition: none;
  }
}
