/* style/cockfighting-watching-betting-guide.css */

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

.page-cockfighting-watching-betting-guide {
  background-color: var(--t8bet-bg-primary);
  color: var(--t8bet-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting-watching-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-cockfighting-watching-betting-guide__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-cockfighting-watching-betting-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting-watching-betting-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  color: var(--t8bet-text-main);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

/* Ensure no text overlaps the image directly, this is a separate content block */
.page-cockfighting-watching-betting-guide__hero-section > .page-cockfighting-watching-betting-guide__hero-image-wrapper {
  order: 1;
}

.page-cockfighting-watching-betting-guide__hero-section > .page-cockfighting-watching-betting-guide__hero-content {
  position: relative; /* Make it flow normally after the image wrapper */
  transform: none;
  top: auto;
  left: auto;
  margin-top: -150px; /* Pull it up over the bottom of the image for visual effect, but not fully over */
  padding-bottom: 0;
  background-color: transparent; /* Remove background here, it's just for text */
}

.page-cockfighting-watching-betting-guide__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--t8bet-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting-watching-betting-guide__description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  color: var(--t8bet-text-secondary);
}

.page-cockfighting-watching-betting-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-watching-betting-guide__btn-primary,
.page-cockfighting-watching-betting-guide__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting-watching-betting-guide__btn-primary {
  background: var(--t8bet-button-gradient);
  color: var(--t8bet-text-main);
  border: none;
}

.page-cockfighting-watching-betting-guide__btn-primary:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 15px var(--t8bet-glow);
}

.page-cockfighting-watching-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--t8bet-glow);
  border: 2px solid var(--t8bet-glow);
}

.page-cockfighting-watching-betting-guide__btn-secondary:hover {
  background-color: var(--t8bet-glow);
  color: var(--t8bet-bg-primary);
  box-shadow: 0 0 15px var(--t8bet-glow);
}

.page-cockfighting-watching-betting-guide__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--t8bet-divider);
}

.page-cockfighting-watching-betting-guide__section:last-of-type {
  border-bottom: none;
}

.page-cockfighting-watching-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-cockfighting-watching-betting-guide__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--t8bet-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting-watching-betting-guide__text-block {
  font-size: 1.05rem;
  color: var(--t8bet-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting-watching-betting-guide__text-block strong {
  color: var(--t8bet-text-main);
}

.page-cockfighting-watching-betting-guide__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.page-cockfighting-watching-betting-guide__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.page-cockfighting-watching-betting-guide__card {
  background-color: var(--t8bet-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--t8bet-border);
  color: var(--t8bet-text-secondary);
}

.page-cockfighting-watching-betting-guide__dark-bg {
  background-color: var(--t8bet-card-bg);
  color: var(--t8bet-text-secondary);
}

.page-cockfighting-watching-betting-guide__card-title {
  font-size: 1.5rem;
  color: var(--t8bet-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting-watching-betting-guide__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting-watching-betting-guide__card-button {
  align-self: flex-start;
}

.page-cockfighting-watching-betting-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting-watching-betting-guide__margin-top {
  margin-top: 40px;
}

.page-cockfighting-watching-betting-guide__quality-stream {
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting-watching-betting-guide__quality-stream .page-cockfighting-watching-betting-guide__card-title {
  font-size: 2rem;
}

.page-cockfighting-watching-betting-guide__faq-section {
  background-color: var(--t8bet-deep-green);
}

.page-cockfighting-watching-betting-guide__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting-watching-betting-guide__faq-item {
  background-color: var(--t8bet-card-bg);
  border-radius: 8px;
  border: 1px solid var(--t8bet-border);
  overflow: hidden;
}

.page-cockfighting-watching-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--t8bet-text-main);
  background-color: var(--t8bet-deep-green);
}

.page-cockfighting-watching-betting-guide__faq-question::-webkit-details-marker,
.page-cockfighting-watching-betting-guide__faq-question::marker {
  display: none;
}

.page-cockfighting-watching-betting-guide__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--t8bet-glow);
  margin-left: 15px;
}

.page-cockfighting-watching-betting-guide__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  color: var(--t8bet-text-secondary);
  border-top: 1px solid var(--t8bet-border);
}

.page-cockfighting-watching-betting-guide__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting-watching-betting-guide__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-watching-betting-guide__hero-content {
    width: 95%;
  }
}

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

  .page-cockfighting-watching-betting-guide__hero-content {
    margin-top: -100px; /* Adjust for smaller screens */
  }

  .page-cockfighting-watching-betting-guide__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-cockfighting-watching-betting-guide__description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

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

  .page-cockfighting-watching-betting-guide__btn-primary,
  .page-cockfighting-watching-betting-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-cockfighting-watching-betting-guide__section {
    padding: 40px 15px;
  }

  .page-cockfighting-watching-betting-guide__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting-watching-betting-guide__text-block {
    font-size: 1rem;
  }

  .page-cockfighting-watching-betting-guide__grid-2-cols,
  .page-cockfighting-watching-betting-guide__grid-3-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-watching-betting-guide__card {
    padding: 25px;
  }

  .page-cockfighting-watching-betting-guide__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting-watching-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting-watching-betting-guide__section,
  .page-cockfighting-watching-betting-guide__card,
  .page-cockfighting-watching-betting-guide__container,
  .page-cockfighting-watching-betting-guide__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting-watching-betting-guide__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting-watching-betting-guide video,
  .page-cockfighting-watching-betting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-watching-betting-guide__video-section,
  .page-cockfighting-watching-betting-guide__video-container,
  .page-cockfighting-watching-betting-guide__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-watching-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting-watching-betting-guide__cta-buttons,
  .page-cockfighting-watching-betting-guide__button-group,
  .page-cockfighting-watching-betting-guide__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;
  }

  .page-cockfighting-watching-betting-guide__cta-buttons {
    flex-direction: column;
  }
}