/* Vetted Patriots V2 editorial system for public pages beyond the homepage. */
body.theme-vp #cookie-banner.cookie-banner-large,
body.theme-vp #cookie-banner.cookie-banner-small {
  right: 1rem;
  bottom: 1rem;
  left: auto;
  width: auto;
  min-width: 0;
  max-width: calc(100vw - 2rem);
  padding: .55rem .65rem;
  gap: .55rem;
  color: #fff;
  background: #062b55;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(6,43,85,.24);
  font-size: .82rem;
  transform: none;
  white-space: normal;
}
body.theme-vp #cookie-banner .details { display: none; }
body.theme-vp #cookie-banner .btn { min-height: 38px; padding: .35rem .65rem; border-radius: 2px; font-size: .78rem; }
body.theme-vp #cookie-banner .btn-primary { background: #bd1e2d; border-color: #bd1e2d; }
body.theme-vp #cookie-banner .manage-btn { min-width: 38px; min-height: 38px; color: #fff; }

.vp-main--editorial {
  --vp-ivory: #f6f1e8;
  --vp-paper: #fffdf9;
  --vp-navy: #062b55;
  --vp-ink: #17283b;
  --vp-red: #bd1e2d;
  --vp-rule: #d8d0c3;
  min-height: 60vh;
  color: var(--vp-ink);
  background: var(--vp-ivory);
  font-family: Arial, Helvetica, sans-serif;
}

.vp-main--editorial .vp-container {
  max-width: 1240px;
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.vp-main--editorial .vp-hero,
.vp-main--editorial > .vp-section:first-child {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  background: var(--vp-ivory);
}

.vp-main--editorial .vp-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-top: 12px solid #0c1727;
  background: var(--vp-paper);
}

.vp-main--editorial .vp-section:nth-of-type(even) { background: var(--vp-ivory); }
.vp-main--editorial .vp-section:first-of-type { border-top: 0; }

.vp-main--editorial h1,
.vp-main--editorial h2,
.vp-main--editorial h3 {
  color: var(--vp-navy);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.vp-main--editorial .vp-hero h1,
.vp-main--editorial > .vp-section:first-child h1 {
  max-width: 16ch;
  margin: .75rem 0 1.25rem;
  color: var(--vp-navy);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: .98;
}

.vp-main--editorial .vp-section h2 {
  margin: 0 0 1.25rem;
  color: var(--vp-navy);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.05;
}

.vp-main--editorial .vp-section h3,
.vp-main--editorial .vp-card h3 {
  color: var(--vp-navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.vp-main--editorial p,
.vp-main--editorial .vp-section p,
.vp-main--editorial .vp-muted,
.vp-main--editorial .vp-lead,
.vp-main--editorial .get-involved-body,
.vp-main--editorial .campus-why-list li {
  color: #4b5866;
  font-size: 1rem;
  line-height: 1.68;
}

.vp-main--editorial .vp-lead { max-width: 62ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.vp-main--editorial .vp-eyebrow {
  color: var(--vp-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
}

.vp-main--editorial .vp-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.vp-main--editorial .vp-hero-card,
.vp-main--editorial .vp-card,
.vp-main--editorial .vp-highlight,
.vp-main--editorial .vp-hero-note,
.vp-main--editorial .vp-impact-item,
.vp-main--editorial .vp-feed-card {
  color: var(--vp-ink);
  background: var(--vp-paper);
  border: 1px solid var(--vp-rule);
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(6, 43, 85, .09);
}

.vp-main--editorial .vp-hero-card { padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 5px solid var(--vp-red); }
.vp-main--editorial .vp-card { padding: clamp(1.25rem, 2.5vw, 2rem); }
.vp-main--editorial .vp-card-grid { gap: 1.25rem; }
.vp-main--editorial .vp-highlight { padding: clamp(1.5rem, 4vw, 3rem); }

.vp-main--editorial .vp-list li,
.vp-main--editorial .vp-list li span,
.vp-main--editorial .campus-why-list li { color: #4b5866; }
.vp-main--editorial .vp-list li::before { color: var(--vp-red); content: "•"; font-size: 1.4em; }
.vp-main--editorial .vp-list li strong,
.vp-main--editorial .campus-why-list li strong { color: var(--vp-navy); }

.vp-main--editorial a:not(.vp-btn) { color: var(--vp-navy); text-decoration-color: var(--vp-red); text-underline-offset: .2em; }
.vp-main--editorial p a:not(.vp-btn),
.vp-main--editorial li a:not(.vp-btn) { text-decoration-line: underline; text-decoration-thickness: .1em; }
.vp-main--editorial .vp-link { color: var(--vp-navy); border-bottom: 2px solid var(--vp-red); }
.vp-main--editorial .vp-btn { min-height: 46px; border-radius: 3px; font-weight: 800; }
.vp-main--editorial .vp-btn.primary { color: #fff; background: var(--vp-red); border-color: var(--vp-red); box-shadow: none; }
.vp-main--editorial .vp-btn.secondary { color: var(--vp-navy); background: transparent; border: 2px solid var(--vp-navy); box-shadow: none; }
.vp-main--editorial .vp-btn.ghost { color: var(--vp-navy); background: var(--vp-paper); border: 2px solid var(--vp-navy); }

.vp-main--editorial .vp-meta span,
.vp-main--editorial .vp-pill,
.vp-main--editorial .vp-photo-caption span {
  color: var(--vp-navy);
  border-color: var(--vp-rule);
  background: rgba(255,255,255,.55);
}

.vp-main--editorial .vp-photo-frame,
.vp-main--editorial .vp-split-media,
.vp-main--editorial .vp-campus-photo,
.vp-main--editorial .vp-campus-hero-photo { border-color: var(--vp-rule); border-radius: 2px; box-shadow: 0 22px 48px rgba(6,43,85,.13); }

.vp-main--editorial input,
.vp-main--editorial select,
.vp-main--editorial textarea {
  min-height: 46px;
  color: var(--vp-ink);
  background: #fff;
  border: 1px solid #8994a0;
  border-radius: 3px;
}

.vp-main--editorial .vp-contact-form { display: grid; gap: .65rem; }
.vp-main--editorial .vp-contact-form label { margin-top: .35rem; color: var(--vp-navy); font-weight: 800; }
.vp-main--editorial .vp-contact-form input,
.vp-main--editorial .vp-contact-form textarea { width: 100%; padding: .8rem .9rem; }
.vp-main--editorial .vp-contact-form .vp-btn { width: fit-content; margin-top: .65rem; }

.vp-main--editorial :focus-visible { outline: 3px solid var(--vp-red); outline-offset: 3px; }

/* Bring the established Every.org support flow into the same approved palette. */
.vp-main--editorial .vp-support-hero { background: var(--vp-ivory); }
.vp-main--editorial .vp-support-hero__copy h1 { color: var(--vp-navy); font-family: Georgia,"Times New Roman",serif; }
.vp-main--editorial .vp-support-lede,
.vp-main--editorial .vp-support-trust { color: #4b5866; }
.vp-main--editorial .vp-support-give-card { background: var(--vp-paper); border-color: var(--vp-rule); border-radius: 2px; }
.vp-main--editorial .vp-support-proof { color: #fff; background: var(--vp-navy); }
.vp-main--editorial .vp-support-proof p { color: #fff; }
.vp-main--editorial .vp-support-section,
.vp-main--editorial .vp-support-section--split { color: var(--vp-ink); background: var(--vp-paper); border-top: 12px solid #0c1727; }
.vp-main--editorial .vp-support-section:nth-of-type(even) { background: var(--vp-ivory); }
.vp-main--editorial .vp-support-section h2,
.vp-main--editorial .vp-support-final h2,
.vp-main--editorial .vp-support-impact-grid h3 { color: var(--vp-navy); font-family: Georgia,"Times New Roman",serif; }
.vp-main--editorial .vp-support-section p,
.vp-main--editorial .vp-support-final p { color: #4b5866; }
.vp-main--editorial .vp-support-impact-grid article { background: var(--vp-paper); border-color: var(--vp-rule); border-radius: 2px; }
.vp-main--editorial .vp-support-amount { color: var(--vp-navy); }
.vp-main--editorial .vp-support-principles { color: var(--vp-ink); background: var(--vp-ivory); border-color: var(--vp-rule); border-radius: 2px; }
.vp-main--editorial .vp-support-principles h3 { color: var(--vp-navy); }
.vp-main--editorial .vp-support-principles li { color: #4b5866; }
.vp-main--editorial .vp-support-final { color: #fff; background: var(--vp-navy); }
.vp-main--editorial .vp-support-final h2,
.vp-main--editorial .vp-support-final p { color: #fff; }
.vp-main--editorial .vp-support-final .vp-eyebrow { color: #fff; }
.vp-main--editorial .every-embedded-button-m { color: #fff !important; background: #bd1e2d !important; }

body[data-tenant="vettedpatriots"] .vp-main--editorial .vp-featured-cards .vp-card--partner,
body[data-tenant="vettedpatriots"] .vp-main--editorial .vp-card--cta {
  color: var(--vp-ink);
  background: var(--vp-paper);
  border-color: var(--vp-rule);
}
body[data-tenant="vettedpatriots"] .vp-main--editorial .vp-card--partner h3 { color: var(--vp-navy); }
body[data-tenant="vettedpatriots"] .vp-main--editorial .vp-card--partner p,
.vp-main--editorial .tiny.text-muted { color: #596675 !important; }
.vp-main--editorial .vp-hero-note > strong { color: var(--vp-navy); }

.vp-main--editorial .notice-card strong,
.vp-main--editorial .notice-card span,
.vp-main--editorial .vote-steps li,
.vp-main--editorial .vote-steps li strong { color: var(--vp-navy) !important; }
.vp-main--editorial .cta-row .btn-secondary { color: var(--vp-navy) !important; border-color: var(--vp-navy) !important; background: transparent !important; }
.vp-main--editorial .notice-card {
  color: var(--vp-ink) !important;
  background: var(--vp-paper) !important;
  border-color: var(--vp-rule) !important;
  border-radius: 2px !important;
  box-shadow: 0 14px 34px rgba(6,43,85,.08) !important;
}

@media (max-width: 900px) {
  .vp-main--editorial .vp-hero-grid,
  .vp-main--editorial .vp-support-hero__grid,
  .vp-main--editorial .vp-support-story-grid { grid-template-columns: 1fr; }
  .vp-main--editorial .vp-hero,
  .vp-main--editorial > .vp-section:first-child { padding-block: 3rem; }
  .vp-main--editorial .vp-section { padding-block: 3rem; }
}

@media (max-width: 560px) {
  body.theme-vp #cookie-banner.cookie-banner-large,
  body.theme-vp #cookie-banner.cookie-banner-small {
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
    max-width: none;
    justify-content: space-between;
  }
  body.theme-vp #cookie-banner .cookie-label-full { display: none; }
  body.theme-vp #cookie-banner .cookie-label-short { display: inline; }
  body.theme-vp #cookie-banner .btn-row { margin-left: auto; }
  .vp-main--editorial .vp-container { padding-inline: 1.1rem; }
  .vp-main--editorial .vp-hero h1,
  .vp-main--editorial > .vp-section:first-child h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .vp-main--editorial .vp-card,
  .vp-main--editorial .vp-hero-card,
  .vp-main--editorial .vp-highlight { padding: 1.25rem; }
}

@media (forced-colors: active) {
  .vp-main--editorial .vp-card,
  .vp-main--editorial .vp-hero-card,
  .vp-main--editorial .vp-highlight { border: 1px solid CanvasText; }
}
/* Defer below-the-fold layout and paint while keeping complete semantic HTML. */
@supports (content-visibility:auto){.vp-main--editorial>section:not(:first-child),.vp-main--editorial>article>section:not(:first-child),.vpr-services,.vpr-campus,.vpr-mission,.vpr-final-cta,.vp-footer{content-visibility:auto;contain-intrinsic-size:auto 720px}}

/* Opaque, high-contrast mobile/tablet navigation dialog. */
@media (max-width:1279px) {
  body.theme-vp .vp-nav-mobile {
    inset: 0;
    z-index: 10050;
    height: 100dvh;
    max-height: none;
    padding: 0 clamp(1.25rem,4vw,2.5rem) calc(1.5rem + env(safe-area-inset-bottom,0px));
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #07111f;
    border: 0;
    color: #fff;
  }
  body.theme-vp .vp-nav-overlay { z-index: 10040; background: rgba(3,10,20,.82); }
  body.theme-vp .vp-mobile-head {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 78px;
    margin: 0;
    padding: max(.8rem,env(safe-area-inset-top,0px)) 0 .75rem;
    background: #07111f;
    border-bottom: 1px solid rgba(255,255,255,.18);
    color: #f7f2e9;
    font-size: .82rem;
    font-weight: 800;
  }
  body.theme-vp .vp-mobile-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.52);
    color: #fff;
  }
  body.theme-vp .vp-mobile-group {
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  body.theme-vp .vp-mobile-heading {
    margin: 0 0 .45rem;
    color: #f4c6cb;
    font-size: .7rem;
    font-weight: 850;
  }
  body.theme-vp .vp-nav-mobile .vp-nav-link {
    min-height: 46px;
    padding: .7rem .85rem;
    border-radius: 3px;
    color: #fff;
    font-family: Inter,ui-sans-serif,system-ui,sans-serif;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .015em;
    text-transform: none;
  }
  body.theme-vp .vp-nav-mobile .vp-nav-link:hover,
  body.theme-vp .vp-nav-mobile .vp-nav-link:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.32);
  }
  body.theme-vp .vp-nav-mobile .vp-nav-link.is-active {
    color: #fff;
    background: #9f1d2a;
    border-color: #d14a57;
  }
  body.theme-vp .vp-mobile-ctas {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 1rem 0 max(1rem,env(safe-area-inset-bottom,0px));
    background: #07111f;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  body.theme-vp .vp-mobile-ctas .vp-btn { min-height: 50px; border-radius: 3px; }
  body.theme-vp .vp-mobile-ctas .ghost { color: #fff; border: 2px solid #fff; background: transparent; }
  body.theme-vp .vp-mobile-ctas .primary { color: #fff; border: 2px solid #bd1e2d; background: #bd1e2d; box-shadow: none; }
}

@media (min-width:700px) and (max-width:1279px) {
  body.theme-vp .vp-nav-mobile { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem,6vw,5rem); align-content: start; }
  body.theme-vp .vp-mobile-head,
  body.theme-vp .vp-mobile-ctas { grid-column: 1 / -1; }
  body.theme-vp .vp-mobile-ctas { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width:699px) {
  body.theme-vp .vp-nav-mobile { display: flex; flex-wrap: nowrap; grid-template-columns: none; }
  body.theme-vp .vp-mobile-ctas { position: static; display: flex; }
}
