/* World Cup Widget — compiled from css/world-cup-widget.scss. Edit the .scss and recompile. */

:root {
  --sem-color-white: #ffffff;
  --sem-color-light-warm-gray: #edece6;
  --sem-color-medium-warm-gray: #b3b3ac;
  --sem-color-dark-warm-gray: #5c5b54;
  --sem-color-medium-dark-warm-gray: #7c7b76;
  --sem-color-black: #000000;
  --sem-color-medium-gray: #555555;
  --sem-color-aqua-blue: #00aabe;
  --sbm-color-orange: #EA5A12;
  --sbm-color-orange-dark: #AE2B00;
}

.wcw {
  position: relative;
}
.wcw * {
  box-sizing: border-box;
}

.wcw-pairs {
  display: grid;
}

.wcw-pair {
  grid-area: 1/1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.wcw-pair.is-active {
  opacity: 1;
  pointer-events: auto;
}

.wcw-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}

.wcw-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.wcw-flag {
  display: block;
  width: 45px;
  height: 30px;
  object-fit: cover;
  border: 1px solid #000000;
}

.wcw-team-code,
.wcw-info-main {
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-align: center;
  color: #000000;
}

.wcw-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  white-space: nowrap;
}

.wcw-info-label {
  font-family: itc-avant-garde-gothic-pro, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #5c5b54;
}

@media (min-width: 992px) and (max-width: 1265px) {
  .wcw-pair {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .wcw {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .wcw-pairs {
    display: block;
  }
  .wcw-pair {
    display: contents;
  }
  .wcw-match {
    padding: 1.25rem 0;
    border-bottom: 1px solid #ffffff;
  }
  .wcw-match:first-child {
    border-top: 1px solid #ffffff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wcw-pairs {
    display: block;
  }
  .wcw-pair {
    display: contents;
  }
  .wcw-match {
    padding: 1.25rem 0;
    border-bottom: 1px solid #edece6;
  }
  .wcw-match:first-child {
    border-top: 1px solid #edece6;
  }
}
