/* style/resources-texas-holdem-advanced-strategy.css */

/* General Page Styling */
.page-resources-texas-holdem-advanced-strategy {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-texas-holdem-advanced-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-texas-holdem-advanced-strategy__dark-bg {
  background-color: #000000; /* Body background is dark */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-texas-holdem-advanced-strategy__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
}

.page-resources-texas-holdem-advanced-strategy__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-resources-texas-holdem-advanced-strategy__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-texas-holdem-advanced-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-resources-texas-holdem-advanced-strategy__paragraph a {
  color: #017439;
  text-decoration: underline;
}

/* Hero Section */
.page-resources-texas-holdem-advanced-strategy__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-texas-holdem-advanced-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-texas-holdem-advanced-strategy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-texas-holdem-advanced-strategy__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-texas-holdem-advanced-strategy__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-resources-texas-holdem-advanced-strategy__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-texas-holdem-advanced-strategy__btn-primary,
.page-resources-texas-holdem-advanced-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.1em;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-texas-holdem-advanced-strategy__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-resources-texas-holdem-advanced-strategy__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-texas-holdem-advanced-strategy__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-resources-texas-holdem-advanced-strategy__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* Content Grid */
.page-resources-texas-holdem-advanced-strategy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styling */
.page-resources-texas-holdem-advanced-strategy__card {
  background-color: #1a1a1a; /* Dark background for cards in dark section */
  color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-resources-texas-holdem-advanced-strategy__card-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-texas-holdem-advanced-strategy__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-texas-holdem-advanced-strategy__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Image Full Width */
.page-resources-texas-holdem-advanced-strategy__image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* FAQ Section */
.page-resources-texas-holdem-advanced-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-texas-holdem-advanced-strategy__faq-item {
  background-color: #1a1a1a; /* Dark background for FAQ items in light section */
  color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-texas-holdem-advanced-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand color for question */
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.2em;
}

.page-resources-texas-holdem-advanced-strategy__faq-question:hover {
  background-color: #005a2e;
}

.page-resources-texas-holdem-advanced-strategy__faq-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.2em;
}

.page-resources-texas-holdem-advanced-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-texas-holdem-advanced-strategy__faq-item.active .page-resources-texas-holdem-advanced-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-texas-holdem-advanced-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #2a2a2a; /* Slightly lighter dark for answer content */
  color: #f0f0f0;
}

.page-resources-texas-holdem-advanced-strategy__faq-item.active .page-resources-texas-holdem-advanced-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 20px 25px;
}

/* CTA Section */
.page-resources-texas-holdem-advanced-strategy__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #017439; /* Brand primary color */
  color: #FFFFFF;
  margin-top: 40px;
}

.page-resources-texas-holdem-advanced-strategy__cta-section .page-resources-texas-holdem-advanced-strategy__section-title {
  color: #FFFFFF;
}

.page-resources-texas-holdem-advanced-strategy__cta-section .page-resources-texas-holdem-advanced-strategy__paragraph {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-texas-holdem-advanced-strategy__cta-section .page-resources-texas-holdem-advanced-strategy__btn-primary {
  background-color: #C30808; /* Custom color for register */
  border-color: #C30808;
  color: #FFFFFF; /* Override to ensure contrast with #C30808 background */
}

.page-resources-texas-holdem-advanced-strategy__cta-section .page-resources-texas-holdem-advanced-strategy__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Floating Buttons */
.page-resources-texas-holdem-advanced-strategy__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-resources-texas-holdem-advanced-strategy__floating-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  font-size: 1em;
  background-color: #C30808; /* Custom background color for register/login */
  color: #FFFFFF; /* Override to ensure contrast with #C30808 background */
}

.page-resources-texas-holdem-advanced-strategy__floating-btn:hover {
  transform: translateY(-3px);
}

.page-resources-texas-holdem-advanced-strategy__btn-register {
  /* background-color set by .page-resources-texas-holdem-advanced-strategy__floating-btn */
}

.page-resources-texas-holdem-advanced-strategy__btn-login {
  /* background-color set by .page-resources-texas-holdem-advanced-strategy__floating-btn */
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-resources-texas-holdem-advanced-strategy__hero-title {
    font-size: 2.8em;
  }

  .page-resources-texas-holdem-advanced-strategy__hero-description {
    font-size: 1.2em;
  }

  .page-resources-texas-holdem-advanced-strategy__section-title {
    font-size: 2em;
  }

  .page-resources-texas-holdem-advanced-strategy__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-texas-holdem-advanced-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-texas-holdem-advanced-strategy__hero-section {
    min-height: 400px;
    padding: 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
  }

  .page-resources-texas-holdem-advanced-strategy__hero-title {
    font-size: 2.2em;
  }

  .page-resources-texas-holdem-advanced-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-texas-holdem-advanced-strategy__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-texas-holdem-advanced-strategy__btn-primary,
  .page-resources-texas-holdem-advanced-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-resources-texas-holdem-advanced-strategy__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }

  .page-resources-texas-holdem-advanced-strategy__sub-title {
    font-size: 1.4em;
  }

  .page-resources-texas-holdem-advanced-strategy__grid {
    grid-template-columns: 1fr;
  }

  .page-resources-texas-holdem-advanced-strategy__card {
    padding: 20px;
  }

  .page-resources-texas-holdem-advanced-strategy__image-fullwidth,
  .page-resources-texas-holdem-advanced-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-resources-texas-holdem-advanced-strategy__content-area,
  .page-resources-texas-holdem-advanced-strategy__card,
  .page-resources-texas-holdem-advanced-strategy__container,
  .page-resources-texas-holdem-advanced-strategy__cta-section,
  .page-resources-texas-holdem-advanced-strategy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-texas-holdem-advanced-strategy__floating-buttons {
    bottom: 15px;
    right: 15px;
    left: 15px;
    flex-direction: row;
    justify-content: space-around;
    width: calc(100% - 30px);
  }

  .page-resources-texas-holdem-advanced-strategy__floating-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 0.9em;
  }

  .page-resources-texas-holdem-advanced-strategy__floating-btn:first-child {
    margin-left: 0;
  }

  .page-resources-texas-holdem-advanced-strategy__floating-btn:last-child {
    margin-right: 0;
  }
}