:root {
    --campaign-blue: #002060;
    --campaign-red: #c00000;
    --campaign-red-hover: #e00000;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--campaign-blue);
    font-family: "Helvetica Neue", "Arial";
    overflow-x: hidden;
}

#d4gMain {
    width: 80vw;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--white);
}
#d4gHeaderBox {
    position: sticky;
    top: 0;
    z-index: 1000;
}

#d4gHeaderMenu {
    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: center;
    background: var(--campaign-blue);
    min-height: 170px;
    padding: 0 30px;
    overflow: visible;
}

#logo {
    width: 320px;
    max-width: 100%;
    height: auto;
    display: block;
    background: var(--white);
    padding: 16px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
    position: relative;
    top: 30px;
    z-index: 2;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
    padding: 0 20px;
}

.menuHeaderButton {
    color: var(--white);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
}

/* animated underline */
.menuHeaderButton::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.menuHeaderButton:hover::after,
.menuHeaderButton:focus-visible::after {
    transform: scaleX(1);
}

.menuHeaderButton:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 6px;
}

.donateButton {
    background: var(--campaign-red);
    padding: 12px 20px;
    border-radius: 8px;
    position: relative;
    font-weight: 800;
    letter-spacing: 0.5px;
    /* subtle glow */
    box-shadow: 0 0 0 rgba(192, 0, 0, 0.7);
    animation: donatePulse 2.5s infinite;
}

/* remove underline animation for donate */
.donateButton::after {
    display: none;
}

/* hover = brighter + slight lift */
.donateButton:hover {
    background: var(--campaign-red-hover);
    transform: translateY(-2px);
}

/* pulse animation */
@keyframes donatePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 0, 0, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(192, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(192, 0, 0, 0);
    }
}
/* important for sticky-header anchor jumps */
section {
    scroll-margin-top: 210px;
    padding-top: 10px;
}

section#lookout {
  padding-top:0px;
  }
img#lookoutmtn {
  width:100%;
  }

/* mobile */
@media (max-width: 900px) {
    #d4gHeaderMenu {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 20px 20px 16px;
        min-height: auto;
    }

    #logo {
        width: 260px;
        top: 0;
        margin-bottom: 18px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 18px 28px;
        padding: 0;
    }

    .menuHeaderButton {
        font-size: 1.35rem;
    }

    section {
        scroll-margin-top: 140px;
    }
}

.socialIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;

    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Facebook brand hover */
.socialIcon[aria-label="Facebook"]:hover {
    color: #1877F2;
}

/* Instagram gradient hover trick */
.socialIcon[aria-label="Instagram"]:hover {
    color: #E1306C; /* fallback */
}

.socialIcon[aria-label="Instagram"]:hover svg {
    fill: url(#igGradient);
}

/* Slight pop effect */
.socialIcon:hover {
    transform: scale(1.15);
    opacity: 0.95;
}

.mobileDonateBar {
    display: none;
}

@media (max-width: 700px) {
    .mobileDonateBar {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2000;
        background: var(--campaign-red);
        color: var(--white);
        text-decoration: none;
        font-family: "Helvetica Neue";
        text-transform: uppercase;
        font-size: 1.1rem;
        font-weight: 800;
        letter-spacing: 0.3px;
        padding: 14px 16px;
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
    }

    #menuHeaderButtonDonate {
        display: none;
    }

    body {
        padding-bottom: 60px;
    }
}

    .mobileDonateBar:hover,
    .mobileDonateBar:focus-visible {
        background: var(--campaign-red-hover);
    }

  @media (max-width: 700px) {
      #menuHeaderButtonDonate {
          display: none;
      }
  }
    body {
        padding-bottom: 60px;
    }

div.pageHeaderBox {
  width:100%;
  height: fit-content;
  padding:10px;
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: bold;
  color:var(--white);
  text-align: center;
  background-color: var(--campaign-blue);
}

/* SECTION WRAPPER */
.contentSection {
    width: 100%;
    padding-bottom: 40px;
}

/* MAIN SPLIT LAYOUT */
.splitSection {
    display: grid;
    grid-template-columns: minmax(260px, 34%) 1fr;
    width: 100%;

    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* MEDIA SIDE */
.splitMedia {
    background: #e6e6e6;
    padding: 16px;
    border-right: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
}
.splitImage {
    display: block;
    width: 100%;
    /*height: 100%;*/
    min-height: 420px;
    object-fit: cover;
    object-position: center top;

    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
/* @media (max-width: 900px) {
    .splitImage {
        height: auto;
        min-height: 0;
        max-height: 420px;
        object-fit: cover;
        object-position: center 20%;
    }
}
*/

.splitImage:hover {
    transform: scale(1.03);
}

/* TEXT SIDE */
.splitContent {
   /*  background: #f7f7f7; */
    padding: 32px 36px;

    font-size: clamp(1rem, 1.1vw + 0.85rem, 1.35rem);
    line-height: 1.65;
    color: #222;

    box-sizing: border-box;
}

.splitContent p {
    margin: 0 0 1.3em 0;
}

.splitContent p:last-child {
    margin-bottom: 0;
}

/* FIRST PARAGRAPH EMPHASIS */
.splitContent p:first-child {
    font-size: clamp(1.1rem, 1.2vw + 0.9rem, 1.5rem);
    font-weight: 500;
}

/*
@media (max-width: 1100px) {
    .splitSection,
    .splitSection.reverse {
        grid-template-columns: 1fr;
    }

    .splitMedia,
    .splitSection.reverse .splitMedia {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 12px;
    }

    .splitImage {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 420px;
    }

    .splitContent {
        max-width: none;
        padding: 22px;
    }

    .splitSection.reverse .splitMedia {
        order: 2;
    }

    .splitSection.reverse .splitContent {
        order: 1;
    }
}
*/
.splitSection.reverse {
    grid-template-columns: 1fr minmax(260px, 34%);
}

.splitSection.reverse .splitMedia {
    border-right: none;
    border-left: 1px solid rgba(0,0,0,0.08);
}

.splitSection.textOnly {
    grid-template-columns: 1fr;
}

.splitContent {
 /*   max-width: 900px;*/
}

/*@media (max-width: 1100px) {
    .splitSection.reverse .splitMedia {
        order: 2;
    }

    .splitSection.reverse .splitContent {
        order: 1;
    }
}
*/
.supportSection .splitMedia {
    padding: 0;
    background: #dfe3e8;
}

.supportSection .simpleCarousel,
.supportSection .splitImage {
    border-radius: 0;
    box-shadow: none;
}

.supportContent {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
}

.supportIntro,
.supportVolunteer {
    margin: 0;
}

.supportIntro {
    font-size: clamp(1.05rem, 1vw + 0.9rem, 1.35rem);
    line-height: 1.6;
}

.supportVolunteer {
    font-size: clamp(1rem, 0.9vw + 0.85rem, 1.2rem);
    line-height: 1.65;
}

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

.donationButton {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 84px;
    padding: 16px 18px;

    background: var(--campaign-red);
    color: var(--white);
    text-decoration: none;
    text-align: center;

    font-size: clamp(1.1rem, 0.9vw + 0.9rem, 1.8rem);
    font-weight: 800;
    line-height: 1.15;

    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.donationButton:hover,
.donationButton:focus-visible {
    background: var(--campaign-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.28);
}

.donationButton:focus-visible {
    outline: 3px solid var(--campaign-blue);
    outline-offset: 3px;
}

.inlineTextLink {
    color: var(--campaign-blue);
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
}

.inlineTextLink:hover,
.inlineTextLink:focus-visible {
    color: var(--campaign-red);
}

@media (max-width: 1100px) {
    .donationGrid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

/*
@media (max-width: 900px) {
    .supportSection .splitMedia {
        min-height: 320px;
    }

    .supportSection .simpleCarousel,
    .supportSection .splitImage {
        min-height: 320px;
    }

    .supportContent {
        gap: 22px;
    }
}
*/
@media (max-width: 600px) {
    .donationGrid {
        grid-template-columns: 1fr;
    }

    .donationButton {
        min-height: 72px;
    }
}

.volunteerContent {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.volunteerIntro {
    font-size: clamp(1.05rem, 1vw + 0.9rem, 1.3rem);
    line-height: 1.6;
    margin-bottom: -15px !important;
}

/* FORM */
.volunteerForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.formRow {
    display: flex;
    gap: 16px;
}

input[type="tel"] {
    letter-spacing: 0.05em;
}
.formRow input:not([type="checkbox"]),
.formRow select,
.formRow textarea {
    width: 100%;
    padding: 12px 14px;

    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;

    font-family: inherit;
    box-sizing: border-box;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.formRow input:not([type="checkbox"]):focus,
.formRow select:focus,
.formRow textarea:focus {
    border-color: var(--campaign-blue);
    box-shadow: 0 0 0 3px rgba(0,32,96,0.15);
    outline: none;
}
/* SUBMIT BUTTON */
.volunteerSubmit {
    margin-top: 10px;
    padding: 14px;

    font-size: 1.2rem;
    font-weight: 700;

    background: var(--campaign-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;

    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.volunteerSubmit:hover {
    background: #003080;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ALT CONTACT */
.volunteerAlt {
    display: none;
    font-size: 0.95rem;
    color: #555;
}

.volunteerAlt p {
    margin: 0 0 6px 0;
}

@media (max-width: 700px) {
    .formRow {
        flex-direction: column;
    }
}

.formHoneypot {
    position: absolute;
    left: -9999px;
}

.formStatus {
    margin: 8px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 1.2em;
    color: #444;
}

.formStatus.isError {
    color: #b00020;
}

.formStatus.isSuccess {
    color: #0a6b2d;
}

.modalOverlay {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(0, 0, 0, 0.55);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.modalOverlay.isOpen {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modalBox {
    position: relative;
    width: min(500px, 100%);
    background: #ffffff;
    color: #222;
    border-radius: 12px;
    padding: 32px 28px 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    text-align: center;
}

.modalBox h3 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--campaign-blue);
}

.modalBox p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modalClose {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.modalClose:hover,
.modalClose:focus-visible {
    color: var(--campaign-red);
}

body.modalOpen {
    overflow: hidden;
}

.formRowCheckbox {
    display: block;
    width: 100%;
    margin-top: 4px;
}

.checkboxLabel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    cursor: pointer;
}

.checkboxLabel input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 0.25em 0 0 0;
    transform: scale(1.15);
    accent-color: var(--campaign-blue);
}

.checkboxText {
    display: block;
    flex: 1 1 auto;
    width: auto;
    white-space: normal;
    font-size: 1rem;
    line-height: 1.5;
    color: #222;
}

.formNote {
    margin: 10px 0 0 28px;
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #666;
}

@media (max-width: 1100px) {
    .splitSection,
    .splitSection.reverse {
        grid-template-columns: 1fr;
    }

    .splitMedia,
    .splitSection.reverse .splitMedia {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding: 12px;
    }

    .splitSection.reverse .splitMedia {
        order: 2;
    }

    .splitSection.reverse .splitContent {
        order: 1;
    }

    .splitContent {
        max-width: none;
        padding: 22px;
    }

    .splitImage {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 420px;
        object-fit: cover;
        object-position: center 20%;
    }

    .supportSection .simpleCarousel {
        min-height: 320px;
        height: auto;
    }

    .supportSection .splitMedia {
        min-height: 0;
    }

    .supportContent {
        gap: 22px;
    }
}

div#creditsBox {
  text-transform: lowercase;
  font-size: small;
  }

/* ===== Campaign Message Section ===== */

.campaign-message-section {
    padding: 60px 20px;
    background: var(--white);
}

.campaign-message-inner {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #222;
}

/* Heading */
.campaign-message-inner h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--campaign-blue);
}

/* Paragraph spacing */
.campaign-message-inner p {
    margin-bottom: 18px;
}

/* Emphasis lines (big punchy statements) */
.campaign-message-emphasis {
    text-align: left;
    font-size: 1.6rem;
    color: var(--campaign-red);
    margin: 25px 0;
}

/* Quote block */
.campaign-message-quote {
    border-left: 5px solid var(--campaign-red);
    padding: 15px 20px;
    margin: 30px 0;
    background: #f9f9f9;
    font-size: 1.2rem;
}

.campaign-message-quote p {
    margin: 0;
}

/* Key points (voice/vote matters) */
.campaign-message-points {
    text-align: left;
    margin: 25px 0;
    font-size: 1.3rem;
    color: var(--campaign-blue);
}

.campaign-message-points p:nth-child(2) {
    font-size: 1.8rem;
  }

/* Divider */
.campaign-message-inner hr {
    margin: 40px auto;
    width: 60%;
    border: none;
    border-top: 2px solid #ddd;
}

/* Joke line */
.campaign-message-joke {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-top: 20px;
}

/* ===== Responsive tweaks ===== */

@media (max-width: 768px) {
    .campaign-message-inner {
        font-size: 1rem;
    }

    .campaign-message-emphasis {
        font-size: 1.3rem;
    }

    .campaign-message-quote {
        font-size: 1.05rem;
    }

    .campaign-message-points {
        font-size: 1.1rem;
    }
}

.campaign-cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--campaign-red);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.campaign-cta-button:hover {
    background: var(--campaign-red-hover);
}

/* ===== Proof / Data Link Bar ===== */

.campaign-proof-bar {
    margin: -20px auto 20px auto;
    padding: 20px;
    background: #f4f6fb;
    border-left: 5px solid var(--campaign-blue);
    max-width: 95%;
}

.campaign-proof-title {
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--campaign-blue);
    text-align: center;
}

.campaign-proof-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.campaign-proof-links a {
    display: inline-block;
    padding: 8px 14px;
    background: var(--campaign-blue);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.campaign-proof-links a:hover {
    background: var(--campaign-red);
}

.issuesWrap {
    padding: 24px 28px 0;
}

.issuesIntro {
    margin: 0 0 24px;
    font-size: clamp(1.05rem, 1vw + 0.9rem, 1.3rem);
    line-height: 1.6;
    color: #222;
}

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

.issueCard {
    display: block;
    padding: 24px;
    background: #f7f7f7;
    color: #222;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    border-top: 6px solid var(--campaign-blue);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.issueCard:hover,
.issueCard:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.16);
}

.issueCard h3 {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 1vw + 1rem, 1.8rem);
    color: var(--campaign-blue);
}

.issueCard p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.issueCard.featured {
    grid-column: 1 / -1;
    border-top-color: var(--campaign-red);
    background: linear-gradient(to bottom, #faf7f7, #f7f7f7);
}

.issueKicker {
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--campaign-red);
}

@media (max-width: 800px) {
    .issuesGrid {
        grid-template-columns: 1fr;
    }

    .issueCard.featured {
        grid-column: auto;
    }

    .issuesWrap {
        padding: 20px 22px 0;
    }
}
@media (max-width: 700px) {
    #d4gHeaderBox {
        position: static;
    }

    #d4gHeaderMenu {
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: auto;
        padding: 16px 20px 20px;
        gap: 12px;
    }

    #logo {
        width: min(78vw, 320px);
        top: 0;
        margin-bottom: 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
    }

    .nav {
        flex-direction: column;
        gap: 18px;
        padding: 0;
    }

    .menuHeaderButton {
        font-size: 1.2rem;
        padding: 0;
    }

    section {
        scroll-margin-top: 20px;
    }
}

@media (max-width: 700px) {
    #lookout {
      display:none;
      }
    .nav {
        display: flex;
        flex-direction: row;              /* force horizontal */
        justify-content: center;
        align-items: center;
        gap: 24px;
        flex-wrap: wrap;                 /* allows wrapping if needed */
    }

    .menuHeaderButton {
      font-size: 1.05rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
}

.volunteerForm {
    border-top: 2px solid rgba(0,0,0,0.08);
    padding-top: 16px;
}

/* =========================
   MOBILE / SMALL TABLETS
========================= */
@media (max-width: 900px) {
    #d4gHeaderBox {
        position: static;
    }

    #d4gHeaderMenu {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        min-height: auto;
        padding: 16px 20px 20px;
        gap: 12px;
        text-align: center;
    }

    #logo {
        display: block;
        width: min(78vw, 320px);
        max-width: 100%;
        height: auto;
        top: 0;
        margin-left: -16px;
        justify-self: center;
    }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 0;
        width: 100%;
    }

    .menuHeaderButton {
        font-size: 1.1rem;
        padding: 0;
    }

    section {
        scroll-margin-top: 20px;
    }
}

/* =========================
   PHONES IN LANDSCAPE
========================= */
@media (max-height: 500px) and (orientation: landscape) {
    #d4gHeaderBox {
        position: static;
    }

    #d4gHeaderMenu {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        min-height: auto;
        padding: 12px 16px 16px;
        gap: 10px;
    }

    #logo {
        display: block;
        width: min(42vw, 240px);
        max-width: 100%;
        height: auto;
        top: 0;
        margin: 0 auto 6px auto;
        justify-self: center;
    }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        padding: 0;
        width: 100%;
    }

    .menuHeaderButton {
        font-size: 1rem;
    }
}
