/* style/resources-gacam-game-strategy-tips.css */

/* Base styles for the page content */
.page-resources-gacam-game-strategy-tips {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-gacam-game-strategy-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-gacam-game-strategy-tips__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  min-height: 550px;
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero section */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-gacam-game-strategy-tips__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to allow text to stand out */
  filter: none; /* No CSS filter allowed */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-resources-gacam-game-strategy-tips__hero-section > .page-resources-gacam-game-strategy-tips__container {
  position: relative;
  z-index: 1;
}

.page-resources-gacam-game-strategy-tips__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-resources-gacam-game-strategy-tips__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-resources-gacam-game-strategy-tips__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-gacam-game-strategy-tips__cta-buttons--center {
  margin-top: 40px;
}

.page-resources-gacam-game-strategy-tips__btn-primary,
.page-resources-gacam-game-strategy-tips__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;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-resources-gacam-game-strategy-tips__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-gacam-game-strategy-tips__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-resources-gacam-game-strategy-tips__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-gacam-game-strategy-tips__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  color: #26A9E0;
}

/* Section Titles */
.page-resources-gacam-game-strategy-tips__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  font-weight: bold;
}

/* Introduction Section */
.page-resources-gacam-game-strategy-tips__introduction-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-resources-gacam-game-strategy-tips__introduction-section .page-resources-gacam-game-strategy-tips__paragraph {
  color: #333333; /* Ensure text color for light background */
}

/* Paragraphs */
.page-resources-gacam-game-strategy-tips__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-gacam-game-strategy-tips__paragraph--center {
  text-align: center;
}

/* Video Section */
.page-resources-gacam-game-strategy-tips__video-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
  text-align: center;
  position: relative;
}

.page-resources-gacam-game-strategy-tips__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px; /* Max width for video */
  margin: 0 auto 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-resources-gacam-game-strategy-tips__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover; /* Ensure video covers the area */
  cursor: pointer; /* Indicate clickability */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  filter: none; /* No CSS filter allowed */
}

.page-resources-gacam-game-strategy-tips__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.page-resources-gacam-game-strategy-tips__video-wrapper:hover .page-resources-gacam-game-strategy-tips__video-overlay {
  opacity: 1;
}

.page-resources-gacam-game-strategy-tips__video-cta {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources-gacam-game-strategy-tips__video-cta:hover {
  background-color: #1e87b7;
}

/* Strategy Guide Section */
.page-resources-gacam-game-strategy-tips__strategy-guide {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background */
  color: #333333; /* Dark text */
  display: grid;
  gap: 30px;
}

.page-resources-gacam-game-strategy-tips__strategy-guide > .page-resources-gacam-game-strategy-tips__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-gacam-game-strategy-tips__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-resources-gacam-game-strategy-tips__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-gacam-game-strategy-tips__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  filter: none; /* No CSS filter allowed */
}

.page-resources-gacam-game-strategy-tips__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-gacam-game-strategy-tips__card-text {
  font-size: 1em;
  color: #555555;
}

/* Advanced Tips Section */
.page-resources-gacam-game-strategy-tips__advanced-tips {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color background */
  color: #ffffff; /* White text for brand color background */
}

.page-resources-gacam-game-strategy-tips__advanced-tips .page-resources-gacam-game-strategy-tips__section-title {
  color: #ffffff; /* White title for dark background */
}

.page-resources-gacam-game-strategy-tips__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-resources-gacam-game-strategy-tips__list-item {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for items */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-resources-gacam-game-strategy-tips__list-item:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-resources-gacam-game-strategy-tips__list-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-gacam-game-strategy-tips__list-item-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Why Gacam Section */
.page-resources-gacam-game-strategy-tips__why-gacam {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-resources-gacam-game-strategy-tips__why-gacam .page-resources-gacam-game-strategy-tips__section-title {
  color: #26A9E0; /* Brand color for title */
}

.page-resources-gacam-game-strategy-tips__benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-resources-gacam-game-strategy-tips__benefits-item {
  background-color: #f0f8ff; /* Very light blue */
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
}

/* FAQ Section */
.page-resources-gacam-game-strategy-tips__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-resources-gacam-game-strategy-tips__faq-section .page-resources-gacam-game-strategy-tips__section-title {
  color: #ffffff;
}

.page-resources-gacam-game-strategy-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-gacam-game-strategy-tips__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-resources-gacam-game-strategy-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15); /* Slightly darker transparent white for question */
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-gacam-game-strategy-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-resources-gacam-game-strategy-tips__faq-question h3 {
  margin: 0;
  color: inherit; /* Inherit color from parent */
  font-size: 1em; /* Adjust h3 size within question for consistency */
}

.page-resources-gacam-game-strategy-tips__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0; /* Brand color for toggle icon */
}

.page-resources-gacam-game-strategy-tips__faq-item.active .page-resources-gacam-game-strategy-tips__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-resources-gacam-game-strategy-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-gacam-game-strategy-tips__faq-item.active .page-resources-gacam-game-strategy-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-gacam-game-strategy-tips__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  color: inherit; /* Inherit color from parent */
}

.page-resources-gacam-game-strategy-tips__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-resources-gacam-game-strategy-tips__faq-answer a:hover {
  color: #1e87b7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-gacam-game-strategy-tips__hero-title {
    font-size: 2.8em;
  }
  .page-resources-gacam-game-strategy-tips__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-gacam-game-strategy-tips__hero-section {
    padding: 60px 0;
    min-height: 450px;
  }

  .page-resources-gacam-game-strategy-tips__hero-title {
    font-size: 2.2em;
  }

  .page-resources-gacam-game-strategy-tips__hero-description {
    font-size: 1em;
  }

  .page-resources-gacam-game-strategy-tips__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-gacam-game-strategy-tips__btn-primary,
  .page-resources-gacam-game-strategy-tips__btn-secondary {
    width: 90%;
    max-width: 300px; /* Limit button width on mobile */
    margin-bottom: 10px;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-gacam-game-strategy-tips__cta-buttons {
    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-resources-gacam-game-strategy-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-gacam-game-strategy-tips__introduction-section,
  .page-resources-gacam-game-strategy-tips__video-section,
  .page-resources-gacam-game-strategy-tips__strategy-guide,
  .page-resources-gacam-game-strategy-tips__advanced-tips,
  .page-resources-gacam-game-strategy-tips__why-gacam,
  .page-resources-gacam-game-strategy-tips__faq-section {
    padding: 40px 0;
  }

  .page-resources-gacam-game-strategy-tips__container {
    padding: 0 15px;
  }

  /* Image responsiveness */
  .page-resources-gacam-game-strategy-tips img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min-width */
    min-height: 200px !important; /* Enforce min-height */
  }
  
  /* Video responsiveness */
  .page-resources-gacam-game-strategy-tips video,
  .page-resources-gacam-game-strategy-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-gacam-game-strategy-tips__video-section,
  .page-resources-gacam-game-strategy-tips__video-container,
  .page-resources-gacam-game-strategy-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-gacam-game-strategy-tips__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding-top on mobile */
  }

  /* Card and section containers for mobile overflow */
  .page-resources-gacam-game-strategy-tips__section,
  .page-resources-gacam-game-strategy-tips__card,
  .page-resources-gacam-game-strategy-tips__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; padding-right: 15px; already on container or handled by section */
  }

  .page-resources-gacam-game-strategy-tips__strategy-guide > .page-resources-gacam-game-strategy-tips__container {
    grid-template-columns: 1fr; /* Single column layout on mobile */
  }

  .page-resources-gacam-game-strategy-tips__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-gacam-game-strategy-tips__faq-answer {
    padding: 0 20px;
  }

  .page-resources-gacam-game-strategy-tips__faq-item.active .page-resources-gacam-game-strategy-tips__faq-answer {
    padding: 15px 20px;
  }
}