/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Ensure consistency with shared body background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b6;
  border-color: #f0f0f0;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__text-link:hover {
  color: #1e87b6;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__section-title--light {
  color: #ffffff;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image--left {
  float: left;
  margin-right: 30px;
  max-width: 45%;
}

.page-cockfighting__image--right {
  float: right;
  margin-left: 30px;
  max-width: 45%;
}

.page-cockfighting__bet-types-section::after,
.page-cockfighting__intro-section::after {
  content: "";
  display: table;
  clear: both;
}

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

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting__list-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 15px 0;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item:last-child {
  border-bottom: none;
}

.page-cockfighting__list--icon .page-cockfighting__list-item {
  position: relative;
  padding-left: 40px;
}

.page-cockfighting__list--icon .page-cockfighting__list-item::before {
  content: '✓'; /* Example icon */
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
  height: 100%; /* Ensure cards have equal height */
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-cockfighting__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto; /* Push image to bottom if content is shorter */
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 10px;
}

.page-cockfighting__cta-bottom .page-cockfighting__text-block {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  background-color: #0d0d0d; /* Darker background for video section */
  margin-top: 40px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.page-cockfighting__video-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: #000;
  border-radius: 10px;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-cockfighting__btn-primary--video-cta {
  margin-top: 30px;
  font-size: 1.2em;
  padding: 18px 40px;
}

.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__image--left,
  .page-cockfighting__image--right {
    max-width: 100%;
    float: none;
    margin: 30px auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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__hero-cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }
}