/* Main / eBook Inside the Guide (flip chapters) — compiled from
   src/global-flexible-content/scss/main__ebook_chapters.scss
   (hand-compiled; will be regenerated by `npm run build` in src/global-flexible-content) */

.gfc.main__ebook_chapters {
  padding: clamp(64px, 9vw, 128px) 0;
  background: #343741;
  color: #FFFFFF;
  position: relative;
}
.gfc.main__ebook_chapters .vcs-ch__container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}
.gfc.main__ebook_chapters .vcs-ch__head {
  margin-bottom: 56px;
  max-width: 720px;
}
.gfc.main__ebook_chapters .vcs-ch__eyebrow {
  font-family: "Caveat", cursive;
  font-size: 32px;
  font-weight: 600;
  color: #F47721;
  margin: 0 0 14px;
  line-height: 1;
}
.gfc.main__ebook_chapters .vcs-ch__heading {
  font-family: "Gilroy", "Gilroy-Bold", "Manrope", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: #FFFFFF;
  margin: 0 0 22px;
  text-wrap: balance;
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.gfc.main__ebook_chapters .vcs-ch__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 110px;
  height: 9px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 11' fill='none'><path d='M2 7.2C18 3.4 42 2.2 65 4.5c22 2.3 44 4 63 1.5' stroke='%23F47721' stroke-width='3.2' stroke-linecap='round' fill='none'/></svg>") no-repeat;
  background-size: contain;
}
.gfc.main__ebook_chapters .vcs-ch__lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-wrap: pretty;
  max-width: 60ch;
}
.gfc.main__ebook_chapters .vcs-ch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gfc.main__ebook_chapters .vcs-ch__card {
  position: relative;
  min-height: 252px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  perspective: 1600px;
  color: #FFFFFF;
  text-align: left;
  font: inherit;
}
.gfc.main__ebook_chapters .vcs-ch__flip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 252px;
  transition: transform 0.6s cubic-bezier(0.4, 0.08, 0.18, 1);
  transform-style: preserve-3d;
}
.gfc.main__ebook_chapters .vcs-ch__card:hover .vcs-ch__flip,
.gfc.main__ebook_chapters .vcs-ch__card.is-flipped .vcs-ch__flip {
  transform: rotateY(180deg);
}
.gfc.main__ebook_chapters .vcs-ch__face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.gfc.main__ebook_chapters .vcs-ch__face--front { background: rgba(255, 255, 255, 0.06); }
.gfc.main__ebook_chapters .vcs-ch__card:hover .vcs-ch__face--front { border-color: rgba(244, 119, 33, 0.4); }
.gfc.main__ebook_chapters .vcs-ch__face--back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, #B31983 0%, #C2317B 55%, #F47721 130%);
  border-color: transparent;
  justify-content: center;
  gap: 16px;
}
.gfc.main__ebook_chapters .vcs-ch__time {
  font-family: "Caveat", cursive;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #F47721;
  line-height: 1;
}
.gfc.main__ebook_chapters .vcs-ch__title {
  font-family: "Gilroy", "Gilroy-Bold", "Manrope", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.gfc.main__ebook_chapters .vcs-ch__preview {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}
.gfc.main__ebook_chapters .vcs-ch__hint {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.gfc.main__ebook_chapters .vcs-ch__hint svg { width: 15px; height: 15px; }
.gfc.main__ebook_chapters .vcs-ch__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: #FFFFFF;
}
.gfc.main__ebook_chapters .vcs-ch__icon svg { width: 26px; height: 26px; }
.gfc.main__ebook_chapters .vcs-ch__learn-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.gfc.main__ebook_chapters .vcs-ch__learn {
  margin: 0;
  font-family: "Gilroy", "Gilroy-Bold", "Manrope", "Helvetica Neue", sans-serif;
  font-weight: 600;
  font-size: 17.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .gfc.main__ebook_chapters .vcs-ch__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gfc.main__ebook_chapters .vcs-ch__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gfc.main__ebook_chapters .vcs-ch__flip { transition: none; }
}
