.page-cockfighting {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  margin-bottom: 40px;
  text-align: center;
}

.page-cockfighting__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-cockfighting__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting__hero-content {
  padding: 20px 15px;
  background-color: #f8f8f8;
}

.page-cockfighting__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.page-cockfighting__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.page-cockfighting__cta-button:hover {
  background-color: #1a7fb3;
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #FFFFFF;
}

.page-cockfighting__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-cockfighting__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-cockfighting__text-content {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-cockfighting__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.page-cockfighting__image-caption {
  font-size: 0.9em;
  color: #777;
  margin-top: 10px;
}

/* Features Section */
.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-item h3 {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
}

/* Responsible Gambling */
.page-cockfighting__responsible-gambling {
  text-align: center;
  background-color: #f8f8f8;
  padding: 30px 0;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: #1a7fb3;
  text-decoration: underline;
}

/* Bottom CTA */
.page-cockfighting__cta-bottom {
  text-align: center;
  padding: 50px 0;
}

.page-cockfighting__cta-button--bottom {
  margin-top: 20px;
  margin-right: 15px;
}

.page-cockfighting__cta-button--login {
  background-color: #EA7C07;
  color: #FFFFFF;
}

.page-cockfighting__cta-button--login:hover {
  background-color: #cc6a06;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__feature-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__cta-button {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 12px;
  }
  .page-cockfighting__hero-banner img,
  .page-cockfighting__image-wrapper img,
  .page-cockfighting__feature-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  .page-cockfighting__text-content {
    text-align: left;
  }
}

@media (max-width: 549px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .page-cockfighting__hero-content {
    padding: 15px 10px;
  }
  .page-cockfighting__cta-button--bottom,
  .page-cockfighting__cta-button--login {
    margin-top: 15px;
    margin-right: 0;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }
}

/* Ensure content area images are not too small */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure aspect ratio is maintained while covering space */
}

/* Overrides for mobile to prevent overflow */
@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting {
    overflow-x: hidden;
  }
}