/* style/cockfighting-match-analysis.css */

/* Base styles for the page content */
.page-cockfighting-match-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background: var(--bg-dark-1);
  /* Fixed navigation bar spacing */
  padding-top: 10px; 
}

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

/* Hero Content Section */
.page-cockfighting-match-analysis__hero-content {
  padding: 60px 0;
  background: linear-gradient(135deg, #FF4500, #008080);
  color: #ffffff;
  text-align: center;
}

.page-cockfighting-match-analysis__main-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-match-analysis__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting-match-analysis__main-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* General Section Styling */
.page-cockfighting-match-analysis__section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-match-analysis__section--dark {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-cockfighting-match-analysis__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting-match-analysis__section-title {
  font-size: 2.2em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting-match-analysis__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #008080;
  border-radius: 2px;
}

.page-cockfighting-match-analysis__sub-title {
  font-size: 1.8em;
  color: #008080;
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #FF4500;
  padding-left: 15px;
}

.page-cockfighting-match-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

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

.page-cockfighting-match-analysis__list-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 1.05em;
  border-left: 4px solid #008080;
  color: #f0f0f0;
}

.page-cockfighting-match-analysis__list-item strong {
  color: #FF4500;
}

.page-cockfighting-match-analysis__list-item::before {
  content: '✔';
  color: #FF4500;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-cockfighting-match-analysis__numbered-list {
  list-style: none;
  padding-left: 0;
  counter-reset: my-awesome-counter;
}

.page-cockfighting-match-analysis__numbered-list .page-cockfighting-match-analysis__list-item {
  counter-increment: my-awesome-counter;
  border-left: 4px solid #FF4500;
}

.page-cockfighting-match-analysis__numbered-list .page-cockfighting-match-analysis__list-item::before {
  content: counter(my-awesome-counter) ".";
  color: #008080;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.page-cockfighting-match-analysis__content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-cockfighting-match-analysis__cta-wrapper {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-cockfighting-match-analysis__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.page-cockfighting-match-analysis__btn--primary:hover {
  background: #e63e00;
  border-color: #e63e00;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting-match-analysis__btn--secondary:hover {
  background: #006666;
  border-color: #006666;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.highlight-text {
  color: #FF4500;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting-match-analysis__faq-list {
  margin-top: 40px;
}

.page-cockfighting-match-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-match-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a; /* Darker background for question */
  border: 1px solid #444;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-cockfighting-match-analysis__faq-question:hover {
  background: #3a3a3a;
  border-color: #666;
}

.page-cockfighting-match-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-cockfighting-match-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FF4500;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting-match-analysis__faq-item.active .page-cockfighting-match-analysis__faq-toggle {
  color: #008080;
  transform: rotate(45deg);
}

.page-cockfighting-match-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #1a1a1a; /* Even darker background for answer */
  color: #e0e0e0;
}

.page-cockfighting-match-analysis__faq-item.active .page-cockfighting-match-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
  border: 1px solid #444;
  border-top: none;
}

.page-cockfighting-match-analysis__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #e0e0e0;
}

.page-cockfighting-match-analysis__section--conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-match-analysis__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting-match-analysis__section-title {
    font-size: 2em;
  }
  .page-cockfighting-match-analysis__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-match-analysis {
    padding-top: 10px; /* Adjust for mobile fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting-match-analysis__container {
    padding: 0 15px;
  }

  .page-cockfighting-match-analysis__hero-content {
    padding: 40px 0;
  }

  .page-cockfighting-match-analysis__main-title {
    font-size: 2em;
  }

  .page-cockfighting-match-analysis__intro-text {
    font-size: 1em;
  }

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

  .page-cockfighting-match-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting-match-analysis__sub-title {
    font-size: 1.4em;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-cockfighting-match-analysis__paragraph,
  .page-cockfighting-match-analysis__list-item {
    font-size: 0.95em;
  }

  .page-cockfighting-match-analysis__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-cockfighting-match-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-cockfighting-match-analysis__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-cockfighting-match-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-cockfighting-match-analysis__faq-answer {
    padding: 0 15px;
  }
  
  .page-cockfighting-match-analysis__faq-item.active .page-cockfighting-match-analysis__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image adaptation */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-match-analysis__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting-match-analysis__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting-match-analysis__btn {
    width: 100%;
    margin-bottom: 10px;
  }
  .page-cockfighting-match-analysis__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}