/**
 * @file
 * News article layout: article + ~326px right column (.news-sidebar) (#706).
 *
 * Attached via the ih_components/news_layout library by the ih_news_twocol
 * layout plugin.
 */

.layout--ih-news-twocol {
  display: block;
}

.layout--ih-news-twocol > .layout__region--second {
  margin-top: 40px;
}

@media (min-width: 992px) {
  .layout--ih-news-twocol {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 326px;
    column-gap: 48px;
    align-items: start;
  }

  .layout--ih-news-twocol > .layout__region--second {
    margin-top: 0;
  }
}

/* Printing: drop the whole right column and give the article the full page
   width, whether printed from the Print button or the browser menu. */
@media print {
  .layout--ih-news-twocol {
    display: block !important;
  }

  .layout--ih-news-twocol > .layout__region--first {
    width: 100% !important;
  }

  .news-sidebar {
    display: none !important;
  }

  /* #758 — Hide the whole site header (desktop and mobile), the emergency
     banner, the content-page header band and the breadcrumb so none of them
     print over or above the article title. News-only: this file loads only on
     news articles, and the scoping keeps it from leaking elsewhere. */
  body.page-node-type-news .header,
  body.page-node-type-news .header__mobile,
  body.page-node-type-news .header__emergency,
  body.page-node-type-news .content_page_header,
  body.page-node-type-news .breadcrumb {
    display: none !important;
  }

  /* #758 — Print pull quotes as plain paragraphs: no blue bar, no indent and no
     enlarged text (overriding the screen styling in custom-overrides.css). */
  article.news .field--name-body blockquote {
    padding: 0 !important;
    border: 0 !important;
    font-size: inherit !important;
  }
}
