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

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

.page-cockfighting-match-analysis__hero-section {
  padding-top: 10px; /* Small top padding as body padding-top is handled by shared */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #FFFFFF;
}

.page-cockfighting-match-analysis__hero-section .page-cockfighting-match-analysis__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.page-cockfighting-match-analysis__hero-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-cockfighting-match-analysis__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFF00; /* Use yellow for brand name in title */
  max-width: 600px;
}

.page-cockfighting-match-analysis__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
}

.page-cockfighting-match-analysis__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-cockfighting-match-analysis__btn-primary,
.page-cockfighting-match-analysis__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-match-analysis__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-cockfighting-match-analysis__btn-primary:hover {
  background-color: #e02c2c;
  border-color: #e02c2c;
}

.page-cockfighting-match-analysis__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-cockfighting-match-analysis__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

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

.page-cockfighting-match-analysis__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-match-analysis__section {
  padding: 60px 0;
}

.page-cockfighting-match-analysis__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-cockfighting-match-analysis__section-title--white {
  color: #FFFFFF;
}

.page-cockfighting-match-analysis__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting-match-analysis__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting-match-analysis__list li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-cockfighting-match-analysis__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.page-cockfighting-match-analysis__image-text-block--reverse {
  flex-direction: row-reverse;
}

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

.page-cockfighting-match-analysis__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-match-analysis__text-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting-match-analysis__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-cockfighting-match-analysis__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-cockfighting-match-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-match-analysis__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-cockfighting-match-analysis__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting-match-analysis__card-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555555;
  padding: 0 15px;
}

.page-cockfighting-match-analysis__cta-center {
  text-align: center;
  margin-top: 30px;
}

.page-cockfighting-match-analysis__faq-section {
  background-color: #017439;
  padding: 60px 0;
  color: #FFFFFF;
}

details.page-cockfighting-match-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
details.page-cockfighting-match-analysis__faq-item summary.page-cockfighting-match-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFFFFF;
}
details.page-cockfighting-match-analysis__faq-item summary.page-cockfighting-match-analysis__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting-match-analysis__faq-item summary.page-cockfighting-match-analysis__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}
.page-cockfighting-match-analysis__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting-match-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFFF00;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting-match-analysis__faq-item .page-cockfighting-match-analysis__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-cockfighting-match-analysis__hero-section .page-cockfighting-match-analysis__container {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting-match-analysis__hero-content {
    order: 2;
    text-align: center;
  }

  .page-cockfighting-match-analysis__hero-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-cockfighting-match-analysis__cta-buttons {
    justify-content: center;
  }
}

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

  .page-cockfighting-match-analysis__section-title {
    margin-bottom: 30px;
  }

  .page-cockfighting-match-analysis__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting-match-analysis__btn-primary,
  .page-cockfighting-match-analysis__btn-secondary {
    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-match-analysis__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-cockfighting-match-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting-match-analysis__section,
  .page-cockfighting-match-analysis__card,
  .page-cockfighting-match-analysis__container,
  .page-cockfighting-match-analysis__image-text-block,
  .page-cockfighting-match-analysis__card-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-match-analysis__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting-match-analysis__image-text-block--reverse {
    flex-direction: column;
  }

  .page-cockfighting-match-analysis__card-image {
    height: 180px;
  }

  details.page-cockfighting-match-analysis__faq-item summary.page-cockfighting-match-analysis__faq-question { padding: 15px; }
  .page-cockfighting-match-analysis__faq-qtext { font-size: 15px; }
  details.page-cockfighting-match-analysis__faq-item .page-cockfighting-match-analysis__faq-answer { padding: 0 15px 15px; }
}