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

/* Base styles for the page content */
.page-cockfighting-betting-rules {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #ffffff);
}

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

.page-cockfighting-betting-rules__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting-betting-rules__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-cockfighting-betting-rules__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-cockfighting-betting-rules__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-cockfighting-betting-rules__keyword {
  font-weight: bold;
  color: #26A9E0;
}

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

.page-cockfighting-betting-rules__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-cockfighting-betting-rules__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting-betting-rules__hero-content {
  width: 100%;
  background: #ffffff;
  padding: 40px 20px;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
}

.page-cockfighting-betting-rules__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-betting-rules__description {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-cockfighting-betting-rules__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting-betting-rules__btn-primary,
.page-cockfighting-betting-rules__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting-betting-rules__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting-betting-rules__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-cockfighting-betting-rules__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting-betting-rules__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87c0;
}

/* Image styles within content */
.page-cockfighting-betting-rules__image-inline {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Section Backgrounds */
.page-cockfighting-betting-rules__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting-betting-rules__dark-bg .page-cockfighting-betting-rules__section-title,
.page-cockfighting-betting-rules__dark-bg .page-cockfighting-betting-rules__sub-title,
.page-cockfighting-betting-rules__dark-bg .page-cockfighting-betting-rules__keyword {
  color: #ffffff;
}

.page-cockfighting-betting-rules__dark-bg a {
  color: #ffffff;
  text-decoration: underline;
}

.page-cockfighting-betting-rules__dark-bg a:hover {
  color: #e0f2f7;
}

.page-cockfighting-betting-rules__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting-betting-rules__light-bg .page-cockfighting-betting-rules__section-title,
.page-cockfighting-betting-rules__light-bg .page-cockfighting-betting-rules__sub-title,
.page-cockfighting-betting-rules__light-bg .page-cockfighting-betting-rules__keyword {
  color: #26A9E0;
}

.page-cockfighting-betting-rules__light-bg a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting-betting-rules__light-bg a:hover {
  color: #1e87c0;
}

/* Lists */
.page-cockfighting-betting-rules__list {
  list-style: disc;
  text-align: left;
  max-width: 900px;
  margin: 20px auto;
  padding-left: 40px;
}

.page-cockfighting-betting-rules__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

/* FAQ Section */
.page-cockfighting-betting-rules__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-cockfighting-betting-rules__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting-betting-rules__faq-item[open] {
  background-color: #e0f2f7;
}

.page-cockfighting-betting-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
}

.page-cockfighting-betting-rules__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting-betting-rules__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting-betting-rules__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting-betting-rules__faq-item[open] .page-cockfighting-betting-rules__faq-toggle {
  content: '−';
}

.page-cockfighting-betting-rules__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: #555555;
  text-align: left;
}

.page-cockfighting-betting-rules__faq-answer p {
  margin-bottom: 10px;
}

.page-cockfighting-betting-rules__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Floating CTA Button */
.page-cockfighting-betting-rules__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
  word-wrap: normal;
}

.page-cockfighting-betting-rules__floating-cta:hover {
  background-color: #d16e06;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-betting-rules__hero-image-wrapper {
    max-height: 500px;
  }
}

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

  .page-cockfighting-betting-rules__hero-content {
    padding: 30px 15px;
  }

  .page-cockfighting-betting-rules__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-cockfighting-betting-rules__description {
    font-size: 16px;
  }

  .page-cockfighting-betting-rules__btn-primary,
  .page-cockfighting-betting-rules__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting-betting-rules__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-betting-rules__section {
    padding: 40px 0;
  }

  .page-cockfighting-betting-rules__section-title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-cockfighting-betting-rules__sub-title {
    font-size: clamp(20px, 6vw, 28px);
  }

  .page-cockfighting-betting-rules__text-block {
    font-size: 15px;
  }

  .page-cockfighting-betting-rules__list {
    padding-left: 25px;
  }

  .page-cockfighting-betting-rules__list-item {
    font-size: 15px;
  }

  .page-cockfighting-betting-rules__image-inline {
    margin: 20px auto;
  }

  /* Mobile specific image and video responsiveness */
  .page-cockfighting-betting-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-betting-rules__section,
  .page-cockfighting-betting-rules__card,
  .page-cockfighting-betting-rules__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting-betting-rules__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-cockfighting-betting-rules__floating-cta {
    font-size: 16px;
    padding: 12px 20px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-betting-rules__hero-image-wrapper {
    max-height: 300px;
  }

  .page-cockfighting-betting-rules__main-title {
    font-size: clamp(24px, 9vw, 36px);
  }

  .page-cockfighting-betting-rules__description {
    font-size: 14px;
  }

  .page-cockfighting-betting-rules__section-title {
    font-size: clamp(20px, 8vw, 30px);
  }

  .page-cockfighting-betting-rules__sub-title {
    font-size: clamp(18px, 7vw, 24px);
  }

  .page-cockfighting-betting-rules__text-block,
  .page-cockfighting-betting-rules__list-item,
  .page-cockfighting-betting-rules__faq-answer {
    font-size: 14px;
  }

  .page-cockfighting-betting-rules__faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .page-cockfighting-betting-rules__faq-toggle {
    font-size: 20px;
  }
}