/* style/g.css */
/* Base styles */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Dark background */
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom */
}

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

/* Headings */
.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold color for main title */
  text-align: center;
  margin-bottom: 20px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-cockfighting__card-title,
.page-cockfighting__step-title,
.page-cockfighting__tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2AD16F; /* Green for sub-titles */
  margin-bottom: 15px;
}

/* Text elements */
.page-cockfighting__text-block,
.page-cockfighting__hero-description,
.page-cockfighting__card-text,
.page-cockfighting__step-description,
.page-cockfighting__tip-description {
  font-size: 1rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
}

/* Secondary text */
.page-cockfighting__card-text {
  color: #A7D9B8; /* Secondary text color */
}

/* Links and Buttons */
.page-cockfighting a {
  color: #2AD16F; /* Green for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #57E38D; /* Lighter green on hover */
  text-decoration: underline;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-cockfighting__cta-button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-cockfighting__cta-button--secondary:hover {
  background-color: #2AD16F;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Sections */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

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

/* Feature Grid */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-card {
  background-color: #11271B; /* Card background color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
}

/* Type Cards (cockfighting types) */
.page-cockfighting__type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__type-card {
  background-color: #11271B; /* Card background color */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

/* Steps List */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__steps-list li {
  background-color: #11271B; /* Card background color */
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__steps-list li:last-child {
  margin-bottom: 0;
}

/* Tips List */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-list li {
  background-color: #11271B; /* Card background color */
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E; /* Border color */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tips-list li:last-child {
  margin-bottom: 0;
}

/* Promotions */
.page-cockfighting__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__promo-card {
  background-color: #11271B; /* Card background color */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border color */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-card .page-cockfighting__cta-button {
  margin-top: auto; /* Push button to bottom */
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card background color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green for FAQ header */
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* Remove default marker for details summary */
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E; /* Gold for toggle icon */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

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

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

.page-cockfighting__faq-answer .page-cockfighting__cta-button {
  margin-top: 15px;
}

/* Call to Action Bottom */
.page-cockfighting__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

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

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

  .page-cockfighting__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    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__feature-grid,
  .page-cockfighting__type-cards,
  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__container {
    padding: 0 15px; /* Add padding for mobile content */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* Ensure video elements are responsive (though none are used directly here) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons in groups should wrap */
  .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__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}