﻿/* Base print styles */
@media print {
    /* Remove elements not needed in print */
    header .column--oms-nav,
    nav,
    footer,
    aside,
    .no-print,
    .sidebar,
    .btn,
    .navigation,
    .mobile-menu,
    .hero__buttons {
        display: none !important;
    }

    /* General layout cleanup */
    body {
        background: #fff !important;
        font-size: 10pt;
        color: #000 !important;
        line-height: normal;
        margin: 0;
        padding: 0;
    }

    p {
        font-size: 10pt;
        color: #000 !important;
        line-height: normal;
    }

    /* Headings */
    h1 {
        font-size: 22pt !important;
    }

    h2 {
        font-size: 16pt !important;
    }

    h3,
    .profile-attributes__title {
        font-size: 12pt !important;
    }

    h4 {
        font-size: 11pt !important;
    }

    h5 {
        font-size: 10pt !important;
    }

    h6 {
        font-size: 9pt !important;
    }

    /* Paragraphs and text */
    p,
    td,
    th,
    blockquote,
    label {
        font-size: 10pt !important;
        color: #000 !important;
        line-height: 1.5 !important;
        margin: 0 0 0.8em !important;
    }

    li {
        font-size: 10pt !important;
        line-height: 1.2 !important;
        margin: 0 0 0.3em !important;
    }

    /* Links: show URLs in parentheses after text */
    a::after {
        content: " (" attr(href) ")";
        display: block;
        font-size: 8pt;
        color: #444;
    }

    /* Prevent page breaks inside important elements */
    h1, h2, h3, h4, h5, h6,
    blockquote,
    table,
    pre,
    img {
        page-break-inside: avoid;
    }

    /* Tables should fit and be readable */
    table {
        width: 100%;
        border-collapse: collapse;
    }

    th,
    td {
        border: 1px solid #000;
        padding: 5px;
        text-align: left;
    }

    /* Force page breaks between major sections */
    .page-break {
        page-break-before: always;
    }

    /* Images scaled down for page */
    img {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
    }

    /* Lists */
    li::marker {
        color: #000 !important;
    }

    /* Hide form elements */
    input,
    textarea,
    select,
    button {
        display: none;
    }

    /* Specific styles for client profile */

    /* Right align text for print 
    .hero__left,
    .hero__middle,
    .hero__right,
    .image-container,
    .profile-image,
    h1,
    .h1,
    .single-company,
    .disclaimer,
    .profile-attributes {
        float: right;
        text-align: right;
    }
    */

    .hero__left,
    .hero__middle,
    .hero__right,
    .image-container,
    .profile-image,
    h1,
    .h1,
    .single-company,
    .disclaimer,
    .profile-attributes {
        text-align: left !important;
    }

    .block--hero .oms-container,
    .block--hero .oms-col-12 {
        padding-left: 0 !important;
    }

    .block--hero .oms-row .oms-row {
        flex-direction: row-reverse !important;
    }

    .hero__left,
    .hero__middle,
    .hero__right {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero__left {
        max-width: 25% !important;
        padding-right: 5% !important;
    }

    .hero__middle {
        max-width: 70% !important;
    }

    .hero__right {
        max-width: 70% !important;
        margin-right: 25% !important;
    }

    .image-container {
        max-width: unset !important;
        margin: 0 !important;
    }

    .profile-attributes {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .disclaimer p {
        font-size: 9pt !important;
        color: #444 !important;
    }

    .block--hero {
        padding-bottom: 0 !important;
    }

    .block--details {
        padding-top: 0 !important;
    }

    .company-logo-grid {
        margin-bottom: 0 !important;
    }

    .company-logo {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .profile-detail .section-content section {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }

    .profile-detail .section-content section:first-of-type {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}