/*
 * Article print styles for the child theme (loaded with media="print" on single posts, after
 * 2024-cmg/media/css/print.css). The parent file targets 2024-cmg's own masthead; this one handles
 * the child's NI-style masthead and embeds, and keeps the on-screen fonts. 2024-cmg loads style.css
 * with media="screen", so its fonts and @font-face rules don't apply when printing: declare them here
 * from 2024-cmg's font files.
 */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-regular.woff2') format('woff2'),
         url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-regular.woff') format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-italic.woff2') format('woff2'),
         url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-italic.woff') format('woff');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-700.woff2') format('woff2'),
         url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/opensans/open-sans-v18-latin-700.woff') format('woff');
}
@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 800;
    src: url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/bitter/bitter-v16-latin-800.woff2') format('woff2'),
         url('https://www.hawaiitribune-herald.com/wp-content/themes/2024-cmg/media/fonts/bitter/bitter-v16-latin-800.woff') format('woff');
}

/* ---- Masthead: just the paper's logo ---- */
#hth-header {
    position: static !important;
    margin: 0 0 14pt !important;
    padding: 0 !important;
}
#hth-header .row {
    margin: 0 auto !important;
}
#hth-header .masthead-container {
    justify-content: center !important;
    padding: 0 0 8pt !important;
    border-bottom: 1pt solid #000;
}
#hth-header .masthead-container > div:not(.mobile-masthead-content),
#hth-header .row.mobile-only,
#hth-header .header-topics-bar {
    display: none !important;
}
#hth-header .mobile-masthead-content {
    height: 40px !important;
    flex: none !important;
}
#hth-header .mobile-masthead-content img {
    height: 40px !important;
    width: auto !important;
}

/* Drawer, overlay, breaking-news bar and other header bars (e.g. TGI's notice) */
.navigation-drawer,
.body-overlay,
.hth-breaking-news,
div.hth-header:not(#hth-header) {
    display: none !important;
}

/* ---- Paywall prompts and leftover embeds ---- */
#single-login-box,
#single-loading-gif,
#single-notif,
[data-widget-host="revcontent"],
.stn-archive-player,
.citysparkWidget,
.business-ai-banner,
.business-ai-banner-rotation,
.teads-inread,
.osano-cm-window,
.osano-cm-dialog,
.osano-cm-widget,
[class*="newsletter"] {
    display: none !important;
}

/* ---- Links: only show URLs for links in the story text (normalize.css adds them everywhere) ---- */
a[href]::after {
    content: none !important;
}
#article_content a[href]::after {
    content: " (" attr(href) ")" !important;
    font-size: 0.8em;
    color: #555;
}

/* ---- Typography to match the site ---- */
body,
.byline,
.pubStamp,
#article_content,
#article_content p,
.slide-caption,
.slide-caption p {
    font-family: 'Open Sans', Arial, sans-serif !important;
}
#article_info .headline {
    font-family: 'Bitter', Georgia, serif !important;
    font-weight: 800 !important;
    font-size: 24pt !important;
    line-height: 1.15 !important;
}
#article_content p {
    font-size: 11pt;
    line-height: 1.5;
}
.slide-caption,
.slide-caption p {
    font-size: 9pt !important;
}
