.news {
  background: #f7f8fa;
  padding: 88px 0 100px;
}

.news__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 0px;
}

.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.news__head-text {
  flex: 1;
  min-width: 0;
}

.news__label {
  margin-bottom: 16px;
  color: #0070d5;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 30px;
}

.news__title {
  color: #000000;
  font-size: 40px;
  font-weight: var(--font-weight-normal);
  line-height: 56px;
  letter-spacing: 0.02em;
}

.news__head-btn {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #0070d5;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(0, 112, 213, 0);
  transition: background 0.3s ease,
 border-color 0.3s ease,
 box-shadow 0.35s ease;
}

.news__head-btn svg {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.news__head-btn:hover {
  border-color: rgba(160, 220, 255, 0.45);
  background: #005eb8;
  box-shadow: 0 0 0 1px rgba(120, 200, 255, 0.18), 0 0 18px rgba(0, 112, 213, 0.35);
}

.news__head-btn:hover svg {
  transform: translate(2px, -2px);
}

.news__head-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  z-index: 0;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 28%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0.06) 72%, transparent 100%);
  transform: skewX(-22deg);
  transition: left 1.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.news__head-btn:hover::before {
  left: 150%;
}

@media (prefers-reduced-motion: reduce) {
  .news__head-btn::before,
  .news__head-btn svg {
    transition: none;
  }
  .news__head-btn:hover svg {
    transform: none;
  }
}

.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.news__col-mid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
}

.news-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.news-card:hover {
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card--featured {
  height: 100%;
  padding: 33px;
}

.news-card__media {
  flex-shrink: 0;
  overflow: hidden;
}

.news-card__media img {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 20px;
}

.news-card__date {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #999999;
}

.news-card__name {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  color: #1a1a1a;
}

.news-card__desc {
  flex: 0 0 auto;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: #666666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--compact .news-card__desc,
.news-card--cover .news-card__desc {
  -webkit-line-clamp: 3;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

.news-card__tag {
  font-size: 13px;
  font-weight: 400;
  color: #999999;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.news-card__link:hover {
  color: #0052d9;
}

.news-card--compact {
  flex: 1;
}

.news-card--compact .news-card__body {
  padding: 28px 24px 20px;
}

.news-card--compact .news-card__name {
  font-size: 17px;
}

.news-card--cover {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  background: #1a1a1a;
}

.news-card--cover .news-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.news-card--cover .news-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.45) 58%, rgba(0, 0, 0, 0.82) 100%);
}

.news-card--cover .news-card__overlay-body {
  margin-bottom: 20px;
}

.news-card--cover .news-card__date {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.news-card--cover .news-card__name {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
  color: #ffffff;
}

.news-card--cover .news-card__desc {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--cover .news-card__foot {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.news-card--cover .news-card__tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.news-card--cover .news-card__link {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.news-card--cover .news-card__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 1600px) and (min-width: 1025px) {
  .news {
    padding: 4.675vw 0 5.3125vw;
  }
  .news__inner {
    max-width: 85vw;
    padding: 0 1.275vw;
  }
  .news__head {
    gap: 1.7vw;
    margin-bottom: 2.55vw;
  }
  .news__label {
    margin-bottom: 0.85vw;
    font-size: 1.275vw;
    line-height: 1.59375vw;
  }
  .news__title {
    font-size: 2.125vw;
    line-height: 2.975vw;
  }
  .news__head-btn {
    gap: 0.53125vw;
    height: 2.3375vw;
    padding: 0 1.275vw;
    border-width: 0.05312vw;
    border-radius: 53.07187vw;
    font-size: 0.85vw;
  }
  .news__head-btn:hover {
    box-shadow: 0 0 0 0.05312vw rgba(120, 200, 255, 0.18), 0 0 0.95625vw rgba(0, 112, 213, 0.35);
  }
  .news__head-btn:hover svg {
    transform: translate(0.10625vw, -0.10625vw);
  }
  .news__grid {
    gap: 1.275vw;
  }
  .news__col-mid {
    gap: 1.275vw;
  }
  .news-card {
    border-radius: 0.6375vw;
  }
  .news-card:hover {
    box-shadow: 0 0.425vw 1.275vw rgba(0, 0, 0, 0.12);
  }
  .news-card--featured {
    padding: 1.75313vw;
  }
  .news-card__media img {
    border-radius: 0.53125vw;
    height: 15.9375vw;
  }
  .news-card__body {
    padding: 1.275vw 1.275vw 1.0625vw;
  }
  .news-card__date {
    margin-bottom: 0.6375vw;
    font-size: 0.74375vw;
  }
  .news-card__name {
    margin-bottom: 0.6375vw;
    font-size: 0.95625vw;
  }
  .news-card__desc {
    margin-bottom: 1.0625vw;
    font-size: 0.74375vw;
  }
  .news-card__foot {
    gap: 0.85vw;
    padding-top: 0.85vw;
  }
  .news-card__tag {
    font-size: 0.69062vw;
  }
  .news-card__link {
    gap: 0.31875vw;
    font-size: 0.69062vw;
  }
  .news-card--compact .news-card__body {
    padding: 1.4875vw 1.275vw 1.0625vw;
  }
  .news-card--compact .news-card__name {
    font-size: 0.90312vw;
  }
  .news-card--cover .news-card__bg {
    border-radius: 0.6375vw;
  }
  .news-card--cover .news-card__overlay {
    padding: 1.7vw 1.4875vw 1.4875vw;
  }
  .news-card--cover .news-card__overlay-body {
    margin-bottom: 1.0625vw;
  }
  .news-card--cover .news-card__date {
    margin-bottom: 0.6375vw;
    font-size: 0.74375vw;
  }
  .news-card--cover .news-card__name {
    margin-bottom: 0.6375vw;
    font-size: 1.0625vw;
  }
  .news-card--cover .news-card__desc {
    font-size: 0.74375vw;
  }
  .news-card--cover .news-card__tag,
  .news-card--cover .news-card__link {
    font-size: 0.69062vw;
  }
}

@media (max-width: 1024px) {
  .news {
    padding: 64px 0 72px;
  }
  .news__title {
    font-size: 36px;
    line-height: 1.3;
  }
  .news__label {
    font-size: 24px;
    line-height: 1.2;
  }
  .news__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .news-card--cover {
    grid-column: 1 / -1;
    min-height: 360px;
  }
  .news-card__media img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .news {
    padding: 48px 0 56px;
  }
  .news__inner {
    padding: 0 16px;
  }
  .news__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .news__title {
    font-size: 28px;
  }
  .news__label {
    font-size: 20px;
  }
  .news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card--cover {
    min-height: 320px;
  }
  .news-card--featured {
    padding: 20px;
  }
  .news-card__media img {
    height: 200px;
  }
  .news__col-mid {
    gap: 16px;
  }
}
