/* style/cockfighting-rules-tips.css */

/* Base Styles */
.page-cockfighting-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so text is white */
  background-color: transparent; /* inherited from body, which is #0a0a0a */
}

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

.page-cockfighting-rules-tips__section-title,
.page-cockfighting-rules-tips__subsection-title,
.page-cockfighting-rules-tips__card-title,
.page-cockfighting-rules-tips__feature-title,
.page-cockfighting-rules-tips__video-title {
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting-rules-tips__section-title {
  font-size: 2.5em;
  padding-top: 60px;
}

.page-cockfighting-rules-tips__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting-rules-tips__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__inline-link {
  color: #FFFF00; /* Yellow for links to stand out on dark background */
  text-decoration: underline;
}

.page-cockfighting-rules-tips__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__list--columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding-left: 0;
}

.page-cockfighting-rules-tips__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Hero Section */
.page-cockfighting-rules-tips__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

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

.page-cockfighting-rules-tips__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-cockfighting-rules-tips__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-cockfighting-rules-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #FFFFFF;
}

.page-cockfighting-rules-tips__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting-rules-tips__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-rules-tips__btn-primary,
.page-cockfighting-rules-tips__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, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules-tips__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting-rules-tips__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-cockfighting-rules-tips__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-cockfighting-rules-tips__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* Content Sections */
.page-cockfighting-rules-tips__content-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Ensure content section has a dark background consistent with body */
  color: #ffffff;
}

.page-cockfighting-rules-tips__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.page-cockfighting-rules-tips__content-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting-rules-tips__text-content {
  flex: 2 1 500px;
}

/* Feature Grid */
.page-cockfighting-rules-tips__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-cockfighting-rules-tips__feature-card {
  background-color: rgba(1, 116, 57, 0.1); /* Slightly transparent brand color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-rules-tips__feature-icon {
  width: 100%;
  max-width: 200px; /* Adjust based on actual image content, but ensure min 200x200 */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting-rules-tips__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-cockfighting-rules-tips__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Card Grid */
.page-cockfighting-rules-tips__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-cockfighting-rules-tips__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background on dark body */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-rules-tips__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-cockfighting-rules-tips__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-cockfighting-rules-tips__video-section {
  position: relative;
  padding: 60px 20px;
  background-color: #017439; /* Brand primary color for video section */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-cockfighting-rules-tips__video-link {
  display: block;
  width: 100%;
  max-width: 1000px; /* Max width for video */
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.page-cockfighting-rules-tips__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting-rules-tips__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.page-cockfighting-rules-tips__video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: #ffffff;
  opacity: 0.8;
  pointer-events: none;
  z-index: 10;
  text-shadow: 0 0 15px rgba(0,0,0,0.7);
}

.page-cockfighting-rules-tips__video-content {
  max-width: 800px;
  margin-top: 20px;
}

.page-cockfighting-rules-tips__video-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-cockfighting-rules-tips__video-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting-rules-tips__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-cockfighting-rules-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.3); /* Slightly darker brand color for question */
  color: #FFFFFF;
  user-select: none;
}

.page-cockfighting-rules-tips__faq-question:hover {
  background-color: rgba(1, 116, 57, 0.5);
}

.page-cockfighting-rules-tips__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  line-height: 1;
}

/* For <details> tag */
.page-cockfighting-rules-tips__faq-item summary {
  list-style: none;
}

.page-cockfighting-rules-tips__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting-rules-tips__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-rules-tips__hero-title {
    font-size: 3em;
  }
  .page-cockfighting-rules-tips__hero-description {
    font-size: 1.3em;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-tips {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting-rules-tips__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting-rules-tips__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting-rules-tips__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting-rules-tips__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-rules-tips__btn-primary,
  .page-cockfighting-rules-tips__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons if in column */
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-cockfighting-rules-tips__subsection-title {
    font-size: 1.5em;
  }
  .page-cockfighting-rules-tips__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting-rules-tips__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-tips__feature-grid,
  .page-cockfighting-rules-tips__card-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-rules-tips__feature-icon {
    max-width: 150px;
    height: auto;
  }
  .page-cockfighting-rules-tips__video-section {
    padding: 40px 15px;
  }
  .page-cockfighting-rules-tips__video-link,
  .page-cockfighting-rules-tips__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting-rules-tips__video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting-rules-tips__video-title {
    font-size: 1.6em;
  }
  .page-cockfighting-rules-tips__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting-rules-tips__faq-answer {
    padding: 15px;
  }
  .page-cockfighting-rules-tips__list--columns {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .page-cockfighting-rules-tips__container,
  .page-cockfighting-rules-tips__content-section,
  .page-cockfighting-rules-tips__video-section,
  .page-cockfighting-rules-tips__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting-rules-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-tips__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting-rules-tips__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting-rules-tips__faq-question {
    font-size: 1em;
  }
}