.page-cockfighting {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #140C0C;
  margin-bottom: 40px;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp as per instruction */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF1E8; /* Default text color */
}

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

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

.page-cockfighting__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-cockfighting__button--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  box-shadow: 0 4px 10px rgba(255, 176, 74, 0.3);
}

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

.page-cockfighting__button--secondary {
  background-color: #7E0D0D;
  color: #FFF1E8;
  border: 1px solid #6A1E1E;
  box-shadow: 0 4px 10px rgba(126, 13, 13, 0.3);
}

.page-cockfighting__button--secondary:hover {
  background-color: #C61F1F;
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold color for section titles */
  padding-top: 20px;
}

.page-cockfighting__about-section,
.page-cockfighting__types-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__guide-section {
  padding: 40px 20px;
  margin-bottom: 40px;
  background-color: #2A1212;
  border-radius: 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  line-height: 1.8;
  max-width: 800px;
  text-align: center;
}

.page-cockfighting__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__type-card {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__type-title {
  font-size: 1.6em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-cockfighting__type-description {
  font-size: 0.95em;
  color: #FFF1E8;
}

.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__advantage-item {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__advantage-item span {
  color: #F3C54D;
  font-weight: 600;
}

.page-cockfighting__advantage-item::before {
  content: '✔';
  color: #FFB04A;
  font-size: 1.2em;
  margin-right: 10px;
}

.page-cockfighting__guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
}

.page-cockfighting__step-item {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  font-size: 1.8em;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 0.95em;
  color: #FFF1E8;
}

.page-cockfighting__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-cockfighting__content-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .page-cockfighting__content-wrapper .page-cockfighting__text-block {
    text-align: left;
    flex: 1;
  }

  .page-cockfighting__content-wrapper .page-cockfighting__image-content {
    order: 2; /* Image on right */
    max-width: 40%;
  }

  .page-cockfighting__about-section .page-cockfighting__text-block:first-of-type {
    margin-right: 30px; /* Space between text and image */
  }

  .page-cockfighting__about-section .page-cockfighting__text-block:last-of-type {
    margin-left: 30px; /* Space between text and image */
  }

  .page-cockfighting__guide-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .page-cockfighting__guide-steps {
    flex: 1;
    grid-template-columns: 1fr;
  }

  .page-cockfighting__guide-image {
    flex: 1;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: 2em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

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

  .page-cockfighting__button {
    width: 100%;
    max-width: 250px;
  }

  .page-cockfighting__types-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
  }

  /* Enforce image responsiveness for content area */
  .page-cockfighting__hero-section img,
  .page-cockfighting__about-section img,
  .page-cockfighting__types-section img,
  .page-cockfighting__why-choose-section img,
  .page-cockfighting__guide-section img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure content images are not smaller than 200px (this is a general rule, but mobile should prioritize max-width: 100%) */
  .page-cockfighting img:not(.page-cockfighting__hero-image) {
      min-width: 200px; /* Applies to all content images */
      min-height: 200px; /* Applies to all content images */
      width: auto; /* Allow auto width for mobile */
      height: auto; /* Allow auto height for mobile */
  }
  /* Specific override for type-image to ensure it scales down */
  .page-cockfighting__type-image {
      height: auto; /* Override fixed height for responsiveness */
      min-height: 200px; /* Maintain minimum size */
  }
}

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__guide-section {
    padding: 20px 15px;
  }
}