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

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #26A9E0;
  --button-login: #EA7C07;
}

.page-cockfighting-betting-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color); /* Body background is light, so default text is dark */
}

.page-cockfighting-betting-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting-betting-tips__text-center {
  text-align: center;
}

.page-cockfighting-betting-tips__section {
  padding: 60px 20px;
}

.page-cockfighting-betting-tips__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-cockfighting-betting-tips__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting-betting-tips__text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting-betting-tips__text-link:hover {
  color: #1a7bbd; /* Slightly darker primary on hover */
}

/* HERO Section */
.page-cockfighting-betting-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #E0F2F7, var(--secondary-color)); /* Light gradient background */
  overflow: hidden;
}

.page-cockfighting-betting-tips__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-cockfighting-betting-tips__hero-image-wrapper {
  width: 100%;
  max-width: 800px; /* Limit image width in desktop for better layout */
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting-tips__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting-betting-tips__hero-content {
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-cockfighting-betting-tips__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.page-cockfighting-betting-tips__intro-text {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-betting-tips__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-cockfighting-betting-tips__cta-button {
  display: inline-block;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 19px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-betting-tips__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-cockfighting-betting-tips__btn-primary:hover {
  background: #1a8cc2; /* Darker shade of primary */
  border-color: #1a8cc2;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-betting-tips__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-cockfighting-betting-tips__btn-secondary:hover {
  background: #e0f2f7;
  color: #1a8cc2;
  border-color: #1a8cc2;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* General Content Styling */
.page-cockfighting-betting-tips__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-cockfighting-betting-tips__dark-bg .page-cockfighting-betting-tips__section-title {
  color: var(--text-light);
}

.page-cockfighting-betting-tips__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

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

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

.page-cockfighting-betting-tips__card {
  background: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
}

.page-cockfighting-betting-tips__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting-betting-tips__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting-betting-tips__card-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-cockfighting-betting-tips__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-betting-tips__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 17px;
  color: var(--text-dark);
}

.page-cockfighting-betting-tips__list-item {
  margin-bottom: 10px;
}

.page-cockfighting-betting-tips__list-item strong {
  color: var(--primary-color);
}

.page-cockfighting-betting-tips__content-box {
  background: var(--secondary-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-cockfighting-betting-tips__box-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting-betting-tips__box-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-cockfighting-betting-tips__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-cockfighting-betting-tips__text-block {
  flex: 2;
}

.page-cockfighting-betting-tips__image-block {
  flex: 1;
  min-width: 300px; /* Minimum width for image block */
}

.page-cockfighting-betting-tips__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-betting-tips__sub-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-cockfighting-betting-tips__faq-section {
  background-color: var(--background-light);
}

.page-cockfighting-betting-tips__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-cockfighting-betting-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-cockfighting-betting-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting-betting-tips__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-cockfighting-betting-tips__faq-question:active {
  background: #eeeeee;
}

.page-cockfighting-betting-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none;
}

.page-cockfighting-betting-tips__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting-betting-tips__faq-item.active .page-cockfighting-betting-tips__faq-toggle {
  color: #1a7bbd;
  transform: rotate(45deg); /* Plus to X effect */
}

.page-cockfighting-betting-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--background-light);
  border-top: 1px solid #eee;
  border-radius: 0 0 10px 10px;
}

.page-cockfighting-betting-tips__faq-item.active .page-cockfighting-betting-tips__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-cockfighting-betting-tips__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  text-align: justify;
}

/* CTA Bottom Section */
.page-cockfighting-betting-tips__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting-betting-tips__cta-bottom-section .page-cockfighting-betting-tips__section-title {
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-cockfighting-betting-tips__cta-bottom-section .page-cockfighting-betting-tips__paragraph {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Global image styles */
.page-cockfighting-betting-tips img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-betting-tips__main-title {
    font-size: 42px;
  }
  .page-cockfighting-betting-tips__section-title {
    font-size: 32px;
  }
  .page-cockfighting-betting-tips__hero-image-wrapper {
    max-width: 700px;
  }
  .page-cockfighting-betting-tips__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting-betting-tips__image-block {
    min-width: unset;
    width: 100%;
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-betting-tips__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-cockfighting-betting-tips__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-cockfighting-betting-tips__intro-text {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-cockfighting-betting-tips__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-betting-tips__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 25px;
    font-size: 17px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting-betting-tips__section {
    padding: 40px 15px;
  }
  .page-cockfighting-betting-tips__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting-betting-tips__paragraph {
    font-size: 16px;
  }
  .page-cockfighting-betting-tips__card {
    padding: 25px;
  }
  .page-cockfighting-betting-tips__card-title {
    font-size: 20px;
  }
  .page-cockfighting-betting-tips__card-text {
    font-size: 15px;
  }
  .page-cockfighting-betting-tips__list {
    font-size: 16px;
    margin-left: 15px;
  }
  .page-cockfighting-betting-tips__content-box {
    padding: 25px;
  }
  .page-cockfighting-betting-tips__box-title {
    font-size: 20px;
  }
  .page-cockfighting-betting-tips__box-text {
    font-size: 15px;
  }
  .page-cockfighting-betting-tips__sub-title {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-cockfighting-betting-tips__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting-betting-tips__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting-betting-tips__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting-betting-tips__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting-betting-tips__faq-item.active .page-cockfighting-betting-tips__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting-betting-tips__faq-answer p {
    font-size: 15px;
  }
  .page-cockfighting-betting-tips__cta-bottom-section {
    padding: 60px 15px;
  }
  /* Mobile image responsivenes */
  .page-cockfighting-betting-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting-betting-tips__section,
  .page-cockfighting-betting-tips__card,
  .page-cockfighting-betting-tips__container,
  .page-cockfighting-betting-tips__hero-container,
  .page-cockfighting-betting-tips__cta-group,
  .page-cockfighting-betting-tips__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
   .page-cockfighting-betting-tips__faq-list {
     padding-left: 0;
     padding-right: 0;
   }
  .page-cockfighting-betting-tips__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
}