/* CMS Page Styles */



.cms-page {
    font-size: 1.1rem;
    line-height: 1.6;
}

.cms-page header {
    width: 100%;
    background: #f4f8fb;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-bottom: 1px solid #e2e8f0;

    overflow: hidden;
    margin-bottom: 0rem !important;
}
.py-4 {
    padding-top: 0px !important;
    padding-bottom: 1.5rem !important;
}

.cms-page header .display-4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cms-page header .lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.my-5 {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: auto; 
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    
}

.cms-page h1, .cms-page h2, .cms-page h3,
.cms-page h4, .cms-page h5, .cms-page h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cms-page h1 { font-size: 2.5rem; font-weight: 700; }
.cms-page h2 { font-size: 2rem; }
.cms-page h3 { font-size: 1.75rem; }

.cms-page p {
    margin-bottom: 1.5rem;
}

.cms-page ul, .cms-page ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.cms-page blockquote {
    border-left: 4px solid #f59e0b;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

.cms-page img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.375rem;
}

.cms-page table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.cms-page table th,
.cms-page table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.cms-page table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.cms-page .btn {
    margin: 0.25rem;
}

.cms-content {
    min-height: 300px;

    width: 100%;
    max-width: 1600px;
    margin: 0 auto;

}
.row-content {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: white;
    padding: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cms-page header {
        padding: 10px 15px;
    }

    .cms-page header .display-4 {
        font-size: 2rem;
    }

    .cms-page header .lead {
        font-size: 1rem;
    }

    .cms-content {
        padding: 0rem 0;
    }
}