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

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

.page-cockfighting__container--centered {
  text-align: center;
}

.page-cockfighting__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Gold-like for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 28px;
  font-weight: 600;
  color: #FFCC66; /* Glow */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-cockfighting__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.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: 10px; /* Small top padding, body handles header offset */
  background-color: #C91F17; /* Main color for hero background */
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 900;
  color: #FFD86A; /* Brighter gold for H1 */
  margin-bottom: 20px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 20px;
  color: #FFF5E1;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for button text */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid #F2B544; /* Border */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

.page-cockfighting__image-wrapper {
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__list-item {
  background-color: #D32F2F; /* Card BG */
  border-left: 5px solid #F2B544; /* Border */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #FFF5E1;
}

.page-cockfighting__list-item h3 {
  color: #FFD86A;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.page-cockfighting__list-item p {
  font-size: 17px;
  color: #FFF5E1;
}

.page-cockfighting__list--numbered {
  list-style: decimal;
  padding-left: 25px;
}

.page-cockfighting__list--dashed {
  list-style: none;
  padding: 0;
}

.page-cockfighting__list--dashed .page-cockfighting__list-item::before {
  content: '— ';
  color: #FFCC66;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

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

.page-cockfighting__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1;
  border: 1px solid #F2B544; /* Border */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card-title {
  font-size: 22px;
  color: #FFD86A;
  padding: 15px 20px 0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #FFF5E1;
  padding: 0 20px 20px;
}

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

.page-cockfighting__feature-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF5E1;
  border: 1px solid #F2B544; /* Border */
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-item img {
  
  
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); /* Light shadow for icons */
}

.page-cockfighting__feature-title {
  font-size: 22px;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: #FFF5E1;
}

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

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF5E1;
}

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

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #E53935; /* Auxiliary color for hover */
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A;
}

.page-cockfighting__faq-toggle {
  font-size: 28px; /* Increased size */
  font-weight: bold;
  color: #FFCC66; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Increased width */
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate to form 'x' or diamond */
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #C91F17; /* Main color for answer background */
  border-radius: 0 0 5px 5px;
  color: #FFF5E1;
  font-size: 16px;
}

/* All images must be at least 200x200, no small icons */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill space without distortion */
}

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

  .page-cockfighting__container {
    padding: 20px 15px;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

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

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

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

  .page-cockfighting__hero-image {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-cockfighting__intro-text {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    width: 100% !important; /* Ensure full width */
  }

  .page-cockfighting__cta-button--large {
    padding: 15px 40px;
    font-size: 20px;
  }

  .page-cockfighting__list-item {
    padding: 15px;
  }

  .page-cockfighting__list-item h3 {
    font-size: 20px;
  }

  .page-cockfighting__list-item p {
    font-size: 15px;
  }

  .page-cockfighting__card-grid, .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card img {
    
  }

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

  .page-cockfighting__card-text {
    font-size: 15px;
  }

  .page-cockfighting__feature-item img {
    
    
  }

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

  .page-cockfighting__feature-description {
    font-size: 15px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }

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

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

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

  /* 🚨 Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset !important; /* Allow smaller sizes for responsiveness if needed */
    min-height: unset !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-wrapper,
  .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;
  }

  /* 🚨 Mobile button responsiveness */
  .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-left: 15px;
    padding-right: 15px;
  }

  .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;
  }
  .page-cockfighting__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}