/* About Kate page. Desktop values are Wix pixels at 1440px; phone values (rem) are Wix mobile pixels. */

main { background: var(--cream); }
.a-intro hr, .a-story hr { border: 0; margin: 0; }
.a-intro em a { text-decoration: none; }

/* Meet Kate */
.a-intro .wrap { display: flex; align-items: flex-start; min-height: 302px; padding-top: 37px; }
.a-intro__text { width: 562px; margin-left: 29px; flex: none; }
.a-intro h1 { font-size: 50px; line-height: 60px; letter-spacing: 0.03em; }
.a-intro hr { margin-top: 13px; border-top: 1px solid var(--plum); }
.a-intro p { margin-top: 20px; font-size: 17px; line-height: 24.67px; }
.a-intro__moon { width: 223px; height: 223px; margin: -14px 0 0 121px; }

/* Photo and story */
.a-story { display: flex; background: var(--white); min-height: 633px; }
.a-story__photo { width: 718px; height: 631px; margin: 1px 0 1px 1px; object-fit: cover; flex: none; }
.a-story__text { width: 407px; margin: 35px 0 0 168px; font-size: 17px; line-height: 24.8px; }
.a-story__quote { width: 298px; margin-left: 49px; font-size: 20px; line-height: 28px; text-align: center; }
.a-story hr { width: 284px; margin: 13px 0 19px 56px; border-top: 1px solid rgba(131, 77, 108, 0.62); }
.a-story__text p + p { margin-top: 24px; }

/* Coaching style, with the moon graphic between */
.a-coach { border-bottom: 1px solid #cfb9ad; }
.a-coach .wrap { position: relative; height: 329px; }
.a-coach p { position: absolute; top: 93px; font-size: 17px; line-height: 23.8px; }
.a-coach__left { left: 0; width: 355px; text-align: right; }
.a-coach__right { left: 650px; width: 330px; }
.a-coach__moon { position: absolute; left: 393px; top: 53px; width: 223px; height: 223px; }

/* Speaking and writing cards */
.a-media { background: var(--blush); display: flex; justify-content: center; gap: 44px; padding: 84px 0 93px; }
.a-card { width: 595px; background: var(--white); }
.a-card--writing { width: 601px; }
.a-card img { width: 100%; height: 278px; object-fit: cover; }
.a-card__body { height: 332px; padding-top: 31px; }
.a-card h2 { width: 448px; font-size: 25px; line-height: 36px; text-align: center; }
.a-card p { margin-top: 25px; font-size: 17px; line-height: 26.5px; letter-spacing: 0.05em; text-align: center; }
.a-card--speaking h2 { margin-left: 65px; }
.a-card--speaking p { width: 389px; margin-left: 115px; }
.a-card--writing h2 { margin-left: 66px; }
.a-card--writing p { width: 409px; margin-left: 105px; }
.a-substack, .a-red { color: #8b0000; }

@media (max-width: 1100px) {
  .a-intro .wrap, .a-story, .a-media { flex-wrap: wrap; }
  .a-story__text { margin: 35px 32px 48px; }
  .a-coach .wrap { height: auto; display: flex; gap: 24px; padding: 60px 0; }
  .a-coach p, .a-coach__moon { position: static; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .a-intro .wrap { display: block; min-height: 0; margin-inline: 13rem; padding: 18rem 0 20rem; }
  .a-intro__text { width: auto; margin: 0; }
  .a-intro h1 { font-size: 30rem; line-height: 36rem; }
  .a-intro hr { width: 280rem; margin-top: 12rem; }
  .a-intro p { margin-top: 15rem; font-size: 16rem; line-height: 23.33rem; }
  .a-intro__moon { width: 160rem; height: 160rem; margin: 19rem 0 0 64rem; }

  .a-story { display: block; min-height: 0; padding-bottom: 71rem; }
  .a-story__photo { width: 100%; height: 250rem; margin: 1rem 0 0; }
  .a-story__text { width: auto; margin: 31rem 20rem 0; font-size: 16rem; line-height: 23.43rem; }
  .a-story__quote { width: auto; margin: 0 -6rem; font-size: 20rem; line-height: 28rem; }
  .a-story__quote .a-keep { white-space: nowrap; }  /* Wix breaks this line after "way" on phones */
  .a-story hr { width: auto; margin: 10rem 0 16rem; }
  .a-story__text p + p { margin-top: 22rem; }

  .a-coach { border-bottom: 0; }
  .a-coach .wrap { display: block; height: auto; padding: 20rem 0; }
  .a-coach p { position: static; font-size: 16rem; line-height: 22.4rem; }
  .a-coach__left { width: auto; text-align: left; }
  .a-coach__right { width: auto; }
  .a-coach__moon { position: static; width: 160rem; height: 160rem; margin: 10rem 0 10rem 60rem; }

  .a-media { display: block; padding: 0; border-bottom: 10rem solid #cfb9ad; }
  .a-card, .a-card--writing { width: auto; background: none; }
  .a-card--speaking img { height: 225rem; }
  .a-card--writing img { height: 242rem; }
  .a-card__body { height: auto; padding: 27rem 20rem 21rem; }
  .a-card--writing .a-card__body { padding: 26rem 20rem 24rem; }
  .a-card h2, .a-card--speaking h2, .a-card--writing h2 { width: auto; margin: 0; font-size: 22rem; line-height: 32rem; }
  .a-card p, .a-card--speaking p, .a-card--writing p { width: auto; margin: 18rem 0 0; font-size: 15rem; line-height: 22.5rem; }
}
