/* Separate scoped landing styling: does not change regular Kandinsky pages. */
/* Background and typography are scoped to the landing; theme header/footer stay unchanged. */
.myzh-page, .myzh-page button, .myzh-page input { font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.myzh-page, .myzh-page * { box-sizing: border-box; }
.myzh-page { color: #163d57; }
.myzh-page a { text-decoration: none; }
.myzh-hero { position: relative; min-height: 900px; overflow: hidden; isolation: isolate; background: linear-gradient(130deg,#d0e9fc 0%,#c6e4fa 31%,#eaf7fc 90%); }
.myzh-hero-bg { position: absolute; inset: 0; pointer-events:none; background: radial-gradient(circle at 85% 30%,rgba(255,255,255,.64),transparent 50%), radial-gradient(circle at 15% 80%, rgba(133,196,245,.25),transparent 42%); z-index:-1; }
.myzh-site-header { position: relative; z-index: 10; width: min(1320px,calc(100% - 80px)); height: 88px; padding: 0 36px; margin: 24px auto 0; display: flex; align-items:center; justify-content:space-between; gap: 28px; background:rgba(255,255,255,.88); border-radius:24px; }
.myzh-brand { display:flex; align-items:center; gap:14px; min-width: 240px; }
.myzh-brand .custom-logo-link { flex:none; }
.myzh-brand .custom-logo { display:block; width:65px; height:65px; object-fit:contain; }
.myzh-brand-copy { display:flex; flex-direction:column; gap:0; line-height:1.25; }
.myzh-brand-copy strong { color:#163d57; font-size:22px; font-weight:750; }
.myzh-brand-copy span { color:#6f8ea4; font-size:9px; letter-spacing:.11em; }
.myzh-navigation { display:flex; justify-content:center; align-items:center; gap:30px; }
.myzh-navigation a { font-size:14px; color:#163d57; white-space:nowrap; }
.myzh-navigation a:hover { color:#287ceb; }
.myzh-header-button { display:flex; justify-content:center; align-items:center; gap:12px; color:#163d57; background:#d7ecff; border-radius:40px; padding: 14px 26px; font-size:14px; white-space:nowrap; }
.myzh-header-button span { color:#287ceb; font-size:20px; }
.myzh-hero-inner { position:relative; z-index:2; width:min(1200px,calc(100% - 80px)); margin:0 auto; padding-top: 110px; display:grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap:30px; align-items:center; }
.myzh-hero-copy { position:relative; z-index:4; }
.myzh-kicker { color:#4b94d4; font-size:11px; letter-spacing:.2em; font-weight:700; margin:0 0 38px; }
.myzh-hero h1 { margin:0 0 25px; color:#163d57; font-size:clamp(35px,4vw,56px); line-height:1.1; font-weight:800; letter-spacing:-.045em; }
.myzh-hero h1 span { display:block; white-space:nowrap; }
.myzh-hero h1 .myzh-accent { color:#287ceb; }
.myzh-lead { max-width:540px; color:#557a96; font-size:20px; line-height:1.5; margin:0 0 34px; }
.myzh-primary-button { width:440px; max-width:100%; min-height:72px; padding:18px 32px; display:flex; align-items:center; justify-content:space-between; gap:22px; color:#fff; border-radius:40px; background:#287ceb; font-size:17px; font-weight:650; box-shadow:0 8px 25px rgba(40,124,235,.13); transition:background .25s,transform .25s; }
.myzh-primary-button:hover, .myzh-primary-button:focus-visible { background:#1a68d0; transform:translateY(-2px); color:#fff; }
.myzh-primary-button span:last-child { font-size:27px; font-weight:400; }
.myzh-scroll { display:flex; align-items:center; gap:15px; margin-top:35px; color:#557a96; font-size:15px; line-height:1.4; }
.myzh-scroll:hover {color:#163d57;}
.myzh-scroll-icon { width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.73); display:grid; place-items:center; font-size:24px; }
.myzh-hero-art { position:relative; width:min(100%,570px); aspect-ratio:1; }
.myzh-photo-ring {position:absolute; inset:-26px; border-radius:50%; background:rgba(255,255,255,.29); border:1px solid rgba(255,255,255,.35);}
.myzh-hero-photo {position:relative; z-index:1; display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; }
.myzh-seed, .myzh-wave {position:absolute; pointer-events:none; user-select:none; }
.myzh-wave { width:min(940px,70vw); height:auto; bottom:50px; right:-4%; opacity:.7; z-index:0; }
.myzh-wave-2 {bottom:27px; opacity:.35;}
.myzh-seed { width:95px; height:auto; opacity:.78; z-index:3; animation:myzh-float 9s ease-in-out infinite; }
.myzh-seed-1 {top:155px; right:23%; transform:rotate(-16deg); }
.myzh-seed-2 {top:220px; right:2%; width:70px; animation-delay:-2s; }
.myzh-seed-3 {bottom:150px; right:45%; width:80px; animation-delay:-4s; }
@keyframes myzh-float {0%,100% {translate:0 0;}50% {translate:7px -13px;}}
.myzh-next {background:#f8fcff; padding:110px 0 130px;}
.myzh-section-inner {width:min(1200px,calc(100% - 80px)); margin:0 auto;}
.myzh-next h2, .myzh-donation-placeholder h2 {font-size:clamp(32px,3.8vw,56px); font-weight:800; line-height:1.15; margin:0 0 55px;}
.myzh-next p {max-width:1000px; font-size:18px; line-height:1.7; margin:0 0 30px;}
.myzh-next strong {color:#287ceb;}
.myzh-collage {display:block; width:100%; height:auto; margin:50px 0 8px;}
.myzh-collage-caption {font-size:14px; color:#557a96;}
.myzh-donation-placeholder {padding:95px 0 120px; background:#eaf7fc;}
.myzh-donation-placeholder p {font-size:21px; color:#557a96;}
.myzh-notice {margin-top:32px; padding:24px; border:1px dashed #80b7d8; border-radius:16px; color:#557a96; background:#fff; max-width:700px; line-height:1.6;}
@media (max-width: 1020px) {
  .myzh-hero-inner {grid-template-columns: 1fr 1fr; padding-top:100px;}
  .myzh-hero h1 {font-size:clamp(32px,4.25vw,48px);}
  .myzh-navigation {display:none;}
  .myzh-site-header {padding:0 26px;}
  .myzh-hero-art {max-width:510px;}
  .myzh-lead {font-size:18px;}
}
@media (max-width: 760px) {
  .myzh-hero { min-height:auto; padding-bottom:95px; }
  .myzh-site-header {height:72px; width:calc(100% - 32px); margin-top:16px; padding:0 16px; border-radius:18px;}
  .myzh-brand {min-width:0; gap:8px;}
  .myzh-brand-copy strong {font-size:17px;}
  .myzh-brand-copy span {font-size:7px;}
  .myzh-brand .custom-logo {width:43px; height:43px;}
  .myzh-header-button {padding:11px 16px; font-size:12px;}
  .myzh-hero-inner {display:flex; flex-direction:column; align-items:stretch; width:calc(100% - 44px); gap:48px; padding-top:70px;}
  .myzh-kicker {font-size:9px; margin-bottom:22px;}
  .myzh-hero h1 {font-size:clamp(30px,7.6vw,54px); line-height:1.13; letter-spacing:-.045em;}
  .myzh-hero h1 span {white-space:normal; overflow-wrap:anywhere;}
  .myzh-lead {font-size:17px;}
  .myzh-primary-button {width:100%; min-height:62px; padding:15px 22px; font-size:15px;}
  .myzh-hero-art {width:min(90%,480px); align-self:center;}
  .myzh-photo-ring {inset:-16px;}
  .myzh-seed-1 {top:auto; bottom:370px; right:10%; width:64px;}
  .myzh-seed-2 {top:auto; bottom:230px; width:55px;}
  .myzh-seed-3 {bottom:90px; left:10%; width:60px;}
  .myzh-wave {width:110%; right:-15%; bottom:24px;}
  .myzh-wave-2 {bottom:5px;}
  .myzh-next, .myzh-donation-placeholder {padding:75px 0;}
  .myzh-section-inner {width:calc(100% - 44px);}
  .myzh-next h2,.myzh-donation-placeholder h2 {font-size:33px; margin-bottom:25px;}
  .myzh-next p {font-size:16px;}
}
@media (prefers-reduced-motion:reduce) { .myzh-seed, .myzh-page *, .myzh-page *::before, .myzh-page *::after {animation:none!important; transition:none!important; scroll-behavior:auto!important;} }


/* =============================================================
   Animations v1 — hero only. Does not affect theme's header,
   footer, payment form, or other WordPress pages.
   ============================================================= */

/* Donation CTA: smooth color, lift and arrow movement. */
.myzh-primary-button {
  transition: background-color .36s ease, box-shadow .36s ease, transform .36s ease;
}
.myzh-primary-button:hover,
.myzh-primary-button:focus-visible {
  background-color: #146ad8;
  box-shadow: 0 13px 34px rgba(20, 106, 216, .24);
  transform: translateY(-3px);
}
.myzh-primary-button:focus-visible {
  outline: 3px solid #163d57;
  outline-offset: 4px;
}
.myzh-primary-button span:last-child {
  display: inline-block;
  transition: transform .36s ease;
}
.myzh-primary-button:hover span:last-child,
.myzh-primary-button:focus-visible span:last-child {
  transform: translateX(7px);
}

/* Wave images already exist in page-superhero.php. Move them very slowly. */
.myzh-wave {
  transform-origin: center;
  animation: myzh-wave-breathe 8.5s ease-in-out infinite;
  will-change: transform;
}
.myzh-wave-2 {
  animation-duration: 11.5s;
  animation-delay: -3.8s;
  animation-direction: alternate-reverse;
}
@keyframes myzh-wave-breathe {
  0%, 100% { transform: translate3d(0, 0, 0) scaleX(1); }
  50%      { transform: translate3d(-22px, -8px, 0) scaleX(1.025); }
}

/* Each dandelion seed falls on its own diagonal path, then invisibly resets. */
.myzh-seed {
  opacity: 0;
  animation-name: myzh-seed-fall;
  animation-timing-function: linear;
  animation-duration: var(--seed-duration, 15s);
  animation-delay: var(--seed-delay, 0s);
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
.myzh-seed-1 {
  --seed-duration: 14s;
  --seed-delay: -3.5s;
  --seed-fall: 390px;
  --seed-drift: -90px;
  --seed-start-rotate: -25deg;
  --seed-end-rotate: 35deg;
}
.myzh-seed-2 {
  --seed-duration: 17s;
  --seed-delay: -8.5s;
  --seed-fall: 470px;
  --seed-drift: -160px;
  --seed-start-rotate: 12deg;
  --seed-end-rotate: 83deg;
}
.myzh-seed-3 {
  --seed-duration: 12.5s;
  --seed-delay: -5.5s;
  --seed-fall: 250px;
  --seed-drift: -105px;
  --seed-start-rotate: -35deg;
  --seed-end-rotate: 25deg;
}
@keyframes myzh-seed-fall {
  0% {
    opacity: 0;
    transform: translate3d(18px, -75px, 0) rotate(var(--seed-start-rotate));
  }
  13% { opacity: .75; }
  82% { opacity: .75; }
  100% {
    opacity: 0;
    transform: translate3d(var(--seed-drift), var(--seed-fall), 0) rotate(var(--seed-end-rotate));
  }
}

/* Accessibility: honor reduced motion and preserve a static composition. */
@media (prefers-reduced-motion: reduce) {
  .myzh-wave,
  .myzh-seed { animation: none !important; will-change: auto; }
  .myzh-seed { opacity: .72; }
  .myzh-primary-button,
  .myzh-primary-button span:last-child { transition: none !important; }
  .myzh-primary-button:hover,
  .myzh-primary-button:focus-visible { transform: none; }
  .myzh-primary-button:hover span:last-child,
  .myzh-primary-button:focus-visible span:last-child { transform: none; }
}

/* =============================================================
   Contrast adjustment v2 — decorative SVG on pale-blue hero.
   The underlying files are white SVGs; CSS filters tint them
   to a soft ocean blue without altering the images or PHP.
   Scoped to hero decor: theme header/footer and forms untouched.
   ============================================================= */
.myzh-hero .myzh-wave {
  /* soft blue contours instead of nearly invisible white */
  filter: brightness(0) saturate(100%) invert(50%) sepia(33%) saturate(1013%) hue-rotate(163deg) brightness(96%) contrast(91%);
}
.myzh-hero .myzh-wave-1 {
  opacity: .78;
}
.myzh-hero .myzh-wave-2 {
  opacity: .48;
}
.myzh-hero .myzh-seed {
  /* blue silhouette with a subtle white halo: visible on both light blue and white */
  filter: brightness(0) saturate(100%) invert(44%) sepia(38%) saturate(1184%) hue-rotate(169deg) brightness(98%) contrast(91%) drop-shadow(0 0 1.5px rgba(255,255,255,.7));
}


/* ===========================================================
   Section 02: "ЗАЧЕМ СПАСАТЬ ЖИЗНИ" (Figma desktop + mobile)
   Overrides only the second landing section. Keeps the hero
   animations and Kandinsky header/footer unchanged.
   =========================================================== */
.myzh-page .myzh-next {
  background: #f8fcff;
  padding: 112px 0 132px;
}
.myzh-page .myzh-next h2 {
  color: #163d57;
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
  max-width: 1100px;
  margin: 0 0 54px;
}
.myzh-page .myzh-next .myzh-about-intro,
.myzh-page .myzh-next .myzh-about-detail {
  color: #163d57;
  margin-top: 0;
  font-weight: 400;
}
.myzh-page .myzh-next .myzh-about-intro {
  max-width: 1000px;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.myzh-page .myzh-next .myzh-about-detail {
  max-width: 940px;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 46px;
}
.myzh-page .myzh-next .myzh-about-detail strong {
  color: #287ceb;
  font-weight: 700;
}
.myzh-page .myzh-next .myzh-about-callout {
  width: 100%;
  padding: 28px 32px 34px;
  background: #e7f5fc;
  border-radius: 20px;
  margin: 0 0 58px;
}
.myzh-page .myzh-next .myzh-about-callout::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #287ceb;
  border-radius: 5px;
  margin: 0 0 18px;
}
.myzh-page .myzh-next .myzh-about-callout p {
  max-width: 1100px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #163d57;
}
.myzh-page .myzh-next .myzh-collage-figure {
  margin: 0;
  padding: 0;
  width: 100%;
}
.myzh-page .myzh-next .myzh-collage {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}
.myzh-page .myzh-next .myzh-collage-caption {
  display: block;
  font-size: 14px;
  color: #557a96;
  line-height: 1.5;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .myzh-page .myzh-next { padding: 74px 0 90px; }
  .myzh-page .myzh-next h2 {
    font-size: clamp(31px, 7.6vw, 42px);
    line-height: 1.16;
    margin-bottom: 27px;
  }
  .myzh-page .myzh-next .myzh-about-intro,
  .myzh-page .myzh-next .myzh-about-detail {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
  }
  .myzh-page .myzh-next .myzh-about-intro { margin-bottom: 24px; }
  .myzh-page .myzh-next .myzh-about-detail { margin-bottom: 30px; }
  .myzh-page .myzh-next .myzh-about-callout {
    padding: 24px 22px 26px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
  .myzh-page .myzh-next .myzh-about-callout p {
    font-size: 17px;
    line-height: 1.55;
  }
  .myzh-page .myzh-next .myzh-collage-caption { font-size: 13px; margin-top: 8px; }
}

/* ============================================================
   Section 03: stats on scroll (Figma: 40 / 20 / 20)
   Scoped to .myzh-page so Kandinsky theme is not affected.
   ============================================================ */
.myzh-page .myzh-stats {
  background: #ddf0fb;
  padding: 98px 0 112px;
  min-height: 600px;
}
.myzh-page .myzh-stats h2 {
  color: #163d57;
  font-size: clamp(35px, 3.9vw, 56px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0 0 88px;
}
.myzh-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 70px;
}
.myzh-stat { min-width: 0; }
.myzh-stat-number {
  color: #287ceb;
  font-size: clamp(78px, 7.8vw, 112px);
  font-weight: 800;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin: 0 0 26px;
}
.myzh-stat-divider {
  height: 1px;
  width: 100%;
  background: #a9d4ea;
  margin: 0 0 20px;
}
.myzh-stat-label {
  color: #163d57;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}
.myzh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Only apply hidden/reveal state once JS initialized successfully. */
.myzh-stats.myzh-stats--js .myzh-stat {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.myzh-stats.myzh-stats--visible .myzh-stat {
  opacity: 1;
  transform: translateY(0);
}
.myzh-stats.myzh-stats--visible .myzh-stat:nth-child(2) {transition-delay: .10s;}
.myzh-stats.myzh-stats--visible .myzh-stat:nth-child(3) {transition-delay: .20s;}
@media (max-width: 1020px) {
  .myzh-stats-grid {column-gap: 32px;}
  .myzh-page .myzh-stats {min-height: 540px;}
  .myzh-page .myzh-stats h2 {margin-bottom: 72px;}
  .myzh-stat-label {font-size: 18px;}
}
@media (max-width: 760px) {
  .myzh-page .myzh-stats {min-height: 0; padding: 74px 0 86px;}
  .myzh-page .myzh-stats h2 {
    font-size: clamp(31px, 7.6vw, 42px);
    margin-bottom: 52px;
    line-height: 1.16;
  }
  .myzh-stats-grid {grid-template-columns: 1fr; row-gap: 45px;}
  .myzh-stat-number {font-size: clamp(72px, 17vw, 100px); margin-bottom: 16px;}
  .myzh-stat-divider {margin-bottom: 14px;}
  .myzh-stat-label {font-size: 18px;}
}
@media (prefers-reduced-motion: reduce) {
  .myzh-stats.myzh-stats--js .myzh-stat {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   Section 04 — donation card design preview (no payment logic).
   Scoped to landing only. No changes to parent Kandinsky theme,
   header, footer, Leyka or earlier sections.
   ============================================================ */
.myzh-page .myzh-donation-placeholder {
  background: #eaf7fc;
  min-height: 950px;
  padding: 105px 0;
}
.myzh-page .myzh-donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 580px);
  justify-content: space-between;
  align-items: start;
  gap: 72px;
}
.myzh-page .myzh-donation-copy { padding-top: 35px; }
.myzh-page .myzh-donation-copy h2 {
  color: #163d57;
  font-size: clamp(35px, 3.9vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 42px;
}
.myzh-page .myzh-donation-copy p {
  font-size: 22px;
  line-height: 1.5;
  color: #456a85;
  font-weight: 500;
  margin: 0;
  max-width: 500px;
}
.myzh-page .myzh-donation-preview {
  width: 100%;
  min-width: 0;
  min-height: 740px;
  padding: 36px 32px 34px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(22,61,87,.06);
}
.myzh-page .myzh-preview-heading {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  color: #163d57;
  margin-bottom: 12px;
}
.myzh-page .myzh-donation-preview .myzh-preview-intro {
  max-width: 100%;
  color: #557a96;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 36px;
}
.myzh-page .myzh-preview-amount-group {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.myzh-page .myzh-preview-amount-group legend,
.myzh-page .myzh-preview-field label {
  display: block;
  padding: 0;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #163d57;
}
.myzh-page .myzh-preview-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.myzh-page .myzh-preview-amount {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.myzh-page .myzh-preview-amount input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.myzh-page .myzh-preview-amount span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px;
  border: 1px solid #dce8f0;
  border-radius: 12px;
  background: #f7fbfe;
  color: #163d57;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.myzh-page .myzh-preview-amount input:checked + span {
  border: 2px solid #287ceb;
  background: #eaf3ff;
  color: #287ceb;
}
.myzh-page .myzh-preview-amount input:focus-visible + span {
  outline: 3px solid #163d57;
  outline-offset: 3px;
}
.myzh-page .myzh-preview-amount:hover span { border-color: #287ceb; }
.myzh-page .myzh-preview-field { margin: 0 0 20px; }
.myzh-page .myzh-preview-field > input,
.myzh-page .myzh-preview-money-wrap {
  display: block;
  width: 100%;
  min-height: 56px;
  border: 1px solid #c7dce9;
  border-radius: 12px;
  background: #f7fbfe;
}
.myzh-page .myzh-preview-field > input,
.myzh-page .myzh-preview-money-wrap input {
  padding: 14px 20px;
  color: #163d57;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}
.myzh-page .myzh-preview-field input::placeholder { color: #8b9ead; opacity: 1; }
.myzh-page .myzh-preview-field input:focus-visible {
  outline: 2px solid #287ceb;
  outline-offset: 2px;
}
.myzh-page .myzh-preview-money-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 20px;
}
.myzh-page .myzh-preview-money-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding-right: 4px;
  outline: 0;
}
.myzh-page .myzh-preview-money-wrap:focus-within {
  border-color: #287ceb;
  box-shadow: 0 0 0 2px rgba(40,124,235,.1);
}
.myzh-page .myzh-preview-money-wrap > span { color: #557a96; font-size: 17px; }
.myzh-page .myzh-donation-preview .myzh-preview-disclaimer {
  margin: 33px 0 0;
  color: #6b8599;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 1020px) {
  .myzh-page .myzh-donation-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 34px;
  }
  .myzh-page .myzh-donation-preview { padding: 30px 26px; }
  .myzh-page .myzh-donation-copy h2 { font-size: clamp(32px, 4.3vw, 44px); }
  .myzh-page .myzh-donation-copy p { font-size: 19px; }
}
@media (max-width: 760px) {
  .myzh-page .myzh-donation-placeholder {
    min-height: 0;
    padding: 75px 0 90px;
  }
  .myzh-page .myzh-donation-layout { display: block; }
  .myzh-page .myzh-donation-copy { padding: 0; margin-bottom: 35px; }
  .myzh-page .myzh-donation-copy h2 {
    font-size: clamp(31px, 7.6vw, 42px);
    line-height: 1.16;
    margin-bottom: 24px;
  }
  .myzh-page .myzh-donation-copy p { font-size: 18px; }
  .myzh-page .myzh-donation-preview {
    min-height: 0;
    padding: 28px 22px 32px;
    border-radius: 20px;
  }
  .myzh-page .myzh-preview-heading { font-size: 24px; }
  .myzh-page .myzh-donation-preview .myzh-preview-intro { margin-bottom: 26px; }
  .myzh-page .myzh-preview-amount span { font-size: 16px; min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .myzh-page .myzh-preview-amount span { transition: none; }
}


/* ============================================================
   Section 05: eight real testimonials / accessible infinite carousel
   All rules are scoped to the standalone landing page only.
   ============================================================ */
.myzh-page .myzh-testimonials {
  background: #f8fcff;
  padding: 120px 0 118px;
  overflow: hidden;
}
.myzh-page .myzh-testimonials h2 {
  color: #163d57;
  font-size: clamp(35px, 3.65vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.026em;
  max-width: 1100px;
  margin: 0 0 32px;
}
.myzh-page .myzh-testimonials-intro {
  color: #557a96;
  max-width: 950px;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 75px;
}
.myzh-page .myzh-review-window {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  /* ensures carousel track remains isolated from other layout */
  touch-action: pan-y;
}
.myzh-page .myzh-review-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.myzh-page .myzh-review-card {
  flex: 0 0 360px;
  width: 360px;
  min-height: 480px;
  margin: 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #dfeaf3;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(22,61,87,.02);
}
.myzh-page .myzh-review-quote {
  color: #287ceb;
  font-size: 64px;
  font-weight: 800;
  line-height: .9;
  height: 59px;
  display: block;
  user-select: none;
}
.myzh-page .myzh-review-card p {
  color: #163d57;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  margin: 10px 0 26px;
  overflow-wrap: break-word;
}
.myzh-page .myzh-review-divider {
  height: 1px;
  width: 100%;
  background: #dceaf3;
  margin-top: auto;
  flex: 0 0 1px;
}
.myzh-page .myzh-review-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.myzh-page .myzh-review-progress-wrap {
  display:flex;
  align-items:center;
  gap: 15px;
}
.myzh-page .myzh-review-progress {
  background: #dceaf3;
  height: 4px;
  width: 180px;
  border-radius: 30px;
  overflow: hidden;
}
.myzh-page .myzh-review-progress-fill {
  height:100%;
  width: 12.5%;
  display: block;
  background: #287ceb;
  border-radius: inherit;
  transition: width .6s ease;
}
.myzh-page .myzh-review-count {
  font-size: 14px;
  line-height: 1;
  color: #557a96;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.myzh-page .myzh-review-playpause {
  border: 0;
  box-shadow: none;
  padding: 7px 4px;
  font: inherit;
  font-size: 13px;
  color: #557a96;
  background: transparent;
  cursor: pointer;
}
.myzh-page .myzh-review-playpause:hover { color: #287ceb; }
.myzh-page .myzh-review-arrows { display: flex; gap: 12px; }
.myzh-page .myzh-review-arrows button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 23px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.myzh-page .myzh-review-prev {
  background: #fff;
  border: 1px solid #dce8f0;
  color: #163d57;
}
.myzh-page .myzh-review-next {
  background: #287ceb;
  border: 1px solid #287ceb;
  color: #fff;
}
.myzh-page .myzh-review-arrows button:hover { transform: translateY(-2px); }
.myzh-page .myzh-review-prev:hover { border-color:#287ceb; color:#287ceb; }
.myzh-page .myzh-review-next:hover { background:#146ad8; }
.myzh-page .myzh-review-controls button:focus-visible {
  outline: 3px solid #163d57;
  outline-offset: 3px;
}
@media (max-width: 1020px) {
  .myzh-page .myzh-testimonials { padding: 100px 0; }
  .myzh-page .myzh-testimonials-intro { margin-bottom: 54px; }
  .myzh-page .myzh-review-card { flex-basis: 340px; width: 340px; }
}
@media (max-width: 760px) {
  .myzh-page .myzh-testimonials { padding: 75px 0 85px; }
  .myzh-page .myzh-testimonials h2 { font-size: clamp(29px,7.1vw,38px); margin-bottom: 24px; }
  .myzh-page .myzh-review-desktop-br { display:none; }
  .myzh-page .myzh-testimonials-intro { font-size:16px; margin-bottom:38px; }
  .myzh-page .myzh-review-track { gap: 16px; }
  .myzh-page .myzh-review-card {
    flex-basis: min(82vw, 340px);
    width: min(82vw, 340px);
    min-height: 465px;
    padding: 24px;
  }
  .myzh-page .myzh-review-card p { font-size: 16px; line-height: 1.5; }
  .myzh-page .myzh-review-controls { margin-top:26px; }
  .myzh-page .myzh-review-progress { width: 90px; }
  .myzh-page .myzh-review-progress-wrap { gap:9px; }
  .myzh-page .myzh-review-arrows button { width:44px; height:44px; font-size:22px; }
}
@media (max-width: 440px) {
  .myzh-page .myzh-review-playpause { font-size:12px; }
  .myzh-page .myzh-review-count { font-size:12px; }
  .myzh-page .myzh-review-progress { width:60px; }
}
@media (prefers-reduced-motion: reduce) {
  .myzh-page .myzh-review-track { transition: none!important; will-change:auto; }
  .myzh-page .myzh-review-progress-fill,
  .myzh-page .myzh-review-arrows button { transition:none!important; }
  .myzh-page .myzh-review-arrows button:hover {transform:none;}
}


/* =============================================================
   Section 06 — original Carousel Slider plugin output.
   Only the section shell is styled here; plugin functionality,
   timings, navigation and existing carousel content are untouched.
   ============================================================= */
.myzh-page .myzh-partners {
  background: #eaf7fc;
  padding: 105px 0 115px;
}
.myzh-page .myzh-partners h2 {
  margin: 0 0 62px;
  color: #163d57;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -.025em;
}
.myzh-page .myzh-partners-carousel {
  width: 100%;
  min-height: 140px;
}
.myzh-page .myzh-partners-carousel img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.myzh-page .myzh-partners-local-notice {
  margin: 0;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,.85);
  border: 1px dashed #b9d7ea;
  color: #557a96;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .myzh-page .myzh-partners { padding: 75px 0 80px; }
  .myzh-page .myzh-partners h2 { margin-bottom: 38px; }
  .myzh-page .myzh-partners-carousel { min-height: 100px; }
}


/* =============================================================
   Section 07 — final appeal from the approved Figma design.
   Scoped to landing only; the parent theme's header/footer and
   real Leyka payment system are NOT modified.
   ============================================================= */
.myzh-page .myzh-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  background: #163d57;
  color: #fff;
}
.myzh-page .myzh-final-layout {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.myzh-page .myzh-final-copy {
  position: relative;
  z-index: 3;
  width: min(830px, 73%);
}
.myzh-page .myzh-final-copy h2 {
  margin: 0 0 36px;
  color: #fff;
  font-size: clamp(39px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.myzh-page .myzh-final-copy p {
  max-width: 820px;
  margin: 0 0 42px;
  color: #d7eaf7;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
}
.myzh-page .myzh-final-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 440px;
  max-width: 100%;
  min-height: 72px;
  padding: 18px 32px;
  border-radius: 40px;
  background: #fff;
  color: #163d57;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .36s ease, background-color .36s ease, box-shadow .36s ease;
}
.myzh-page .myzh-final-button span:last-child {
  font-size: 26px;
  line-height: 1;
  transition: transform .36s ease;
}
.myzh-page .myzh-final-button:hover,
.myzh-page .myzh-final-button:focus-visible {
  background: #e1f2ff;
  color: #163d57;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  transform: translateY(-3px);
}
.myzh-page .myzh-final-button:hover span:last-child,
.myzh-page .myzh-final-button:focus-visible span:last-child { transform: translateX(7px); }
.myzh-page .myzh-final-button:focus-visible { outline: 3px solid #9bd8ff; outline-offset: 4px; }
.myzh-page .myzh-final-decor {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.myzh-page .myzh-final-orb {
  position: absolute;
  width: 460px;
  height: 460px;
  right: -48px;
  top: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.2);
}
/* Final screen uses exactly the hero's motion sequences and durations. */
.myzh-page .myzh-final-wave {
  position: absolute;
  display: block;
  /* Keep the wave just beneath the orb, like beneath the round photo in the hero. */
  width: min(740px, 66vw);
  height: auto;
  right: -345px;
  bottom: 50px;
  opacity: .68;
  transform-origin: center;
  animation: myzh-wave-breathe 8.5s ease-in-out infinite;
  will-change: transform;
}
.myzh-page .myzh-final-wave-two {
  bottom: 27px;
  opacity: .34;
  animation-duration: 11.5s;
  animation-delay: -3.8s;
  animation-direction: alternate-reverse;
}
.myzh-page .myzh-final-seed {
  position: absolute;
  display: block;
  width: 85px;
  height: auto;
  opacity: 0;
  animation: myzh-seed-fall var(--seed-duration, 15s) linear var(--seed-delay, 0s) infinite;
  will-change: transform, opacity;
}
.myzh-page .myzh-final-seed-one {
  top: 78px;
  right: 130px;
  width: 85px;
  --seed-duration: 14s;
  --seed-delay: -3.5s;
  --seed-fall: 390px;
  --seed-drift: -90px;
  --seed-start-rotate: -25deg;
  --seed-end-rotate: 35deg;
}
.myzh-page .myzh-final-seed-two {
  top: 215px;
  right: -10px;
  width: 65px;
  --seed-duration: 17s;
  --seed-delay: -8.5s;
  --seed-fall: 470px;
  --seed-drift: -160px;
  --seed-start-rotate: 12deg;
  --seed-end-rotate: 83deg;
}
.myzh-page .myzh-final-seed-three {
  bottom: 130px;
  right: 310px;
  width: 75px;
  --seed-duration: 12.5s;
  --seed-delay: -5.5s;
  --seed-fall: 250px;
  --seed-drift: -105px;
  --seed-start-rotate: -35deg;
  --seed-end-rotate: 25deg;
}
@media (max-width: 1100px) {
  .myzh-page .myzh-final-copy { width: min(760px,78%); }
  .myzh-page .myzh-final-orb { right: -135px; }
  .myzh-page .myzh-final-wave { right: -370px; }
}
@media (max-width: 760px) {
  .myzh-page .myzh-final-cta, .myzh-page .myzh-final-layout { min-height: 650px; }
  .myzh-page .myzh-final-layout { padding: 85px 0 130px; align-items: flex-start; }
  .myzh-page .myzh-final-copy { width: 100%; }
  .myzh-page .myzh-final-copy h2 { font-size: clamp(32px,7.1vw,47px); margin-bottom: 26px; }
  .myzh-page .myzh-final-desktop-br { display: none; }
  .myzh-page .myzh-final-copy p { font-size: 17px; line-height: 1.55; margin-bottom: 32px; }
  .myzh-page .myzh-final-button { min-height: 62px; padding: 15px 22px; font-size: 15px; }
  .myzh-page .myzh-final-orb { width: 285px; height:285px; top: auto; right:-98px; bottom: 18px; }
  .myzh-page .myzh-final-wave { width: 110%; max-width: none; right: -15%; bottom: 24px; }
  .myzh-page .myzh-final-wave-two { bottom: 5px; }
  .myzh-page .myzh-final-seed-one { top:auto; bottom:215px; right:25px; width:65px; }
  .myzh-page .myzh-final-seed-two { top:auto; bottom:120px; right:0; width:55px; }
  .myzh-page .myzh-final-seed-three { bottom:65px; right:55%; width:60px; }
}
@media (prefers-reduced-motion:reduce) {
  .myzh-page .myzh-final-wave,
  .myzh-page .myzh-final-seed { animation:none!important; will-change:auto; opacity:.72; }
  .myzh-page .myzh-final-button,
  .myzh-page .myzh-final-button span:last-child { transition:none!important; }
  .myzh-page .myzh-final-button:hover,
  .myzh-page .myzh-final-button:focus-visible { transform:none; }
}


/* =============================================================
   Mobile polish v1 — Section 07 ONLY. Keeps approved desktop
   design and all existing animation keyframes unchanged.
   Give CTA text its own space and move the airy illustration
   below the button instead of behind it on narrow screens.
   ============================================================= */
@media (max-width: 760px) {
  .myzh-page .myzh-final-cta {
    min-height: 0;
  }
  .myzh-page .myzh-final-layout {
    display: block;
    min-height: 0;
    padding: 66px 0 290px; /* Reserved lower area for decoration */
  }
  .myzh-page .myzh-final-copy {
    width: 100%;
    max-width: 100%;
  }
  .myzh-page .myzh-final-copy h2 {
    max-width: 620px;
    margin-bottom: 23px;
    font-size: clamp(29px, 7.65vw, 41px);
    line-height: 1.15;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  .myzh-page .myzh-final-copy p {
    max-width: 560px;
    margin-bottom: 28px;
    color: #e2eff9;
    font-size: 16px;
    line-height: 1.6;
  }
  .myzh-page .myzh-final-button {
    width: 100%;
    max-width: 440px;
    min-height: 62px;
    padding: 15px 20px;
    gap: 18px;
    font-size: 14px;
    line-height: 1.3;
  }
  .myzh-page .myzh-final-button span:last-child {
    flex: none;
    font-size: 25px;
  }
  .myzh-page .myzh-final-orb {
    width: 215px;
    height: 215px;
    top: auto;
    right: 22px;
    bottom: 30px;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.17);
  }
  .myzh-page .myzh-final-wave {
    width: 505px;
    max-width: none;
    right: -136px;
    bottom: 36px;
    opacity: .70;
  }
  .myzh-page .myzh-final-wave-two {
    bottom: 18px;
    opacity: .38;
  }
  .myzh-page .myzh-final-seed-one {
    top: auto;
    bottom: 128px;
    right: 56px;
    width: 55px;
    --seed-fall: 135px;
    --seed-drift: -55px;
  }
  .myzh-page .myzh-final-seed-two {
    top: auto;
    bottom: 65px;
    right: 12px;
    width: 43px;
    --seed-fall: 105px;
    --seed-drift: -42px;
  }
  .myzh-page .myzh-final-seed-three {
    top: auto;
    bottom: 72px;
    right: 65%;
    width: 48px;
    --seed-fall: 115px;
    --seed-drift: -37px;
  }
}
@media (min-width: 561px) and (max-width: 760px) {
  .myzh-page .myzh-final-layout { padding-bottom: 320px; }
  .myzh-page .myzh-final-orb { width: 260px; height: 260px; right: 9%; bottom: 28px; }
  .myzh-page .myzh-final-wave { width: 680px; right: -110px; }
}
@media (max-width: 359px) {
  .myzh-page .myzh-final-layout { padding: 60px 0 275px; }
  .myzh-page .myzh-final-copy h2 { font-size: 28px; }
  .myzh-page .myzh-final-button { font-size: 13px; padding-inline: 17px; }
  .myzh-page .myzh-final-orb { width: 195px; height: 195px; }
  .myzh-page .myzh-final-wave { right: -155px; }
}


/* =============================================================
   Mobile Section 07 v2 — mirror the approved mobile hero layout:
   centered round motif, two airy waves directly below the circle.
   Desktop styles and animation keyframes remain unchanged.
   ============================================================= */
@media (max-width: 760px) {
  .myzh-page .myzh-final-cta {
    overflow: hidden;
  }
  .myzh-page .myzh-final-layout {
    padding-bottom: 370px; /* complete visual area BELOW the CTA button */
  }
  .myzh-page .myzh-final-orb {
    /* Center like the hero's round photograph, not shifted right. */
    width: min(270px, 80vw);
    height: auto;
    aspect-ratio: 1;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 70px;
    transform: translateX(-50%);
    border-color: rgba(255,255,255,.23);
    background: rgba(255,255,255,.045);
    z-index: 1;
  }
  .myzh-page .myzh-final-wave {
    /* Same visual relationship as waves under the photo in mobile hero. */
    width: min(445px, 119vw);
    max-width: none;
    height: auto;
    left: 50%;
    right: auto;
    bottom: 19px;
    margin-left: -2px;
    translate: -50% 0;
    opacity: .67;
    z-index: 0;
  }
  .myzh-page .myzh-final-wave-two {
    bottom: 2px;
    opacity: .34;
  }
  .myzh-page .myzh-final-seed-one {
    top: auto;
    bottom: 270px;
    right: 20%;
    width: 52px;
    --seed-fall: 165px;
    --seed-drift: -40px;
  }
  .myzh-page .myzh-final-seed-two {
    top: auto;
    bottom: 142px;
    right: 5%;
    width: 46px;
    --seed-fall: 155px;
    --seed-drift: -32px;
  }
  .myzh-page .myzh-final-seed-three {
    top: auto;
    bottom: 112px;
    right: 72%;
    width: 46px;
    --seed-fall: 120px;
    --seed-drift: -25px;
  }
}
@media (min-width: 561px) and (max-width: 760px) {
  .myzh-page .myzh-final-layout { padding-bottom: 410px; }
  .myzh-page .myzh-final-orb { width: 310px; }
  .myzh-page .myzh-final-wave { width: 650px; }
}
@media (max-width: 359px) {
  .myzh-page .myzh-final-layout { padding-bottom: 345px; }
  .myzh-page .myzh-final-orb { width: min(245px, 80vw); }
  .myzh-page .myzh-final-wave { width: 121vw; }
}


/* Plugin shell and donation / admin-only preview states */
.myzh-page { width:100%; max-width:none; margin:0; font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.myzh-page .myzh-leyka-frame { padding:32px; background:#fff; border-radius:24px; box-shadow:0 12px 40px rgba(22,61,87,.06); min-width:0; }
.myzh-page .myzh-leyka-frame * { max-width:100%; }
.myzh-page .myzh-leyka-frame .leyka-pf { max-width:100%; }
.myzh-page .myzh-payment-fallback { background:#fff; border-radius:24px; padding:35px; box-shadow:0 12px 40px rgba(22,61,87,.06); }
.myzh-page .myzh-payment-fallback p { font-size:16px; margin:0 0 22px; }
.myzh-page .myzh-payment-fallback a { display:inline-flex; align-items:center; padding:14px 24px; border-radius:999px; background:#287ceb; color:#fff; font-weight:600; }
.myzh-page .myzh-admin-preview-notice { background:#fff8df; border:1px solid #e4c975; padding:11px 16px; border-radius:10px; font-size:14px; line-height:1.5; margin:0 0 15px; color:#654d16; }
@media(max-width:760px){ .myzh-page .myzh-leyka-frame{padding:18px;border-radius:18px;} .myzh-page .myzh-payment-fallback{padding:24px;} }

/* Keep the editor notice and donation card together in the right grid column. */
.myzh-page .myzh-donation-form-column { width: 100%; min-width: 0; }


/* ================================================================
   Leyka / Star: visual theme for the superhero landing ONLY.
   The forms and gateway logic are Leyka's own; no inputs are removed.
   All selectors are confined to .myzh-leyka-frame on this landing.
   ================================================================ */
.myzh-page .myzh-leyka-frame,
.myzh-page .myzh-leyka-frame .leyka-pf,
.myzh-page .myzh-leyka-frame .leyka-pf-star,
.myzh-page .myzh-leyka-frame form.leyka-pm-form {
  --leyka-color-main: #287ceb;
  --leyka-color-accent: #287ceb;
  --leyka-star-color-main: #287ceb;
  --leyka-font-main: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #163d57;
}

/* Remove redundant nested card look; outer white surface belongs to landing. */
.myzh-page .myzh-leyka-frame {
  padding: 22px 24px;
  border: 1px solid rgba(196, 222, 236, .4);
}
.myzh-page .myzh-leyka-frame .leyka-pf-star {
  border-radius: 18px;
  box-shadow: none;
  background: #fff;
}
.myzh-page .myzh-leyka-frame .leyka-pf-star,
.myzh-page .myzh-leyka-frame .leyka-pf-star * {
  box-sizing: border-box;
}

/* In Leyka the Star form may contain native or custom text inputs. */
.myzh-page .myzh-leyka-frame :is(
  input[type="text"], input[type="email"], input[type="number"],
  input[type="tel"], input[type="search"], textarea, select
) {
  border-radius: 10px;
  border-color: #d6e7f3;
  background-color: #f7fbfe;
  color: #163d57;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.myzh-page .myzh-leyka-frame :is(
  input[type="text"], input[type="email"], input[type="number"],
  input[type="tel"], input[type="search"], textarea, select
):focus {
  border-color: #287ceb;
  outline: 2px solid rgba(40, 124, 235, .18);
  outline-offset: 1px;
}
.myzh-page .myzh-leyka-frame input[type="checkbox"],
.myzh-page .myzh-leyka-frame input[type="radio"] {
  accent-color: #287ceb;
}
.myzh-page .myzh-leyka-frame a { color: #287ceb; }
.myzh-page .myzh-leyka-frame a:hover { color: #1764cb; }

/* Monthly/single amount and payment-type selectors; preserve Leyka states. */
.myzh-page .myzh-leyka-frame :is(
  .amount__figure, .amount__value, .amount__variant, .amount__button,
  .donation-amount, .donation-type label, .amount-selector label,
  .amount-variants label, .payment-types label
) { border-radius: 10px; }
.myzh-page .myzh-leyka-frame input[type="radio"]:checked + label,
.myzh-page .myzh-leyka-frame input[type="radio"]:checked + span,
.myzh-page .myzh-leyka-frame .amount__variant.selected,
.myzh-page .myzh-leyka-frame .amount__variant.active {
  border-color: #287ceb;
  color: #287ceb;
}

/* Submit button is the only solid blue CTA; disabled state remains obvious. */
.myzh-page .myzh-leyka-frame :is(
  input[type="submit"], button[type="submit"], .leyka-default-submit
) {
  background: #287ceb;
  border-color: #287ceb;
  color: #fff;
  border-radius: 999px;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.myzh-page .myzh-leyka-frame :is(
  input[type="submit"], button[type="submit"], .leyka-default-submit
):not(:disabled):hover {
  background: #1764cb;
  border-color: #1764cb;
  box-shadow: 0 7px 17px rgba(40,124,235,.18);
}
.myzh-page .myzh-leyka-frame :is(
  input[type="submit"], button[type="submit"], .leyka-default-submit
):disabled {
  background: #a9cdf6;
  border-color: #a9cdf6;
  cursor: not-allowed;
}
@media(max-width: 760px) {
  .myzh-page .myzh-leyka-frame { padding: 14px; border-radius: 18px; }
}
@media(prefers-reduced-motion: reduce) {
  .myzh-page .myzh-leyka-frame :is(
    input[type="submit"], button[type="submit"], .leyka-default-submit
  ) { transition: none; transform: none; }
}


/* ================================================================
   Leyka refinements 1.0.5 — donation form on THIS landing only.
   Keep gateway markup, submit validation and recurring logic intact.
   ================================================================ */

/* Leyka may use a button-like element rather than input[type=submit];
   override its own orange theme rules without touching other pages. */
.myzh-page .myzh-leyka-frame :is(
  button[type="submit"], input[type="submit"],
  button[class*="submit"], input[class*="submit"], a[class*="submit"],
  .leyka-submit-btn, .leyka-submit-button, .leyka-pf-submit,
  .leyka-donate-submit, .leyka-donate-btn, .leyka-default-submit
) {
  background-color: #287ceb !important;
  border-color: #287ceb !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.myzh-page .myzh-leyka-frame :is(
  button[type="submit"], input[type="submit"],
  button[class*="submit"], input[class*="submit"], a[class*="submit"],
  .leyka-submit-btn, .leyka-submit-button, .leyka-pf-submit,
  .leyka-donate-submit, .leyka-donate-btn, .leyka-default-submit
):is(:disabled, [disabled], [aria-disabled="true"], .disabled) {
  background-color: #a9cdf6 !important;
  border-color: #a9cdf6 !important;
  color: #fff !important;
  cursor: not-allowed;
}
.myzh-page .myzh-leyka-frame :is(
  button[type="submit"], input[type="submit"],
  button[class*="submit"], input[class*="submit"], a[class*="submit"],
  .leyka-submit-btn, .leyka-submit-button, .leyka-pf-submit,
  .leyka-donate-submit, .leyka-donate-btn, .leyka-default-submit
):not(:disabled):not([disabled]):not([aria-disabled="true"]):not(.disabled):hover {
  background-color: #1764cb !important;
  border-color: #1764cb !important;
  box-shadow: 0 7px 17px rgba(40,124,235,.18);
}

/* Blue accents for native and custom agreement checkboxes.
   Don't replace native inputs or alter required/checked state. */
.myzh-page .myzh-leyka-frame input[type="checkbox"] {
  accent-color: #287ceb !important;
}
.myzh-page .myzh-leyka-frame input[type="checkbox"] + label::before,
.myzh-page .myzh-leyka-frame label:has(> input[type="checkbox"])::before,
.myzh-page .myzh-leyka-frame .leyka-checkbox::before {
  border-color: #287ceb !important;
  color: #287ceb !important;
}
.myzh-page .myzh-leyka-frame input[type="checkbox"]:checked + label::after,
.myzh-page .myzh-leyka-frame label:has(> input[type="checkbox"]:checked)::after,
.myzh-page .myzh-leyka-frame .leyka-checkbox::after {
  color: #287ceb !important;
  border-color: #287ceb !important;
}

/* Match the approved Figma corners while preserving Leyka layout. */
.myzh-page .myzh-leyka-frame :is(
  input[type="text"], input[type="email"], input[type="number"],
  input[type="tel"], textarea, select,
  .amount__variant, .amount__button,
  .donation-amount, .amount-selector label, .amount-variants label
) {
  border-radius: 10px !important;
}
@media (prefers-reduced-motion: reduce) {
  .myzh-page .myzh-leyka-frame :is(
    button[type="submit"], input[type="submit"],
    button[class*="submit"], input[class*="submit"], a[class*="submit"]
  ) { transition: none; }
}


/* v1.0.6 — Breathing room between the original Kandinsky navigation and hero
   on tablets and phones. Hero gradient remains flush with the site header.
   Only the first section's CONTENT is moved, not any theme header element. */
@media (min-width: 761px) and (max-width: 1199px) {
  .myzh-page .myzh-hero-inner {
    padding-top: 155px;
  }
}
@media (max-width: 760px) {
  .myzh-page .myzh-hero-inner {
    padding-top: 110px;
  }
}


/* v1.0.7 — Kandinsky header/hero transition, landing page only.
 * Around 960px Kandinsky shows both a full horizontal menu and a hamburger;
 * the last top-level item wraps onto the hero. Use the already-visible
 * hamburger in this tablet width range, without touching other site pages.
 * The main menu is not removed from WordPress; it stays in the off-canvas UI.
 */
@media (min-width: 761px) and (max-width: 1024px) {
  body.myzh-superhero-page #site-header nav:has(#menu-item-1692) {
    display: none !important;
  }
}

/* At narrow phone widths the fixed Kandinsky header occupies more vertical
 * room. Keep the heading visibly below it, without adding a white gap
 * between the header and the hero gradient. */
@media (max-width: 500px) {
  body.myzh-superhero-page .myzh-hero-inner {
    padding-top: 165px;
  }
}


/* v1.0.8 — Final CTA typography only. The first title line stays
   together on wide screens; the "— и" clause starts the next line.
   Keep natural wrapping on phones so neither phrase overflows. */
@media (min-width: 761px) {
  .myzh-page .myzh-final-heading-first,
  .myzh-page .myzh-final-heading-last {
    display: block;
  }
  .myzh-page .myzh-final-heading-first {
    white-space: nowrap;
  }
  .myzh-page .myzh-final-copy h2 {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.14;
  }
  .myzh-page .myzh-final-promise {
    display: block;
  }
}
@media (min-width: 1101px) {
  .myzh-page .myzh-final-copy {
    width: min(980px, 84%);
  }
}
@media (max-width: 760px) {
  .myzh-page .myzh-final-heading-first,
  .myzh-page .myzh-final-heading-last,
  .myzh-page .myzh-final-promise {
    display: inline;
    white-space: normal;
  }
}

/* Tablet: keep the words “двух минут” together before the forced dash break. */
@media (min-width: 761px) and (max-width: 1100px) {
  .myzh-page .myzh-final-copy p {
    font-size: 20px;
  }
}
