/* style/sports.css */

/* --- Base Styles --- */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly set for clarity, assuming shared.css doesn't set body background */
}

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-sports__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports__section-title {
  font-size: 36px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-sports__section-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__content-block {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 17px;
}

.page-sports__content-block p {
  margin-bottom: 15px;
}

.page-sports__content-block a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-sports__content-block a:hover {
  text-decoration: underline;
}

/* --- Buttons --- */
.page-sports__cta-button,
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-sports__cta-button {
  background: #EA7C07; /* Login button color */
  color: #ffffff;
  margin-top: 30px;
}

.page-sports__cta-button:hover {
  background: #d46c06;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary {
  background: #26A9E0;
  color: #ffffff;
}

.page-sports__btn-primary:hover {
  background: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-sports__button-center {
  text-align: center;
  margin-top: 40px;
}

.page-sports__contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* --- Image Styles (Global) --- */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__image-full {
  width: 100%;
  border-radius: 8px;
  margin: 30px 0;
}

/* Ensure all content images are at least 200x200 if selected by general selectors */
.page-sports img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min-height: 200px;
}

/* --- HERO Section --- */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Gradient background */
}

.page-sports__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Ensure content is above any potential background effects */
}

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-sports__hero-title {
  font-size: 48px;
  color: #000000; /* Darker text for contrast on light gradient */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Introduction Section --- */
.page-sports__introduction {
  background-color: #f8f8f8;
}

/* --- Guide Section --- */
.page-sports__guide {
  background-color: #ffffff;
}

.page-sports__list-ordered {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding-left: 25px;
  font-size: 17px;
}

.page-sports__list-ordered li {
  margin-bottom: 10px;
}

.page-sports__list-ordered li strong {
  color: #26A9E0;
}

/* --- Popular Sports Section --- */
.page-sports__popular-sports {
  background-color: #f0f8ff; /* Light blue background */
}

.page-sports__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
  min-height: 200px; /* Ensure card images are not too small */
}

.page-sports__card-title {
  font-size: 24px;
  color: #26A9E0;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-sports__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-sports__card-title a:hover {
  text-decoration: underline;
}

.page-sports__card-text {
  font-size: 16px;
  color: #555555;
  padding: 0 20px 20px 20px;
}

/* --- Promotions Section --- */
.page-sports__promotions {
  background-color: #ffffff;
}

.page-sports__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__promo-card {
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__promo-card .page-sports__card-image {
  height: 220px; /* Fixed height for consistency */
  min-height: 200px; /* Ensure card images are not too small */
}

.page-sports__promo-card .page-sports__card-title {
  font-size: 22px;
  margin: 20px 20px 10px 20px;
}

.page-sports__promo-card .page-sports__card-text {
  font-size: 15px;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-sports__promo-card .page-sports__btn-secondary {
  margin-top: 10px;
  padding: 10px 25px;
  font-size: 16px;
}

/* --- Security & Support Section --- */
.page-sports__security-support {
  background-color: #26A9E0; /* Primary brand color background */
  color: #ffffff; /* White text for contrast */
}

.page-sports__security-support .page-sports__section-title {
  color: #ffffff;
}

.page-sports__security-support .page-sports__content-block {
  color: #e0f2f7;
}