.nbn-news{
    padding-top: 1vw;
}

.nbn-news-grid-2{
  row-gap: 4vw;
}

.nbn-pagination {
  margin-top: 3.2vw;
  display: flex;
  justify-content: center;
  gap: 0.9vw;
}

.nbn-page-link {
  min-width: 2.6vw;
  height: 2.8vw;
  padding: 0 1.3vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6vw;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 27, 45, 0.12);
  color: rgba(15, 27, 45, 0.6);
  text-decoration: none;
  font-size: 1vw;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nbn-page-link:hover {
  border-color: rgba(202, 58, 60, 0.5);
  color: var(--nbn-red);
}

.nbn-page-link.is-active {
  background: var(--nbn-red);
  border-color: var(--nbn-red);
  color: var(--nbn-white);
}

.nbn-news-top {
  padding: 3.4vw 0 0;
}

.nbn-news-top-grid {
  --bs-gutter-x: 2vw;
}

.nbn-news-feature {
  position: relative;
  display: block;
  border-radius: 1.6vw;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1.1vw 3vw rgba(2, 10, 30, 0.1);
  border: 1px solid rgba(25, 118, 255, 0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nbn-news-feature:hover,
.nbn-news-feature:focus-visible {
  transform: translateY(-0.3vw) scale(1.01);
  box-shadow: 0 1.8vw 4vw rgba(2, 10, 30, 0.16);
  border-color: rgba(25, 118, 255, 0.12);
}

.nbn-news-feature-img {
  width: 100%;
  height: 18vw;
  object-fit: cover;
  display: block;
}

.nbn-news-feature-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6vw 2vw 1.4vw;
  background: linear-gradient(180deg, rgba(2, 10, 30, 0) 0%, rgba(2, 10, 30, 0.55) 55%, rgba(2, 10, 30, 0.65) 100%);
  color: rgba(255, 255, 255, 0.96);
}

.nbn-news-feature-title {
  font-size: 1.2vw;
  line-height: 1.4;
}

.nbn-news-feature-date {
  margin-top: 0.8vw;
  font-size: 0.9vw;
  opacity: 0.92;
}

.nbn-news-view {
  padding: 3.4vw 0 6vw;
  background: var(--nbn-white);
}

.nbn-news-view-title {
  text-align: center;
  font-size: 2vw;
  font-weight: 700;
  color: var(--nbn-text);
  margin: 0;
}

.nbn-news-view-body {
  margin-top: 2vw;
}

.nbn-news-view-body p {
  margin: 0 0 1.2vw 0;
  font-size: 0.95vw;
  line-height: 1.9;
  color: var(--nbn-text);
}

.nbn-news-view-body p img {
  /*width: 100%;*/
  height: auto;
  display: block;
}

.nbn-news-view-divider {
  height: 1px;
  background: rgba(15, 27, 45, 0.12);
  margin: 4.4vw 0 2vw;
}

.nbn-news-view-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  width: 90%;
  margin: 0 auto;
}

.nbn-news-view-link {
  color: var(--nbn-text);
  text-decoration: none;
  font-size: 0.95vw;
}

.nbn-news-view-link:hover {
  color: var(--nbn-red);
}

.nbn-news-view-actions {
  margin-top: 2.6vw;
  display: flex;
  justify-content: center;
}

.nbn-news-view-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6vw;
  height: 2.5vw;
  padding: 0 1.2vw;
  border-radius: 999vw;
  background: var(--nbn-red);
  color: var(--nbn-white);
  text-decoration: none;
  font-size: 0.85vw;
  border: 1px solid var(--nbn-red);
  font-weight: 300;
}

.nbn-news-view-back-ic {
  width: 0.85vw;
  height: auto;
  display: block;
}

.nbn-news-view-back:hover {
  background: #b73335;
  border-color: #b73335;
}

@media (max-width: 992px) {
  .nbn-news-top {
    padding: 7vw 0 0;
  }

  .nbn-news-top-grid {
    --bs-gutter-x: 4vw;
    --bs-gutter-y: 4vw;
  }

  .nbn-news-feature {
    border-radius: 4vw;
  }

  .nbn-news-feature-img {
    height: 46vw;
  }

  .nbn-news-feature-overlay {
    padding: 4vw 4.6vw 3.6vw;
  }

  .nbn-news-feature-title {
    font-size: 3.6vw;
  }

  .nbn-news-feature-date {
    margin-top: 2.4vw;
    font-size: 3.2vw;
  }

  .nbn-pagination {
    margin-top: 7vw;
    gap: 2vw;
  }

  .nbn-page-link {
    min-width: 10vw;
    height: 10vw;
    padding: 0 4vw;
    border-radius: 2vw;
    font-size: 3.6vw;
  }

  .nbn-news-view {
    padding: 7vw 0 12vw;
  }

  .nbn-news-view-title {
    font-size: 6.4vw;
  }

  .nbn-news-view-body {
    margin-top: 5vw;
  }

  .nbn-news-view-body p {
    margin-bottom: 3.6vw;
    font-size: 3.6vw;
  }

  .nbn-news-view-divider {
    margin: 6vw 0 5vw;
  }

  .nbn-news-view-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 3vw;
    width: unset;
  }

  .nbn-news-view-link {
    font-size: 3.6vw;
  }

  .nbn-news-view-actions {
    margin-top: 7vw;
  }

  .nbn-news-view-back {
    height: 11vw;
    padding: 0 6vw;
    font-size: 3.6vw;
  }

  .nbn-news-view-back-ic {
    width: 4.6vw;
  }
}

