/* Only the platform's adapted tournament cards on the existing homepage. */
.butcup-home-v2 #tournaments.bcd-home-cards .bc2-main-tournament-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference,
.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference *,
.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference *::before,
.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference *::after {
  box-sizing: border-box;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference {
  --bcd-accent: #7622c9;
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  background: #fff;
  color: #111;
  font-style: normal;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference[hidden] {
  display: none !important;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc23-tournament-avatar {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #1c1029;
  background: color-mix(in srgb, var(--bcd-accent) 18%, #080815);
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc23-tournament-avatar img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference[data-state="scheduled"] .bc23-tournament-avatar img,
.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference[data-state="in_progress"] .bc23-tournament-avatar img {
  object-fit: cover;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-season {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 8px 10px;
  background: #fff;
  color: #111;
  font-size: clamp(17px, 1.5vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 16px;
  background: #fff;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-years {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 0 0 16px;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-years::after {
  content: none;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid #909090;
  border-radius: 9px;
  background: #fff;
  color: #888;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcp-state-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-copy h3 {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  color: #111;
  font-family: inherit;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference h3::after {
  content: none;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px !important;
  padding: 0;
  color: #606460;
  font-size: 13px;
  line-height: 1.5;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference [data-bcp-dates] {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  max-width: 100%;
  padding: 4px 5px;
  border: 1px solid #909090;
  border-radius: 11px;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-meta > .bcd-card-date-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-date-row::after {
  content: none;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-meta > .bcd-card-place {
  display: none;
  margin: 0;
  color: #707070;
  font-size: 13px;
  line-height: 1.4;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcp-summary {
  display: none;
  margin: 0;
  padding: 0;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-button,
.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #ffd000;
  color: #111;
  font: 700 16px/1.35 var(--bc2-font, Arial, sans-serif);
  text-align: center;
  text-decoration: none;
  text-transform: none;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-text-link {
  background: #dfdfdf;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-text-link > span[aria-hidden] {
  display: none;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bcp-registration {
  flex: 1 1 100%;
  align-self: center;
  color: #606460;
  font-size: 14px;
  line-height: 1.6;
}

.butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference :focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #fff4bf;
}

@media (hover: hover) {
  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-button:hover {
    background: #f4c600;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-text-link:hover {
    background: #d2d2d2;
    text-decoration: none;
  }
}

@media (max-width: 1099px) {
  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference {
    grid-template-columns: minmax(0, 1fr);
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc23-tournament-avatar {
    height: auto;
    aspect-ratio: 1;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-season {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    font-size: 20px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-copy {
    padding: 20px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-years {
    gap: 8px;
    margin-bottom: 18px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-copy h3 {
    margin-bottom: 20px;
    padding-bottom: 0;
    line-height: 1.15;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-meta {
    margin-bottom: 20px !important;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-date-row {
    gap: 16px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcp-summary {
    font-size: 17px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions {
    gap: 12px;
    padding-top: 24px;
  }
}

@media (max-width: 760px) {
  .butcup-home-v2 #tournaments.bcd-home-cards .bc2-main-tournament-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bc2-main-tournament-copy {
    padding: 18px;
  }

  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-button,
  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference .bcd-card-actions > .bc2-main-text-link {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .butcup-home-v2 #tournaments.bcd-home-cards .bcd-card-reference * {
    transition: none !important;
  }
}
