/* NOSTALGEEK · stage-only repair of media-first homepage cards.
   Exact existing artwork, no artificial thumbnail and no title truncation. */
#home.homepage-v2.ng-media-first .mf-hero-grid .hp-story,
#home.homepage-v2 .hp-magazine-grid .hp-story {
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  position: relative !important;
}
#home.homepage-v2.ng-media-first .mf-hero-grid .hp-story h3,
#home.homepage-v2 .hp-magazine-grid .hp-story h3 {
  display: block !important;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  text-transform: none !important;
  font-size: clamp(17px,1.55vw,22px) !important;
  line-height: 1.3 !important;
  letter-spacing: -.025em !important;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
#home.homepage-v2.ng-media-first .mf-hero-grid .hp-story h3 a,
#home.homepage-v2 .hp-magazine-grid .hp-story h3 a {
  display: inline !important;
  overflow: visible !important;
  white-space: inherit !important;
  text-overflow: clip !important;
  text-transform: inherit !important;
  color: inherit !important;
}
#home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-story-copy,
#home.homepage-v2 .hp-magazine-grid .hp-story .hp-story-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  position: static !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
#home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-link,
#home.homepage-v2 .hp-magazine-grid .hp-story .hp-link {
  display: inline-flex !important;
  align-self: flex-start !important;
  flex: 0 0 auto !important;
  width: auto !important;
  white-space: normal !important;
  margin-top: auto !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story .news-visual.has-image,
#home.homepage-v2 .hp-magazine-grid .hp-story .hp-story-image {
  min-width: 0 !important;
  overflow: hidden !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story .news-image-backdrop {
  display: none !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story .news-visual.has-image img.news-image-main {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  inset: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  padding: 0 !important;
  filter: none !important;
  opacity: 1 !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story--text-only {
  display: block !important;
  background: #fff5ec !important;
  border-left: 4px solid #c63445 !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story--text-only .hp-story-copy {
  padding: 18px !important;
  min-height: 0 !important;
}

@media (max-width: 760px) {
  #home.homepage-v2.ng-media-first .mf-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-auto-rows: auto !important;
    gap: 13px !important;
    align-items: start !important;
    overflow: visible !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid > #homeNewsLead,
  #home.homepage-v2.ng-media-first .mf-hero-grid > #homeNewsLatest {
    display: contents !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story {
    display: grid !important;
    grid-template-columns: minmax(106px,29%) minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid #e3d8cb !important;
    border-radius: 13px !important;
    box-shadow: 0 5px 16px rgba(34,26,21,.08) !important;
    background: #fffaf4 !important;
    color: #242126 !important;
    width: 100% !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story::before,
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story::after {
    content: none !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story-feature {
    grid-template-columns: minmax(0,1fr) !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-story-image {
    display: block !important;
    position: relative !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 158px !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 10px !important;
    align-self: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #efe7df !important;
    aspect-ratio: auto !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story-feature .hp-story-image {
    height: 205px !important;
    min-height: 205px !important;
    padding: 12px !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .news-visual.has-image {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .news-visual img.news-image-main {
    position: absolute !important;
    inset: 0 !important;
    aspect-ratio: auto !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-story-copy {
    grid-column: auto !important;
    padding: 17px !important;
    gap: 8px !important;
    background: transparent !important;
    color: #242126 !important;
    border: 0 !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story-feature .hp-story-copy {
    padding: 18px 20px 20px !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-story-category,
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .retro-story-date {
    position: static !important;
    color: #9e3443 !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story h3 {
    font-size: clamp(16px,4.25vw,20px) !important;
    line-height: 1.33 !important;
    margin: 4px 0 8px !important;
    color: #242126 !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story-feature h3 {
    font-size: clamp(21px,5.3vw,27px) !important;
    line-height: 1.23 !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story p {
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    max-height: none !important;
    font-size: 13px !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story .hp-link {
    padding: 6px 0 !important;
    font-size: 12px !important;
    color: #a32f3b !important;
    background: transparent !important;
    border: 0 !important;
    text-decoration: underline !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story--text-only {
    display: block !important;
    padding: 0 !important;
  }
  #home.homepage-v2.ng-media-first .mf-hero-grid .hp-story--text-only .hp-story-copy {
    padding: 18px !important;
  }
}

/* Never reserve a poster column for an absent or failed image. */
#home.homepage-v2 .hp-magazine-grid .hp-story-image:empty {
  display: none !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story:has(> .hp-story-image:empty),
#home.homepage-v2 .hp-magazine-grid .hp-story:has(> .hp-story-image[hidden]) {
  display: block !important;
  background: #fff8f1 !important;
  border-left: 4px solid #b52e3f !important;
}
#home.homepage-v2 .hp-magazine-grid .hp-story:has(> .hp-story-image:empty) .hp-story-copy {
  width: 100% !important;
  padding: 20px !important;
}
