.page-cockfighting {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #140C0C; /* Background color */
  color: #FFF1E8; /* Main text color */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  background-color: #140C0C; /* Ensure background color */
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9; /* For 1920x1080 */
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-cockfighting__main-title {
  font-family: 'Arial', sans-serif; /* Example font */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F3C54D; /* Gold color for main title */
  margin-bottom: 20px;
  text-align: center;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); /* Adjust clamp for main title */
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 30px;
}

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

/* Buttons */
.page-cockfighting__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-cockfighting__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #140C0C; /* Dark text on bright button */
}

.page-cockfighting__btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-cockfighting__btn--secondary {
  background-color: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  border: 1px solid #6A1E1E; /* Border color */
}

.page-cockfighting__btn--secondary:hover {
  background-color: #C61F1F; /* Main color on hover */
  transform: translateY(-2px);
}

.page-cockfighting__btn--small {
  padding: 8px 15px;
  font-size: 0.9rem;
  min-width: 100px;
}

/* Section Titles */
.page-cockfighting__section-title {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F3C54D; /* Gold color */
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  position: relative;
}

.page-cockfighting__section-title::before,
.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #6A1E1E; /* Border color */
  transform: translateY(-50%);
}

.page-cockfighting__section-title::before {
  left: calc(50% - 100px); /* Adjust position for shorter lines on mobile */
}

.page-cockfighting__section-title::after {
  right: calc(50% - 100px); /* Adjust position for shorter lines on mobile */
}

/* Paragraphs */
.page-cockfighting__paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF1E8;
  margin-bottom: 20px;
  text-align: justify;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 50px 0;
  background-color: #140C0C;
}

.page-cockfighting__image-text-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  min-width: 200px; /* Min image size */
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__text-content {
  flex: 1;
  text-align: left;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #E53030; /* Auxiliary color */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-cockfighting__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
}

.page-cockfighting__list-icon {
  color: #F3C54D; /* Gold icon */
  font-size: 1.2rem;
  margin-right: 10px;
  line-height: 1;
}

.page-cockfighting__list-item p {
  margin: 0;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
  padding: 50px 0;
  background-color: #2A1212; /* Card BG */
}

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

.page-cockfighting__card {
  background-color: #140C0C; /* Background color for card content */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #6A1E1E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, adjust as needed */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3C54D; /* Gold color */
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__card-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-cockfighting__card-link {
  display: inline-block;
  background-color: #C61F1F; /* Main color */
  color: #FFF1E8;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px; /* Only bottom corners */
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-cockfighting__card-link:hover {
  background-color: #E53030; /* Auxiliary color on hover */
}

/* How to Play Section */
.page-cockfighting__how-to-play-section {
  padding: 50px 0;
  background-color: #140C0C;
}

.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: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E; /* Border color */
  position: relative;
  overflow: hidden;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #C61F1F; /* Main color */
  color: #FFF1E8;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #F3C54D; /* Gold color */
  margin-bottom: 15px;
  margin-top: 15px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 50px 0;
  background-color: #2A1212; /* Card BG */
}

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

.page-cockfighting__faq-item {
  background-color: #140C0C; /* Background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item:hover {
  background-color: #2A1212; /* Slightly lighter on hover */
}

.page-cockfighting__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #F3C54D; /* Gold color */
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-cockfighting__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
  font-size: 1rem;
  color: #FFF1E8;
  line-height: 1.6;
  margin-top: 15px;
  display: none; /* Hidden by default */
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  display: block; /* Show when active */
}

.page-cockfighting__faq-answer a {
  color: #FFB04A; /* Gold-like link color */
  text-decoration: none;
}

.page-cockfighting__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-cockfighting__cta-section {
  background: linear-gradient(90deg, #C61F1F 0%, #E53030 100%); /* Main/Auxiliary gradient */
  padding: 60px 0;
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-cockfighting__cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #FFF1E8;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__cta-description {
  font-size: 1.1rem;
  color: #FFF1E8;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* General Link Styling (for text links within content) */
.page-cockfighting__paragraph a,
.page-cockfighting__list-item a {
  color: #FFB04A; /* Gold-like link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__paragraph a:hover,
.page-cockfighting__list-item a:hover {
  color: #F3C54D;
  text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 849px) {
  .page-cockfighting__image-text-grid {
    flex-direction: column;
  }
  .page-cockfighting__text-content {
    text-align: center;
  }
  .page-cockfighting__list {
    text-align: left; /* Keep list items left-aligned */
  }
  .page-cockfighting__section-title::before,
  .page-cockfighting__section-title::after {
    width: 30px; /* Shorter lines on smaller screens */
    left: calc(50% - 70px);
  }
  .page-cockfighting__section-title::after {
    right: calc(50% - 70px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-image {
    aspect-ratio: 4/3; /* Adjust aspect ratio for mobile hero */
  }
  .page-cockfighting__content-image,
  .page-cockfighting__card-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__btn {
    width: 100%;
    max-width: 250px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
  .page-cockfighting__sub-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }
  .page-cockfighting__cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  /* Ensure content images are not smaller than 200px (CSS rule) */
  .page-cockfighting__about-section img,
  .page-cockfighting__game-types-section img,
  .page-cockfighting__how-to-play-section img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-cockfighting__section-title::before,
  .page-cockfighting__section-title::after {
    width: 20px;
    left: calc(50% - 50px);
  }
  .page-cockfighting__section-title::after {
    right: calc(50% - 50px);
  }
  .page-cockfighting__paragraph {
    text-align: left; /* Align text left on very small screens */
  }
}