/* style/sports-football-events.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-button-color: #EA7C07;
}

/* Base styles for the page content */
.page-sports-football-events {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default to dark text for light background */
  background-color: var(--secondary-color); /* Assuming body background is light */
  padding-bottom: 60px; /* Space for footer */
}

/* Container for consistent content width */
.page-sports-football-events__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-sports-football-events__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports-football-events__section-title {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.page-sports-football-events__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-sports-football-events__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Hero Section */
.page-sports-football-events__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, #e0f2f7, #ffffff); /* Light gradient background */
}

.page-sports-football-events__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports-football-events__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-sports-football-events__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-sports-football-events__hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports-football-events__hero-description {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-football-events__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--login-button-color); /* Using specific login color for CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-sports-football-events__cta-button:hover {
  background: #d46f06; /* Darken on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General image styling */
.page-sports-football-events__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports-football-events__image--full-width {
  width: 100%;
  max-width: 1000px; /* Max width for content images */
}

.page-sports-football-events__image--centered {
  margin-left: auto;
  margin-right: auto;
}

/* Grid layout for league and bet types */
.page-sports-football-events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-sports-football-events__grid-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports-football-events__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports-football-events__item-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}