/* style/resources-choosing-the-right-platform.css */
.page-resources-choosing-the-right-platform {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #ffffff); /* Assuming a light background from shared */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-resources-choosing-the-right-platform {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed, but keep var */
  }
}

.page-resources-choosing-the-right-platform__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 40px 20px;
  min-height: 500px;
  box-sizing: border-box;
}

.page-resources-choosing-the-right-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-resources-choosing-the-right-platform__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-resources-choosing-the-right-platform__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-resources-choosing-the-right-platform__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-choosing-the-right-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-resources-choosing-the-right-platform__hero-button,
.page-resources-choosing-the-right-platform__action-button,
.page-resources-choosing-the-right-platform__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000; /* Dark text for button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-resources-choosing-the-right-platform__hero-button:hover,
.page-resources-choosing-the-right-platform__action-button:hover,
.page-resources-choosing-the-right-platform__cta-button:hover {
  background-color: #e0a53b;
}

.page-resources-choosing-the-right-platform__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 40px auto;
  padding: 0 20px;
  background-color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding-bottom: 40px;
}

.page-resources-choosing-the-right-platform__section-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-choosing-the-right-platform__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-choosing-the-right-platform__image-container {
  margin: 30px 0;
  text-align: center;
}

.page-resources-choosing-the-right-platform__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum display size */
  min-height: 200px; /* Enforce minimum display size */
}

.page-resources-choosing-the-right-platform__back-link {
  display: inline-block;
  margin-top: 40px;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #000000;
  padding: 10px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-resources-choosing-the-right-platform__back-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources-choosing-the-right-platform__hero-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-choosing-the-right-platform__hero-title {
    font-size: 2em;
  }
  .page-resources-choosing-the-right-platform__hero-description,
  .page-resources-choosing-the-right-platform__paragraph {
    font-size: 1em;
  }
  .page-resources-choosing-the-right-platform__section-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-the-right-platform__hero-button,
  .page-resources-choosing-the-right-platform__action-button,
  .page-resources-choosing-the-right-platform__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-choosing-the-right-platform__content-area {
    padding: 0 15px;
  }
  .page-resources-choosing-the-right-platform__image-container img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
}

@media (max-width: 480px) {
  .page-resources-choosing-the-right-platform__hero-title {
    font-size: 1.8em;
  }
  .page-resources-choosing-the-right-platform__hero-description {
    font-size: 0.9em;
  }
  .page-resources-choosing-the-right-platform__section-title {
    font-size: 1.5em;
  }
  .page-resources-choosing-the-right-platform__hero-button,
  .page-resources-choosing-the-right-platform__action-button,
  .page-resources-choosing-the-right-platform__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources-choosing-the-right-platform__content-area {
    padding: 0 10px;
  }
}