/* style/resources-cockfighting-tips.css */
.page-resources-cockfighting-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure this matches body background */
}

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

.page-resources-cockfighting-tips__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000000;
}

.page-resources-cockfighting-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.page-resources-cockfighting-tips__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

.page-resources-cockfighting-tips__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-cockfighting-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-cockfighting-tips__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #8B0000; /* Red accent */
  border-radius: 2px;
}

.page-resources-cockfighting-tips__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold accent */
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #8B0000;
  padding-left: 15px;
}

.page-resources-cockfighting-tips p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-cockfighting-tips__content-area {
  padding: 80px 0;
}

.page-resources-cockfighting-tips__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-resources-cockfighting-tips__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-cockfighting-tips__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  display: block; /* Ensure it behaves as a block element */
}

.page-resources-cockfighting-tips__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-resources-cockfighting-tips__btn-primary,
.page-resources-cockfighting-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-cockfighting-tips__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FFD700;
  margin-right: 15px;
}

.page-resources-cockfighting-tips__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-cockfighting-tips__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-resources-cockfighting-tips__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-resources-cockfighting-tips__cta-buttons {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-cockfighting-tips__video-section {
  background-color: #000000;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-resources-cockfighting-tips__btn-video-cta {
  margin-top: 30px;
}

.page-resources-cockfighting-tips__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 5px 20px rgba(0, 0, 0, 0.7);
  width: 100%; /* Explicitly set width */
  box-sizing: border-box; /* Include padding/border in width */
}

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

.page-resources-cockfighting-tips__mistake-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-cockfighting-tips__mistake-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #8B0000; /* Red accent */
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__mistake-item strong {
  color: #FFD700;
}

.page-resources-cockfighting-tips__faq-list {
  margin-top: 40px;
}

.page-resources-cockfighting-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-cockfighting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700; /* Gold */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-cockfighting-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-cockfighting-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #8B0000; /* Red */
}

.page-resources-cockfighting-tips__faq-item.active .page-resources-cockfighting-tips__faq-toggle {
  transform: rotate(45deg);
  color: #FFD700;
}

.page-resources-cockfighting-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__faq-item.active .page-resources-cockfighting-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 20px 25px;
}

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

.page-resources-cockfighting-tips__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-cockfighting-tips__faq-answer a:hover {
  color: #e6c200;
}

.page-resources-cockfighting-tips__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #8B0000; /* Red accent */
  color: #ffffff;
}

.page-resources-cockfighting-tips__cta-section .page-resources-cockfighting-tips__section-title {
  color: #ffffff;
}

.page-resources-cockfighting-tips__cta-section .page-resources-cockfighting-tips__section-title::after {
  background-color: #FFD700;
}

.page-resources-cockfighting-tips__cta-section p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.15em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-cockfighting-tips__hero-title {
    font-size: 2.8em;
  }
  .page-resources-cockfighting-tips__section-title {
    font-size: 2em;
  }
  .page-resources-cockfighting-tips__sub-title {
    font-size: 1.5em;
  }
  .page-resources-cockfighting-tips__hero-description,
  .page-resources-cockfighting-tips__section-description,
  .page-resources-cockfighting-tips p,
  .page-resources-cockfighting-tips__mistake-item,
  .page-resources-cockfighting-tips__faq-question,
  .page-resources-cockfighting-tips__faq-answer p {
    font-size: 1em;
  }
}

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

  .page-resources-cockfighting-tips__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-cockfighting-tips__hero-title {
    font-size: 2em;
  }

  .page-resources-cockfighting-tips__hero-description {
    font-size: 0.9em;
  }

  .page-resources-cockfighting-tips__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-resources-cockfighting-tips__section-description {
    margin-bottom: 30px;
  }

  .page-resources-cockfighting-tips__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-resources-cockfighting-tips__content-area,
  .page-resources-cockfighting-tips__video-section,
  .page-resources-cockfighting-tips__cta-section {
    padding: 40px 0;
  }

  .page-resources-cockfighting-tips__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Image responsive */
  .page-resources-cockfighting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-resources-cockfighting-tips video,
  .page-resources-cockfighting-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-cockfighting-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  /* Button responsive */
  .page-resources-cockfighting-tips__btn-primary,
  .page-resources-cockfighting-tips__btn-secondary,
  .page-resources-cockfighting-tips a[class*="button"],
  .page-resources-cockfighting-tips a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add vertical spacing */
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-cockfighting-tips__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-resources-cockfighting-tips__faq-question,
  .page-resources-cockfighting-tips__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-cockfighting-tips__faq-item.active .page-resources-cockfighting-tips__faq-answer {
    padding: 15px !important;
  }
}