/* style/cockfighting.css */
.page-cockfighting {
  background-color: #08160F; /* Nền chính của trang */
  color: #F2FFF6; /* Màu chữ chính */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  margin-right: 15px;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  border-color: #57E38D; /* Glow */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* General Section Styling */
.page-cockfighting__intro-section,
.page-cockfighting__features-section,
.page-cockfighting__types-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-block .highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-cockfighting__text-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
  color: #2AD16F;
}

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

.page-cockfighting__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  color: #A7D9B8;
  font-size: 1em;
}

/* Types Section */
.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-cockfighting__type-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__type-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-cockfighting__type-description {
  color: #A7D9B8;
  font-size: 1em;
  margin-bottom: 20px;
}

/* Guide Section */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__guide-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.page-cockfighting__guide-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
  color: #F2FFF6;
  font-size: 1em;
}

/* Strategy Section */
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__strategy-card {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-cockfighting__strategy-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-description {
  color: #A7D9B8;
  font-size: 1em;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #13994A;
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
  background-color: #11271B;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 0.95em;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
.page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }

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

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__type-image {
    height: 200px;
  }

  .page-cockfighting__guide-item,
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__strategy-image {
    max-width: 150px;
    height: auto;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Image responsive rules for all images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive rules for all videos (if any) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__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__video-section {
    padding-top: 10px !important;
  }
  
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9em;
  }
  .page-cockfighting__feature-title {
    font-size: 1.3em;
  }
  .page-cockfighting__type-title {
    font-size: 1.5em;
  }
  .page-cockfighting__guide-step-title {
    font-size: 1.2em;
  }
  .page-cockfighting__strategy-title {
    font-size: 1.4em;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.3em;
  }
}