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

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

.page-sports__section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-sports__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-sports__text-content p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-sports__list {
    list-style: disc inside;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-sports__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    box-sizing: border-box;
}

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

.page-sports__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    cursor: pointer;
}

.page-sports__hero-video-link {
    display: block;
    width: 100%;
    height: 100%;
}

.page-sports__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-sports__hero-content {
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
}

.page-sports__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-sports__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

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

.page-sports__btn-block {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/* Grid Layouts */
.page-sports__grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-sports__grid-content-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

.page-sports__grid-content-image.reverse-order {
    grid-template-columns: 1fr 2fr;
}

.page-sports__grid-content-image.reverse-order .page-sports__text-content {
    order: 2;
}

.page-sports__grid-content-image.reverse-order .page-sports__image-wrapper {
    order: 1;
}

.page-sports__image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.page-sports__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Dark Background Sections */
.page-sports__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-sports__dark-bg .page-sports__section-title,
.page-sports__dark-bg .page-sports__sub-title {
    color: #FFFFFF;
}

.page-sports__dark-bg .page-sports__list li {
    color: #FFFFFF;
}

/* Light Background Sections */
.page-sports__light-bg {
    background-color: #F8F8F8;
    color: #333333;
}

.page-sports__light-bg .page-sports__section-title,
.page-sports__light-bg .page-sports__sub-title {
    color: #26A9E0;
}

/* FAQ Section */
.page-sports__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-sports__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

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

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

.page-sports__faq-item.active .page-sports__faq-toggle {
    transform: rotate(45deg);
}

.page-sports__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-sports__faq-item.active .page-sports__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-sports__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* CTA Section */
.page-sports__cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.page-sports__cta-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
}

.page-sports__cta-section .page-sports__section-title {
    color: #FFFFFF;
    font-size: 3em;
}

.page-sports__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-sports__image-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
    filter: brightness(0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__hero-title {
        font-size: 3em;
    }
    .page-sports__hero-description {
        font-size: 1.3em;
    }
    .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__sub-title {
        font-size: 1.5em;
    }
    .page-sports__grid-2-cols,
    .page-sports__grid-content-image {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-sports__hero-title {
        font-size: 2.2em;
    }
    .page-sports__hero-description {
        font-size: 1.1em;
    }
    .page-sports__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-sports__section {
        padding: 40px 0;
    }
    .page-sports__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-sports__sub-title {
        font-size: 1.3em;
    }
    .page-sports__grid-2-cols,
    .page-sports__grid-content-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-sports__grid-content-image.reverse-order .page-sports__text-content {
        order: unset; /* Reset order for mobile */
    }
    .page-sports__grid-content-image.reverse-order .page-sports__image-wrapper {
        order: unset; /* Reset order for mobile */
    }
    .page-sports__image-full,
    .page-sports__image-cta-bg {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-sports__image-wrapper,
    .page-sports__text-content,
    .page-sports__hero-video-wrapper,
    .page-sports__hero-video-link,
    .page-sports__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__hero-video {
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        min-width: unset !important;
        position: relative !important;
        transform: none !important;
        object-fit: contain !important; /* Changed to contain for mobile to avoid cropping */
    }
    .page-sports__cta-section .page-sports__section-title {
        font-size: 2em;
    }
    .page-sports__cta-description {
        font-size: 1.1em;
    }
    .page-sports__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }
    .page-sports__faq-answer {
        padding: 0 15px;
    }
    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 10px 15px;
    }
    .page-sports__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-sports__hero-title {
        font-size: 1.8em;
    }
    .page-sports__hero-description {
        font-size: 1em;
    }
    .page-sports__section-title {
        font-size: 1.5em;
    }
    .page-sports__sub-title {
        font-size: 1.2em;
    }
    .page-sports__cta-section .page-sports__section-title {
        font-size: 1.8em;
    }
}