/** Shopify CDN: Minification failed

Line 650:18 Unexpected "{"
Line 650:27 Expected ":"
Line 650:44 Unexpected "{"
Line 650:53 Expected ":"
Line 656:20 Unexpected "{"
Line 656:29 Expected ":"
Line 656:46 Unexpected "{"
Line 656:55 Expected ":"
Line 657:16 Expected identifier but found whitespace
Line 657:18 Unexpected "{"
... and 14 more hidden warnings

**/
/* SHOPIFY_STYLESHEETS_VERSION: 1.0 */


/* CSS from section stylesheet tags */
/* START_SECTION:gift-newsletter-popup (INDEX:33) */
/* ============================================================
     KBN Gift Newsletter Popup — Ticket / Coupon-Style
     ============================================================
     Stacked layout (image top, content bottom). Visual gimmick:
     ticket-style semi-circle cutouts at the hero→content boundary
     created via CSS mask, with a dashed line between them — the
     dialog literally looks like a tear-off coupon.
  */

  /* Popup root: identisch auf Mobile + Desktop. 22px horizontal damit
     der Close-Button (rechts -16px außerhalb des Frames) nicht am
     Viewport-Rand anschlägt. */
  .kbn-gift-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 22px;
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    color: #1c1c1c;
  }

  /* Backdrop-Blur sitzt direkt am Popup-Root (nicht am __backdrop child).
     Grund: backdrop-filter wirkt am zuverlässigsten auf dem fixed
     Element selbst. isolation:isolate erzwingt einen eigenen Layer
     damit Ancestor-Stacking-Contexts (z.B. Theme-transforms) den
     Effekt nicht killen. Animation nur auf opacity — backdrop-filter
     selbst zu animieren ist browser-inkompatibel. */
  .kbn-gift-popup[data-open="1"] {
    display: flex;
    animation: kbn-gift-popup-fade-in 240ms ease-out;
    background-color: rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    isolation: isolate;
    will-change: backdrop-filter;
  }

  @keyframes kbn-gift-popup-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Fallback für Browser ohne backdrop-filter: dunklerer Overlay.
     @supports prüft beide Browser-Varianten. */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .kbn-gift-popup[data-open="1"] {
      background-color: rgba(28, 28, 28, 0.55);
    }
  }

  /* Backdrop-Element bleibt für den Click-Outside-Handler, ist aber
     visuell transparent (filter sitzt jetzt am Parent). */
  .kbn-gift-popup__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
  }

  /* Frame = positioning context für outside Close-Button.
     PINNED WIDTH: 360px überall — Mobile + Desktop identisch.
     max-width: 100% lässt das Frame auf sehr schmalen Viewports
     (<404px nach Popup-Padding) gracefully schrumpfen, statt
     überzulaufen. Ergebnis: Hero-Box, Image-Area, Form-Width
     sind auf jedem Bildschirm pixel-identisch. */
  .kbn-gift-popup__frame {
    position: relative;
    width: 360px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    animation: kbn-gift-popup-slide-up 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  @keyframes kbn-gift-popup-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  /* Close-Button: weißer Kreis außerhalb des Dialogs (top-right).
     PINNED 38px überall. Hohe Spezifität + background-color explizit,
     damit Theme-CSS Button-Styles nicht überschreiben. */
  .kbn-gift-popup button.kbn-gift-popup__close {
    position: absolute;
    top: -16px;
    right: -16px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    background-image: none;
    color: #1c1c1c;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: background-color 160ms ease, transform 160ms ease;
    -webkit-appearance: none;
            appearance: none;
  }
  .kbn-gift-popup button.kbn-gift-popup__close:hover { background-color: #f8f4f0; transform: scale(1.05); }
  .kbn-gift-popup button.kbn-gift-popup__close:focus-visible {
    outline: 2px solid #1c1c1c;
    outline-offset: 2px;
  }

  /* Dialog: the actual ticket. Mask creates the side cutouts.
     Border via outline (statt border) damit sie um die mask herum
     gezeichnet wird — border würde von der mask mitgeschnitten und
     wäre an den Cutouts unterbrochen. outline wird NICHT von mask
     berührt. Trade-off: outline-radius wird nicht von allen Browsern
     supported, fällt dann auf scharfe Ecken zurück. */
  /* PINNED dimensions — identisch auf Mobile + Desktop.
     --hero-height-px wird vom Liquid (inline style) gesetzt, fällt
     auf 240px zurück wenn die Schema-Setting fehlt.
     KEINE scroll: overflow:hidden statt auto. Grund: die Mask-Cutouts
     liegen auf dem Dialog-Frame (scrollt nicht), die gestrichelte
     Trennlinie liegt im scrollenden Content — Scrollen würde sie
     visuell desynchronisieren. Wenn der Content auf sehr kleinen
     Viewports nicht reinpasst, wird er stattdessen unten clipped
     (User muss Hero-Höhe oder Bildgröße reduzieren).
     KEINE CSS-border — stattdessen filter:drop-shadow Trick weiter
     unten, der eine 2px Border AUCH entlang der Cutouts zeichnet
     (border würde nur außen gerendert und an den Cutouts hart
     abgeschnitten). */
  .kbn-gift-popup__dialog {
    --hero-height: var(--hero-height-px, 240px);
    --notch-r: 12px;
    --notch-y: var(--hero-height);
    --corner-radius: 16px;
    --ticket-border: #5c3e2e;
    --border-width: 2px;

    position: relative;
    background: #ffffff;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    border-radius: var(--corner-radius);

    /* Two radial gradients at the side cutouts. Composited via
       intersect → both must be opaque to keep that pixel.
       border-radius wirkt VOR der mask, also bleiben Ecken rund. */
    -webkit-mask:
      radial-gradient(circle var(--notch-r) at 0 var(--notch-y), transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at 100% var(--notch-y), transparent 99%, #000 100%);
    -webkit-mask-composite: source-in;
            mask:
      radial-gradient(circle var(--notch-r) at 0 var(--notch-y), transparent 99%, #000 100%),
      radial-gradient(circle var(--notch-r) at 100% var(--notch-y), transparent 99%, #000 100%);
            mask-composite: intersect;

    /* Kontur/Rahmen auf Wunsch entfernt: kein drop-shadow-Border mehr um das
       Popup. Mask-Cutouts (Ticket-Kerben) + gestrichelte Trennlinie bleiben.
       Zum Reaktivieren: filter mit den 4 drop-shadow(...) wieder einsetzen
       (nutzt --ticket-border + --border-width). */
  }

  /* Panels (form / success) — single column, full width. */
  .kbn-gift-popup__panel {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* ============================================================
     HERO — Cream background, padded, small contained image
     ============================================================ */
  /* Hero: zentriert das Bild via flex, gibt ihm aber einen
     konfigurierbaren max-Bereich (--hero-img-scale, kommt aus dem
     Section-Setting im Theme-Editor). */
  .kbn-gift-popup__hero {
    position: relative;
    background: #f3e7d8;
    height: var(--hero-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  /* Bild: EXPLIZITE width — überschreibt jegliches srcset/sizes
     "intrinsic-size"-Auto-Sizing das der Browser bei width:auto
     anwenden könnte. Bumped Spezifität (.kbn-gift-popup .kbn-…)
     damit Theme-Default-CSS für img (z.B. img { width: 100% }) nicht
     überschreibt. height:auto preserved aspect-ratio aus der width.
     max-width: 100% nur als Safety-Net wenn die Hero-Box schmaler
     als die gewählte Bildgröße ist (Mini-Viewports < 404px wo der
     Frame schrumpft). overflow:hidden auf __hero schneidet vertikal,
     wenn das Bild höher als die Hero-Box ist (Crop-Padding-Funktion). */
  .kbn-gift-popup .kbn-gift-popup__hero img,
  .kbn-gift-popup .kbn-gift-popup__hero .kbn-gift-popup__hero-img {
    width: var(--hero-img-size, 240px);
    height: auto;
    max-width: 100%;
    display: block;
  }

  .kbn-gift-popup__hero-placeholder {
    width: 60%;
    height: 80%;
    background: #f3e7d8;
  }
  .kbn-gift-popup__hero-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* ============================================================
     BADGE — Doppel-Outline (Briefmarken-Style), unten rechts.
     Outer ring via border, inner ring via ::after pseudo-element.
     ============================================================ */
  .kbn-gift-popup__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    bottom: auto;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid #5c3e2e;
    color: #5c3e2e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7px;
  }

  /* Innerer Ring */
  .kbn-gift-popup__badge::after {
    content: '';
    position: absolute;
    inset: 4.5px;
    border-radius: 50%;
    border: 1.5px solid #5c3e2e;
    pointer-events: none;
  }

  /* Label + Value BEIDE im gleichen Winkel rotiert (Stempel-Look,
     als wäre er schräg aufgedrückt). Die Outline-Ringe bleiben
     gerade — nur die Texte drehen sich. */
  .kbn-gift-popup__badge-label {
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    transform: rotate(-8deg);
  }

  .kbn-gift-popup__badge-value {
    font-family: var(--font-heading-family, "DM Serif Display", Georgia, serif);
    font-weight: 400;
    font-size: 17px;
    line-height: 1;
    font-style: italic;
    transform: rotate(-8deg);
    position: relative;
    z-index: 1;
  }

  /* ============================================================
     CONTENT — White, centered, dashed line at top edge
     ============================================================ */
  .kbn-gift-popup__content {
    position: relative;
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    background: #ffffff;
  }

  /* Dashed line läuft über die GANZE Breite (left:0 → right:0).
     Die Dialog-Mask schneidet die Linie an den Cutout-Positionen
     transparent — so wirkt es wie eine durchgehende Trennlinie,
     die an den Cutouts unterbrochen ist.
     Custom dash-Pattern via linear-gradient (border-style: dashed
     wäre browser-abhängig in der Dash-Größe). 7px Strich + 7px
     Lücke, 2.5px dick, in der Border-Farbe für Konsistenz. */
  .kbn-gift-popup__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background-image: linear-gradient(to right, var(--ticket-border, #5c3e2e) 50%, transparent 50%);
    background-size: 14px 2.5px;
    background-repeat: repeat-x;
    pointer-events: none;
  }

  .kbn-gift-popup__headline {
    font-family: var(--font-heading-family, "DM Serif Display", Georgia, serif);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 0;
    color: #1c1c1c;
    margin: 0;
  }

  .kbn-gift-popup__headline em {
    color: #6b3a1a;
    font-style: italic;
  }

  .kbn-gift-popup__body {
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    font-size: 16px;
    line-height: 1.55;
    color: #5c5043;
    max-width: 320px;
    padding-bottom: 20px;
  }
  .kbn-gift-popup__body p { margin: 0 0 6px; }
  .kbn-gift-popup__body p:last-child { margin-bottom: 0; }
  /* Success-Body: 10px mehr Luft nach unten als der Form-Body (20 → 30px). */
  .kbn-gift-popup__panel--success .kbn-gift-popup__body {
    padding-bottom: 30px;
  }

  /* ============================================================
     FORM — Stacked vertically (input on top, button below)
     ============================================================ */
  .kbn-gift-popup__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
  }

  .kbn-gift-popup__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  /* Input mit erhöhter Spezifität via tag + class. */
  .kbn-gift-popup input.kbn-gift-popup__input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d4c7b5;
    background-color: #ffffff;
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    font-size: 16px; /* 16px verhindert iOS Safari auto-zoom beim Focus */
    color: #1c1c1c;
    outline: none;
    border-radius: 0;
    box-sizing: border-box;
    text-align: left;
    transition: border-color 160ms ease;
    -webkit-appearance: none;
            appearance: none;
  }
  .kbn-gift-popup input.kbn-gift-popup__input::placeholder {
    color: #999999;
    opacity: 1;
  }
  .kbn-gift-popup input.kbn-gift-popup__input:focus-visible { border-color: #1c1c1c; }

  /* Submit-Button: tag + class für höhere Spezifität als das Theme-CSS,
     background-color + color separat (statt shorthand), min-height
     für garantierte Sichtbarkeit. */
  .kbn-gift-popup button.kbn-gift-popup__submit {
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    background-color: #1c1c1c;
    background-image: none;
    color: #ffffff;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 0;
    transition: background-color 160ms ease;
    box-sizing: border-box;
    -webkit-appearance: none;
            appearance: none;
    text-decoration: none;
  }
  .kbn-gift-popup button.kbn-gift-popup__submit:hover { background-color: #3d3d3d; }
  .kbn-gift-popup button.kbn-gift-popup__submit:focus-visible {
    outline: 2px solid #6b3a1a;
    outline-offset: 2px;
  }
  .kbn-gift-popup button.kbn-gift-popup__submit[disabled] {
    opacity: 0.6;
    cursor: progress;
  }
  /* Sicherstellen dass die Label-/Arrow-Children sichtbar sind */
  .kbn-gift-popup button.kbn-gift-popup__submit .kbn-gift-popup__submit-label,
  .kbn-gift-popup button.kbn-gift-popup__submit .kbn-gift-popup__submit-arrow {
    color: #ffffff;
    fill: none;
    stroke: currentColor;
  }

  .kbn-gift-popup__error {
    font-size: 13px;
    color: #c0392b;
    padding: 4px 0 0;
    text-align: center;
  }

  /* Disclaimer: zentriert via margin: auto + text-align (Content-Container
     gibt text-align: center vor, hier explizit doppelt gesichert). */
  .kbn-gift-popup__disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: #7b6a5c;
    margin: 5px auto 0;
    max-width: 320px;
    text-align: center;
    align-self: center;
  }
  .kbn-gift-popup__disclaimer p { margin: 0; }

  /* ============================================================
     SUCCESS STATE — gleiche Ticket-Struktur wie Form-State
     ============================================================
     Hero (Box mit GIF/Bild) + Content (Texte + CTA). KEIN eigenes
     Padding-Override — Sizing kommt von den geteilten Klassen
     __hero und __content. Damit ist die Popup-Höhe in beiden States
     identisch und der Close-Button (-16 oben rechts am Frame) bleibt
     visuell an exakt der gleichen Stelle.

     Visuelle Unterschiede zum Form-State:
     - Hero-Background: weiß statt cream (kein Geschenk-Mood mehr,
       sondern "Bestätigungs"-Mood mit klarer Mail-Anmutung)
     - Gestrichelte Trennlinie: ausgeblendet (Success ist kein
       Tear-off-Coupon — keine visuelle Aufforderung zum "abreißen")
     - Side-Cutouts: bleiben (Brand-Konsistenz: Ticket-Identität
       erhalten, auch wenn die "Tear-Line" weg ist) */
  /* Bind an die panel-class statt an .is-success-state am Popup-Root
     — damit der weiße Hero schon WÄHREND der Tear-Animation gilt
     (Success-Panel wird sichtbar BEVOR .is-success-state am Popup
     gesetzt wird). Sonst Sekunden-Bruchteil cream-Glitch beim Reveal. */
  .kbn-gift-popup__panel--success .kbn-gift-popup__hero {
    background: #ffffff;
  }
  .kbn-gift-popup__panel--success .kbn-gift-popup__content::before {
    display: none;
  }

  /* Fallback Check-Icon wenn kein Success-Bild gesetzt ist — zentriert
     in der __hero Box. */
  .kbn-gift-popup__success-icon {
    color: #6b7f4e;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* CTA im Success-State: an __submit angeglichen (full-width, gleiche
     Padding/Typografie) damit Form- und Success-Button optisch identisch
     wirken. Eigene Klasse weil's ein <a> ist (anderer Tag = andere Default-
     Styles) + data-popup-success-btn Hook für Phase-2 Magic-Link Wiring. */
  .kbn-gift-popup .kbn-gift-popup__success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    padding: 14px 20px;
    background-color: #1c1c1c;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-body-family, "Nunito", system-ui, sans-serif);
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    transition: background-color 160ms ease;
    box-sizing: border-box;
    margin-top: 2px;
  }
  .kbn-gift-popup .kbn-gift-popup__success-btn:hover { background-color: #3d3d3d; }
  .kbn-gift-popup .kbn-gift-popup__success-btn:focus-visible {
    outline: 2px solid #6b3a1a;
    outline-offset: 2px;
  }
  /* Pfeil-SVG: sauberes Flex-Child → sitzt exakt mittig auf Höhe des Button-
     Texts (kein Inline-Baseline-Versatz). align-items:center am Button macht
     die vertikale Zentrierung. */
  .kbn-gift-popup .kbn-gift-popup__success-btn svg {
    display: block;
    flex: 0 0 auto;
    transform: translateY(-1px);
  }

  /* ============================================================
     TEAR ANIMATION (Form → Success) — CROSS-FADE + MIKRO-SCALE (500ms)
     ============================================================
     Trigger: JS adds .is-tearing class to .kbn-gift-popup root.

     Timeline:
       0–280ms     Form-Panel fadet aus  (opacity 1 → 0)
       200–500ms   Success-Panel arriviert (opacity 0 → 1
                   + scale 0.98 → 1 mit decelerate-only easing)
       540ms       JS-Timeout cleanup (Form display:none,
                   is-success-state setzen, min-height gelockt)

     80ms Overlap (200–280ms) macht den Cross-Fade nahtlos statt
     sequenziell. Die Mikro-Scale (2%) ist absichtlich unter der
     bewussten Wahrnehmungsschwelle — du nimmst sie nicht WAHR,
     du SPÜRST sie. Macht den Unterschied zwischen "erscheint" und
     "arriviert" (siehe Apple/Linear/Stripe State-Transitions).

     GPU-billig: nur opacity + scale (beides composited),
     kein filter/blur/clip-path. 60fps auf jedem Gerät.

     ENTFERNEN: Diesen Block + _animateToSuccessState + _resetToFormState
     + _startEditorTearLoop + window.kbnTear in der JS-Datei löschen,
     im _onSubmitSuccess den Aufruf zurück auf _switchToSuccessState
     ändern. Schema-Option 'tear-loop' aus editor_preview_state Select
     entfernen. */

  /* Stacking: Success unter Form während Cross-Fade */
  .kbn-gift-popup.is-tearing .kbn-gift-popup__panel--success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    transform-origin: 50% 50%;
    animation: kbn-tear-success-arrive 300ms 200ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .kbn-gift-popup.is-tearing .kbn-gift-popup__panel:not(.kbn-gift-popup__panel--success) {
    position: relative;
    z-index: 2;
    animation: kbn-tear-form-fade 280ms ease-out forwards;
  }

  @keyframes kbn-tear-form-fade {
    0%   { opacity: 1; }
    100% { opacity: 0; }
  }
  /* Mikro-Scale + Fade: decelerate-only Easing (0.22, 1, 0.36, 1) gibt
     das "Settling"-Gefühl — kein Acceleration-Beginn, nur Abbremsen.
     Wirkt als würde der Panel "ankommen" statt "erscheinen". */
  @keyframes kbn-tear-success-arrive {
    0%   { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1);    }
  }

  /* Accessibility: prefers-reduced-motion User bekommen instant Switch
     via JS-Pfad (überspringt .is-tearing). Falls die Klasse trotzdem
     gesetzt wird, killen wir die Animations und zeigen Success direkt. */
  @media (prefers-reduced-motion: reduce) {
    .kbn-gift-popup.is-tearing .kbn-gift-popup__panel--success,
    .kbn-gift-popup.is-tearing
      .kbn-gift-popup__panel:not(.kbn-gift-popup__panel--success) {
      animation: none !important;
    }
    .kbn-gift-popup.is-tearing
      .kbn-gift-popup__panel:not(.kbn-gift-popup__panel--success) {
      display: none;
    }
  }

  /* ---- Body-Scroll-Lock wenn Popup offen ---- */
  body.kbn-gift-popup-open {
    overflow: hidden;
  }
/* END_SECTION:gift-newsletter-popup */

/* START_SECTION:richtext_video (INDEX:75) */
.richtext-video-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width: 750px) {
  .richtext-video-section {
    flex-direction: row;
    align-items: center;
  }

  .richtext-video-section__text,
  .richtext-video-section__video {
    flex: 1;
  }
}

/* Prose Heading wie in deiner anderen Section */
.richtext-video-section .prose { max-width: none; }
.richtext-video-section__heading .heading {
  margin: 0;
  line-height: 1.1;
  font-size: var(--rvs-heading-size);
}

/* Fallback und höhere Spezifität für Desktop-Overrides */
#shopify-section-{{ section.id }} .section-{{ section.id }}-padding {
  box-sizing: border-box;
}

/* Desktop Overrides per Media Query */
@media screen and (min-width: 750px) {
  #shopify-section-{{ section.id }} .section-{{ section.id }}-padding {
    padding-top: {{ section.settings.padding_top }}px !important;
    padding-bottom: {{ section.settings.padding_bottom }}px !important;
    padding-left: {{ section.settings.padding_horizontal }}px !important;
    padding-right: {{ section.settings.padding_horizontal }}px !important;
  }
}
/* END_SECTION:richtext_video */

/* START_SECTION:yt-channels-display (INDEX:91) */
.youtube-channels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.youtube-channels__grid {
  padding: 0px 15px;
}

/* Prose Heading Styles wie in der anderen Section */
.youtube-channels .prose { max-width: none; }
.youtube-channels__heading .heading {
  margin: 0;
  line-height: 1.1;
  font-size: var(--ytc-heading-size);
}

/* Desktop grid immer anzeigen, Slider versteckt */
.youtube-channels__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.youtube-channels__slider .swiper-slide {
  padding-top: 6px;
}

.youtube-channels__slider {
  display: none;
  overflow-y: hidden;
  max-height: 100vh;
  margin-bottom: -25px;
}

/* Grid auf Desktop in Reihe */
@media screen and (min-width: 750px) {
  .youtube-channels__grid {
    flex-direction: row;
  }
}

/* Mobile: standby grid, Slider erst wenn .slider-ready */
@media screen and (max-width: 749px) {
  .youtube-channels__grid {
    display: flex;
    flex-direction: column;
  }
  .youtube-channels.slider-ready .youtube-channels__grid {
    display: none;
  }
  .youtube-channels.slider-ready .youtube-channels__slider {
    display: block;
    overflow-x: hidden !important;
    padding: 0 15vw;
    box-sizing: content-box;
  }
  .youtube-channels__slider .swiper-wrapper {
    margin: 0;
    box-sizing: content-box;
    padding: 0;
  }
  .youtube-channels__slider .swiper-slide {
    width: 70vw;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .youtube-channels__slider .youtube-channels__item {
    flex: 0 0 auto !important;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Gemeinsame Styles */
.youtube-channels__item {
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.2s ease;
  flex: 1;
}

/* Hover auf Mouse Devices */
@media (hover: hover) and (pointer: fine) {
  .youtube-channels__item:hover {
    transform: translateY(-4px);
  }
}

/* Tap auf Touch Devices */
@media (hover: none) {
  .youtube-channels__item:active {
    transform: translateY(-4px);
  }
}

/* Bild kreisförmig */
.youtube-channels__item .image-title-circle {
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

/* Pagination Abstände */
.youtube-channels__slider .swiper-pagination {
  margin-top: 12px;
  text-align: center;
  position: relative;
}
/* END_SECTION:yt-channels-display */