/* ===== Kick Sport Home Page ===== */

.ka-leagues {
  display: none !important;
}

.ka-leagues-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

.ka-league-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 25%;
  width: 25%;
  min-height: 220px;
  overflow: hidden;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
}

.ka-league-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.ka-league-nfl { background: #013369; }
.ka-league-mlb { background: #002d72; }
.ka-league-nba { background: #1d428a; }
.ka-league-nhl { background: #111111; }

.ka-league-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ka-league-name {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0.85rem 0.5rem;
  font-family: 'Barlow Condensed', Inter, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.ka-league-tile:hover {
  color: #ffffff;
}

.ka-league-tile:hover .ka-league-name {
  color: #c8102e;
}

@media (max-width: 767.98px) {
  .ka-league-tile {
    flex-basis: 50%;
    width: 50%;
    min-height: 160px;
  }
}

@media (min-width: 992px) {
  .ka-league-tile {
    min-height: 36vw;
    max-height: 420px;
  }

  .ka-league-name {
    font-size: 2.4rem;
  }
}

.ka-teams {
  width: 100%;
  margin: 5px 0;
  padding: 0;
  background: #ffffff;
  border: 0;
}

.ka-teams-tabs {
  display: flex;
  width: 100%;
}

.ka-teams-tab {
  flex: 1 1 25%;
  margin: 0;
  padding: 0.7rem 0.5rem;
  border: 0;
  border-right: 1px solid #dcdcdc;
  background: #ececec;
  color: #222222;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.ka-teams-tab:last-child {
  border-right: 0;
}

.ka-teams-tab.is-active {
  background: #2a2a2a;
  color: #ffffff;
}

.ka-teams-panel {
  display: none;
}

.ka-teams-panel.is-active {
  display: block;
  padding: 5px;
  background: #f3f3f3;
}

.ka-teams-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  border: 0;
  background: transparent;
}

@media (min-width: 768px) {
  .ka-teams-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ka-teams-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.ka-teams-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #333333;
  font-size: 0.7rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  word-break: break-word;
  box-sizing: border-box;
}

.ka-teams-cell:hover {
  color: #c8102e;
  border-color: #c8102e;
  background: #ffffff;
}

.ka-teams-cell.has-image {
  gap: 0;
  padding: 8px;
}

.ka-teams-cell.has-image .ka-teams-label {
  display: none;
}

.ka-teams-image {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .ka-teams-image {
    width: 100%;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    aspect-ratio: 1 / 1;
  }
}

.ka-teams-label {
  font-size: 0.68rem;
  line-height: 1.2;
  color: inherit;
}

#common-home #content > .ka-teams {
  margin-top: 5px;
  margin-bottom: 5px;
}

#common-home #content > .ka-teams ~ .vw-module-section {
  margin-top: 5px;
}

.vw-home {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.vw-home-main,
.vw-home-main > .row {
  margin: 0;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

#common-home #content {
  display: flex;
  flex-direction: column;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100%;
}

#common-home #content > * {
  order: 5;
}

#common-home #content > [id^="carousel-banner-"],
#common-home #content > [id^="carousel-banner-"] + script {
  order: 1;
}

#common-home #content > .ka-teams,
#common-home #content > .ka-teams + script {
  order: 2;
}

#common-home #content > .vw-module-section {
  order: 3;
}

#common-home .vw-module-section {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

#common-home .vw-module-section > .row {
  --bs-gutter-x: 0.75rem;
}

/* Homepage Slideshow (banner): keep full-width — do not hide */
#common-home #content > [id^="carousel-banner-"] {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

#common-home #content > [id^="carousel-banner-"]:not(.carousel-hero) .vw-banner-grid {
  --bs-gutter-x: 0;
  margin: 0;
}

#common-home #content > [id^="carousel-banner-"]:not(.carousel-hero) .vw-banner-col {
  padding: 0;
}

#common-home #content > [id^="carousel-banner-"]:not(.carousel-hero) img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.vw-home-bottom {
  padding-top: 0.5rem;
}
.vw-module-section {
  margin-bottom: 3rem;
}

.vw-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ebebeb;
}

.vw-module-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d1f21;
  margin: 0;
  letter-spacing: -0.02em;
}

.vw-view-all {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1d1f21;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vw-view-all:hover {
  color: #c8102e;
}

.vw-why-choose {
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.vw-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1f21;
  margin-bottom: 2rem;
}

.vw-trust-card {
  text-align: center;
  padding: 1rem 0.5rem;
}

.vw-trust-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d1f21;
  margin-bottom: 0.75rem;
}

.vw-trust-card p {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

.vw-faq {
  margin: 3rem 0 2rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.vw-faq-accordion .accordion-item {
  border: 1px solid #ebebeb;
  border-radius: 0 !important;
  margin-bottom: -1px;
}

.vw-faq-accordion .accordion-button {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1f21;
  background: #ffffff;
  box-shadow: none;
  padding: 1rem 1.25rem;
}

.vw-faq-accordion .accordion-button:not(.collapsed) {
  color: #1d1f21;
  background: #f8f8f8;
}

.vw-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: #ebebeb;
}

.vw-faq-accordion .accordion-body {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.7;
  padding: 1rem 1.25rem 1.25rem;
}

@media (max-width: 767.98px) {
  #common-home .vw-module-section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .vw-module-title {
    font-size: 1.15rem;
  }

  .vw-why-choose {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }

  /* Hero banner: normal full content width (do NOT use left:50%/100vw) */
  #common-home #content > [id^="carousel-banner-"].carousel-hero,
  #common-home .carousel-banner-full-width.carousel-hero {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.25rem !important;
    border-radius: 0;
    overflow: hidden;
  }

  #common-home .carousel-hero .carousel-hero-image,
  #common-home #content > [id^="carousel-banner-"].carousel-hero img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center;
  }

  #common-home .carousel-hero .carousel-item {
    min-height: 0 !important;
    height: auto !important;
  }

  #common-home #content > [id^="carousel-banner-"] + .vw-module-section {
    margin-top: 0 !important;
  }

  #common-home .vw-module-section {
    margin-top: 0.35rem;
    margin-bottom: 1.5rem;
    padding-top: 0;
  }

  #common-home .vw-module-header {
    margin-bottom: 0.65rem;
    padding-bottom: 0.4rem;
  }
}
