/* style/resources-live-cockfighting-guide.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-register: #C30808;
  --button-login: #C30808;
  --button-text-color: #FFFF00;
  --background-white: #FFFFFF;
}

.page-resources-live-cockfighting-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-light-bg);
  background-color: var(--background-white);
}

.page-resources-live-cockfighting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-live-cockfighting-guide__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  color: var(--text-color-dark-bg);
  background-color: var(--primary-color);
}

.page-resources-live-cockfighting-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-live-cockfighting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-resources-live-cockfighting-guide__hero-section > .page-resources-live-cockfighting-guide__container {
  position: relative;
  z-index: 1;
}

.page-resources-live-cockfighting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-live-cockfighting-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

/* General Content Section */
.page-resources-live-cockfighting-guide__content-area {
  padding: 80px 20px;
}

.page-resources-live-cockfighting-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-live-cockfighting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-live-cockfighting-guide__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-live-cockfighting-guide__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-resources-live-cockfighting-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Video Section */
.page-resources-live-cockfighting-guide__video-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-white);
  color: var(--text-color-light-bg);
}

.page-resources-live-cockfighting-guide__video-title {
  color: var(--primary-color);
}

.page-resources-live-cockfighting-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-live-cockfighting-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-resources-live-cockfighting-guide__video-caption {
  font-style: italic;
  margin-top: 20px;
  color: var(--text-color-light-bg);
}

/* CTA Section */
.page-resources-live-cockfighting-guide__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-live-cockfighting-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
}

.page-resources-live-cockfighting-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-dark-bg);
}

/* Buttons */
.page-resources-live-cockfighting-guide__btn-primary,
.page-resources-live-cockfighting-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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-resources-live-cockfighting-guide__btn-primary {
  background-color: var(--button-register);
  color: var(--button-text-color);
  border: 2px solid var(--button-register);
}

.page-resources-live-cockfighting-guide__btn-primary:hover {
  background-color: darken(var(--button-register), 10%);
  border-color: darken(var(--button-register), 10%);
}

.page-resources-live-cockfighting-guide__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-live-cockfighting-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* FAQ Section */
.page-resources-live-cockfighting-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-live-cockfighting-guide__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: var(--background-white);
  color: var(--text-color-light-bg);
}

.page-resources-live-cockfighting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-live-cockfighting-guide__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-live-cockfighting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-live-cockfighting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-light-bg);
}

.page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-live-cockfighting-guide__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Highlighted text for keywords */
.page-resources-live-cockfighting-guide__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Background color specific classes for contrast */
.page-resources-live-cockfighting-guide__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-live-cockfighting-guide__light-bg {
  background-color: var(--background-white);
  color: var(--text-color-light-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-live-cockfighting-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-live-cockfighting-guide__section-title,
  .page-resources-live-cockfighting-guide__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-live-cockfighting-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-live-cockfighting-guide__hero-section {
    padding: 40px 15px;
    min-height: 500px;
  }

  .page-resources-live-cockfighting-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-live-cockfighting-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-live-cockfighting-guide__content-area,
  .page-resources-live-cockfighting-guide__video-section,
  .page-resources-live-cockfighting-guide__cta-section {
    padding: 40px 15px;
  }

  .page-resources-live-cockfighting-guide__section-title,
  .page-resources-live-cockfighting-guide__cta-title {
    font-size: 1.8em;
  }

  .page-resources-live-cockfighting-guide__text-block {
    font-size: 1em;
  }

  /* Mobile image responsive adaptation */
  .page-resources-live-cockfighting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-live-cockfighting-guide__image-wrapper,
  .page-resources-live-cockfighting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Mobile video responsive adaptation */
  .page-resources-live-cockfighting-guide video,
  .page-resources-live-cockfighting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video section padding adjustment for header offset */
  .page-resources-live-cockfighting-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsive adaptation */
  .page-resources-live-cockfighting-guide__btn-primary,
  .page-resources-live-cockfighting-guide__btn-secondary,
  .page-resources-live-cockfighting-guide a[class*="button"],
  .page-resources-live-cockfighting-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-resources-live-cockfighting-guide__cta-buttons,
  .page-resources-live-cockfighting-guide__button-group,
  .page-resources-live-cockfighting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources-live-cockfighting-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-resources-live-cockfighting-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-live-cockfighting-guide__faq-answer {
    padding: 0 20px;
  }

  .page-resources-live-cockfighting-guide__faq-item.active .page-resources-live-cockfighting-guide__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-live-cockfighting-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-live-cockfighting-guide__section-title,
  .page-resources-live-cockfighting-guide__cta-title {
    font-size: 1.5em;
  }
}