/* style/cockfighting-event-analysis.css */
/* Body background color is from shared.css (var(--background-color)) */
/* Assuming --background-color is dark for acb8 win based on Green Gold theme */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --section-bg: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-cockfighting-event-analysis {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--section-bg); /* Use a dark background for the main content area */
}

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

.page-cockfighting-event-analysis__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0; /* Adjusted padding, body handles top offset */
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-cockfighting-event-analysis__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting-event-analysis__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-event-analysis__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space below image */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-cockfighting-event-analysis__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting-event-analysis__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting-event-analysis__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-cockfighting-event-analysis__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-event-analysis__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-cockfighting-event-analysis__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--primary-color);
  margin-left: 20px;
}

.page-cockfighting-event-analysis__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-cockfighting-event-analysis__section {
  padding: 80px 0;
  background-color: var(--section-bg);
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting-event-analysis__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.page-cockfighting-event-analysis__section-description {
  font-size: 1.05em;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-cockfighting-event-analysis__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting-event-analysis__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-cockfighting-event-analysis__grid-2-cols-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-cockfighting-event-analysis__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting-event-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-event-analysis__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting-event-analysis__card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting-event-analysis__image-block {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-event-analysis__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-event-analysis__text-block {
  padding: 20px 0;
}

.page-cockfighting-event-analysis__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 10px;
}

.page-cockfighting-event-analysis__text-block p {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-cockfighting-event-analysis__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-cockfighting-event-analysis__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-cockfighting-event-analysis__list-item .page-cockfighting-event-analysis__sub-title {
  color: var(--gold-color);
  margin-top: 0;
  font-size: 1.3em;
}

.page-cockfighting-event-analysis__list-item p {
  color: var(--text-secondary);
}

.page-cockfighting-event-analysis__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting-event-analysis__faq-section {
  background-color: var(--section-bg);
}

.page-cockfighting-event-analysis__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting-event-analysis__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-cockfighting-event-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-cockfighting-event-analysis__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting-event-analysis__faq-question:hover {
  background-color: var(--primary-color);
}

.page-cockfighting-event-analysis__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-event-analysis__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-cockfighting-event-analysis__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: none;
}

.page-cockfighting-event-analysis__conclusion-cta {
  background-color: var(--deep-green);
  text-align: center;
}

.page-cockfighting-event-analysis__conclusion-cta .page-cockfighting-event-analysis__section-title {
  color: var(--gold-color);
}

.page-cockfighting-event-analysis__conclusion-cta .page-cockfighting-event-analysis__section-description {
  color: var(--text-secondary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting-event-analysis__grid-2-cols,
  .page-cockfighting-event-analysis__grid-2-cols-reverse {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-event-analysis__grid-2-cols-reverse .page-cockfighting-event-analysis__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-cockfighting-event-analysis__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-cockfighting-event-analysis__hero-content {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-event-analysis__hero-section {
    padding: 40px 0;
  }
  .page-cockfighting-event-analysis__main-title {
    font-size: 2em;
  }
  .page-cockfighting-event-analysis__intro-text {
    font-size: 0.95em;
  }
  .page-cockfighting-event-analysis__section {
    padding: 50px 0;
  }
  .page-cockfighting-event-analysis__section-title {
    font-size: 2em;
  }
  .page-cockfighting-event-analysis__section-description {
    margin-bottom: 30px;
  }
  .page-cockfighting-event-analysis__card {
    padding: 20px;
  }
  .page-cockfighting-event-analysis__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting-event-analysis__sub-title {
    font-size: 1.3em;
  }
  .page-cockfighting-event-analysis__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting-event-analysis__faq-answer {
    padding: 15px 20px;
  }
  .page-cockfighting-event-analysis__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting-event-analysis__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting-event-analysis__btn-secondary {
    margin-top: 0;
    margin-left: 0;
  }

  /* Mobile image, video, and container responsiveness */
  .page-cockfighting-event-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-event-analysis video,
  .page-cockfighting-event-analysis__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-event-analysis__section,
  .page-cockfighting-event-analysis__card,
  .page-cockfighting-event-analysis__container,
  .page-cockfighting-event-analysis__image-block,
  .page-cockfighting-event-analysis__video-section,
  .page-cockfighting-event-analysis__video-container,
  .page-cockfighting-event-analysis__video-wrapper,
  .page-cockfighting-event-analysis__button-group,
  .page-cockfighting-event-analysis__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting-event-analysis__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting-event-analysis__hero-section {
    padding-top: 10px !important;
  }
}

/* Ensure contrast for text on various backgrounds */
.page-cockfighting-event-analysis p,
.page-cockfighting-event-analysis li,
.page-cockfighting-event-analysis__text-block p,
.page-cockfighting-event-analysis__list-item p,
.page-cockfighting-event-analysis__faq-answer p {
  color: var(--text-secondary);
}

/* Specific contrast adjustments for titles if needed */
.page-cockfighting-event-analysis__main-title,
.page-cockfighting-event-analysis__section-title,
.page-cockfighting-event-analysis__card-title,
.page-cockfighting-event-analysis__sub-title,
.page-cockfighting-event-analysis__faq-question {
  color: var(--text-main);
}

.page-cockfighting-event-analysis__hero-section .page-cockfighting-event-analysis__main-title {
    color: var(--gold-color);
}
.page-cockfighting-event-analysis__section-title {
    color: var(--gold-color);
}
.page-cockfighting-event-analysis__card-title {
    color: var(--primary-color);
}
.page-cockfighting-event-analysis__sub-title {
    color: var(--primary-color);
}
.page-cockfighting-event-analysis__list-item .page-cockfighting-event-analysis__sub-title {
    color: var(--gold-color);
}
.page-cockfighting-event-analysis__faq-question {
    color: var(--text-main);
}

.page-cockfighting-event-analysis__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}