/**
 * Print Stylesheet
 * Loaded via <link media="print"> in wrapper.php — all rules apply to print only.
 */

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    /* Reset gradient text fills */
    -webkit-text-fill-color: black !important;
}

/* ==========================================================================
   Hide non-essential elements
   ========================================================================== */

nav#header,
footer.site-footer,
#cookieprefs,
#dev-tools,
.overlaygridguide,
#close-overlay,
#menu-button,
#search-button,
#cart-button,
.kiek-container {
    display: none !important;
}

/* ==========================================================================
   Layout
   ========================================================================== */

body {
    font-size: 12pt;
    line-height: 1.6;
}

main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.content,
.row,
.block-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

/* ==========================================================================
   Typography — reset gradient headings
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: black !important;
    -webkit-text-fill-color: black !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    page-break-after: avoid;
}

/* ==========================================================================
   Hero section
   ========================================================================== */

.hero-background {
    background-image: none !important;
    min-height: auto !important;
    padding: 1.5rem 0 !important;
}

.hero-background::before {
    display: none !important;
}

.hero-title,
.hero-subtitle {
    color: black !important;
    -webkit-text-fill-color: black !important;
}

/* ==========================================================================
   Images
   ========================================================================== */

img {
    max-width: 100% !important;
}

/* Hide blurred background layer of dual-image blocks */
.item-image-bg,
.news-image-bg {
    display: none !important;
}

/* ==========================================================================
   Show detail
   ========================================================================== */

.show-entry-actions .btn:not([href*="ticket"]) {
    display: none !important;
}

/* Print ticket URL after buy tickets button */
.show-entry-actions a[href][target="_blank"]::after {
    content: " — " attr(href);
    font-size: 10pt;
    display: block;
    word-break: break-all;
    color: #444 !important;
    -webkit-text-fill-color: #444 !important;
}

.row-showentry .meta-data {
    border: 1px solid #ccc;
    padding: 0.75rem;
    margin: 0.75rem 0;
}

/* ==========================================================================
   Page breaks
   ========================================================================== */

.tile_grid .item,
.member-card,
.show-item {
    page-break-inside: avoid;
}
