/* The English News hub's skyline and featured headlines. */
main.nr-page[data-news-reference][data-news-headlines] {
  & .nr-hero {
    min-height:0;
  }

  & .nr-hero-copy {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:clamp(132px,11vw,174px);
    padding:20px 28px 23px;
  }

  & .nr-hero-copy>p {
    margin:0;
  }

  & .nr-headlines-top {
    margin:0 0 13px;
    padding:clamp(12px,1.25vw,18px);
    background:linear-gradient(150deg,#f5f9ff,#fff 75%);
  }

  & .nr-headlines-top>.nr-heading {
    align-items:center;
    margin-bottom:6px;
  }

  & .nr-headlines-top>.nr-heading h2 {
    font-size:clamp(20px,2vw,28px)!important;
    line-height:1.2!important;
  }

  & .nr-headlines-top>.nr-meta {
    margin:0 0 12px;
    color:#435c7b;
    font-size:13px;
    line-height:1.45;
  }

  & .nr-headlines-top .hn-cards {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));
    gap:12px;
    margin:0;
    align-items:stretch;
  }

  & .nr-headlines-top .hn-item,
  & .nr-headlines-top .hn-item+.hn-item {
    display:flex;
    border:0;
    min-width:0;
  }

  & .nr-headlines-top .hn-story {
    display:grid;
    grid-template-columns:28px minmax(0,1fr);
    grid-template-rows:auto auto 1fr auto;
    align-content:start;
    gap:7px 8px;
    width:100%;
    padding:12px;
    border:1px solid #d3e2f8;
    border-radius:8px;
    background:#fff;
    color:#173154;
  }

  & .nr-headlines-top .hn-story:hover {
    background:#f8fbff;
    border-color:#a5c5f5;
  }

  & .nr-headlines-top .hn-number {
    grid-column:1;
    grid-row:1;
    width:28px;
    min-height:28px;
    font-size:12px;
    border-radius:6px;
  }

  & .nr-headlines-top .hn-source {
    grid-column:2;
    grid-row:1;
    align-self:center;
    color:#4c6482;
    font-size:12px;
    line-height:1.4;
    overflow-wrap:anywhere;
  }

  & .nr-headlines-top .hn-story h3 {
    grid-column:1/-1;
    grid-row:2;
    font-size:clamp(17px,1.4vw,21px)!important;
    line-height:1.25!important;
    letter-spacing:-.25px!important;
  }

  & .nr-headlines-top .hn-summary {
    grid-column:1/-1;
    grid-row:3;
    align-self:start;
    color:#34506e;
    font-size:14px;
    line-height:1.5;
    overflow-wrap:anywhere;
  }

  & .nr-headlines-top .hn-story-bottom {
    grid-column:1/-1;
    grid-row:4;
    align-self:end;
    gap:5px 10px;
    margin-top:0;
    padding-top:8px;
    border-top:1px solid #e5edf8;
  }

  & .nr-headlines-top .hn-published,
  & .nr-headlines-top .hn-read {
    font-size:12px;
    line-height:1.4;
  }

  & .nr-headlines-top .hn-footer {
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    justify-content:space-between;
    gap:4px 12px;
    margin-top:10px;
    padding-top:8px;
  }

  & .nr-headlines-top .hn-provenance {
    flex-basis:100%;
  }

  & .nr-headlines-top .hn-availability {
    margin-top:8px;
    padding:0;
    background:none;
  }

  & .nr-headlines-top .hn-fallback>p {
    margin:0 0 8px;
    font-size:14px;
    line-height:1.45;
  }

  & .nr-headlines-top .hn-fallback>div {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 12px;
  }
}

@media (681px <= width <= 857px) {
  main.nr-page[data-news-reference][data-news-headlines] .nr-headlines-top .hn-item:last-child:nth-child(odd) {
    grid-column:1/-1;
  }
}

@media (max-width:680px) {
  main.nr-page[data-news-reference][data-news-headlines] {
    & .nr-hero-copy {
      min-height:0;
      padding:16px 16px 19px;
    }

    & .nr-headlines-top {
      margin-bottom:10px;
      padding:11px;
    }

    & .nr-headlines-top .hn-cards {
      grid-template-columns:minmax(0,1fr);
      gap:8px;
    }

    & .nr-headlines-top .hn-story {
      gap:6px 8px;
      padding:10px;
    }
  }
}
