/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* Section spacing and general layout */
.page-cockfighting__hero-section,
.page-cockfighting__introduction-section,
.page-cockfighting__game-types,
.page-cockfighting__how-to-play,
.page-cockfighting__strategies,
.page-cockfighting__promotions,
.page-cockfighting__security-safety,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Added for consistent padding */
  box-sizing: border-box;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  color: #F2FFF6;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

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

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

/* General Titles */
.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #22C768;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Text Blocks */
.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: left;
}

.page-cockfighting__center-text {
  text-align: center;
}

/* Image styles */
.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* List styles */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-cockfighting__list-item {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__list-item::before {
  content: '✓';
  color: #2AD16F;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* Ensure cards have equal height */
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-cockfighting__card-text {
  font-size: 1rem;
  color: #A7D9B8;
  flex-grow: 1; /* Allow text to take available space */
}

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

.page-cockfighting__step-item {
  background-color: #11271B;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: #22C768;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-text {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  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, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 30px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  margin-top: 15px;
}

.page-cockfighting__btn-small:hover {
  background-color: #11A84E;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #11271B;
  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;
  background-color: #1E3A2A; /* Divider */
  color: #F2FFF6;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 1rem;
  text-align: left;
}

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

/* Color Contrast Specifics */
.page-cockfighting__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Using Card BG for lighter sections to maintain dark theme */
  color: #F2FFF6;
}

/* Adjust specific text colors for light-bg sections */
.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__sub-title {
  color: #22C768;
}

.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__list-item,
.page-cockfighting__light-bg .page-cockfighting__list-item strong {
  color: #A7D9B8;
}


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

  .page-cockfighting__hero-section {
    min-height: 400px;
    padding: 10px 15px;
  }

  .page-cockfighting__hero-content {
    padding: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small {
    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__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    margin-top: 20px;
    margin-bottom: 15px;
  }

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

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

  .page-cockfighting__card,
  .page-cockfighting__step-item {
    padding: 20px;
  }

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

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

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

  /* Image responsive adaptations */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types,
  .page-cockfighting__how-to-play,
  .page-cockfighting__strategies,
  .page-cockfighting__promotions,
  .page-cockfighting__security-safety,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is small visual offset */
  }
}

/* Ensure content area images are not smaller than 200px */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* desktop video container width */
.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}