@charset "utf-8";
/* CSS Document */

:root {
    --header-background-color: #616161;
    --header-font-color:#fff;
    --header-link-hover-color:#4682b4;
    
    --footer-background-color: #333333;
    --footer-font-colot:#fff;
    
    --nav-font-family:'Inter', system-ui, 'Arial', sans-serif;
    --nav-font-size:15px;
    --nav-font-weight:500;

    --nav-logo-font-family:'Playfair Display', serif;
    --nav-logo-font-size:24px;
    --nav-logo-font-weight:600;
    }

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/commonresources/fonts/inter-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/commonresources/fonts/archivo.woff2') format('woff2');
}

html, header {
        max-width: 100%;
}


header {
    background: var(--header-background-color);
    color: var(--header-font-color);
    
    box-sizing: border-box; /* Include padding/border in width */
    position: fixed; /* Or fixed if you want */    
    top: 0;
    left: 0;
    right: 0;
    padding: 6px 0;
    margin: 0;
    z-index: 1000;
    width: 100%;
    display: inline-flex;
    justify-content: space-around;
}

footer {
    background: var(--footer-background-color);
    color: var(--header-font-color);
    
    text-align: center;
    padding: 0.5rem;
    width: 100%;
    max-width: 100%;
}


/*-----------------------------Navigation Menu */

nav {
    font-family: var(--nav-font-family);
    font-size: var(--nav-font-size);
    font-weight:var(--nav-font-weight);
        
    display: flex;
    box-sizing: border-box;
    justify-content: space-between; /* Aligns 'a' to the left and 'b' to the right */
    align-items: center; /* Vertically centers the content if necessary */
    position: relative;
    left: 0;
    padding-right: 10px;    /* Keep distance of navigation links from screen right */
    margin: 0;
    width: 100%;    
    
}

.navlogo {
    height: 32px;
    width: auto;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;  
    
    padding:0;
    margin: 0;
}

.NavContainer {
    display: flex;
    flex-grow: 0;        /* Don't grow beyond the content size */
    flex-shrink: 0;      /* Prevent shrinking below content size */
    flex-basis: auto;    /* Fit the content's natural size */
    padding:0 20px 0 0;
    margin: 0;
}

nav .nav-links li {
    margin: 0px;
}

nav .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}

nav .nav-links li a:hover {
    background-color: var(--header-link-hover-color);
    border-radius: 5px;
}

.ActiveNavLink {
    background-color: rgb(172, 133, 3);
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background: #fff;
    height: 5px;
    width: 35px;
    position: relative; /* Add position */

    box-sizing: border-box; /* Ensures correct size calculation */
    margin-bottom: 1px;
    border-radius: 5px;
    max-width: 100%;
}


@media (max-width: 768px) {
    nav .nav-links {
        background: #6F89B6;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        padding: 15px;
        top: 100%;
        width: 300px;
        max-width: 100%;
        display: none;
    }


    nav .nav-links.nav-active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }

}



/*-----------------------------Resources dropdown (desktop) */
nav .nav-links li.has-dropdown {
    position: relative;
}

nav .nav-links .dropdown-toggle {
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font: inherit;
    transition: background-color 0.3s ease;
}

nav .nav-links .dropdown-toggle:hover {
    background-color: var(--header-link-hover-color);
    border-radius: 5px;
}

nav .nav-links .dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #6F89B6;
    min-width: 200px;
    flex-direction: column;
    border-radius: 0 0 5px 5px;
}

nav .nav-links .has-dropdown:hover > .dropdown,
nav .nav-links .has-dropdown.dropdown-open > .dropdown {
    display: flex;
}

nav .nav-links .dropdown li a {
    display: block;
    text-align: left;
    font-size: 0.95em;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
}

nav .nav-links .dropdown li a::before {
    content: "\203A  ";
}

nav .nav-links .has-dropdown.dropdown-open > .dropdown-toggle {
    background-color: var(--header-link-hover-color);
    border-radius: 5px;
}

/*-----------------------------Resources dropdown (mobile) */
@media (max-width: 768px) {
    nav .nav-links li.has-dropdown {
        position: static;
        width: 100%;
    }

    nav .nav-links .dropdown-toggle {
        width: 100%;
        text-align: center;
    }

    nav .nav-links .dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.18);
        border-radius: 0;
    }

    nav .nav-links .dropdown li a {
        text-align: left;
        padding: 0.5rem 0.5rem 0.5rem 2rem;
    }
}

/*-----------------------------Menu alignment fix (2026-10-25) */
/* Browsers render a <button> taller than an identical <a> (extra internal
   button leading), so the Resources toggle sat ~9px lower than the links.
   Center every top-level item's content within its <li> instead of relying
   on shared baselines. */
nav .nav-links > li {
    display: flex;
    align-items: center;
}

nav .nav-links .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    /* Stack the toggle above its dropdown on mobile (the <li> is now flex) */
    nav .nav-links li.has-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---- Modern site footer (2026-10-28 redesign; no visitor counter) ---- */
.site-footer, .site-footer * { box-sizing: border-box; }
.site-footer {
  background: #1f3864; color: #fff;
  font-family: Inter, Arial, sans-serif;
  text-align: left; padding: 0; width: 100%;
  border-top: 3px solid #fbbf24;
}
.site-footer-inner { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.25rem 1.25rem; }
.site-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
}
.site-footer-name {
  font-family: Archivo, Inter, Arial, sans-serif;
  font-size: clamp(2.5rem, 7vw, 3.5rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; margin: 0; text-align: left;
}
.site-footer-col p { color: #dbeafe; line-height: 1.6; margin: 0; text-align: left; }
.site-footer-heading {
  color: #fbbf24; font-size: 1rem; font-weight: 700;
  margin: 0; text-align: left;
}
.site-footer-heading::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: #fbbf24; margin: 0.5rem 0 0.75rem;
}
.site-footer-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer-col li { margin: 0 0 0.5rem; }
.site-footer-col a { color: #dbeafe; text-decoration: none; }
.site-footer-col a:hover { color: #fbbf24; text-decoration: underline; }
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem; padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer-bottom p { color: #dbeafe; font-size: 0.9rem; margin: 0; text-align: left; }
.site-footer-bottom a { color: #fbbf24; text-decoration: none; }
.site-footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer-inner { padding: 2rem 1.25rem 1.25rem; }
  .site-footer-bottom { flex-direction: column; }
}

/* Name line-height must beat .site-footer-col p (higher specificity) */
.site-footer-col p.site-footer-name { line-height: 1.1; }
