:root {
  --primary-color: #113B7A; /* Deep Navy Blue */
  --secondary-color: #1D5FD1; /* Vibrant Blue */
  --card-bg: #10233F; /* Dark Blue for Cards */
  --text-main: #F3F8FF; /* Light Blue for Main Text */
  --text-secondary: #AFC4E8; /* Lighter Blue for Secondary Text */
  --border-color: #244D84; /* Border Blue */
  --glow-color: #4FA8FF; /* Light Blue Glow */
  --gold-color: #F2C14E; /* Gold Accent */
  --divider-color: #1B3357; /* Darker Divider */
  --deep-navy-bg: #08162B; /* Deep Navy Background */
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--deep-navy-bg); /* Body background from shared.css is var(--color-deep-navy), which should be #08162B. This is a dark background, so text-main #F3F8FF is appropriate. */
  line-height: 1.6;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--primary-color); /* A slightly lighter background for the hero for visual break */
  overflow: hidden; /* Ensure image overflow is handled */
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Important for flex items */
}

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

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: 3.2em; /* Use em/rem for relative sizing */
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-cockfighting__intro-text {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button */
  word-wrap: break-word; /* Responsive button */
}

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

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

.page-cockfighting__btn-secondary:hover {
  background: var(--secondary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__section:last-of-type {
  border-bottom: none;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block strong {
  color: var(--text-main);
}

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

.page-cockfighting__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-cockfighting__grid--3-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.page-cockfighting__card,
.page-cockfighting__strategy-card,
.page-cockfighting__promo-card,
.page-cockfighting__blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-cockfighting__card:hover,
.page-cockfighting__strategy-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image,
.page-cockfighting__blog-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-cockfighting__card-title,
.page-cockfighting__strategy-title,
.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-text,
.page-cockfighting__strategy-text,
.page-cockfighting__promo-text {
  font-size: 1em;
  color: var(--text-secondary);
  text-align: center;
  flex-grow: 1; /* Ensure text takes up available space */
}

/* List Styles */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-cockfighting__list-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__list-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__list-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Step-by-step Guide */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  background: var(--gold-color);
  color: var(--deep-navy-bg);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: var(--text-secondary);
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--primary-color), 0.2); /* Slightly lighter hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: rgba(var(--card-bg), 0.8); /* Slightly transparent background for answer */
  border-top: 1px solid var(--divider-color);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
}
.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
}

/* Blog/News Cards */
.page-cockfighting__blog-card {
  text-align: left;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.page-cockfighting__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}
.page-cockfighting__blog-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.page-cockfighting__blog-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-cockfighting__blog-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  line-height: 1.4;
}
.page-cockfighting__blog-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bold;
}
.page-cockfighting__blog-title a:hover {
  color: var(--gold-color);
}
.page-cockfighting__blog-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.page-cockfighting__blog-excerpt {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button */
  word-wrap: break-word; /* Responsive button */
}

.page-cockfighting__btn-small:hover {
  background: var(--gold-color);
  color: var(--deep-navy-bg);
  transform: translateY(-2px);
}

.page-cockfighting__cta-buttons--center {
  margin-top: 50px;
  text-align: center;
}

/* Additional Info Paragraph */
.page-cockfighting__additional-info {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--divider-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__strategy-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__list-title,
  .page-cockfighting__step-title {
    font-size: 1.3em;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__intro-text,
  .page-cockfighting__card-text,
  .page-cockfighting__list-description,
  .page-cockfighting__step-description,
  .page-cockfighting__blog-excerpt {
    font-size: 0.95em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Fixed header offset small padding */
  }

  .page-cockfighting__hero-image {
    margin-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .page-cockfighting__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

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

  .page-cockfighting__section {
    padding: 50px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important; /* Responsive container */
    width: 100% !important; /* Responsive container */
    box-sizing: border-box !important; /* Responsive container */
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__grid,
  .page-cockfighting__grid--2-col,
  .page-cockfighting__grid--3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__blog-card,
  .page-cockfighting__list-item,
  .page-cockfighting__step-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-cockfighting__step-item::before {
    margin-bottom: 15px;
  }

  .page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 20px;
  }

  .page-cockfighting__blog-image {
    height: 180px;
  }
  .page-cockfighting__blog-title {
    font-size: 1.2em;
  }
  .page-cockfighting__blog-meta,
  .page-cockfighting__blog-excerpt {
    font-size: 0.9em;
  }

  /* Images max-width: 100% !important; height: auto !important; */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images also adapt */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image,
  .page-cockfighting__promo-card,
  .page-cockfighting__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}