.latest-feed-block {
  background: var(--latest-feed-bg, var(--wdg-color-primary, #005e97));
  color: var(--latest-feed-text, var(--wdg-color-white, #fff));
  padding-top:calc(var( --wdg-gap-block) + var(--wdg-gap-xsmall));
  padding-bottom: var(--wdg-gap-large);
  padding-left:0;
  padding-right:0;
  --latest-scroll-space: 0px;
}

.latest-feed-block__intro {
  margin-bottom: var(--wdg-gap-small);
}

.latest-feed-block__title {
  margin: 0;
  color: inherit;
  letter-spacing: 0.02em;
  font-size: var(--wdg-font-size-h1-large);
  font-weight: var(--wdg-font-heading-weight, 700);
  padding-left: var(--wdg-gap-larger);
  margin-top:0;
}

.latest-feed {
  display: block;
}

@media (min-width: 50.5em) {
  .latest-feed {
    align-items: flex-start;
    display: flex;
    gap: var(--wdg-gap-xsmall);
    justify-content: space-between;
  }
}

.latest-feed__feature {
  position: relative;
}

@media (min-width: 50.5em) {
  .latest-feed__feature {
    align-self: flex-start;
    flex: 0 0 calc(50% - (var(--wdg-gap-xsmall) / 2));
    max-width: calc(50% - (var(--wdg-gap-xsmall) / 2));
    position: sticky;
    top: 0;
  }
}

.latest-feed__feature-card {
  color: inherit;
  display: block;
  height: var(--latest-feature-h, clamp(24rem, 72vh, 42rem));
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.latest-feed__media {
  overflow: hidden;
}

.latest-feed__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
  width: 100%;
}

.latest-feed__feature-card:hover .latest-feed__media img,
.latest-feed__item-card:hover .latest-feed__media img {
  transform: scale(1.04);
}

.latest-feed__media--feature {
  height: 100%;
}

.latest-feed__feature-content {
  background: linear-gradient(
    to top,
    var(--wdg-color-primary) 0%,
    var(--wdg-color-primary-90) 45%,
    var(--wdg-color-primary-5) 100%
  );
  bottom: 0;
  left: 0;
  padding: var(--wdg-gap-small);
  padding-top: clamp(3rem, 12vh, 8rem);
  position: absolute;
  right: 0;
}

.latest-feed__feature-title {
  color: var(--wdg-color-white);
  font-size: var(--wdg-font-size-h2, 2rem);
  line-height: 1.15;
  margin: 0;
}

.latest-feed__items-viewport {
  align-items: stretch;
  width: 100%;
}

.latest-feed__item {
  display: flex;
}

@media (min-width: 50.5em) {
  .latest-feed__items-viewport {
    flex: 1 1 auto;
    max-height: var(--latest-feature-h);
    overflow: hidden;
    width: calc(50% - (var(--wdg-gap-xsmall) / 2));
  }
}

.latest-feed__items {
  display: grid;
  gap: var(--wdg-gap-small) var(--wdg-gap-xsmall);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 50.4375em) {
  .latest-feed__feature-card {
    height: auto;
    min-height: 20rem;
  }

  .latest-feed__items {
    grid-template-columns: 1fr;
  }
}

.latest-feed__item-card {
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  text-decoration: none;
}

.latest-feed__media--item {
  aspect-ratio: 16 / 9;
  margin-bottom: var(--wdg-gap-xxsmall);
}

.latest-feed__item-title {
  color: inherit;
  font-size: var(--wdg-font-size-default, 1rem);
  line-height: 1.25;
  margin: 0;
  padding-left: 6px;
  min-height: calc(1.25em * 3);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.latest-feed-block a:hover h2,
.latest-feed-block a:hover h3,
.latest-feed-block a:hover h5,
.latest-feed-block a:focus h2,
.latest-feed-block a:focus h3,
.latest-feed-block a:focus h5,
.latest-feed-block a:focus-visible h2,
.latest-feed-block a:focus-visible h3,
.latest-feed-block a:focus-visible h5 {
  text-decoration: underline;
}

.latest-feed__media-placeholder {
  background: var(--wdg-color-tonal-black-20);
  height: 100%;
  min-height: 8rem;
  width: 100%;
}
