:root {
  --news-ink: #091525;
  --news-blue: #1665d8;
  --news-cyan: #24bfe8;
  --news-muted: #5d6d7e;
  --news-bg: #f2f7fa;
  --news-card: #ffffff;
  --news-line: #d8e3eb;
}

* {
  box-sizing: border-box;
}

/*
body {
  margin: 0;
  color: var(--news-ink);
  background: #ffffff;
  font-family: "DM Sans", Arial, sans-serif;
}
  */

.news-dts {
  position: relative;
  overflow: hidden;
  padding: 110px 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 191, 232, 0.08), transparent 28%),
    var(--news-bg);
}

.news-dts::before {
  position: absolute;
  top: -210px;
  left: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(22, 101, 216, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(22,101,216,.014),
    0 0 0 140px rgba(22,101,216,.009);
  content: "";
  pointer-events: none;
}

.news-dts__container {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.news-dts__header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 50px;
}

.news-dts__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 19px;
  color: var(--news-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.news-dts__eyebrow::before {
  width: 29px;
  height: 2px;
  background: var(--news-cyan);
  content: "";
}

.news-dts h2 {
  max-width: 680px;
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2.7rem, 4.7vw, 4.7rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.058em;
}

.news-dts__header-side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}

.news-dts__header-side p {
  max-width: 510px;
  margin: 0 0 22px;
  color: var(--news-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.news-dts__all-link,
.news-dts__mobile-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--news-blue);
  font-weight: 700;
  text-decoration: none;
}

.news-dts__all-link:hover,
.news-dts__mobile-link:hover {
  color: #0d4fae;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--news-line);
  border-radius: 17px;
  background: var(--news-card);
  box-shadow: 0 14px 35px rgba(28, 54, 81, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  box-shadow: 0 24px 55px rgba(28, 54, 81, 0.11);
  transform: translateY(-6px);
}

.news-card__image {
  position: relative;
  display: block;
  height: 225px;
  overflow: hidden;
  background: #0b1c30;
}

.news-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,14,27,.5));
  content: "";
  pointer-events: none;
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-card__category {
  position: absolute;
  z-index: 1;
  bottom: 15px;
  left: 17px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(6, 17, 32, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.news-card__content {
  display: flex;
  min-height: 330px;
  padding: 29px;
  flex-direction: column;
}

.news-card time {
  color: #8594a4;
  font-size: 0.76rem;
  font-weight: 600;
}

.news-card h3 {
  margin: 13px 0 13px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--news-blue);
}

.news-card p {
  margin: 0 0 25px;
  color: var(--news-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.news-card__read {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--news-blue);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.news-card__read span {
  transition: transform 0.2s ease;
}

.news-card__read:hover span {
  transform: translateX(4px);
}

.news-dts__all-link:focus-visible,
.news-dts__mobile-link:focus-visible,
.news-card a:focus-visible {
  outline: 3px solid var(--news-cyan);
  outline-offset: 4px;
}

.news-dts__mobile-link {
  display: none;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .news-dts {
    padding: 88px 28px;
  }

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

  .news-dts__header-side {
    align-items: flex-start;
  }

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

  .news-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }

  .news-card--featured .news-card__image {
    height: auto;
    min-height: 370px;
  }
}

@media (max-width: 640px) {
  .news-dts {
    padding: 72px 20px;
  }

  .news-dts__header-side .news-dts__all-link {
    display: none;
  }

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

  .news-card--featured {
    grid-column: auto;
    display: block;
  }

  .news-card--featured .news-card__image,
  .news-card__image {
    height: 215px;
    min-height: 0;
  }

  .news-card__content {
    min-height: auto;
  }

  .news-dts__mobile-link {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card__image img,
  .news-card__read span {
    transition: none;
  }
}
