/* ==========================================================================
   Esports Legal Wiki — Print Stylesheet
   Loaded with media="print". Strips chrome, keeps legal content readable.
   ========================================================================== */

/* Hide non-essential UI */
.elw-hero-section,
.elw-sidebar-left,
.elw-sidebar-right,
.elw-search-form,
.elw-suggestion-box,
.elw-alert-success,
#elw-ajax-results {
    display: none !important;
}

/* Full-width single column */
.elw-wiki-grid {
    display: block;
}

.elw-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Clean typography */
.elw-wiki-content {
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
}

.elw-wiki-content h2 {
    font-size: 18pt;
    page-break-after: avoid;
}

.elw-wiki-content h3 {
    font-size: 15pt;
    page-break-after: avoid;
}

/* Margin numbers print cleanly */
.elw-para-wrapper {
    padding-left: 50px;
}

.elw-margin-num {
    color: #999;
    font-size: 9pt;
    border-right: 1px solid #ccc;
}

/* Links show their URL in print */
.elw-wiki-content a::after {
    content: " [" attr(href) "]";
    font-size: 9pt;
    color: #555;
    word-break: break-all;
}

/* Don't print URL for footnote back-links */
.elw-footnotes-section a[role="doc-backlink"]::after,
.elw-footnote-ref a::after {
    content: "";
}

/* Citations and cross-refs */
.elw-citation {
    font-style: italic;
}

.elw-crossref::after {
    content: " [" attr(href) "]";
    font-size: 9pt;
    color: #555;
}

/* Disclaimer */
.elw-disclaimer {
    border-left: 2px solid #999;
    padding: 10px 15px;
    background: none;
    font-size: 10pt;
}

/* Footnotes */
.elw-footnotes-section {
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 10pt;
}

/* Avoid page breaks inside paragraphs and footnotes */
.elw-para-wrapper,
.elw-footnotes-section li {
    page-break-inside: avoid;
}
