/* Editorial Romance V3.5.7 — final alignment and motion corrections. */

/*
 * The proof strip is readable by default. JavaScript opts it into motion only
 * when the visitor has not requested reduced motion, so the no-JS state never
 * strands copy outside the viewport.
 */
.editorial-romance-v3-5 .trust-line {
  display: block;
}

.editorial-romance-v3-5 .trust-line-viewport {
  width: 100%;
  min-width: 0;
  padding-right: 0;
}

.editorial-romance-v3-5 .proof-strip-toggle {
  display: none !important;
}

.editorial-romance-v3-5 .trust-line-track {
  display: block;
  width: 100%;
  animation: none !important;
  transform: none;
  will-change: auto;
}

.editorial-romance-v3-5 .trust-line-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  white-space: normal;
}

.editorial-romance-v3-5 .trust-line-copy[aria-hidden="true"] {
  display: none;
}

.editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-track {
  display: flex;
  width: max-content;
  animation: swp-v357-proof 52s linear infinite !important;
  will-change: transform;
}

.editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-copy {
  display: flex;
  width: auto;
  min-width: max-content;
  flex: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-copy[aria-hidden="true"] {
  display: flex;
}

.editorial-romance-v3-5 .trust-line.is-paused .trust-line-track {
  animation-play-state: paused !important;
}

@keyframes swp-v357-proof {
  to { transform: translateX(-50%); }
}

/* Centre both founder captions across the full photographic frame. */
.editorial-romance-v3-5 .about-media figcaption,
.events-page .event-founder-photo figcaption {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  justify-items: center;
  text-align: center;
}

.editorial-romance-v3-5 .about-media figcaption :is(strong, span),
.events-page .event-founder-photo figcaption :is(strong, span) {
  width: 100%;
}

/* Keep the wedding portrait and its caption in one complete, visible frame. */
.editorial-romance-v3-5 .about-media .about-photo {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  aspect-ratio: auto;
  overflow: hidden;
}

.editorial-romance-v3-5 .about-media .about-photo > img {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* The removed gallery deck no longer leaves a second, empty rhythm block. */
.editorial-romance-v3-5 .swp-page-content .weddings-section .editorial-heading {
  margin-bottom: 0;
}

.editorial-romance-v3-5 .weddings-section .wedding-composition {
  margin-top: clamp(24px, 2.5vw, 34px);
}

/* Preserve the complete portrait detail instead of cropping the bouquet/bottle. */
.editorial-romance-v3-5 .composition-detail .composition-image-contain {
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: #f1eee8;
}

/* The tablescape is the requested edge-to-edge transition between sections. */
.editorial-romance-v3-5 .swp-page-content > .process-transition-photo {
  width: 100%;
  max-width: none;
  margin: clamp(52px, 6vw, 82px) 0;
}

.editorial-romance-v3-5 .process-transition-photo picture {
  width: 100%;
  aspect-ratio: 16 / 7;
}

.editorial-romance-v3-5 .process-transition-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  /* Keep the two historical 640/700 breakpoint systems on one mobile grid. */
  .editorial-romance-v3-5 {
    --shell: calc(100% - 40px);
  }

  /* One bounded planning column; no offset or intrinsic-width escape. */
  .editorial-romance-v3-5 .planning-statement .split-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .editorial-romance-v3-5 .planning-statement .split-layout > *,
  .editorial-romance-v3-5 .planning-statement .photo-column,
  .editorial-romance-v3-5 .planning-statement .offset-figure,
  .editorial-romance-v3-5 .planning-statement .statement-photo,
  .editorial-romance-v3-5 .planning-statement .statement-copy {
    min-width: 0;
    max-width: 100%;
  }

  .editorial-romance-v3-5 .planning-statement .offset-figure {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .editorial-romance-v3-5 .planning-statement .statement-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .editorial-romance-v3-5 .planning-statement .statement-photo img {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  /* All wedding-hero lines and both actions share the same left edge. */
  .editorial-romance-v3-5 .hero h1 em {
    padding-left: 0;
  }

  .editorial-romance-v3-5 .hero-lede,
  .editorial-romance-v3-5 .hero .button-row {
    margin-left: 0;
  }

  .editorial-romance-v3-5 .hero .button-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
  }

  .editorial-romance-v3-5 .hero .button-row .text-link {
    align-self: flex-start;
  }

  .editorial-romance-v3-5 .composition-detail {
    aspect-ratio: 2 / 3;
  }

  .editorial-romance-v3-5 .swp-page-content > .process-transition-photo {
    width: 100%;
    margin: 44px 0;
  }

  .editorial-romance-v3-5 .process-transition-photo picture {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 370px) {
  .editorial-romance-v3-5 {
    --shell: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-romance-v3-5 .trust-line-track,
  .editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-track {
    display: block;
    width: 100%;
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .editorial-romance-v3-5 .trust-line-copy,
  .editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-copy {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
  }

  .editorial-romance-v3-5 .trust-line-copy[aria-hidden="true"],
  .editorial-romance-v3-5 .trust-line.is-proof-animated .trust-line-copy[aria-hidden="true"] {
    display: none;
  }
}

html.no-js .editorial-romance-v3-5 .trust-line-track {
  display: block;
  width: 100%;
  animation: none !important;
  transform: none;
}

html.no-js .editorial-romance-v3-5 .trust-line-copy[aria-hidden="true"] {
  display: none;
}
