/* privacy-overrides.css - load AFTER the main medilab CSS */

/* tighten overall page spacing only for the privacy page */
.policy-page,
.policy-page .policy-content,
.policy-page .policy-sidebar {
    padding: 0 !important;
    margin: 0 !important;
}

/* Section container: reduce the large 60px top/bottom */
.policy-page .section,
.policy-page section {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    scroll-margin-top: 72px; /* keep anchor offset */
}

/* Section title - make more compact and left-align for this page */
.policy-page .section-title {
    text-align: left;
    padding-bottom: 8px !important;
    margin-bottom: 6px !important;
}
.policy-page .section-title h2 {
    font-size: 30px !important;
    margin-bottom: 6px !important;
    padding-bottom: 0 !important;
}

/* Headings spacing - tighter */
.policy-page .policy-content h1 {
    font-size: 34px !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}
.policy-page .policy-content h2 {
    font-size: 18px !important;
    margin: 18px 0 6px 0 !important; /* small gap before each section */
    padding: 0 !important;
}

/* Paragraphs — less vertical white space and tighter line-height */
.policy-page .policy-content p {
    margin: 0 0 8px 0 !important;
    line-height: 1.45 !important;
    font-size: 15px;
}

/* Lists */
.policy-page .policy-content ul {
    margin: 6px 0 12px 20px !important;
    padding: 0 !important;
}

/* Reduce the generic .mb-4 gaps for this page (Bootstrap utility used in template) */
.policy-page .mb-4 {
    margin-bottom: 12px !important;
}

/* Sidebar (TOC) adjustments */
.policy-page .policy-sidebar {
    top: 24px !important;                /* less top stick offset */
    max-height: calc(100vh - 48px) !important;
    padding-right: 8px !important;
}
.policy-page .toc li {
    margin: 4px 0 !important;
}
.policy-page .toc a {
    padding: 6px 8px !important;
    font-size: 14px !important;
}

/* Back to home link spacing */
.policy-page .back-home {
    margin-top: 10px !important;
    display: block;
}

/* Make the left and right columns sit closer vertically */
.policy-page .container > .row > [class*="col-"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Optional: reduce overall container vertical rhythm for very compact look */
@media (min-width: 992px) {
    .policy-page .container {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}

/* Ensure overrides win by upping specificity if needed */
body .policy-page .policy-content p { margin-bottom: 8px !important; }
