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

body {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.6;
    color: #222;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* NAVBAR */
header {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(10,49,97,0.14);
    box-shadow: 0 6px 18px rgba(10,49,97,0.08);
    color: #0A3161;
    padding: .55rem 0;
    position: relative;
    z-index: 30;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0A3161;
    min-width: 270px;
}

.logo img {
    height: 4.5rem;
    margin-right: 12px;
}

.logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 800;
}

.nav-menu-toggle,
.nav-menu-button {
    display: none;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li {
    margin-left: 0;
    position: relative;
}

nav ul li a {
    color: #0A3161;
    border-radius: 999px;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    padding: 9px 13px;
    transition: background 0.2s ease, color 0.2s ease;
}

nav ul li a:hover,
nav ul li a:focus {
    background: rgba(10,49,97,0.08);
    outline: none;
}

nav ul li a.active {
    background: rgba(10,49,97,0.12);
    box-shadow: inset 0 -2px 0 #b22234;
}

.nav-dropdown-toggle,
.nav-highlight {
    background: #0A3161;
    color: white;
    position: relative;
}

.nav-dropdown-toggle {
    padding-right: 32px;
}

.nav-dropdown-toggle::after {
    content: "";
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-40%);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus,
.nav-dropdown-toggle.active-parent,
.nav-highlight:hover,
.nav-highlight:focus,
.nav-highlight.active {
    background: #b22234;
    box-shadow: none;
    color: white;
}

.dropdown-menu {
    background: white;
    border: 1px solid rgba(10,49,97,0.18);
    border-radius: 6px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    display: grid;
    gap: 2px;
    right: 0;
    min-width: 210px;
    opacity: 0;
    padding: 8px;
    pointer-events: none;
    position: absolute;
    top: 100%;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

nav ul .dropdown-menu li {
    margin-left: 0;
}

.dropdown-menu a {
    border-radius: 5px;
    color: #0A3161;
    display: block;
    padding: 10px 12px;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: #0A3161;
    color: white;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* HERO */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('assets/constitutionalconvention.png') no-repeat center center/cover;
    color: white;
    height: 60vh;
    background-position: center 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero p {
    margin: 20px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #b22234;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
}

/* LOOKUP */
.lookup {
    min-height: 42vh;
    padding: 70px 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: #fff;
}

.lookup .container {
    max-width: 720px;
}

.lookup h2 {
    color: #0A3161;
    font-size: 2.25rem;
}

.lookup p {
    margin: 12px 0 24px;
}

#address-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

#address {
    width: min(100%, 460px);
    padding: 12px 14px;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    font: inherit;
}

#results {
    margin-top: 22px;
    color: #0A3161;
}

/* ABOUT */
.about {
    min-height: 90vh;
    padding: 80px 0;
    background: linear-gradient(rgba(10,49,97,0.58), rgba(10,49,97,0.58)),
                url('assets/sunchair.png') no-repeat center center/cover;
    color: white;
    display: flex;
    background-position: center 5%;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about .container {
    max-width: 1000px;
}

.about h2 {
    font-size: 2.5rem;
}

.about p {
    margin: 20px 0 28px;
    font-size: 1.15rem;
}

.about-home-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 30px;
}

.about-home-grid article {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 6px;
    padding: 30px;
}

.about-home-grid p {
    margin-bottom: 0;
}

.btn-large {
    padding: 14px 30px;
    font-size: 1.15rem;
}

/* INNER PAGES */
.page-hero {
    min-height: 46vh;
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
                url('assets/constitutionalconvention.png') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.7rem;
}

.page-hero p {
    margin-top: 18px;
    font-size: 1.15rem;
}

.content-section {
    padding: 70px 0;
    text-align: center;
}

.content-section .container {
    max-width: 760px;
}

.content-section h2 {
    color: #0A3161;
    font-size: 2rem;
}

.content-section p {
    margin: 18px 0 26px;
}

/* ABOUT PAGE */
.about-quote {
    background: #f7f2e8;
    padding: 68px 0 58px;
    text-align: center;
}

.about-quote img {
    border: 4px solid white;
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
    display: block;
    margin: 0 auto 34px;
    max-width: 420px;
    width: min(72vw, 420px);
}

.about-quote blockquote {
    color: #0A3161;
    margin: auto;
    max-width: 980px;
}

.about-quote blockquote p {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
}

.about-quote cite {
    color: #b22234;
    display: block;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 800;
    margin-top: 18px;
}

.about-mission {
    background: white;
    padding: 72px 0;
    text-align: center;
}

.about-mission .container {
    max-width: 860px;
}

.about-mission h1 {
    color: #0A3161;
    font-size: 3rem;
    line-height: 1.08;
    margin: 10px 0 22px;
}

.about-mission p:not(.kicker) {
    font-size: 1.15rem;
    margin-top: 18px;
}

.about-founders {
    background: #fbfaf6;
    padding: 64px 0 76px;
}

.founder-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-panel {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 28px;
}

.founder-panel h3 {
    color: #0A3161;
    font-size: 1.7rem;
    margin-bottom: 12px;
}

/* JOIN PAGE */
.join-hero {
    background: linear-gradient(90deg, #f7f2e8 0%, #f7f2e8 52%, #0A3161 52%, #0A3161 100%);
    padding: 72px 0;
}

.join-hero-layout {
    align-items: center;
    display: grid;
    gap: 36px;
    grid-template-columns: 0.9fr 1.1fr;
}

.join-hero-copy {
    padding-right: 18px;
}

.join-hero-copy h1 {
    color: #0A3161;
    font-size: 3.35rem;
    line-height: 1.04;
    margin: 10px 0 18px;
}

.join-hero-copy p:not(.kicker) {
    font-size: 1.15rem;
    margin-bottom: 26px;
}

.join-hero-image {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.2);
    padding: 12px;
}

.join-hero-image img {
    display: block;
    max-height: 620px;
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
}

.join-section {
    background: #fbfaf6;
    padding: 72px 0 82px;
}

.join-layout {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: 0.9fr 1.1fr;
}

.join-membership-layout {
    display: block;
    max-width: 900px;
}

.join-membership-layout .join-intro {
    margin: 0 auto 34px;
    max-width: 760px;
    text-align: center;
}

.join-membership-layout .join-intro h1 {
    font-size: 3.25rem;
}

.join-membership-layout .join-intro p:not(.kicker) {
    font-size: 1.3rem;
}

.join-intro h1 {
    color: #0A3161;
    font-size: 2.75rem;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.join-intro p:not(.kicker) {
    font-size: 1.15rem;
}

.join-form {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(10,49,97,0.08);
    display: grid;
    gap: 12px;
    padding: 30px;
}

.join-form label {
    color: #0A3161;
    font-weight: 800;
}

.join-form label span {
    color: #6a6256;
    font-size: 0.95rem;
    font-weight: 600;
}

.join-form input {
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.password-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.password-field button {
    background: white;
    border: 1px solid #0A3161;
    border-radius: 5px;
    color: #0A3161;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0 16px;
}

.password-field button:hover,
.password-field button:focus {
    background: #0A3161;
    color: white;
    outline: none;
}

.field-note {
    color: #555;
    font-size: 0.95rem;
    margin-top: -4px;
}

.join-submit {
    justify-self: start;
    margin-top: 10px;
}

.join-donorbox {
    align-items: start;
    justify-items: center;
    min-height: 620px;
}

.join-donorbox dbox-widget,
.donorbox-embed dbox-widget {
    display: block;
    max-width: 425px;
    width: 100%;
}

.donorbox-embed {
    align-items: flex-start;
    display: flex;
    justify-content: center;
    width: 100%;
}

.donorbox-embed iframe[name="donorbox"],
.donorbox-embed iframe.donorbox-widget {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 425px !important;
    width: 100% !important;
}

/* WELCOME PAGE */
.welcome-section {
    background: #fbfaf6;
    padding: 76px 0 86px;
}

.welcome-layout {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: 0.85fr 1.15fr;
}

.welcome-copy h1 {
    color: #0A3161;
    font-size: 3.2rem;
    line-height: 1.06;
    margin: 10px 0 18px;
}

.welcome-copy p:not(.kicker) {
    font-size: 1.2rem;
}

.welcome-image {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(10,49,97,0.16);
    padding: 12px;
}

.welcome-image img {
    display: block;
    max-height: 640px;
    object-fit: cover;
    width: 100%;
}

/* COMING SOON PAGE */
.coming-soon-section {
    background: #fbfaf6;
    padding: 76px 0 86px;
}

.coming-soon-layout {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: 0.9fr 1.1fr;
}

.coming-soon-copy h1 {
    color: #0A3161;
    font-size: 3.25rem;
    line-height: 1.06;
    margin: 10px 0 18px;
}

.coming-soon-copy p:not(.kicker) {
    font-size: 1.18rem;
    margin-bottom: 26px;
}

.coming-soon-image {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(10,49,97,0.16);
    padding: 12px;
}

.coming-soon-image img {
    display: block;
    max-height: 640px;
    object-fit: cover;
    width: 100%;
}

/* DONATE PAGE */
.donate-hero {
    background: linear-gradient(rgba(10,49,97,0.68), rgba(10,49,97,0.68)),
                url('assets/footer.png') no-repeat center center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.donate-hero .kicker {
    color: #f0d9a0;
}

.donate-hero h1 {
    font-size: 3rem;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.donate-hero p:last-child {
    font-size: 1.15rem;
    margin: auto;
    max-width: 720px;
}

.donate-section {
    background: #fbfaf6;
    padding: 70px 0 82px;
}

.donate-layout {
    align-items: start;
    display: grid;
    gap: 36px;
    grid-template-columns: 0.8fr 1.2fr;
}

.donate-membership-layout {
    display: block;
    max-width: 900px;
}

.donate-copy {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 30px;
}

.donate-membership-layout .donate-copy {
    background: transparent;
    border: 0;
    margin: 0 auto 34px;
    max-width: 760px;
    padding: 0;
    text-align: center;
}

.donate-copy h2 {
    color: #0A3161;
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 14px;
}

.donate-copy p {
    margin-top: 16px;
}

.donate-widget {
    align-items: flex-start;
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    min-height: 520px;
    overflow: hidden;
    padding: 18px;
}

.donate-membership-layout .donate-widget {
    margin: 0 auto;
    max-width: 620px;
}

/* CONTACT PAGE */
.contact-hero {
    background: #f7f2e8;
    border-bottom: 4px double #0A3161;
    color: #0A3161;
    padding: 76px 0 56px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.contact-hero p:last-child {
    color: #333;
    font-size: 1.15rem;
    margin: auto;
    max-width: 720px;
}

.contact-section {
    background: white;
    padding: 72px 0 84px;
}

.contact-layout {
    align-items: start;
    display: grid;
    gap: 38px;
    grid-template-columns: 0.85fr 1.15fr;
}

.contact-message {
    max-width: 820px;
    text-align: center;
}

.contact-message p {
    font-size: 1.25rem;
    margin-top: 18px;
}

.contact-message a {
    color: #0A3161;
    font-weight: 800;
    text-decoration: none;
}

.contact-message a:hover,
.contact-message a:focus {
    color: #b22234;
}

.contact-copy {
    background: #fbfaf6;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 30px;
}

.contact-copy h2 {
    color: #0A3161;
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 14px;
}

.contact-copy p {
    margin-top: 16px;
}

.contact-form {
    background: #fbfaf6;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: 30px;
}

.contact-form label {
    color: #0A3161;
    font-weight: 800;
}

.contact-form label span {
    color: #6a6256;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.contact-form textarea {
    resize: vertical;
}

.contact-submit {
    justify-self: start;
    margin-top: 10px;
}

/* VOLUNTEER PAGE */
.volunteer-hero {
    background: linear-gradient(rgba(10,49,97,0.66), rgba(10,49,97,0.66)),
                url('assets/footer.png') no-repeat center center/cover;
    color: white;
    padding: 86px 0 76px;
    text-align: center;
}

.volunteer-hero .kicker {
    color: #f0d9a0;
}

.volunteer-hero h1 {
    font-size: 3.15rem;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.volunteer-hero p:last-child {
    font-size: 1.16rem;
    margin: auto;
    max-width: 760px;
}

.volunteer-section {
    background: #fbfaf6;
    padding: 64px 0 76px;
}

.volunteer-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.volunteer-card {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 24px;
}

.volunteer-card span {
    color: #b22234;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.volunteer-card h3 {
    color: #0A3161;
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.volunteer-signup {
    background: white;
    padding: 72px 0 82px;
}

.volunteer-layout {
    align-items: start;
    display: grid;
    gap: 38px;
    grid-template-columns: 0.85fr 1.15fr;
}

.volunteer-copy h2 {
    color: #0A3161;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 10px 0 16px;
}

.volunteer-copy p:not(.kicker) {
    font-size: 1.15rem;
}

.volunteer-form {
    background: #fbfaf6;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    padding: 30px;
}

.volunteer-form label {
    color: #0A3161;
    font-weight: 800;
}

.volunteer-form label span {
    color: #6a6256;
    font-size: 0.95rem;
    font-weight: 600;
}

.volunteer-form input,
.volunteer-form select {
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.volunteer-submit {
    justify-self: start;
    margin-top: 10px;
}

.volunteer-join {
    background: #0A3161;
    color: white;
    padding: 62px 0 70px;
    text-align: center;
}

.volunteer-join .container {
    max-width: 760px;
}

.volunteer-join h2 {
    font-size: 2.45rem;
    line-height: 1.1;
}

.volunteer-join p {
    margin: 16px 0 26px;
}

/* PLATFORM PAGE */
.platform-cinematic {
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,0.34), rgba(0,0,0,0.5)),
        url('assets/slc.png') no-repeat center center/cover;
    color: white;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 98px);
    padding: 8vh 5%;
    text-align: center;
}

.platform-cinematic-text {
    max-width: 980px;
    text-shadow: 0 3px 18px rgba(0,0,0,0.72);
}

.platform-cinematic-text p {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.22;
}

.platform-principles {
    background: #fbfaf6;
    padding: 70px 0 84px;
}

.platform-principle {
    border-top: 2px solid #0A3161;
    margin: 0 auto;
    max-width: 1100px;
    min-height: 270px;
    padding: 40px 5%;
    width: 90%;
}

.platform-principle + .platform-principle {
    margin-top: 22px;
}

.platform-principle-left {
    margin-left: 0;
    padding-left: max(5%, calc((100vw - 1100px) / 2));
    padding-right: 8%;
    text-align: left;
    width: 50%;
}

.platform-principle-right {
    margin-right: 0;
    padding-left: 8%;
    padding-right: max(5%, calc((100vw - 1100px) / 2));
    text-align: right;
    width: 50%;
}

.platform-principle span {
    color: #b22234;
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.platform-principle h2 {
    color: #0A3161;
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 16px;
}

.platform-principle p {
    font-size: 1.18rem;
}

.platform-hero {
    background: linear-gradient(rgba(10,49,97,0.64), rgba(10,49,97,0.64)),
                url('assets/constitutionalconvention.png') no-repeat center 26%/cover;
    color: white;
    padding: 92px 0;
    text-align: center;
}

.platform-hero .kicker {
    color: #f0d9a0;
}

.platform-hero h1 {
    font-size: 3.2rem;
    line-height: 1.08;
    margin: 10px 0 18px;
}

.platform-hero p:last-child {
    font-size: 1.16rem;
    margin: auto;
    max-width: 760px;
}

.platform-section {
    background: #fbfaf6;
    padding: 72px 0 82px;
}

.platform-intro {
    margin: 0 auto 34px;
    max-width: 820px;
    text-align: center;
}

.platform-intro h2 {
    color: #0A3161;
    font-size: 2.45rem;
    line-height: 1.1;
}

.platform-intro p {
    margin-top: 14px;
}

.platform-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-card {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 26px;
}

.platform-card span {
    color: #b22234;
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.platform-card h3 {
    color: #0A3161;
    font-size: 1.55rem;
    line-height: 1.12;
    margin-bottom: 10px;
}

.platform-callout {
    background: #0A3161;
    color: white;
    padding: 64px 0 72px;
    text-align: center;
}

.platform-callout .container {
    max-width: 760px;
}

.platform-callout h2 {
    font-size: 2.45rem;
    line-height: 1.1;
}

.platform-callout p {
    margin: 16px 0 26px;
}

/* ACTA PUBLICA */
.newspaper-hero {
    background: #f7f2e8;
    border-bottom: 4px double #0A3161;
    color: #0A3161;
    padding: 70px 0 50px;
    text-align: center;
}

.kicker {
    color: #b22234;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newspaper-hero h1 {
    font-size: 3.25rem;
    line-height: 1.05;
    margin-top: 8px;
}

.newspaper-hero p:last-child {
    color: #333;
    font-size: 1.12rem;
    margin: 18px auto 0;
    max-width: 680px;
}

.article-index {
    background: #fbfaf6;
    padding: 56px 0 70px;
}

.section-heading {
    border-bottom: 2px solid #0A3161;
    color: #0A3161;
    margin-bottom: 26px;
    padding-bottom: 12px;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.2rem;
}

.section-heading p {
    color: #555;
    margin-top: 4px;
}

.article-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.article-card {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    padding: 24px;
}

.article-card h3 {
    font-size: 1.65rem;
    line-height: 1.15;
    margin: 8px 0;
}

.article-card h3 a {
    color: #0A3161;
    text-decoration: none;
}

.article-card h3 a:hover,
.article-link:hover {
    color: #b22234;
}

.article-meta,
.article-author {
    color: #6a6256;
    font-size: 0.95rem;
}

.article-link {
    color: #0A3161;
    display: inline-block;
    font-weight: 800;
    margin-top: 18px;
    text-decoration: none;
}

.article-page {
    background: #fbfaf6;
    padding: 64px 0;
}

.article-body {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    max-width: 820px;
    padding: 46px;
}

.article-body h1 {
    color: #0A3161;
    font-size: 3rem;
    line-height: 1.08;
    margin: 10px 0 12px;
}

.article-body p {
    margin-top: 18px;
}

.article-return {
    margin-top: 26px;
}

/* LATEST */
.latest {
    background: #fbfaf6;
    padding: 66px 0 74px;
}

.latest-header {
    align-items: end;
    border-bottom: 2px solid #0A3161;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 14px;
}

.latest-header h2 {
    color: #0A3161;
    font-size: 2.4rem;
    line-height: 1;
}

.latest-all-link {
    color: #0A3161;
    font-weight: 800;
    text-decoration: none;
}

.latest-all-link:hover,
.latest-all-link:focus {
    color: #b22234;
}

.latest-scroll {
    display: grid;
    gap: 18px;
    grid-auto-columns: minmax(300px, 360px);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #0A3161 #e4ded2;
}

.latest-card {
    background: white;
    border: 1px solid #d7d0c2;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 24px;
    scroll-snap-align: start;
}

.latest-card h3 {
    font-size: 1.55rem;
    line-height: 1.16;
    margin: 10px 0 12px;
}

.latest-card h3 a {
    color: #0A3161;
    text-decoration: none;
}

.latest-card h3 a:hover,
.latest-card h3 a:focus {
    color: #b22234;
}

.latest-card .article-link {
    margin-top: auto;
}

/* FOOTER */
footer {
    background: #0b1f3a;
    color: white;
    padding: 42px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    text-align: center;
}

.footer-logo {
    color: white;
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
}

.footer-brand p {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
    color: #d8d8d8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.footer-button {
    align-items: center;
    background: white;
    border: 2px solid white;
    border-radius: 6px;
    color: #0A3161;
    display: flex;
    font-weight: bold;
    justify-content: center;
    min-height: 52px;
    padding: 12px 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-button:hover,
.footer-button:focus {
    background: #f4f4f4;
    border-color: #b22234;
    color: #0A3161;
    outline: none;
    transform: translateY(-2px);
}

.footer-button:active {
    background: #b22234;
    border-color: #b22234;
    color: white;
    transform: translateY(0);
}

.footer-logo:hover {
    color: #f0d9a0;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #d8d8d8;
    padding-top: 18px;
    text-align: center;
}

@media (max-width: 640px) {
    header {
        padding: 0.45rem 0;
    }

    .nav {
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo img {
        height: 3.35rem;
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-menu-toggle {
        appearance: none;
        display: block;
        height: 1px;
        opacity: 0;
        position: absolute;
        width: 1px;
    }

    .nav-menu-button {
        align-items: center;
        border: 1px solid rgba(10,49,97,0.24);
        border-radius: 5px;
        cursor: pointer;
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        height: 44px;
        justify-content: center;
        padding: 0 10px;
        width: 46px;
    }

    .nav-menu-button span {
        background: #0A3161;
        border-radius: 999px;
        display: block;
        height: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
        width: 24px;
    }

    .nav-menu-toggle:focus-visible + .nav-menu-button {
        outline: 2px solid #b22234;
        outline-offset: 3px;
    }

    .nav-menu-toggle:checked + .nav-menu-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-menu-toggle:checked + .nav-menu-button span:nth-child(2) {
        opacity: 0;
    }

    .nav-menu-toggle:checked + .nav-menu-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav > nav {
        display: none;
        flex: 0 0 100%;
        padding-top: 6px;
    }

    .nav-menu-toggle:checked ~ nav {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
    }

    nav,
    nav ul li a {
        width: 100%;
    }

    nav ul li a {
        border-radius: 5px;
    }

    .dropdown-menu {
        box-shadow: none;
        margin-top: 6px;
        opacity: 1;
        pointer-events: auto;
        position: static;
        transform: none;
    }

    #address-form {
        flex-direction: column;
        align-items: stretch;
    }

    #address {
        width: 100%;
    }

    .hero h2,
    .about h2,
    .lookup h2 {
        font-size: 2rem;
    }

    .newspaper-hero h1,
    .article-body h1,
    .about-mission h1 {
        font-size: 2.3rem;
    }

    .about-quote blockquote p {
        font-size: 2.25rem;
    }

    .join-hero {
        background: #f7f2e8;
        padding: 46px 0;
    }

    .join-hero-layout {
        grid-template-columns: 1fr;
    }

    .join-hero-copy {
        padding-right: 0;
        text-align: center;
    }

    .join-hero-copy h1 {
        font-size: 2.4rem;
    }

    .join-layout,
    .coming-soon-layout,
    .welcome-layout {
        grid-template-columns: 1fr;
    }

    .coming-soon-copy,
    .welcome-copy {
        text-align: center;
    }

    .coming-soon-copy h1,
    .welcome-copy h1 {
        font-size: 2.35rem;
    }

    .about-home-grid,
    .donate-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout,
    .volunteer-layout {
        grid-template-columns: 1fr;
    }

    .donate-hero h1 {
        font-size: 2.35rem;
    }

    .contact-hero h1,
    .contact-copy h2,
    .platform-hero h1,
    .platform-cinematic-text p,
    .platform-intro h2,
    .platform-callout h2 {
        font-size: 2.25rem;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-cinematic {
        min-height: calc(100vh - 72px);
        padding: 7vh 6%;
    }

    .platform-cinematic-text p {
        font-size: 1.45rem;
        line-height: 1.28;
    }

    .platform-principles {
        padding: 46px 0 58px;
    }

    .platform-principle,
    .platform-principle-left,
    .platform-principle-right {
        margin-left: auto;
        margin-right: auto;
        min-height: auto;
        padding: 30px 0;
        text-align: left;
        width: 90%;
    }

    .platform-principle h2 {
        font-size: 2.1rem;
    }

    .platform-principle p {
        font-size: 1.05rem;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
    }

    .join-intro h1 {
        font-size: 2.25rem;
    }

    .join-membership-layout .join-intro h1 {
        font-size: 2.45rem;
    }

    .join-membership-layout .join-intro p:not(.kicker) {
        font-size: 1.12rem;
    }

    .join-form {
        padding: 22px;
    }

    .latest-header {
        align-items: start;
        flex-direction: column;
    }

    .latest-scroll {
        grid-auto-columns: minmax(260px, 86vw);
    }

    .password-field {
        grid-template-columns: 1fr;
    }

    .password-field button,
    .join-submit,
    .contact-submit,
    .volunteer-submit {
        min-height: 48px;
        width: 100%;
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .article-body {
        padding: 28px 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
