:root {
  --navy: #102a43;
  --navy-2: #173f5f;
  --red: #9d2f2f;
  --cream: #f7f3e8;
  --paper: #fffdf7;
  --ink: #1e2933;
  --muted: #64717d;
  --line: #d8d2c4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
}

/* Blinking video button */

.election-link-row-ctr {
    text-align: center;
    margin:30px 0;
}

.video-button-container {
    text-align: center;
    margin:30px 0;
    justify-content: center;
    align-items: center;
}

.attention-video-button {
    background-color: white;
    color: #c00000;
    font-size: 20px;
    font-weight: bold;
    padding: 16px 28px;
    border: 4px solid red;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 10px red;
    animation: flashingBorder 1s infinite;
    transition: transform 0.2s;
}

/* Flashing red border */

@keyframes flashingBorder {
    0%, 100% {
        border-color: red;
        box-shadow: 0 0 8px red;
    }
    50% {
        border-color: white;
        box-shadow: 0 0 25px red;
    }
}

/* Animated play icon */

.play-icon {
    display: inline-block;
    margin-right: 10px;
    color: red;
    animation: playPulse 0.8s infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
}

/* Mouse-over effect */

.attention-video-button:hover {
    background-color: red;
    color: white;
    transform: scale(1.08);
}

.attention-video-button:hover .play-icon {
    color: white;
}

.video-button {
    background-color: red;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;

    animation: videoBlink 1.2s infinite;
}

@keyframes videoBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.08);
    }
}

.video-button:hover {
    animation: none;
    background-color: darkred;
}


/* Dark background behind popup */

.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.8);

    justify-content: center;
    align-items: center;
}

/* Video popup */

.video-popup {
    position: relative;
    background: black;
    padding: 15px;
    border-radius: 10px;

    width: 80%;
    max-width: 900px;
}

/* Video */

.video-popup video {
    width: 100%;
    height: auto;
    display: block;
}

/* X close button */

.video-close {
    position: absolute;
    right: -15px;
    top: -20px;

    background: red;
    color: white;

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    font-size: 28px;
    font-weight: bold;
    cursor: pointer;

    z-index: 10;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 2px solid #d7c69a;
  background: var(--cream);
  box-shadow: 0 3px 10px rgba(16,42,67,.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  font-size: 18px;
  border: 3px double var(--cream);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; letter-spacing: .02em; }
.brand small { font-size: .8rem; color: var(--red); letter-spacing: .08em; text-transform: uppercase; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
    font-weight: bold; 
    color:red;
}
.site-nav a { text-decoration: none; color: var(--navy); }
.site-nav a:hover { color: var(--red); }
.nav-button {
  padding: 10px 16px;
  border: 1px solid var(--navy);
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.10), transparent 24%),
    linear-gradient(135deg, #102a43 0%, #173f5f 58%, #0a2033 100%);
  position: relative;    
  justify-content: center;
    align-items: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -170px auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 2.35fr 2.65fr;
  gap: 70px;
  align-items: center;
  padding: 72px 0;
}
.eyebrow, .section-kicker {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .78rem;
  color: black;
}
.eyebrow { color: #f2d6c8; }

h1, h2, h3 { margin-top: 0; line-height: 1.15; }
h1 {
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); color: var(--navy); }
h3 { color: var(--navy); font-size: 1.35rem; }


.hero-logo {
  display: block;
  width: min(250px, 52vw);
  height: auto;
  margin: 0 0 24px;
  border-radius: 50%;
  border: 4px solid rgba(215,198,154,.9);
  background: var(--cream);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.hero-text {
  max-width: 720px;
  font-size: 1.22rem;
  color: #e8eef3;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; margin-bottom: 30px; justify-content: center; align-items: center; }

.button {
  display: inline-block;
  padding: 13px 21px;
  text-decoration: none;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.button.primary { background: var(--red); color: var(--white); }
.button.secondary { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.button.third { border: 1px solid rgba(173, 216, 230, 0.55); }
.button:hover { transform: translateY(-1px); }

.constitution-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 36px;
  box-shadow: var(--shadow);
}
.constitution-card h2 { color: var(--white); font-size: 2rem; }
.constitution-card p { color: #e8eef3; font-size: 1.08rem; }
.seal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px double #d7c69a;
  display: grid;
  place-items: center;
  text-align: center;
  margin-bottom: 26px;
  color: #f5e9c5;
  font-style: italic;
  font-weight: 700;
}

.section { padding: 92px 0; }
.section.alt { background: var(--cream); }
.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.one-col {
  gap: 1px;
}

.body-copy { font-size: 1.08rem; color: #394957; }
.body-copy p:first-child { margin-top: 0; }

.cards {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(6, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
  color: black;
  box-shadow: 0 10px 25px rgba(16,42,67,.05);
}
.icon {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 18px;
}
.resource a, .text-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.muted { color: var(--muted); }

.event-list { margin-top: 34px; border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.event-date {
  border: 1px solid var(--line);
  text-align: center;
  padding: 10px;
  background: var(--white);
}
.event-date span, .event-date strong { display: block; }
.event-date span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .74rem;
  letter-spacing: .15em;
  color: var(--red);
  font-weight: 800;
}
.event-date strong { font-size: 2rem; color: var(--navy); }
.event h3, .event p { margin-bottom: 5px; }

.speaker-panel, .contact-card {
  background: var(--white);
  border-left: 5px solid var(--red);
  padding: 34px;
  box-shadow: var(--shadow);
}

.membership {
  background: var(--navy);
  color: var(--white);
}
.membership h2 { color: var(--white); }
.section-kicker.light { color: #e3cba0; }
.membership-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.membership-card {
  background: var(--white);
  color: var(--ink);
  padding: 34px;
}
.light-button { background: var(--red); color: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 70px;
  align-items: start;
}

.bold-red-text {
  font-weight: bold;
  color: red;
  text-align: center;
}

.bold-blue-text {
  font-weight: bold;
  color: blue;
  text-align: center;
}

.blue-highlight {
    background-color: blue; /* Sets background to blue */
    color: white;           /* Sets text color to white */
    font-weight: bold;      /* Makes the text bold */
    padding: 10px;          /* Adds spacing around text */
    text-align: center;
}

.red-highlight {
    background-color: red; /* Sets background to blue */
    color: white;           /* Sets text color to white */
    font-weight: bold;      /* Makes the text bold */
    padding: 10px;          /* Adds spacing around text */
    text-align: center;
}

.flash-red {
    color: red;
    font-weight: bold;
    animation: flash 1s infinite;
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* Ticker bar */
.ticker {
    width: 100%;
    background-color: red;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 0;
    font-size: 20px;
    font-weight: bold;
}

/* Moving text */
.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
}

/* Move from right to left */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.site-footer {
  background: #0a2033;
  color: #d9e3eb;
  padding: 48px 0 28px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 18px;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-links a { text-decoration: none; }
.legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .85rem;
}

@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px 4%;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .hero-grid, .two-col, .membership-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-grid { min-height: auto; }
  .cards.three { grid-template-columns: 1fr; }
  .section-heading, .footer-grid, .legal { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {

  .brand-logo { width: 46px; height: 46px; }
  .hero-logo { width: min(210px, 62vw); }
  .section { padding: 68px 0; }
  .hero-grid { padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { text-align: center; }
  .event { grid-template-columns: 72px 1fr; gap: 18px; }
  .constitution-card { padding: 26px; }
}


/* 2026 Mid-Term Elections */
.election-intro { max-width: 820px; }
.election-image-wrap { max-width: 900px; margin: 34px auto 0; padding: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.election-schedule-image { display: block; width: 100%; height: auto; }
.election-actions { justify-content: center; }

.election-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 34px 0;
}
.election-info-card, .candidate-panel, .official-links-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 0 10px 25px rgba(16,42,67,.05);
}
.election-info-card p { margin: 8px 0; }
.candidate-panel { margin: 30px 0; border-left: 5px solid var(--red); }
.election-link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.outline-dark { border: 1px solid var(--navy); color: var(--navy); }
.official-links-panel { margin: 30px 0; }
.official-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.official-links a {
  display: block; padding: 18px; border: 1px solid var(--line);
  text-decoration: none; background: var(--paper);
}
.official-links strong, .official-links span { display: block; }
.official-links strong { color: var(--navy); }
.official-links span { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.schedule-title { margin-top: 44px; text-align: center; }
@media (max-width: 850px) {
  .election-quick-grid, .official-links { grid-template-columns: 1fr; }
}

/* BUTTON AREA */
.video-buttons {
    display: flex;
    justify-content: center;
	align-items: center;
	gap: 20px;
    flex-wrap: nowrap;		
	width: 100%;
    margin: 30px auto;
}

/* VIDEO BUTTONS */
.video-btn {
    background-color: #00FFFF;
    color: Black;
    font-size: 15px;
    font-weight: bold;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s; 
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}
.video-btn:hover {
    background-color: #ff0000;
    transform: scale(1.05);
}

/* DARK BACKGROUND BEHIND POPUP
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
*/
/* POPUP WINDOW */
.video-popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background-color: black;
    padding: 10px;
    border-radius: 10px;
}

/* VIDEO 
.video-popup video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
*/
/* CLOSE X
.video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}
*/
.video-close:hover {
    color: red;
}

/* Automatic Welcome Video */

.welcome-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.80);
    justify-content: center;
    align-items: center;
}

.welcome-video-popup {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: black;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.welcome-video-popup video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.welcome-video-close {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 26px;
    cursor: pointer;
    z-index: 10000;
}

.welcome-video-close:hover {
    background: darkred;
}

/* =========================================
   9 ISSUES SECTION
========================================= */
.issues-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px 20px;
    text-align: center;
}
.issues-section h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    color: #003366;
}
.issues-intro {
    margin: 8px 0 30px;
    font-size: 18px;
    color: #555;
}
/* =========================================
   3 x 3 ISSUES GRID
========================================= */
.issues-section .issues-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}
.issues-section .issues-grid .issue-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
/* =========================================
   INDIVIDUAL ISSUE CARD
========================================= */
.issue-card {
    min-height: 165px;
    padding: 25px 15px;
    background: white;
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
/* Mouse-over effect */
.issue-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.22);
    border-color: #003366;
}
/* Icon */
.issue-icon {
    display: block;
    font-size: 42px;
    margin-bottom: 15px;
}
/* Issue title */
.issue-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #003366;
}
/* =========================================
   POPUP BACKGROUND
========================================= */
.issue-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color:
        rgba(0, 0, 0, 0.70);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
/* =========================================
   POPUP WINDOW
========================================= */
.issue-popup {
    position: relative;
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    background: white;
    border-radius: 14px;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.40);
    overflow-y: auto;
    animation: issuePopupOpen 0.25s ease;
}
/* Popup animation */
@keyframes issuePopupOpen {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* =========================================
   SMALL X — UPPER LEFT
========================================= */
.issue-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #c40000;
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}
.issue-close:hover {
    background: #8b0000;
}
/* =========================================
   POPUP CONTENT
========================================= */
.issue-popup-content {
    padding: 50px 45px 45px;
    text-align: center;
}
.issue-popup-icon {
    font-size: 55px;
    margin-bottom: 10px;
}
.issue-popup-content h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 25px;
}
.issue-popup-text {
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}
/* =========================================
   TABLET
========================================= */
@media (max-width: 800px) {
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* =========================================
   PHONE
========================================= */
@media (max-width: 550px) {
    .issues-grid {
        grid-template-columns: 1fr;
    }
    .issue-card {
        min-height: 130px;
    }
    .issue-popup-content {
        padding:
            50px 25px 30px;
    }
}
/* TEST - FORCE 3 COLUMN ISSUE GRID */
.issues-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    position: relative !important;
}
.issue-card {
    display: flex !important;
    width: 100% !important;
    float: none !important;
}
