/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFF5E1; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

.page-sports__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
}

.page-sports__text-block--light {
  color: #FFF5E1;
}

.page-sports__keyword-highlight {
  color: #F4D34D; /* Gold */
  font-weight: bold;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding-top: 10px; /* Assuming shared.css handles body padding-top */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red */
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-bottom: 30px;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  filter: brightness(0.7);
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  color: #FFF5E1; /* Text Main */
}

.page-sports__hero-content h1 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFCC66; /* Glow */
}

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

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

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__btn-card,
.page-sports__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #FFD86A;
}

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

.page-sports__btn-secondary {
  background: transparent;
  color: #FFD86A; /* Button color */
  border: 2px solid #FFD86A; /* Border color */
}

.page-sports__btn-secondary:hover {
  background: #FFD86A;
  color: #7A0E0E; /* Deep Red for contrast */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Intro Section */
.page-sports__intro-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-sports__article-figure {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Sports Types Section */
.page-sports__sports-types-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

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

.page-sports__product-card {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

.page-sports__product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-sports__product-card h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFD86A; /* Button color for title */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__product-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-sports__btn-card {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: 2px solid #FFD86A;
  margin: 0 15px;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
}

.page-sports__btn-card:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Advantages Section */
.page-sports__advantages-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

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

.page-sports__feature-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-sports__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-sports__feature-item h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFD86A; /* Button color for title */
  margin-bottom: 10px;
}

.page-sports__feature-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF5E1;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

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

.page-sports__step-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  background-color: #B71C1C;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid #F4D34D; /* Gold */
}

.page-sports__step-item h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-sports__step-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

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

details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
}

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;
}

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; /* Main Color */
}

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

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  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; /* Main Color */
  border-radius: 0 0 8px 8px;
  color: #FFF5E1;
}

/* Conclusion Section */
.page-sports__conclusion-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  text-align: center;
}

/* Global image styles */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__container {
    padding: 20px 30px;
  }

  .page-sports__hero-content h1 {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-sports__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 1em;
    text-align: left;
  }

  /* HERO 主图区域 */
  .page-sports__hero-section {
    padding-top: 10px; /* 約 10px 頂距 */
    padding-bottom: 40px;
  }
  .page-sports__hero-image img {
    object-fit: contain !important; /* contain, 禁止 cover 裁切两侧 */
    aspect-ratio: unset !important;
    height: auto !important;
    max-height: 400px;
  }
  .page-sports__hero-content h1 {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 产品展示图区域 - 2 列 x 3 行 */
  .page-sports__products-grid {
    grid-template-columns: 1fr 1fr; /* 2 列 */
    gap: 20px;
    overflow-x: hidden; /* 防溢出 */
  }
  .page-sports__product-card {
    margin-bottom: 0;
  }
  .page-sports__product-card img {
    
  }
  .page-sports__product-card h3 {
    font-size: 1.2em;
  }
  .page-sports__product-card p {
    font-size: 0.9em;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-sports__intro-section,
  .page-sports__advantages-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    padding: 40px 0;
  }
  .page-sports__article-figure {
    margin: 20px auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .page-sports__features-grid,
  .page-sports__steps-grid {
    grid-template-columns: 1fr; /* 1 列 */
    gap: 20px;
  }

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

  /* 按钮与按钮容器 */
  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .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;
  }
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-sports__cta-buttons {
    flex-direction: column !important;
  }

  /* FAQ */
  details.page-sports__faq-item summary.page-sports__faq-question { padding: 15px; }
  .page-sports__faq-qtext { font-size: 1em; }
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  details.page-sports__faq-item .page-sports__faq-answer { padding: 0 15px 15px; }
}