.page-cockfighting {
  color: var(--text-main-color); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small padding as body handles header offset */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-cockfighting__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  background: var(--card-bg-color); /* #11271B */
  color: var(--text-main-color); /* #F2FFF6 */
  box-sizing: border-box;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-30px); /* Slightly lift content for visual appeal, but not over image */
  z-index: 1;
}

.page-cockfighting__main-title {
  color: var(--gold-color); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__description {
  color: var(--text-secondary-color); /* #A7D9B8 */
  font-size: 1.1em;
  margin-bottom: 30px;
}

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--gold-color); /* #F2C14E */
  border: 2px solid var(--gold-color); /* #F2C14E */
}

.page-cockfighting__btn-secondary:hover {
  background: var(--gold-color); /* #F2C14E */
  color: var(--card-bg-color); /* #11271B */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background: var(--card-bg-color); /* #11271B */
  color: var(--text-main-color); /* #F2FFF6 */
}

.page-cockfighting__light-bg {
  background: var(--deep-green-color); /* #0A4B2C for contrast */
  color: var(--text-main-color); /* #F2FFF6 */
}

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

.page-cockfighting__section-title {
  color: var(--gold-color); /* #F2C14E */
  margin-bottom: 30px;
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
}

.page-cockfighting__text-block {
  color: var(--text-secondary-color); /* #A7D9B8 */
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__card {
  background: var(--deep-green-color); /* #0A4B2C */
  color: var(--text-main-color); /* #F2FFF6 */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__card-title {
  color: var(--gold-color); /* #F2C14E */
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  color: var(--text-secondary-color); /* #A7D9B8 */
  font-size: 0.95em;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting__list-item {
  color: var(--text-secondary-color); /* #A7D9B8 */
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.page-cockfighting__list-item::before {
  content: "✅";
  position: absolute;
  left: 0;
  color: var(--gold-color); /* #F2C14E */
}

.page-cockfighting__list-item strong {
  color: var(--text-main-color); /* #F2FFF6 */
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-cockfighting__steps-list .page-cockfighting__list-item {
    counter-increment: step-counter;
    padding-left: 40px;
    margin-bottom: 20px;
}

.page-cockfighting__steps-list .page-cockfighting__list-item::before {
    content: "Bước " counter(step-counter) ":";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    font-size: 1.1em;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background: var(--deep-green-color); /* #0A4B2C */
  border: 1px solid var(--divider-color); /* #1E3A2A */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main-color); /* #F2FFF6 */
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color); /* #F2C14E */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary-color); /* #A7D9B8 */
  font-size: 0.95em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  transition: max-height 0.4s ease-in;
}

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

.page-cockfighting__text-block a,
.page-cockfighting__faq-answer a,
.page-cockfighting__list-item a {
  color: var(--gold-color); /* #F2C14E */
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-block a:hover,
.page-cockfighting__faq-answer a:hover,
.page-cockfighting__list-item a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-content {
    padding: 25px 15px;
    transform: translateY(-20px);
    border-radius: 0 0 8px 8px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 0.95em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
    text-align: center;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting__list,
  .page-cockfighting__steps-list {
    margin: 20px auto;
    padding-left: 15px;
  }
  .page-cockfighting__list-item,
  .page-cockfighting__steps-list .page-cockfighting__list-item {
    padding-left: 30px;
    font-size: 0.9em;
  }
  .page-cockfighting__steps-list .page-cockfighting__list-item::before {
    font-size: 1em;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.85em;
  }
}