/* style/cockfighting.css */

/* --- General Styling --- */
.page-cockfighting {
  color: #f0f0f0; /* Light text for assumed dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
  background-color: transparent; /* Default to transparent, specific sections will have color */
}

.page-cockfighting__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: inherit; /* Inherit from section, ensures contrast */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: inherit;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-cockfighting__highlight {
  color: #EA7C07; /* Login color for highlights */
  font-weight: bold;
}

/* --- Buttons --- */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color for primary actions */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

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

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

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.page-cockfighting__btn-full-width {
  width: 100%;
  max-width: 300px; /* Limit max width for better appearance */
  margin: 0 auto;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Video on top, text below */
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px; /* Ensure space below content */
  overflow: hidden; /* Prevent video overflow */
}

.page-cockfighting__hero-video-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero video */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px; /* Space between video and text */
  cursor: pointer; /* Indicate video is clickable */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #ffffff;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Content Grid Sections --- */
.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__content-grid--reversed {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0; /* Ensure text is light on dark sections */
}

.page-cockfighting__intro-section .page-cockfighting__text-block,
.page-cockfighting__guide-section .page-cockfighting__text-block,
.page-cockfighting__tips-section .page-cockfighting__text-block {
  color: #f0f0f0; /* Default text color for these sections */
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  display: block; /* Ensure it respects max-width and height auto */
}

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

.page-cockfighting__list li {
  margin-bottom: 10px;
  color: inherit;
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
}

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

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

.page-cockfighting__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
  color: #f0f0f0;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #f0f0f0;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  line-height: 1;
  user-select: none;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

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

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

/* Ensure links in text are visible */
.page-cockfighting__text-block a,
.page-cockfighting__card-text a,
.page-cockfighting__faq-answer a {
  color: #EA7C07; /* Use login color for links */
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover,
.page-cockfighting__card-text a:hover,
.page-cockfighting__faq-answer a:hover {
  color: #d16e06;
}

/* --- Conclusion Section --- */
.page-cockfighting__conclusion-section {
  padding-bottom: 80px;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-description {
  margin-bottom: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid--reversed {
    flex-direction: column; /* Also stack reversed grid */
  }
  .page-cockfighting__text-block,
  .page-cockfighting__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

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

  .page-cockfighting__hero-video-wrapper {
    max-height: 50vh;
    width: 100% !important; /* Ensure video wrapper is full width */
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-cockfighting__hero-description {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
  }

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

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

  .page-cockfighting__image-wrapper,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for sections/containers */
  }

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

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

  .page-cockfighting__sub-title {
    font-size: clamp(1.2rem, 4.5vw, 1.7rem);
  }

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

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

  .page-cockfighting p,
  .page-cockfighting li,
  .page-cockfighting__card-text {
    font-size: 0.95rem;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure content area images are not too small */
.page-cockfighting__content-grid img,
.page-cockfighting__promo-card img {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast fixes for default text color if needed, assuming body is dark */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__card-text {
  color: #f0f0f0;
}

/* Specific text color for sections with white background if any */
.page-cockfighting__light-bg-section {
  background-color: #ffffff;
  color: #333333;
}
.page-cockfighting__light-bg-section .page-cockfighting__section-title,
.page-cockfighting__light-bg-section .page-cockfighting__sub-title {
  color: #000000;
}
.page-cockfighting__light-bg-section a {
  color: #26A9E0;
}