.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: var(--background-color, #FFFFFF);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #26A9E0; /* Brand color for hero background */
  color: #FFFFFF;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

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

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #F0F8FF;
  color: #1A7FB0;
  border-color: #1A7FB0;
}

.page-cockfighting__section {
  padding: 60px 20px;
}

.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__tips-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: #333333;
}

.page-cockfighting__advantages-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.page-cockfighting__text-block a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-cockfighting__image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 30px auto;
  text-align: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__advantage-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__advantage-card .page-cockfighting__card-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__advantage-card .page-cockfighting__card-text {
  color: #F0F8FF;
  font-size: 1rem;
  line-height: 1.6;
}

.page-cockfighting__bet-list,
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__bet-item,
.page-cockfighting__tip-item {
  background-color: #F8F8F8;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__bet-type-title,
.page-cockfighting__tip-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__bet-description,
.page-cockfighting__tip-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

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

.page-cockfighting__step-text {
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.page-cockfighting__step-text a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

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

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #EEEEEE;
  color: #26A9E0;
}

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

.page-cockfighting__faq-item[open] summary {
  border-bottom: 1px solid #E0E0E0;
}

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

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

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

.page-cockfighting__faq-answer a {
  color: #EA7C07;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__section {
    padding: 50px 15px;
  }

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 10px;
    padding-top: 10px !important; /* body already handles header offset */
  }

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

  .page-cockfighting__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 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__section {
    padding: 40px 10px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* Image and Video Responsive */
  .page-cockfighting img,
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }

  .page-cockfighting__image-wrapper,
  .page-cockfighting__hero-image-wrapper,
  .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: 10px;
    padding-right: 10px;
    overflow: hidden !important;
  }

  .page-cockfighting__advantage-card,
  .page-cockfighting__step-card {
    padding: 25px;
  }

  .page-cockfighting__advantage-card .page-cockfighting__card-title,
  .page-cockfighting__step-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 18px 20px;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .page-cockfighting__bet-item,
  .page-cockfighting__tip-item {
    padding: 20px;
  }

  .page-cockfighting__bet-type-title,
  .page-cockfighting__tip-title {
    font-size: 1.25rem;
  }
}