/* style.css */
:root {
    --alp-red: #E03C31;
    --dark-text: #333333;
    --light-bg: #FAFAFA;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    border-bottom: 4px solid var(--alp-red);
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}

nav {
    background-color: var(--alp-red);
    padding: 15px;
    text-align: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    display: inline-block;
    padding: 5px 0;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Area */
main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--alp-red);
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Call to Action Box */
.cta-box {
    background-color: #ffebe9;
    border-left: 5px solid var(--alp-red);
    padding: 20px;
    margin: 30px 0;
    font-weight: bold;
}

/* Candidate Grid (Home Page) */
.candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.candidate-card {
    background: #ffffff;
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.candidate-card img {
    max-width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.candidate-card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--alp-red);
    text-decoration: none;
    font-weight: bold;
}

/* Sub-page formatting */
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.profile-img { max-width: 200px; border-radius: 5px; }
ul.no-bullets { list-style-type: none; padding: 0; }
ul.no-bullets li { margin-bottom: 10px; }
article section { margin-bottom: 30px; }
article ul { margin-bottom: 20px; padding-left: 20px; }

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #333333;
    color: #ffffff;
    margin-top: 50px;
    font-size: 0.9em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    nav {
        padding: 10px 5px; /* Reduces the red padding around the whole menu */
    }
    nav a {
        display: block;
        margin: 0px 0; /* Brings the text links much closer together */
        padding: 0px 0;
    }
    .profile-header { 
        flex-direction: column; 
        text-align: center; 
    }
}