/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset) bởi shared.css, không lặp lại ở đây */

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

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Text main color for general content */
  background-color: var(--background-dark);
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom padding */
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-height: 675px; /* Limit height for aesthetic */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: var(--card-bg);
  color: var(--gold-color);
  border: 1px solid var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--gold-color);
  color: var(--background-dark);
}

.page-cockfighting__section {
  padding: 80px 20px;
}

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

.page-cockfighting__light-bg {
  background-color: #0d1a13; /* A slightly lighter dark green for contrast */
  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, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-cockfighting__text-block .text-main {
  color: var(--text-main);
  font-weight: bold;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-cockfighting__list li {
  margin-bottom: 8px;
}

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

.page-cockfighting__inline-link:hover {
  color: var(--gold-color);
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-cockfighting__card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details tag */
}

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

.page-cockfighting__faq-question:hover {
  background-color: var(--border-color);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green-color);
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: var(--gold-color);
}

.page-cockfighting__cta-section .page-cockfighting__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
  .page-cockfighting__grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-cockfighting__hero-image {
    max-height: 350px;
    margin-bottom: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .page-cockfighting__description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-cockfighting__section {
    padding: 50px 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  .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 space between stacked buttons */
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__card-image {
    height: 180px; /* Adjust card image height for mobile */
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-image {
    max-height: 250px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
  .page-cockfighting__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-cockfighting__sub-title {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__card-description {
    font-size: 0.9rem;
  }
  .page-cockfighting__card-image {
    height: 150px;
  }
}