/* Reset and Base Styles */
* {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Layout */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Navigation */
.main-navigation {
    margin: auto;
}
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation li {
    margin-left: 2rem;
}
.main-navigation a {
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    color: rgb(36,52,103);
    font-weight: bold;
}
.main-navigation li.current-menu-item a {
    color: rgb(226, 28, 33);
}
.main-navigation a:hover {
    color: #3498db;
}

/* Donate button in the top navbar */
.main-navigation .nav-btn-donate {
    background-color: rgb(226, 28, 33);
    width: 98px;
    text-align: center;
    border: solid rgb(226, 28, 33) 1px;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-property: background-color;
    transition-timing-function: ease;
}
.main-navigation .nav-btn-donate:hover {
    background-color: rgb(255, 255, 255);
}
.main-navigation .nav-btn-donate a {
    color: rgb(255, 255, 255);
    width: 100%;
    display: inline-block;
}
.main-navigation .nav-btn-donate:hover a {
    color: rgb(226, 28, 33);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Footer */
.site-footer {
    background-color: #243467;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

/* Navigation bars (facebook; links) */
nav.footer-navigation > div {
    display: inline-block;
    width: fit-content;
}
nav.footer-navigation > div:nth-child(2) {
    float: right;
}
ul.footer-menu-left li {
    display: inline-block;
    margin-right: 10px;
}
ul.footer-menu-right li {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
}

/* Bottom text */
.footer-bottom {
    text-align: center;
    color: white;
    padding-top: 2rem;
}

.footer-bottom p {
    font-size: 14px;
}

/* Keep footer at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* Utilities */
.wp-wa4f-text-align-center {
    text-align: center;
}

/* Component: register to vote butten */
.wp-wa4f-btn-register > .wp-block-button {
    border: 2px solid rgba(226,28,33,1);
}
.wp-wa4f-btn-register > .wp-block-button a {
    color: rgb(50, 90, 166);
    background-color: unset;
    text-decoration: underline;
}

.wp-wa4f-full-width {
    width: 100%;
}

.site-logo img {
    width: 246px;
    height: 118px;
}

/* Layout overrides */
body.home .main-content {
    padding-top: 0px;
}
body.home .main-content .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px;
}
body.home .entry-content {
    width: 100%;
    left: 0px;
}
body.home .entry-content > div {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
body.home .entry-content > div:not(:nth-child(1)) {
    gap: 0px;
}
body.home .entry-content > div .wp-block-column {
    padding-top: 20px;
}
body.home .entry-content > div:nth-child(3) .wp-block-column {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 20px;
}
body.home .entry-content > div:nth-child(2) .wp-block-column:nth-child(1) {
    padding-left: 15%;
    padding-right: 5%;
    padding-top: 20px;
}
body.home .entry-content > div:nth-child(2) .wp-block-column:nth-child(2) {
    padding-left: 5%;
    padding-right: 15%;
    padding-top: 20px;
}

/* Main page newspaper headlines */
.wp-wa4f-news-col a:nth-of-type(1):hover {
    text-decoration: none;
}
.wp-wa4f-news-col a:nth-of-type(2) {
    text-decoration: underline;
}
.wp-wa4f-news-col > p {
    border-bottom: 1px solid rgb(208, 231, 248);
    padding-bottom: 20px;
}

main.main-content:has(.wp-wa4f-form-contact) {
    background-image: url( https://wa4future.org/wp-content/uploads/2025/06/LakeWashington.avif );
}
main.main-content:has(.wp-wa4f-form-contact) .wp-block-heading {
    color: rgb(208,231,248);
}

/* Need to increase specificity */
div.wpforms-container-full:not(:empty).wp-wa4f-form-contact {
    background-color: rgb(208,231,248);
    padding: 25px;
}

/* Responsiveness */
@media (max-width: 800px) {
    .main-navigation ul {
        display: block;
    }
    .main-navigation a {
        padding: 0px;
    }
}
@media (max-width: 450px) {
    .site-logo img {
        display: none;
    }
}