/* style/resources-how-to-choose-best-platform.css */

/* Base styles for the page content, considering the dark body background */
.page-resources-how-to-choose-best-platform {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-how-to-choose-best-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-how-to-choose-best-platform__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-resources-how-to-choose-best-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-how-to-choose-best-platform__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-how-to-choose-best-platform__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-resources-how-to-choose-best-platform__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-how-to-choose-best-platform__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* Buttons */
.page-resources-how-to-choose-best-platform__btn-primary {
  display: inline-block;
  background: #017439; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-resources-how-to-choose-best-platform__btn-primary:hover {
  background-color: #005f2f; /* Darker shade on hover */
}

.page-resources-how-to-choose-best-platform__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
}

.page-resources-how-to-choose-best-platform__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
}

/* Section Titles */
.page-resources-how-to-choose-best-platform__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark sections */
}

.page-resources-how-to-choose-best-platform__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Intro Section */
.page-resources-how-to-choose-best-platform__intro-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast with body */
}
.page-resources-how-to-choose-best-platform__intro-section .page-resources-how-to-choose-best-platform__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__intro-section .page-resources-how-to-choose-best-platform__text-block {
  color: #f0f0f0;
  margin-bottom: 20px;
  font-size: 1.1em;
}


/* Criteria Section (Dark background) */
.page-resources-how-to-choose-best-platform__criteria-section {
  padding: 80px 0;
  background-color: #000; /* Use body background for this section */
}

.page-resources-how-to-choose-best-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-how-to-choose-best-platform__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white card for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for card content */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-resources-how-to-choose-best-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-best-platform__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  width: 100%; /* Ensure it fills card width */
}

.page-resources-how-to-choose-best-platform__card-title {
  font-size: 1.5em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 15px;
}

.page-resources-how-to-choose-best-platform__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Reliable Platform Section (Light background for contrast) */
.page-resources-how-to-choose-best-platform__reliable-platform-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}
.page-resources-how-to-choose-best-platform__reliable-platform-section .page-resources-how-to-choose-best-platform__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__reliable-platform-section .page-resources-how-to-choose-best-platform__text-block {
  color: #f0f0f0;
  margin-bottom: 20px;
  font-size: 1.1em;
}
.page-resources-how-to-choose-best-platform__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-resources-how-to-choose-best-platform__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #e0e0e0;
  font-size: 1.05em;
}

.page-resources-how-to-choose-best-platform__list-item strong {
  color: #ffffff;
}

/* xvideo me vo Section (Dark background) */
.page-resources-how-to-choose-best-platform__xvideo-me-vo-section {
  padding: 80px 0;
  background-color: #000; /* Use body background */
}
.page-resources-how-to-choose-best-platform__xvideo-me-vo-section .page-resources-how-to-choose-best-platform__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__xvideo-me-vo-section .page-resources-how-to-choose-best-platform__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-how-to-choose-best-platform__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.page-resources-how-to-choose-best-platform__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-resources-how-to-choose-best-platform__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources-how-to-choose-best-platform__feature-description {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-resources-how-to-choose-best-platform__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}
.page-resources-how-to-choose-best-platform__cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}


/* FAQ Section */
.page-resources-how-to-choose-best-platform__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background */
}
.page-resources-how-to-choose-best-platform__faq-section .page-resources-how-to-choose-best-platform__section-title {
  color: #ffffff;
}

.page-resources-how-to-choose-best-platform__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-how-to-choose-best-platform__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-best-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #017439; /* Brand color for question background */
  cursor: pointer;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-best-platform__faq-question:hover {
  background-color: #005f2f;
}

.page-resources-how-to-choose-best-platform__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-how-to-choose-best-platform__faq-item.active .page-resources-how-to-choose-best-platform__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-resources-how-to-choose-best-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-resources-how-to-choose-best-platform__faq-item.active .page-resources-how-to-choose-best-platform__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
}

.page-resources-how-to-choose-best-platform__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Conclusion Section */
.page-resources-how-to-choose-best-platform__conclusion-section {
  padding: 60px 0 80px 0;
  background-color: #000; /* Use body background */
  text-align: center;
}
.page-resources-how-to-choose-best-platform__conclusion-section .page-resources-how-to-choose-best-platform__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__conclusion-section .page-resources-how-to-choose-best-platform__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-how-to-choose-best-platform__cta-bottom {
  margin-top: 40px;
}

/* General image styling for content area */
.page-resources-how-to-choose-best-platform img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Ensure content area images are not too small */
  min-width: 200px;
  min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-best-platform__hero-title {
    font-size: 3em;
  }
  .page-resources-how-to-choose-best-platform__hero-description {
    font-size: 1.2em;
  }
  .page-resources-how-to-choose-best-platform__section-title {
    font-size: 2em;
  }
  .page-resources-how-to-choose-best-platform__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-choose-best-platform {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-resources-how-to-choose-best-platform__hero-section {
    height: auto;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-how-to-choose-best-platform__hero-title {
    font-size: 2.2em;
  }
  .page-resources-how-to-choose-best-platform__hero-description {
    font-size: 1em;
  }

  /* General container padding for mobile */
  .page-resources-how-to-choose-best-platform__container {
    padding: 0 15px;
  }

  /* Section titles */
  .page-resources-how-to-choose-best-platform__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Card layout */
  .page-resources-how-to-choose-best-platform__criteria-grid,
  .page-resources-how-to-choose-best-platform__features-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-resources-how-to-choose-best-platform__card {
    padding: 20px;
  }
  .page-resources-how-to-choose-best-platform__card-image {
    height: 200px; /* Adjust height for mobile cards */
    min-width: 100px; /* Ensure images are not tiny */
    min-height: 100px;
  }
  .page-resources-how-to-choose-best-platform__card-title {
    font-size: 1.3em;
  }
  .page-resources-how-to-choose-best-platform__card-text {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-resources-how-to-choose-best-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-how-to-choose-best-platform__section,
  .page-resources-how-to-choose-best-platform__card,
  .page-resources-how-to-choose-best-platform__container,
  .page-resources-how-to-choose-best-platform__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons responsive */
  .page-resources-how-to-choose-best-platform__btn-primary,
  .page-resources-how-to-choose-best-platform__btn-secondary,
  .page-resources-how-to-choose-best-platform a[class*="button"],
  .page-resources-how-to-choose-best-platform a[class*="btn"] {
    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;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }
  .page-resources-how-to-choose-best-platform__cta-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-resources-how-to-choose-best-platform__cta-bottom .page-resources-how-to-choose-best-platform__btn-primary {
    margin-bottom: 15px;
  }

  /* FAQ */
  .page-resources-how-to-choose-best-platform__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-how-to-choose-best-platform__faq-answer {
    padding: 0 15px;
  }
  .page-resources-how-to-choose-best-platform__faq-item.active .page-resources-how-to-choose-best-platform__faq-answer {
    padding: 15px 15px;
  }
}

/* Ensure no filter is used on images */
.page-resources-how-to-choose-best-platform img {
  filter: none !important;
}

/* Contrast Fixes (as per instruction) */
.page-resources-how-to-choose-best-platform__dark-bg {
  color: #ffffff; /* Deep dark background, light text */
  background: #000;
}
.page-resources-how-to-choose-best-platform__light-bg {
  color: #333333; /* Light background, dark text */
  background: #ffffff;
}
.page-resources-how-to-choose-best-platform__medium-bg {
  color: #000000; /* Default dark text for medium backgrounds */
  background: #FFFFFF;
}
.page-resources-how-to-choose-best-platform__content-area,
.page-resources-how-to-choose-best-platform__text-block {
  color: #f0f0f0; /* Ensure readability on dark sections */
}
.page-resources-how-to-choose-best-platform p,
.page-resources-how-to-choose-best-platform li {
  color: #e0e0e0; /* Ensure readability on dark sections */
}
.page-resources-how-to-choose-best-platform__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent card for dark background */
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__dark-section {
  background: #000; /* Main dark section */
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__btn-primary {
  background: #017439;
  color: #ffffff;
}
.page-resources-how-to-choose-best-platform__btn-secondary {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}