#jml-home-release-root .jml-news {
  --news-ink: #171c1f;
  --news-border: #dce0e2;
  --news-accent: #c52426;
  --news-yellow: var(--yellow, #ffc400);
  --news-heading: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  padding-block: clamp(3.5rem, 7vw, 6.75rem);
  background: #fff;
  color: var(--news-ink);
}

#jml-home-release-root .jml-news__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.3rem, 2.4vw, 2.1rem);
}

#jml-home-release-root .jml-news__heading {
  margin: 0;
  font: 700 clamp(2.85rem, 5.1vw, 5rem)/.94 var(--news-heading);
  letter-spacing: -.019em;
}

#jml-home-release-root .jml-news__heading::before {
  content: "";
  display: block;
  width: 2.45rem;
  height: .25rem;
  margin-bottom: .75rem;
  background: var(--news-accent);
}

#jml-home-release-root .jml-news__more {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--news-ink);
  font-size: .875rem;
  font-weight: 800;
  white-space: nowrap;
}

#jml-home-release-root .jml-news__more .arrow { color: var(--news-accent); }

#jml-home-release-root .jml-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 1.1vw, 1rem);
  min-height: clamp(28rem, 38vw, 34rem);
}

#jml-home-release-root .jml-news__lead { grid-area: 1 / 1 / 3 / 2; }
#jml-home-release-root .jml-news__tall { grid-area: 1 / 2 / 3 / 3; }
#jml-home-release-root .jml-news__rental { grid-area: 1 / 3; }
#jml-home-release-root .jml-news__mobilization { grid-area: 2 / 3; }

#jml-home-release-root .jml-news-card {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #242a2c;
  color: #fff;
}

#jml-home-release-root .jml-news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .38s var(--ease, ease);
}

#jml-home-release-root .jml-news-card:not(.jml-news-card--compact) .jml-news-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

#jml-home-release-root .jml-news-card:not(.jml-news-card--compact)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #0a1013 0%, #0a1013ed 13%, #0a1013a8 33%, #0a101300 68%);
}

#jml-home-release-root .jml-news__lead .jml-news-card__image { object-position: 54% center; }
#jml-home-release-root .jml-news__tall .jml-news-card__image { object-position: 53% center; }

#jml-home-release-root .jml-news-card__content {
  position: relative;
  display: grid;
  align-content: end;
  gap: .5rem;
  min-width: 0;
  padding: clamp(1.15rem, 2.2vw, 2rem);
  padding-right: clamp(3.25rem, 5vw, 4.5rem);
}

#jml-home-release-root .jml-news-card__topic {
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--news-yellow);
}

#jml-home-release-root .jml-news-card__title {
  margin: 0;
  font: 700 clamp(1.8rem, 2.6vw, 2.7rem)/1 var(--news-heading);
}

#jml-home-release-root .jml-news__lead .jml-news-card__title {
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  text-wrap: balance;
}

#jml-home-release-root .jml-news-card__detail {
  margin: .2rem 0 0;
  color: #e2e6e7;
  font-size: .86rem;
  line-height: 1.55;
}

#jml-home-release-root .jml-news-card__indicator {
  position: absolute;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--news-yellow);
  color: var(--news-ink);
}

#jml-home-release-root .jml-news-card--compact {
  grid-template-rows: minmax(6.5rem, 1fr) auto;
  align-items: stretch;
  background: #fff;
  color: var(--news-ink);
  outline: 1px solid var(--news-border);
  outline-offset: -1px;
}

#jml-home-release-root .jml-news-card__thumb { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; }
#jml-home-release-root .jml-news-card--compact .jml-news-card__image { position: absolute; inset: 0; object-position: center 56%; }
#jml-home-release-root .jml-news-card--compact .jml-news-card__content {
  align-content: start;
  padding: .75rem 2.75rem .875rem .9rem;
}
#jml-home-release-root .jml-news-card--compact .jml-news-card__topic { color: #a51d25; }
#jml-home-release-root .jml-news-card--compact .jml-news-card__title { font-size: clamp(1.35rem, 2vw, 1.85rem); }
#jml-home-release-root .jml-news-card--compact .jml-news-card__indicator {
  width: 1.75rem;
  height: 1.75rem;
  right: .65rem;
  bottom: .75rem;
  background: transparent;
  color: var(--news-accent);
}

#jml-home-release-root .jml-news-card:focus-visible {
  outline: 3px solid #1686b3;
  outline-offset: 3px;
  z-index: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #jml-home-release-root .jml-news-card:hover .jml-news-card__image { transform: scale(1.035); }
}

@media (hover: hover) {
  #jml-home-release-root .jml-news-card:hover .jml-news-card__title { text-decoration: underline; text-underline-offset: .12em; }
}

@media (max-width: 62rem) {
  #jml-home-release-root .jml-news__grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    grid-template-rows: minmax(22rem, auto) minmax(13rem, auto);
    min-height: 0;
  }

  #jml-home-release-root .jml-news__lead { grid-area: 1 / 1; }
  #jml-home-release-root .jml-news__tall { grid-area: 1 / 2; }
  #jml-home-release-root .jml-news__rental { grid-area: 2 / 1; }
  #jml-home-release-root .jml-news__mobilization { grid-area: 2 / 2; }

  #jml-home-release-root .jml-news-card:not(.jml-news-card--compact)::after {
    background: linear-gradient(0deg, #0a1013 0%, #0a1013ed 28%, #0a1013c2 68%, #0a101300 97%);
  }
}

@media (max-width: 37.5rem) {
  #jml-home-release-root .jml-news__header { align-items: start; flex-direction: column; gap: .65rem; }
  #jml-home-release-root .jml-news__more { min-height: 2.75rem; }
  #jml-home-release-root .jml-news__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: .75rem; }
  #jml-home-release-root .jml-news__grid > article { grid-area: auto; }
  #jml-home-release-root .jml-news__lead .jml-news-card { min-height: 20rem; }
  #jml-home-release-root .jml-news__tall .jml-news-card { min-height: 15rem; }
  #jml-home-release-root .jml-news__lead .jml-news-card__title { font-size: clamp(2rem, 9vw, 2.4rem); }
  #jml-home-release-root .jml-news__tall .jml-news-card__title { font-size: clamp(1.55rem, 5.6vw, 1.8rem); }
  #jml-home-release-root .jml-news-card--compact {
    grid-template-columns: minmax(0, .89fr) minmax(0, 1.45fr);
    grid-template-rows: minmax(6.7rem, 1fr);
  }
  #jml-home-release-root .jml-news-card--compact .jml-news-card__content { align-content: center; }
}
