/* style/cockfighting-rules-betting.css */

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

.page-cockfighting-rules-betting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--gk88d-text-main); /* Default text color for the main content */
  background-color: var(--gk88d-background); /* Main background color */
}

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

.page-cockfighting-rules-betting__section {
  padding: 60px 0;
}

.page-cockfighting-rules-betting__dark-bg {
  background-color: var(--gk88d-background);
  color: var(--gk88d-text-main);
}

.page-cockfighting-rules-betting__light-bg {
  background-color: var(--gk88d-text-main);
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gk88d-primary);
}

.page-cockfighting-rules-betting__text-main {
  color: var(--gk88d-text-main);
}

.page-cockfighting-rules-betting__text-secondary {
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--gk88d-primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting-rules-betting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-cockfighting-rules-betting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-cockfighting-rules-betting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting-rules-betting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting-rules-betting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  font-weight: 800;
  color: var(--gk88d-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting-rules-betting__lead-text {
  font-size: 1.1em;
  color: var(--gk88d-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting-rules-betting__btn-primary,
.page-cockfighting-rules-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-rules-betting__btn-primary {
  background: var(--gk88d-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting-rules-betting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting-rules-betting__btn-secondary {
  background-color: transparent;
  color: var(--gk88d-primary);
  border: 2px solid var(--gk88d-primary);
}

.page-cockfighting-rules-betting__btn-secondary:hover {
  background-color: var(--gk88d-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting-rules-betting__intro-section {
  padding: 80px 0;
  background-color: var(--gk88d-text-main);
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__intro-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__intro-section .page-cockfighting-rules-betting__text-block {
  color: var(--gk88d-deep-green);
  font-size: 1.05em;
  margin-bottom: 20px;
}

.page-cockfighting-rules-betting__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-rules-betting__card {
  background-color: var(--gk88d-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--gk88d-border);
}

.page-cockfighting-rules-betting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it respects max-width: 100% */
}

.page-cockfighting-rules-betting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gk88d-text-main);
}

.page-cockfighting-rules-betting__card-text {
  font-size: 0.95em;
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__rules-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__rules-section .page-cockfighting-rules-betting__text-block {
  color: var(--gk88d-deep-green);
  font-size: 1.05em;
  margin-bottom: 30px;
}

.page-cockfighting-rules-betting__content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}

.page-cockfighting-rules-betting__text-content {
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-cockfighting-rules-betting__image-aside {
  text-align: center;
}

.page-cockfighting-rules-betting__image-vertical {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-rules-betting__betting-types .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-gold);
}

.page-cockfighting-rules-betting__betting-types .page-cockfighting-rules-betting__text-secondary {
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__betting-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-cockfighting-rules-betting__option-card {
  background-color: var(--gk88d-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gk88d-border);
}

.page-cockfighting-rules-betting__option-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gk88d-primary);
}

.page-cockfighting-rules-betting__option-description {
  font-size: 0.95em;
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__numbered-list {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-cockfighting-rules-betting__numbered-list li {
  counter-increment: item;
  margin-bottom: 15px;
  padding-left: 40px;
  position: relative;
  font-size: 1.05em;
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--gk88d-primary);
  font-size: 1.2em;
}

.page-cockfighting-rules-betting__cta-block {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting-rules-betting__cta-block .page-cockfighting-rules-betting__btn-primary {
  margin-top: 20px;
}

.page-cockfighting-rules-betting__tips-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__tips-section .page-cockfighting-rules-betting__text-block {
  color: var(--gk88d-deep-green);
  font-size: 1.05em;
  margin-bottom: 30px;
}

.page-cockfighting-rules-betting__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-rules-betting__tip-card {
  background-color: var(--gk88d-text-main);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gk88d-border);
  color: var(--gk8d-deep-green);
}

.page-cockfighting-rules-betting__tip-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gk88d-primary);
}

.page-cockfighting-rules-betting__tip-text {
  font-size: 0.95em;
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__security-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-gold);
}

.page-cockfighting-rules-betting__security-section .page-cockfighting-rules-betting__text-secondary {
  color: var(--gk88d-text-secondary);
}

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

.page-cockfighting-rules-betting__feature-item {
  background-color: var(--gk88d-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gk88d-border);
}

.page-cockfighting-rules-betting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting-rules-betting__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gk88d-primary);
}

.page-cockfighting-rules-betting__feature-text {
  font-size: 0.9em;
  color: var(--gk88d-text-secondary);
}

.page-cockfighting-rules-betting__cta-text {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
}

.page-cockfighting-rules-betting__faq-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__faq-list {
  margin-top: 40px;
}

.page-cockfighting-rules-betting__faq-item {
  background-color: var(--gk88d-text-main);
  border: 1px solid var(--gk88d-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: var(--gk88d-deep-green);
  background-color: var(--gk88d-text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting-rules-betting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting-rules-betting__faq-item summary {
  list-style: none;
}

.page-cockfighting-rules-betting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting-rules-betting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--gk88d-primary);
  line-height: 1;
}

.page-cockfighting-rules-betting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--gk88d-deep-green);
  /* For JS-controlled div, use max-height transition */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-cockfighting-rules-betting__faq-item.active .page-cockfighting-rules-betting__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 0 25px 20px;
}

/* For native <details> element */
.page-cockfighting-rules-betting__faq-item[open] .page-cockfighting-rules-betting__faq-answer {
  max-height: none; /* Let content dictate height */
  padding: 0 25px 20px;
}

.page-cockfighting-rules-betting__faq-answer p {
  margin-bottom: 10px;
  color: var(--gk88d-deep-green);
}

.page-cockfighting-rules-betting__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting-rules-betting__cta-final-section .page-cockfighting-rules-betting__section-title {
  color: var(--gk88d-gold);
}

.page-cockfighting-rules-betting__cta-final-section .page-cockfighting-rules-betting__text-secondary {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1em;
}

.page-cockfighting-rules-betting__cta-button {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-rules-betting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-rules-betting__image-aside {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-rules-betting__section {
    padding: 40px 0;
  }

  .page-cockfighting-rules-betting__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-cockfighting-rules-betting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-cockfighting-rules-betting__lead-text {
    font-size: 1em;
  }

  .page-cockfighting-rules-betting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container for buttons */
  }

  .page-cockfighting-rules-betting__btn-primary,
  .page-cockfighting-rules-betting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-cockfighting-rules-betting__grid-3-cols,
  .page-cockfighting-rules-betting__betting-options,
  .page-cockfighting-rules-betting__grid-2-cols,
  .page-cockfighting-rules-betting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-cockfighting-rules-betting__card,
  .page-cockfighting-rules-betting__option-card,
  .page-cockfighting-rules-betting__tip-card,
  .page-cockfighting-rules-betting__feature-item {
    padding: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Images responsive */
  .page-cockfighting-rules-betting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All image containers responsive */
  .page-cockfighting-rules-betting__hero-image-wrapper,
  .page-cockfighting-rules-betting__card,
  .page-cockfighting-rules-betting__image-aside,
  .page-cockfighting-rules-betting__feature-item,
  .page-cockfighting-rules-betting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting-rules-betting__hero-image-wrapper,
  .page-cockfighting-rules-betting__image-aside {
    padding: 0 15px;
  }

  .page-cockfighting-rules-betting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-cockfighting-rules-betting__faq-answer {
    padding: 0 20px 15px;
  }

  .page-cockfighting-rules-betting__video-section {
    padding-top: 10px !important; /* Body handles --header-offset */
  }

  .page-cockfighting-rules-betting__video-container,
  .page-cockfighting-rules-betting__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-rules-betting video,
  .page-cockfighting-rules-betting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}