/**
 * Inline contact card on homepage city slides and fullscreen video banners (same flow as right rail).
 * body.cc-has-embedded-contact hides the floating Contact tab (see cc-right-rail.css).
 *
 * Scope: top homepage hero (.cc-inspired-video-hero), #cc-city-cards-slider, or fullscreen banners.
 */

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  )
  .cc-city-embed-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-shoutout {
  text-align: left;
  margin-bottom: 1rem;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-shoutout__line1 {
  margin: 0 0 0.35em 0;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-shoutout__link {
  margin: 0;
  font-size: 0.95rem;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-shoutout__link a {
  color: #7ddfff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-shoutout__link a:hover {
  color: #b8efff !important;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact {
  background: rgba(245, 245, 245, 0.96);
  border-radius: 10px;
  /* Generous bottom padding so the hint line + card edge breathe on all viewports */
  padding: 0.65rem 0.75rem 2.25rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  box-sizing: border-box;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 0.45rem;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.4rem 0.35rem;
  border: none;
  border-radius: 6px 6px 0 0;
  background: #e2e2e2;
  color: #333;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  line-height: 1.2;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__tab:hover,
:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__tab:focus-visible {
  background: #d0d0d0;
  outline: none;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__tab[aria-selected='true'] {
  background: #fff;
  color: #111;
  box-shadow: 0 -1px 0 #fff;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__panel {
  display: none;
  color: #222;
  font-size: 0.88rem;
  line-height: 1.45;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__panel.is-active {
  display: block;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__panel h3 {
  margin: 0 0 0.5em 0;
  font-size: 1rem;
  color: #111 !important;
  text-shadow: none;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__panel p {
  margin: 0 0 0.65em 0;
  color: #333 !important;
  text-shadow: none;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__panel a {
  color: #0066cc !important;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__map {
  position: relative;
  width: 100%;
  padding-bottom: 52%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.65rem;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field--full {
  grid-column: 1 / -1;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #333;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field input,
:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.5rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font: inherit;
  font-size: 0.85rem;
  background: #fff;
  color: #111;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__submit {
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__submit:hover:not(:disabled),
:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__submit:focus-visible {
  background: #333;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__hint {
  margin: 0.5rem 0 0 0;
  padding-bottom: 0;
  font-size: 0.72rem;
  color: #555;
  line-height: 1.4;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__status {
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
  font-weight: 600;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__status--ok {
  color: #0d6e3f;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__status--err {
  color: #b00020;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-loclinks {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-loclinks a {
  color: #ff9f1c !important;
  font-weight: 600;
  text-decoration: none;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-loclinks a:hover {
  text-decoration: underline;
}

:is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-city-embed-loclinks span {
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0.35rem;
}

@media (max-width: 640px) {
  :is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__form-grid {
    grid-template-columns: 1fr;
  }

  :is(
    .cc-inspired-video-hero,
    #cc-city-cards-slider,
    .cc-location-fullscreen-hero .cc-city-hero-video,
    .cc-contact-fullscreen-hero .cc-city-hero-video,
    .cc-blog-fullscreen-hero .cc-city-hero-video,
    .cc-courses-fullscreen-hero .cc-city-hero-video,
    .cc-course-detail-fullscreen-hero .cc-city-hero-video,
    .cc-testimonial-fullscreen-hero .cc-city-hero-video
  ) .cc-embed-contact__field--full {
    grid-column: 1;
  }
}

/* Fullscreen video banners: stack title + embed (overrides inline hero centering).
   Course + location pages use .cc-course-hero-two-col — see block below. */
:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero)
  .cc-city-hero-video
  .cc-city-hero-content:not(.cc-course-hero-two-col) {
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: clamp(4.5rem, 11vh, 6.5rem) clamp(1rem, 4vw, 2rem) 1.25rem;
  gap: 0.65rem;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero)
  .cc-city-hero-video
  .cc-city-slide-title:not(.cc-course-hero-page-title) {
  flex-shrink: 0;
  text-align: left !important;
  margin: 0;
  font-size: clamp(1.2rem, 3.2vw, 1.75rem) !important;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Match homepage hero: stars, (528), Lowest Fee Courses, FOR STUDENT VISA */
/* Homepage uses .cc-home-fullscreen-hero > .cc-inspired-video-hero (no .cc-city-hero-video); mirror city-page rules so stars + review count lay out and stay visible. */
.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-brand-kicker-wrap {
  align-self: stretch;
  width: 100%;
  margin: 0 0 0.15em 0;
  padding: 0;
  box-sizing: border-box;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-brand-kicker-mid {
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-google-row {
  margin: 0 0 0.45em 0;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-google-reviews-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  text-decoration: none;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-google-reviews-link:hover,
.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-google-reviews-link:focus-visible {
  color: #e8f7ff !important;
  outline: none;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-stars {
  letter-spacing: 0.08em;
  color: #fbbc04;
  font-size: 1.15em;
  line-height: 1;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-review-count {
  font-weight: 700;
  opacity: 0.95;
}

.cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-kicker {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .cc-home-fullscreen-hero .cc-inspired-video-hero .cc-hero-kicker {
    letter-spacing: 0.15em;
    font-size: clamp(0.5rem, 2.8vw, 0.9rem);
    white-space: normal;
  }
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-brand-kicker-wrap {
  align-self: stretch;
  width: 100%;
  margin: 0 0 0.15em 0;
  padding: 0;
  box-sizing: border-box;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-brand-kicker-mid {
  min-width: 0;
  max-width: 100%;
  text-align: left;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-google-row {
  margin: 0 0 0.45em 0;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-google-reviews-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  text-decoration: none;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-google-reviews-link:hover,
:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-google-reviews-link:focus-visible {
  color: #e8f7ff !important;
  outline: none;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-stars {
  letter-spacing: 0.08em;
  color: #fbbc04;
  font-size: 1.15em;
  line-height: 1;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-review-count {
  font-weight: 700;
  opacity: 0.95;
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
  .cc-city-hero-video
  .cc-hero-kicker {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero)
  .cc-city-hero-video
  .cc-inspired-video-hero-title.cc-city-hero-forvisa {
  color: #fff;
  font-family: 'Open Sans Condensed', 'Montserrat', sans-serif;
  font-size: clamp(2.75rem, 11vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 0.15em 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  :is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero)
    .cc-city-hero-video
    .cc-inspired-video-hero-title.cc-city-hero-forvisa {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1;
  }

  :is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero, .cc-courses-fullscreen-hero, .cc-course-detail-fullscreen-hero)
    .cc-city-hero-video
    .cc-hero-kicker {
    letter-spacing: 0.15em;
    font-size: clamp(0.5rem, 2.8vw, 0.9rem);
    white-space: normal;
  }
}

:is(.cc-location-fullscreen-hero, .cc-contact-fullscreen-hero, .cc-blog-fullscreen-hero, .cc-testimonial-fullscreen-hero)
  .cc-city-hero-video
  .cc-city-embed-block {
  flex-shrink: 0;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  max-width: min(28rem, 100%);
  width: 100%;
  align-self: stretch;
}

/* Top homepage hero: embed sits beside headline; flex gap replaces top border on block */
.cc-inspired-video-hero .cc-city-embed-block {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

/* Course + location + contact + testimonial + blog heroes: vertically center content in viewport (like homepage); video + overlay stay full-bleed */
.cc-course-detail-fullscreen-hero .cc-city-hero-video,
.cc-courses-fullscreen-hero .cc-city-hero-video,
.cc-location-fullscreen-hero .cc-city-hero-video,
.cc-contact-fullscreen-hero .cc-city-hero-video,
.cc-blog-fullscreen-hero .cc-city-hero-video,
.cc-testimonial-fullscreen-hero .cc-city-hero-video {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  box-sizing: border-box;
}

/*
 * iOS Safari: absolutely positioned video + dim overlay sit above the document’s scroll surface and can
 * intercept vertical pan gestures (page feels “stuck”), especially on /course/* shells. Decorative layers
 * ignore pointers; hero copy/forms stay interactive on .cc-city-hero-content.
 */
.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-city-slide-video,
.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-city-slide-overlay {
  pointer-events: none;
}

.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-city-hero-content,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-city-hero-content,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-city-hero-content,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-city-hero-content,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-city-hero-content,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-city-hero-content {
  pointer-events: auto;
}

/* Course listing + course detail + location + contact + testimonial + blog: same row layout as homepage — left: brand + compact FOR VISA + title; right: embed */
.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col {
  position: relative !important;
  inset: auto !important;
  flex: 0 1 auto;
  align-self: stretch;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* Top-align with homepage hero: stars / kicker / FOR VISA share the same row as the 14,000+ shoutout */
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-top: 1.5rem;
  padding-bottom: clamp(2.25rem, 6vw, 3.5rem);
  /* Match .cc-inspired-video-hero (1.5rem) + .cc-inspired-video-hero-content horizontal padding */
  padding-left: calc(1.5rem + clamp(1rem, 4vw, 2.25rem));
  padding-right: calc(1.5rem + clamp(1rem, 4vw, 2.25rem));
  /* visible: Safari clips the contact card bottom if hidden (flex + absolute hero) */
  overflow-x: hidden;
  overflow-y: visible;
  box-sizing: border-box;
  max-width: 1180px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 38rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column {
  flex: 1 1 280px;
  max-width: 28rem;
  width: 100%;
  align-self: stretch;
}

/* “FOR STUDENT VISA” — one line, bright white; page title below is the hero line */
.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa {
  font-size: clamp(1.1rem, 3vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem) 0;
  color: #ffffff !important;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 255, 255, 0.35);
}

.cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
.cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
.cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
.cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
.cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
.cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title {
  font-size: clamp(1.85rem, 4.8vw, 3rem) !important;
  line-height: 1.12;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0;
  font-family: 'Open Sans Condensed', 'Montserrat', sans-serif;
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.cc-course-detail-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block,
.cc-courses-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block,
.cc-location-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block,
.cc-contact-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block,
.cc-blog-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block,
.cc-testimonial-fullscreen-hero .cc-hero-contact-column .cc-city-embed-block {
  margin-top: 0 !important;
  margin-bottom: clamp(1.5rem, 5vw, 2.75rem) !important;
  padding-top: 0 !important;
  border-top: none !important;
  max-width: min(28rem, 100%);
  width: 100%;
}

/* Match Astra ast-header-break-point (~921px): stack hero text + contact form (row + wrap was keeping two columns side-by-side up to ~800px). */
@media (max-width: 921px) {
  .cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
  .cc-courses-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
  .cc-location-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
  .cc-contact-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
  .cc-blog-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col,
  .cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-city-hero-content.cc-course-hero-two-col {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    /* Clear transparent header + gap so stars row does not crowd the logo */
    padding-top: clamp(3.25rem, 11vh, 5rem);
    /* Extra space below stacked hero (title + contact card) before body content */
    padding-bottom: clamp(2.75rem, 11vw, 4.25rem);
    /* Homepage mobile: outer + inner horizontal padding */
    padding-left: calc(clamp(1rem, 4vw, 1.5rem) + clamp(1rem, 4vw, 2.25rem));
    padding-right: calc(clamp(1rem, 4vw, 1.5rem) + clamp(1rem, 4vw, 2.25rem));
  }

  .cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-main-column,
  .cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
  .cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
  .cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
  .cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
  .cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column,
  .cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-two-col .cc-hero-contact-column {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
  .cc-courses-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
  .cc-location-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
  .cc-contact-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
  .cc-blog-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa,
  .cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-inspired-video-hero-title.cc-course-hero-forvisa {
    font-size: clamp(0.85rem, 3.5vw, 1.25rem);
    white-space: normal;
  }

  .cc-course-detail-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
  .cc-courses-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
  .cc-location-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
  .cc-contact-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
  .cc-blog-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title,
  .cc-testimonial-fullscreen-hero .cc-city-hero-video .cc-course-hero-page-title {
    font-size: clamp(1.45rem, 5.5vw, 2.35rem) !important;
  }
}

/*
 * Safari / iOS: fullscreen heroes use overflow:hidden + absolute fill on .cc-city-hero-content,
 * which clips the embedded contact card and can prevent scrolling past the hero when content is taller than the viewport.
 * Use in-flow layout on narrow screens so the hero grows with title + form + hint (same pattern as course pages).
 */
@media (max-width: 921px) {
  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    ) {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-city-hero-video {
    position: relative !important;
    inset: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    /* Was justify-content: center — centers the hero block in 100vh and clips tall title+form on mobile */
    justify-content: flex-start !important;
  }

  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-city-hero-video
    .cc-city-slide-video {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    min-width: 100% !important;
    transform: none !important;
    object-fit: cover !important;
  }

  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-city-hero-video
    .cc-city-slide-overlay {
    position: absolute !important;
    inset: 0 !important;
    min-height: 100vh !important;
  }

  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-city-hero-video
    .cc-city-hero-content {
    position: relative !important;
    inset: auto !important;
    z-index: 3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Extra space below the contact card + iOS home indicator / browser chrome */
  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-city-hero-video
    .cc-city-hero-content.cc-course-hero-two-col {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom, 0px)) !important;
  }

  :is(
      .cc-course-detail-fullscreen-hero,
      .cc-courses-fullscreen-hero,
      .cc-location-fullscreen-hero,
      .cc-contact-fullscreen-hero,
      .cc-blog-fullscreen-hero,
      .cc-testimonial-fullscreen-hero
    )
    .cc-embed-contact {
    padding-bottom: max(2.75rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem)) !important;
  }
}

/* Extra breathing room inside the card on touch browsers (hint was flush to rounded edge) */
@supports (padding: max(0px)) {
  :is(
      .cc-inspired-video-hero,
      #cc-city-cards-slider,
      .cc-location-fullscreen-hero .cc-city-hero-video,
      .cc-contact-fullscreen-hero .cc-city-hero-video,
      .cc-blog-fullscreen-hero .cc-city-hero-video,
      .cc-courses-fullscreen-hero .cc-city-hero-video,
      .cc-course-detail-fullscreen-hero .cc-city-hero-video,
      .cc-testimonial-fullscreen-hero .cc-city-hero-video
    )
    .cc-embed-contact {
    padding-bottom: max(2.25rem, env(safe-area-inset-bottom, 0px));
  }
}
