/*
Theme Name: DLSO Germany
Theme URI:
Author: AI-generated starter theme
Description: WordPress starter theme converted from the DLSO Germany one-page HTML website.
Version: 2.3.1
License: GPL-2.0-or-later
Text Domain: dlso-germany
*/

:root {
      --xylem-blue: #0072ce;
      --xylem-blue-dark: #003b71;
      --xylem-blue-deep: #002b49;
      --xylem-cyan: #00a3e0;
      --xylem-aqua: #63d8ff;
      --xylem-light: #eef8fd;

      --bg: #f4f8fb;
      --bg-soft: #ffffff;
      --bg-deep: #002b49;

      --card: #ffffff;
      --card-strong: #f0f7fc;
      --border: rgba(0, 83, 137, 0.15);

      --white: #ffffff;
      --muted: #5d7284;
      --text: #142f43;
      --text-dark: #08283d;

      --blue: #0072ce;
      --purple: #005587;
      --green: #00a99d;

      --shadow: 0 24px 70px rgba(0, 65, 110, 0.14);
      --shadow-strong: 0 34px 90px rgba(0, 43, 73, 0.24);
      --radius: 30px;

      --intro-card-grid-width: 980px;
      --intro-card-gap: 14px;
      --intro-card-padding: 18px;
      --intro-card-min-height: 118px;
      --intro-card-columns: 4;
      --intro-card-columns-mobile: 1;
      --hero-zoom-scale: 1.08;
      --hero-zoom-duration: 22s;
      --hero-slide-fade-duration: 440ms;
      --hero-image-grid-centered-height: 430px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body.no-scroll {
      overflow: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: auto;
    }

    .section {
      padding: 105px 0;
      position: relative;
    }

    .section-head {
      max-width: 760px;
      margin-bottom: 48px;
    }

    .section-head.center {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 18px;
      padding: 8px 14px;
      border-radius: 999px;
      color: var(--xylem-blue-dark);
      background: rgba(0, 163, 224, 0.12);
      border: 1px solid rgba(0, 114, 206, 0.22);
      font-size: 0.82rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--xylem-cyan);
      box-shadow: 0 0 18px rgba(0, 163, 224, 0.7);
    }

    .hero .eyebrow {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.16);
      border-color: rgba(255, 255, 255, 0.28);
    }

    .hero .eyebrow::before {
      background: var(--xylem-aqua);
      box-shadow: 0 0 22px rgba(99, 216, 255, 0.95);
    }

    h1,
    h2,
    h3 {
      line-height: 1;
      letter-spacing: -0.045em;
    }

    h1 {
      font-size: clamp(3.1rem, 7.5vw, 7.2rem);
      max-width: 950px;
      margin-bottom: 26px;
    }

    h2 {
      font-size: clamp(2.3rem, 5vw, 4.8rem);
      margin-bottom: 20px;
      color: var(--text-dark);
    }

    h3 {
      font-size: 1.4rem;
      margin-bottom: 12px;
      color: var(--text-dark);
    }

    p {
      color: var(--muted);
    }

    .highlight {
      color: var(--xylem-blue);
    }

    .hero .highlight {
      color: #b9f1ff;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 24px;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 900;
      cursor: pointer;
      transition: 0.25s ease;
      font-size: 0.95rem;
    }

    .btn-primary {
      color: #ffffff;
      background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
      box-shadow: 0 16px 36px rgba(0, 114, 206, 0.24);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 48px rgba(0, 114, 206, 0.34);
    }

    .btn-outline {
      color: var(--xylem-blue);
      background: #ffffff;
      border-color: rgba(0, 114, 206, 0.28);
    }

    .btn-outline:hover {
      transform: translateY(-3px);
      color: #ffffff;
      background: var(--xylem-blue);
      border-color: var(--xylem-blue);
    }

    .hero .btn-primary {
      background: #ffffff;
      color: var(--xylem-blue-deep);
      box-shadow: 0 22px 50px rgba(0, 43, 73, 0.22);
    }

    .hero .btn-primary:hover {
      box-shadow: 0 28px 70px rgba(0, 43, 73, 0.32);
    }

    .hero .btn-outline {
      background: rgba(255, 255, 255, 0.12);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.36);
      backdrop-filter: blur(12px);
    }

    .hero .btn-outline:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.65);
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 13px;
      border-radius: 999px;
      color: var(--xylem-blue-dark);
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.22);
      font-size: 0.88rem;
      font-weight: 800;
    }

    .hero .pill {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(12px);
    }

    /* HEADER */

    header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.94);
      border-bottom: 1px solid rgba(0, 83, 137, 0.12);
      box-shadow: 0 8px 30px rgba(0, 65, 110, 0.08);
      backdrop-filter: blur(18px);
    }

    .nav {
      width: min(1240px, calc(100% - 40px));
      min-height: 82px;
      margin: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 13px;
      font-weight: 950;
      color: var(--text-dark);
    }

    .brand-mark {
      width: 48px;
      height: 48px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      color: #ffffff;
      background:
        radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.9), transparent 24%),
        linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
      box-shadow: 0 14px 34px rgba(0, 114, 206, 0.25);
      font-size: 1.25rem;
      overflow: hidden;
      flex: 0 0 48px;
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .brand-text span {
      display: block;
      line-height: 1.05;
    }

    .brand-text small {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 22px;
      color: var(--muted);
      font-weight: 800;
      font-size: 0.91rem;
    }

    .nav-links a:hover {
      color: var(--xylem-blue);
    }

    .menu-btn {
      display: none;
      border: 0;
      background: none;
      color: var(--xylem-blue);
      font-size: 2rem;
      cursor: pointer;
    }

    /* HERO */

    .hero {
      min-height: 100vh;
      display: grid;
      align-items: center;
      padding: 150px 0 90px;
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 18% 18%, rgba(99, 216, 255, 0.45), transparent 26%),
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #004b93 0%, #0072ce 42%, #00a3e0 100%);
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
      background-size: 54px 54px;
      mask-image: linear-gradient(to bottom, black, transparent 88%);
      pointer-events: none;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -160px;
      bottom: -230px;
      width: 660px;
      height: 660px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
      filter: blur(2px);
      pointer-events: none;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 58px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .hero-copy h1 {
      color: #ffffff;
      text-shadow: 0 8px 34px rgba(0, 43, 73, 0.18);
    }

    .hero-copy > p {
      max-width: 700px;
      font-size: 1.18rem;
      margin-bottom: 34px;
      color: rgba(255, 255, 255, 0.92);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 34px;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-visual {
      position: relative;
      min-height: 570px;
      border-radius: 42px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      overflow: visible;
      box-shadow: var(--shadow-strong);
      background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 28%),
        linear-gradient(145deg, rgba(0, 43, 73, 0.5), rgba(0, 114, 206, 0.22));
      backdrop-filter: blur(10px);
    }

    .hero-image-grid {
      position: absolute;
      left: 24px;
      right: 24px;
      top: 30px;
      bottom: 235px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      z-index: 1;
    }

    .hero-image-placeholder {
      position: relative;
      min-height: 150px;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.34);
      background:
        linear-gradient(135deg, rgba(0, 43, 73, 0.68), rgba(0, 163, 224, 0.2)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 10px, rgba(255, 255, 255, 0.08) 10px 20px);
      box-shadow: 0 18px 42px rgba(0, 43, 73, 0.18);
    }

    .hero-image-placeholder::before {
      content: "";
      position: absolute;
      inset: 18px;
      border-radius: 22px;
      border: 1px dashed rgba(255, 255, 255, 0.58);
    }

    .hero-image-placeholder::after {
      content: attr(data-label);
      position: absolute;
      left: 18px;
      bottom: 18px;
      z-index: 2;
      padding: 8px 12px;
      border-radius: 999px;
      color: #ffffff;
      background: rgba(0, 43, 73, 0.46);
      backdrop-filter: blur(10px);
      font-size: 0.78rem;
      font-weight: 950;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .hero-visual::after {
      content: "DLSO GERMANY";
      position: absolute;
      top: 28px;
      right: -38px;
      transform: rotate(90deg);
      transform-origin: right top;
      color: rgba(255, 255, 255, 0.48);
      font-size: 0.86rem;
      font-weight: 950;
      letter-spacing: 0.28em;
    }

    .hero-panel {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: -34px;
      z-index: 2;
      padding: 26px;
      border-radius: 30px;
      background: rgba(255, 255, 255, 0.94);
      border: 1px solid rgba(255, 255, 255, 0.45);
      backdrop-filter: blur(16px);
      color: var(--text-dark);
    }

    .hero-panel h3 {
      color: var(--text-dark);
    }

    .hero-panel p {
      color: var(--muted);
    }

    .hero-visual.hero-info-panel-hidden {
      overflow: hidden;
    }

    .hero-visual.hero-info-panel-hidden .hero-image-grid {
      top: 50%;
      bottom: auto;
      left: 32px;
      right: 32px;
      height: min(var(--hero-image-grid-centered-height, 430px), calc(100% - 64px));
      transform: translateY(-50%);
    }

    .hero-visual.hero-info-panel-hidden .hero-image-placeholder {
      min-height: 0;
    }

    .hero-panel-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 18px;
    }

    .mini-card {
      padding: 15px;
      border-radius: 18px;
      background: #f2f9fd;
      border: 1px solid rgba(0, 114, 206, 0.12);
    }

    .mini-card span {
      display: block;
      color: #6a7f90;
      font-size: 0.78rem;
      margin-bottom: 5px;
    }

    .mini-card strong {
      display: block;
      color: var(--text-dark);
      line-height: 1.25;
      font-size: 0.92rem;
    }

    /* INTRO STATS */

    .intro-strip {
      margin-top: -48px;
      position: relative;
      z-index: 5;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: repeat(var(--intro-card-columns), minmax(0, 1fr));
      gap: var(--intro-card-gap);
      width: min(var(--intro-card-grid-width), calc(100% - var(--container-side-padding, 40px)));
    }

    .intro-card {
      padding: var(--intro-card-padding);
      min-height: var(--intro-card-min-height);
      border-radius: 22px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.1);
    }

    .intro-card strong {
      display: block;
      color: var(--xylem-blue);
      font-size: 1.55rem;
      line-height: 1;
      margin-bottom: 9px;
    }

    .intro-card span {
      color: var(--muted);
      font-weight: 700;
      line-height: 1.35;
    }

    /* SHARED CARDS */

    .card-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }

    .card {
      padding: 32px;
      border-radius: var(--radius);
      min-height: 260px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
      transition: 0.25s ease;
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: auto -40px -70px auto;
      width: 140px;
      height: 140px;
      background: radial-gradient(circle, rgba(0, 163, 224, 0.18), transparent 65%);
      pointer-events: none;
    }

    .card:hover {
      transform: translateY(-7px);
      background: #f2f9fd;
      box-shadow: 0 24px 64px rgba(0, 65, 110, 0.14);
    }

    .icon {
      width: 56px;
      height: 56px;
      border-radius: 19px;
      display: grid;
      place-items: center;
      margin-bottom: 22px;
      color: #ffffff;
      background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
      font-weight: 950;
      font-size: 1.4rem;
    }

    .card p {
      position: relative;
      z-index: 1;
    }

    /* ABOUT */

    .about {
      background: #ffffff;
    }

    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 58px;
      align-items: center;
    }

    .photo-stack {
      min-height: 560px;
      position: relative;
    }

    .photo {
      position: absolute;
      border-radius: 38px;
      background-size: cover;
      background-position: center;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 43, 73, 0.42), transparent);
    }

    .photo.one {
      inset: 0 90px 120px 0;
      background-image: url("assets/placeholders/community-1.svg");
    }

    .photo.two {
      right: 0;
      bottom: 0;
      width: 64%;
      height: 56%;
      background-image: url("assets/placeholders/community-2.svg");
    }

    .feature-list {
      display: grid;
      gap: 16px;
      margin-top: 26px;
    }

    .feature {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      color: var(--muted);
    }

    .check {
      flex: 0 0 28px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      color: #ffffff;
      background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
      font-weight: 950;
      margin-top: 2px;
    }

    /* WHAT WE DO */

    .what-we-do {
      background:
        radial-gradient(circle at top right, rgba(0, 163, 224, 0.13), transparent 30%),
        #f4f8fb;
    }

    .program-card {
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 16px;
      align-items: start;
      padding: 22px;
      min-height: 132px;
      border-radius: 30px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
      transition: 0.25s ease;
    }

    .program-card:hover {
      transform: translateY(-5px);
      background: #f2f9fd;
      box-shadow: 0 24px 64px rgba(0, 65, 110, 0.14);
    }

    .program-number {
      width: 58px;
      height: 58px;
      border-radius: 19px;
      display: grid;
      place-items: center;
      color: var(--xylem-blue);
      background: rgba(0, 163, 224, 0.12);
      border: 1px solid rgba(0, 114, 206, 0.18);
      font-size: 1.25rem;
      font-weight: 950;
    }

    .program-list {
      display: grid;
      gap: 14px;
    }

    /* IGNITE */

    .ignite {
      background: #ffffff;
      overflow: hidden;
    }

    .ignite-box {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 34px;
      align-items: stretch;
      padding: 30px;
      border-radius: 42px;
      background:
        radial-gradient(circle at 12% 8%, rgba(0, 163, 224, 0.18), transparent 30%),
        #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 30px 80px rgba(0, 65, 110, 0.14);
    }

    .ignite-main {
      padding: 34px;
      border-radius: 32px;
      background:
        linear-gradient(to top, rgba(0, 43, 73, 0.88), rgba(0, 114, 206, 0.18)),
        url("assets/placeholders/event-1.svg");
      background-size: cover;
      background-position: center;
      min-height: 520px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      border: 1px solid rgba(0, 114, 206, 0.14);
    }

    .ignite-main h2,
    .ignite-main h3,
    .ignite-main p {
      color: #ffffff;
    }

    .ignite-main .highlight {
      color: #bfefff;
    }

    .ignite-main .eyebrow {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.16);
      border-color: rgba(255, 255, 255, 0.28);
    }

    .ignite-details {
      display: grid;
      gap: 16px;
    }

    .detail-card {
      padding: 23px;
      border-radius: 26px;
      background: #f2f9fd;
      border: 1px solid rgba(0, 114, 206, 0.12);
    }

    .detail-card span {
      display: block;
      color: var(--muted);
      font-size: 0.86rem;
      margin-bottom: 5px;
      font-weight: 800;
    }

    .detail-card strong {
      display: block;
      color: var(--xylem-blue-dark);
      font-size: 1.06rem;
      line-height: 1.35;
    }

    .countdown-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 20px;
    }

    .count-box {
      padding: 18px 10px;
      border-radius: 20px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.12);
      text-align: center;
    }

    .count-box strong {
      display: block;
      color: var(--xylem-blue-dark);
      font-size: 1.7rem;
      line-height: 1;
      margin-bottom: 6px;
    }

    .count-box span {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* EVENTS */

    .events {
      background:
        radial-gradient(circle at top left, rgba(0, 114, 206, 0.1), transparent 30%),
        #f4f8fb;
    }

    .event-list {
      display: grid;
      gap: 18px;
    }

    .event-card {
      display: grid;
      grid-template-columns: 130px 1fr auto;
      gap: 24px;
      align-items: center;
      padding: 26px;
      border-radius: 30px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
      transition: 0.25s ease;
    }

    .event-card:hover {
      transform: translateY(-5px);
      background: #f2f9fd;
      box-shadow: 0 24px 64px rgba(0, 65, 110, 0.14);
    }

    .date-box {
      text-align: center;
      padding: 18px;
      border-radius: 23px;
      color: var(--xylem-blue);
      background: rgba(0, 163, 224, 0.12);
      border: 1px solid rgba(0, 114, 206, 0.18);
      font-weight: 950;
    }

    .date-box strong {
      display: block;
      font-size: 2rem;
      line-height: 1;
      margin-bottom: 4px;
    }

    .event-meta {
      white-space: nowrap;
    }

    /* REGIONS */

    .regions {
      background: #ffffff;
    }

    .region-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .region-cloud .region-pill {
      padding: 12px 16px;
      border-radius: 999px;
      color: var(--xylem-blue-dark);
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.22);
      font-weight: 800;
      box-shadow: 0 12px 34px rgba(0, 65, 110, 0.07);
    }

    /* GALLERY */

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .gallery-item {
      min-height: 250px;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid rgba(0, 114, 206, 0.14);
      background-size: cover;
      background-position: center;
      position: relative;
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.14);
    }

    .gallery-item::after {
      content: attr(data-label);
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 14px;
      padding: 12px 14px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-dark);
      backdrop-filter: blur(12px);
      font-weight: 950;
    }

    .gallery-item:nth-child(1) {
      grid-column: span 2;
      background-image: url("assets/placeholders/gallery-1.svg");
    }

    .gallery-item:nth-child(2) {
      background-image: url("assets/placeholders/gallery-2.svg");
    }

    .gallery-item:nth-child(3) {
      background-image: url("assets/placeholders/gallery-3.svg");
    }

    .gallery-item:nth-child(4) {
      background-image: url("assets/placeholders/gallery-4.svg");
    }

    .gallery-item:nth-child(5) {
      grid-column: span 2;
      background-image: url("assets/placeholders/gallery-5.svg");
    }

    .gallery-item:nth-child(6) {
      background-image: url("assets/placeholders/gallery-6.svg");
    }

    /* JOIN */

    .join {
      background:
        linear-gradient(rgba(0, 43, 73, 0.72), rgba(0, 43, 73, 0.78)),
        url("assets/placeholders/join.svg");
      background-size: cover;
      background-position: center;
    }

    .join-box {
      max-width: 880px;
      margin: auto;
      text-align: center;
      padding: 64px 40px;
      border-radius: 42px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(0, 114, 206, 0.18);
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow);
    }

    .join-box p {
      max-width: 650px;
      margin: 0 auto 32px;
    }

    /* FAQ + FORMS */

    .faq-contact {
      background: #ffffff;
    }

    .faq-layout {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 46px;
      align-items: start;
    }

    .faq-card {
      border-radius: 26px;
      overflow: hidden;
      border: 1px solid rgba(0, 114, 206, 0.14);
      background: #ffffff;
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
      margin-bottom: 14px;
    }

    .faq-question {
      width: 100%;
      padding: 22px 24px;
      border: 0;
      background: none;
      color: var(--text-dark);
      text-align: left;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      font: inherit;
      font-weight: 950;
      cursor: pointer;
    }

    .faq-question span {
      color: var(--xylem-blue);
      transition: 0.2s ease;
    }

    .faq-answer {
      display: none;
      padding: 0 24px 22px;
      color: var(--muted);
    }

    .faq-card.open .faq-answer {
      display: block;
    }

    .faq-card.open .faq-question span {
      transform: rotate(45deg);
    }

    .contact-form {
      display: grid;
      gap: 16px;
      padding: 30px;
      border-radius: 32px;
      background: #ffffff;
      border: 1px solid rgba(0, 114, 206, 0.14);
      box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
    }

    .two {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    label {
      display: grid;
      gap: 8px;
      color: #4e6476;
      font-size: 0.9rem;
      font-weight: 850;
    }

    input,
    select,
    textarea {
      width: 100%;
      padding: 15px 16px;
      border-radius: 17px;
      border: 1px solid rgba(0, 114, 206, 0.18);
      outline: none;
      background: #f7fbfe;
      color: var(--text-dark);
      font: inherit;
    }

    textarea {
      min-height: 120px;
      resize: vertical;
    }

    option {
      color: #111827;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--xylem-blue);
      box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.12);
    }

    .success {
      display: none;
      padding: 15px;
      border-radius: 17px;
      color: #00713d;
      background: rgba(0, 169, 157, 0.12);
      border: 1px solid rgba(0, 169, 157, 0.3);
      font-weight: 850;
    }

    .success.show {
      display: block;
    }

    /* FOOTER */

    footer {
      padding: 48px 0;
      background: var(--xylem-blue-deep);
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: #c8dcea;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
      gap: 30px;
    }

    footer h3,
    footer .brand {
      color: #ffffff;
    }

    footer p,
    .footer-links a {
      color: #c8dcea;
    }

    .footer-links {
      display: grid;
      gap: 9px;
    }

    .footer-links a:hover {
      color: #7ddfff;
    }

    .socials {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }

    .socials a {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: #ffffff;
      font-weight: 950;
      transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    }

    .socials a:hover,
    .socials a:focus-visible {
      color: var(--xylem-blue-deep);
      background: #7ddfff;
      border-color: rgba(125, 223, 255, 0.9);
      transform: translateY(-3px);
      box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
    }

    .socials svg {
      width: 20px;
      height: 20px;
      display: block;
      fill: currentColor;
    }

    

/* OPTIONAL EXTRA SECTIONS */

.extra-section {
  background: var(--bg-soft);
}

.extra-section:nth-of-type(even) {
  background: var(--bg);
}

.split.image-right .extra-image-wrap {
  order: 2;
}

.split.image-right .extra-copy {
  order: 1;
}

.extra-image-wrap {
  min-height: 480px;
}

.extra-image {
  min-height: 480px;
  height: 100%;
  border-radius: 38px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 114, 206, 0.14);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.extra-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 43, 73, 0.32), transparent);
}

.extra-image-placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--xylem-blue-dark);
  font-weight: 900;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 163, 224, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, var(--card-strong));
}

.extra-image-placeholder span {
  max-width: 330px;
  position: relative;
  z-index: 1;
}

.page-editor-section {
  background: var(--bg);
}

.page-editor-content {
  padding: 40px;
  border-radius: 36px;
  background: var(--card);
  border: 1px solid rgba(0, 114, 206, 0.14);
  box-shadow: 0 18px 50px rgba(0, 65, 110, 0.08);
}

.page-editor-content > * + * {
  margin-top: 18px;
}

.page-editor-content h1,
.page-editor-content h2,
.page-editor-content h3,
.page-editor-content h4 {
  color: var(--text-dark);
}

.page-editor-content ul,
.page-editor-content ol {
  padding-left: 1.35rem;
  color: var(--muted);
}

.page-editor-content a {
  color: var(--xylem-blue);
  font-weight: 900;
}

.page-editor-content .wp-block-button__link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
  border-radius: 999px;
  font-weight: 900;
}

@media (max-width: 980px) {
      .menu-btn {
        display: block;
      }

      .nav-links {
        position: fixed;
        top: var(--header-height, 82px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 83, 137, 0.12);
        box-shadow: 0 20px 50px rgba(0, 65, 110, 0.14);
      }

      .nav-links.open {
        display: flex;
      }

      .hero-grid,
      .split,
      .ignite-box,
      .faq-layout,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: 500px;
      }

      .hero-image-grid {
        top: -18px;
        bottom: 245px;
      }

      .intro-grid,
      .card-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .event-card {
        grid-template-columns: 1fr;
      }

      .event-meta {
        white-space: normal;
      }

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

      .gallery-item,
      .gallery-item:nth-child(1),
      .gallery-item:nth-child(5) {
        grid-column: auto;
      }
    }

    @media (max-width: 640px) {
      .container,
      .nav {
        width: min(100% - 28px, 1180px);
      }

      .section {
        padding: 82px 0;
      }

      .hero {
        padding-top: 130px;
      }

      .hero-panel-grid,
      .intro-grid,
      .card-grid,
      .countdown-grid,
      .gallery-grid,
      .two {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: 720px;
      }

      .hero-image-grid {
        left: 18px;
        right: 18px;
        top: -14px;
        bottom: 430px;
        gap: 12px;
      }

      .hero-image-placeholder {
        min-height: 96px;
        border-radius: 24px;
      }

      .hero-panel {
        left: 18px;
        right: 18px;
        bottom: -28px;
      }

      .intro-strip {
        margin-top: -24px;
      }

      .photo-stack {
        min-height: 430px;
      }

      .photo.one {
        inset: 0 45px 110px 0;
      }

      .photo.two {
        width: 72%;
      }

      .ignite-box {
        padding: 18px;
      }

      .ignite-main {
        padding: 24px;
        min-height: 430px;
      }

      .join-box {
        padding: 46px 24px;
      }
    }

/* Dashboard-editable image support */
.hero-image-placeholder.has-image {
  background:
    linear-gradient(135deg, rgba(0, 43, 73, 0.72), rgba(0, 163, 224, 0.22)),
    var(--card-strong);
}

.hero-image-placeholder.has-image::before {
  content: "";
  display: block;
  position: absolute;
  inset: -2px;
  z-index: 0;
  border: 0;
  border-radius: inherit;
  background-image: var(--dlso-hero-image-url);
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1);
  transform-origin: center;
  transition: opacity var(--hero-slide-fade-duration) ease, transform var(--hero-slide-fade-duration) ease;
}

.hero-image-placeholder.has-image.is-swapping::before {
  opacity: 0.08;
  transform: scale(1.02);
}

.hero-image-placeholder.image-motion-slow_zoom.has-image::before {
  animation: dlsoHeroSlowZoom var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-drift.has-image::before {
  animation: dlsoImageDrift var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-soft_pulse.has-image::before {
  animation: dlsoImageSoftPulse var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-gentle_float {
  animation: dlsoImageGentleFloat var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.hero-image-placeholder:nth-child(2).image-motion-slow_zoom.has-image::before,
.hero-image-placeholder:nth-child(2).image-motion-drift.has-image::before,
.hero-image-placeholder:nth-child(2).image-motion-soft_pulse.has-image::before,
.hero-image-placeholder:nth-child(2).image-motion-gentle_float {
  animation-delay: -4s;
}

.hero-image-placeholder:nth-child(3).image-motion-slow_zoom.has-image::before,
.hero-image-placeholder:nth-child(3).image-motion-drift.has-image::before,
.hero-image-placeholder:nth-child(3).image-motion-soft_pulse.has-image::before,
.hero-image-placeholder:nth-child(3).image-motion-gentle_float {
  animation-delay: -8s;
}

.hero-image-placeholder:nth-child(4).image-motion-slow_zoom.has-image::before,
.hero-image-placeholder:nth-child(4).image-motion-drift.has-image::before,
.hero-image-placeholder:nth-child(4).image-motion-soft_pulse.has-image::before,
.hero-image-placeholder:nth-child(4).image-motion-gentle_float {
  animation-delay: -12s;
}

.gallery-item.image-motion-drift {
  animation: dlsoImageDrift 24s ease-in-out infinite alternate;
}

.gallery-item.image-motion-soft_pulse {
  animation: dlsoGallerySoftPulse 20s ease-in-out infinite alternate;
}

.gallery-item.image-motion-gentle_float {
  animation: dlsoImageGentleFloat 18s ease-in-out infinite alternate;
}

.gallery-item.image-motion-slow_zoom {
  animation: dlsoGallerySlowZoom 26s ease-in-out infinite alternate;
}

@keyframes dlsoHeroSlowZoom {
  0% {
    background-position: 50% 50%;
    transform: scale(1);
  }

  100% {
    background-position: 56% 44%;
    transform: scale(var(--hero-zoom-scale));
  }
}

@keyframes dlsoImageDrift {
  0% {
    background-position: 45% 50%;
  }

  100% {
    background-position: 58% 48%;
  }
}

@keyframes dlsoImageSoftPulse {
  0% {
    transform: scale(1);
    filter: saturate(1);
  }

  100% {
    transform: scale(1.025);
    filter: saturate(1.06);
  }
}

@keyframes dlsoImageGentleFloat {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

@keyframes dlsoGallerySoftPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.012);
  }
}

@keyframes dlsoGallerySlowZoom {
  0% {
    transform: scale(1);
    background-position: center;
  }

  100% {
    transform: scale(1.018);
    background-position: 58% 44%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-placeholder.image-motion-slow_zoom.has-image::before,
  .hero-image-placeholder.image-motion-drift.has-image::before,
  .hero-image-placeholder.image-motion-soft_pulse.has-image::before,
  .hero-image-placeholder.image-motion-gentle_float,
  .gallery-item.image-motion-drift,
  .gallery-item.image-motion-soft_pulse,
  .gallery-item.image-motion-gentle_float,
  .gallery-item.image-motion-slow_zoom {
    animation: none;
  }

  .hero-image-placeholder.has-image::before {
    transition: none;
  }
}

.photo,
.ignite-main,
.gallery-item,
.join {
  background-size: cover;
  background-position: center;
}


.hero-image-placeholder.no-label::after {
  display: none;
}


@media (max-width: 980px) {
  .split.image-right .extra-image-wrap,
  .split.image-right .extra-copy {
    order: initial;
  }
}

@media (max-width: 640px) {
  .extra-image-wrap,
  .extra-image {
    min-height: 360px;
  }

  .page-editor-content {
    padding: 26px;
    border-radius: 28px;
  }
}


/* Builder-control enhancements added in v1.7.0 */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--xylem-blue-deep);
}

.skip-link:focus {
  left: 12px;
}

.menu-list {
  display: contents;
  margin: 0;
  padding: 0;
}

.nav-links li,
.footer-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links .menu-item,
.footer-links .menu-item {
  display: contents;
}

.nav-cta {
  white-space: nowrap;
}

.center-actions {
  justify-content: center;
}

.ignite-main,
.join {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.ignite-main::before,
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ignite-main > *,
.join > * {
  position: relative;
  z-index: 1;
}

.dlso-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-privacy-note {
  margin-top: 14px;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.menu-btn:focus-visible,
.faq-question:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 163, 224, 0.45);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-links .menu-item,
  .footer-links .menu-item {
    display: block;
  }
}

@media (max-width: 760px) {
  .intro-strip .intro-grid {
    grid-template-columns: repeat(var(--intro-card-columns-mobile), minmax(0, 1fr));
  }
}


/* Standard WordPress pages/posts added in v1.8.0 */
.site-main {
  padding: calc(var(--header-height, 82px) + 70px) 0 90px;
}

.content-card,
.post-card,
.not-found-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 58px);
}

.content-card > * + *,
.entry-content > * + *,
.archive-list > * + * {
  margin-top: 1.15rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content a,
.post-card a,
.not-found-card a {
  color: var(--xylem-blue);
  font-weight: 800;
}

.archive-list {
  display: grid;
  gap: 22px;
}

.post-card h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.entry-meta {
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
  margin-bottom: 1rem;
}

.pagination,
.post-navigation,
.page-links {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.search-form label {
  flex: 1 1 240px;
}

.form-error {
  display: none;
  padding: 15px;
  border-radius: 17px;
  color: #8a1f11;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.24);
  font-weight: 850;
  margin-bottom: 14px;
}

.form-error.show {
  display: block;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.45;
}

.form-consent input {
  width: auto;
  margin-top: 4px;
  flex: 0 0 auto;
}

.form-consent a {
  color: var(--xylem-blue);
  text-decoration: underline;
}

/* v1.9.1 sharper About image rendering */
.photo {
  background-image: none;
}

.about-photo-stack .photo {
  isolation: isolate;
}

.about-photo-stack .about-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.about-photo-stack .photo.one .about-photo-image {
  object-position: center 38%;
}

.about-photo-stack .photo.two .about-photo-image {
  object-position: center 42%;
}

/* v1.9.0 responsive content image upgrade */
.photo .dlso-responsive-image,
.gallery-item .dlso-responsive-image,
.extra-image .dlso-responsive-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo .dlso-responsive-image,
.gallery-item .dlso-responsive-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo::after,
.gallery-item::after,
.extra-image::after {
  z-index: 1;
  pointer-events: none;
}

.gallery-item::after {
  z-index: 2;
}

.extra-image .dlso-responsive-image {
  min-height: 480px;
}
.gallery-item { margin: 0; }


/* v1.9.2 About image tiles: three tilted hero-style photo cards */
.about-photo-stack {
  min-height: clamp(430px, 48vw, 620px);
  position: relative;
  overflow: visible;
  perspective: 1000px;
}

.about-photo-stack .photo,
.about-photo-stack .about-photo-tile {
  position: absolute;
  min-height: 0;
  background: linear-gradient(135deg, rgba(0, 43, 73, 0.72), rgba(0, 163, 224, 0.22)), var(--card-strong);
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(0, 43, 73, 0.22);
  overflow: hidden;
  isolation: isolate;
  transform-origin: center;
}

.about-photo-stack .photo::before,
.about-photo-stack .about-photo-tile::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border: 0;
  border-radius: inherit;
  background-image: var(--dlso-hero-image-url);
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.01);
}

.about-photo-stack .photo::after,
.about-photo-stack .about-photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0, 43, 73, 0.26), transparent 58%),
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.2), transparent 34%);
  pointer-events: none;
}

.about-photo-stack .photo.one,
.about-photo-stack .about-photo-tile.one {
  left: 0;
  top: 42px;
  width: 54%;
  height: 58%;
  transform: rotate(-7deg);
  z-index: 2;
}

.about-photo-stack .photo.two,
.about-photo-stack .about-photo-tile.two {
  left: 34%;
  top: 0;
  right: auto;
  bottom: auto;
  width: 58%;
  height: 62%;
  transform: rotate(5deg);
  z-index: 3;
}

.about-photo-stack .photo.three,
.about-photo-stack .about-photo-tile.three {
  left: 15%;
  bottom: 18px;
  width: 64%;
  height: 48%;
  transform: rotate(-3deg);
  z-index: 4;
}

.about-photo-stack .about-photo-image {
  display: none !important;
}

.about-photo-stack .photo:hover,
.about-photo-stack .about-photo-tile:hover {
  transform: translateY(-6px) rotate(var(--about-rotate, 0deg));
}

.about-photo-stack .photo.one,
.about-photo-stack .about-photo-tile.one { --about-rotate: -7deg; }
.about-photo-stack .photo.two,
.about-photo-stack .about-photo-tile.two { --about-rotate: 5deg; }
.about-photo-stack .photo.three,
.about-photo-stack .about-photo-tile.three { --about-rotate: -3deg; }

@media (max-width: 980px) {
  .about-photo-stack {
    min-height: 520px;
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .about-photo-stack {
    min-height: 430px;
  }

  .about-photo-stack .photo.one,
  .about-photo-stack .about-photo-tile.one {
    width: 62%;
    height: 46%;
    left: 0;
    top: 38px;
  }

  .about-photo-stack .photo.two,
  .about-photo-stack .about-photo-tile.two {
    width: 62%;
    height: 48%;
    left: 31%;
    top: 8px;
  }

  .about-photo-stack .photo.three,
  .about-photo-stack .about-photo-tile.three {
    width: 74%;
    height: 42%;
    left: 12%;
    bottom: 14px;
  }
}


/* v1.9.4 picture motion controls, FAQ expansion, and footer copyright */
.about-photo-tile.image-motion-slow_zoom::before,
.ignite-main.image-motion-slow_zoom::before,
.join.image-motion-slow_zoom::before,
.extra-image.image-motion-slow_zoom .dlso-responsive-image {
  animation: dlsoHeroSlowZoom var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.about-photo-tile.image-motion-drift::before,
.ignite-main.image-motion-drift,
.join.image-motion-drift,
.extra-image.image-motion-drift .dlso-responsive-image {
  animation: dlsoImageDrift 24s ease-in-out infinite alternate;
}

.about-photo-tile.image-motion-soft_pulse::before,
.ignite-main.image-motion-soft_pulse,
.join.image-motion-soft_pulse,
.extra-image.image-motion-soft_pulse .dlso-responsive-image {
  animation: dlsoImageSoftPulse 22s ease-in-out infinite alternate;
}

.about-photo-tile.image-motion-gentle_float,
.ignite-main.image-motion-gentle_float,
.join.image-motion-gentle_float,
.extra-image.image-motion-gentle_float {
  animation: dlsoImageGentleFloat 18s ease-in-out infinite alternate;
}

.ignite-main.has-image,
.join.has-image {
  position: relative;
  overflow: hidden;
}

.ignite-main.has-image::before,
.join.has-image::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  opacity: .98;
}

.ignite-main.has-image > *,
.join.has-image > * {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-legal-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: .92rem;
  line-height: 1.6;
}

.footer-legal-note a,
.footer-copyright a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-tile.image-motion-slow_zoom::before,
  .about-photo-tile.image-motion-drift::before,
  .about-photo-tile.image-motion-soft_pulse::before,
  .about-photo-tile.image-motion-gentle_float,
  .ignite-main.image-motion-slow_zoom::before,
  .ignite-main.image-motion-drift,
  .ignite-main.image-motion-soft_pulse,
  .ignite-main.image-motion-gentle_float,
  .join.image-motion-slow_zoom::before,
  .join.image-motion-drift,
  .join.image-motion-soft_pulse,
  .join.image-motion-gentle_float,
  .extra-image.image-motion-slow_zoom .dlso-responsive-image,
  .extra-image.image-motion-drift .dlso-responsive-image,
  .extra-image.image-motion-soft_pulse .dlso-responsive-image,
  .extra-image.image-motion-gentle_float {
    animation: none;
  }
}

@keyframes dlsoImageDriftTransform {
  0% { transform: scale(1.02) translateX(-1.5%) translateY(0); }
  100% { transform: scale(1.06) translateX(1.5%) translateY(-1%); }
}

.ignite-main.image-motion-drift::before,
.join.image-motion-drift::before {
  animation: dlsoImageDrift 24s ease-in-out infinite alternate;
}

.ignite-main.image-motion-soft_pulse::before,
.join.image-motion-soft_pulse::before {
  animation: dlsoImageSoftPulse 22s ease-in-out infinite alternate;
}

.extra-image.image-motion-drift .dlso-responsive-image {
  animation-name: dlsoImageDriftTransform;
}

.extra-image.image-motion-slow_zoom .dlso-responsive-image {
  animation-name: dlsoGallerySlowZoom;
}

@keyframes dlsoAboutTileGentleFloat {
  0% { transform: translateY(0) rotate(var(--about-rotate, 0deg)); }
  100% { transform: translateY(-8px) rotate(var(--about-rotate, 0deg)); }
}

.about-photo-tile.image-motion-gentle_float {
  animation: dlsoAboutTileGentleFloat 18s ease-in-out infinite alternate;
}


/* v1.9.5: Join image resizing, equal gallery grid, richer image motion, and Our Action Points */
.action-points-section {
  margin-top: clamp(-34px, -3vw, -18px);
  padding-top: clamp(46px, 5vw, 86px);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 163, 224, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.97), rgba(238,248,253,0.74));
  position: relative;
  z-index: 4;
}

.action-points-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0,114,206,.25), transparent);
}

.action-points-head {
  margin-bottom: 28px;
}

.action-points-grid {
  align-items: stretch;
}

.action-point-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.action-point-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -30%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,224,.18), transparent 70%);
  z-index: -1;
}

.action-point-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
  color: #fff;
  font-weight: 950;
  font-size: 1.35rem;
  box-shadow: 0 15px 34px rgba(0,114,206,.2);
}

.action-point-copy strong {
  display: block;
  color: var(--text-dark);
  font-size: var(--dlso-card-title-size);
  line-height: 1.12;
  margin-bottom: 10px;
}

.action-point-copy span {
  display: block;
  color: var(--muted);
  font-size: var(--dlso-card-text-size);
  line-height: 1.55;
  font-weight: 650;
}

.action-point-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 72px rgba(0,65,110,.14);
}

.gallery-grid .gallery-item,
.gallery-item:nth-child(1),
.gallery-item:nth-child(5) {
  grid-column: auto !important;
  grid-row: auto !important;
}

.gallery-item {
  aspect-ratio: 1 / .82;
}

.gallery-item .dlso-responsive-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.join.dlso-join-section {
  width: min(var(--join-image-max-width), calc(100% - var(--join-image-side-margin)));
  min-height: var(--join-image-min-height);
  margin-left: auto;
  margin-right: auto;
}

.join.has-image::before {
  background-position: inherit;
}

.hero-image-placeholder.image-motion-ken_burns.has-image::before,
.about-photo-tile.image-motion-ken_burns::before,
.ignite-main.image-motion-ken_burns::before,
.join.image-motion-ken_burns::before {
  animation: dlsoKenBurns var(--hero-zoom-duration) ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-pan_left.has-image::before,
.about-photo-tile.image-motion-pan_left::before,
.ignite-main.image-motion-pan_left::before,
.join.image-motion-pan_left::before {
  animation: dlsoPanLeft 24s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-pan_right.has-image::before,
.about-photo-tile.image-motion-pan_right::before,
.ignite-main.image-motion-pan_right::before,
.join.image-motion-pan_right::before {
  animation: dlsoPanRight 24s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-tilt_sway,
.about-photo-tile.image-motion-tilt_sway,
.ignite-main.image-motion-tilt_sway,
.join.image-motion-tilt_sway,
.gallery-item.image-motion-tilt_sway,
.extra-image.image-motion-tilt_sway {
  animation: dlsoTiltSway 12s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-lift_glow,
.about-photo-tile.image-motion-lift_glow,
.ignite-main.image-motion-lift_glow,
.join.image-motion-lift_glow,
.gallery-item.image-motion-lift_glow,
.extra-image.image-motion-lift_glow {
  animation: dlsoLiftGlow 9s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-spotlight.has-image::after,
.about-photo-tile.image-motion-spotlight::after,
.ignite-main.image-motion-spotlight::after,
.join.image-motion-spotlight::after,
.gallery-item.image-motion-spotlight::before,
.extra-image.image-motion-spotlight::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  animation: dlsoSpotlight 4.8s ease-in-out infinite;
  z-index: 2;
}

.gallery-item.image-motion-ken_burns .dlso-responsive-image,
.extra-image.image-motion-ken_burns .dlso-responsive-image {
  animation: dlsoKenBurns 26s ease-in-out infinite alternate;
}

.gallery-item.image-motion-pan_left .dlso-responsive-image,
.extra-image.image-motion-pan_left .dlso-responsive-image {
  animation: dlsoPanLeft 24s ease-in-out infinite alternate;
}

.gallery-item.image-motion-pan_right .dlso-responsive-image,
.extra-image.image-motion-pan_right .dlso-responsive-image {
  animation: dlsoPanRight 24s ease-in-out infinite alternate;
}

@keyframes dlsoKenBurns {
  0% { transform: scale(1.02) translate3d(-1%, 1%, 0); background-position: 48% 52%; }
  100% { transform: scale(1.14) translate3d(1%, -1%, 0); background-position: 56% 44%; }
}

@keyframes dlsoPanLeft {
  0% { transform: scale(1.08) translate3d(2%, 0, 0); background-position: 60% 50%; }
  100% { transform: scale(1.08) translate3d(-2%, 0, 0); background-position: 40% 50%; }
}

@keyframes dlsoPanRight {
  0% { transform: scale(1.08) translate3d(-2%, 0, 0); background-position: 40% 50%; }
  100% { transform: scale(1.08) translate3d(2%, 0, 0); background-position: 60% 50%; }
}

@keyframes dlsoTiltSway {
  0% { transform: translateY(0) rotate(-.6deg); }
  100% { transform: translateY(-6px) rotate(.6deg); }
}

@keyframes dlsoLiftGlow {
  0% { transform: translateY(0); box-shadow: 0 18px 50px rgba(0,65,110,.14); }
  100% { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(0,114,206,.24); }
}

@keyframes dlsoSpotlight {
  0% { transform: translateX(-45%) rotate(0deg); opacity: 0; }
  35% { opacity: .72; }
  100% { transform: translateX(45%) rotate(0deg); opacity: 0; }
}

@media (max-width: 980px) {
  .action-points-section {
    margin-top: 0;
  }

  .join.dlso-join-section {
    width: min(var(--join-image-max-width), calc(100% - 28px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-placeholder.image-motion-ken_burns.has-image::before,
  .hero-image-placeholder.image-motion-pan_left.has-image::before,
  .hero-image-placeholder.image-motion-pan_right.has-image::before,
  .hero-image-placeholder.image-motion-tilt_sway,
  .hero-image-placeholder.image-motion-lift_glow,
  .hero-image-placeholder.image-motion-spotlight.has-image::after,
  .about-photo-tile.image-motion-ken_burns::before,
  .about-photo-tile.image-motion-pan_left::before,
  .about-photo-tile.image-motion-pan_right::before,
  .about-photo-tile.image-motion-tilt_sway,
  .about-photo-tile.image-motion-lift_glow,
  .about-photo-tile.image-motion-spotlight::after,
  .ignite-main.image-motion-ken_burns::before,
  .ignite-main.image-motion-pan_left::before,
  .ignite-main.image-motion-pan_right::before,
  .ignite-main.image-motion-tilt_sway,
  .ignite-main.image-motion-lift_glow,
  .ignite-main.image-motion-spotlight::after,
  .join.image-motion-ken_burns::before,
  .join.image-motion-pan_left::before,
  .join.image-motion-pan_right::before,
  .join.image-motion-tilt_sway,
  .join.image-motion-lift_glow,
  .join.image-motion-spotlight::after,
  .gallery-item.image-motion-ken_burns .dlso-responsive-image,
  .gallery-item.image-motion-pan_left .dlso-responsive-image,
  .gallery-item.image-motion-pan_right .dlso-responsive-image,
  .gallery-item.image-motion-tilt_sway,
  .gallery-item.image-motion-lift_glow,
  .gallery-item.image-motion-spotlight::before,
  .extra-image.image-motion-ken_burns .dlso-responsive-image,
  .extra-image.image-motion-pan_left .dlso-responsive-image,
  .extra-image.image-motion-pan_right .dlso-responsive-image,
  .extra-image.image-motion-tilt_sway,
  .extra-image.image-motion-lift_glow,
  .extra-image.image-motion-spotlight::before {
    animation: none !important;
  }
}

/* v1.9.5 safety: keep hero tile labels visible when the spotlight animation is selected. */
.hero-image-placeholder.image-motion-spotlight.has-image::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  right: auto;
  top: auto;
  bottom: 18px;
  inset: auto auto 18px 18px;
  width: auto;
  height: auto;
  transform: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 43, 73, 0.46);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  animation: none;
  z-index: 3;
}

.hero-image-placeholder.no-label.image-motion-spotlight.has-image::after {
  display: none;
}

.hero-image-placeholder.image-motion-spotlight,
.gallery-item.image-motion-spotlight,
.extra-image.image-motion-spotlight {
  animation: dlsoSpotlightCard 7s ease-in-out infinite alternate;
}

@keyframes dlsoSpotlightCard {
  0% { filter: brightness(1) saturate(1); }
  100% { filter: brightness(1.08) saturate(1.08); }
}

/* v1.9.6: modern footer social icons for TikTok, Facebook, Instagram, X, and YouTube. */


/* v1.9.7: Action Points hover actions, wider typography controls, expanded image animations */
.action-points-section.action-hover-none .action-point-card:hover {
  transform: none;
  box-shadow: inherit;
}

.action-points-section.action-hover-calm .action-point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,65,110,.12);
}

.action-points-section.action-hover-lift_glow .action-point-card,
.action-points-section.action-hover-tilt_zoom .action-point-card,
.action-points-section.action-hover-icon_bounce .action-point-card,
.action-points-section.action-hover-shine .action-point-card,
.action-points-section.action-hover-border_pop .action-point-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.action-points-section.action-hover-lift_glow .action-point-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 34px 90px rgba(0,114,206,.20);
}

.action-points-section.action-hover-lift_glow .action-point-card:hover .action-point-icon {
  transform: translateY(-2px) scale(1.08);
}

.action-points-section.action-hover-tilt_zoom .action-point-card:hover {
  transform: translateY(-8px) rotate(-1.2deg) scale(1.025);
  box-shadow: 0 30px 78px rgba(0,65,110,.17);
}

.action-points-section.action-hover-tilt_zoom .action-point-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(1.2deg) scale(1.025);
}

.action-points-section.action-hover-icon_bounce .action-point-card:hover .action-point-icon {
  animation: dlsoActionIconBounce .7s ease both;
}

.action-points-section.action-hover-icon_bounce .action-point-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0,114,206,.16);
}

.action-points-section.action-hover-shine .action-point-card::after,
.action-points-section.action-hover-border_pop .action-point-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.action-points-section.action-hover-shine .action-point-card::after {
  inset: -40%;
  background: linear-gradient(120deg, transparent 42%, rgba(255,255,255,.42) 50%, transparent 58%);
  transform: translateX(-70%) rotate(8deg);
  opacity: 0;
}

.action-points-section.action-hover-shine .action-point-card:hover::after {
  animation: dlsoActionShine .85s ease both;
}

.action-points-section.action-hover-border_pop .action-point-card::after {
  inset: 0;
  border: 2px solid rgba(0,163,224,.55);
  border-radius: inherit;
  opacity: 0;
  transform: scale(.96);
}

.action-points-section.action-hover-border_pop .action-point-card:hover::after {
  opacity: 1;
  transform: scale(1);
  transition: opacity .25s ease, transform .25s ease;
}

.action-points-section.action-hover-border_pop .action-point-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0,163,224,.45);
}

.action-point-icon {
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-image-placeholder.image-motion-rotate_zoom.has-image::before,
.about-photo-tile.image-motion-rotate_zoom::before,
.ignite-main.image-motion-rotate_zoom::before,
.join.image-motion-rotate_zoom::before {
  animation: dlsoRotateZoom 28s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-blur_reveal.has-image::before,
.about-photo-tile.image-motion-blur_reveal::before,
.ignite-main.image-motion-blur_reveal::before,
.join.image-motion-blur_reveal::before,
.gallery-item.image-motion-blur_reveal .dlso-responsive-image,
.extra-image.image-motion-blur_reveal .dlso-responsive-image {
  animation: dlsoBlurReveal 9s ease-in-out infinite alternate;
}

.hero-image-placeholder.image-motion-bounce_float,
.about-photo-tile.image-motion-bounce_float,
.ignite-main.image-motion-bounce_float,
.join.image-motion-bounce_float,
.gallery-item.image-motion-bounce_float,
.extra-image.image-motion-bounce_float {
  animation: dlsoBounceFloat 8s ease-in-out infinite;
}

.hero-image-placeholder.image-motion-grayscale_lift.has-image::before,
.about-photo-tile.image-motion-grayscale_lift::before,
.ignite-main.image-motion-grayscale_lift::before,
.join.image-motion-grayscale_lift::before,
.gallery-item.image-motion-grayscale_lift .dlso-responsive-image,
.extra-image.image-motion-grayscale_lift .dlso-responsive-image {
  filter: grayscale(.55) saturate(.9);
  transition: filter .35s ease, transform .35s ease;
}

.hero-image-placeholder.image-motion-grayscale_lift:hover::before,
.about-photo-tile.image-motion-grayscale_lift:hover::before,
.ignite-main.image-motion-grayscale_lift:hover::before,
.join.image-motion-grayscale_lift:hover::before,
.gallery-item.image-motion-grayscale_lift:hover .dlso-responsive-image,
.extra-image.image-motion-grayscale_lift:hover .dlso-responsive-image {
  filter: grayscale(0) saturate(1.1);
  transform: scale(1.04);
}

.hero-image-placeholder.image-motion-glow_sweep.has-image::after,
.about-photo-tile.image-motion-glow_sweep::after,
.ignite-main.image-motion-glow_sweep::after,
.join.image-motion-glow_sweep::after,
.gallery-item.image-motion-glow_sweep::before,
.extra-image.image-motion-glow_sweep::before {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(99,216,255,.30), transparent 52%);
  animation: dlsoGlowSweep 7s ease-in-out infinite alternate;
  z-index: 2;
}

.gallery-item.image-motion-rotate_zoom .dlso-responsive-image,
.extra-image.image-motion-rotate_zoom .dlso-responsive-image {
  animation: dlsoRotateZoom 28s ease-in-out infinite alternate;
}

@keyframes dlsoActionIconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-9px) scale(1.1); }
  65% { transform: translateY(2px) scale(.98); }
}

@keyframes dlsoActionShine {
  0% { opacity: 0; transform: translateX(-70%) rotate(8deg); }
  30% { opacity: .85; }
  100% { opacity: 0; transform: translateX(70%) rotate(8deg); }
}

@keyframes dlsoRotateZoom {
  0% { transform: scale(1.03) rotate(-.45deg); background-position: 48% 50%; }
  100% { transform: scale(1.13) rotate(.45deg); background-position: 56% 46%; }
}

@keyframes dlsoBlurReveal {
  0% { filter: blur(0) saturate(1); transform: scale(1.01); }
  100% { filter: blur(1.5px) saturate(1.18); transform: scale(1.07); }
}

@keyframes dlsoBounceFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes dlsoGlowSweep {
  0% { opacity: .12; transform: translate3d(-12%, 8%, 0) scale(.94); }
  100% { opacity: .55; transform: translate3d(12%, -8%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .action-point-card,
  .action-point-card::after,
  .action-point-icon,
  .hero-image-placeholder.image-motion-rotate_zoom.has-image::before,
  .about-photo-tile.image-motion-rotate_zoom::before,
  .ignite-main.image-motion-rotate_zoom::before,
  .join.image-motion-rotate_zoom::before,
  .gallery-item.image-motion-rotate_zoom .dlso-responsive-image,
  .extra-image.image-motion-rotate_zoom .dlso-responsive-image,
  .hero-image-placeholder.image-motion-blur_reveal.has-image::before,
  .about-photo-tile.image-motion-blur_reveal::before,
  .ignite-main.image-motion-blur_reveal::before,
  .join.image-motion-blur_reveal::before,
  .gallery-item.image-motion-blur_reveal .dlso-responsive-image,
  .extra-image.image-motion-blur_reveal .dlso-responsive-image,
  .hero-image-placeholder.image-motion-bounce_float,
  .about-photo-tile.image-motion-bounce_float,
  .ignite-main.image-motion-bounce_float,
  .join.image-motion-bounce_float,
  .gallery-item.image-motion-bounce_float,
  .extra-image.image-motion-bounce_float,
  .hero-image-placeholder.image-motion-glow_sweep.has-image::after,
  .about-photo-tile.image-motion-glow_sweep::after,
  .ignite-main.image-motion-glow_sweep::after,
  .join.image-motion-glow_sweep::after,
  .gallery-item.image-motion-glow_sweep::before,
  .extra-image.image-motion-glow_sweep::before {
    animation: none !important;
    transition: none !important;
  }
}


/* ================================================================
   DLSO Germany 2.0 — movable FAQ / Contact / Registration sections
   ================================================================ */

.faq-section,
.contact-section {
  background: var(--bg-soft);
}

.faq-standalone-layout,
.contact-standalone-layout,
.registration-section-inner {
  position: relative;
  z-index: 2;
}

.faq-section-head {
  max-width: 820px;
  margin-inline: auto;
}

.faq-list {
  width: min(900px, 100%);
  margin: 38px auto 0;
}

.contact-standalone-layout {
  width: min(860px, calc(100% - var(--container-side-padding, 40px)));
}

.contact-standalone-layout .contact-form {
  width: 100%;
}

.contact-standalone-layout .form-privacy-note {
  margin: 16px auto 0;
  max-width: 760px;
}

.registration-section {
  --registration-fallback-bg: #eaf6fc;
  --registration-overlay: .48;
  --registration-bg-position: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(99, 216, 255, .30), transparent 30%),
    linear-gradient(135deg, var(--registration-fallback-bg), #f8fcff);
}

.registration-section.has-background-image {
  background-image: var(--registration-bg-image);
  background-size: cover;
  background-position: var(--registration-bg-position);
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.registration-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(0, 43, 73, 0), rgba(0, 114, 206, .04));
}

.registration-section.has-background-image .registration-backdrop {
  background: rgba(0, 43, 73, var(--registration-overlay));
  backdrop-filter: saturate(.88);
}

.registration-section.has-background-image .registration-section-head,
.registration-section.has-background-image .registration-section-head h2,
.registration-section.has-background-image .registration-section-head p {
  color: #fff;
}

.registration-section.has-background-image .registration-section-head .eyebrow,
.registration-section.has-background-image .registration-section-head .highlight {
  color: var(--xylem-aqua);
}

.registration-section-head {
  max-width: 880px;
  margin-inline: auto;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-top: 48px;
}

.registration-layout-form-only {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.registration-form-column {
  min-width: 0;
}

.registration-form-card {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 30px 90px rgba(0, 43, 73, .24);
  backdrop-filter: blur(12px);
}

.registration-privacy-note {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  color: var(--text);
}

.registration-photo-stage {
  position: relative;
  min-height: 610px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  perspective: 1200px;
}

.registration-photo-card {
  position: absolute;
  width: min(390px, 82%);
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .58);
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 43, 73, .28);
  transition: transform .45s ease, box-shadow .45s ease;
}

.registration-photo-card-1 {
  top: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
}

.registration-photo-card-2 {
  top: 142px;
  right: 0;
  transform: rotate(5deg);
  z-index: 3;
}

.registration-photo-card-3 {
  left: 48px;
  bottom: 0;
  transform: rotate(-2deg);
  z-index: 2;
}

.registration-photo-card:hover {
  transform: rotate(0deg) translateY(-7px) scale(1.02);
  box-shadow: 0 36px 90px rgba(0, 43, 73, .34);
  z-index: 5;
}

.registration-photo-frame {
  position: relative;
  height: calc(100% - 52px);
  overflow: hidden;
  background: var(--card-strong);
}

.registration-programme-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .7s ease, transform 1.1s ease;
}

.registration-programme-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.registration-programme-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.registration-photo-caption {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 10px 18px;
  color: var(--text-dark);
  font-weight: 900;
  font-size: .9rem;
  line-height: 1.25;
  background: rgba(255, 255, 255, .97);
}

.registration-photo-note {
  position: absolute;
  right: 4px;
  bottom: -38px;
  max-width: 250px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--xylem-blue-dark);
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(0, 43, 73, .16);
}

@media (max-width: 980px) {
  .registration-layout {
    grid-template-columns: 1fr;
  }

  .registration-photo-stage {
    min-height: 580px;
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .registration-layout {
    margin-top: 32px;
  }

  .registration-photo-stage {
    min-height: 465px;
  }

  .registration-photo-card {
    width: 76%;
    border-radius: 22px;
  }

  .registration-photo-card-1 {
    left: 1%;
  }

  .registration-photo-card-2 {
    top: 105px;
    right: 1%;
  }

  .registration-photo-card-3 {
    left: 12%;
  }

  .registration-photo-frame {
    height: calc(100% - 46px);
  }

  .registration-photo-caption {
    min-height: 46px;
    padding: 8px 13px;
    font-size: .78rem;
  }

  .registration-photo-note {
    bottom: -30px;
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .registration-programme-slide,
  .registration-photo-card {
    transition: none;
  }
}

/* ================================================================
   DLSO Germany 2.1 — page navigation, EN/DE, registration gallery,
   interactive Germany regions
   ================================================================ */

/* Desktop WordPress dropdown menus. */
.nav-links .menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links .menu-item {
  display: block;
  position: relative;
}
.nav-links .menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.nav-links .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 6px;
  font-size: .78em;
  opacity: .72;
}
.nav-links .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 130;
  min-width: 210px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(0, 83, 137, .12);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 55px rgba(0,43,73,.17);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav-links .sub-menu li { display: block; }
.nav-links .sub-menu a {
  display: block;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
}
.nav-links .sub-menu a:hover,
.nav-links .sub-menu a:focus-visible {
  background: var(--card-strong);
}
.nav-links .menu-item-has-children:hover > .sub-menu,
.nav-links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(0, 83, 137, .14);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .04em;
}
.language-switcher a {
  min-width: 31px;
  padding: 6px 7px;
  border-radius: 999px;
  text-align: center;
}
.language-switcher a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--xylem-blue), var(--xylem-cyan));
  box-shadow: 0 8px 18px rgba(0,114,206,.18);
}
.language-switcher > span { opacity: .38; }

/* Explore link cards: circular image navigation with editable copy and URLs. */
.page-links-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.page-links-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -230px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,224,.10), rgba(0,163,224,0) 70%);
  pointer-events: none;
}
.page-links-head { position: relative; max-width: 800px; margin-inline: auto; }
.page-links-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 34px);
  align-items: start;
  margin-top: 46px;
}
.page-link-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 8px 4px 12px;
  color: var(--text);
  text-align: center;
  outline: none;
}
.page-link-card-image-wrap {
  position: relative;
  display: block;
  width: min(100%, 174px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: var(--card-strong);
  box-shadow: 0 14px 34px rgba(0,65,110,.13), 0 0 0 1px rgba(0,114,206,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.page-link-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(0,114,206,.04));
  pointer-events: none;
}
.page-link-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .38s ease, filter .3s ease;
}
.page-link-card-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--xylem-blue);
  font-size: 2rem;
  font-weight: 900;
  border-color: rgba(0,114,206,.12);
}
.page-link-card:hover .page-link-card-image-wrap,
.page-link-card:focus-visible .page-link-card-image-wrap {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,1);
  box-shadow: 0 22px 48px rgba(0,65,110,.20), 0 0 0 2px rgba(0,163,224,.10);
}
.page-link-card:hover .page-link-card-image,
.page-link-card:focus-visible .page-link-card-image {
  transform: scale(1.055);
}
.page-link-card:focus-visible .page-link-card-image-wrap {
  box-shadow: 0 0 0 4px rgba(0,114,206,.18), 0 22px 48px rgba(0,65,110,.20);
}
.page-link-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.page-link-card-body strong {
  color: var(--text-dark);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: .015em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.page-link-card:hover .page-link-card-body strong,
.page-link-card:focus-visible .page-link-card-body strong {
  color: var(--xylem-blue);
}
.page-link-card-description {
  max-width: 19ch;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

/* Registration photos are now a clean non-overlapping grid. */
.registration-layout {
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  align-items: start;
}
.registration-photo-stage {
  position: relative;
  min-height: 0;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  perspective: none;
}
.registration-photo-note {
  position: static;
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--xylem-blue-dark);
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 12px 35px rgba(0,43,73,.13);
}
.registration-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.registration-photo-card {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
  margin: 0;
  transform: none !important;
  border-radius: 26px;
  box-shadow: 0 22px 58px rgba(0,43,73,.22);
}
.registration-photo-card-1 {
  grid-column: 1 / -1;
}
.registration-photo-frame {
  height: auto;
  aspect-ratio: 16 / 10;
}
.registration-photo-card-2 .registration-photo-frame,
.registration-photo-card-3 .registration-photo-frame {
  aspect-ratio: 4 / 3;
}
.registration-photo-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 28px 70px rgba(0,43,73,.28);
  z-index: auto;
}
.registration-photo-caption { min-height: 50px; }

/* Regions: realistic Germany map + interactive state markers + polished location cards. */
.regions { background: linear-gradient(180deg, #fff, var(--bg)); }
.regions-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}
.regions-copy p { max-width: 650px; }
.regions-map-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 24px 0 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,163,224,.09);
  color: var(--xylem-blue-dark);
  font-size: .86rem;
  font-weight: 900;
}
.germany-map-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(0,114,206,.16);
  border-radius: 36px;
  background:
    radial-gradient(circle at 80% 14%, rgba(99,216,255,.24), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(238,248,253,.95));
  box-shadow: 0 30px 80px rgba(0,65,110,.14);
}
.germany-map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0,114,206,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,114,206,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.germany-map-card-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 12px;
  color: var(--xylem-blue-dark);
}
.germany-map-card-head span { font-size: 1.3rem; font-weight: 950; }
.germany-map-card-head strong { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.germany-real-map {
  position: relative;
  z-index: 2;
  width: min(100%, 455px);
  margin: 0 auto;
  aspect-ratio: 901 / 1200;
  overflow: hidden;
  border-radius: 24px;
  background: #e7f3fa;
  box-shadow: 0 18px 35px rgba(0,65,110,.14);
  isolation: isolate;
}
.germany-real-map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.germany-real-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.germany-state-marker {
  --marker-size: 38px;
  position: absolute;
  left: var(--state-x);
  top: var(--state-y);
  width: var(--marker-size);
  height: var(--marker-size);
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.94);
  border-radius: 999px;
  background: rgba(0,59,113,.88);
  color: #fff;
  box-shadow: 0 5px 14px rgba(0,43,73,.28);
  text-decoration: none;
  pointer-events: auto;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.germany-state-marker-small { --marker-size: 30px; }
.germany-state-marker-medium { --marker-size: 36px; }
.germany-state-marker-large { --marker-size: 42px; }
.germany-state-marker-code {
  font-size: .72rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .01em;
}
.germany-state-marker-small .germany-state-marker-code { font-size: .61rem; }
.germany-state-marker-name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(0,43,73,.96);
  color: #fff;
  font-size: .72rem;
  line-height: 1.25;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,43,73,.24);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
}
.germany-state-marker:hover,
.germany-state-marker:focus-visible {
  background: var(--xylem-blue);
  box-shadow: 0 8px 22px rgba(0,83,137,.4), 0 0 0 5px rgba(99,216,255,.22);
  transform: translate(-50%, -50%) scale(1.12);
  outline: none;
}
.germany-state-marker:hover .germany-state-marker-name,
.germany-state-marker:focus-visible .germany-state-marker-name {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.germany-map-caption {
  position: relative;
  z-index: 2;
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
}
.germany-map-credit {
  position: relative;
  z-index: 2;
  margin: 6px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .66rem;
  opacity: .82;
}
.germany-map-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.regions-locations-block {
  margin-top: 42px;
  padding: 26px;
  border: 1px solid rgba(0,114,206,.12);
  border-radius: 28px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 48px rgba(0,65,110,.08);
}
.regions-locations-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 18px;
}
.regions-locations-heading strong { color: var(--text-dark); }
.regions-locations-heading span { color: var(--muted); font-size: .88rem; }
.region-cloud { gap: 10px; }
.region-cloud .region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 15px;
  color: var(--xylem-blue-dark);
  background: #fff;
  border: 1px solid rgba(0,114,206,.18);
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(0,65,110,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.region-cloud .region-pill:hover,
.region-cloud .region-pill:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(0,114,206,.4);
  box-shadow: 0 15px 34px rgba(0,65,110,.12);
}
.region-cloud .region-pill > span {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}
.region-pill-arrow { color: var(--xylem-blue) !important; }

.contact-region-context {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(0,163,224,.09);
  color: var(--xylem-blue-dark);
  font-size: .88rem;
}
.contact-region-context[hidden] { display: none; }
.contact-region-context strong { font-weight: 950; }
.contact-region-context button {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,114,206,.11);
  color: var(--xylem-blue-dark);
  font-size: 1.05rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links .menu-list { gap: 14px; }
  .nav-cta { padding-inline: 16px; }
}

@media (max-width: 980px) {
  .nav-links .menu-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-links .menu-item > a { width: 100%; padding: 8px 4px; }
  .nav-links .sub-menu {
    position: static;
    min-width: 0;
    margin: 0 0 5px 13px;
    padding: 2px 0 2px 12px;
    border: 0;
    border-left: 2px solid rgba(0,114,206,.15);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links .sub-menu a { padding: 7px 5px; white-space: normal; }
  .language-switcher { align-self: flex-start; margin-top: 4px; }
  .page-links-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regions-layout { grid-template-columns: 1fr; }
  .germany-map-card { max-width: 650px; margin-inline: auto; }
  .registration-layout { grid-template-columns: 1fr; }
  .registration-photo-stage { max-width: 680px; margin-top: 8px; }
}

@media (max-width: 640px) {
  .page-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .page-link-card-image-wrap { width: min(100%, 150px); }
  .page-link-card-description { max-width: 24ch; font-size: .9rem; }
  .registration-photo-grid { grid-template-columns: 1fr; }
  .registration-photo-card-1 { grid-column: auto; }
  .registration-photo-card .registration-photo-frame { aspect-ratio: 4 / 3; }
  .registration-photo-note { border-radius: 16px; }
  .germany-map-card { padding: 16px 10px 18px; border-radius: 26px; }
  .germany-map-card-head { padding-inline: 8px; }
  .germany-map-card-head strong { font-size: .68rem; }
  .germany-state-marker-small { --marker-size: 25px; }
  .germany-state-marker-medium { --marker-size: 30px; }
  .germany-state-marker-large { --marker-size: 34px; }
  .germany-state-marker { border-width: 1.5px; }
  .germany-state-marker-code { font-size: .62rem; }
  .germany-state-marker-small .germany-state-marker-code { font-size: .54rem; }
  .germany-state-marker-name { max-width: 155px; font-size: .66rem; }
  .regions-locations-block { padding: 18px; }
  .region-cloud .region-pill { width: 100%; justify-content: space-between; }
}

/* 2.2.0 — Details of Ignite is a separately movable homepage section. */
.ignite-details-header-section {
  padding-bottom: 32px;
  overflow: hidden;
}
.ignite-details-header-section .ignite-details-section-head {
  margin-bottom: 0;
}
.ignite-content-section {
  padding-top: 32px;
}


/* DLSO Germany 2.2.1 — standalone section pages.
   These pages reuse the exact homepage section partials while giving them a
   polished page context beneath the fixed navigation. */
.dlso-section-page {
  min-height: 70vh;
  padding-top: var(--header-height, 82px);
  background: var(--bg);
}

.dlso-section-page-bar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(0, 83, 137, .10);
  box-shadow: 0 12px 32px rgba(0, 65, 110, .05);
  backdrop-filter: blur(14px);
}

.dlso-section-page-bar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.dlso-section-page-bar-inner strong {
  color: var(--text-dark);
  font-weight: 900;
}

.dlso-section-page-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--xylem-blue-dark);
  transition: color .2s ease, transform .2s ease;
}

.dlso-section-page-home:hover,
.dlso-section-page-home:focus-visible {
  color: var(--xylem-blue);
  transform: translateX(-2px);
}

.dlso-section-page-divider {
  opacity: .35;
}

.dlso-section-page-editor-intro {
  padding: 46px 0 0;
}

.dlso-section-page-editor-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 48px rgba(0, 65, 110, .09);
}

.dlso-section-page > .section {
  scroll-margin-top: calc(var(--header-height, 82px) + 58px);
}

.dlso-section-page-editor-intro + .section {
  padding-top: 72px;
}

@media (max-width: 760px) {
  .dlso-section-page-bar-inner {
    min-height: 52px;
    font-size: .84rem;
  }
  .dlso-section-page-editor-intro {
    padding-top: 30px;
  }
}


/* DLSO Germany 2.2.3 — optional backgrounds for standalone section pages.
   Default mode changes nothing. These rules activate only after the site owner
   chooses Hero-style or Custom image for a dedicated page template. */
.dlso-section-page.has-template-background {
  background-color: var(--xylem-blue-dark, #003b71);
  background-attachment: scroll;
}

.dlso-section-page.has-template-background > .section,
.dlso-section-page.has-template-background > .dlso-section-page-editor-intro {
  background: transparent !important;
}

.dlso-section-page.has-template-background .dlso-section-page-bar {
  background: rgba(2, 36, 61, .48);
  border-bottom-color: rgba(255, 255, 255, .16);
  box-shadow: 0 12px 32px rgba(0, 20, 38, .16);
}

.dlso-section-page.has-template-background .dlso-section-page-bar-inner,
.dlso-section-page.has-template-background .dlso-section-page-bar-inner strong,
.dlso-section-page.has-template-background .dlso-section-page-home {
  color: #fff;
}

.dlso-section-page.has-template-background > .section .section-head > h2,
.dlso-section-page.has-template-background > .section .section-head > p,
.dlso-section-page.has-template-background > .section .section-head > .eyebrow,
.dlso-section-page.has-template-background > .section .registration-section-head > h2,
.dlso-section-page.has-template-background > .section .registration-section-head > p,
.dlso-section-page.has-template-background > .section .registration-section-head > .eyebrow {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 20, 38, .22);
}

.dlso-section-page.has-template-background > .section .section-head .highlight,
.dlso-section-page.has-template-background > .section .registration-section-head .highlight {
  color: var(--xylem-cyan-light, #63d8ff);
}

.dlso-section-page.has-template-background .dlso-section-page-editor-card {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
}

@media (min-width: 980px) {
  .dlso-section-page.template-background-image {
    background-attachment: fixed;
  }
}

/* ========================================================================
   DLSO Germany 2.3.0 — Training, Youth Guidance & Book Reading Club
   Editorial, adult visual language: restrained colour, strong typography,
   generous spacing and subtle motion rather than playful card decoration.
   ===================================================================== */
.dlso-program-page {
  --dlso-program-ink: #0d2b40;
  --dlso-program-muted: #607485;
  --dlso-program-line: rgba(12, 71, 108, .14);
  --dlso-program-surface: rgba(255,255,255,.94);
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 34%, #f3f8fb 100%);
}

.dlso-program-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) 0 clamp(58px, 7vw, 94px);
  background:
    radial-gradient(circle at 88% 12%, rgba(0,163,224,.14), transparent 29%),
    linear-gradient(118deg, #f8fcfe 0%, #eff8fc 60%, #e7f4fa 100%);
  border-bottom: 1px solid var(--dlso-program-line);
}
.dlso-program-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -48% 38%;
  height: 72%;
  border: 1px solid rgba(0,114,206,.10);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}
.dlso-program-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
}
.dlso-program-hero-copy { max-width: 850px; }
.dlso-program-hero-copy h1 {
  max-width: 14ch;
  margin: 0 0 24px;
  color: var(--dlso-program-ink);
  font-size: clamp(2.7rem, 5.7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}
.dlso-program-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--dlso-program-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.24rem);
  line-height: 1.8;
}
.dlso-program-hero-mark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: center;
  justify-items: stretch;
  color: rgba(0,83,137,.54);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .28em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.dlso-program-hero-mark-line { width: 1px; height: 54px; background: rgba(0,114,206,.28); }

.dlso-program-gallery-band {
  padding: 30px 0 0;
  background: #fff;
}
.dlso-program-gallery-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 17px;
  color: #607485;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.dlso-program-gallery-rule { height: 1px; flex: 1; background: rgba(0,83,137,.13); }
.dlso-program-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}
.dlso-program-gallery-frame {
  position: relative;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #dbeaf2;
  box-shadow: 0 18px 45px rgba(9, 53, 82, .10);
}
.dlso-program-gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .75s ease, transform 5.5s ease;
}
.dlso-program-gallery-image.is-active { opacity: 1; transform: scale(1); }

.dlso-training-programs-section { background: #fff; }
.dlso-training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.dlso-training-card {
  overflow: hidden;
  border: 1px solid var(--dlso-program-line);
  border-radius: 8px;
  background: var(--dlso-program-surface);
  box-shadow: 0 18px 45px rgba(7, 47, 74, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dlso-training-card:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(7, 47, 74, .12); }
.dlso-training-card-media {
  position: relative;
  min-height: 230px;
  background:
    linear-gradient(135deg, rgba(0,58,101,.98), rgba(0,137,185,.84)),
    radial-gradient(circle at 78% 20%, rgba(99,216,255,.36), transparent 30%);
  background-position: center;
  background-size: cover;
}
.dlso-training-card-media.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,28,49,.08), rgba(0,28,49,.62));
}
.dlso-training-card-index,
.dlso-training-card-label { position: absolute; z-index: 2; color: #fff; }
.dlso-training-card-index { top: 18px; left: 18px; font-size: .75rem; font-weight: 950; letter-spacing: .18em; }
.dlso-training-card-label {
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(0,30,52,.34);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dlso-training-card-body { padding: 27px 26px 30px; }
.dlso-training-card-body h3 { margin: 0 0 12px; color: var(--dlso-program-ink); font-size: 1.32rem; }
.dlso-training-card-body > p { margin: 0 0 20px; color: var(--dlso-program-muted); }
.dlso-training-detail-list { display: grid; gap: 9px; margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--dlso-program-line); }
.dlso-training-detail-list li { position: relative; padding-left: 17px; color: #385466; font-size: .89rem; font-weight: 700; }
.dlso-training-detail-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--xylem-cyan); }

.dlso-program-form-section {
  background:
    linear-gradient(120deg, rgba(0,45,76,.98), rgba(0,83,137,.97)),
    #003b71;
  color: #fff;
}
.dlso-program-form-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}
.dlso-program-form-copy { position: sticky; top: calc(var(--header-height, 82px) + 30px); }
.dlso-program-form-copy .eyebrow { color: #dff8ff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.dlso-program-form-copy h2 { margin: 12px 0 18px; color: #fff; font-size: clamp(2.2rem, 4vw, 3.9rem); line-height: 1.03; letter-spacing: -.04em; }
.dlso-program-form-copy > p { max-width: 520px; color: rgba(255,255,255,.76); font-size: 1.04rem; }
.dlso-program-form { border-radius: 10px; box-shadow: 0 35px 85px rgba(0,22,39,.28); }
.dlso-training-subchoice[hidden] { display: none; }

.dlso-youth-story-section { background: #fff; }
.dlso-youth-story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 8vw, 105px); align-items: start; }
.dlso-youth-story-copy h2 { max-width: 15ch; margin: 10px 0 20px; color: var(--dlso-program-ink); font-size: clamp(2.15rem, 4.3vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; }
.dlso-youth-story-copy p { max-width: 640px; color: var(--dlso-program-muted); font-size: 1.04rem; line-height: 1.8; }
.dlso-youth-feature-list { border-top: 1px solid var(--dlso-program-line); }
.dlso-youth-feature { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--dlso-program-line); }
.dlso-youth-feature > span { color: var(--xylem-blue); font-size: .72rem; font-weight: 950; letter-spacing: .16em; }
.dlso-youth-feature h3 { margin: 0 0 7px; color: var(--dlso-program-ink); font-size: 1.12rem; }
.dlso-youth-feature p { margin: 0; color: var(--dlso-program-muted); }
.dlso-safety-note { margin-top: 30px; padding: 20px 22px; border-left: 3px solid var(--xylem-cyan); background: rgba(255,255,255,.08); }
.dlso-safety-note strong { display: block; margin-bottom: 5px; color: #fff; }
.dlso-safety-note p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; }

.dlso-book-feature-section { background: #fff; }
.dlso-book-editorial-grid { display: grid; grid-template-columns: minmax(260px, .72fr) 1.28fr; gap: clamp(44px, 8vw, 110px); align-items: center; }
.dlso-book-cover-column { max-width: 410px; }
.dlso-book-cover-shell { position: relative; padding: 18px; background: #eff5f8; border: 1px solid rgba(0,83,137,.10); box-shadow: 0 30px 70px rgba(7,47,74,.13); }
.dlso-book-cover-shell::before { content: ""; position: absolute; inset: 9px -13px -13px 13px; z-index: -1; border: 1px solid rgba(0,83,137,.13); }
.dlso-book-cover-shell img { aspect-ratio: 2 / 3; object-fit: cover; }
.dlso-book-cover-placeholder { display: grid; place-items: center; aspect-ratio: 2 / 3; background: linear-gradient(145deg, #003b71, #0072ce); color: #fff; font-size: .8rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.dlso-book-edition { margin-top: 24px; color: #607485; font-size: .78rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.dlso-book-copy-column h2 { max-width: 12ch; margin: 10px 0 12px; color: var(--dlso-program-ink); font-size: clamp(2.7rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.dlso-book-author { margin: 0 0 28px; color: #52697a; font-size: 1.05rem; }
.dlso-book-description { color: #4d6577; font-size: 1.02rem; line-height: 1.82; }
.dlso-book-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 32px; border-top: 1px solid var(--dlso-program-line); border-left: 1px solid var(--dlso-program-line); }
.dlso-book-detail-grid > div { padding: 15px 16px; border-right: 1px solid var(--dlso-program-line); border-bottom: 1px solid var(--dlso-program-line); color: #385466; font-size: .87rem; font-weight: 750; }
.dlso-book-gains-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; margin-top: 82px; padding: clamp(30px, 5vw, 54px); background: #f1f7fa; border-left: 4px solid var(--xylem-blue); }
.dlso-book-gains-panel h3 { margin: 8px 0 0; color: var(--dlso-program-ink); font-size: clamp(1.7rem,3vw,2.7rem); line-height: 1.08; }
.dlso-book-gains-panel ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dlso-book-gains-panel li { position: relative; padding: 0 0 14px 24px; border-bottom: 1px solid rgba(0,83,137,.10); color: #385466; }
.dlso-book-gains-panel li::before { content: "→"; position: absolute; left: 0; color: var(--xylem-blue); font-weight: 900; }
.dlso-book-empty { max-width: 850px; padding: 60px 0; }
.dlso-book-empty h2 { max-width: 16ch; margin: 12px 0 0; color: var(--dlso-program-ink); font-size: clamp(2.4rem,5vw,4.5rem); line-height: 1.04; }


.dlso-book-history-toolbar { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin: 0 0 58px; padding: 20px 0 24px; border-bottom: 1px solid var(--dlso-program-line); }
.dlso-book-history-toolbar > div { max-width: 620px; }
.dlso-book-history-toolbar .eyebrow { margin-bottom: 8px; }
.dlso-book-history-toolbar p { margin: 0; color: #617787; }
.dlso-book-history-toolbar .btn { flex: 0 0 auto; }

.dlso-book-archive-section { position: relative; overflow: hidden; background: #f4f8fa; }
.dlso-book-archive-section::before { content: ""; position: absolute; width: 430px; height: 430px; right: -210px; top: -230px; border: 1px solid rgba(0,83,137,.10); border-radius: 50%; pointer-events: none; }
.dlso-book-archive-head { max-width: 760px; margin-bottom: 46px; }
.dlso-book-archive-head h2 { margin: 10px 0 14px; color: var(--dlso-program-ink); font-size: clamp(2.25rem,4.2vw,4rem); line-height: 1.02; letter-spacing: -.045em; }
.dlso-book-archive-head p { max-width: 650px; margin: 0; color: #607485; line-height: 1.75; }
.dlso-book-archive-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(22px,3vw,38px); }
.dlso-book-archive-card { min-width: 0; }
.dlso-book-archive-card > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.dlso-book-archive-cover { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #e7eef2; border: 1px solid rgba(0,83,137,.12); box-shadow: 0 20px 44px rgba(7,47,74,.10); }
.dlso-book-archive-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dlso-book-archive-cover .dlso-book-cover-placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.dlso-book-archive-arrow { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--xylem-blue-dark); font-size: 1.05rem; font-weight: 900; box-shadow: 0 10px 28px rgba(0,43,73,.18); transition: transform .25s ease, background .25s ease, color .25s ease; }
.dlso-book-archive-copy { padding: 20px 2px 4px; }
.dlso-book-archive-edition { display: block; margin-bottom: 9px; color: #6b8190; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dlso-book-archive-copy h3 { margin: 0 0 8px; color: var(--dlso-program-ink); font-size: clamp(1.2rem,1.7vw,1.55rem); line-height: 1.15; letter-spacing: -.025em; }
.dlso-book-archive-copy p { margin: 0 0 14px; color: #617787; font-size: .9rem; }
.dlso-book-archive-link { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid rgba(0,114,206,.35); color: var(--xylem-blue-dark); font-size: .78rem; font-weight: 900; letter-spacing: .055em; text-transform: uppercase; }
.dlso-book-archive-card:hover .dlso-book-archive-cover img { transform: scale(1.035); }
.dlso-book-archive-card:hover .dlso-book-archive-arrow { transform: translate(2px,-2px); background: var(--xylem-blue); color: #fff; }
.dlso-book-archive-card.is-active .dlso-book-archive-cover { outline: 3px solid rgba(0,114,206,.32); outline-offset: 4px; }
.dlso-book-archive-card.is-active .dlso-book-archive-link { color: var(--xylem-blue); }

.dlso-book-subscribe-section { background: #eaf4f8; }
.dlso-book-subscribe-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(40px,7vw,90px); align-items: center; }
.dlso-book-subscribe-grid h2 { margin: 12px 0 16px; color: var(--dlso-program-ink); font-size: clamp(2.15rem,4vw,3.7rem); line-height: 1.04; letter-spacing: -.04em; }
.dlso-book-subscribe-grid > div > p { max-width: 560px; color: #607485; }
.dlso-book-subscribe-form { border-radius: 10px; }

.dlso-book-comments-section { background: #fff; }
.dlso-book-comments-wrap { max-width: 900px; }
.dlso-book-comment-list { margin: 0 0 42px; padding: 0; list-style: none; }
.dlso-book-comment-list .comment { margin: 0 0 18px; padding: 24px; border: 1px solid var(--dlso-program-line); background: #fbfdfe; }
.dlso-book-comment-list .comment-meta { font-size: .82rem; color: #667d8d; }
.dlso-book-comment-list .comment-author { display: flex; gap: 10px; align-items: center; color: var(--dlso-program-ink); font-weight: 850; }
.dlso-book-comment-list .comment-author img { width: 42px; height: 42px; border-radius: 50%; }
.dlso-book-comment-list .comment-content { margin-top: 14px; color: #4e6576; }
.dlso-book-comment-form { padding-top: 10px; }
.dlso-book-comment-form .comment-reply-title { color: var(--dlso-program-ink); font-size: 1.7rem; }
.dlso-book-comment-form .comment-form { display: grid; gap: 14px; }
.dlso-book-comment-form .form-submit input { width: auto; cursor: pointer; border: 0; background: var(--xylem-blue); color: #fff; font-weight: 900; }

.dlso-program-page.has-template-background .dlso-program-hero,
.dlso-program-page.has-template-background .dlso-program-gallery-band,
.dlso-program-page.has-template-background .dlso-training-programs-section,
.dlso-program-page.has-template-background .dlso-youth-story-section,
.dlso-program-page.has-template-background .dlso-book-feature-section,
.dlso-program-page.has-template-background .dlso-book-archive-section,
.dlso-program-page.has-template-background .dlso-book-subscribe-section,
.dlso-program-page.has-template-background .dlso-book-comments-section { background: transparent; }
.dlso-program-page.has-template-background .dlso-program-hero-copy h1,
.dlso-program-page.has-template-background .dlso-program-hero-copy > p,
.dlso-program-page.has-template-background .dlso-training-programs-section .section-head h2,
.dlso-program-page.has-template-background .dlso-training-programs-section .section-head p,
.dlso-program-page.has-template-background .dlso-youth-story-copy h2,
.dlso-program-page.has-template-background .dlso-youth-story-copy p,
.dlso-program-page.has-template-background .dlso-book-copy-column h2,
.dlso-program-page.has-template-background .dlso-book-copy-column .dlso-book-author,
.dlso-program-page.has-template-background .dlso-book-copy-column .dlso-book-description,
.dlso-program-page.has-template-background .dlso-book-history-toolbar p,
.dlso-program-page.has-template-background .dlso-book-archive-head h2,
.dlso-program-page.has-template-background .dlso-book-archive-head p,
.dlso-program-page.has-template-background .dlso-book-subscribe-grid h2,
.dlso-program-page.has-template-background .dlso-book-subscribe-grid > div > p,
.dlso-program-page.has-template-background .dlso-book-comments-section .section-head h2,
.dlso-program-page.has-template-background .dlso-book-comments-section .section-head p { color: #fff; text-shadow: 0 2px 18px rgba(0,20,38,.22); }
.dlso-program-page.has-template-background .dlso-program-gallery-heading { color: rgba(255,255,255,.78); }
.dlso-program-page.has-template-background .dlso-program-gallery-rule { background: rgba(255,255,255,.24); }

@media (max-width: 980px) {
  .dlso-program-hero-grid { grid-template-columns: 1fr; }
  .dlso-program-hero-mark { display: none; }
  .dlso-program-gallery-frame { min-height: 220px; }
  .dlso-training-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dlso-program-form-layout,
  .dlso-youth-story-grid,
  .dlso-book-editorial-grid,
  .dlso-book-subscribe-grid { grid-template-columns: 1fr; }
  .dlso-program-form-copy { position: static; }
  .dlso-book-cover-column { max-width: 360px; }
  .dlso-book-gains-panel { grid-template-columns: 1fr; gap: 24px; }
  .dlso-book-archive-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .dlso-program-hero { padding-top: 62px; }
  .dlso-program-hero-copy h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .dlso-program-gallery { grid-template-columns: 1fr; }
  .dlso-program-gallery-frame { display: none; aspect-ratio: 16 / 10; min-height: 0; }
  .dlso-program-gallery-frame:first-child { display: block; }
  .dlso-training-grid { grid-template-columns: 1fr; }
  .dlso-training-card-media { min-height: 210px; }
  .dlso-book-detail-grid { grid-template-columns: 1fr; }
  .dlso-book-gains-panel { margin-top: 52px; }
  .dlso-book-history-toolbar { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .dlso-book-archive-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px 18px; }
  .dlso-program-form .two { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dlso-program-gallery-image { transition: none; transform: none !important; }
  .dlso-training-card { transition: none; }
  .dlso-book-archive-cover img,
  .dlso-book-archive-arrow { transition: none; }
}

/* Dark custom-background readability for the new editorial pages. */
.dlso-program-page.has-template-background .dlso-youth-feature h3,
.dlso-program-page.has-template-background .dlso-youth-feature p,
.dlso-program-page.has-template-background .dlso-youth-feature > span,
.dlso-program-page.has-template-background .dlso-book-edition,
.dlso-program-page.has-template-background .dlso-book-detail-grid > div,
.dlso-program-page.has-template-background .dlso-book-comment-form .comment-reply-title {
  color: #fff;
}
.dlso-program-page.has-template-background .dlso-youth-feature-list,
.dlso-program-page.has-template-background .dlso-youth-feature,
.dlso-program-page.has-template-background .dlso-book-detail-grid,
.dlso-program-page.has-template-background .dlso-book-detail-grid > div {
  border-color: rgba(255,255,255,.22);
}


/* 2.3.1 Book Club archive contrast on custom/hero backgrounds. */
.dlso-program-page.has-template-background .dlso-book-history-toolbar { border-color: rgba(255,255,255,.22); }
.dlso-program-page.has-template-background .dlso-book-archive-section::before { border-color: rgba(255,255,255,.16); }
.dlso-program-page.has-template-background .dlso-book-archive-edition,
.dlso-program-page.has-template-background .dlso-book-archive-copy h3,
.dlso-program-page.has-template-background .dlso-book-archive-copy p,
.dlso-program-page.has-template-background .dlso-book-archive-link { color: #fff; }
.dlso-program-page.has-template-background .dlso-book-archive-link { border-color: rgba(255,255,255,.42); }
.dlso-program-page.has-template-background .dlso-book-archive-cover { border-color: rgba(255,255,255,.20); box-shadow: 0 24px 52px rgba(0,20,38,.28); }

@media (max-width: 460px) {
  .dlso-book-archive-grid { grid-template-columns: 1fr; }
  .dlso-book-archive-card { max-width: 330px; }
}
