/* Base Styles for .page-sports content */
.page-sports {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Main text color for dark backgrounds */
    background-color: #B71C1C; /* Main background color */
}

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

.page-sports__section {
    padding: 60px 0;
    position: relative;
}

/* Hero Section */
.page-sports__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-sports__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.page-sports__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default cover for desktop */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-sports__hero-content {
    position: relative; /* Ensure content is above image but not overlapping */
    z-index: 2;
    padding: 40px 15px;
    text-align: center;
    color: #FFF5E1;
    max-width: 900px;
    margin: 0 auto;
}

.page-sports__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD86A; /* Gold color for title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Titles & Descriptions */
.page-sports__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #FFD86A; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-sports__section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #FFF5E1;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports__section-title--light {
    color: #FFF5E1;
    text-shadow: none;
}

.page-sports__section-description--light {
    color: #FFF5E1;
    opacity: 0.9;
}

/* Text Blocks */
.page-sports__text-block {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #FFF5E1;
    opacity: 0.9;
    line-height: 1.7;
}

.page-sports__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-sports__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-sports__text-content {
    flex: 1;
}

.page-sports__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-sports__responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-sports__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-sports__cta-buttons--centered {
    justify-content: center;
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons adapt to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    text-align: center;
}

.page-sports__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Gold gradient */
    color: #333333; /* Dark text for light button */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-sports__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-secondary {
    background: #B71C1C; /* Red background */
    color: #FFF5E1; /* Light text for dark button */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-sports__btn-secondary:hover {
    background: #7A0E0E; /* Darker red */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-link {
    background: transparent;
    color: #FFD86A;
    border: none;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    box-shadow: none;
}

.page-sports__btn-link:hover {
    color: #F4D34D;
    text-decoration: none;
    transform: none;
}

/* Sport Card Grid */
.page-sports__sport-card-grid,
.page-sports__features-grid,
.page-sports__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports__sport-card,
.page-sports__feature-card,
.page-sports__promo-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #FFF5E1;
    border: 1px solid #F2B544; /* Border color */
}

.page-sports__sport-card:hover,
.page-sports__feature-card:hover,
.page-sports__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-sports__sport-card-image,
.page-sports__promo-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-sports__feature-card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 20px auto 10px;
    display: block;
}

.page-sports__sport-card-title,
.page-sports__feature-card-title,
.page-sports__promo-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD86A;
    margin: 15px 15px 10px;
    line-height: 1.3;
}

.page-sports__sport-card-text,
.page-sports__feature-card-text,
.page-sports__promo-card-text {
    font-size: 1rem;
    padding: 0 20px 20px;
    opacity: 0.85;
    flex-grow: 1; /* Ensures text block pushes button to bottom */
}

/* Dark Section for CTA */
.page-sports__dark-section {
    background-color: #7A0E0E; /* Deep Red */
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid #F4D34D; /* Gold border */
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Border color */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1;
}
details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD86A; /* Question text color */
  font-weight: 600;
}
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: #C91F17; /* Darker red on hover */
}
.page-sports__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold color for question text */
}
.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF5E1; /* Light color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: #C91F17; /* Slightly lighter red for answer background */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1; /* Light text for answer */
}
.page-sports__faq-answer p {
    margin: 0;
    color: #FFF5E1;
    opacity: 0.9;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-sports__container {
        padding: 20px 25px;
    }
    .page-sports__hero-content {
        padding: 30px 15px;
    }
    .page-sports__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-sports__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-sports__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-sports__content-wrapper--reverse {
        flex-direction: column; /* Keep column for reverse on tablet too */
    }
    .page-sports__text-content,
    .page-sports__image-content {
        flex: none;
        width: 100%;
    }
    .page-sports__sport-card-grid,
    .page-sports__features-grid,
    .page-sports__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-sports__hero-section {
        padding-top: 10px; /* Small top padding */
    }
    .page-sports__hero-image {
        object-fit: contain !important; /* Prevent cropping */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__hero-content {
        padding: 20px 15px;
    }
    .page-sports__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-sports__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .page-sports img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-sports__section,
    .page-sports__card,
    .page-sports__container,
    .page-sports__content-wrapper,
    .page-sports__dark-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__section {
        padding: 40px 0;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-sports__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .page-sports__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-sports__text-block {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    .page-sports__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-sports__content-wrapper--reverse {
        flex-direction: column;
    }

    /* 产品展示图区域 (Sport Card Grid) */
    .page-sports__sport-card-grid,
    .page-sports__features-grid,
    .page-sports__promotions-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 20px;
        margin-top: 25px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-sports__sport-card-image,
    .page-sports__promo-card-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-sports__sport-card-title,
    .page-sports__feature-card-title,
    .page-sports__promo-card-title {
        font-size: 1.3rem;
    }
    .page-sports__sport-card-text,
    .page-sports__feature-card-text,
    .page-sports__promo-card-text {
        font-size: 0.9rem;
        padding: 0 15px 15px;
    }
    .page-sports__feature-card-icon {
        width: 80px;
        height: 80px;
        margin: 15px auto 8px;
    }

    /* 按钮与按钮容器 */
    .page-sports__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-sports__btn-primary,
    .page-sports__btn-secondary,
    .page-sports__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    .page-sports__dark-section {
        padding: 30px 15px;
    }

    /* FAQ Section Mobile */
    details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
    .page-sports__faq-qtext { font-size: 15px; }
    details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }
}