.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared */
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Desktop: cover */
  border-radius: 8px;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #E53935;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  background-color: #FFFFFF; /* Card BG */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__dark-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient for dark section BG */
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__text-block,
.page-cockfighting__dark-section .page-cockfighting__card-title,
.page-cockfighting__dark-section .page-cockfighting__card-description,
.page-cockfighting__dark-section .page-cockfighting__step-title,
.page-cockfighting__dark-section .page-cockfighting__step-description,
.page-cockfighting__dark-section .page-cockfighting__promotion-title,
.page-cockfighting__dark-section .page-cockfighting__promotion-description {
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting__text-block--center {
  text-align: center;
}

.page-cockfighting__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-cockfighting__image-with-text .page-cockfighting__image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  height: auto;
  display: block;
}

.page-cockfighting__image-with-text .page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-cockfighting__image--center {
  margin: 40px auto;
  display: block;
  max-width: 800px; /* Limit width for centered images */
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Button responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__grid {
  display: grid;
  gap: 30px;
}

.page-cockfighting__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-cockfighting__card {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

.page-cockfighting__dark-section .page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #333333;
  padding: 0 20px;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__step-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-cockfighting__strategy-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__strategy-description {
  font-size: 1rem;
  color: #333333;
}

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

.page-cockfighting__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-cockfighting__promotion-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__promotion-description {
  font-size: 1rem;
  color: #ffffff;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-cockfighting__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #E0E0E0;
  list-style: none;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  border-bottom: 1px solid #E0E0E0;
}

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

.page-cockfighting__faq-question::marker {
  display: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

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

.page-cockfighting__faq-answer a {
  color: #E53935;
  text-decoration: underline;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-button {
  margin-top: 30px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
  }

  /* Hero Section */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body padding-top from shared */
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Mobile: contain */
    max-height: none !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__main-title {
    font-size: 2rem !important;
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem !important;
    margin-bottom: 20px;
  }

  /* General Section & Text */
  .page-cockfighting__section {
    padding: 30px 0;
    margin-bottom: 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 1rem !important;
  }

  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting__image-with-text .page-cockfighting__image {
    max-width: 100% !important;
  }

  .page-cockfighting__image--center {
    margin: 30px auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Images & Containers (General) */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-with-text,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promotion-grid,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons & Button Containers */
  .page-cockfighting__cta-button,
  .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 20px;
    font-size: 1rem;
  }

  /* Button containers */
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Grid Layouts */
  .page-cockfighting__grid--2-cols,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: 1fr !important;
  }

  .page-cockfighting__card-image {
    height: 200px !important;
  }

  .page-cockfighting__step-card,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  .page-cockfighting__step-number {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
  }

  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__promotion-image {
    height: 150px;
  }

  /* FAQ */
  .page-cockfighting__faq-question {
    font-size: 1rem !important;
    padding: 15px;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.95rem !important;
    padding: 15px;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }
}

/* --- Mobile Responsive Styles (max-width: 1024px for tablet) --- */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px;
  }

  .page-cockfighting__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .page-cockfighting__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top from shared */
  }

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

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

  .page-cockfighting__section-title {
    font-size: 2.2rem;
  }

  .page-cockfighting__text-block {
    font-size: 1rem;
  }

  .page-cockfighting__image-with-text {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__image-with-text .page-cockfighting__image {
    max-width: 100%;
  }

  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .page-cockfighting__card-image {
    height: 220px;
  }

  .page-cockfighting__promotion-image {
    height: 160px;
  }
}