/* Additional section layouts: video, CTA, FAQ, etc. */

.wiola-video-single__embed,
.wiola-video-wide,
.wiola-video-hero .wiola-video-embed,
.wiola-video-text__media .wiola-video-embed,
.wiola-video-grid-two__item .wiola-video-embed {
  max-width: var(--wiola-video-max-width, 100%);
  margin-inline: auto;
}

.wiola-video-embed__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #1a1917;
  border-radius: 4px;
  overflow: hidden;
}

.wiola-video-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wiola-video-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.06);
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  text-align: center;
  color: var(--wiola-text);
  opacity: 0.75;
}

.wiola-builder .wiola-link-editable {
  cursor: pointer;
}

.wiola-builder .wiola-link-editable:hover .wiola-video-placeholder,
.wiola-builder .wiola-link-editable:focus-visible .wiola-video-placeholder {
  border-color: rgba(91, 107, 82, 0.55);
  background: rgba(91, 107, 82, 0.08);
}

/* Custom HTML / iframe embed */
.wiola-custom-html__body {
  max-width: var(--wiola-video-max-width, 100%);
  margin-inline: auto;
}

.wiola-embed-html__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #1a1917;
  border-radius: 4px;
  overflow: hidden;
}

.wiola-embed-html__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wiola-embed-html-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.06);
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  text-align: center;
  color: var(--wiola-text);
  opacity: 0.75;
}

.wiola-builder .wiola-html-editable {
  cursor: pointer;
}

.wiola-builder .wiola-html-editable:hover .wiola-embed-html-placeholder,
.wiola-builder .wiola-html-editable:focus-visible .wiola-embed-html-placeholder {
  border-color: rgba(91, 107, 82, 0.55);
  background: rgba(91, 107, 82, 0.08);
}

.wiola-video-single h2,
.wiola-video-hero h2,
.wiola-video-grid-two h2 {
  margin-bottom: 1.25rem;
}

.wiola-video-wide {
  max-width: 100%;
  padding-inline: 0;
}

.wiola-video-wide .wiola-video-embed__frame {
  border-radius: 0;
}

.wiola-video-hero .wiola-lead {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.wiola-video-grid-two__item h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.wiola-video-text__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wiola-video-text__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.wiola-hero-minimal {
  text-align: center;
  padding-block: 4rem 3rem;
}

.wiola-hero-minimal .wiola-lead {
  max-width: 36rem;
  margin: 0.75rem auto 1.5rem;
}

.wiola-cta-banner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(92, 107, 82, 0.12);
  border-radius: 4px;
}

.wiola-cta-banner h2 {
  margin-bottom: 0.5rem;
}

.wiola-cta-banner p {
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.wiola-testimonial {
  margin: 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--wiola-accent);
}

.wiola-testimonial footer {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.wiola-stat {
  text-align: center;
  padding: 1rem;
}

.wiola-stat__value {
  font-family: var(--wiola-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.25rem;
}

.wiola-stat__label {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.wiola-faq__item {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wiola-faq__item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.wiola-faq__item p {
  margin: 0;
  opacity: 0.9;
}

.wiola-team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.wiola-step {
  padding: 1rem 0;
}

.wiola-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wiola-accent);
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.wiola-newsletter {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.wiola-logo-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.wiola-logo-img {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}

.wiola-split-cta__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .wiola-split-cta__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wiola-social-bar {
  text-align: center;
}

.wiola-social-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.wiola-spacer--small { min-height: 2rem; }
.wiola-spacer--medium { min-height: 4rem; }
.wiola-spacer--large { min-height: 6rem; }

.wiola-builder .wiola-spacer {
  outline: 1px dashed rgba(0, 0, 0, 0.12);
  position: relative;
}

.wiola-spacer-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  opacity: 0.5;
  pointer-events: none;
}

.wiola-two-col__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wiola-two-col__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wiola-banner-quote {
  background: rgba(92, 107, 82, 0.15);
  padding-block: 3rem;
}

.wiola-banner-quote blockquote {
  margin: 0;
  text-align: center;
}

.wiola-banner-quote p {
  font-family: var(--wiola-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.wiola-banner-quote cite {
  font-style: normal;
  opacity: 0.8;
}

.wiola-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.wiola-feature p {
  margin: 0;
  opacity: 0.9;
}

.wiola-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .wiola-grid--2,
  .wiola-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Social widgets */
.wiola-social-note {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0 0 1rem;
  max-width: 42rem;
}

.wiola-builder .wiola-social-note {
  background: rgba(255, 255, 200, 0.35);
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
}

.wiola-social-embed__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.wiola-social-embed__frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.wiola-social-embed--facebook .wiola-social-embed__frame iframe {
  min-height: 420px;
}

.wiola-social-embed--instagram .wiola-social-embed__frame {
  max-width: 340px;
  margin-inline: auto;
}

.wiola-social-embed--instagram .wiola-social-embed__frame iframe {
  min-height: 480px;
}

.wiola-social-embed--youtube .wiola-social-embed__frame {
  padding-bottom: 56.25%;
  height: 0;
}

.wiola-social-embed--youtube .wiola-social-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wiola-social-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.04);
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.wiola-social-follow {
  margin-top: 1.25rem;
  text-align: center;
}

.wiola-social-instagram__grid {
  align-items: start;
}

.wiola-social-facebook,
.wiola-social-youtube,
.wiola-social-instagram {
  text-align: center;
}

.wiola-social-facebook h2,
.wiola-social-youtube h2,
.wiola-social-instagram h2 {
  margin-bottom: 0.5rem;
}
