/* stylelint-disable order/order */
/* stylelint-enable order/order */
/****************
 * Fonts
 *
 * The font settings are defined via the gulp figma task creates variables in the css/__base-includes/figma/_figma-font-styles.scss file based on the Figma file. Additional variables are defined here.
 ****************/
/****************
 * Colors
 *
 * The primary colors are defined via the gulp figma task creates variables in the css/__base-includes/figma/_figma-color-variables.scss file based on the Figma file. Additional variables are defined here.
 ****************/
/****************
 * Effects
 ****************/
/****************
 * Grid Settings
 ****************/
/*
This file can be used for optional additions to the Figma-generated font style mixins in the figma/_figma-font-styles.scss file.

For example, if you want to add styles to the @overline mixin, just create a mixin here called @overline-custom and that CSS will be added to the primary mixin:

@mixin overline-custom() {
	font-weight: 700;
}
*/
.program-card {
  position: relative;
  min-height: 12.75rem;
  background-color: #fff;
}
.program-card.program-card--default {
  display: flex;
  flex-direction: column;
}
.program-card.program-card--default .program-card__title {
  font-weight: var(--title-2-font-weight);
  font-size: var(--title-2-font-size);
  font-family: var(--title-2-font-family);
  line-height: var(--title-2-line-height);
  --margin-top: 0.937rem;
}
.program-card.program-card--default .program-card__buttons {
  display: flex;
  flex-flow: wrap;
  flex-grow: 1;
  gap: 1rem;
  align-items: flex-end;
  margin-top: 1.5rem;
}
.program-card.program-card--default .program-card__image-wrapper {
  background-color: var(--typeColor);
}
.program-card.program-card--default .program-card__image-wrapper img {
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 90%, 0% 50%);
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal {
    display: flex;
  }
}
.program-card.program-card--horizontal .program-card__title {
  font-weight: var(--t4-font-weight);
  font-size: var(--t4-font-size);
  font-family: var(--t4-font-family);
  line-height: var(--t4-line-height);
  --margin-top: 0;
}
.program-card.program-card--horizontal .program-card__image-col {
  background-color: var(--typeColor);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 83%);
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal .program-card__image-col {
    width: 30%;
    height: 100%;
    min-width: 12.5rem;
    max-width: 19rem;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  }
}
.program-card.program-card--horizontal .program-card__image-wrapper {
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 80%);
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal .program-card__image-wrapper {
    width: 100%;
    height: 100%;
    padding-bottom: 16%;
    clip-path: polygon(0 0, 98% 0, 88% 100%, 0% 100%);
  }
}
.program-card.program-card--horizontal .program-card__content {
  flex-grow: 1;
  padding: 1.4375rem 1.25rem 0rem 1.25rem;
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal .program-card__content {
    width: 50%;
    padding: 3rem 5rem 3rem 3rem;
  }
}
.program-card.program-card--horizontal .program-card__buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.4375rem 1.25rem 1.25rem 1.25rem;
  text-align: center;
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal .program-card__buttons {
    display: block;
    width: 20%;
    padding: 3rem 3rem 3rem 1rem;
  }
}
@media (min-width: 62rem) {
  .program-card.program-card--horizontal .program-card__buttons .c-btn--primary {
    width: 100%;
    margin-bottom: 1.125rem;
  }
}
.program-card__taxonomy {
  font-weight: var(--subtitle-2-font-weight);
  font-size: var(--subtitle-2-font-size);
  font-family: var(--subtitle-2-font-family);
  line-height: var(--subtitle-2-line-height);
  margin-bottom: var(--subtitle-2-margin-bottom);
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 0.75rem;
  color: #0d0d0d;
  text-decoration: none;
  background-color: var(--typeColor);
}
.program-card__taxonomy:last-child {
  margin-bottom: 0;
}
.program-card__taxonomy a {
  text-decoration: none;
}
.program-card__title {
  margin-bottom: 0;
}
.program-card__title a {
  text-decoration: none;
}
body .program-card__excerpt {
  font-weight: var(--subtitle-2-font-weight);
  font-size: var(--subtitle-2-font-size);
  font-family: var(--subtitle-2-font-family);
  line-height: var(--subtitle-2-line-height);
  margin-bottom: var(--subtitle-2-margin-bottom);
  margin-top: 1rem;
  margin-bottom: 0;
}
body .program-card__excerpt:last-child {
  margin-bottom: 0;
}
body .program-card__excerpt p {
  font-weight: var(--subtitle-2-font-weight);
  font-size: var(--subtitle-2-font-size);
  font-family: var(--subtitle-2-font-family);
  line-height: var(--subtitle-2-line-height);
  margin-bottom: var(--subtitle-2-margin-bottom);
}
body .program-card__excerpt p:last-child {
  margin-bottom: 0;
}
.program-card__age-detail {
  font-weight: var(--subtitle-3-font-weight);
  font-size: var(--subtitle-3-font-size);
  font-family: var(--subtitle-3-font-family);
  line-height: var(--subtitle-3-line-height);
}
.program-card__age-detail:not(:last-child) {
  margin-right: 0.5rem;
  padding-right: 0.5rem;
  border-right: 1px solid #acb4c3;
}
.program-card__date-range {
  font-weight: var(--subtitle-3-font-weight);
  font-size: var(--subtitle-3-font-size);
  font-family: var(--subtitle-3-font-family);
  line-height: var(--subtitle-3-line-height);
}
.program-card__details {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}
.program-card__buttons {
  position: relative;
  z-index: 1;
}

.past-events .program-card__taxonomy {
  background-color: #0d0d0d;
  color: #fff;
  font-weight: 600;
}
.past-events .program-card__taxonomy a {
  color: #fff;
  font-weight: 600;
}