/**
 * Reusable front-end components.
 *
 * The previous components.css contained legacy Gutenberg/page-atelier styles.
 * It has been replaced with prefixed components extracted from the new
 * workshop page standard.
 */
.vs-title-hero,
.vs-title-section,
.vs-title-block,
.vs-title-card {
  margin: 0;
  color: var(--vs-color-text);
  font-weight: 850;
}

.vs-title-hero {
  max-width: 640px;
  font-size: var(--vs-text-hero);
  line-height: .98;
  letter-spacing: -.058em;
  font-weight: 800;
}

.vs-title-section {
  font-size: var(--vs-text-section);
  line-height: var(--vs-lh-tight);
  letter-spacing: var(--vs-track-tight);
  font-weight: 900;
}

.vs-title-block {
  font-size: var(--vs-text-block);
  line-height: var(--vs-lh-tight);
  letter-spacing: -.03em;
}

.vs-title-card {
  font-size: var(--vs-text-card);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.vs-text-body,
.vs-section__sub {
  color: var(--vs-color-text-soft);
  font-size: var(--vs-text-body);
  line-height: var(--vs-lh-body);
  font-weight: 500;
}

.vs-text-body {
  margin: 0;
}

.vs-text-support,
.vs-text-meta {
  margin: 0;
  color: var(--vs-color-text-muted);
  font-weight: 500;
}

.vs-text-support {
  font-size: var(--vs-text-support);
  line-height: 1.6;
}

.vs-text-meta {
  font-size: var(--vs-text-meta);
  line-height: 1.55;
}

.vs-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--vs-color-line);
  border-radius: var(--vs-radius-md);
  box-shadow: var(--vs-shadow-soft);
}

.vs-card--interactive {
  transition: transform var(--vs-transition), box-shadow var(--vs-transition), border-color var(--vs-transition);
}

.vs-card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--vs-shadow-hover);
  border-color: var(--vs-blue-ui-soft);
}

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--vs-radius-pill);
  background: linear-gradient(135deg, var(--vs-blue-primary), var(--vs-blue-primary-soft));
  color: var(--vs-color-white);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px var(--vs-blue-ui-soft);
  transition: transform var(--vs-transition), box-shadow var(--vs-transition), filter var(--vs-transition);
}

.vs-btn:hover {
  color: var(--vs-color-white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px var(--vs-blue-dot);
  filter: saturate(1.05);
}

.vs-btn--primary {
  width: 100%;
  min-height: 64px;
  border-radius: var(--vs-radius-sm);
  padding: 0 24px;
  font-size: 17px;
}

.vs-btn--secondary {
  padding: 15px 26px;
  font-size: 15px;
}

.vs-icon-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--vs-blue-ui-soft);
  color: var(--vs-blue-primary);
}

.vs-icon-badge--sm {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 900;
}

.vs-icon-badge--lg {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.vs-icon-badge svg {
  width: 42px;
  height: 42px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vs-form-label {
  display: block;
  margin-bottom: 9px;
  color: var(--vs-color-text);
  font-size: var(--vs-text-meta);
  font-weight: 850;
}

.vs-form-input,
.vs-form-select {
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--vs-color-input-border);
  border-radius: var(--vs-radius-sm);
  padding: 0 18px;
  color: var(--vs-color-text-soft);
  background: var(--vs-color-white);
  font: inherit;
  font-size: 16px;
  outline: none;
}

.vs-form-input:focus,
.vs-form-select:focus {
  border-color: var(--vs-blue-dot);
  box-shadow: 0 0 0 4px var(--vs-blue-ui-soft);
}

.vs-decor-circle,
.vs-decor-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: var(--vs-blue-float);
}

.vs-decor-dot {
  background: var(--vs-blue-ui-soft);
}

.vs-image-round {
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--vs-color-white);
  box-shadow: 0 28px 60px rgba(43, 67, 76, .12);
}

.vs-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: var(--vs-space-2);
}

.vs-faq-item {
  overflow: hidden;
}

.vs-faq-question {
  width: 100%;
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vs-space-3);
  border: 0;
  background: transparent;
  color: var(--vs-color-text);
  font: inherit;
  font-size: var(--vs-text-body);
  line-height: 1.35;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.vs-faq-question:focus-visible {
  outline: 3px solid var(--vs-blue-ui-soft);
  outline-offset: -6px;
}

.vs-faq-icon {
  position: relative;
}

.vs-faq-icon::before,
.vs-faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: var(--vs-radius-pill);
  background: currentColor;
  transform: translate(-50%, -50%);
}

.vs-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.vs-faq-question[aria-expanded="true"] .vs-faq-icon {
  background: var(--vs-blue-primary);
  color: var(--vs-color-white);
  transform: rotate(45deg);
}

.vs-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--vs-transition);
}

.vs-faq-answer__inner {
  overflow: hidden;
}

.vs-faq-item.is-open .vs-faq-answer {
  grid-template-rows: 1fr;
}

.vs-faq-answer p {
  padding: 0 34px 32px;
  font-size: var(--vs-text-body);
  line-height: 1.68;
}

.vs-faq-question:focus,
.vs-faq-question:active {
  outline: none;
  box-shadow: none;
}

.vs-faq-question:focus-visible {
  outline: 3px solid var(--vs-blue-ui-soft);
  outline-offset: -6px;
  box-shadow: none;
}

@media (max-width: 720px) {
  .vs-title-hero {
    font-size: 46px;
  }

  .vs-title-block {
    font-size: 24px;
  }

  .vs-icon-badge--lg {
    width: 58px;
    height: 58px;
    border-radius: var(--vs-radius-sm);
  }

  .vs-icon-badge--lg svg {
    width: 34px;
    height: 34px;
  }

  .vs-faq-question {
    min-height: 76px;
    padding: 0 24px;
  }

  .vs-faq-answer p {
    padding: 0 24px 26px;
  }
}

/* Workshop booking benefit icons: cropped PNG assets with consistent visual height. */
.vs-workshop-benefit-icon {
  display: block;
  width: auto;
  height: 24px;
  max-width: 28px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
