﻿.site-layout-row {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on small screens */
    gap: 2rem;
    align-items: stretch;

    min-height: 500px;
}

/* 2. The Sidebar Column (Narrow)  */
.site-col-sidebar {
    flex: 0 0 250px; /* Fixed width, doesn't grow/shrink */
    max-width: 250px;
    
    padding-right: 1em;
    padding-left: 1em;
    background-color: #cfddee;
    /*
        Error Text as #ff000 has contrast ratio 2.89:1, fails
            as reference Black #000000 is 15.23:1, passses Normal and Large AA and AAA
    */
}

.container-form-login .container-links {
    margin-top: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5em;
}

.logo-sidebar-xcalibur {
    display: block;
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
}

/* Main Column (Wide) */
.site-col-main {
    flex: 1;
    min-width: 0; /* Prevents overflow issues in flex items */
}

.info-content {
    max-width: 800px;
}
.info-content ul {
    margin-top: 1em;
}
.info-content li {
    margin-top: 1em;
}

@media (max-width: 992px) {
    .site-layout-row {
        flex-direction: column; /* Stack vertically */
    }

    .site-col-sidebar {
        flex: 1 1 auto; /* Allow sidebar to be natural height/width on mobile */
        max-width: 100%;
        width: 100%;
    }
}

