/* PC2 review overrides for /start-pc2/. Scoped to existing course page classes. */

.course-sales .pc2-hero-title {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
  font-size: clamp(38px, 3.2vw, 48px);
  line-height: 1.13;
  letter-spacing: -.045em;
}

.course-sales .pc2-hero-title > span {
  display: block;
}

.course-sales .pc2-hero-title .pc2-hero-accent {
  color: #12aebb;
}

.course-sales .pc2-hero-title .pc2-hero-long {
  font-size: .68em;
  letter-spacing: -.055em;
}

.course-sales .course-hero-video {
  padding-top: 88px;
}

.course-sales .pc2-making-note {
  top: 15px;
  right: 8px;
  display: flex;
  width: 276px;
  flex-direction: column;
  gap: 3px;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 7px;
  font-family: inherit;
  line-height: 1.35;
  text-align: left;
  transform: none;
}

.course-sales .pc2-making-note strong {
  color: #123b5d;
  font-size: 15px;
}

.course-sales .pc2-making-note span {
  color: #078f9b;
  font-size: 14px;
  font-weight: 800;
}

.sales-v2-quick-grid > a {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 14px 16px;
  border: 2px solid rgba(37, 190, 201, .13);
  border-radius: 18px;
  color: inherit;
  background: linear-gradient(145deg, #fff, #f2fcff);
  box-shadow: 0 14px 30px rgba(17, 78, 106, .09);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sales-v2-quick-grid > a::after {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(35, 198, 208, .1);
  content: "";
}

.sales-v2-quick-grid > a:hover,
.sales-v2-quick-grid > a:focus-visible {
  border-color: rgba(19, 174, 187, .42);
  box-shadow: 0 16px 34px rgba(17, 78, 106, .13);
  transform: translateY(-2px);
}

.sales-v2-showcase .sales-v2-card[id] {
  scroll-margin-top: 92px;
}

.sales-v2-showcase #project-01,
.sales-v2-showcase #project-02,
.sales-v2-showcase #project-03,
.sales-v2-showcase #project-04 {
  border-color: rgba(24, 187, 198, .25);
}

.sales-v2-showcase .pc2-video-proof {
  display: grid;
  grid-template-columns: minmax(150px, .72fr) minmax(300px, 1.28fr);
  gap: 16px;
  padding: 18px;
  background: linear-gradient(145deg, #eaf9fb, #f7fbff);
}

.sales-v2-showcase .pc2-video-proof::before {
  display: none;
}

.sales-v2-showcase .pc2-video-character {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  border-radius: 22px;
  object-fit: cover;
  object-position: 38% 50%;
}

.sales-v2-showcase .pc2-video-panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  align-self: center;
  border: 5px solid #fff;
  border-radius: 21px;
  background: #06243d;
  box-shadow: 0 18px 42px rgba(8, 49, 78, .22);
}

.sales-v2-showcase .pc2-case-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #071f35;
}

.sales-v2-showcase .pc2-case-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-v2-showcase .pc2-case-preview > span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  color: #083451;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(6, 40, 66, .16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.sales-v2-showcase .pc2-video-panel figcaption,
.sales-v2-showcase .sales-v2-card:nth-of-type(2n) .pc2-video-panel figcaption {
  position: static;
  display: block;
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  color: #e9fbff;
  background: #0a3552;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  transform: none;
}

.sales-v2-showcase .pc2-video-panel figcaption strong,
.sales-v2-showcase .pc2-video-panel figcaption span {
  display: block;
}

.sales-v2-showcase .pc2-video-panel figcaption strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
}

.sales-v2-showcase .pc2-video-panel figcaption span {
  color: #bdeff2;
  font-size: 12px;
}

.sales-v2-showcase .pc2-no-break {
  white-space: nowrap;
  word-break: keep-all;
}

.course-sales #offer {
  padding-top: 72px;
  padding-bottom: 72px;
}

.course-sales #offer .offer-wrap {
  align-items: start;
}

.course-sales #offer .offer-benefits {
  align-content: start;
}

.course-sales #offer .offer-benefit {
  padding: 18px;
}

.course-sales #offer .skill-benefit {
  min-height: 128px;
  padding: 0 22px 0 0;
}

.course-sales #offer .skill-benefit img {
  height: 128px;
}

@media (max-width: 900px) {
  .course-sales .pc2-hero-title {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    font-size: 42px;
  }

  .course-sales .pc2-hero-title .pc2-hero-long {
    font-size: .82em;
  }

  .course-sales .course-hero-video {
    display: flex;
    flex-direction: column;
    padding: 20px 0 30px;
  }

  .course-sales .pc2-making-note {
    position: relative;
    top: auto;
    right: auto;
    display: flex !important;
    width: min(100%, 390px);
    margin: 0 auto 14px;
  }
}

@media (max-width: 640px) {
  .course-sales .course-mobile-buy {
    transition: opacity .18s ease, transform .18s ease;
  }

  .course-sales .course-mobile-buy.pc2-media-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 16px));
  }

  .course-sales .pc2-hero-title {
    gap: 1px;
    max-width: 355px;
    margin-bottom: 14px;
    font-size: 34px !important;
    line-height: 1.16 !important;
    overflow-wrap: normal !important;
  }

  .course-sales .pc2-making-note {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 13px;
  }

  .sales-v2-quick-grid > a {
    min-height: 66px;
    gap: 9px;
    padding: 10px;
    border-radius: 15px;
  }

  .sales-v2-quick-grid > a b {
    flex-basis: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .sales-v2-quick-grid > a span {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .sales-v2-showcase .pc2-video-proof {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .sales-v2-showcase .pc2-video-character {
    min-height: 0;
    border-radius: 18px;
    object-position: 45% 47%;
  }

  .sales-v2-showcase .pc2-video-panel {
    width: 100%;
    border-width: 4px;
    border-radius: 18px;
  }

  .course-sales #offer {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .course-sales #offer .offer-benefit {
    padding: 16px;
  }
}
