/* =========================================================
   TAPS PMA & Righteous Army — Unified Static Site
   Pure CSS3. Mobile-first. No frameworks.
   Palette: #B22234 red · #3C3B6E navy · #FFFFFF · #000000 · #f1f1f1
   ========================================================= */

:root {
  --red: #b22234;
  --red-dark: #8e1b2a;
  --navy: #3c3b6e;
  --navy-dark: #2c2b52;
  --white: #ffffff;
  --black: #000000;
  --gray: #f1f1f1;
  --gray-border: #d9d9e0;
  --ink: #1a1a24;
  --muted: #55556a;

  --maxw: 1140px;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --font: "Lora", Georgia, "Times New Roman", serif;
}

/* ----------------- Reset ----------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin: 0 0 1rem 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

/* ----------------- Layout helpers ----------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.1rem;
}

.section {
  padding: 3rem 0;
}

.section--gray {
  background: var(--gray);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section__head {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section--navy .eyebrow {
  color: #ffd9de;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.section--navy .lead {
  color: #d8d8e6;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ----------------- Top bar ----------------- */
.topbar {
  background: var(--navy-dark);
  color: #e7e7f2;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
  justify-content: center;
  padding-block: 0.5rem;
  text-align: center;
}

.topbar a {
  color: #fff;
  font-weight: 600;
}

.topbar .dot {
  color: var(--red);
}

/* ----------------- Header / Nav ----------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
}
.brand:hover {
  text-decoration: none;
}

.brand__emblem {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 42px;
  padding: 8px;
  background: var(--navy);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.1rem 1rem;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 0.7rem 0.25rem;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-border);
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a[aria-current="page"] {
  color: var(--red);
  text-decoration: none;
}

.nav-menu .btn {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: none;
}

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover {
  background: var(--navy-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

/* ----------------- Hero ----------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(28, 28, 50, 0.86), rgba(28, 28, 50, 0.9)),
    repeating-linear-gradient(
      180deg,
      var(--red) 0,
      var(--red) 7.69%,
      #fff 7.69%,
      #fff 15.38%
    );
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0 4.5rem;
  max-width: 820px;
}

.hero__star-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  background-image: radial-gradient(#fff 1.2px, transparent 1.3px);
  background-size: 38px 38px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #ececf6;
  max-width: 640px;
}

.hero--taps {
  background:
    linear-gradient(rgba(28, 28, 50, 0.82), rgba(44, 43, 82, 0.95)),
    radial-gradient(circle at top right, var(--navy), var(--navy-dark));
}

.hero--ra {
  background:
    linear-gradient(rgba(40, 12, 18, 0.82), rgba(80, 18, 28, 0.95)),
    radial-gradient(circle at top right, var(--red), var(--red-dark));
}

/* ----------------- Cards / grids ----------------- */
.grid {
  display: grid;
  gap: 1.4rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.card--navy-top {
  border-top-color: var(--navy);
}

.card h3 {
  margin-bottom: 0.5rem;
}

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

/* Gateway cards (homepage) */
.gateway {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.gateway__card {
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  color: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.gateway__card--navy {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
}

.gateway__card--red {
  background: linear-gradient(160deg, var(--red), var(--red-dark));
}

.gateway__card h3 {
  color: #fff;
  font-size: 1.6rem;
}

.gateway__card p {
  color: #f0f0f8;
  flex-grow: 1;
}

.gateway__card .btn {
  align-self: flex-start;
}

/* Feature / value list */
.checklist {
  list-style: none;
  margin-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
}

.checklist li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-size: 1rem;
}

.section--navy .checklist li::before {
  color: #ffd9de;
}

/* Quote block */
.quote {
  border-left: 5px solid var(--red);
  background: var(--gray);
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.1rem;
}

.quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

/* Disclaimer / notice */
.notice {
  border: 2px dashed var(--gray-border);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ----------------- Video embeds (responsive 16:9) ----------------- */
.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.video {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  height: 0;
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__caption {
  padding: 0.8rem 1rem;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* ----------------- Donate / embed panel ----------------- */
.embed-panel {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.embed-panel iframe {
  width: 100%;
  min-height: 680px;
  border: 0;
  display: block;
}

/* States / list cards */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-left: 0;
}

.pill-list li {
  margin: 0;
}

.pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Contact block */
.contact-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.contact-item strong {
  display: block;
  color: var(--navy);
}

/* ----------------- Footer ----------------- */
.site-footer {
  background: var(--navy-dark);
  color: #d9d9e6;
  padding: 2.75rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.site-footer a {
  color: #f0c8cd;
}

.footer-nav {
  list-style: none;
  margin-left: 0;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #b7b7cc;
}

.footer-bottom .stripe {
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0,
    var(--red) 24px,
    #fff 24px,
    #fff 48px
  );
  border-radius: 2px;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

/* ----------------- Utilities ----------------- */
.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}

/* ----------------- Responsive ----------------- */
@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .gateway {
    grid-template-columns: 1fr 1fr;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0.3rem;
  }

  .nav-menu a {
    border-bottom: none;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
  }

  .nav-menu a[aria-current="page"] {
    background: var(--gray);
  }

  .nav-menu .btn {
    margin-top: 0;
    margin-left: 0.4rem;
    color: #fff;
  }
  .nav-menu .btn--outline {
    color: var(--navy);
  }
  .nav-menu .btn--outline:hover {
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ============================================================
   The Big Virus Hoax — dropdown nav + content pages
   ============================================================ */

/* --- Dropdown toggle button (matches nav links) --- */
.dropdown-toggle {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-border);
  padding: 0.7rem 0.25rem;
  cursor: pointer;
}
.dropdown-toggle:hover,
.dropdown-toggle:focus,
.has-dropdown.is-current > .dropdown-toggle {
  color: var(--red);
}
.dropdown-toggle .caret {
  font-size: 0.75em;
  transition: transform 0.2s ease;
}
.has-dropdown.is-open > .dropdown-toggle .caret {
  transform: rotate(180deg);
}

/* --- Dropdown panel (mobile: stacked, collapsed) --- */
.dropdown {
  display: none;
  padding: 0.25rem 0 0.5rem 0.6rem;
}
.has-dropdown.is-open > .dropdown {
  display: block;
}
.dropdown a {
  display: block;
  padding: 0.55rem 0.25rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--gray-border);
}
.dropdown a:hover,
.dropdown a:focus {
  color: var(--red);
  text-decoration: none;
}
.dropdown__featured {
  color: var(--red) !important;
  font-weight: 700;
}

/* --- Desktop dropdown (mega menu) --- */
@media (min-width: 960px) {
  .has-dropdown {
    position: relative;
  }
  .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(640px, 90vw);
    max-height: 70vh;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 0.9rem 1.1rem;
    column-count: 2;
    column-gap: 1.4rem;
    z-index: 60;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown,
  .has-dropdown.is-open > .dropdown {
    display: block;
  }
  .dropdown a {
    break-inside: avoid;
    border-bottom: 1px solid var(--gray);
    padding: 0.45rem 0.3rem;
    border-radius: 0;
  }
  .dropdown a[aria-current="page"] {
    background: transparent;
  }
  .dropdown__featured {
    column-span: all;
    margin-bottom: 0.4rem;
    border-bottom: 2px solid var(--gray-border) !important;
  }
  .dropdown-toggle {
    width: auto;
    border-bottom: none;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius);
    white-space: nowrap;
  }
  .has-dropdown.is-current > .dropdown-toggle {
    background: var(--gray);
  }
}

/* ----------------- Article / content pages ----------------- */
.article {
  max-width: 820px;
  margin: 0 auto;
}
.article--center {
  text-align: center;
}
.article h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
}
.article h3 {
  margin: 1.5rem 0 0.6rem;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
}
.article p {
  margin-bottom: 1.1rem;
}
.article ul,
.article ol {
  margin: 0 0 1.2rem 1.4rem;
}
.article li {
  margin-bottom: 0.45rem;
}
.article blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1.2rem;
  border-left: 4px solid var(--red);
  background: var(--gray);
  font-style: italic;
  color: var(--muted);
}
.article a {
  text-decoration: underline;
}
.rule {
  border: none;
  border-top: 2px solid var(--gray-border);
  margin: 1.8rem 0;
}
.article__source {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
  font-size: 0.9rem;
  color: var(--muted);
}
.notice {
  background: var(--gray);
  border-left: 4px solid var(--navy);
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;
}

/* --- BVH hero variant --- */
.hero--bvh {
  background:
    linear-gradient(rgba(28, 28, 50, 0.86), rgba(44, 43, 82, 0.93)),
    radial-gradient(circle at top left, var(--red-dark), var(--navy-dark));
}
.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd9de;
  margin-bottom: 0.6rem;
}

/* --- Topic hub --- */
.topic-cat {
  margin-bottom: 2.5rem;
}
.topic-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
.topic-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.topic-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-left-color: var(--navy);
  color: var(--red);
}
.topic-card__arrow {
  color: var(--red);
  font-weight: 700;
}

/* --- CTA band --- */
.cta-band {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-band .btn-row {
  justify-content: center;
}

@media (min-width: 720px) {
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
