/* style/cockfighting.css */

/* BEM Naming Convention: page-cockfighting__element-name */
/* Colors: #E53935 (Primary), #FF5A4F (Secondary), #FFFFFF (Card BG), #F5F7FA (Background), #333333 (Text Main), #E0E0E0 (Border) */

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color, #333333); /* Default text color for light backgrounds */
  background-color: var(--background-color, #F5F7FA); /* Default page background */
}

.page-cockfighting__dark-section {
  background-color: #E53935; /* Primary color as background */
  color: #ffffff; /* White text for dark background */
}

.page-cockfighting__light-bg {
  background-color: #F5F7FA; /* Light background color */
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more at bottom */
  overflow: hidden;
  text-align: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure image is not too small */
}

.page-cockfighting__hero-content {
  max-width: 960px;
  padding: 40px 20px;
  margin-top: -80px; /* Adjust as needed to pull content up slightly, but not overlap image */
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #333333;
  margin-bottom: 30px;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #FF5A4F;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-cockfighting__highlight {
  font-weight: bold;
  color: #E53935;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

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

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-cockfighting__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-cockfighting__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__numbered-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: inherit;
}

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

.page-cockfighting__card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

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

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #333333;
  flex-grow: 1;
}

.page-cockfighting__advantage-card {
  text-align: center;
  padding: 20px;
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
  font-size: 1.3rem;
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-card .page-cockfighting__card-description {
  font-size: 0.95rem;
}

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

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #E53935;
  cursor: pointer;
  background-color: #F5F7FA;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* Remove default marker for details */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide Webkit default marker */
}

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

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

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #333333;
  background-color: #FFFFFF;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: none;
}

.page-cockfighting__conclusion-section {
  padding-bottom: 80px;
}

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

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
  }

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

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

  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__container,
  .page-cockfighting__overview-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__content-image,
  .page-cockfighting__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

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

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-cockfighting__hero-image {
    min-height: 250px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__list-item,
  .page-cockfighting__card-description {
    font-size: 1rem;
  }
}

/* Ensure min-width for all images */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
}

/* Specific override for hero image to allow larger dimensions but still responsive */
.page-cockfighting__hero-image {
  min-width: unset;
  min-height: unset;
}

/* Flex and width for video container (if present) */
/* This page does not contain a video, but if it did, this would be relevant */
.page-cockfighting__video-container {
  width: 100%; /* Important for desktop */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}