/* ==================================================================
   News hub pages – web stories, press & media, video hub
   ================================================================== */

/* Search bar meta (results count) --------------------------------- */
.blog-search__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
}

.blog-search__row .blog-search__form {
  flex: 0 1 28rem;
}

.blog-search__results {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #18213e;
  text-decoration: none;
}

.blog-search__results i {
  font-size: 1.1rem;
  line-height: 1;
  color: #18213e;
}

.blog-search__results:hover {
  color: #18213e;
  text-decoration: underline;
}

/* Web stories grid ------------------------------------------------ */
.stories-section {
  padding: 2rem 0 3rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

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

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

.story-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  color: #ffffff;
  background: #18213e;
  border-radius: 10px;
  text-decoration: none;
}

.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 32, 0.9) 0%, rgba(10, 16, 32, 0.62) 28%, rgba(10, 16, 32, 0) 62%);
}

.story-card:hover img {
  transform: scale(1.04);
}

.story-card__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: #18213e;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.story-card__badge i {
  margin-left: 0.08rem;
  font-size: 1rem;
  line-height: 1;
}

.story-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 0 0.85rem 0.9rem;
}

.story-card__title {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.story-card__meta {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e4e9f1;
}

.story-card:hover .story-card__title {
  color: #ffffff;
  text-decoration: underline;
}

/* Shared hub sidebar (Publications / Videos) ---------------------- */
.hub-section {
  padding: 2rem 0 2.75rem;
}

/* Press & media list ---------------------------------------------- */
.press-feed {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.press-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.15rem;
  background: #ffffff;
  border: 1px solid #e3e7ec;
  transition: box-shadow 0.2s ease;
}

@media (min-width: 576px) {
  .press-item {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1.6rem;
  }
}

.press-item:hover {
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(24, 33, 62, 0.14);
}

.press-item__media {
  display: block;
  text-decoration: none;
}

.press-item__logo {
  display: grid;
  height: 8.1rem;
  place-items: center;
  padding: 0.8rem;
  background: #18213e;
}

.press-item__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.press-item__wordmark {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.01em;
}

.press-item__link {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  background: #4bb8d1;
  text-align: center;
  text-decoration: none;
}

.press-item__link:hover,
.press-item__link:focus-visible {
  color: #ffffff;
  background: #35a7c2;
}

.press-item__body {
  padding: 0.15rem 0.35rem 0.35rem 0;
}

.press-item__title {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #18213e;
}

.press-item__title a {
  color: inherit;
  text-decoration: none;
}

.press-item__title a:hover {
  color: #24bad5;
}

.press-item__date {
  margin: 0 0 0.75rem;
  font-size: 0.815rem;
  color: #2f3642;
}

.press-item__excerpt {
  margin: 0;
  font-size: calc(0.94rem + 2px);
  line-height: 1.8;
  color: #2f3642;
}

/* Video hub list --------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.video-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e3e7ec;
  border-radius: 0;
  transition: box-shadow 0.2s ease;
}

.video-card:hover {
  box-shadow: 0 8px 24px rgba(24, 33, 62, 0.12);
}

.video-card__media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
}

.video-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.video-card__body {
  padding: calc(1rem + 10px) 1.1rem 1.35rem;
}

.video-card__meta {
  margin: 0 0 calc(0.6rem + 10px);
  font-size: 0.815rem;
  color: #9aa3ae;
}

.videos-page .blog-load-more {
  margin-top: calc(0.85rem + 20px);
  margin-bottom: 40px;
}

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

.video-card__title a {
  color: inherit;
  text-decoration: none;
}

.video-card__title a:hover {
  color: #24bad5;
}

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

.video-card .news-play {
  width: 4.4rem;
  height: 4.4rem;
}

.video-card .news-play__ring {
  width: 2.6rem;
  height: 2.6rem;
  border-width: 2.5px;
}

.video-card .news-play__ring i {
  font-size: 1.45rem;
}

/* Video hub detail ------------------------------------------------- */
.vd-section {
  padding: 2.25rem 0 2.75rem;
}

.vd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .vd-layout {
    grid-template-columns: minmax(0, 1fr) 21.5rem;
    gap: 2.75rem;
    align-items: start;
  }
}

.vd-player {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0 0 1.35rem;
  line-height: 0;
}

.vd-player img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vd-player .news-play {
  width: 7rem;
  height: 7rem;
}

.vd-player .news-play__ring {
  width: 4.2rem;
  height: 4.2rem;
}

.vd-player .news-play__ring i {
  font-size: 2.35rem;
}

.vd-title {
  margin: 0 0 0.7rem;
  font-family: "Bebas Neue Pro", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: #18213e;
}

.vd-meta {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  color: #9aa3ae;
}

.vd-meta span {
  margin: 0 0.3rem;
}

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

.vd-content p:last-child {
  margin-bottom: 0;
}

.vd-sidebar {
  align-self: stretch;
}

@media (min-width: 992px) {
  .vd-sidebar {
    padding-left: 1.6rem;
    border-left: 6px solid #24bad5;
  }
}

@media (max-width: 767.98px) {
  .stories-section,
  .hub-section {
    padding: 1.5rem 0 2.25rem;
  }

  .vd-section {
    padding: 1.5rem 0 2.25rem;
  }

  .story-card__title {
    font-size: 0.92rem;
  }
}
