/* Center any custom module content inside the Cassiopeia footer */
.footer .grid-child {
    justify-content: center !important;
    display: flex !important;
    text-align: center !important;
    width: 100% !important;
}
.footer .mod-custom {
    text-align: center !important;
    width: 100% !important;
}

/* Prevent horizontal scrollbar caused by 100vw breakout */
body {
    overflow-x: hidden;
}

/* Full-screen width background for the Single Article title */
.com-content-article .page-header {
    background-color: #9fe2bf; /* Your desired background color */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 25px 2rem; /* Top/bottom padding, plus left/right text padding */
    margin-bottom: 2rem; /* Increases the gap below the title banner (e.g., 2.5rem ≈ 40px) */
    box-sizing: border-box;
}

/* Ensure the heading inside doesn't add conflicting margins */
/* and reduce the font size of the Single Article title */
.com-content-article .page-header h1,
.com-content-article .page-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem); /* Scales from ~22px on mobile to ~30px on desktop */
                                              /* Default in Cassiopeia is ~2.5rem (40px); 1.75rem is ~28px */
}

/* ======================================= */

/* 1. Make ONLY the navigation bar row white (leaves the logo area above untouched) */
.container-header .container-nav {
    background-color: #ffffff;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* 2. Ensure the navbar and menu list inside the bar are white */
.container-header .container-nav .navbar,
.container-header .container-nav .mod-menu {
    background-color: #ffffff;
}

/* 3. Set top-level menu links and mobile hamburger toggle icon to dark text */
.container-header .container-nav .mod-menu > li > a,
.container-header .container-nav .mod-menu > li > button,
.container-header .container-nav .navbar-toggler {
    color: #212529;
}

/* 4. Hover and active states for menu links */
.container-header .container-nav .mod-menu > li > a:hover,
.container-header .container-nav .mod-menu > li > a:focus,
.container-header .container-nav .mod-menu > li.active > a {
    color: #0d6efd; /* Change to match your brand color */
}

/* 5. Style dropdown submenus with a white background and dark text */
.container-header .container-nav .mod-menu .mm-collapse {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
}

.container-header .container-nav .mod-menu .mm-collapse a {
    color: #212529;
}
/* ======================================= */
/* Constrain the entire Image Effect CK circle wrapper and inner layers to 256x256 */
[class*="effectck-circle-14"] {
    width: 256px !important;
    height: 256px !important;
    max-width: 256px !important;
    max-height: 256px !important;
    display: inline-block;
    box-sizing: border-box;
}

/* Ensure the inner image and caption overlay fill the 256x256 circle without cropping */
[class*="effectck-circle-14"] img,
[class*="effectck-circle-14"] figcaption,
[class*="effectck-circle-14"] > div {
    width: 100% !important;
    height: 100% !important;
    max-width: 256px !important;
    max-height: 256px !important;
    object-fit: cover;
    box-sizing: border-box;
}


