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

.page-sports__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-sports__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-sports__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

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

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

.page-sports__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    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.7);
    line-height: 1.2;
}

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

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

.page-sports__section {
    padding: 80px 20px;
}

.page-sports__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-sports__section-title {
    font-size: 2.8em;
    color: inherit;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-sports__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: inherit;
}

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

.page-sports__feature-card, .page-sports__event-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover, .page-sports__event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-image, .page-sports__event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-sports__feature-title, .page-sports__event-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-sports__feature-description, .page-sports__event-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
}

.page-sports__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.page-sports__guide-item {
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-sports__guide-item:hover {
    background-color: #eaf6fd;
    border-color: #26A9E0;
}

.page-sports__guide-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
}

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

.page-sports__guide-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-sports__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #26A9E0;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-sports__btn-link:hover {
    background-color: #1e87c0;
}

.page-sports__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-sports__tips-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-sports__tips-heading {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-sports__tips-item p {
    color: #f0f0f0;
}

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

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

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

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

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

.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;
    background-color: #ffffff;
    color: #555555;
}

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

.page-sports__faq-answer p {
    margin-bottom: 0;
}

.page-sports__call-to-action {
    padding: 100px 20px;
    text-align: center;
}

.page-sports__cta-content {
    max-width: 800px;
}

.page-sports__cta-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-sports__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.page-sports__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-sports__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid #26A9E0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-sports__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-sports__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-sports__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

    .page-sports__section-title {
        font-size: 2.2em;
    }

    .page-sports__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-sports__hero-title {
        font-size: 2.5em;
    }

    .page-sports__hero-description {
        font-size: 1em;
    }

    .page-sports__section {
        padding: 60px 15px;
    }

    .page-sports__section-title {
        font-size: 2em;
    }

    .page-sports__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-sports__feature-grid, .page-sports__event-grid, .page-sports__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-sports__feature-card, .page-sports__event-item, .page-sports__guide-item {
        margin-bottom: 20px;
    }

    .page-sports__feature-image, .page-sports__event-image {
        height: 200px;
    }

    .page-sports__feature-title, .page-sports__event-title, .page-sports__guide-title {
        font-size: 1.4em;
    }

    .page-sports__tips-heading {
        font-size: 1.4em;
    }

    .page-sports__cta-title {
        font-size: 2em;
    }

    .page-sports__cta-description {
        font-size: 1em;
    }

    .page-sports__hero-cta-buttons, .page-sports__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-sports__btn-primary, .page-sports__btn-secondary, .page-sports__btn-large, .page-sports__btn-link,
    .page-sports a[class*="button"], .page-sports a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    .page-sports__container,
    .page-sports__hero-content,
    .page-sports__video-wrapper,
    .page-sports__faq-section,
    .page-sports__call-to-action,
    .page-sports__cta-content,
    .page-sports__feature-grid,
    .page-sports__event-grid,
    .page-sports__guide-steps,
    .page-sports__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-sports img, .page-sports video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-sports__video {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        height: auto;
    }

    .page-sports__video-wrapper {
        position: relative;
        height: auto;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        background-color: #000;
    }

    .page-sports__video {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

    .page-sports__faq-question {
        font-size: 1.1em;
        padding: 12px 15px;
    }

    .page-sports__faq-answer {
        padding: 0 15px;
    }

    .page-sports__faq-item.active .page-sports__faq-answer {
        padding: 10px 15px;
    }
}