.header-hero .title {
  width: 100%;
}

.header-title {
  line-height: 1.06;
  white-space: pre-wrap;
  max-width: 9em;
}

.card-section {
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.window-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: transparent;
}

.window-card .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.window-card .card-text {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

@keyframes bannermove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

.window-card .card-slider .m-scroll .cards {
  display: inline-block;
  white-space: nowrap;
  height: 100%;
  animation: bannermove 30s linear infinite;
}

.image-card .card-slider .m-scroll .cards {
  animation-duration: 20s;
}

.animations-paused .window-card .card-slider .m-scroll .cards {
  animation-play-state: paused;
}

.window-card .card-slider .m-scroll .cards.paused {
  animation-play-state: paused;
}

.window-card .card-slider .m-scroll .cards .card,
.window-card .card-slider .card > .flex-container {
  height: 100%;
  white-space: normal;
}

.window-card .card-slider .image-card {
  display: inline-block;
  height: 100%;
  transform: translateZ(0);
  flex: none;
  vertical-align: middle;
}

.window-card .card-slider .image-card {
  width: auto;
  height: 100%;
}

@media (max-width: 1024px) {
  .window-card .card-slider .image-card img {
    max-height: 125px;
  }
}

.window-card .card-slider .card {
  background: #fff;
  border-radius: 6px;
  display: inline-block;
  box-shadow: -3.971px 5.732px 17.348px 0px rgba(0, 0, 0, 0.2);
  padding: 10px;
  flex: none;
  margin-right: 10px;
  vertical-align: middle;
  width: 300px;
}

.window-card .card-slider .card .image {
  flex: 0 0 35%;
  border-radius: 5px;
  overflow: hidden;
}

.window-card .card-slider .card .text {
  padding-left: 13px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.window-card .card-slider .scholarship-card .text {
  justify-content: center;
}

.window-card .card-slider .card .text .title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  max-height: 3.1em;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}

.window-card .card-slider .card .text .title + p {
  font-size: 14px;
}

@media (min-width: 1024px) {
  .window-card .card-slider .card .text .title + p {
    font-size: 16px;
  }
}

.window-card .card-slider .card .text p {
  color: #ababab;
}

.window-card .card-slider .card .text p.date {
  color: #818181;
  margin-bottom: 0;
  font-size: 14px;
}

.window-card .card-slider .scholarship-card p.scholarship-amount {
  color: var(--color-purple);
}

.window-card .card-text {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 1;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: space-between;
}

.window-card .card-text .buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-card .card-text .buttons.justify-right {
  justify-content: right;
}

.window-card .card-slider.schedule-cards .card .image {
  flex: 0 0 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
}

.window-card .card-slider.schedule-cards .card p {
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

.window-card .card-slider.schedule-cards .card p.date {
  font-size: 22px;
  color: var(--color-orange);
  margin: 12px 0 5px;
}

.window-card .card-slider.schedule-cards .card p.presenter {
  font-size: 10px;
  color: #ababab;
}

.window-card .card-slider.schedule-cards .card .text {
  justify-content: center;
}

.card-slider-mask {
  width: calc(100% + 4rem);
  overflow: hidden;
  margin-left: -2rem;
  padding: 50px 0;
}

@media (min-width: 1024px) {
  .card-slider-mask {
    width: 121%;
    margin-left: -9.6%;
    padding: 50px 0;
  }

  .window-card-container:nth-child(even) .card-slider-mask {
    width: 114.5%;
    margin-left: -5.3%;
    padding-left: 5%;
  }
}

.card-slider {
  height: 100%;
}

.window-card .card-slider .m-scroll {
  height: 100%;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .window-card .card-slider .card .text .title {
    font-size: 18px;
  }

  .window-card .card-slider .scholarship-card .text .title {
    font-size: 24px;
  }
}

@media (min-width: 1280px) {
  .card-slider-mask {
    padding: 40px 0 40px 10%;
  }

  .window-card-container:nth-child(even) .card-slider-mask {
    padding-left: 5%;
  }
}

@media (min-width: 1440px) {
  .window-card .card-slider .card .text .title {
    font-size: 20px;
  }

  .window-card .card-slider .scholarship-card .text .title {
    font-size: 24px;
  }

  .card-slider-mask {
    padding: 70px 0;
  }

  .window-card .card-slider .scholarship-card p.scholarship-amount {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .window-card .card-slider .card .text p {
    font-size: 10px;
  }
  .window-card .card-slider.schedule-cards .card p.date {
    font-size: 18px;
  }
  .window-card .callout {
    font-size: 8px;
    height: 18px;
  }
  .window-card3 .card-text .x-large {
    height: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .window-card .card-text {
    position: relative;
  }
}

@media (min-width: 640px) {
  .window-card .card-slider.schedule-cards .card .image {
    flex: 0 0 28%;
  }

  .window-card .card-slider.schedule-cards .card .truncate-wrap {
    display: flex;
  }

  .window-card .card-slider.schedule-cards .card p {
    font-size: 0.875em;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .window-card .card-slider.schedule-cards .card p.date {
    font-size: 2.0625em;
    margin: 8px 0 5px;
  }

  .window-card .card-slider.schedule-cards .card p.presenter {
    font-size: 0.875em;
  }
}

@media (max-width: 1023px) {
  .window-cards {
    flex-basis: 100%;
    position: relative;
    height: 100%;
  }

  /* to avoid seeing the skip on mobile on the left */
  @keyframes bannermove {
    0% {
      transform: translate(-10%, 0);
    }
    100% {
      transform: translate(-60%, 0);
    }
  }

  .card-section {
    aspect-ratio: 1 / 1.2;
  }

  .slider-section .card-slider .flickity-page-dots .flickity-button {
    display: none;
  }

  .slider-section .card-slider .flickity-page-dots {
    top: -45px;
  }

  .window-card {
    position: relative;
    width: 100%;
    border-radius: 10px;
    background-color: var(--color-light-gray);
  }

  .window-card:first-child {
    bottom: calc(66.66% + 50px);
  }

  .window-card:nth-child(2) {
    bottom: calc(33.33% + 50px);
  }

  .window-card:nth-child(3) {
    bottom: 50px;
  }

  .window-card .card-text {
    position: static;
  }

  /* styles for non pinned mobile stack */
  .card-section {
    aspect-ratio: auto;
    height: auto;
  }

  .card-section .bg-image {
    height: 100%;
  }
}

@media (min-width: 1351px) {
  .window-card .card-slider .card {
    padding: 20px;
    width: 475px;
  }
}

@media (min-width: 959px) {
  .window-card .card-text .h2 {
    font-size: 4em;
  }

  .window-card .card-text .x-large p {
    font-size: 1.375em;
  }
}

@media (min-width: 1024px) {
  .window-card {
    min-height: 550px;
    border: 1px solid var(--color-purple-gray);
  }

  .window-card .hole {
    position: absolute;
    left: 7.35%;
    top: 4.6%;
    bottom: 4.6%;
    width: 42.7%;
    border-radius: 16px;
    border: 1px solid var(--color-purple-gray);
    box-shadow: 0 0 0 99999px var(--color-light-gray);
    pointer-events: none;
  }

  .window-card .card-text {
    position: absolute;
    z-index: 2;
    top: 4.6%;
    left: 54%;
    bottom: 4.6%;
    right: 4.6%;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
  }

  .window-card-container:nth-child(even) .window-card .hole {
    left: 54%;
  }

  .window-card-container:nth-child(even) .window-card .card-text {
    left: 7.35%;
    right: auto;
    width: 42.7%;
  }

  .window-card svg {
    display: block;
    width: 100%;
  }

  .window-card .card-slider.schedule-cards {
    height: 18%;
    top: 58%;
  }

  .window-card .card-slider .card {
    aspect-ratio: 478 / 200;
    border-radius: 10px;
    box-shadow: -6.928px 10px 30.265px 0px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    min-width: 375px;
  }

  .window-card .card-slider.schedule-cards .card {
    aspect-ratio: 1/0.3138;
  }

  .window-card:before {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    top: 0;
    left: 5%;
    background: var(--color-purple-gray);
    position: absolute;
    z-index: 2;
  }

  .window-card .logo {
    width: 12.9%;
    position: absolute;
    z-index: 1;
    transform-origin: bottom left;
    left: 3.1%;
    bottom: 6%;
    transform: rotate(-90deg);
  }

  .window-card .pf24 {
    position: absolute;
    z-index: 1;
    top: 82px;
    left: 2.3%;
    width: 0.8%;
  }

  .window-card .color-dot {
    position: absolute;
    z-index: 1;
    top: 4.8%;
    left: 2.1%;
    width: 1.2%;
    aspect-ratio: 1/1;
    background: var(--color-accent-yellow);
    border-radius: 999px;
  }

  .window-card-container:nth-child(even) .window-card .color-dot {
    background-color: var(--color-accent-magenta);
  }

  .window-card .card-text .buttons {
    pointer-events: auto;
  }

  .window-card .card-text .callout {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (min-width: 1440px) {
  .window-card {
    min-height: 650px;
  }

  .window-cards {
    flex-basis: 100%;
  }
}

@media (min-width: 1600px) {
  .window-card {
    min-height: 750px;
  }

  .card-slider-mask {
    padding: 48px 0;
  }

  .window-card .card-slider .card .text .title {
    font-size: 24px;
  }

  .window-card .card-slider .scholarship-card .text .title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .window-card .scaling-text {
    font-size: 80%;
  }
}

@media (max-width: 480px) {
  .window-card .card-text .x-large p {
    font-size: 14px;
  }
  .window-card .scaling-text {
    font-size: 50%;
  }
}
