/* Speaking page — matches the Wix "guest-speaking" page (measured at 1440px and 320px). */

/* Wix shows cream between the photo band and the footer. */
.s-page { background: var(--cream); padding-bottom: 44px; }

.s-button {
  height: 50px;
  padding: 0;
  border-radius: 30px;
  font-family: var(--font-small);
  font-weight: 700;
}
.s-button--sheet { width: 322px; font-size: 18px; letter-spacing: 1.8px; }
.s-button--call { width: 263px; font-size: 19px; letter-spacing: 1.9px; }

/* ---------- Intro ---------- */

.s-intro { padding: 39px 0 49px; }
.s-intro__inner { position: relative; width: min(var(--content), 100% - 32px); margin-inline: auto; padding-left: 22px; }
.s-intro__text { max-width: 631px; }
.s-intro h1 { padding-top: 12px; font-size: 50px; line-height: 70px; }
.s-intro hr { margin: 15px 0 26.5px; border: 0; border-top: 1px solid var(--sage); }
.s-intro p { max-width: 614px; font-size: 16px; line-height: 29.8px; letter-spacing: 0.8px; }
.s-button--sheet { margin-top: 24.7px; }
.s-intro__art { position: absolute; left: 682px; top: 104px; width: 266px; height: 216px; object-fit: cover; }

/* ---------- Quote over the sea photo ---------- */

.s-quote { position: relative; overflow: hidden; height: 357px; padding-top: 106px; text-align: center; }
/* Wix crops the photo to this band of sky and sea. */
.s-quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64.7%; }
.s-quote__inner { position: relative; }
.s-quote p { max-width: 720px; margin: 0 auto; color: var(--white); font-size: 33px; font-weight: 700; line-height: 46.2px; }
.s-button--call { margin-top: 39px; }

@media (max-width: 1100px) {
  .s-intro__art { display: none; }
}

/* ---------- Phones (1rem = 1/320 of the screen) ---------- */

@media (max-width: 760px) {
  .s-page { padding-bottom: 0; }

  .s-button { height: 42rem; border-radius: 30rem; font-style: normal; font-weight: 700; }
  .s-button--sheet { width: 291rem; font-size: 18rem; letter-spacing: 1.8rem; }
  .s-button--call { width: 240rem; font-size: 19rem; letter-spacing: 1.9rem; }

  .s-intro { padding: 16rem 0 0; }
  .s-intro__inner { width: auto; margin-inline: 20rem; padding-left: 0; }
  .s-intro h1 { padding-top: 7rem; font-size: 31rem; line-height: 43.4rem; }
  .s-intro hr { margin: 22.6rem 0 9.5rem; border-top-width: 1rem; }
  .s-intro p { max-width: none; margin-right: -4rem; font-size: 16rem; line-height: 29.8rem; letter-spacing: 0.8rem; }
  .s-button--sheet { margin: 20.9rem 0 0 -6rem; }
  .s-intro__art { display: block; position: static; width: 235rem; height: 235rem; margin: 8rem auto 0; }

  .s-quote { height: 321rem; padding-top: 42rem; }
  .s-quote__bg { object-position: 50% 50%; }
  .s-quote p { max-width: 263rem; font-size: 25rem; line-height: 35rem; }
  .s-button--call { margin-top: 33rem; }
}
