/*
File Name: 		custom.css
Description:  You can add your custom CSS here and it will overwrite template styles
*/

/* Landing title font */
.landing-title {
  font-family: "Oswald", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-stretch: expanded !important;
  width: 100% !important;
}

/* Landing page height constraints to prevent vertical scroll */
.site-layout--landing .site-wrapper {
  min-height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

.site-layout--landing .site-content {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 0 !important;
}

.site-layout--landing .site-content__center {
  padding: 1vh 20px !important;
  width: 100%;
  max-width: 100%;
}

/* Landing title with Great Vibes font but exclude subtitle */
.landing-title .landing-subtitle {
  font-family: inherit !important; /* Reset to original font for subtitle */
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

/* Larger spacing for big screens */
@media (min-width: 1200px) {
  .landing-title .landing-subtitle {
    margin-top: 4rem !important;
    margin-bottom: 1rem !important;
  }
}

/* Landing title optimized for no vertical scroll */
.landing-title {
  white-space: pre-line;
  line-height: 1.1 !important;
  text-align: center;
  display: block;
  word-spacing: 100vw;
  overflow-wrap: break-word;
  hyphens: none;
  margin: 0 !important;
  padding: 0 !important;
  /* Larger font sizes with smart viewport scaling */
  font-size: clamp(3.75rem, 12vw, 8.25rem) !important;
  /* Account for 3 lines of text */
  max-height: calc(100vh - 15vh);
  text-transform: uppercase;
  letter-spacing: -0.06em;
  font-weight: 700;
  transform: scaleX(1.2) !important;
  width: 100% !important;
}

.landing-title::after {
  content: "";
  white-space: pre;
}

/* Responsive font sizes - balanced between readability and viewport fit */
@media (max-width: 1200px) {
  .landing-title {
    font-size: clamp(3.3rem, 11.25vw, 7.2rem) !important;
  }

  .site-layout--landing .site-content {
    padding-top: 4vh !important;
  }
}

@media (max-width: 992px) {
  .landing-title {
    font-size: clamp(2.7rem, 10.5vw, 6rem) !important;
  }
}

@media (max-width: 768px) {
  .landing-title {
    font-size: clamp(2.25rem, 9.75vw, 4.8rem) !important;
    line-height: 1.05 !important;
  }
}

@media (max-width: 576px) {
  .landing-title {
    font-size: clamp(1.8rem, 9vw, 3.75rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 400px) {
  .landing-title {
    font-size: clamp(1.5rem, 8.25vw, 3rem) !important;
    line-height: 0.95 !important;
  }
}

/* Height-based media queries for very short screens */
@media (max-height: 700px) {
  .landing-title {
    font-size: clamp(2.25rem, 9vh, 5.25rem) !important;
    line-height: 1 !important;
    max-height: calc(100vh - 20vh);
  }

  .site-layout--landing .site-content__center {
    padding: 1vh 20px !important;
  }
}

@media (max-height: 600px) {
  .landing-title {
    font-size: clamp(1.8rem, 7.5vh, 4.2rem) !important;
    line-height: 0.95 !important;
    max-height: calc(100vh - 25vh);
  }

  .site-layout--landing .site-content__center {
    padding: 0.5vh 20px !important;
  }
}

@media (max-height: 500px) {
  .landing-title {
    font-size: clamp(1.5rem, 6vh, 3.3rem) !important;
    line-height: 0.9 !important;
    max-height: calc(100vh - 30vh);
  }

  .site-layout--landing .site-content__center {
    padding: 0.3vh 15px !important;
  }
}

@media (max-height: 400px) {
  .landing-title {
    font-size: clamp(1.2rem, 5.25vh, 2.7rem) !important;
    line-height: 0.85 !important;
    max-height: calc(100vh - 35vh);
  }
}

/* Landing button spacing optimization */
.site-layout--landing .btn--landing {
  margin-top: 3vh !important;
  margin-bottom: 0 !important;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem) !important;
  padding: clamp(8px, 1.5vh, 15px) clamp(20px, 4vw, 30px) !important;
  background-color: #197aff !important;
  border-color: #197aff !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.site-layout--landing .btn--landing:hover {
  background-color: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #222430 !important;
}

.btn--landing.btn-primary::after {
  background-color: #ffd700 !important;
}

.btn--landing.btn-primary::before {
  background-color: #ffc107 !important;
}

/* Additional optimizations for larger title */
.site-layout--landing .site-header {
  height: auto !important;
  min-height: 0 !important;
}

.site-layout--landing .site-footer {
  height: auto !important;
  min-height: 0 !important;
  padding: 1vh 0 !important;
}

/* Combined width and height constraints for critical breakpoints */
@media (max-width: 1024px) and (max-height: 768px) {
  .landing-title {
    font-size: clamp(2.25rem, 7.5vmin, 4.5rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 768px) and (max-height: 600px) {
  .landing-title {
    font-size: clamp(1.8rem, 6.75vmin, 3.75rem) !important;
    line-height: 0.95 !important;
  }
}

/* Half-time Form Colors */
.text-success {
  color: #28a745 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-primary {
  color: #007bff !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Team Form Styles */
.team-form-badge {
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  color: white;
  font-weight: bold;
  font-size: 12px;
  border-radius: 2px;
}

.team-form-badge.win {
  background-color: #28a745;
}

.team-form-badge.loss {
  background-color: #dc3545;
}

.team-form-badge.draw {
  background-color: #ffc107;
  color: #212529;
}

.team-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.team-form-container .match-team-list {
  display: flex;
  gap: 1px;
  flex: 0 0 auto;
  width: auto;
}

.team-form-container .match-team-list li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-form-container span {
  font-size: 12px;
  font-weight: bold;
}

/* Pagination Loading States */
.header-pagination.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.header-pagination.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.header-scroll-arrow--disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.header-pagination--list li .current {
  color: #f39c12;
  font-weight: bold;
  pointer-events: none;
  background: rgba(243, 156, 18, 0.2);
  border-radius: 3px;
  padding: 5px 10px;
}

/* Content loading state */
.content.blog-layout--style-1 {
  transition: opacity 0.3s ease;
  min-height: 400px;
}

/* Error state styling */
.post--error {
  border-left: 4px solid #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

/* Responsive pagination improvements */
@media (max-width: 768px) {
  .header-pagination--list {
    display: flex;
    gap: 5px;
  }

  .header-pagination--list li {
    min-width: 30px;
    text-align: center;
  }
}

/*# sourceMappingURL=maps/custom.css.map */
