@charset "utf-8";

/* --- GLOBAL STYLES --- */
html {
    overflow-y: scroll; /* Prevents the menu from jumping left/right */
}

body {
    background-color: #ffffff !important;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    line-height: 1.6;
}

/* --- ACCESSIBILITY HIDE --- */
a[href^="#"]:first-of-type {
    position: absolute;
    top: -100px;
    left: 0;
    background: #d32f2f;
    color: white;
    padding: 8px;
    z-index: 1000;
}

a[href^="#"]:first-of-type:focus {
    top: 0;
}

/* --- THE MAIN WRAPPER --- */
.container {
    background-color: #ffffff !important;
    width: 100% !important;
    max-width: 1100px !important; 
    margin: 0 auto !important; 
    padding: 0;
    display: block;
    overflow: visible;
}

/* --- THE HEADER (Banner Image) --- */
.header {
    width: 100% !important;
    height: auto !important;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.header img {
    display: block;
    width: 100%;
    height: auto;
    border: none;
}

/* --- THE NAVIGATION BAR (Black Bar) --- */
.hdrnav {
    background-color: #000000 !important;
    width: 100% !important;
    min-height: 50px !important; 
    line-height: 50px !important; 
    padding: 0 !important;         
    margin: 0 !important;
    text-align: center;
    border-bottom: 3px solid #d32f2f; 
    clear: both;
    box-sizing: border-box;
}

.hdrnav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.hdrnav li {
    display: inline-block;
    margin: 0 10px;
}

.hdrnav a:link, .hdrnav a:visited {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hdrnav a:hover {
    color: #d32f2f !important;
}

/* --- MOBILE MENU ADJUSTMENTS --- */
@media screen and (max-width: 480px) {
    .hdrnav li {
        margin: 0 4px !important;
    }
    .hdrnav a:link, .hdrnav a:visited {
        font-size: 10px !important;
        letter-spacing: 0px !important;
    }
}

/* --- CONTENT AREA (Main Text) --- */
.content {
    background-color: #ffffff !important;
    width: 90% !important;
    max-width: 1000px !important;
    margin: 40px auto !important;
    min-height: 400px; 
    overflow: visible !important;
    display: block;
    clear: both;
}

.content h1, .content h2 {
    color: #000;
    font-weight: 900;
}

.content h4 {
    color: #d32f2f;
    font-size: 1.5em;
    margin-top: 30px;
}

.content p {
    margin-bottom: 20px;
}

/* --- LEADERSHIP & INSTRUCTOR CARDS --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member-card {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.member-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    /* Focuses on the top 20% of the image to keep faces centered in the circle */
    object-position: 50% 20%; 
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 auto 20px auto;
}

.member-name {
    font-weight: 900;
    font-size: 1.4em;
    color: #d32f2f;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.member-rank {
    font-weight: bold;
    color: #000;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.member-title {
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: block;
}

.member-bio {
    font-size: 0.92em;
    color: #444;
    line-height: 1.6;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 15px;
    flex-grow: 1;
}

/* --- THE FOOTER --- */
.footer {
    background-color: #ffffff !important;
    border-top: 1px solid #eeeeee;
    padding: 60px 0 !important;
    text-align: center;
    width: 100% !important;
    clear: both;
}

.footer p {
    color: #333333 !important;
    font-size: 14px;
    margin: 0;
}

.footer a {
    color: #d32f2f !important;
    font-weight: bold;
    text-decoration: none;
}

/* --- UTILITIES --- */
.hdrquote { display: none !important; }
.clearfloat { clear: both; height: 0; font-size: 1px; line-height: 0px; }