.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.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;
}

.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__heading,
.page-cockfighting__dark-section .page-cockfighting__paragraph,
.page-cockfighting__dark-section .page-cockfighting__card-title,
.page-cockfighting__dark-section .page-cockfighting__card-text {
  color: #FFFFFF;
}

.page-cockfighting__heading {
  font-size: 38px;
  color: #26A9E0;
  margin-bottom: 25px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting__sub-heading {
  font-size: 24px;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__paragraph {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333333;
}

.page-cockfighting__dark-section .page-cockfighting__paragraph {
  color: #FFFFFF;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
  box-sizing: border-box;
}

.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;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-cockfighting__hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-cockfighting__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.page-cockfighting__btn--large {
  padding: 18px 35px;
  font-size: 20px;
  border-radius: 10px;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__text-block {
  text-align: left;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__image--center {
  margin: 40px auto 0 auto;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-cockfighting__list-item {
  font-size: 18px;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-cockfighting__dark-section .page-cockfighting__list-item {
  color: #FFFFFF;
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

.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: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__card--promo {
  background-color: #f0f8ff; /* Light blue tint for promo cards */
}

.page-cockfighting__dark-section .page-cockfighting__card--promo {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__dark-section .page-cockfighting__card-text {
  color: #e0e0e0;
}

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

.page-cockfighting__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-top: 60px;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 20px;
  left: 25px;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}

.page-cockfighting__step-title {
  font-size: 20px;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #555555;
}

.page-cockfighting__video-section {
  background-color: #f5f5f5;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto 0 auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none; /* Allow click to pass through to video/link */
}

.page-cockfighting__video-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #EA7C07; /* Login color for prominent CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  z-index: 3;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
}

.page-cockfighting__video-cta:hover {
  background-color: #d16e06;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #fcfcfc;
  border-radius: 8px;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  overflow: hidden;
}

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

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

/* Image and Video responsive styles */
.page-cockfighting img,
.page-cockfighting video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-cockfighting__heading {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-cockfighting__sub-heading {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cockfighting__paragraph,
  .page-cockfighting__list-item,
  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__faq-answer {
    font-size: 15px;
  }

  .page-cockfighting__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 36px;
  }

  .page-cockfighting__hero-description {
    font-size: 18px;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn,
  .page-cockfighting__btn--large {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__introduction,
  .page-cockfighting__types,
  .page-cockfighting__guide,
  .page-cockfighting__strategies,
  .page-cockfighting__promotions,
  .page-cockfighting__safety,
  .page-cockfighting__video-section,
  .page-cockfighting__faq,
  .page-cockfighting__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__content-grid--reverse {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__video-wrapper {
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__video-cta {
    font-size: 16px;
    padding: 12px 25px;
  }

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