/* TurnedWizard below-the-fold block. Same layout as TurnedYellow; every selector is scoped to [data-style-content="turnedwizard"]. */
[data-style-content="turnedwizard"] {
  --tyy-accent: #7a0d12;
  --tyy-gold: #c9a227;
  --tyy-ink: #1c1c1c;
  --tyy-muted: #4a3f3a;
  --tyy-cream: #faf5ea;
  background: #fff;
  color: var(--tyy-ink);
  font-family: Assistant, Arial, sans-serif;
  line-height: 1.5;
}
[data-style-content="turnedwizard"] *, [data-style-content="turnedwizard"] *::before, [data-style-content="turnedwizard"] *::after { box-sizing: border-box; }
[data-style-content="turnedwizard"] img { display: block; max-width: 100%; height: auto; }
[data-style-content="turnedwizard"] .tyy-section { padding: 40px 0; }
[data-style-content="turnedwizard"] .tyy-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
[data-style-content="turnedwizard"] .tyy-h2 { margin: 0 0 24px; text-align: center; font-size: 1.75rem; line-height: 1.15; font-weight: 800; color: var(--tyy-accent); overflow-wrap: anywhere; }
[data-style-content="turnedwizard"] .tyy-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px;
  border: 2px solid var(--tyy-gold); border-radius: 999px; background: var(--tyy-accent); color: #fff;
  font-weight: 800; font-size: 1rem; text-decoration: none; box-shadow: 0 3px 0 rgba(59, 10, 13, .6);
  transition: transform .15s ease, box-shadow .15s ease;
}
[data-style-content="turnedwizard"] .tyy-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(59, 10, 13, .6); }
[data-style-content="turnedwizard"] a:focus-visible { outline: 3px solid #3b0a0d; outline-offset: 3px; }

[data-style-content="turnedwizard"] .tyy-how { background: var(--tyy-cream); }
[data-style-content="turnedwizard"] .tyy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
[data-style-content="turnedwizard"] .tyy-step { background: #fff; border: 2px solid var(--tyy-accent); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
[data-style-content="turnedwizard"] .tyy-step img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 12px; background: #fff; }
[data-style-content="turnedwizard"] .tyy-step-body { padding: 8px 18px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; }
[data-style-content="turnedwizard"] .tyy-step h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 800; color: var(--tyy-accent); }
[data-style-content="turnedwizard"] .tyy-num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--tyy-accent); color: #f5d77a; border: 2px solid var(--tyy-gold); font-weight: 800; font-size: .875rem; }

[data-style-content="turnedwizard"] .tyy-split-grid { display: grid; gap: 20px; align-items: center; }
[data-style-content="turnedwizard"] .tyy-split-body { text-align: center; }
[data-style-content="turnedwizard"] .tyy-split-body p { margin: 0 auto 20px; max-width: 520px; color: var(--tyy-muted); font-size: 1.0625rem; }
[data-style-content="turnedwizard"] .tyy-split-media img { width: 100%; max-width: 560px; margin: 0 auto; border-radius: 20px; }
[data-style-content="turnedwizard"] .tyy-split:nth-of-type(even) { background: var(--tyy-cream); }

@media (min-width: 720px) {
  [data-style-content="turnedwizard"] .tyy-section { padding: 64px 0; }
  [data-style-content="turnedwizard"] .tyy-wrap { padding: 0 24px; }
  [data-style-content="turnedwizard"] .tyy-h2 { font-size: 2.25rem; margin-bottom: 36px; }
  [data-style-content="turnedwizard"] .tyy-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  [data-style-content="turnedwizard"] .tyy-split-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  [data-style-content="turnedwizard"] .tyy-split-body { text-align: left; }
  [data-style-content="turnedwizard"] .tyy-split-body .tyy-h2 { text-align: left; margin-bottom: 16px; }
  [data-style-content="turnedwizard"] .tyy-split-body p { margin-left: 0; }
  [data-style-content="turnedwizard"] .tyy-rev .tyy-split-media { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  [data-style-content="turnedwizard"] .tyy-btn { transition: none; }
  [data-style-content="turnedwizard"] .tyy-btn:hover { transform: none; }
}
