/* Figma 1286:22484 — framed email examples. Keep the existing editable artwork. */
.figma-lio.fl27-home .fl-email-transform {
  --fl-gallery-frame-width: 500px;
  --fl-gallery-frame-height: 576px;
  --fl-gallery-art-width: 330px;
}

.figma-lio.fl27-home .fl-email-transform::before,
.figma-lio.fl27-home .fl-email-transform::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 72px;
  width: 56px;
  height: 68px;
  background: url(email-gallery-cube-20261120.svg) center / contain no-repeat;
  pointer-events: none;
}
.figma-lio.fl27-home .fl-email-transform::before { left: max(80px, calc((100vw - 1120px) / 2)); }
.figma-lio.fl27-home .fl-email-transform::after { right: max(98px, calc((100vw - 1120px) / 2)); transform: rotate(21deg) scale(.75); }

.figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-center {
  max-width: 900px;
  margin-bottom: 16px;
}
.figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-email-subtitle {
  width: calc(100% - 40px);
  max-width: 780px;
  margin: 0 auto 24px;
  color: #580842;
  font: 400 18px/30px 'Poppins',sans-serif;
  text-align: center;
  text-wrap: balance;
}
.figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-email-explore {
  justify-content: center;
  margin: 0 auto 48px;
}

.figma-lio.fl27-home .fl-email-transform .fl-messages h2 {
  font-size: 58px;
  line-height: 72px;
}

.figma-lio.fl27-home .fl-email-transform .fl-template-track {
  align-items: stretch;
  gap: 10px;
  padding-bottom: 0;
}

/* A duplicated track gives the cards a continuous right-to-left marquee. */
.figma-lio.fl27-home .fl-email-transform .fl-template-track.fl-template-marquee {
  display: block;
  overflow: hidden;
  padding: 0;
  scroll-snap-type: none;
}
.figma-lio.fl27-home .fl-email-transform .fl-template-marquee-belt {
  display: flex;
  width: max-content;
  gap: 0;
  animation: fl-template-marquee-left var(--fl-template-marquee-duration, 60s) linear infinite;
  will-change: transform;
}
.figma-lio.fl27-home .fl-email-transform .fl-template-marquee-set {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 10px;
  padding-right: 10px;
}
.figma-lio.fl27-home .fl-email-transform .fl-template-track:is(:hover, :focus-within, :active) .fl-template-marquee-belt {
  animation-play-state: paused;
}
.figma-lio.fl27-home .fl-email-transform .fl-template-marquee-static .fl-template-marquee-belt,
.figma-lio.fl27-home .fl-email-transform .fl-template-marquee-static:is(:hover, :focus-within, :active) .fl-template-marquee-belt {
  animation: none;
  transform: none;
  will-change: auto;
}
.figma-lio.fl27-home .fl-email-transform .fl-template-track.fl-template-marquee-static {
  overflow-x: auto;
}
@keyframes fl-template-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .figma-lio.fl27-home .fl-email-transform .fl-template-marquee-belt { animation: none; transform: none; will-change: auto; }
}

.figma-lio.fl27-home .fl-email-transform .fl-template-native {
  position: relative;
  display: flex;
  flex: 0 0 var(--fl-gallery-frame-width);
  align-items: flex-start;
  justify-content: center;
  width: var(--fl-gallery-frame-width);
  height: var(--fl-gallery-frame-height);
  padding-top: 75px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
  scroll-snap-align: start;
}

.figma-lio.fl27-home .fl-email-transform .fl-template-native > .fl25-gallery-art {
  flex: 0 0 var(--fl-gallery-art-width);
  width: var(--fl-gallery-art-width);
  height: calc(var(--fl-gallery-art-width) * 438 / 255);
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(1) { background: #7d6095; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:first-child { flex-basis: 494px; width: 494px; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(2) { background: #f75833; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(3) { background: #4c4628; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(4) { background: #cc4da3; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(5) { background: #2c2a43; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(6) { background: #efe5d8; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(7) { background: #a4a4a5; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(8) { background: #ffbeab; }
.figma-lio.fl27-home .fl-email-transform .fl-template-native:nth-child(9) { background: #580842; }

.figma-lio.fl27-home .fl-email-transform .fl-draft-row {
  padding-top: 40px;
  gap: 16px;
}

.figma-lio.fl27-home .fl-email-transform .fl-draft-row > h2.wp-block-heading:not(.screen-reader-text) {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: .4px;
}

.figma-lio.fl27-home .fl-email-transform .fl-draft-copy .wp-block-buttons { justify-content: center; margin-top: 0; }

@media (max-width: 800px) {
  .figma-lio.fl27-home .fl-email-transform {
    --fl-gallery-frame-width: min(400px, calc(100vw - 64px));
    --fl-gallery-frame-height: 510px;
    --fl-gallery-art-width: min(300px, calc(100vw - 128px));
  }
  .figma-lio.fl27-home .fl-email-transform .fl-template-native { padding-top: 54px; }
  .figma-lio.fl27-home .fl-email-transform .fl-messages h2 { font-size: 52px; line-height: 60px; }
  .figma-lio.fl27-home .fl-email-transform .fl-template-native:first-child { flex-basis: var(--fl-gallery-frame-width); width: var(--fl-gallery-frame-width); }
  .figma-lio.fl27-home .fl-email-transform::before { left: 32px; }
  .figma-lio.fl27-home .fl-email-transform::after { right: 32px; }
}

@media (max-width: 600px) {
  .figma-lio.fl27-home .fl-email-transform {
    --fl-gallery-frame-width: calc(100vw - 40px);
    --fl-gallery-frame-height: 470px;
    --fl-gallery-art-width: calc(100vw - 116px);
  }
  .figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-center { margin-bottom: 16px; }
  .figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-email-subtitle { margin-bottom: 24px; font-size: 16px; line-height: 26px; }
  .figma-lio.fl27-home .fl-email-transform .fl-messages > .fl-container > .fl-email-explore { margin-bottom: 32px; }
  .figma-lio.fl27-home .fl-email-transform .fl-messages h2 { font-size: 42px; line-height: 48px; }
  .figma-lio.fl27-home .fl-email-transform .fl-template-native { padding-top: 42px; border-radius: 20px; }
  .figma-lio.fl27-home .fl-email-transform .fl-draft-row { padding-top: 28px; }
  .figma-lio.fl27-home .fl-email-transform::before,
  .figma-lio.fl27-home .fl-email-transform::after { top: 28px; width: 36px; height: 44px; }
  .figma-lio.fl27-home .fl-email-transform::before { left: 20px; }
  .figma-lio.fl27-home .fl-email-transform::after { right: 20px; }
  .figma-lio.fl27-home .fl-email-transform .fl-draft-row > h2.wp-block-heading:not(.screen-reader-text) {
    font-size: 36px;
    line-height: 42px;
  }
}
