@page { size: A4; margin: 14mm; }
@media print {
    html, body, #page { display: block !important; height: auto !important; min-height: 0 !important; overflow: visible !important; }
    .page-main { flex: none !important; min-height: 0 !important; }
    body { margin: 0; background: #fff; color: #222; font-size: 10pt; line-height: 1.4; }
    .page-header, .hero, .breadcrumb, .page-footer, .page-background, .col-menu,
    #mobile-menu, .mm-menu, .mm-wrapper__blocker, #scrolltotop, #topcontrol,
    [href="#nav-main"], [href="#content"], [href="#nav-sub"],
    .superzoom--overlay, .superzoom--open, .easyzoom-flyout, .easyzoom-notice,
    .owl-nav, .owl-dots, .hide-in-raw-mode, .nav-tabs, .spinner-loading,
    #assignmentValidator button, #assignmentValidator .assignment-feedback { display: none !important; }
    .page-main, .page-content, .page-main .container, .tx-psbfieldguide,
    .page-main .row, .page-main .col-main { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
    .page-main .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
    h1 { font-size: 18pt; }
    h2 { font-size: 14pt; }
    h3, h4 { font-size: 11pt; }
    h1, h2, h3, h4 { break-after: avoid; margin: 0 0 3mm; }
    p, li { orphans: 3; widows: 3; }
    a { color: inherit !important; overflow-wrap: anywhere; text-decoration: none; }
    a::before, a::after { content: none !important; }
    .owl-stage-outer { overflow: visible !important; height: auto !important; }
    .owl-stage { width: auto !important; transform: none !important; }
    .owl-item { display: none !important; }
    .owl-item.active { display: block !important; float: none !important; width: 100% !important; break-inside: avoid; }
    .owl-item.active .easyzoom { display: block; }
    .owl-item.active img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 85mm !important; margin: 0 auto 4mm; object-fit: contain; }
    .tx-psbfieldguide .owl-carousel img { width: auto !important; height: auto !important; max-height: 85mm !important; max-width: 100% !important; }
    #page .page-main .owl-carousel img { width: auto !important; height: auto !important; max-height: 75mm !important; max-width: 100% !important; }
    .tx-psbfieldguide .owl-carousel { margin-bottom: 4mm !important; }
    .tab-pane:not(.active) { display: none !important; }
    .tab-pane.active { opacity: 1 !important; }
    #assignmentValidator .assignment-answer-fields { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4mm; }
    #assignmentValidator .assignment-answer-fields > [class*="col-"] { width: auto !important; margin: 0 !important; }
    #assignmentValidator .form-control { height: 8mm; min-height: 8mm; background: #fff; color: #222; border: 1px solid #777; font-size: 10pt; }
    table { width: 100%; border-collapse: collapse; }
    thead { display: table-header-group; }
    tr, figure { break-inside: avoid; }
}
