/* ==========================================================================
   SlideEgg — Quizzes page
   Spacing + typography aligned to Multiple Choice (.se-mc) system.
   Visual design (colors, shapes, structure) preserved.
   ========================================================================== */

.se-quizzes {
  --color-primary: #4848FF;
  --color-primary-dark: #2E1FA0;
  --color-primary-tint: #E4E4FF;
  --color-accent: #FF1717;
  --color-accent-tint: #FFE3E3;
  --color-gradient: linear-gradient(90deg, #4D4DFF 0%, #7B3FE4 35%, #C02AA7 70%, #E61E2A 100%);
  --color-bg: #FFFFFF;
  --color-bg-alt: #F1F1FF;
  --color-text: #14141F;
  --color-text-muted: #5B5B70;
  --color-border: #E7E7F3;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --pad-x: clamp(20px, 6vw, 80px);
  --section-y: clamp(48px, 7vw, 60px);
  --content-max: 1300px;
  --head-max: 640px;
  color: #2A2320;
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: 60px;
  /* IMPORTANT: do not set overflow-x/overflow here.
     Any non-visible overflow on an ancestor breaks position:sticky
     for the How It Works pin stage. */
  width: 100%;
}

.se-quizzes,
.se-quizzes *,
.se-quizzes *::before,
.se-quizzes *::after {
  box-sizing: border-box;
}

.se-quizzes h1,
.se-quizzes h2,
.se-quizzes h3,
.se-quizzes p,
.se-quizzes ul,
.se-quizzes ol,
.se-quizzes figure,
.se-quizzes blockquote {
  margin: 0;
  padding: 0;
}

.se-quizzes img {
  max-width: 100%;
  display: block;
  height: auto;
}

.se-quizzes a {
  color: var(--color-primary);
  text-decoration: none;
}

.se-quizzes a:hover {
  color: var(--color-primary-dark);
}

.se-quizzes ul {
  list-style: none;
}

/* Buttons */
.se-quizzes .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: transform .15s ease, opacity .15s ease, background-color .2s ease, border-color .2s ease;
}

.se-quizzes .btn:hover {
  transform: translateY(-2px);
}

.se-quizzes .btn-primary {
  background: var(--color-gradient);
  color: #fff;
}

.se-quizzes .btn-primary:hover {
  opacity: .92;
  color: #fff;
}

.se-quizzes .btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.se-quizzes .btn-outline:hover {
  background: var(--color-primary-tint);
}

.se-quizzes .btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* Eyebrow — closer to MC badge scale */
.se-quizzes .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3A3AE0;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.se-quizzes .eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

/* Section headings — MC hierarchy */
.se-quizzes .section-heading {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--color-text);
  text-wrap: pretty;
}

.se-quizzes .section-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* Shared section head spacing (MC uses ~40px below headings) */
.se-quizzes .types-head,
.se-quizzes .steps-head {
  max-width: var(--content-max);
  margin: 0 auto 40px;
}

.se-quizzes .container,
body.banner-visible .se-quizzes .container {
  max-width: 1300px;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  height: auto;
  display: block;
  background: none;
}

/* Hero */
.se-quizzes .hero {
  padding: clamp(48px, 8vw, 50px) var(--pad-x) clamp(30px, 5vw, 60px);
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(72, 72, 255, 0.14) 0%, transparent 60%), #F4F4FF;
}

.se-quizzes .hero-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.se-quizzes .hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 46px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--color-text);
  text-wrap: pretty;
}

.se-quizzes .hero-copy p {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.55;
  text-wrap: pretty;
}

.se-quizzes .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.se-quizzes .hero-visual {
  position: relative;
}

.se-quizzes .hero-blob {
  position: absolute;
  inset: 6% 8%;
  background: var(--color-bg-alt);
  border-radius: 40% 60% 55% 45%/50% 45% 55% 50%;
  z-index: 0;
}

.se-quizzes .hero-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.se-quizzes .hero-badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary-dark);
  box-shadow: 0 12px 24px -12px rgba(23, 18, 38, .2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.se-quizzes .hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.se-quizzes .hero-badge.top {
  top: -8%;
  left: -6%;
}

.se-quizzes .hero-badge.bottom {
  bottom: -6%;
  right: -4%;
}

/* Quiz types — left tabs + right panel (Live Polls pattern) */
.se-quizzes .types {
  padding: var(--section-y) var(--pad-x);
  background: #fff;
}

.se-quizzes .types-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.se-quizzes .types-head {
  text-align: center;
  margin-bottom: 36px;
}

.se-quizzes .types-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.se-quizzes .se-q-typetab-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.se-quizzes .se-q-typetab-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.se-quizzes .se-q-typetab-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  flex: 0 0 auto;
  min-width: 180px;
}

.se-quizzes .se-q-typetab-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: #43435A;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.se-quizzes .se-q-typetab-btn:hover {
  background: linear-gradient(28deg, #4848ff, #ff1717);
  color: #fff;
  border-color: transparent;
  transform: translateX(2px);
  box-shadow: 0 10px 22px -16px rgba(72, 72, 255, 0.4);
}

.se-quizzes .se-q-tab-label {
  flex: 1 1 auto;
  line-height: 1.3;
}

.se-quizzes .se-q-typetab-panelwrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.se-quizzes .se-q-typetab-panel {
  display: none;
  flex: 0 0 auto;
  flex-wrap: wrap-reverse;
  gap: 28px;
  align-items: center;
  align-content: flex-start;
  background: linear-gradient(160deg, #F4F4FF 0%, #EFEFFF 100%);
  border-radius: 4px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #E9E9F9;
  animation: se-q-panelIn .45s cubic-bezier(.16, .84, .44, 1) both;
}

@keyframes se-q-panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.se-quizzes #se-q-tt0:checked ~ .se-q-typetab-layout .se-q-typetab-bar label[for="se-q-tt0"],
.se-quizzes #se-q-tt1:checked ~ .se-q-typetab-layout .se-q-typetab-bar label[for="se-q-tt1"],
.se-quizzes #se-q-tt2:checked ~ .se-q-typetab-layout .se-q-typetab-bar label[for="se-q-tt2"],
.se-quizzes #se-q-tt3:checked ~ .se-q-typetab-layout .se-q-typetab-bar label[for="se-q-tt3"] {
  border-color: #4848FF;
  background: linear-gradient(135deg, #4848FF, #6A6AFF);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(72, 72, 255, 0.55);
}

.se-quizzes #se-q-tt0:checked ~ .se-q-typetab-layout .se-q-typetab-panelwrap #se-q-panel0,
.se-quizzes #se-q-tt1:checked ~ .se-q-typetab-layout .se-q-typetab-panelwrap #se-q-panel1,
.se-quizzes #se-q-tt2:checked ~ .se-q-typetab-layout .se-q-typetab-panelwrap #se-q-panel2,
.se-quizzes #se-q-tt3:checked ~ .se-q-typetab-layout .se-q-typetab-panelwrap #se-q-panel3 {
  display: flex;
}

.se-quizzes .se-q-panel-info {
  flex: 1 1 320px;
  min-width: 260px;
}

.se-quizzes .se-q-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8E8FF;
  color: #3A3AE0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .03em;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.se-quizzes .se-q-panel-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.se-quizzes .se-q-panel-desc {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 440px;
}

.se-quizzes .se-q-panel-facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  max-width: 440px;
}

.se-quizzes .se-q-panel-facts li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.se-quizzes .se-q-panel-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.se-quizzes .se-q-panel-facts strong {
  color: var(--color-text);
  font-weight: 600;
}

.se-quizzes .se-q-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.se-quizzes .se-q-panel-cta-arrow {
  display: inline-block;
  transition: transform .25s ease;
}

.se-quizzes .se-q-panel-cta:hover {
  background: linear-gradient(28deg, #4848ff, #ff1717);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.se-quizzes .se-q-panel-cta:hover .se-q-panel-cta-arrow {
  transform: translateX(5px);
}

.se-quizzes .se-q-panel-visual {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.se-quizzes .se-q-panel-image {
  width: 100%;
  max-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  background: #E8E8F8;
  box-shadow: 0 20px 40px -20px rgba(20, 20, 31, 0.26);
  aspect-ratio: 390 / 280;
}

.se-quizzes .se-q-panel-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* How it works — pinned sticky storytelling stack */
.se-quizzes .steps {
  --steps-count: 5;
  --steps-pin-top: 72px;
  padding: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(72, 72, 255, 0.06), transparent 60%),
    #fff;
  position: relative;
}

.se-quizzes .steps-pin-track {
  position: relative;
  height: calc(var(--steps-count) * 100vh);
}

.se-quizzes .steps-pin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--steps-pin-top) + 12px) var(--pad-x) 28px;
  box-sizing: border-box;
}

.se-quizzes .steps-pin-inner {
  width: 100%;
  max-width: min(1100px, var(--content-max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
}

.se-quizzes .steps .steps-head {
  max-width: none;
  margin: 0;
  flex-shrink: 0;
}

.se-quizzes .steps .steps-head .section-sub {
  margin-top: 10px;
}

.se-quizzes .steps-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.se-quizzes .steps-progress__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D8D8F0;
  transition: transform 0.35s ease, background 0.35s ease, width 0.35s ease;
}

.se-quizzes .steps-progress__dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4848FF, #FF1717);
}

.se-quizzes .steps-progress__dot.is-done {
  background: #4848FF;
}

.se-quizzes .steps-stack {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 280px;
  max-height: min(520px, calc(100vh - 260px));
  height: min(520px, calc(100vh - 260px));
}

.se-quizzes .step-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(28%) scale(0.96);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    visibility 0.45s ease,
    filter 0.45s ease;
  will-change: transform, opacity;
}

.se-quizzes .step-panel.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.se-quizzes .step-panel.is-stacked {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(calc(var(--stack-offset, 0) * -10px)) scale(calc(1 - (var(--stack-depth, 0) * 0.035)));
  filter: brightness(calc(1 - (var(--stack-depth, 0) * 0.05)));
}

.se-quizzes .step-panel.is-active {
  z-index: 20;
}

.se-quizzes .step-panel.is-stacked {
  z-index: calc(5 + var(--stack-z, 0));
}

.se-quizzes .step-panel__card {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: #fff;
  border: 1px solid #E7E7F3;
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  box-shadow:
    0 24px 50px -28px rgba(20, 20, 31, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.se-quizzes .step-panel.is-active .step-panel__card {
  border-color: #C9C9F2;
  box-shadow:
    0 30px 60px -28px rgba(46, 46, 204, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.se-quizzes .step-panel__index {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: clamp(52px, 7vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(135deg, rgba(72, 72, 255, 0.14), rgba(255, 23, 23, 0.1));
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.se-quizzes .step-panel__copy {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.se-quizzes .step-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E8E8FF;
  color: #3A3AE0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.se-quizzes .step-panel__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.se-quizzes .step-panel__copy h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.se-quizzes .step-panel__copy p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 42ch;
}

.se-quizzes .step-panel__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E7E7F3;
  background: var(--color-bg-alt);
  aspect-ratio: 4 / 3;
  max-height: 100%;
}

.se-quizzes .step-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.se-quizzes .steps-cta {
  text-align: center;
  padding: 40px var(--pad-x) var(--section-y);
  position: relative;
  z-index: 2;
  background: #fff;
}

/* Fallback: stacked static cards */
.se-quizzes .steps.is-static .steps-pin-track {
  height: auto;
}

.se-quizzes .steps.is-static .steps-pin-stage {
  position: relative;
  height: auto;
  overflow: visible;
  padding: var(--section-y) var(--pad-x) 0;
}

.se-quizzes .steps.is-static .steps-stack {
  position: static;
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.se-quizzes .steps.is-static .step-panel {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  filter: none;
}

.se-quizzes .steps.is-static .steps-progress {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .se-quizzes .step-panel {
    transition: none;
  }
}

/* Testimonials — Multiple Choice layout */
.se-quizzes .testimonials {
  background: #FFFFFF;
  padding: var(--section-y) var(--pad-x);
}

.se-quizzes .testimonials__header {
  text-align: center;
  margin: 0 auto 40px;
}

.se-quizzes .testimonials__header h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: #14141F;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.se-quizzes .testimonials__header p {
  color: #5B5B70;
  font-size: 16px;
  margin: 0;
  line-height: 1.65;
}

.se-quizzes .testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.se-quizzes .testimonial-card {
  border: 1.5px solid #E2E2F7;
  border-radius: 18px;
  padding: 28px;
  background: #FFFDFB;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.se-quizzes .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 36px -18px rgba(20, 20, 31, 0.18);
}

.se-quizzes .testimonial-card__stars {
  color: #4848FF;
  font-size: 15px;
  margin-bottom: 14px;
}

.se-quizzes .testimonial-card__quote {
  font-style: italic;
  color: #26263D;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.se-quizzes .testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.se-quizzes .testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #E2E2F7;
  color: #4848FF;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.se-quizzes .testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #14141F;
}

.se-quizzes .testimonial-card__role {
  font-size: 12px;
  color: #7A7A94;
  margin-top: 2px;
}

/* FAQ — Multiple Choice accordion */
.se-quizzes .faq {
  padding: var(--section-y) var(--pad-x);
  background: #F1F1FF;
}

.se-quizzes .faq__inner {
  max-width: 760px;
  margin: 0 auto;
}

.se-quizzes .faq__inner h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: #14141F;
  margin: 0 0 12px;
  line-height: 1.2;
  text-align: center;
}

.se-quizzes .faq__desc {
  margin: 0 auto 30px;
  color: #5B5B70;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  max-width: 52ch;
}

.se-quizzes .faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.se-quizzes .faq-item {
  background: #fff;
  border: 1px solid #E2E2F7;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.se-quizzes .faq-item.is-open {
  border-color: #C9C9FF;
  box-shadow: 0 14px 30px -18px rgba(20, 20, 31, 0.22);
}

.se-quizzes .faq-item__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #14141F;
  cursor: pointer;
  font-family: inherit;
}

.se-quizzes .faq-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #EFEFFF;
  color: #4848FF;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.se-quizzes .faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: #4848FF;
  color: #fff;
}

.se-quizzes .faq-item__answer {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #5B5B70;
  border-top: 1px solid #EEEEF7;
  padding-top: 14px;
  margin-top: 2px;
}

/* CTA banner */
.se-quizzes .cta-banner {
  margin: var(--section-y) var(--pad-x);
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.se-quizzes .cta-banner h2 {
  position: relative;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 600px;
  text-wrap: pretty;
  color: var(--color-text);
}

.se-quizzes .cta-banner p {
  position: relative;
  margin: 0;
  max-width: 560px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.se-quizzes .cta-banner__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.se-quizzes .cta-banner .btn {
  position: relative;
}

@media (max-width: 860px) {
  .se-quizzes .se-q-typetab-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .se-quizzes .se-q-typetab-bar {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    flex: 0 0 auto;
    position: static;
    gap: 10px;
    align-self: auto;
    min-height: 0;
    height: auto;
  }

  .se-quizzes .se-q-typetab-btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    border-radius: 100px;
    padding: 9px 14px;
    min-height: auto;
  }

  .se-quizzes .se-q-typetab-btn:hover {
    transform: none;
  }

  .se-quizzes .se-q-typetab-panelwrap {
    display: block;
    align-self: auto;
  }

  .se-quizzes .se-q-typetab-panel {
    min-height: auto;
    flex: none;
    align-content: flex-start;
  }

  .se-quizzes .se-q-panel-image {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .se-quizzes .hero-grid {
    grid-template-columns: 1fr;
  }

  .se-quizzes .steps {
    --steps-pin-top: 64px;
  }

  .se-quizzes .steps-pin-track {
    height: calc(var(--steps-count) * 95vh);
  }

  .se-quizzes .steps-stack {
    height: min(560px, calc(100vh - 230px));
    max-height: min(560px, calc(100vh - 230px));
  }

  .se-quizzes .step-panel__card {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .se-quizzes .step-panel__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .se-quizzes .step-panel__index {
    font-size: 52px;
    right: 12px;
  }
}

@media (max-width: 520px) {
  .se-quizzes .se-q-typetab-bar {
    gap: 8px;
  }

  .se-quizzes .se-q-typetab-btn {
    font-size: 13px;
    padding: 8px 12px;
  }

  .se-quizzes .se-q-panel-title {
    font-size: 22px;
  }

  .se-quizzes .se-q-panel-desc {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .se-quizzes .step-panel__card {
    padding: 18px;
  }

  .se-quizzes .steps {
    --steps-pin-top: 56px;
  }

  .se-quizzes .steps-pin-track {
    height: calc(var(--steps-count) * 90vh);
  }

  .se-quizzes .steps-pin-stage {
    padding-bottom: 20px;
  }

  .se-quizzes .steps-stack {
    min-height: 320px;
    height: min(480px, calc(100vh - 210px));
    max-height: min(480px, calc(100vh - 210px));
  }

  .se-quizzes .step-panel__card {
    gap: 14px;
    border-radius: 18px;
  }

  .se-quizzes .step-panel__index {
    font-size: 44px;
    top: 2px;
    right: 10px;
  }

  .se-quizzes .step-panel__copy h3 {
    font-size: 18px;
  }

  .se-quizzes .step-panel__copy p {
    font-size: 14px;
  }
}
