/**
 * GovBR Premium — Print Stylesheet
 * Applies clean, readable formatting when the user prints any page.
 * Loaded via media="print" so it only activates during printing.
 */

/* ─── Reset: hide everything by default ─── */
*,
*::before,
*::after {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ─── Hide non-content chrome ─── */
header,
.site-header,
.br-header,
.header-premium,
.header-topo,
.header-nav,
.header-menu,
nav,
footer,
.site-footer,
.br-footer,
.noticia-breadcrumb,
.noticia-actions,
.noticia-sidebar-title,
.noticia-sidebar-list,
.col-lg-4,              /* sidebar column */
.do-action-btns,
.do-metrics,
.do-tabs,
.do-filters,
.do-pagination,
.modal,
.btn,
button,
.back-to-top,
#wpadminbar,
.br-skiplink {
    display: none !important;
}

/* ─── Make content full-width ─── */
body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
}

.container,
.site-content,
#primary,
#main,
.content-area,
.noticia-single,
.col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* ─── Article content ─── */
.noticia-content,
.entry-content,
.do-single-body {
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 12pt;
    line-height: 1.7;
    color: #000;
}

/* ─── Headings ─── */
h1, h2, h3 {
    color: #000 !important;
    page-break-after: avoid;
}

.noticia-title {
    font-size: 20pt;
    margin-bottom: 0.5rem;
}

/* ─── Meta (author, date) ─── */
.noticia-meta {
    font-size: 10pt;
    color: #555 !important;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── Images: keep them but constrain size ─── */
img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
}

/* ─── Links: show URL after anchor text ─── */
a::after {
    content: none; /* don't show URLs for all links — too noisy */
}

/* ─── Avoid breaking paragraphs across pages ─── */
p, li, blockquote {
    orphans: 3;
    widows: 3;
    page-break-inside: avoid;
}

/* ─── Breadcrumb: show as plain text ─── */
.noticia-breadcrumb {
    display: block !important;
    font-size: 9pt;
    color: #555;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

/* ─── Page metadata printed at the top ─── */
@page {
    margin: 2cm;
    size: A4;
}
