/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Mặc định cho nền sáng */
  background-color: #FFFFFF; /* Nền trắng mặc định */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ, không dùng var(--header-offset) */
  background-color: #26A9E0; /* Màu chủ đạo */
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Giới hạn kích thước chữ H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Màu chủ đạo */
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__game-types-section,
.page-cockfighting__strategy-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__game-types-section .page-cockfighting__section-title,
.page-cockfighting__strategy-section .page-cockfighting__section-title,
.page-cockfighting__why-choose-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-cockfighting__list,
.page-cockfighting__strategy-list,
.page-cockfighting__promotion-list,
.page-cockfighting__reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__list-item,
.page-cockfighting__strategy-item,
.page-cockfighting__promotion-item,
.page-cockfighting__reason-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-cockfighting__list-item:hover,
.page-cockfighting__strategy-item:hover,
.page-cockfighting__promotion-item:hover,
.page-cockfighting__reason-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__list-title,
.page-cockfighting__strategy-title,
.page-cockfighting__promotion-title,
.page-cockfighting__reason-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-cockfighting__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  text-align: center;
  color: #333333;
}

.page-cockfighting__step-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__step-card p {
  margin-bottom: 20px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Cho phép xuống dòng */
  word-wrap: break-word; /* Ngắt từ */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Màu đăng nhập */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7fa0;
  border-color: #1a7fa0;
}

.page-cockfighting__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 500;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

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

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #e0f2f7;
}

.page-cockfighting__faq-question:hover {
  background-color: #e0f2f7;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px;
  padding-top: 0;
  border-top: 1px solid #e0e0e0;
  font-size: 1em;
  color: #555555;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

.highlight {
  font-weight: bold;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__list,
  .page-cockfighting__strategy-list,
  .page-cockfighting__promotion-list,
  .page-cockfighting__reason-list {
    grid-template-columns: 1fr;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

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

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

  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-cockfighting__list-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promotion-item,
  .page-cockfighting__reason-item,
  .page-cockfighting__step-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-cockfighting__list-title,
  .page-cockfighting__strategy-title,
  .page-cockfighting__promotion-title,
  .page-cockfighting__reason-title {
    font-size: 1.3em;
  }

  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Đảm bảo không có filter ảnh */
.page-cockfighting img {
  filter: none !important;
}