.news-page {
  background: #ffffff;
}

.news-page .site-header {
  position: relative;
  background: #18213e;
}

.news-page .site-header.is-sticky {
  position: fixed;
  background: rgba(24, 33, 62, 0.98);
}

.news-page .site-header + .fp-breadcrumb {
  margin-top: 0;
}

/* ------------------------------------------------------------------
   Hero + category tabs
   ------------------------------------------------------------------ */
.news-hero {
  padding-top: 1.85rem;
  border-bottom: 7px solid #dcf0f7;
}

.news-hero__title {
  margin: 0 0 1.35rem;
  font-family: "Bebas Neue Pro", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #18213e;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.4rem;
}

.news-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.4rem;
  padding: 0.85rem 1.35rem;
  font-size: calc(0.83rem + 2px);
  font-weight: 700;
  color: #18213e;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -3px 14px rgba(24, 33, 62, 0.12);
}

.news-tab:hover {
  color: #18213e;
  background: #f2fafd;
}

.news-tab--home {
  min-width: 0;
  width: 3.4rem;
  padding: 0.85rem 0;
  background: #ffffff;
}

.news-tab--home .fp-breadcrumb__home-icon {
  width: calc(1.2rem + 6px);
  height: calc(1.2rem + 6px);
  color: #18213e;
}

.news-tab.is-active,
.news-tab--home.is-active {
  background: #cfeaf4;
}

/* ------------------------------------------------------------------
   Shared section shell
   ------------------------------------------------------------------ */
.news-section {
  padding: 2.75rem 0 3rem;
}

.news-section--tint {
  background: #e6f4fa;
}

.news-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.news-section__title {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #18213e;
}

.news-section__more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #18213e;
  white-space: nowrap;
}

.news-section__more::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  background: #24bad5;
}

.news-section__more:hover {
  color: #24bad5;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .news-grid--2,
  .news-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .news-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: #ffffff;
  border-radius: 0;
  box-shadow: 0 6px 22px rgba(24, 33, 62, 0.13);
}

.news-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1.4rem;
}

.news-card__meta {
  margin: 0 0 0.6rem;
  font-size: 0.815rem;
  font-weight: 400;
  color: #9aa3ae;
}

.news-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.32;
  color: #18213e;
}

.news-card__excerpt {
  margin: 0;
  font-size: calc(0.94rem + 2px);
  line-height: 1.9;
  color: #2f3642;
}

/* ------------------------------------------------------------------
   Latest blog articles
   ------------------------------------------------------------------ */
.news-blog {
  border: 1px solid #dfe5eb;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.news-blog:hover {
  box-shadow: 0 6px 22px rgba(24, 33, 62, 0.13);
}

.news-blog .news-card__media img {
  aspect-ratio: 3 / 2;
}

.news-blog__tag {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  background: #8b85ee;
  border-radius: 0 0 10px 0;
}

/* ------------------------------------------------------------------
   Play button (navy disc + white ring + white triangle)
   ------------------------------------------------------------------ */
.news-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 5.6rem;
  height: 5.6rem;
  place-items: center;
  background: #102a4f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.news-play__ring {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.news-play__ring i {
  margin-left: 0.16rem;
  font-size: 1.85rem;
  line-height: 1;
}

/* ------------------------------------------------------------------
   Latest videos
   ------------------------------------------------------------------ */
.news-video .news-card__media img {
  aspect-ratio: 16 / 9;
}

/* ------------------------------------------------------------------
   Latest stories
   ------------------------------------------------------------------ */
.news-story .news-card__media img {
  aspect-ratio: 1 / 1;
}

.news-story .news-card__body {
  padding: 1rem 1.05rem 1.1rem;
}

.news-story .news-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.04rem;
  line-height: 1.35;
}

.news-story__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  color: #ffffff;
  background: #1c1c1c;
  border-radius: 5px;
}

.news-story__badge i {
  font-size: 0.9rem;
  line-height: 1;
}

.news-story__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.news-story__byline {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.55;
  color: #3a4250;
}

.news-story__share {
  display: grid;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  color: #1c1c1c;
  background: #efefef;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
}

.news-story__share i {
  font-size: 1.05rem;
  line-height: 1;
  transform: scaleX(-1);
}

.news-story__share:hover {
  color: #1c1c1c;
  background: #e4e4e4;
  border-color: #bfbfbf;
}

/* ------------------------------------------------------------------
   Latest webinars
   ------------------------------------------------------------------ */
.news-webinar .news-card__media img {
  aspect-ratio: 16 / 9;
}

.news-webinar__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
}

.news-webinar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #18213e;
  background: #3ab54a;
  border-radius: 5px;
}

.news-webinar__btn:hover,
.news-webinar__btn:focus-visible {
  color: #18213e;
  background: #31a340;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
  .news-play {
    width: 4.4rem;
    height: 4.4rem;
  }
  .news-play__ring {
    width: 2.6rem;
    height: 2.6rem;
    border-width: 2.5px;
  }
  .news-play__ring i {
    font-size: 1.45rem;
  }
}

@media (max-width: 767.98px) {
  .news-hero {
    padding-top: 1.4rem;
  }
  .news-tabs {
    gap: 0.35rem;
  }
  .news-tab {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.7rem 0.95rem;
    font-size: calc(0.78rem + 2px);
  }
  .news-tab--home {
    flex: 0 0 auto;
    width: 2.9rem;
  }
  .news-section {
    padding: 2.1rem 0 2.35rem;
  }
}
