/* style/cockfighting-betting-guide.css */
.page-cockfighting-betting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg);
}

.page-cockfighting-betting-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, chỉ dùng 10px để trang trí */
  color: var(--text-main);
  background-color: var(--bg);
  text-align: center;
}

.page-cockfighting-betting-guide__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-betting-guide__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-cockfighting-betting-guide__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold);
  line-height: 1.2;
}

.page-cockfighting-betting-guide__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting-betting-guide__btn-primary,
.page-cockfighting-betting-guide__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting-betting-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting-betting-guide__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting-betting-guide__btn-secondary {
  background: var(--card-bg);
  color: var(--gold);
  border: 2px solid var(--deep-green);
}

.page-cockfighting-betting-guide__btn-secondary:hover {
  background: var(--deep-green);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-cockfighting-betting-guide__section {
  padding: 60px 0;
}

.page-cockfighting-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting-betting-guide__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold);
}

.page-cockfighting-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__dark-bg {
  background-color: var(--bg);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__light-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-cockfighting-betting-guide__feature-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__feature-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting-betting-guide__feature-icon {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-cockfighting-betting-guide__card-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting-betting-guide__list-item {
  background-color: var(--bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__list-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold);
}

.page-cockfighting-betting-guide__list-text {
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.page-cockfighting-betting-guide__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-cockfighting-betting-guide__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.page-cockfighting-betting-guide__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep-green);
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 15px;
}

.page-cockfighting-betting-guide__step-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--gold);
}

.page-cockfighting-betting-guide__step-text {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__step-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting-betting-guide__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
}

.page-cockfighting-betting-guide__strategy-item {
  background-color: var(--bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__strategy-title {
  font-size: 1.7em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold);
}

.page-cockfighting-betting-guide__strategy-text {
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__image-center {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-cockfighting-betting-guide__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
}

.page-cockfighting-betting-guide__info-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__info-title {
  font-size: 1.7em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold);
}

.page-cockfighting-betting-guide__info-text {
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-cockfighting-betting-guide__faq-list {
  margin-top: 40px;
}

.page-cockfighting-betting-guide__faq-item {
  background-color: var(--bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main);
}

.page-cockfighting-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25em;
  font-weight: bold;
  color: var(--gold);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
}

.page-cockfighting-betting-guide__faq-question::-webkit-details-marker,
.page-cockfighting-betting-guide__faq-question::marker {
  display: none;
}

.page-cockfighting-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-cockfighting-betting-guide__faq-item[open] .page-cockfighting-betting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-betting-guide__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-cockfighting-betting-guide__faq-answer p {
  margin-bottom: 15px;
}

.page-cockfighting-betting-guide__conclusion {
  text-align: center;
}

.page-cockfighting-betting-guide__conclusion .page-cockfighting-betting-guide__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting-betting-guide__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }

  .page-cockfighting-betting-guide__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-cockfighting-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting-betting-guide__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting-betting-guide__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-cockfighting-betting-guide__description {
    font-size: 1em;
  }

  .page-cockfighting-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting-betting-guide__btn-primary,
  .page-cockfighting-betting-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting-betting-guide__section {
    padding: 40px 0;
  }

  .page-cockfighting-betting-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting-betting-guide__text-block {
    font-size: 1em;
  }

  .page-cockfighting-betting-guide__feature-grid,
  .page-cockfighting-betting-guide__step-list,
  .page-cockfighting-betting-guide__strategy-list,
  .page-cockfighting-betting-guide__info-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-betting-guide__feature-card,
  .page-cockfighting-betting-guide__list-item,
  .page-cockfighting-betting-guide__step-item,
  .page-cockfighting-betting-guide__strategy-item,
  .page-cockfighting-betting-guide__info-item,
  .page-cockfighting-betting-guide__faq-item {
    padding: 20px;
  }

  .page-cockfighting-betting-guide__feature-icon,
  .page-cockfighting-betting-guide__image-full-width,
  .page-cockfighting-betting-guide__step-image,
  .page-cockfighting-betting-guide__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-betting-guide__feature-card img,
  .page-cockfighting-betting-guide__step-item img,
  .page-cockfighting-betting-guide__image-full-width,
  .page-cockfighting-betting-guide__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-betting-guide__card-title,
  .page-cockfighting-betting-guide__list-title,
  .page-cockfighting-betting-guide__step-title,
  .page-cockfighting-betting-guide__strategy-title,
  .page-cockfighting-betting-guide__info-title {
    font-size: 1.4em;
  }

  .page-cockfighting-betting-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting-betting-guide__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* Ensure all image containers are responsive */
  .page-cockfighting-betting-guide__hero-image-wrapper,
  .page-cockfighting-betting-guide__container,
  .page-cockfighting-betting-guide__feature-grid,
  .page-cockfighting-betting-guide__step-list,
  .page-cockfighting-betting-guide__strategy-list,
  .page-cockfighting-betting-guide__info-list,
  .page-cockfighting-betting-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting-betting-guide__faq-item .page-cockfighting-betting-guide__btn-small {
    width: auto !important;
    max-width: fit-content !important;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-betting-guide__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-cockfighting-betting-guide__section-title {
    font-size: 1.6em;
  }

  .page-cockfighting-betting-guide__btn-primary,
  .page-cockfighting-betting-guide__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-cockfighting-betting-guide__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }

  .page-cockfighting-betting-guide__step-title {
    font-size: 1.2em;
  }
}