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

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-cockfighting-rules-tips {
  color: var(--text-main-color);
  background-color: var(--background-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting-rules-tips__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Rely on body for header offset, this is decorative */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting-rules-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
  margin-bottom: 30px;
}

.page-cockfighting-rules-tips__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting-rules-tips__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting-rules-tips__hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.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.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules-tips__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  margin-right: 15px;
}

.page-cockfighting-rules-tips__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-cockfighting-rules-tips__btn-secondary {
  background: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-cockfighting-rules-tips__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

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

.page-cockfighting-rules-tips__introduction-section,
.page-cockfighting-rules-tips__rules-section,
.page-cockfighting-rules-tips__betting-types-section,
.page-cockfighting-rules-tips__strategies-section,
.page-cockfighting-rules-tips__beginner-tips-section,
.page-cockfighting-rules-tips__why-choose-section,
.page-cockfighting-rules-tips__faq-section,
.page-cockfighting-rules-tips__cta-section {
  padding: 60px 0;
}

.page-cockfighting-rules-tips__dark-section {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

.page-cockfighting-rules-tips__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting-rules-tips__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

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

.page-cockfighting-rules-tips__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main-color);
}

.page-cockfighting-rules-tips__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__card p,
.page-cockfighting-rules-tips__card ul {
  color: var(--text-secondary-color);
  font-size: 1rem;
}

.page-cockfighting-rules-tips__card ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-cockfighting-rules-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-tips__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
  font-size: 1.1rem;
}

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

.page-cockfighting-rules-tips__strategy-item {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--divider-color);
}

.page-cockfighting-rules-tips__strategy-item:last-child {
  border-bottom: none;
}

.page-cockfighting-rules-tips__strategy-title {
  font-size: 1.8rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-cockfighting-rules-tips__strategy-item ul {
  list-style-type: square;
  margin-left: 25px;
  margin-top: 10px;
  color: var(--text-secondary-color);
}

.page-cockfighting-rules-tips__faq-list {
  margin-top: 30px;
}

.page-cockfighting-rules-tips__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting-rules-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-cockfighting-rules-tips__faq-question:hover {
  background-color: var(--primary-color);
}

.page-cockfighting-rules-tips__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

.page-cockfighting-rules-tips__faq-item[open] .page-cockfighting-rules-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-rules-tips__faq-answer {
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary-color);
  font-size: 1.05rem;
  background-color: var(--card-bg);
}

.page-cockfighting-rules-tips__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting-rules-tips__hero-description {
    font-size: 1.1rem;
  }
}

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

  .page-cockfighting-rules-tips__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting-rules-tips__hero-image {
    max-height: 400px;
  }

  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting-rules-tips__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting-rules-tips__section-title {
    font-size: 2rem;
  }

  .page-cockfighting-rules-tips__introduction-section,
  .page-cockfighting-rules-tips__rules-section,
  .page-cockfighting-rules-tips__betting-types-section,
  .page-cockfighting-rules-tips__strategies-section,
  .page-cockfighting-rules-tips__beginner-tips-section,
  .page-cockfighting-rules-tips__why-choose-section,
  .page-cockfighting-rules-tips__faq-section,
  .page-cockfighting-rules-tips__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting-rules-tips__rules-grid,
  .page-cockfighting-rules-tips__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-rules-tips__card,
  .page-cockfighting-rules-tips__strategy-item,
  .page-cockfighting-rules-tips__faq-item {
    padding: 20px;
  }

  .page-cockfighting-rules-tips__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting-rules-tips__strategy-title {
    font-size: 1.5rem;
  }

  /* Mobile image, video, button, and container adaptations */
  .page-cockfighting-rules-tips img,
  .page-cockfighting-rules-tips video,
  .page-cockfighting-rules-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-rules-tips__section,
  .page-cockfighting-rules-tips__card,
  .page-cockfighting-rules-tips__container,
  .page-cockfighting-rules-tips__video-section,
  .page-cockfighting-rules-tips__video-container,
  .page-cockfighting-rules-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting-rules-tips__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting-rules-tips__cta-button,
  .page-cockfighting-rules-tips__btn-primary,
  .page-cockfighting-rules-tips__btn-secondary,
  .page-cockfighting-rules-tips a[class*="button"],
  .page-cockfighting-rules-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;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-cockfighting-rules-tips__button-group {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting-rules-tips__button-group a:last-child {
    margin-bottom: 0; /* No bottom margin for the last button */
  }
}

@media (max-width: 480px) {
  .page-cockfighting-rules-tips__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting-rules-tips__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-cockfighting-rules-tips__btn-primary,
  .page-cockfighting-rules-tips__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}