/* style/cockfighting-tips-and-training.css */
.page-cockfighting-tips-and-training {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, assumed dark */
}

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

.page-cockfighting-tips-and-training__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
}

.page-cockfighting-tips-and-training__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-cockfighting-tips-and-training__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-cockfighting-tips-and-training__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting-tips-and-training__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-tips-and-training__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-cockfighting-tips-and-training__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-tips-and-training__section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-cockfighting-tips-and-training__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting-tips-and-training__heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
}

.page-cockfighting-tips-and-training__sub-heading {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight important sub-headings */
  font-weight: 600;
}

.page-cockfighting-tips-and-training__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting-tips-and-training__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.page-cockfighting-tips-and-training__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting-tips-and-training__image-text-layout .page-cockfighting-tips-and-training__image {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't get too small on desktop */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-cockfighting-tips-and-training__image-text-layout .page-cockfighting-tips-and-training__text-content {
  flex: 1;
}

.page-cockfighting-tips-and-training__faq-section {
  background-color: #f5f5f5; /* Light background for contrast */
  color: #333333;
}

.page-cockfighting-tips-and-training__faq-section .page-cockfighting-tips-and-training__heading {
  color: #333333;
}

.page-cockfighting-tips-and-training__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting-tips-and-training__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-cockfighting-tips-and-training__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  border-bottom: 1px solid #eee;
}

.page-cockfighting-tips-and-training__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting-tips-and-training__faq-title {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.page-cockfighting-tips-and-training__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-cockfighting-tips-and-training__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-cockfighting-tips-and-training__faq-item.active .page-cockfighting-tips-and-training__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-cockfighting-tips-and-training__faq-item.active .page-cockfighting-tips-and-training__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-tips-and-training__faq-image {
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 600px; /* Specific max-width for this image */
  height: auto;
}

.page-cockfighting-tips-and-training__btn-primary,
.page-cockfighting-tips-and-training__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-tips-and-training__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting-tips-and-training__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-cockfighting-tips-and-training__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-cockfighting-tips-and-training__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-cockfighting-tips-and-training__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* General image styling to ensure minimum size */
.page-cockfighting-tips-and-training img {
  min-width: 200px;
  min-height: 200px;
  height: auto; /* Ensure aspect ratio is maintained */
  display: block; /* Prevents extra space below images */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting-tips-and-training__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting-tips-and-training__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting-tips-and-training__heading {
    font-size: 2em;
  }
  .page-cockfighting-tips-and-training__sub-heading {
    font-size: 1.5em;
  }
  .page-cockfighting-tips-and-training__image-text-layout {
    flex-direction: column;
  }
  .page-cockfighting-tips-and-training__image-text-layout--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-tips-and-training__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile content is not covered */
  }
  .page-cockfighting-tips-and-training__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting-tips-and-training__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-tips-and-training__section {
    padding: 50px 0;
  }
  .page-cockfighting-tips-and-training__container {
    padding: 0 15px;
  }
  .page-cockfighting-tips-and-training__heading {
    font-size: 1.8em;
  }
  .page-cockfighting-tips-and-training__sub-heading {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-cockfighting-tips-and-training img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-tips-and-training__image-text-layout .page-cockfighting-tips-and-training__image {
    min-width: 200px !important;
  }

  /* Mobile video responsiveness */
  .page-cockfighting-tips-and-training video,
  .page-cockfighting-tips-and-training__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-tips-and-training__hero-video-wrapper,
  .page-cockfighting-tips-and-training__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Mobile button responsiveness */
  .page-cockfighting-tips-and-training__btn-primary,
  .page-cockfighting-tips-and-training__btn-secondary,
  .page-cockfighting-tips-and-training a[class*="button"],
  .page-cockfighting-tips-and-training 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-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting-tips-and-training__hero-cta-buttons,
  .page-cockfighting-tips-and-training__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .page-cockfighting-tips-and-training__faq-item {
    margin: 0 15px;
  }
  .page-cockfighting-tips-and-training__faq-image {
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px);
  }
  .page-cockfighting-tips-and-training__faq-grid {
    padding: 0 15px;
    gap: 15px;
  }
}