/* style/sports.css */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light body background */
    background-color: #FFFFFF;
}

.page-sports__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-sports__hero-section {
    position: relative;
    background-color: #f0f8ff; /* Light blue background for hero */
    color: #000000;
    text-align: center;
    padding: 120px 20px 60px 20px; /* Default desktop padding */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-sports__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7; /* Slightly dim the background image */
}

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-sports__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for H1 */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-sports__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #333333;
}

.page-sports__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-sports__btn-primary,
.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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-sports__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-sports__heading {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
}

.page-sports__subheading {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 20px;
}

.page-sports__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

.page-sports__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-sports__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: block; /* Ensure image behaves as a block element */
    margin: 0 auto; /* Center block images */
}

.page-sports__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-sports__list-item {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    color: #333333;
    font-size: 1.1em;
}

.page-sports__video-section {
    background-color: #f0f8ff;
    padding: 60px 20px;
    text-align: center;
}

.page-sports__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-sports__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer; /* Indicate clickable */
}

.page-sports__faq-section {
    background-color: #ffffff;
}

.page-sports__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-sports__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f0f8ff; /* Light blue for FAQ question */
    color: #26A9E0;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    user-select: none;
    list-style: none; /* Remove default marker */
}

.page-sports__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-sports__faq-question {
    font-size: 1.2em;
}

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-sports__faq-answer {
    padding: 15px 25px;
    background-color: #ffffff;
    color: #333333;
    font-size: 1em;
    border-top: 1px solid #e0e0e0;
}

.page-sports__cta-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-sports__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
}

.page-sports__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 3em;
    }
    .page-sports__heading {
        font-size: 2em;
    }
    .page-sports__subheading {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-sports__section {
        padding: 40px 15px;
    }
    .page-sports__hero-section {
        padding: 100px 15px 40px 15px; /* Adjust padding for mobile */
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset applies */
    }
    .page-sports__hero-title {
        font-size: 2.2em;
    }
    .page-sports__hero-description {
        font-size: 1.1em;
    }
    .page-sports__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-sports__heading {
        font-size: 1.8em;
    }
    .page-sports__subheading {
        font-size: 1.3em;
    }
    .page-sports__text-block,
    .page-sports__list-item,
    .page-sports__faq-answer {
        font-size: 1em;
    }
    
    /* Mobile image responsive optimization */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure image takes full width */
        height: auto !important;
        display: block !important;
    }
    .page-sports__image-container,
    .page-sports__video-section,
    .page-sports__video-wrapper,
    .page-sports__section,
    .page-sports__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    /* Mobile video responsive optimization */
    .page-sports video,
    .page-sports__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }
    .page-sports__cta-title {
        font-size: 2.2em;
    }
    .page-sports__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 1.8em;
    }
    .page-sports__hero-description {
        font-size: 0.95em;
    }
    .page-sports__heading {
        font-size: 1.5em;
    }
    .page-sports__subheading {
        font-size: 1.2em;
    }
    .page-sports__faq-question {
        font-size: 1.1em;
    }
}