/* ============================================================
   NEWS PAGE  —  nw- prefix
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.nw-hero {
  padding: 0 3.75rem;
  padding-top: 2rem;
  background: #fff;
}

.nw-hero__inner {
  position: relative;
  max-width: 1320px;
  height: 526px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  background: linear-gradient(226deg, #314972 26%, #6374ED 61%, #326DC9 100%);
}

.nw-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
}

.nw-hero__deco {
  position: absolute;
  width: 375px;
  height: 527px;
  opacity: 0.30;
  border: 5px solid #415799;
  pointer-events: none;
}

.nw-hero__deco--top {
  left: -60px;
  top: -272px;
  transform: rotate(-15deg);
  transform-origin: top left;
}

.nw-hero__deco--bottom {
  left: 54px;
  top: 761px;
  transform: rotate(-152deg);
  transform-origin: top left;
}

.nw-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.nw-hero__content {
  position: absolute;
  left: 72px;
  top: 114px;
  width: 739px;
  display: flex;
  flex-direction: column;
  gap: 3.625rem;
}

.nw-hero__title {
  color: #fff;
  font-size: 3.625rem;
  font-weight: 700;
  line-height: 1.103;
  margin: 0;
}

.nw-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.3125rem;
}

.nw-hero__btn {
  height: 49px;
  padding: 1rem 1.5rem;
  border-radius: 40px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nw-hero__btn:hover { background: rgba(255,255,255,0.10); }

.nw-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #fff;
}

.nw-hero__meta-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.nw-hero__meta-dot {
  width: 5.59px;
  height: 5.95px;
  background: #D9D9D9;
  border-radius: 50%;
}

.nw-hero__meta-date {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Floating preview card */
.nw-hero__card {
  position: absolute;
  right: 72px;
  bottom: 50px;
  width: 493px;
  padding: 0.909rem;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0px 7.28px 14.55px -3.64px rgba(24, 26, 42, 0.12);
  border-radius: 23px;
  border: 0.61px solid #737373;
  display: flex;
  align-items: center;
  gap: 0.909rem;
  backdrop-filter: blur(4px);
}

.nw-hero__card-img {
  width: 99px;
  height: 126px;
  border-radius: 8.5px;
  object-fit: cover;
  background: #D9D9D9;
  flex-shrink: 0;
}

.nw-hero__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.909rem;
}

.nw-hero__card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #D0D0D0;
  font-size: 0.711rem;
  font-weight: 600;
}

.nw-hero__card-dot {
  width: 4.54px;
  height: 4.83px;
  background: #484444;
  border-radius: 50%;
}

.nw-hero__card-meta-date {
  font-weight: 500;
}

.nw-hero__card-title {
  color: #fff;
  font-size: 1.2125rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.nw-hero__card-read {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  color: #fff;
  font-size: 0.876rem;
  font-weight: 400;
  text-decoration: none;
}

.nw-hero__card-arrow {
  width: 21px;
  height: 21px;
  background: #071738;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ── TRENDING NEWS ────────────────────────────────────────── */
.nw-trending {
  background: linear-gradient(180deg, #fff 0%, #F4F8FE 100%);
  padding: 4rem 3.75rem 5rem;
}

.nw-trending__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.nw-trending__title {
  color: #071738;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.nw-trending__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* News card */
.nw-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nw-card__img {
  width: 100%;
  height: 238.5px;
  object-fit: cover;
  border-radius: 16px;
  background: #D9D9D9;
  display: block;
}

.nw-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nw-card__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #6E6E6E;
  font-size: 0.875rem;
}

.nw-card__meta-label { font-weight: 600; }
.nw-card__meta-dot {
  width: 5.59px;
  height: 5.95px;
  background: #D9D9D9;
  border-radius: 50%;
}
.nw-card__meta-date { font-weight: 500; }

.nw-card__title {
  color: #071738;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.nw-card__read {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nw-card__read-label {
  color: #6E6E6E;
  font-size: 1rem;
  font-weight: 400;
}

.nw-card__arrow {
  width: 24px;
  height: 24px;
  background: #071738;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1380px) {
  .nw-hero {
    padding: 2rem 1.5rem;
  }
  .nw-hero__inner {
    height: auto;
    min-height: 420px;
  }
  .nw-hero__content {
    width: 55%;
  }
  .nw-hero__card {
    width: 360px;
    right: 2rem;
  }
  .nw-trending {
    padding: 3rem 1.5rem 4rem;
  }
}

@media (max-width: 1024px) {
  /* Hero */
  .nw-hero {
    padding: 2rem 1.5rem;
  }
  .nw-hero__inner {
    height: auto !important;
    padding: 3rem 2rem 2.5rem;
    min-height: unset;
  }
  .nw-hero__deco {
    display: none !important;
  }
  .nw-hero__content {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    gap: 2rem;
  }
  .nw-hero__title {
    font-size: 2.25rem;
  }
  .nw-hero__card {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 1.5rem;
  }

  /* Trending */
  .nw-trending {
    padding: 3rem 1.5rem 4rem;
  }
  .nw-trending__title {
    font-size: 2rem;
  }
  .nw-trending__row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .nw-hero__title {
    font-size: 1.75rem;
  }
  .nw-hero__actions {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .nw-trending__title {
    font-size: 1.6rem;
  }
  .nw-trending__row {
    grid-template-columns: 1fr !important;
  }
  .nw-card__img {
    height: 200px !important;
  }
}

@media (max-width: 422px) {
  .nw-hero__card {
    flex-direction: column !important;
    gap: 0.75rem;
    padding: 0;
    overflow: hidden;
  }
  .nw-hero__card-img {
    width: 100% !important;
    height: 200px !important;
    border-radius: 16px 16px 0 0 !important;
    flex-shrink: unset;
    object-fit: contain !important;
    background: #1a1a2e;
  }
  .nw-hero__card-body {
    padding: 0 0.909rem 0.909rem;
  }
}
