.tbw2024-title {
  border: 0;
  font-size: 70px;
  line-height: 1;
  text-align: center;
}

@media (max-width: 599px) {
  .tbw2024-title {
    font-size: 50px;
  }
}

@media (min-width: 600px) {
  .tbw2024-stars {
    background-image: url(/static/2024tbw/tbw2024-stars.svg);
    background-position: center 5rem;
    background-repeat: no-repeat;
    background-size: 90vw;
  }
}

@media (min-width: 1400px) {
  .tbw2024-stars {
    background-image: url(/static/2024tbw/tbw2024-stars.svg);
    background-position: center 5rem;
    background-repeat: no-repeat;
    background-size: 1200px;
  }
}

.tbw2024-highlight {
  background: linear-gradient(to bottom right, #ffe500, #ffb81c);
}

.tbw2024-buttons {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  max-width: 60ch;
  padding-bottom: 2rem;
  text-align: center;
}

@media (max-width: 500px) {
  .tbw2024-buttons {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }
}

.tbw2024-btn-primary {
  background: linear-gradient(to bottom right, #ffe500, #ffb81c);
  font-size: 1.5rem;
}

.tbw2024-btn-primary:hover {
  background: linear-gradient(90deg, #059be1, #196db5);
}

.tbw2024 .eventlist-title-with-label h2 {
  transition: none;
}

.tbw2024 .eventlist-title-with-label {
  margin-bottom: 100px;
}

.tbw .eventlist-title-with-label h2 {
  background-image: url(/static/2020tbw/star.svg);
  padding-left: 4.5rem;
}

.tbw2024 .eventlist-title-spacer {
  height: auto;
  z-index: 50;
}

.tbw2024 .eventlist-title-with-label h2 {
  background-color: transparent;
  box-sizing: border-box;
  display: inline-block;
  padding-right: var(--content-padding);
}

.tbw2024 .eventlist-title-with-label {
  background-color: hsla(0, 0%, 100%, 0.9);
  background-image: none;
  background-repeat: no-repeat;
  margin-bottom: 0;
  z-index: 10;
}

.tbw2024 .eventlist-title-with-label a.eventlist-title-label {
  background-image: linear-gradient(90deg, #059be1, #196db5);
}
.tbw2024 .eventlist-title-with-label a.eventlist-title-label:hover {
  color: #000000;
  background-image: linear-gradient(90deg, #ffe500, #ffb81c);
}

.tbw2024[data-type='eventlistbydate']:nth-child(2n) .eventlist-events-wrapper {
  background-image: linear-gradient(90deg, #d2e5f7, #f4fbff);
}

.tbw2024[data-type='eventlistbydate']:nth-child(odd) .eventlist-events-wrapper {
  background-image: linear-gradient(90deg, #059be1, #196db5);
}

.tbw2024-photos {
  font-size: 0;
  gap: 1rem;
  margin: 5rem auto 3rem;
  max-width: 700px;
  text-align: center;
  width: 100%;
}

.tbw2024-photo {
  border-radius: 50%;
  display: inline-block;
  height: 180px;
  overflow: hidden;
  position: relative;
  width: 180px;
}

@media (max-width: 600px) {
  .tbw2024-photo {
    height: 140px;
    width: 140px;
  }
}

@media (max-width: 500px) {
  .tbw2024-photo {
    height: 110px;
    width: 110px;
  }
}

@media (max-width: 400px) {
  .tbw2024-photo {
    height: 80px;
    width: 80px;
  }
}

.tbw2024-photo img {
  display: inline;
  height: 100%;
  margin: 0 auto;
  width: auto;
}

.tbw2024-photo:first-child {
  z-index: 1;
}

.tbw2024-photo:nth-child(2) {
  z-index: 0;
}

.tbw2024-photo:nth-child(3) {
  z-index: 2;
}

.tbw2024-day1 .tbw2024-photo:first-child {
  transform: scale(0.9) translateX(1rem) translateY(1rem);
}

.tbw2024-day1 .tbw2024-photo:nth-child(2) {
  transform: scale(1.4);
}

.tbw2024-day1 .tbw2024-photo:nth-child(3) {
  transform: scale(1.2);
}

.tbw2024-day2 .tbw2024-photo:first-child {
  transform: scale(0.9) translateX(-1rem) translateY(3rem);
}

.tbw2024-day2 .tbw2024-photo:nth-child(2) {
  transform: scale(1.2) translateX(-2rem);
}

.tbw2024-day2 .tbw2024-photo:nth-child(3) {
  transform: scale(1.5);
}

.tbw2024-day3 .tbw2024-photo:first-child {
  transform: scale(1.3) translateX(0) translateY(0);
}

.tbw2024-day3 .tbw2024-photo:nth-child(2) {
  transform: scale(0.9) translateX(-1rem);
  z-index: 3;
}

.tbw2024-day3 .tbw2024-photo:nth-child(3) {
  transform: scale(1.1) translateX(4rem);
}

.tbw2024-day4 .tbw2024-photo:first-child {
  transform: scale(1.5) translateX(0) translateY(0);
}

.tbw2024-day4 .tbw2024-photo:nth-child(2) {
  transform: scale(0.9) translateX(1rem) translateY(-3rem);
  z-index: 3;
}

.tbw2024-day4 .tbw2024-photo:nth-child(3) {
  transform: scale(0.9) translateX(-2rem) translateY(2rem);
}

.tbw2024-day5 .tbw2024-photo:first-child {
  transform: scale(1.2) translateX(0) translateY(0);
}

.tbw2024-day5 .tbw2024-photo:nth-child(2) {
  transform: scale(1.4) translateX(0) translateY(-3rem);
  z-index: 0;
}

.tbw2024-day5 .tbw2024-photo:nth-child(3) {
  transform: scale(1.1) translateX(-1rem) translateY(2rem);
}

.tbw2024-day6 .tbw2024-photo:first-child {
  transform: scale(1.3) translateX(0) translateY(-1rem);
}

.tbw2024-day6 .tbw2024-photo:nth-child(2) {
  transform: scale(0.9) translateX(0) translateY(1rem);
  z-index: 0;
}

.tbw2024-day6 .tbw2024-photo:nth-child(3) {
  transform: scale(1.3) translateX(0) translateY(-2rem);
}

.tbw2024-day7 .tbw2024-photo:first-child {
  transform: scale(1.3) translateX(-2rem) translateY(0);
}

.tbw2024-day7 .tbw2024-photo:nth-child(2) {
  transform: scale(1.5) translateX(0) translateY(-1rem);
  z-index: 0;
}

.tbw2024-day7 .tbw2024-photo:nth-child(3) {
  transform: scale(0.9) translateX(0) translateY(1rem);
}

.tbw2024-day8 .tbw2024-photo:first-child {
  transform: scale(1.2) translateX(0) translateY(1rem);
}

.tbw2024-day8 .tbw2024-photo:nth-child(2) {
  transform: scale(1.5) translateX(1rem) translateY(-1rem);
  z-index: 0;
}

.tbw2024-day8 .tbw2024-photo:nth-child(3) {
  transform: scale(1.3) translateX(3rem) translateY(1rem);
}

.tbw2024 .event-card[data-event-cal='/ucla/featured'] .event-card-body {
  background-image: linear-gradient(top right, #059be1, #196db5);
  background-image: linear-gradient(to bottom right, #ffe500, #ffb81c);
}

.tbw2024-header:not(:has(video)) {
  max-width: calc(1000px + 4rem);
  padding-right: 2rem;
  padding-left: 2rem;
}

.tbw2024-header:has(video) {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr min-content;
  margin: 0;
  max-width: auto;
  padding: 0;
  width: 100vw;
}

.tbw2024-header:has(video) .tbw2024-header__title {
  backdrop-filter: blur(10px);
  background-color: hsla(0, 0%, 100%, 0.8);
  font-size: 2rem;
  grid-column: 1/1;
  grid-row: 2/3;
  margin: 0;
  padding: 1rem 2rem 0;
  z-index: 2;
}

.tbw2024-header:has(video) .tbw2024-header__title img {
  display: block;
  margin: 0 auto;
  max-width: 900px;
  padding: 0;
}

.tbw2024-header:has(video) .tbw2024-header__video__container {
  font-size: 0;
  grid-column: 1/1;
  grid-row: 1/3;
  margin: 0;
  max-width: 100%;
  padding: 0;
}

.tbw2024-header:has(video) video {
  height: 100%;
  margin: 0;
  max-width: auto;
  padding: 0;
  width: 100vw;
}

.tbw2024-header__title {
  font-size: 2.4rem;
  padding-top: 40px;
  text-align: center;
}

.tbw2024-description {
  font-size: 1.4rem;
  max-width: 60ch;
  padding-bottom: 2rem;
}

.tbw2024-header:has(video) + .tbw2024-description {
  padding-bottom: 4rem;
  padding-top: 4rem;
}

@media (max-width: 1023px) {
  .tbw2024-header:has(video) {
    grid-template-columns: auto;
  }

  .tbw2024-header:has(video) .tbw2024-header__title {
    grid-column: 1/1;
    grid-row: 1/2;
  }

  .tbw2024-header:has(video) .tbw2024-header__video__container {
    grid-column: 1/1;
    grid-row: 2/3;
  }
}

.tbw2024-highlights h2 {
  font-size: 400%;
}

.tbw2024-highlights__events {
  column-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 2000px;
  padding: 0;
  row-gap: 1.5rem;
}

.tbw2024-highlights {
  background-image: linear-gradient(85deg, var(--blue), var(--darker-blue));
  background-image: linear-gradient(90deg, #ffe500, #ffb81c);
  background-image: linear-gradient(90deg, #059be1, #196db5);
  color: #fff;
  padding: 2rem 2rem 4rem;
  text-align: center;
}

.tbw2024-highlights h2 {
  border: 0;
  font-size: 70px;
  line-height: 1;
  padding: 0 0 2rem;
}

.tbw2024-highlights__link {
  color: #fff;
  display: grid;
  grid-template-columns: 1fr;
  padding-bottom: 0.5rem;
  transition: background-color 0.2s linear, color 0.2s linear, outline 0.2s linear;
}

.tbw2024-highlights__link:focus,
.tbw2024-highlights__link:hover {
  background-color: var(--gold);
  color: #000;
  outline: 3px solid var(--gold);
}

.tbw2024-highlights__image {
  transform: scale(1);
  transition: transform 0.5s;
  z-index: 0;
}

@-moz-document url-prefix() {
  .tbw2024-highlights__image {
    transform: none !important;
    transition: none !important;
  }
}

.tbw2024-highlights__image_container {
  background-color: #35a3dc;
  font-size: 0;
}

.tbw2024-container img {
  max-width: 100%;
  width: 100%;
}

.tbw2024-container {
  max-width: 100%;
  width: 100%;
}

.tbw2024-highlights__link:hover .tbw2024-highlights__image {
  transform: scale(1.02);
}

.tbw2024-highlights__title {
  font-size: 24px;
  font-weight: 700;
  z-index: 1;
}

.tbw2024-highlights__timespan {
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
}

.tbw2024-lastyear__header {
  border: 0;
  font-size: 2rem;
  margin: 0;
  padding: 8rem 0 2rem;
  text-align: center;
}

.tbw2024-lastyear__button {
  text-align: center;
}

.tbw2024-lastyear__button .btn {
  font-size: 1.4rem;
}
@media (max-width: 700px) {
  .tbw2024-highlights {
    padding: 2rem 0;
  }

  .tbw2024-highlights__event {
    border-top: 2px solid #fff;
    margin: 0;
    padding: 0 0 1.5rem;
  }

  .tbw2024-header__title {
    font-size: 1.4rem;
  }

  .tbw2024-container {
    max-width: 100%;
    width: 100%;
  }

  .tbw2024-description {
    font-size: 1rem;
  }

  .tbw2024-description {
    font-size: 1rem;
  }

  .tbw2024-highlights h2 {
    font-size: 2rem;
  }

  .tbw2024-highlights__events {
    grid-template-columns: 1fr;
  }

  .tbw2024-lastyear__header {
    font-size: 1.4rem;
  }

  .tbw2024-lastyear__button .btn {
    font-size: 1rem;
  }
}

@media (min-width: 1400px) {
  .tbw2024-highlights__events {
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: 1800px;
  }
}

.tbw2024-container {
  opacity: 1 !important;
}

body[data-path^='/truebruinwelcome/2024'] {
  background-image: url(/static/2024tbw/trails.png);
  background-repeat: no-repeat;
  background-size: 100vw;
}
