/* Preview-match layer — visual parity with Elementor home (no Elementor runtime) */

:root {
  --wws-ink: #404040;
  --wws-muted: #a4a4a4;
  --wws-paper: #ffffff;
  --wws-header: #2a2a2a;
  --wws-dark: #303030;
  --wws-cream: #e9e3dd;
  --wws-quote: #f4f1ee;
  --wws-accent: #ff9646;
  --wws-accent-hot: #ffae6f;
  --wws-heading: #202020;
  --wws-white: #ffffff;
  --wws-font: "Poppins", sans-serif;
  --wws-display: "Yanone Kaffeesatz", sans-serif;
  --wws-button: "Oswald", sans-serif;
  --wws-max: 1490px;
}

body.wws-theme {
  background: var(--wws-dark);
  color: var(--wws-ink);
}

body.wws-theme .wws-site-header.is-site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wws-header);
  min-height: 10vh;
  padding: 0.85rem 3.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.wws-theme .wws-site-header .custom-logo,
body.wws-theme .wws-site-header .brand-logo {
  height: clamp(36px, 6vh, 52px);
  max-width: min(320px, 42vw);
}

body.wws-theme .wws-primary-nav a {
  font-family: var(--wws-button);
  font-size: 14px;
  letter-spacing: 1.2px;
  color: #fff;
}

body.wws-theme .wws-primary-nav a:hover,
body.wws-theme .wws-primary-nav .current-menu-item > a {
  color: var(--wws-accent);
}

body.wws-theme .donate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wws-accent);
  color: #fff !important;
  font-family: var(--wws-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  box-shadow: 0 0 36px -10px rgba(255, 150, 70, 0.55);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.wws-theme .donate-link:hover {
  background: #fff !important;
  color: #242424 !important;
  border-color: #000;
}

body.wws-theme .wws-btn {
  font-family: var(--wws-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0.85rem 1.4rem;
  box-shadow: 0 0 42px -8px rgba(238, 191, 155, 0.47);
}

body.wws-theme .wws-btn--ghost-dark {
  background: transparent;
  color: var(--wws-heading) !important;
  border: 1px solid var(--wws-heading);
  box-shadow: none;
}

body.wws-theme .wws-btn--ghost-dark:hover {
  background: var(--wws-heading) !important;
  color: #fff !important;
}

.wws-accent {
  color: var(--wws-accent);
}

/* —— Home hero (do NOT use on single posts — those use .post-hero) —— */
body:not(.is-post):not(.wws-is-post) .wws-hero,
.wws-home-hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.wws-home-hero .wws-hero__video,
body:not(.is-post):not(.wws-is-post) .wws-hero__video {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body:not(.is-post):not(.wws-is-post) .wws-hero__video iframe,
.wws-home-hero .wws-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

body:not(.is-post):not(.wws-is-post) .wws-hero__shade,
.wws-home-hero .wws-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #64646424 0%, #303030 100%);
}

body:not(.is-post):not(.wws-is-post) .wws-hero__content,
.wws-home-hero .wws-hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 3rem;
  max-width: 1100px;
  animation: wws-rise 0.95s ease both;
}

.wws-hero h1 {
  margin: 0;
  font-family: var(--wws-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  letter-spacing: 0.01em;
}

.wws-hero h1 span {
  display: block;
}

.wws-hero__sub {
  margin: 1rem auto 1.5rem;
  max-width: 34rem;
  font-family: var(--wws-font);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes wws-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Photo strip —— */
.wws-strip {
  background: var(--wws-dark);
  padding: 1.25rem 0 1.75rem;
  overflow: hidden;
}

.wws-strip__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: wws-marquee 40s linear infinite;
}

.wws-strip__slide {
  margin: 0;
  flex: 0 0 auto;
  width: min(420px, 72vw);
  border-radius: 25px;
  overflow: hidden;
}

.wws-strip__slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

@keyframes wws-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wws-strip__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}

/* —— Bands / stacks —— */
.wws-band {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
}

.wws-band__inner {
  max-width: var(--wws-max);
  margin: 0 auto;
}

.wws-band--dark {
  background: var(--wws-dark);
  color: #fff;
}

.wws-band--light {
  background: #fff;
  color: var(--wws-heading);
}

.wws-band--cream {
  background: var(--wws-cream);
  color: var(--wws-heading);
}

.wws-band h2 {
  margin: 0 0 1rem;
  font-family: var(--wws-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.wws-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.wws-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wws-breaking__grid,
.wws-stack__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.wws-stack--flip .wws-stack__grid {
  grid-template-columns: 1fr 1.1fr;
}

.wws-breaking__copy h2 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.wws-breaking__mobile-img {
  display: none;
  margin-top: 1rem;
  border-radius: 16px;
}

.wws-stack__copy p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 38rem;
}

.wws-stack__copy--right {
  text-align: right;
}

.wws-stack__copy--right .wws-btn {
  margin-left: auto;
}

.wws-stack__media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.wws-quote-block {
  background: var(--wws-quote);
  color: var(--wws-heading);
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
  text-align: center;
}

.wws-quote-block blockquote {
  margin: 0 auto;
  max-width: 820px;
}

.wws-quote-block p {
  margin: 0;
  font-family: var(--wws-font);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.55;
  color: #3a3a3a;
}

.wws-quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--wws-accent);
}

/* Mission / Vision / Action */
.wws-mva {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  background:
    linear-gradient(180deg, rgba(48, 48, 48, 0.55), rgba(48, 48, 48, 0.78)),
    var(--wws-mva-bg) center / cover no-repeat fixed;
  color: #fff;
}

.wws-mva__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.wws-mva__card {
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.wws-mva__card--orange {
  background: var(--wws-accent);
  color: #fff;
}

.wws-mva__card--white {
  background: #fff;
  color: var(--wws-heading);
  grid-column: 1 / -1;
}

.wws-mva__card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--wws-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
}

.wws-mva__card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}

.wws-home-news .wws-section__intro {
  margin-bottom: 1.5rem;
}

.wws-home-news .wws-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.wws-partners {
  position: relative;
  padding: clamp(3rem, 7vw, 4.5rem) 1.25rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(32, 32, 32, 0.82), rgba(32, 32, 32, 0.92)),
    var(--wws-partners-bg) center / cover no-repeat;
}

.wws-partners__inner {
  max-width: var(--wws-max);
  margin: 0 auto;
  text-align: center;
}

.wws-partners h2 {
  margin: 0 0 1.5rem;
  font-family: var(--wws-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
}

.wws-partners__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: wws-marquee 35s linear infinite;
}

.wws-partners__logo {
  margin: 0;
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0.65rem;
}

.wws-partners__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Contact block — footer style */
body.wws-theme .wws-contact {
  background: var(--wws-dark);
  border-radius: 50px 50px 0 0;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.25);
  padding: clamp(3rem, 7vw, 4.5rem) 1.25rem 2.5rem;
}

body.wws-theme .wws-contact__layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

body.wws-theme .wws-contact__info h2,
body.wws-theme .wws-contact__form-wrap h2 {
  margin: 0 0 0.75rem;
  font-family: var(--wws-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  text-transform: uppercase;
  color: #fff;
}

body.wws-theme .wws-contact__form-wrap {
  position: relative;
  min-width: 0;
}

body.wws-theme .wws-contact__flash.is-success {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 7px;
  font-weight: 600;
  color: #fff;
}

body.wws-theme .wws-contact__form-wrap.is-sent .wws-contact__flash.is-success {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  background: var(--wws-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.wws-theme .wws-contact__form-wrap.is-sent .wws-contact__form {
  visibility: hidden;
  pointer-events: none;
}

body.wws-theme .wws-contact__info-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

body.wws-theme .wws-contact__info-list a {
  color: #fff;
  text-decoration: none;
}

body.wws-theme .wws-contact__info-list a:hover {
  color: var(--wws-accent);
}

body.wws-theme .wws-site-footer {
  background: #242424;
  color: rgba(255, 255, 255, 0.75);
  padding: 1.75rem 1.25rem 2.25rem;
  text-align: center;
}

body.wws-theme .wws-site-footer .wws-footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

body.wws-theme .wws-site-footer .wws-footer-brand img {
  height: 42px;
  width: auto;
  margin: 0 auto;
}

body.wws-theme .wws-footer-nav,
body.wws-theme .wws-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

body.wws-theme .wws-footer-nav a,
body.wws-theme .wws-site-footer nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--wws-button);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.wws-theme .wws-footer-nav a:hover,
body.wws-theme .wws-site-footer nav a:hover,
body.wws-theme .wws-footer-nav .current-menu-item > a {
  color: var(--wws-accent-hot);
}

/* Inner page heroes on dark site */
body.wws-theme .wws-page-hero {
  background: linear-gradient(160deg, #2a2a2a 0%, #3a3129 50%, #303030 100%);
}

body.wws-theme .wws-section,
body.wws-theme .wws-prose,
body.wws-theme .wws-history,
body.wws-theme .wws-achievements,
body.wws-theme .wws-volunteer-cta,
body.wws-theme .wws-ramp-cta {
  background: #fff;
  color: var(--wws-heading);
}

body.wws-theme .wws-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.wws-theme .wws-section > .wws-prose,
body.wws-theme .wws-section > .wws-collage,
body.wws-theme .wws-section > .wws-timeline,
body.wws-theme .wws-section > .wws-check-list,
body.wws-theme .wws-section > .wws-card-grid,
body.wws-theme .wws-section > .wws-page-gallery,
body.wws-theme .wws-section > .wws-empty,
body.wws-theme .wws-section > #wws-programs,
body.wws-theme .wws-section > .wws-section__intro,
body.wws-theme .wws-history,
body.wws-theme .wws-achievements,
body.wws-theme .wws-volunteer-cta,
body.wws-theme .wws-ramp-cta {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

body.wws-theme .wws-section.wws-history,
body.wws-theme .wws-section.wws-achievements,
body.wws-theme .wws-section.wws-volunteer-cta,
body.wws-theme .wws-section.wws-ramp-cta {
  padding: clamp(2.75rem, 6vw, 4.5rem) 1.25rem;
}

@media (max-width: 900px) {
  .wws-breaking__grid,
  .wws-stack__grid,
  .wws-stack--flip .wws-stack__grid,
  .wws-mva__inner,
  body.wws-theme .wws-contact__layout {
    grid-template-columns: 1fr;
  }

  .wws-stack__copy--right {
    text-align: left;
  }

  .wws-stack__copy--right .wws-btn {
    margin-left: 0;
  }

  .wws-breaking__mobile-img {
    display: block;
  }

  body.wws-theme .header-actions .donate-link {
    display: none;
  }

  body.wws-theme .wws-contact {
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
  }

  .wws-strip__slide {
    width: min(280px, 70vw);
  }

  .wws-strip__slide img {
    height: 170px;
  }
}

/* Inner-page polish */
body.wws-theme .wws-collage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

body.wws-theme .wws-collage img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

body.wws-theme .wws-timeline {
  display: grid;
  gap: 1rem;
}

body.wws-theme .wws-timeline article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.1);
}

body.wws-theme .wws-timeline strong {
  font-family: var(--wws-display);
  font-size: 1.6rem;
  color: var(--wws-accent);
}

body.wws-theme .wws-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

body.wws-theme .wws-check-list li {
  position: relative;
  padding-left: 1.5rem;
}

body.wws-theme .wws-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--wws-accent);
}

body.wws-theme .wws-volunteer-cta,
body.wws-theme .wws-ramp-cta {
  text-align: center;
}

body.wws-theme .wws-home-news .wws-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  body.wws-theme .wws-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.wws-theme .wws-home-news .wws-card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  body.wws-theme .wws-home-news .wws-card-grid,
  body.wws-theme .wws-page-gallery {
    grid-template-columns: 1fr 1fr;
  }

  body.wws-theme .wws-timeline article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
