.news-new {
  --news-accent: #009ad3;
  --news-ink: #252b31;
  --news-muted: #6c757d;
  --news-surface: #f4f7f9;
  --news-radius: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 15px 72px;
  color: var(--news-ink);
}

.news-new__header {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 28px;
}

.news-new__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.news-new__date {
  color: var(--news-muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.news-new__back {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--news-surface);
  color: #45515b;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.news-new__back:hover,
.news-new__back:focus {
  background: #e4f4fa;
  color: #007eae;
  outline: none;
  transform: translateX(-2px);
}

.news-new__title {
  margin: 0;
  color: var(--news-ink);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.news-new__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  max-height: 620px;
  margin: 0 0 42px;
  overflow: hidden;
  border-radius: var(--news-radius);
  background: #e9eef1;
  box-shadow: 0 16px 48px rgba(31, 55, 70, .12);
}

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

.news-new__hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 22px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .68));
  color: #fff;
  font-size: 14px;
}

.news-new__body {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  color: #333b42;
  font-size: 18px;
  line-height: 1.75;
}

.news-new__body > :first-child {
  margin-top: 0;
}

.news-new__body > :last-child {
  margin-bottom: 0;
}

.news-new__body p,
.news-new__body ul,
.news-new__body ol,
.news-new__body blockquote {
  margin-bottom: 1.35em;
}

.news-new__body h2,
.news-new__body h3 {
  margin: 1.8em 0 .7em;
  color: var(--news-ink);
  font-weight: 700;
  line-height: 1.25;
}

.news-new__body a {
  color: #008bbc;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-new__body blockquote {
  padding: 8px 0 8px 24px;
  border-left: 4px solid var(--news-accent);
  color: #4a555d;
  font-size: 20px;
}

.news-new__gallery-section {
  margin-top: 54px;
}

.news-new__gallery-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.news-new__gallery-heading h2 {
  margin: 0;
  color: var(--news-ink);
  font-size: 26px;
  font-weight: 700;
}

.news-new__gallery-heading span {
  display: inline-grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #e4f4fa;
  color: #007eae;
  font-size: 14px;
  font-weight: 700;
}

.news-new__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-new__gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #e9eef1;
  cursor: zoom-in;
}

.news-new__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}

.news-new__gallery-item:hover img,
.news-new__gallery-item:focus img {
  transform: scale(1.035);
  filter: brightness(.84);
}

.news-new__gallery-item:focus-visible {
  outline: 3px solid rgba(0, 154, 211, .5);
  outline-offset: 3px;
}

.news-new__zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #007eae;
  font-size: 28px;
  font-weight: 300;
  opacity: 0;
  transform: translate(-50%, -45%);
  transition: opacity .2s ease, transform .2s ease;
}

.news-new__gallery-item:hover .news-new__zoom,
.news-new__gallery-item:focus .news-new__zoom {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.news-new__tags {
  width: 100%;
  max-width: 820px;
  margin: 42px auto 0;
}

.news-new-lightbox {
  position: fixed;
  z-index: 1055;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.news-new-lightbox.is-open {
  display: flex;
}

.news-new-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 22, .92);
  cursor: zoom-out;
}

.news-new-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(94vw, 1280px);
  height: min(88vh, 860px);
  align-items: center;
  justify-content: center;
}

.news-new-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 50px);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.news-new-lightbox__close,
.news-new-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease;
}

.news-new-lightbox__close:hover,
.news-new-lightbox__close:focus,
.news-new-lightbox__nav:hover,
.news-new-lightbox__nav:focus {
  background: rgba(255, 255, 255, .28);
  outline: none;
}

.news-new-lightbox__close {
  top: 0;
  right: 0;
  font-size: 30px;
  line-height: 1;
}

.news-new-lightbox__nav {
  top: 50%;
  font-size: 40px;
  transform: translateY(-50%);
}

.news-new-lightbox__nav--previous {
  left: 0;
}

.news-new-lightbox__nav--next {
  right: 0;
}

.news-new-lightbox__caption {
  position: absolute;
  right: 70px;
  bottom: 0;
  left: 70px;
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 15px;
}

body.news-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .news-new {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .news-new__title {
    font-size: clamp(28px, 9vw, 38px);
  }

  .news-new__hero {
    min-height: 220px;
    margin-right: -15px;
    margin-bottom: 32px;
    margin-left: -15px;
    width: calc(100% + 30px);
    border-radius: 0;
  }

  .news-new__body {
    font-size: 17px;
    line-height: 1.68;
  }

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

  .news-new__gallery-item {
    border-radius: 10px;
  }

  .news-new-lightbox {
    padding: 12px;
  }

  .news-new-lightbox__content {
    width: 100%;
    height: 92vh;
  }

  .news-new-lightbox__nav {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .news-new-lightbox__nav--previous {
    left: 0;
  }

  .news-new-lightbox__nav--next {
    right: 0;
  }

  .news-new-lightbox__caption {
    right: 58px;
    bottom: 12px;
    left: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-new__back,
  .news-new__gallery-item img,
  .news-new__zoom {
    transition: none;
  }
}

