/* NOSTALGEEK · Media-first homepage card layout · mobile canonical component v1
   The homepage Magazine hero and two supporting stories own their geometry here.
   No fixed text heights, truncation, photo cropping or artificial blurred borders.
   This sheet is loaded after all legacy homepage/media integrity styles. */
@media (max-width: 900px) {
  #home.ng-media-first .mf-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: max-content !important;
    align-items: start !important;
    gap: 14px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  #home.ng-media-first .mf-hero-grid > #homeNewsLead,
  #home.ng-media-first .mf-hero-grid > #homeNewsLatest {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    position: static !important;
    overflow: visible !important;
  }
  #home.ng-media-first .mf-hero-grid > #homeNewsLatest {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: max-content !important;
    gap: 14px !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #28201d !important;
    background: #fffaf5 !important;
    border: 1px solid #e2d6cc !important;
    border-radius: 17px !important;
    box-shadow: 0 7px 22px rgba(40,27,20,.075) !important;
    overflow: hidden !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story::before,
  #home.ng-media-first .mf-hero-grid .hp-story::after {
    content: none !important;
    display: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story-image {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    place-items: center !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 205px !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    opacity: 1 !important;
    z-index: 0 !important;
    background: #eee5dd !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-visual,
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-visual.has-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image img.news-image-backdrop,
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-image-backdrop {
    display: none !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image img.news-image-main {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 18px 19px 19px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    color: #28201d !important;
    background: #fffaf5 !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-category,
  #home.ng-media-first .mf-hero-grid .retro-story-date {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #a73240 !important;
    opacity: 1 !important;
    font: 800 12px/1.35 system-ui,-apple-system,sans-serif !important;
    letter-spacing: .08em !important;
    text-transform: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story h3 {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #28201d !important;
    font: 800 clamp(21px,5.5vw,28px)/1.19 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    text-wrap: pretty !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story h3 a {
    color: inherit !important;
    display: inline !important;
    position: static !important;
    text-decoration: none !important;
    white-space: normal !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story p {
    display: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story .hp-link {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    flex: 0 0 auto !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 38px !important;
    max-width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 8px 0 !important;
    color: #a32c39 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font: 800 13px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    text-transform: none !important;
    text-decoration: none !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story-image {
    height: clamp(190px,55vw,255px) !important;
    padding: 13px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story h3 {
    font-size: clamp(25px,6.5vw,34px) !important;
    line-height: 1.14 !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story {
    grid-template-columns: minmax(118px,35%) minmax(0,1fr) !important;
    grid-template-rows: auto !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 218px !important;
    padding: 9px !important;
    align-self: stretch !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 15px 15px 15px 16px !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story h3 {
    font-size: clamp(17px,4.6vw,20px) !important;
    line-height: 1.24 !important;
    letter-spacing: -.03em !important;
  }
}
@media (max-width: 360px) {
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story {
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: auto auto !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 170px !important;
    min-height: 0 !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-copy {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}


/* Desktop and landscape tablets: editorial image and copy remain separate grid
   columns; story height is content-driven, not a clipping mask. */
@media (min-width: 901px) {
  #home.ng-media-first .mf-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1.62fr) minmax(310px,1fr) !important;
    grid-template-rows: auto !important;
    align-items: stretch !important;
    gap: 15px !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead,
  #home.ng-media-first .mf-hero-grid #homeNewsLatest {
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: repeat(2,auto) !important;
    gap: 15px !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story {
    display: grid !important;
    grid-template-rows: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    color: #28201d !important;
    background: #fffaf4 !important;
    border: 1px solid #e2d6cc !important;
    border-radius: 15px !important;
    box-shadow: 0 6px 20px rgba(40,27,20,.065) !important;
    overflow: hidden !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story::before,
  #home.ng-media-first .mf-hero-grid .hp-story::after {
    display: none !important;
    content: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story-image {
    display: grid !important;
    place-items: center !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    background: #eee5dd !important;
    opacity: 1 !important;
    z-index: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-visual,
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-visual.has-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image .news-image-backdrop {
    display: none !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-image img.news-image-main {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 25px 23px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #fffaf4 !important;
    overflow: visible !important;
    color: #28201d !important;
    gap: 10px !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story-category,
  #home.ng-media-first .mf-hero-grid .retro-story-date {
    display: block !important;
    position: static !important;
    color: #ad3540 !important;
    font: 800 12px/1.4 system-ui,-apple-system,sans-serif !important;
    letter-spacing: .08em !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story h3 {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    color: #28201d !important;
    font: 800 22px/1.22 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    letter-spacing: -.03em !important;
    text-transform: none !important;
    text-wrap: pretty !important;
    overflow-wrap: break-word !important;
    margin: 2px 0 6px !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story h3 a {
    color: inherit !important;
    display: inline !important;
    white-space: normal !important;
    text-decoration: none !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story p {
    display: none !important;
  }
  #home.ng-media-first .mf-hero-grid :is(#homeNewsLead,#homeNewsLatest) .hp-story .hp-link {
    display: inline-flex !important;
    align-items: center !important;
    align-self: flex-start !important;
    flex: 0 0 auto !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 38px !important;
    margin: 9px 0 0 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid currentColor !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #a32c39 !important;
    box-shadow: none !important;
    font: 800 13px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story {
    grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr) !important;
    min-height: 435px !important;
    background: #f5ece3 !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story-image {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 22px 13px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: clamp(25px,3vw,40px) !important;
    background: #f5ece3 !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLead .hp-story h3 {
    font-size: clamp(27px,2.9vw,39px) !important;
    line-height: 1.14 !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story {
    grid-template-columns: minmax(125px,36%) minmax(0,1fr) !important;
    min-height: 210px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 12px !important;
    min-height: 205px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 16px 15px 17px 18px !important;
    gap: 8px !important;
  }
  #home.ng-media-first .mf-hero-grid #homeNewsLatest .hp-story h3 {
    font-size: clamp(17px,1.55vw,22px) !important;
    line-height: 1.24 !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story:not(:has(> .hp-story-image)) {
    grid-template-columns: minmax(0,1fr) !important;
  }
  #home.ng-media-first .mf-hero-grid .hp-story:not(:has(> .hp-story-image)) .hp-story-copy {
    grid-column: 1 !important;
  }
}
