.page-resources-cockfighting-tips {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from shared, but for clarity */
}

.page-resources-cockfighting-tips__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 40px;
  min-height: 600px;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding-top: 0; /* Ensures no double padding if shared.css adds to body */
}

.page-resources-cockfighting-tips__hero-content {
  max-width: 600px;
  z-index: 1;
}

.page-resources-cockfighting-tips__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-resources-cockfighting-tips__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-cockfighting-tips__btn-primary,
.page-resources-cockfighting-tips__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-resources-cockfighting-tips__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

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

.page-resources-cockfighting-tips__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-cockfighting-tips__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-cockfighting-tips__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-resources-cockfighting-tips__section {
  padding: 60px 0;
}

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

.page-resources-cockfighting-tips__light-bg {
  background-color: #2a2a4e;
  color: #ffffff;
}

.page-resources-cockfighting-tips__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-cockfighting-tips__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-cockfighting-tips__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-cockfighting-tips__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-resources-cockfighting-tips__grid-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-cockfighting-tips__list {
  list-style: disc inside;
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources-cockfighting-tips__list li {
  margin-bottom: 10px;
}

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

.page-resources-cockfighting-tips__faq-item {
  background-color: #2a2a4e;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-cockfighting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  transition: background-color 0.3s ease;
}

.page-resources-cockfighting-tips__faq-question:hover {
  background-color: #005a2e;
}

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

.page-resources-cockfighting-tips__faq-item.active .page-resources-cockfighting-tips__faq-question {
  background-color: #005a2e;
}

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

.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 to show content */
  padding: 15px 25px;
}

.page-resources-cockfighting-tips__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.6;
}

.page-resources-cockfighting-tips a {
  color: #017439;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-cockfighting-tips a:hover {
  color: #008f47;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-cockfighting-tips__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    gap: 30px;
  }

  .page-resources-cockfighting-tips__hero-content {
    max-width: 100%;
  }

  .page-resources-cockfighting-tips__main-title {
    font-size: 2.8em;
  }

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

  .page-resources-cockfighting-tips__hero-image-wrapper {
    max-width: 80%;
  }

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

  .page-resources-cockfighting-tips__image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-resources-cockfighting-tips__hero-section {
    padding: 40px 15px;
    min-height: auto;
    padding-top: 0; /* Ensure no double padding */
  }

  .page-resources-cockfighting-tips__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-cockfighting-tips__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-resources-cockfighting-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-resources-cockfighting-tips__btn-primary,
  .page-resources-cockfighting-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-cockfighting-tips__hero-image-wrapper {
    max-width: 100%;
  }

  /* Universal image responsive for content area, excluding logo-item */
  .page-resources-cockfighting-tips img:not(.page-resources-cockfighting-tips__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-cockfighting-tips__section,
  .page-resources-cockfighting-tips__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-resources-cockfighting-tips__text-block,
  .page-resources-cockfighting-tips__list,
  .page-resources-cockfighting-tips__list li,
  .page-resources-cockfighting-tips__faq-question,
  .page-resources-cockfighting-tips__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
  }

  .page-resources-cockfighting-tips__faq-question {
    padding: 15px 20px;
  }

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

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

  /* Placeholder for LOGO Carousel, if any, maintaining 80x80 */
  /* If there was a logo carousel: */
  /* .page-resources-cockfighting-tips__logo-carousel-section { padding: 20px 0; } */
  /* .page-resources-cockfighting-tips__logo-carousel { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } */
  /* .page-resources-cockfighting-tips__logo-item { width: 80px !important; height: 80px !important; max-width: 80px !important; } */

  /* Placeholder for Game Display Area, if any */
  /* .page-resources-cockfighting-tips__games-section { padding: 30px 0; } */
  /* .page-resources-cockfighting-tips__games-grid { grid-template-columns: 1fr; gap: 20px; } */
  /* .page-resources-cockfighting-tips__game-card { width: 100%; } */
}