/* Options / expandable cards - scoped to highlights section */
#highlightsSection .highlights-options-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 400px;
  font-family: 'Roboto', sans-serif;
  transition: 0.25s;
}

#highlightsSection .highlights-options-wrapper .credit {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: inherit;
  font-size: 0.75rem;
  opacity: 0.8;
}

#highlightsSection .highlights-options-wrapper .options {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  min-width: 600px;
  max-width: 900px;
  width: calc(100% - 100px);
  height: 400px;
}

@media screen and (max-width: 718px) {
  #highlightsSection .highlights-options-wrapper .options {
    min-width: 520px;
  }
  #highlightsSection .highlights-options-wrapper .options .option:nth-child(5) {
    display: none;
  }
}

@media screen and (max-width: 638px) {
  #highlightsSection .highlights-options-wrapper .options {
    min-width: 440px;
  }
  #highlightsSection .highlights-options-wrapper .options .option:nth-child(4) {
    display: none;
  }
}

@media screen and (max-width: 558px) {
  #highlightsSection .highlights-options-wrapper .options {
    min-width: 360px;
  }
  #highlightsSection .highlights-options-wrapper .options .option:nth-child(3) {
    display: none;
  }
}

@media screen and (max-width: 478px) {
  #highlightsSection .highlights-options-wrapper .options {
    min-width: 280px;
  }
  #highlightsSection .highlights-options-wrapper .options .option:nth-child(2) {
    display: none;
  }
}

#highlightsSection .highlights-options-wrapper .options .option {
  position: relative;
  overflow: hidden;
  min-width: 60px;
  margin: 10px;
  background: var(--optionBackground, var(--defaultBackground, #E6E9ED));
  background-size: auto 120%;
  background-position: center;
  cursor: pointer;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(1) {
  --defaultBackground: #ED5565;
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(2) {
  --defaultBackground: #FC6E51;
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(3) {
  --defaultBackground: #FFCE54;
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(4) {
  --defaultBackground: #2ECC71;
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(5) {
  --defaultBackground: #5D9CEC;
}

#highlightsSection .highlights-options-wrapper .options .option:nth-child(6) {
  --defaultBackground: #AC92EC;
}

#highlightsSection .highlights-options-wrapper .options .option.active {
  flex-grow: 10000;
  transform: scale(1);
  max-width: 600px;
  margin: 0;
  border-radius: 40px;
  background-size: cover;
}

#highlightsSection .highlights-options-wrapper .options .option.active .shadow {
  box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
}

#highlightsSection .highlights-options-wrapper .options .option.active .label {
  bottom: 20px;
  left: 20px;
}

#highlightsSection .highlights-options-wrapper .options .option.active .label .info > div {
  left: 0;
  opacity: 1;
}

#highlightsSection .highlights-options-wrapper .options .option:not(.active) {
  flex-grow: 1;
  border-radius: 30px;
}

#highlightsSection .highlights-options-wrapper .options .option:not(.active) .shadow {
  bottom: -40px;
  box-shadow: inset 0 -120px 0 -120px black, inset 0 -120px 0 -100px black;
}

#highlightsSection .highlights-options-wrapper .options .option:not(.active) .label {
  bottom: 10px;
  left: 10px;
}

#highlightsSection .highlights-options-wrapper .options .option:not(.active) .label .info > div {
  left: 20px;
  opacity: 0;
}

#highlightsSection .highlights-options-wrapper .options .option .shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

#highlightsSection .highlights-options-wrapper .options .option .label {
  display: flex;
  position: absolute;
  right: 0;
  height: 40px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

#highlightsSection .highlights-options-wrapper .options .option .label .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
  color: white;
  white-space: pre;
}

#highlightsSection .highlights-options-wrapper .options .option .label .info > div {
  position: relative;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}

#highlightsSection .highlights-options-wrapper .options .option .label .info .main {
  font-weight: bold;
  font-size: 1.2rem;
}

#highlightsSection .highlights-options-wrapper .options .option .label .info .sub {
  transition-delay: 0.1s;
}

/* Dark mode adjustments */
.dark #highlightsSection .highlights-options-wrapper {
  color: white;
}

.dark #highlightsSection .highlights-options-wrapper .credit {
  color: rgba(255, 255, 255, 0.8);
}
