.page-cockfighting {
  background-color: #08160F; /* Nền chính của trang */
  color: #F2FFF6; /* Màu chữ chính cho nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Thêm padding ngang để nội dung không dính sát mép */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Nhỏ để tránh trùng với padding-top của body */
  padding-bottom: 60px;
  overflow: hidden; /* Đảm bảo không có nội dung tràn ra */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Giới hạn chiều cao của ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px; /* Khoảng cách giữa ảnh và nội dung */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 15px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.2em); /* H1 font size clamp */
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  font-size: 1.05em;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-color: #2AD16F;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Sử dụng màu xanh chính cho chữ */
  border-color: #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

/* General Section Styles */
.page-cockfighting__section {
  padding: 60px 0;
  background-color: #08160F; /* Đảm bảo nền tối cho các section */
  color: #F2FFF6;
}

.page-cockfighting__section:nth-of-type(even) {
  background-color: #0A1C15; /* Nền hơi khác cho các section xen kẽ */
}

.page-cockfighting__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F;
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block strong {
  color: #2AD16F; /* Highlight keywords */
}

.page-cockfighting__image-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Grid Container for Cards */
.page-cockfighting__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

/* Lists */
.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-cockfighting__ordered-list li::before {
  content: counter(list-item) ".";
  counter-increment: list-item;
  position: absolute;
  left: 0;
  top: 0;
  color: #2AD16F;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting__unordered-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #2AD16F;
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__ordered-list li strong,
.page-cockfighting__unordered-list li strong {
  color: #2AD16F;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2C14E; /* Gold color */
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-cockfighting__faq-item summary:hover {
  background-color: #1A3528; /* Slightly lighter bg on hover */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: #F2FFF6;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  color: #2AD16F;
  margin-left: 15px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or use '-' */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  text-align: justify;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    margin: 0 auto;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting__image-text-block {
    flex-direction: column;
  }
  .page-cockfighting__grid-container {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__card {
    padding: 25px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  /* Mobile image/video adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size even on mobile */
    min-height: 200px !important;
  }
  
  .page-cockfighting video,
  .page-cockfighting__video { /* Assuming video elements might exist, although not explicitly added here */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__grid-container,
  .page-cockfighting__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific padding for video section if it were present */
  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }
}

/* Ensure all images meet minimum size requirements */
.page-cockfighting img:not(.page-cockfighting__hero-image) { /* Exclude hero image from this specific rule if it's already large */
  min-width: 200px;
  min-height: 200px;
}