/* style/sports.css */

/* Variables from shared.css are assumed to be available */
/* --primary-color: #26A9E0; */
/* --secondary-color: #FFFFFF; */
/* --text-dark: #333333; */
/* --text-light: #FFFFFF; */
/* --header-offset: ... (defined in shared.css) */

.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark, #333333); /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* 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;
    /* Assume shared.css doesn't add padding-top to body, so we add it here */
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Using brand colors */
    overflow: hidden; /* Ensure no overflow from images */
}

.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;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-sports__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light, #FFFFFF); /* White text on hero gradient */
}

.page-sports__hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light, #FFFFFF); /* White text */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-sports__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light, #FFFFFF); /* White text */
}

.page-sports__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #EA7C07; /* Login color for primary CTA */
    color: var(--text-light, #FFFFFF);
    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: none;
}

.page-sports__cta-button:hover {
    background: #d46b00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* --- General Section Styles --- */
.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: var(--primary-color, #26A9E0);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #EA7C07; /* Login color for accent */
    border-radius: 2px;
}

.page-sports__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-dark, #333333);
}

.page-sports__image-wrapper {
    margin: 30px auto;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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