/* style/cockfighting-live-stream.css */

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

/* Base styles for the page content, assuming body has --background */
.page-cockfighting-live-stream {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background); /* Ensure consistent background */
  line-height: 1.6;
}

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

.page-cockfighting-live-stream__section-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 size rule: clamp */
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting-live-stream__section-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-cockfighting-live-stream__btn-primary,
.page-cockfighting-live-stream__btn-secondary,
.page-cockfighting-live-stream__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-cockfighting-live-stream__btn-primary,
.page-cockfighting-live-stream__card-button {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: 2px solid var(--primary-color);
}

.page-cockfighting-live-stream__btn-primary:hover,
.page-cockfighting-live-stream__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  border-color: var(--secondary-color);
}

.page-cockfighting-live-stream__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-cockfighting-live-stream__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background);
}

.page-cockfighting-live-stream__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Hero Section */
.page-cockfighting-live-stream__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding-top: 10px; /* Small decorative padding, body handles --header-offset */
  background-color: var(--background);
}

.page-cockfighting-live-stream__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio for 16:9 at 1200 width */
  overflow: hidden;
}

.page-cockfighting-live-stream__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Min image size */
}

.page-cockfighting-live-stream__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-cockfighting-live-stream__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-cockfighting-live-stream__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-main);
  margin-bottom: 30px;
}

/* Video Section */
.page-cockfighting-live-stream__video-section {
  padding: 60px 20px;
  background-color: var(--deep-green); /* Dark section background */
  color: var(--text-main);
  padding-top: 10px; /* Small decorative padding */
}

.page-cockfighting-live-stream__video-section .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}
.page-cockfighting-live-stream__video-section .page-cockfighting-live-stream__section-description {
  color: var(--text-secondary);
}

.page-cockfighting-live-stream__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 100%; /* Desktop width */
  box-sizing: border-box;
}

.page-cockfighting-live-stream__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
  min-width: 200px; /* Min video size */
  min-height: 200px; /* Min video size */
}

.page-cockfighting-live-stream__cta-buttons--video {
  margin-top: 30px;
}

/* Content Area */
.page-cockfighting-live-stream__content-area {
  padding: 80px 20px;
  background-color: var(--background); /* Light background for contrast */
  color: var(--text-main);
}

.page-cockfighting-live-stream__content-area .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}
.page-cockfighting-live-stream__content-area .page-cockfighting-live-stream__section-description {
  color: var(--text-secondary);
}

.page-cockfighting-live-stream__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-cockfighting-live-stream__numbered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-live-stream__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-stream__list-item:last-child {
  margin-bottom: 0;
}

.page-cockfighting-live-stream__list-title {
  font-size: 22px;
  color: var(--gold);
  font-weight: bold;
}

.page-cockfighting-live-stream__list-item p {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Features Section */
.page-cockfighting-live-stream__features-section {
  padding: 80px 20px;
  background-color: var(--deep-green); /* Dark section background */
  color: var(--text-main);
}

.page-cockfighting-live-stream__features-section .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}
.page-cockfighting-live-stream__features-section .page-cockfighting-live-stream__section-description {
  color: var(--text-secondary);
}

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

.page-cockfighting-live-stream__feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-cockfighting-live-stream__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-cockfighting-live-stream__card-title {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting-live-stream__card-text {
  font-size: 17px;
  color: var(--text-secondary);
  flex-grow: 1; /* Push button to bottom */
}

/* Promotions Section */
.page-cockfighting-live-stream__promotions-section {
  padding: 80px 20px;
  background-color: var(--background);
  color: var(--text-main);
}

.page-cockfighting-live-stream__promotions-section .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}
.page-cockfighting-live-stream__promotions-section .page-cockfighting-live-stream__section-description {
  color: var(--text-secondary);
}

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

.page-cockfighting-live-stream__promotion-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px; /* Ensure cards have similar height */
}

.page-cockfighting-live-stream__promotion-card .page-cockfighting-live-stream__card-image {
  height: 220px;
}

.page-cockfighting-live-stream__promotion-card .page-cockfighting-live-stream__card-text {
  margin-bottom: 20px;
}

.page-cockfighting-live-stream__card-button {
  margin-top: auto; /* Push button to bottom */
  width: fit-content;
}

/* FAQ Section */
.page-cockfighting-live-stream__faq-section {
  padding: 80px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-cockfighting-live-stream__faq-section .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}

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

.page-cockfighting-live-stream__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-live-stream__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-cockfighting-live-stream__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-cockfighting-live-stream__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-cockfighting-live-stream__faq-question:hover {
  background-color: rgba(var(--primary-color), 0.1);
}

.page-cockfighting-live-stream__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
}

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

/* CTA Bottom Section */
.page-cockfighting-live-stream__cta-bottom {
  padding: 80px 20px;
  background-color: var(--background);
  text-align: center;
  color: var(--text-main);
}
.page-cockfighting-live-stream__cta-bottom .page-cockfighting-live-stream__section-title {
  color: var(--gold);
}
.page-cockfighting-live-stream__cta-bottom .page-cockfighting-live-stream__section-description {
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-live-stream__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-live-stream__container {
    padding: 0 15px;
  }

  .page-cockfighting-live-stream__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
  }

  .page-cockfighting-live-stream__hero-title {
    font-size: 32px;
  }

  .page-cockfighting-live-stream__hero-description {
    font-size: 18px;
  }

  .page-cockfighting-live-stream__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-live-stream__btn-primary,
  .page-cockfighting-live-stream__btn-secondary,
  .page-cockfighting-live-stream__card-button {
    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;
  }
  
  /* Images responsive */
  .page-cockfighting-live-stream img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }
  
  /* All image containers */
  .page-cockfighting-live-stream__section,
  .page-cockfighting-live-stream__card,
  .page-cockfighting-live-stream__container,
  .page-cockfighting-live-stream__hero-image-wrapper,
  .page-cockfighting-live-stream__feature-card,
  .page-cockfighting-live-stream__promotion-card,
  .page-cockfighting-live-stream__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Videos responsive */
  .page-cockfighting-live-stream video,
  .page-cockfighting-live-stream__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }
  
  /* All video containers */
  .page-cockfighting-live-stream__video-section,
  .page-cockfighting-live-stream__video-container,
  .page-cockfighting-live-stream__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting-live-stream__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
  }

  .page-cockfighting-live-stream__feature-card,
  .page-cockfighting-live-stream__promotion-card {
    min-height: unset; /* Allow height to adjust on mobile */
  }

  .page-cockfighting-live-stream__card-image {
    height: auto; /* Allow height to adjust on mobile */
  }
}

/* Ensure no filter on images */
.page-cockfighting-live-stream img {
  filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-cockfighting-live-stream img:not(.shared-header img):not(.shared-footer img) {
  min-width: 200px;
  min-height: 200px;
}