/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */
.page-cockfighting {
  background-color: #08160F; /* Nền tối theo yêu cầu */
  color: #F2FFF6; /* Chữ sáng cho nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
}

.page-cockfighting__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Video container should respect max-width */
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  transform: translateY(0px);
  z-index: 1;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px; /* Khoảng cách giữa video và nội dung */
  max-width: 800px;
}

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

.page-cockfighting__description {
  color: #A7D9B8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

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

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

.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);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D;
  border: 2px solid #2E7A4E;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #F2FFF6;
}

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

.page-cockfighting__section-title {
  color: #F2FFF6;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

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

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #A7D9B8;
}

.page-cockfighting__image-block {
  flex: 1;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__dark-bg {
  background-color: #11271B; /* Card BG */
}

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

.page-cockfighting__card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #A7D9B8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__card-title {
  color: #F2FFF6;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-cockfighting__card-image {
  margin-top: 20px;
}

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

.page-cockfighting__step-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-title {
  color: #F2FFF6;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-cockfighting__step-card p {
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting__step-image-container {
  grid-column: 1 / -1; /* Image spans all columns */
  margin-top: 30px;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__tips-item {
  background-color: #0A4B2C; /* Deep Green */
  border-left: 5px solid #2AD16F;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tips-heading {
  color: #F2FFF6;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.page-cockfighting__tips-item p {
  color: #A7D9B8;
}

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

.page-cockfighting__promotion-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promotion-card .page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #2E7A4E;
  border-radius: 0; /* Override default image border-radius */
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__promotion-card p {
  color: #A7D9B8;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-primary {
  margin: 0 15px 20px 15px;
  align-self: center;
  width: calc(100% - 30px);
}

.page-cockfighting__center-text {
  text-align: center;
}

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

.page-cockfighting__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-cockfighting__feature-title {
  color: #F2FFF6;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-cockfighting__feature-item p {
  color: #A7D9B8;
}

.page-cockfighting__feature-item a {
  color: #57E38D; /* Glow color for links */
  text-decoration: underline;
}

.page-cockfighting__feature-item a:hover {
  color: #2AD16F;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  color: #F2FFF6;
  font-size: 1.15rem;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid transparent;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom-color: #2E7A4E;
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  color: #A7D9B8;
  font-size: 1rem;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  margin-bottom: 25px;
}

.page-cockfighting__conclusion-section .page-cockfighting__description {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__large-button {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@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.8rem, 8vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px 20px;
  }
  /* Mobile image and video responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .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;
  }
  .page-cockfighting__hero-video-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__promotion-card .page-cockfighting__btn-primary {
    width: calc(100% - 30px) !important;
  }
  .page-cockfighting__large-button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
}