@charset "UTF-8";
/**
 * Show / Hide — front-end styles.
 *
 * Every section is modal-capable; the `intro-sh-as-modal` class (toggled at
 * runtime by the opening trigger) switches presentation.
 *
 * Inline (no modal class): a grid animator — rows transition between 1fr (open)
 * and 0fr (collapsed), animating to the content's natural height with no fixed
 * max-height guess. The inner needs min-height:0 + overflow:hidden to clip.
 *
 * Modal: the section becomes a fixed overlay with a white .7 backdrop; the
 * inner becomes a centred, scrollable dialog (max-height 80vh).
 */
/* Inline collapse animator. */
.intro-sh-section:not(.intro-sh-as-modal) {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 320ms ease;
}
.intro-sh-section:not(.intro-sh-as-modal) > .intro-sh-section__inner {
  min-height: 0;
  overflow: hidden;
  transition: opacity 240ms ease;
}
.intro-sh-section:not(.intro-sh-as-modal).intro-sh-collapsed {
  grid-template-rows: 0fr;
}
.intro-sh-section:not(.intro-sh-as-modal).intro-sh-collapsed > .intro-sh-section__inner {
  opacity: 0;
}

/* Modal overlay. */
.intro-sh-section.intro-sh-as-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  max-width: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 1rem;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  transition: opacity 240ms ease;
}
.intro-sh-section.intro-sh-as-modal > .intro-sh-section__inner {
  width: 100%;
  max-width: var(--wp--style--global--content-size, 740px);
  max-height: 80vh;
  overflow-y: auto;
  margin: 0;
  background: var(--wp--preset--color--base, #fff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 240ms ease, opacity 240ms ease;
}
.intro-sh-section.intro-sh-as-modal > .intro-sh-section__inner.intro-sh-w-wide {
  max-width: var(--wp--style--global--wide-size, 1210px);
}
.intro-sh-section.intro-sh-as-modal > .intro-sh-section__inner.intro-sh-w-full {
  max-width: none;
}
.intro-sh-section.intro-sh-as-modal.intro-sh-collapsed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-sh-section.intro-sh-as-modal.intro-sh-collapsed > .intro-sh-section__inner {
  transform: translateY(1rem);
  opacity: 0;
}

/* While a modal is open, freeze the page behind it. */
html.intro-sh-modal-open {
  overflow: hidden;
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .intro-sh-section,
  .intro-sh-section > .intro-sh-section__inner {
    transition: none;
  }
}
/*
 * Toggles (button / heading).
 */
.intro-sh-toggle {
  cursor: pointer;
}
.intro-sh-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.intro-sh-toggle .intro-block-icon > * {
  display: inline-block;
  transition: transform 320ms ease;
}
.intro-sh-toggle.is-sh-open .intro-block-icon > * {
  transform: rotate(180deg);
}

h1.intro-sh-toggle,
h2.intro-sh-toggle,
h3.intro-sh-toggle,
h4.intro-sh-toggle,
h5.intro-sh-toggle,
h6.intro-sh-toggle {
  user-select: none;
}

.intro-sh-close {
  cursor: pointer;
}
