/* Dream holiday page, preview copy styled like the Moodly page.
   Layout and patterns come from the shared .redesign-v2 styles; this file only adds the few
   things Moodly doesn't have: a subtitle under the section names, a quote card, image pairs,
   phone screens next to text, and the tools list. Colors and sizes are Moodly's. */



/* ---- Quote: the beige card of Moodly's cards ---- */
.dream-v2 .quote-card {
  margin: 0.5rem 0;
  padding: 1.25rem 2.5rem;
  border: 0;
  background-color: #b2caff66;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 160%;
  color: var(--black);
}


/* ---- Screenshots sit directly on the page (no beige card); two images sit side by side ---- */
.dream-v2 .flow-card {
  margin: 0.5rem 0 1rem;
  padding: 0;
  background-color: transparent;
  border: 0;
}

.dream-v2 .flow-card .caption-small {
  margin-top: 0.75rem;
}

.dream-v2 .flow-card__img {
  border: 0;
  border-radius: 0.5rem;
}

/* ---- Labels with Moodly's blue stripe ---- */
.dream-v2 .feel-row__title--stripe {
  display: block;
  padding-left: 0.75rem;
  border-left: 5px solid #3f5a9e;
  margin-bottom: 0.5rem;
}

.dream-v2 .flow-card .lightbox-link {
  display: block;
  max-width: 100%;
}

.dream-v2 .flow-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.dream-v2 .flow-pair .flow-card__img,
.dream-v2 .flow-pair .lightbox-link {
  width: 100%;
}

@media screen and (max-width: 47.9375em) {
  .dream-v2 .flow-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Phone screen next to its text: the tall screenshot gets a taller box ---- */
.dream-v2 .feel-row__visual--phone {
  aspect-ratio: auto;
  padding: 1.5rem;
}

.dream-v2 .feel-row__visual--phone img {
  width: auto;
  max-width: 60%;
  height: auto;
  max-height: 30rem;
}

.dream-v2 .feel-row__group + .feel-row__group {
  margin-top: 1.75rem;
}

@media screen and (max-width: 47.9375em) {
  .dream-v2 .feel-row__visual--phone img {
    max-width: 70%;
    max-height: 26rem;
  }
}

/* ---- Tools used: label column and description, like the facts table in the Overview ---- */
.dream-v2 .tool-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--menu-background);
  margin-top: 0.5rem;
}

.dream-v2 .tool-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--menu-background);
}

.dream-v2 .tool-row:last-child {
  border-bottom: 0;
}

.dream-v2 .tool-row__name {
  font-family: Poppins, sans-serif;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 130%;
  color: var(--black);
}

.dream-v2 .tool-row__tag {
  margin-top: 0.375rem;
  font-family: 'DM Mono', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #3f5a9e;
}

.dream-v2 .tool-row__text {
  font-family: Poppins, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 150%;
  color: #3d3d3d;
}

@media screen and (max-width: 47.9375em) {
  .dream-v2 .tool-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}

/* ---- Text sizes: the same as Moodly (its sizes are 1px up from the shared base) ---- */
.dream-v2 .project-page .paragraph > .h2,
.dream-v2 .project-page .project-summary1 .h2 { font-size: 1.6875rem; }
.dream-v2 .project-page .h4.bold.section-heading { font-size: 1.4375rem; }
.dream-v2 .project-page .feel-row__title,
.dream-v2 .project-page .tool-row__name { font-size: 1.1875rem; }
.dream-v2 .project-page .feel-row__line,
.dream-v2 .project-page .summary-row__value,
.dream-v2 .project-page .edit-list__text,
.dream-v2 .project-page .tool-row__text { font-size: 1rem; }
.dream-v2 .project-page .edit-list__title { font-size: 1.0625rem; }
.dream-v2 .project-page .summary-row__label,
.dream-v2 .project-page .tool-row__tag { font-size: 0.875rem; }
.dream-v2 .project-page .caption-small { font-size: 0.9375rem; }

/* label spacing like Moodly's row titles */
.dream-v2 .feel-row__title--stripe { margin-bottom: 1rem; }

/* text that follows an image gets more room above it */
.dream-v2 .flow-card + .paragraph-text {
  margin-top: 1.5rem;
}
