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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Adjusted for shared header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero */
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 800;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

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

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  background: #F5F7FA;
  padding: 60px 0;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  background: #E53935;
  color: #ffffff;
  padding: 60px 0;
}

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

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

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

.page-cockfighting__type-card {
  background: #ffffff;
  color: #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  padding: 20px 20px 10px;
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  background: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background: #F5F7FA;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.page-cockfighting__guide-item:hover {
  transform: translateY(-3px);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__guide-item p {
  font-size: 1em;
  color: #555555;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  background: #FF5A4F;
  color: #ffffff;
  padding: 60px 0;
}

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

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

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

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

.page-cockfighting__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.page-cockfighting__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__advantage-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-description {
  font-size: 0.95em;
  color: #555555;
}

/* Tips Section */
.page-cockfighting__tips-section {
  background: #F5F7FA;
  padding: 60px 0;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.page-cockfighting__tip-item:hover {
  transform: translateY(-3px);
}

.page-cockfighting__tip-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__tip-item p {
  font-size: 1em;
  color: #555555;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background: #ffffff;
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background: #F5F7FA;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  outline: none;
  list-style: none;
  user-select: none;
  position: relative;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: #e0e0e0;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E53935;
  margin-left: 15px;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title,
.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  color: #ffffff;
}

.page-cockfighting__cta-final-content {
  max-width: 800px;
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary {
  background: #ffffff;
  color: #E53935;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Universal image and container responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsiveness */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 30px 20px;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
    margin-bottom: 25px;
  }

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

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

  .page-cockfighting__hero-image-wrapper {
    height: 500px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-cockfighting__types-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-cockfighting__card-title,
  .page-cockfighting__advantage-title,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__tip-title {
    font-size: 1.3em;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 18px;
  }

  .page-cockfighting__cta-final-section {
    padding: 60px 0;
  }
}

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

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-image-wrapper {
    height: 300px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__hero-content {
    padding: 0 15px;
    margin: 30px auto;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }

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

  .page-cockfighting__text-block {
    font-size: 0.95em;
  }

  /* Product Display / Game Types Section */
  .page-cockfighting__types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__type-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
  }

  .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 200px !important; /* Min height for card images */
    object-fit: cover;
  }

  .page-cockfighting__card-title {
    font-size: 1.2em;
    padding: 15px 15px 8px;
  }

  .page-cockfighting__card-description {
    font-size: 0.9em;
    padding: 0 15px 15px;
  }

  /* Generic Images and Containers */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }

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

  /* Advantages Section */
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-cockfighting__advantage-item {
    padding: 20px;
  }

  .page-cockfighting__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .page-cockfighting__advantage-title {
    font-size: 1.2em;
  }

  /* Guide and Tips Sections */
  .page-cockfighting__guide-item,
  .page-cockfighting__tip-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-cockfighting__guide-step-title,
  .page-cockfighting__tip-title {
    font-size: 1.2em;
  }

  /* FAQ Section */
  .page-cockfighting__faq-item summary {
    font-size: 1em;
    padding: 15px 18px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 18px 15px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.2em;
  }

  .page-cockfighting__cta-final-section {
    padding: 50px 0;
  }

  .page-cockfighting__cta-final-content {
    padding: 0 15px;
  }
}