.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #f8f8f8;
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #E44D26;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-cockfighting__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-cockfighting__btn-primary {
  background: #E44D26;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(228, 77, 38, 0.3);
}

.page-cockfighting__btn-primary:hover {
  background: #c23d20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 77, 38, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #FFD700;
  color: #333333;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #333333;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-small:hover {
  background: #e6c200;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__link-text {
  color: #E44D26;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background: linear-gradient(135deg, #E44D26, #FFD700);
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  margin-top: -80px; /* Overlap with image */
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #E44D26;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__intro-description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  margin-bottom: 40px;
  font-size: 19px;
}

.page-cockfighting__intro-section .page-cockfighting__text-block strong {
  color: #FFD700;
}

.page-cockfighting__image-content {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-cockfighting__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #E44D26;
  margin-bottom: 20px;
}

.page-cockfighting__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

/* Rules Section */
.page-cockfighting__rules-section {
  padding: 80px 0;
}

.page-cockfighting__content-flex {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__content-block {
  flex: 1;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__sub-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: left;
}

.page-cockfighting__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-cockfighting__list li,
.page-cockfighting__list-ordered li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #555555;
}

.page-cockfighting__list-ordered {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-cockfighting__step-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #E44D26;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(228, 77, 38, 0.4);
}

.page-cockfighting__step-title {
  font-size: 22px;
  color: #E44D26;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-item p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-cockfighting__cta-area {
  text-align: center;
  margin-top: 60px;
}

.page-cockfighting__cta-area p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #555555;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
}

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

.page-cockfighting__advantage-item {
  padding: 30px;
  text-align: center;
}

.page-cockfighting__advantage-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__advantage-title {
  font-size: 22px;
  color: #E44D26;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__advantage-item p {
  font-size: 16px;
  color: #555555;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-cockfighting__list-tips {
  list-style-type: decimal;
  padding-left: 25px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__list-tips li {
  font-size: 18px;
  margin-bottom: 15px;
  color: #555555;
  line-height: 1.7;
}

.page-cockfighting__list-tips li strong {
  color: #E44D26;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E44D26;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fafafa;
  color: #555555;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fafafa;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

/* Latest News Section */
.page-cockfighting__latest-news-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-cockfighting__news-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__news-card-content {
  padding: 25px;
}

.page-cockfighting__news-title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0 25px;
  line-height: 1.4;
}

.page-cockfighting__news-title a {
  color: #E44D26;
  text-decoration: none;
}

.page-cockfighting__news-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__news-excerpt {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
  padding: 0 25px;
}

.page-cockfighting__news-date {
  font-size: 14px;
  color: #888888;
  display: block;
  padding: 0 25px 25px;
}

.page-cockfighting__view-all-news {
  text-align: center;
  margin-top: 50px;
}

/* Dark background sections */
.page-cockfighting__dark-section {
  background: #E44D26;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title::after {
  background-color: #FFD700;
}

.page-cockfighting__dark-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__dark-section .page-cockfighting__card-title {
  color: #FFD700;
}

.page-cockfighting__dark-section .page-cockfighting__card p {
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__list li,
.page-cockfighting__dark-section .page-cockfighting__list-ordered li {
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__sub-title {
  color: #FFD700;
}

.page-cockfighting__dark-section .page-cockfighting__faq-item {
  border-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__dark-section .page-cockfighting__faq-question {
  background: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__dark-section .page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__dark-section .page-cockfighting__faq-question h3 {
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__faq-toggle {
  color: #FFD700;
}

.page-cockfighting__dark-section .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px;
  }

  .page-cockfighting__main-title {
    font-size: 42px;
  }

  .page-cockfighting__intro-description {
    font-size: 18px;
  }

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__text-block {
    font-size: 17px;
  }

  .page-cockfighting__content-flex {
    flex-direction: column;
  }

  .page-cockfighting__content-block {
    padding: 25px;
  }

  .page-cockfighting__sub-title {
    font-size: 24px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-image img {
    border-radius: 8px;
  }

  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 25px;
    border-radius: 8px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
  }

  .page-cockfighting__intro-description {
    font-size: 16px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin: 8px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-cockfighting__grid-layout,
  .page-cockfighting__step-grid,
  .page-cockfighting__advantage-grid,
  .page-cockfighting__news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__advantage-item,
  .page-cockfighting__news-card {
    padding: 25px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__advantage-title {
    font-size: 20px;
  }

  .page-cockfighting__step-title {
    font-size: 20px;
  }

  .page-cockfighting__list li,
  .page-cockfighting__list-ordered li,
  .page-cockfighting__card p,
  .page-cockfighting__step-item p,
  .page-cockfighting__advantage-item p,
  .page-cockfighting__news-excerpt {
    font-size: 15px;
  }

  .page-cockfighting__list-tips li {
    font-size: 16px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__news-title {
    padding: 0 15px;
    font-size: 18px;
  }
  .page-cockfighting__news-excerpt {
    padding: 0 15px;
  }
  .page-cockfighting__news-date {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px;
  }

  .page-cockfighting__section-title {
    font-size: 24px;
  }

  .page-cockfighting__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
}