:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
}

.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--bg-light); /* Default light background */
}

/* 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); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    overflow: hidden; /* Prevent image overflow */
}

.page-sports__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width up to max-width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-sports__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure image is responsive */
    display: block;
    object-fit: cover;
    /* No filter to change color */
}

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

.page-sports__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-sports__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-sports__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent; /* For hover effect */
}

.page-sports__cta-button:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

/* General Section Styling */
.page-sports__section {
    padding: 80px 20px;
    text-align: center;
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width up to max-width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-sports__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

.page-sports__text-block--white {
    color: var(--text-light);
}

/* Introduction Section specific */
.page-sports__introduction-section {
    background-color: var(--bg-light);
}

.page-sports__image-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-sports__image-item {
    flex: 1;
    min-width: 300px; /* Minimum width for each image item */
    max-width: 45%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--text-light);
    padding-bottom: 15px;
}

.page-sports__image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* No filter to change color */
    min-height: 200px; /* Enforce min height for content images */
}

.page-sports__image-caption {
    font-size: 0.95em;
    color: #666;
    margin-top: 15px;
    padding: 0 15px;
}

/* Sports Types Section */
.page-sports__sports-types-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-sports__sports-types-section .page-sports__section-title {
    color: var(--primary-color);
}

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

.page-sports__card {
    background: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.page-sports__card--dark-bg {
    background: var(--text-light); /* Cards on dark background should still be light for contrast */
    color: var(--text-dark);
}

.page-sports__card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    /* No filter to change color */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-sports__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-sports__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow and push button down */
}

/* Promotions Section */
.page-sports__promotions-section {
    background-color: var(--bg-light);
}

.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: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-sports__promo-card img {
    width: 100%;
     /* Consistent height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    /* No filter to change color */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-sports__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-sports__promo-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Guide Section */
.page-sports__guide-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-sports__guide-section .page-sports__section-title {
    color: var(--primary-color);
}

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

.page-sports__feature-card {
    background: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.page-sports__feature-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-sports__feature-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* News & Analysis Section */
.page-sports__news-analysis-section {
    background-color: var(--bg-light);
}

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

.page-sports__blog-card {
    background: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.page-sports__blog-card img {
    width: 100%;
     /* Consistent height for blog images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    /* No filter to change color */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-sports__blog-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    flex-grow: 1;
}

.page-sports__blog-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports__blog-title a:hover {
    color: var(--primary-color);
}

.page-sports__blog-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-sports__faq-section {
    background-color: var(--bg-light);
}

.page-sports__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--secondary-color);
}

.page-sports__faq-question:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.page-sports__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--secondary-color);
}

.page-sports__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Rotate for minus sign */
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    color: var(--text-dark);
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to show all content */
    padding: 20px 25px !important;
    opacity: 1;
}