/* style/sports.css */

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

.page-sports__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-sports__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-sports__text-light {
    color: #FFFFFF !important; /* For dark background sections */
}

.page-sports__dark-bg {
    background-color: #017439; /* Primary brand color as dark background */
    color: #FFFFFF;
}

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

/* Keyword highlight */
.page-sports__keyword-highlight {
    font-weight: bold;
    color: #017439; /* Highlight color */
}
.page-sports__dark-bg .page-sports__keyword-highlight {
    color: #FFFF00; /* Yellow for keywords on dark background */
}


/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link,
.page-sports__btn-download {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-sports__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

.page-sports__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

.page-sports__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2b;
    border-color: #005a2b;
}

.page-sports__btn-link {
    background: none;
    color: #017439;
    border: 1px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-sports__btn-link:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-sports__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-sports__hero-section {
    padding-top: 10px; /* Small top padding, shared.css handles body padding */
    padding-bottom: 60px;
    background-color: #f0f8ff; /* Light background for the hero section */
}

.page-sports__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 16px;
    flex-wrap: wrap;
}

.page-sports__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-sports__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: #017439;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-sports__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-sports__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure no extra space below image */
}

/* Intro Section */
.page-sports__intro-section {
    padding: 60px 0;
}

/* Features Section (using feature image type) */
.page-sports__features-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-sports__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
}

.page-sports__icon-box-media {
    width: 200px; /* Base size for square */
    height: 200px; /* Base size for square */
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #FFFFFF;
    flex-shrink: 0; /* Prevent shrinking */
}

.page-sports__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure image is also round */
    display: block;
}

.page-sports__feature-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

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

/* Why Choose Section */
.page-sports__why-choose-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-sports__why-choose-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;
}

.page-sports__why-choose-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-sports__why-choose-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-sports__why-choose-description {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
}

/* Guide Section */
.page-sports__guide-section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__guide-step-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-sports__guide-step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for numbers on dark background */
    margin-bottom: 10px;
    display: block;
}

.page-sports__guide-step-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-sports__guide-step-description {
    font-size: 0.95em;
    color: #f0f0f0;
}

/* Leagues Section */
.page-sports__leagues-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-sports__league-card {
    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;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-sports__league-card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-sports__league-card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-sports__league-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take up available space */
    padding: 0 20px;
}

/* App Section */
.page-sports__app-section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__app-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-sports__app-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-sports__app-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-sports__app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-sports__btn-download {
    margin-top: 20px;
}

/* FAQ Section */
.page-sports__faq-section {
    padding: 60px 0;
}

.page-sports__faq-list {
    margin-top: 40px;
}

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

.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #e8f5e9; /* Light green background for question */
    transition: background-color 0.3s ease;
}

.page-sports__faq-item[open] > .page-sports__faq-question {
    background-color: #d4edda; /* Slightly darker on open */
}

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

.page-sports__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
    content: "−"; /* Change to minus sign when open */
}

.page-sports__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.05em;
    color: #555555;
    background-color: #f0f8f0; /* Very light green for answer */
}

.page-sports__faq-answer p {
    margin-bottom: 0;
}
.page-sports__faq-answer a {
    color: #017439;
    text-decoration: underline;
}
.page-sports__faq-answer a:hover {
    color: #005a2b;
}

/* Final CTA Section */
.page-sports__cta-final-section {
    padding: 60px 0;
    text-align: center;
}

.page-sports__cta-final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}}