.page-sports {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-sports__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-sports__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Ensure text contrast */
    border-radius: 10px;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-sports__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Sections */
.page-sports__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-sports__section-title--light {
    color: #FFFFFF;
}

.page-sports__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-sports__text-block--light {
    color: #f0f0f0;
}

/* Buttons */
a.page-sports__btn-primary,
a.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* For mobile */
}

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

a.page-sports__btn-primary:hover {
    background-color: #1a8cc2;
    border-color: #1a8cc2;
}

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

a.page-sports__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-sports__btn-center {
    display: block;
    margin: 40px auto;
    text-align: center;
}

/* About Section */
.page-sports__about-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1); /* Use shared dark background */
    color: #f0f0f0;
}

.page-sports__dark-section {
    background-color: var(--dark-bg-1);
    color: #f0f0f0;
}

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

.page-sports__feature-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-sports__feature-icon {
    width: 200px; /* Min size requirement */
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-sports__feature-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* A slightly different dark background for contrast */
    color: #f0f0f0;
}

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

.page-sports__sport-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff;
}

.page-sports__sport-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}