﻿.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.about-divider {
    border: none;
    height: 2px;
    background-color: #8face7; /* matches your header/accent line */
    margin: 3rem 0; /* spacing above and below */
    width: 80%; /* optional, not full width */
    margin-left: auto;
    margin-right: auto;
}
/* =========================
   Page Header (Non-CMS)
   ========================= */

/* PAGE HEADER */
.page-header {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 33, 77, 1.0);
    text-align: center;
    overflow: hidden;
    padding: 0 2rem;
    border-bottom: 4px solid #0b1633; /* dark, professional */
}
    /* Dark overlay for contrast */
    .page-header::after {
        content: "";
        position: absolute;
        inset: 0;
        background-color : transparent;
        z-index: 0;
    }
/* Optional subtle pattern overlay */
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/header/page%20headers/metis-infinity-pattern2.png') no-repeat center center;
    background-size: cover; /* makes the image cover the entire header area */
    opacity: 0.85; /* subtle, adjust as needed */
    pointer-events: none;
    z-index: 1; /* behind the text */
}
/* Inner wrapper */
.page-header-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}
    .page-header-inner h1 {
        color: #ffffff;
    }
/* Accent line above heading */
.accent-line {
    width: 60px;
    height: 4px;
    background-color: #003774;
    margin: 0 auto 1rem auto;
    border-radius: 2px;
}

/* Main heading style */
.page-header h1 {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #003774;
    margin: 0;
    letter-spacing: 0.5px;
    display: inline-block;
    border-bottom: 3px solid #003774;
    padding-bottom: 0.5rem;
}


/* === CMS Content Wrapper === */
.cms-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    margin: 0 auto; 
    max-width: 1600px; 
    padding: 2rem 2rem; 
}
    /* === Headings (match Quill sizes) === */
    .cms-content h1 {
        font-size: 2em;
        margin: 0;
    }

    .cms-content h2 {
        font-size: 1.5em;
        margin: 0;
    }

    .cms-content h3 {
        font-size: 1.17em;
        margin: 0;
    }

    /* === Paragraphs === */
    .cms-content p {
        margin: 0; /* remove default margin */
        margin-bottom: 0.75rem; /* spacing between paragraphs */
        line-height: 1.2; /* match Quill editor */
    }

    /* === Text Alignment === */
    .cms-content .ql-align-left {
        text-align: left;
    }

    .cms-content .ql-align-center {
        text-align: center;
    }

    .cms-content .ql-align-right {
        text-align: right;
    }

    .cms-content .ql-align-justify {
        text-align: justify;
    }

    /* === Font Sizes (from Quill custom sizes) === */
    .cms-content .ql-size-10px {
        font-size: 10px;
    }

    .cms-content .ql-size-12px {
        font-size: 12px;
    }

    .cms-content .ql-size-14px {
        font-size: 14px;
    }

    .cms-content .ql-size-16px {
        font-size: 16px;
    }

    .cms-content .ql-size-18px {
        font-size: 18px;
    }

    .cms-content .ql-size-20px {
        font-size: 20px;
    }

    .cms-content .ql-size-24px {
        font-size: 24px;
    }

    .cms-content .ql-size-28px {
        font-size: 28px;
    }

    .cms-content .ql-size-32px {
        font-size: 32px;
    }

    .cms-content .ql-size-36px {
        font-size: 36px;
    }

    .cms-content .ql-size-48px {
        font-size: 48px;
    }

    /* === Bold / Italic / Underline === */
    .cms-content strong,
    .cms-content b {
        font-weight: 600;
    }

    .cms-content em,
    .cms-content i {
        font-style: italic;
    }

    .cms-content u {
        text-decoration: underline;
    }

    /* === Lists === */
    .cms-content ul,
    .cms-content ol {
        padding-left: 1.5rem;
        margin: 0 0 0.75rem 0;
    }

    /* === Blockquotes === */
    .cms-content blockquote {
        border-left: 4px solid #ccc;
        padding-left: 1rem;
        color: #555;
        font-style: italic;
        margin: 0 0 0.75rem 0;
    }

    /* === Images: Base Styles === */
    .cms-content img {
        max-width: 100%; /* responsive */
        height: auto;
        display: inline-block; /* keep inline with text */
        vertical-align: middle; /* align nicely with text */
        margin: 0; /* remove auto-centering */
    }

    /* === Images inside aligned blocks === */
    .cms-content .ql-align-left img {
        display: inline-block;
        margin-left: 0;
        margin-right: auto;
    }

    .cms-content .ql-align-center img {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }

    .cms-content .ql-align-right img {
        display: inline-block;
        margin-left: auto;
        margin-right: 0;
    }

    /* Optional: for justified text alignment */
    .cms-content .ql-align-justify img {
        display: inline-block;
        margin-left: 0;
        margin-right: 0;
    }

    /* === Links === */
    .cms-content a {
        color: #0d6efd;
        text-decoration: underline;
    }

        .cms-content a:hover {
            text-decoration: none;
        }

    