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

.page-cockfighting-live-events {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--background-color);
}

.page-cockfighting-live-events__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is extra visual space */
  overflow: hidden;
  background-color: var(--background-color);
}

.page-cockfighting-live-events__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting-live-events__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-live-events__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Space between image and content */
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--text-main);
}

.page-cockfighting-live-events__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live-events__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-cockfighting-live-events__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-events__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-live-events__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting-live-events__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cockfighting-live-events__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--glow);
  margin: 20px auto 0 auto;
  border-radius: 2px;
}

.page-cockfighting-live-events__text-block {
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-cockfighting-live-events__text-block p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.page-cockfighting-live-events__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Introduction Section */
.page-cockfighting-live-events__introduction-section {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

.page-cockfighting-live-events__introduction-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

/* Schedule Section */
.page-cockfighting-live-events__schedule-section {
  background-color: var(--background-color);
  color: var(--text-secondary);
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting-live-events__schedule-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

.page-cockfighting-live-events__schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-cockfighting-live-events__schedule-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border);
}

.page-cockfighting-live-events__schedule-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-cockfighting-live-events__event-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting-live-events__event-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.page-cockfighting-live-events__event-list li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  color: var(--glow);
}

/* Betting Guide Section */
.page-cockfighting-live-events__betting-guide-section {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

.page-cockfighting-live-events__betting-guide-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

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

.page-cockfighting-live-events__step-item {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.page-cockfighting-live-events__step-title {
  font-size: 1.4rem;
  color: var(--glow);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting-live-events__step-item p {
  color: var(--text-secondary);
}

/* Advantages Section */
.page-cockfighting-live-events__advantages-section {
  background-color: var(--deep-green);
  color: var(--text-secondary);
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting-live-events__advantages-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

.page-cockfighting-live-events__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.page-cockfighting-live-events__advantage-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid var(--border);
}

.page-cockfighting-live-events__advantage-title {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting-live-events__advantage-item p {
  color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting-live-events__faq-section {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

.page-cockfighting-live-events__faq-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

.page-cockfighting-live-events__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-cockfighting-live-events__faq-item {
  background-color: var(--background-color);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-live-events__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-cockfighting-live-events__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting-live-events__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-live-events__faq-toggle {
  font-size: 1.5rem;
  color: var(--glow);
  margin-left: 15px;
}

.page-cockfighting-live-events__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-cockfighting-live-events__faq-answer p {
  margin-bottom: 10px;
}

/* Final CTA Section */
.page-cockfighting-live-events__final-cta-section {
  background-color: var(--background-color);
  color: var(--text-secondary);
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting-live-events__final-cta-section .page-cockfighting-live-events__section-title {
  color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-live-events__hero-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-live-events__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting-live-events__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-cockfighting-live-events__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-cockfighting-live-events__description {
    font-size: 1rem;
  }

  .page-cockfighting-live-events__btn-primary {
    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;
  }
  
  .page-cockfighting-live-events__content-area {
    padding: 40px 15px;
  }

  .page-cockfighting-live-events__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting-live-events__schedule-grid,
  .page-cockfighting-live-events__guide-steps,
  .page-cockfighting-live-events__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-live-events__schedule-item,
  .page-cockfighting-live-events__step-item,
  .page-cockfighting-live-events__advantage-item {
    padding: 25px;
  }

  .page-cockfighting-live-events__schedule-title,
  .page-cockfighting-live-events__step-title,
  .page-cockfighting-live-events__advantage-title {
    font-size: 1.3rem;
  }

  .page-cockfighting-live-events__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-cockfighting-live-events__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Mobile image and container responsiveness */
  .page-cockfighting-live-events img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-live-events__hero-image-wrapper,
  .page-cockfighting-live-events__content-area,
  .page-cockfighting-live-events__schedule-section,
  .page-cockfighting-live-events__betting-guide-section,
  .page-cockfighting-live-events__advantages-section,
  .page-cockfighting-live-events__faq-section,
  .page-cockfighting-live-events__final-cta-section,
  .page-cockfighting-live-events__schedule-grid,
  .page-cockfighting-live-events__guide-steps,
  .page-cockfighting-live-events__advantages-grid,
  .page-cockfighting-live-events__faq-list,
  .page-cockfighting-live-events__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  /* For elements that might contain buttons, ensure wrapping */
  .page-cockfighting-live-events__cta-buttons,
  .page-cockfighting-live-events__button-group,
  .page-cockfighting-live-events__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;
  }
}

/* Ensure text contrast for default elements */
.page-cockfighting-live-events h1, .page-cockfighting-live-events h2, .page-cockfighting-live-events h3, .page-cockfighting-live-events h4, .page-cockfighting-live-events h5, .page-cockfighting-live-events h6 {
  color: var(--text-main);
}

.page-cockfighting-live-events p, .page-cockfighting-live-events li {
  color: var(--text-secondary);
}

/* Ensure a tag color is readable */
.page-cockfighting-live-events a:not([class*="btn"]) {
  color: var(--glow);
}

.page-cockfighting-live-events a:not([class*="btn"]):hover {
  color: var(--gold);
}