/**
 * HuffPost Clone - Print Stylesheet
 */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: Georgia, serif;
        font-size: 12pt;
        line-height: 1.6;
    }

    /* Hide all non-article elements */
    .hp-header,
    .hp-breaking-bar,
    .hp-nav,
    .hp-sidebar,
    .hp-footer,
    .hp-ad,
    .hp-back-to-top,
    .hp-sticky-share,
    .hp-progress-bar,
    .hp-search-overlay,
    .hp-related,
    .hp-comments,
    .hp-article-share,
    .hp-promo-banner,
    .hp-trending,
    .comment-respond,
    .hp-post-nav,
    nav,
    aside,
    .hp-article-tags,
    .hp-author-bio { display: none !important; }

    /* Layout fixes */
    .hp-content-wrap { display: block !important; }
    .hp-article { max-width: 100% !important; }

    /* Article header */
    .hp-article-title {
        font-size: 24pt;
        font-family: Georgia, serif;
        font-weight: bold;
        margin-bottom: 12pt;
        page-break-after: avoid;
    }

    .hp-article-dek {
        font-size: 14pt;
        color: #444;
        margin-bottom: 12pt;
        font-style: italic;
    }

    .hp-article-meta {
        font-size: 10pt;
        color: #666;
        border-bottom: 1pt solid #ccc;
        padding-bottom: 12pt;
        margin-bottom: 18pt;
    }

    .hp-article-hero {
        page-break-inside: avoid;
        margin-bottom: 18pt;
    }

    .hp-article-hero img {
        max-height: 300pt;
        width: 100%;
        object-fit: cover;
    }

    .hp-article-body {
        font-size: 11pt;
        line-height: 1.7;
        max-width: 100% !important;
    }

    .hp-article-body h2,
    .hp-article-body h3 {
        page-break-after: avoid;
        font-family: Georgia, serif;
    }

    .hp-article-body blockquote {
        border-left: 3pt solid #000;
        padding-left: 12pt;
        margin: 12pt 0;
        font-style: italic;
        color: #444;
    }

    .hp-article-body a::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }

    .hp-article-body a[href^="#"]::after,
    .hp-article-body a[href^="javascript:"]::after { content: ""; }

    img { page-break-inside: avoid; }
    p, h2, h3 { orphans: 3; widows: 3; }

    /* Print logo / site name */
    .hp-print-header {
        display: block !important;
        font-family: Georgia, serif;
        font-size: 28pt;
        font-weight: 900;
        text-align: center;
        margin-bottom: 20pt;
        padding-bottom: 12pt;
        border-bottom: 2pt solid #000;
    }

    /* Section label */
    .hp-section-label {
        font-size: 9pt;
        text-transform: uppercase;
        letter-spacing: .5pt;
        font-weight: bold;
        color: #000;
        display: block;
        margin-bottom: 6pt;
    }
}
