/* style/resources-sports-platform-advantages.css */

/* Base Styles for the page content */
.page-resources-sports-platform-advantages {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Explicitly set for page content area */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-sports-platform-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings */
.page-resources-sports-platform-advantages__section-title, 
.page-resources-sports-platform-advantages__hero-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-sports-platform-advantages__feature-title, 
.page-resources-sports-platform-advantages__step-title, 
.page-resources-sports-platform-advantages__faq-question h3 {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Paragraphs */
.page-resources-sports-platform-advantages__hero-description, 
.page-resources-sports-platform-advantages__text-block, 
.page-resources-sports-platform-advantages__feature-description, 
.page-resources-sports-platform-advantages__step-description, 
.page-resources-sports-platform-advantages__faq-answer p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

/* Buttons */
.page-resources-sports-platform-advantages__hero-cta-button,
.page-resources-sports-platform-advantages__video-cta-button,
.page-resources-sports-platform-advantages__step-button,
.page-resources-sports-platform-advantages__conclusion-cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #EA7C07; /* Login color for CTA, as specified */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-platform-advantages__hero-cta-button:hover,
.page-resources-sports-platform-advantages__video-cta-button:hover,
.page-resources-sports-platform-advantages__step-button:hover,
.page-resources-sports-platform-advantages__conclusion-cta-button:hover {
    background-color: #d16b06;
    transform: translateY(-2px);
}

/* Hero Section */
.page-resources-sports-platform-advantages__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    padding: 60px 0; /* Add some padding for content within hero */
}

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

.page-resources-sports-platform-advantages__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-resources-sports-platform-advantages__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF; /* White for hero title for better contrast */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-resources-sports-platform-advantages__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #f8f8f8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Video Section */
.page-resources-sports-platform-advantages__video-section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a;
    margin-bottom: 60px;
}

.page-resources-sports-platform-advantages__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-sports-platform-advantages__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

/* Overview Section */
.page-resources-sports-platform-advantages__overview-section {
    padding: 60px 0;
    background-color: #121212;
    margin-bottom: 60px;
}

/* Features Section */
.page-resources-sports-platform-advantages__features-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    margin-bottom: 60px;
}

.page-resources-sports-platform-advantages__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-sports-platform-advantages__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources-sports-platform-advantages__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-sports-platform-advantages__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure block for proper margin */
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min-size */
    min-height: 200px; /* Enforce min-size */
}

/* How To Join Section */
.page-resources-sports-platform-advantages__how-to-join-section {
    padding: 60px 0;
    background-color: #121212;
    margin-bottom: 60px;
}

.page-resources-sports-platform-advantages__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-resources-sports-platform-advantages__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-resources-sports-platform-advantages__step-card:hover {
    transform: translateY(-5px);
}

/* FAQ Section */
.page-resources-sports-platform-advantages__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    margin-bottom: 60px;
}

.page-resources-sports-platform-advantages__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-sports-platform-advantages__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-sports-platform-advantages__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.page-resources-sports-platform-advantages__faq-question:hover {
    background-color: #1e87bb;
}

.page-resources-sports-platform-advantages__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-resources-sports-platform-advantages__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-sports-platform-advantages__faq-item.active .page-resources-sports-platform-advantages__faq-toggle {
    transform: rotate(45deg); /* Plus to X (or minus) */
}

.page-resources-sports-platform-advantages__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark for answer background */
    color: #f0f0f0;
}

.page-resources-sports-platform-advantages__faq-item.active .page-resources-sports-platform-advantages__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px 25px;
}

/* Conclusion Section */
.page-resources-sports-platform-advantages__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: #121212;
}

.page-resources-sports-platform-advantages__conclusion-section a {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-sports-platform-advantages__conclusion-section a:hover {
    color: #1e87bb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-sports-platform-advantages {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-sports-platform-advantages__container {
        padding: 0 15px;
    }

    .page-resources-sports-platform-advantages__section-title,
    .page-resources-sports-platform-advantages__hero-title {
        font-size: 2em;
        margin-bottom: 25px;
    }

    .page-resources-sports-platform-advantages__hero-title {
        font-size: 2.5em;
    }

    .page-resources-sports-platform-advantages__hero-description {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .page-resources-sports-platform-advantages__feature-title,
    .page-resources-sports-platform-advantages__step-title {
        font-size: 1.5em;
    }

    /* Images responsiveness */
    .page-resources-sports-platform-advantages img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Image containers responsiveness */
    .page-resources-sports-platform-advantages__hero-section,
    .page-resources-sports-platform-advantages__video-section,
    .page-resources-sports-platform-advantages__overview-section,
    .page-resources-sports-platform-advantages__features-section,
    .page-resources-sports-platform-advantages__how-to-join-section,
    .page-resources-sports-platform-advantages__faq-section,
    .page-resources-sports-platform-advantages__conclusion-section,
    .page-resources-sports-platform-advantages__feature-card,
    .page-resources-sports-platform-advantages__step-card,
    .page-resources-sports-platform-advantages__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-sports-platform-advantages__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources-sports-platform-advantages__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness */
    .page-resources-sports-platform-advantages video,
    .page-resources-sports-platform-advantages__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-platform-advantages__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
    }
    .page-resources-sports-platform-advantages__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset to video section on mobile */
    }

    /* Button responsiveness */
    .page-resources-sports-platform-advantages__hero-cta-button,
    .page-resources-sports-platform-advantages__video-cta-button,
    .page-resources-sports-platform-advantages__step-button,
    .page-resources-sports-platform-advantages__conclusion-cta-button {
        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;
        margin-left: 0;
        margin-right: 0;
    }

    .page-resources-sports-platform-advantages__steps-grid {
        grid-template-columns: 1fr; /* Stack steps vertically on mobile */
    }

    .page-resources-sports-platform-advantages__feature-grid {
        grid-template-columns: 1fr; /* Stack features vertically on mobile */
    }

    .page-resources-sports-platform-advantages__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-resources-sports-platform-advantages__faq-question h3 {
        font-size: 1.1em;
    }

    .page-resources-sports-platform-advantages__faq-answer {
        padding: 0 15px;
    }

    .page-resources-sports-platform-advantages__faq-item.active .page-resources-sports-platform-advantages__faq-answer {
        padding: 15px;
    }
}