/* Base styles for the 2 bet beginner guide page */
.page-blog-2-bet-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog-2-bet-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-2-bet-beginner-guide__section {
  margin-bottom: 40px;
}

.page-blog-2-bet-beginner-guide__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-blog-2-bet-beginner-guide__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFF1E8;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-2-bet-beginner-guide__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-blog-2-bet-beginner-guide__hero-section {
  position: relative;
  text-align: center;
  padding-bottom: 40px;
}

.page-blog-2-bet-beginner-guide__hero-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-blog-2-bet-beginner-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog-2-bet-beginner-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog-2-bet-beginner-guide__main-title {
  font-size: 48px;
  font-weight: 800;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog-2-bet-beginner-guide__description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-2-bet-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-blog-2-bet-beginner-guide__btn-primary,
.page-blog-2-bet-beginner-guide__btn-secondary,
.page-blog-2-bet-beginner-guide a[class*="button"],
.page-blog-2-bet-beginner-guide a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-2-bet-beginner-guide__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-blog-2-bet-beginner-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog-2-bet-beginner-guide__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D;
}

.page-blog-2-bet-beginner-guide__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
}

.page-blog-2-bet-beginner-guide__btn-centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  width: fit-content;
  min-width: 200px;
}

.page-blog-2-bet-beginner-guide__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-blog-2-bet-beginner-guide__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-2-bet-beginner-guide__numbered-list,
.page-blog-2-bet-beginner-guide__bullet-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-blog-2-bet-beginner-guide__numbered-list li,
.page-blog-2-bet-beginner-guide__bullet-list li {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #FFF1E8;
  position: relative;
  padding-left: 40px; /* For custom counter/bullet */
}

.page-blog-2-bet-beginner-guide__numbered-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  position: absolute;
  left: 15px;
  top: 15px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
}

.page-blog-2-bet-beginner-guide__bullet-list li::before {
  content: "\2022"; /* Unicode bullet */
  position: absolute;
  left: 15px;
  top: 15px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  font-size: 20px;
  line-height: 1;
}

.page-blog-2-bet-beginner-guide__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-blog-2-bet-beginner-guide__product-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-2-bet-beginner-guide__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog-2-bet-beginner-guide__product-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-2-bet-beginner-guide__product-title {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 0 10px;
  padding: 0 15px;
}

.page-blog-2-bet-beginner-guide__product-title a {
  color: #F3C54D; /* Gold */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-2-bet-beginner-guide__product-title a:hover {
  color: #FFB04A;
}

.page-blog-2-bet-beginner-guide__product-description {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px 20px;
}

/* FAQ Section */
details.page-blog-2-bet-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
details.page-blog-2-bet-beginner-guide__faq-item summary.page-blog-2-bet-beginner-guide__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-blog-2-bet-beginner-guide__faq-item summary.page-blog-2-bet-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-2-bet-beginner-guide__faq-item summary.page-blog-2-bet-beginner-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-blog-2-bet-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}
.page-blog-2-bet-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-2-bet-beginner-guide__faq-item .page-blog-2-bet-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #FFF1E8;
}

.page-blog-2-bet-beginner-guide__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-blog-2-bet-beginner-guide__cta-final-content {
  text-align: center;
  padding: 60px 20px;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  margin-top: 60px;
  border: 1px solid #6A1E1E;
}

.page-blog-2-bet-beginner-guide__cta-final-content .page-blog-2-bet-beginner-guide__section-title {
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
}

.page-blog-2-bet-beginner-guide__cta-final-content .page-blog-2-bet-beginner-guide__text-block {
  font-size: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-2-bet-beginner-guide__container {
    padding: 15px;
  }

  .page-blog-2-bet-beginner-guide__main-title {
    font-size: clamp(36px, 4vw, 42px); /* Clamp for H1 */
  }

  .page-blog-2-bet-beginner-guide__section-title {
    font-size: clamp(28px, 3.5vw, 32px);
  }

  .page-blog-2-bet-beginner-guide__description,
  .page-blog-2-bet-beginner-guide__text-block {
    font-size: 16px;
  }

  .page-blog-2-bet-beginner-guide__btn-primary,
  .page-blog-2-bet-beginner-guide__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-blog-2-bet-beginner-guide__product-card {
    height: auto; /* Allow card height to adjust */
  }
}

@media (max-width: 768px) {
  .page-blog-2-bet-beginner-guide {
    padding-top: 10px; /* Ensure small top padding */
  }

  .page-blog-2-bet-beginner-guide__container {
    padding: 10px;
  }

  /* HERO 主图区域 */
  .page-blog-2-bet-beginner-guide__hero-image-wrapper {
    padding-bottom: unset;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
  }

  .page-blog-2-bet-beginner-guide__hero-image {
    object-fit: contain !important; /* 禁止 cover 裁切两侧 */
    position: relative;
    height: auto;
    width: 100%;
  }

  .page-blog-2-bet-beginner-guide__main-title {
    font-size: clamp(30px, 8vw, 36px);
    margin-bottom: 15px;
  }

  .page-blog-2-bet-beginner-guide__description {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .page-blog-2-bet-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-2-bet-beginner-guide__btn-primary,
  .page-blog-2-bet-beginner-guide__btn-secondary,
  .page-blog-2-bet-beginner-guide a[class*="button"],
  .page-blog-2-bet-beginner-guide 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-blog-2-bet-beginner-guide__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-blog-2-bet-beginner-guide__product-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-blog-2-bet-beginner-guide__product-title {
    font-size: 18px;
  }

  .page-blog-2-bet-beginner-guide__product-description {
    font-size: 14px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-blog-2-bet-beginner-guide__section-title {
    font-size: clamp(24px, 6vw, 28px);
    margin-bottom: 20px;
  }

  .page-blog-2-bet-beginner-guide__text-block {
    font-size: 15px;
  }

  .page-blog-2-bet-beginner-guide__sub-title {
    font-size: 20px;
  }

  .page-blog-2-bet-beginner-guide__numbered-list li,
  .page-blog-2-bet-beginner-guide__bullet-list li {
    font-size: 15px;
    padding: 12px 15px 12px 35px;
  }

  .page-blog-2-bet-beginner-guide__numbered-list li::before,
  .page-blog-2-bet-beginner-guide__bullet-list li::before {
    top: 12px;
    left: 12px;
  }

  /* 通用图片与容器 */
  .page-blog-2-bet-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-2-bet-beginner-guide__section,
  .page-blog-2-bet-beginner-guide__card,
  .page-blog-2-bet-beginner-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Section */
  details.page-blog-2-bet-beginner-guide__faq-item summary.page-blog-2-bet-beginner-guide__faq-question {
    padding: 15px;
  }
  .page-blog-2-bet-beginner-guide__faq-qtext {
    font-size: 15px;
  }
  .page-blog-2-bet-beginner-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-blog-2-bet-beginner-guide__faq-item .page-blog-2-bet-beginner-guide__faq-answer {
    padding: 0 15px 15px;
  }

  .page-blog-2-bet-beginner-guide__cta-final-content {
    padding: 40px 15px;
    margin-top: 40px;
  }
  .page-blog-2-bet-beginner-guide__cta-final-content .page-blog-2-bet-beginner-guide__text-block {
    font-size: 16px;
  }
}