/* style/cockfighting.css */
:root {
  --primary-color: #0A2342;
  --secondary-color: #F2A900;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #0A2342;
  --border-color: #e0e0e0;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light background */
  background-color: var(--background-light);
  padding-top: 10px; /* Adjusted for desktop fixed header */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cockfighting__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #1A3B60);
  color: var(--text-light);
  margin-bottom: 40px;
  padding-top: 120px; /* Desktop fixed header offset */
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-primary:hover {
  background: #e69d00;
  border-color: #e69d00;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-small {
  padding: 10px 25px;
  font-size: 0.95em;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: var(--text-light);
}

.page-cockfighting__introduction-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section,
.page-cockfighting__brand-section,
.page-cockfighting__blog-section {
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-cockfighting__dark-section {
  background: var(--background-dark);
  color: var(--text-light);
}

.page-cockfighting__light-bg {
  background: var(--background-light);
  color: var(--text-dark);
}

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

.page-cockfighting__content-text {
  flex: 1;
}

.page-cockfighting__content-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-cockfighting__content-image {
  flex: 1;
  text-align: center;
}

.page-cockfighting__content-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__brand-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__promo-card,
.page-cockfighting__brand-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.page-cockfighting__dark-section .page-cockfighting__feature-card,
.page-cockfighting__dark-section .page-cockfighting__type-card,
.page-cockfighting__dark-section .page-cockfighting__promo-card,
.page-cockfighting__dark-section .page-cockfighting__brand-item {
  background: #1A3B60;
  color: var(--text-light);
  border-color: #2A4C70;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-card img,
.page-cockfighting__type-card img,
.page-cockfighting__promo-card img {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-card h3,
.page-cockfighting__type-card h3,
.page-cockfighting__promo-card h3,
.page-cockfighting__brand-item h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__dark-section .page-cockfighting__feature-card h3,
.page-cockfighting__dark-section .page-cockfighting__type-card h3,
.page-cockfighting__dark-section .page-cockfighting__promo-card h3,
.page-cockfighting__dark-section .page-cockfighting__brand-item h3 {
  color: var(--secondary-color);
}

.page-cockfighting__promo-button {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1em;
}

.page-cockfighting__promo-note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  font-size: 0.95em;
  color: #666;
}

.page-cockfighting__dark-section .page-cockfighting__promo-note {
  color: #ccc;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-step;
}

.page-cockfighting__guide-list li {
  background: #ffffff;
  margin-bottom: 20px;
  padding: 25px 30px 25px 70px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  border-left: 5px solid var(--secondary-color);
  counter-increment: guide-step;
}

.page-cockfighting__guide-list li::before {
  content: counter(guide-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--secondary-color);
  color: var(--primary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__guide-step-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-cockfighting__strategy-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-cockfighting__strategy-list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-cockfighting__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cockfighting__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__security-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__security-text {
  flex: 1;
}

.page-cockfighting__security-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-light);
}

.page-cockfighting__security-list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-light);
}

.page-cockfighting__security-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change to X or rotate for minus */
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Brand Section */
.page-cockfighting__brand-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}

.page-cockfighting__brand-content p {
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-cockfighting__brand-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__brand-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__brand-item p {
  font-size: 0.95em;
  color: #ccc;
}

/* Blog Section */
.page-cockfighting__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__blog-item {
  text-align: left;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-cockfighting__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-cockfighting__blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
}

.page-cockfighting__blog-content {
  padding: 20px;
}

.page-cockfighting__blog-item-title {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
  line-height: 1.4;
}

.page-cockfighting__blog-item-excerpt {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.page-cockfighting__blog-item-date {
  font-size: 0.85em;
  color: #888;
  display: block;
}

.page-cockfighting__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

  .page-cockfighting__content-grid,
  .page-cockfighting__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__content-image,
  .page-cockfighting__security-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px !important; /* Mobile fixed header offset */
    font-size: 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding: 60px 0;
    padding-top: 100px; /* Mobile fixed header offset */
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
.page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__brand-section,
  .page-cockfighting__blog-section {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__brand-items-grid,
  .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__brand-item {
    padding: 25px;
  }

  .page-cockfighting__feature-card h3,
  .page-cockfighting__type-card h3,
  .page-cockfighting__promo-card h3,
  .page-cockfighting__brand-item h3 {
    font-size: 1.3em;
  }

  .page-cockfighting__guide-list li {
    padding: 20px 20px 20px 60px;
  }

  .page-cockfighting__guide-list li::before {
    width: 30px;
    height: 30px;
    font-size: 1.1em;
    left: 15px;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.1em;
  }
  
  .page-cockfighting__strategy-content,
  .page-cockfighting__security-content,
  .page-cockfighting__brand-content {
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 100%;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }

  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  .page-cockfighting__blog-item img {
    height: 180px;
  }
  
  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__content-grid .page-cockfighting__content-image,
  .page-cockfighting__security-content .page-cockfighting__security-image,
  .page-cockfighting__blog-item img {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important; /* Remove any accidental padding */
  }
}

/* Contrast Fixes */
.page-cockfighting__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-cockfighting__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}