:root {
  --news-accent: #f36b25;
  --news-accent-dark: #dd5917;
  --news-ink: #303238;
  --news-muted: #92959b;
  --news-line: #eceef1;
  --news-surface: #ffffff;
}

.news-modern,
.news-modern .wrap,
.news-modern .container {
  background: #fff !important;
}

.news-modern .container {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1600px;
  padding: clamp(34px, 4vw, 64px) 4% clamp(48px, 6vw, 88px);
}

.news-showcase {
  margin: 0 auto;
  max-width: 1240px;
}

.news-featured {
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(43, 51, 61, .08);
  overflow: hidden;
  position: relative;
}

.news-featured__slide {
  background: var(--news-surface);
  height: auto;
}

.news-featured__link {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, .86fr);
  height: 483px;
  min-height: 0;
}

.news-featured__media {
  align-items: center;
  background: #fafafa;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.news-featured__media img {
  height: 100%;
  object-fit: contain;
  transition: transform .65s cubic-bezier(.2, .75, .25, 1);
  width: 100%;
}

.news-featured__link:hover .news-featured__media img {
  transform: scale(1.025);
}

.news-featured__content {
  align-items: center;
  display: flex;
  padding: 38px clamp(32px, 3.4vw, 52px);
  position: relative;
}

.news-featured__date {
  background: var(--news-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 72px;
  justify-content: center;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 80px;
}

.news-featured__date strong,
.news-card__date strong {
  font-size: 29px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}

.news-featured__date span,
.news-card__date span {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-top: 7px;
}

.news-featured__copy h2 {
  color: var(--news-ink);
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.4;
  margin: 0 0 16px;
  text-wrap: balance;
}

.news-featured__copy p {
  color: var(--news-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
  max-width: 58em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-featured__cta {
  align-items: center;
  background: #f4f4f4;
  border-radius: 9px;
  color: #333;
  display: inline-flex;
  font-size: 14px;
  gap: 22px;
  margin-top: 20px;
  min-width: 132px;
  padding: 13px 18px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.news-featured__cta i {
  font-style: normal;
  transition: transform .25s ease;
}

.news-featured__link:hover .news-featured__cta {
  background: var(--news-accent);
  color: #fff;
  transform: translateY(-2px);
}

.news-featured__link:hover .news-featured__cta i {
  transform: translateX(4px);
}

.news-featured__nav {
  align-items: center;
  bottom: 24px;
  display: flex;
  gap: 14px;
  position: absolute;
  right: 34px;
  z-index: 3;
}

.news-featured__prev,
.news-featured__next {
  background: none;
  border: 0;
  color: #52555a;
  cursor: pointer;
  font-size: 20px;
  height: 32px;
  line-height: 32px;
  padding: 0;
  transition: color .2s ease, transform .2s ease;
  width: 32px;
}

.news-featured__prev:hover,
.news-featured__next:hover {
  color: var(--news-accent);
  transform: scale(1.08);
}

.news-featured__pagination {
  display: flex;
  gap: 14px;
  position: static;
  width: auto;
}

.news-featured__pagination .swiper-pagination-bullet {
  background: transparent;
  color: #9c9da1;
  height: auto;
  margin: 0 !important;
  opacity: 1;
  width: auto;
}

.news-featured__pagination .swiper-pagination-bullet::before {
  content: counter(news-dot, decimal-leading-zero);
  counter-increment: news-dot;
  font-size: 13px;
}

.news-featured__pagination {
  counter-reset: news-dot;
}

.news-featured__pagination .swiper-pagination-bullet-active {
  color: var(--news-accent);
}

.news-grid {
  display: grid;
  gap: clamp(22px, 2.3vw, 30px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 3vw, 38px);
}

.news-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(43, 51, 61, .075);
  min-width: 0;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}

.news-card:hover {
  box-shadow: 0 18px 42px rgba(180, 82, 33, .15);
  transform: translateY(-6px);
}

.news-card > a {
  display: block;
}

.news-card__media {
  align-items: center;
  aspect-ratio: 1.68 / 1;
  background: #fafafa;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.news-card__media img {
  height: 100%;
  object-fit: contain;
  transition: transform .55s cubic-bezier(.2, .75, .25, 1);
  width: 100%;
}

.news-card:hover .news-card__media img {
  transform: scale(1.045);
}

.news-card__body {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 60px minmax(0, 1fr);
  min-height: 112px;
  padding: 18px 22px;
  position: relative;
  transition: background .28s ease, color .28s ease;
}

.news-card__date {
  border-right: 1px solid var(--news-line);
  color: #626469;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
}

.news-card__date strong {
  font-size: 27px;
}

.news-card__copy {
  min-width: 0;
}

.news-card__copy h3 {
  color: #45474b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card__copy p {
  color: #a2a4a8;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__arrow {
  color: #fff;
  font-size: 18px;
  opacity: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  transform: translate(-5px, 5px);
  transition: opacity .25s ease, transform .25s ease;
}

.news-card:hover .news-card__body {
  background: var(--news-accent);
}

.news-card:hover .news-card__date,
.news-card:hover .news-card__copy h3,
.news-card:hover .news-card__copy p {
  color: #fff;
}

.news-card:hover .news-card__date {
  border-color: rgba(255, 255, 255, .42);
}

.news-card:hover .news-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.news-modern .pagebar {
  padding: clamp(38px, 4vw, 56px) 0 0;
}

.news-modern .pagebar .pagination {
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.news-modern .pagination a,
.news-modern .pagination span {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e6e8;
  border-radius: 0;
  box-sizing: border-box;
  color: #606268;
  display: inline-flex;
  font-size: 13px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  min-width: 50px;
  padding: 0 15px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.news-modern .pagination a:hover,
.news-modern .pagination a:focus,
.news-modern .pagination .page-num-current,
.news-modern .pagination .active,
.news-modern .pagination .active a,
.news-modern .pagination .active span {
  background: var(--news-accent);
  border-color: var(--news-accent);
  color: #fff;
}

.news-modern .pagination__total {
  color: #9a9ca1;
  min-width: 88px;
}

.news-empty {
  color: #999;
  padding: 70px 0 20px;
  text-align: center;
}

.news-empty img {
  margin: 0 auto 18px;
  max-width: 260px;
  opacity: .8;
  width: 60%;
}

.news-featured a:focus-visible,
.news-card a:focus-visible,
.news-featured button:focus-visible,
.news-modern .pagination a:focus-visible {
  outline: 3px solid rgba(243, 107, 37, .32);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .news-featured__link {
    grid-template-columns: 1fr 1fr;
    height: 420px;
    min-height: 0;
  }

  .news-featured__content {
    padding: 36px 28px;
  }

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

@media (max-width: 768px) {
  .news-modern .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .news-featured {
    border-radius: 16px;
  }

  .news-featured__link {
    display: block;
    height: auto;
    min-height: 0;
  }

  .news-featured__media {
    aspect-ratio: 1.55 / 1;
  }

  .news-featured__content {
    align-items: flex-start;
    min-height: 250px;
    padding: 34px 24px 66px;
  }

  .news-featured__date {
    height: 68px;
    width: 72px;
  }

  .news-featured__date strong {
    font-size: 26px;
  }

  .news-featured__copy h2 {
    font-size: 20px;
    padding-right: 46px;
  }

  .news-featured__copy p {
    -webkit-line-clamp: 2;
  }

  .news-featured__cta {
    margin-top: 18px;
  }

  .news-featured__nav {
    bottom: 18px;
    right: 18px;
  }

  .news-grid {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .news-card {
    border-radius: 16px;
  }

  .news-card__media {
    aspect-ratio: 1.75 / 1;
  }
}

@media (max-width: 420px) {
  .news-featured__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-featured__copy h2 {
    font-size: 18px;
  }

  .news-card__body {
    gap: 16px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 19px 18px;
  }

  .news-modern .pagination__edge,
  .news-modern .pagination__total {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-featured__media img,
  .news-featured__cta,
  .news-card,
  .news-card__media img,
  .news-card__body {
    transition: none;
  }
}
