/* WORLD PULSE visual theme layer — preserves the existing editorial layout and content. */
:root {
  --background: 220 10% 82%;
  --foreground: 222 25% 10%;
  --card: 220 12% 88%;
  --card-foreground: 222 25% 10%;
  --popover: 220 12% 88%;
  --popover-foreground: 222 25% 10%;
  --muted: 220 9% 78%;
  --muted-foreground: 215 12% 32%;
  --border: 220 9% 68%;
  --input: 220 9% 68%;
}

html {
  background: #d1d4d8 !important;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1000px 600px at 0% 0%, rgba(255,255,255,.18), transparent 58%),
    radial-gradient(900px 600px at 100% 15%, rgba(105,112,122,.25), transparent 62%),
    radial-gradient(800px 650px at 65% 100%, rgba(65,72,82,.18), transparent 64%),
    linear-gradient(135deg, #bfc3c8 0%, #e0e2e5 45%, #b8bdc3 100%) !important;
  background-attachment: fixed;
}

/* Override existing bg-background utilities so the gradient is actually visible. */
main,
main > section {
  background-color: transparent !important;
}

main {
  background:
    radial-gradient(900px 500px at 15% 5%, rgba(255,255,255,.12), transparent 65%),
    linear-gradient(160deg, rgba(210,213,217,.52), rgba(180,185,191,.38)) !important;
}

main > section:first-child {
  background:
    radial-gradient(700px 420px at 82% 18%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(600px 400px at 8% 80%, rgba(75,82,92,.12), transparent 70%),
    linear-gradient(135deg, rgba(199,203,208,.72), rgba(224,226,229,.52)) !important;
}

main > section:nth-of-type(2) {
  background:
    radial-gradient(600px 440px at 92% 8%, rgba(255,255,255,.13), transparent 70%),
    linear-gradient(135deg, rgba(188,193,199,.72), rgba(214,217,221,.58)) !important;
}

main > section:nth-of-type(3) {
  background:
    radial-gradient(600px 420px at 4% 15%, rgba(255,255,255,.12), transparent 70%),
    radial-gradient(650px 480px at 96% 78%, rgba(65,72,82,.12), transparent 70%),
    linear-gradient(135deg, rgba(211,214,218,.64), rgba(184,189,195,.58)) !important;
}

header,
nav[aria-label="Primary navigation"] {
  background:
    linear-gradient(110deg, rgba(201,205,210,.96), rgba(228,230,233,.92) 48%, rgba(190,195,201,.96)) !important;
  border-color: rgba(55, 62, 72, .22);
}

/* Keep the lead-story image size exactly as the current layout; keep copy anchored bottom-left. */
main > section:first-child article.group > div.absolute.bottom-0 {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  padding: 1.5rem;
  text-align: left;
}

main > section:first-child article.group > div.absolute.bottom-0 h1,
main > section:first-child article.group > div.absolute.bottom-0 p {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

main > section:first-child article.group > div.absolute.bottom-0 h1 {
  max-width: min(900px, 100%);
}

@media (min-width: 768px) {
  main > section:first-child article.group > div.absolute.bottom-0 {
    padding: 2.5rem;
  }
}

.wp-gsap-hero-copy {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll; }
}
