/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--background);
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  margin-top: 20px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
  /* clamp() for responsive font-size, avoiding fixed large values */
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-button--small {
  padding: 12px 25px;
  font-size: 1rem;
}

.page-cockfighting__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-cockfighting__section {
  padding: 80px 20px;
  background-color: var(--background);
  color: var(--text-main);
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-cockfighting__section-description {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  line-height: 1.7;
  font-size: 1rem;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-cockfighting__image-block {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-cockfighting__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting__call-to-action-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--text-main);
}

.page-cockfighting__text-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--glow);
  text-decoration: underline;
}

.page-cockfighting__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-cockfighting__step-number {
  background-color: var(--deep-green);
  color: var(--glow);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 5px;
  color: var(--text-main);
}

.page-cockfighting__step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__benefit-card {
  padding: 30px;
  text-align: left;
}

.page-cockfighting__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-cockfighting__benefit-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-height: 0; /* For JS-controlled div */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer, /* For details/summary */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer { /* For JS-controlled div */
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 10px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-block,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-cockfighting__video-section { /* If a video section were present */
    padding-top: 10px !important; 
  }

  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting 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-bottom: 10px; /* Add some spacing between stacked buttons */
  }

  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__section {
    padding: 40px 10px;
  }
  .page-cockfighting__hero-section {
    padding: 30px 10px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 0.95rem;
  }
  .page-cockfighting__cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__card-image {
    height: 150px;
  }
  .page-cockfighting__card-title {
    font-size: 1.1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}