.page-sports {
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Page background color, consistent with Black Gold theme */
    padding-bottom: 50px; /* Add some padding at the bottom for overall page */
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
    background-color: #0A0A0A; /* Ensure consistent background */
}

.page-sports__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust based on typical hero image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Minimum size requirement */
}

.page-sports__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Ensure content is above any potential background layers */
    z-index: 10;
}

.page-sports__main-title {
    font-size: 3.2em; /* Using em for relative sizing, will adjust with clamp if needed */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Highlight with auxiliary color */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-sports__tagline {
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-sports__btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-sports__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

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

.page-sports__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-3px);
}

/* General Section Styling */
.page-sports__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0A0A0A; /* Consistent background */
}

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

.page-sports__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #FFD36B;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-sports__section-description {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #FFF6D6;
}

.page-sports__additional-info {
    font-size: 1em;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0 auto;
    color: #FFF6D6;
}

.page-sports__text-block {
    font-size: 1em;
    line-height: 1.7;
    text-align: justify;
    max-width: 800px;
    margin: 20px auto;
    color: #FFF6D6;
}

.page-sports__cta-buttons--center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Card Styling */
.page-sports__grid {
    display: grid;
    gap: 30px;
}

.page-sports__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-sports__sport-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-sports__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-sports__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #FFF6D6; /* Text Main */
}

.page-sports__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.15);
}

.page-sports__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-height: 200px; /* Minimum size requirement */
}

.page-sports__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    color: #FFD36B;
}

.page-sports__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    padding: 0 20px 20px 20px;
    color: #FFF6D6;
    flex-grow: 1;
}

/* How-to-bet Steps */
.page-sports__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__step-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF6D6;
}

.page-sports__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 216, 106, 0.4);
}

.page-sports__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFD36B;
}

.page-sports__step-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF6D6;
}

.page-sports__step-text a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-sports__step-text a:hover {
    color: #F2C14E;
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming {
    background-color: #111111; /* Darker background for emphasis */
    border-top: 1px solid #3A2A12;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-sports__responsible-gaming .page-sports__section-title {
    color: #FFD36B;
}

.page-sports__responsible-gaming .page-sports__section-description {
    color: #FFF6D6;
}

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

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

details.page-sports__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12;
    overflow: hidden;
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-sports__faq-item summary.page-sports__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFD36B; /* Question text color */
}

details.page-sports__faq-item summary.page-sports__faq-question::-webkit-details-marker {
    display: none;
}

details.page-sports__faq-item summary.page-sports__faq-question:hover {
    background: rgba(255, 211, 107, 0.05); /* Subtle hover effect */
}

.page-sports__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFD36B; /* Question text color */
}

.page-sports__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD36B; /* Toggle icon color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 25px 25px;
    background: #0A0A0A; /* Darker background for answer */
    border-top: 1px solid #3A2A12;
    border-radius: 0 0 8px 8px;
    color: #FFF6D6; /* Answer text color */
}

.page-sports__faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #FFF6D6;
}

.page-sports__faq-answer a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-sports__faq-answer a:hover {
    color: #F2C14E;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports__main-title {
        font-size: 2.8em;
    }
    .page-sports__section-title {
        font-size: 2.2em;
    }
    .page-sports__hero-image-wrapper {
        max-height: 500px;
    }
    .page-sports__card-image {
        height: 200px;
    }
    .page-sports__section {
        padding: 50px 15px;
    }
    .page-sports__container {
        padding: 0 10px;
    }
    .page-sports__hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-sports__hero-section {
        padding-top: 10px; /* Still small top padding */
        padding-bottom: 30px;
    }
    .page-sports__hero-image-wrapper {
        max-height: 400px;
        margin-bottom: 20px;
    }
    .page-sports__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Banner 849px object-fit:contain */
    }

    .page-sports__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-sports__tagline {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-sports__cta-buttons {
        flex-direction: column; /* Buttons stack vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-sports__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;
    }

    .page-sports__section {
        padding: 40px 15px;
    }
    .page-sports__container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-sports__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-sports__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-sports__additional-info,
    .page-sports__text-block {
        font-size: 0.9em;
        padding: 0 10px;
    }

    .page-sports__card-image {
        height: 180px;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__card-title {
        font-size: 1.2em;
        margin: 15px 15px 8px 15px;
    }
    .page-sports__card-text {
        font-size: 0.9em;
        padding: 0 15px 15px 15px;
    }

    .page-sports__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-sports__step-card {
        padding: 25px;
    }
    .page-sports__step-title {
        font-size: 1.2em;
    }

    details.page-sports__faq-item summary.page-sports__faq-question {
        padding: 15px 20px;
    }
    .page-sports__faq-qtext {
        font-size: 1em;
    }
    .page-sports__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-sports__faq-item .page-sports__faq-answer {
        padding: 0 20px 20px;
    }
    .page-sports__faq-answer p {
        font-size: 0.9em;
    }

    /* Ensure all images and containers adapt */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__hero-content,
    .page-sports__cta-buttons,
    .page-sports__why-choose,
    .page-sports__categories,
    .page-sports__how-to-bet,
    .page-sports__promotions,
    .page-sports__responsible-gaming,
    .page-sports__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Override specific sections that might have 0 padding */
    .page-sports__container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}