

/* ------------------------------------- */
/* Base Session Card Styles & Transitions */
/* ------------------------------------- */
.session-card {
  cursor: pointer;
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform-origin: center center;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--card-border), var(--soft-shadow-card);
  transition: all 0.3s ease-out;
}

.session-card,
.session-card:hover,
.session-card.active,
.session-card.active:hover {
  min-width: var(--screen-min-width);
  background-color: var(--card-background);
  padding: var(--session-card-padding);
  line-height: 1.6;
  border-radius: var(--border-radius-lg);
  position: relative;
  box-sizing: border-box;
}

.session-card:hover {
  background-color: var(--card-background-hover);
  box-shadow: 0 0 0 var(--card-border-size) var(--card-border-hover), var(--soft-shadow-card);
  cursor: pointer;
}

.session-card.active {
  box-shadow: 0 0 0 var(--card-border-size) var(--card-border-active), var(--soft-shadow-card);
}

.session-card.active:hover {
  background-color: var(--card-background-active-hover);
  box-shadow: 0 0 0 var(--card-border-size) var(--card-border-active-hover), var(--soft-shadow-card);
}

/* Style for a card that has been tapped/clicked to open the modal */
.session-card.tapped-card,
.session-card.tapped-card:hover,
.session-card.active.tapped-card {
  background-color: var(--card-background-active-hover);
  box-shadow: 0 0 0 var(--card-border-size) var(--card-border-active-hover), var(--soft-shadow-card);
}

#session-card-cta-button.cta-button:focus,
#session-card-cta-button.cta-button.active:focus,
#session-card-cta-button.cta-button.alert:focus {
  border: none;
  outline: none;
  box-shadow: var(--soft-shadow-button);
}

.columns-2 {
  display: flex;
  flex-direction: row; /* 2 columns side by side in row layout */
  gap: var(--gap-xxl);
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.session-card-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.session-card-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: var(--session-card-min-height);
  gap: var(--gap-sm);
}

.session-card-header {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: var(--gap-sm);
}

.session-card-header-text {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  line-height: 1.6;
}

.session-card-header-text h3 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--gap-lg);
  font-size: var(--font-size-heading-h3);
  color: var(--text-header-neutral);
}

.session-card-name {
  display: inline-flex;
  white-space: normal;
  font-weight: 600;
  align-items: center;
  gap: var(--gap-md);
}

.session-card-subtitle {
  display: inline-flex;
  font-size: var(--font-size-label-sm);
  font-weight: 400;
  color: var(--text-subtitle);
}

.date-text,
.time-text-group,
.time-text,
.location-text-group,
.location-text,
.availability-text,
.resource-text-group,
.resource-text,
.waitlist-text,
.duration-text,
.reviews-text {
  display: inline-flex;
  gap: var(--gap-md);
  align-items: center;
}

.session-details,
.session-instructors,
.instructor-pill,
.instructor-row {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--gap-md);
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--text-label-neutral);
  margin: 0;
  line-height: 1.6;
  align-items: center;
  justify-content: start;
  white-space: normal;
  
}

.session-info-modal-details .session-instructors span.label {
  color: var(--text-label-neutral);
  white-space: nowrap;
  font-weight: 600;
}

.resource-text-group .resource-text {
  white-space: normal;	
}

.time-text-group .time-text,
.time-text-group .duration-text {
  white-space: nowrap;	
}

.session-details.time-text-group {
  justify-content: end;
  align-items: end;
  flex-direction: row;
  flex-wrap: nowrap;
}

.instructor-row {
  padding-top: var(--gap-xs);
  padding-bottom: var(--gap-xs);
}

.session-card-content .instructor-row {
  padding-bottom: var(--session-card-padding);
}

.instructor-pill {
  gap: var(--gap-md);
}

.instructor-icon {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  border-radius: var(--border-radius-circle);
  object-fit: cover;
}

.date-text span,
.time-text span,
.location-text span,
.availability-text span,
.resource-text span,
.waitlist-text span,
.duration-text span,
.reviews-text span {
  font-family: inherit;
  margin: 0;
  padding: 0;
}

.session-info {
  display: inline-flex;
  gap: var(--gap-lg);
  flex-wrap: wrap;
  justify-content: end;
}

.session-info .waitlist-text {
  display: inline-flex;
  flex-wrap: nowrap;
}

.session-info .waitlist-text .sublabel .bold {
  font-weight: 600;
}

.session-info .waitlist-text span.sublabel {
  color: var(--text-label-light);
}

.session-card .session-info .availability-text .low-availability {
  color: var(--text-label-alert);
  font-weight: 600;
}

.session-card .session-info .availability-text .bold {
  font-weight: 600;
}

.session-price {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: var(--font-size-price);
  font-weight: 600;
  white-space: nowrap;
}