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

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

.page-resources-how-to-choose-best-app__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-how-to-choose-best-app__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0;
  text-align: center;
}

.page-resources-how-to-choose-best-app__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

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

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

.page-resources-how-to-choose-best-app__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-resources-how-to-choose-best-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* Ensure high contrast */
}

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

.page-resources-how-to-choose-best-app__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-resources-how-to-choose-best-app__btn-primary,
.page-resources-how-to-choose-best-app__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;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-how-to-choose-best-app__btn-primary {
  background-color: #26A9E0; /* Main color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-best-app__btn-primary:hover {
  background-color: #1e87c2;
  border-color: #1e87c2;
}

.page-resources-how-to-choose-best-app__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-how-to-choose-best-app__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Introduction Section */
.page-resources-how-to-choose-best-app__introduction {
  background-color: #1a1a2e; /* Dark background from shared.css */
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__introduction .page-resources-how-to-choose-best-app__section-title {
  color: #26A9E0;
}
.page-resources-how-to-choose-best-app__introduction .page-resources-how-to-choose-best-app__text-block {
  color: #f0f0f0;
}

/* Factors Section */
.page-resources-how-to-choose-best-app__factors {
  background-color: #1a1a2e; /* Dark background from shared.css */
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__factors .page-resources-how-to-choose-best-app__section-title {
  color: #26A9E0;
}

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

.page-resources-how-to-choose-best-app__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-how-to-choose-best-app__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
}

.page-resources-how-to-choose-best-app__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Guide Section */
.page-resources-how-to-choose-best-app__guide {
  background-color: #26A9E0; /* Brand primary color for dark section */
  color: #ffffff; /* White text for contrast */
}
.page-resources-how-to-choose-best-app__guide .page-resources-how-to-choose-best-app__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__guide .page-resources-how-to-choose-best-app__text-block {
  color: #ffffff;
}

.page-resources-how-to-choose-best-app__ordered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-how-to-choose-best-app__ordered-list li {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter background for list items */
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
}

.page-resources-how-to-choose-best-app__list-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-resources-how-to-choose-best-app__list-text {
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-app__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Tips Section */
.page-resources-how-to-choose-best-app__tips {
  background-color: #1a1a2e; /* Dark background from shared.css */
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__tips .page-resources-how-to-choose-best-app__section-title {
  color: #26A9E0;
}
.page-resources-how-to-choose-best-app__tips .page-resources-how-to-choose-best-app__text-block {
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-app__unordered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-resources-how-to-choose-best-app__unordered-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__unordered-list li strong {
    color: #26A9E0; /* Highlight strong text */
}

/* Top Apps Section */
.page-resources-how-to-choose-best-app__top-apps {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__top-apps .page-resources-how-to-choose-best-app__section-title {
  color: #ffffff;
}
.page-resources-how-to-choose-best-app__top-apps .page-resources-how-to-choose-best-app__text-block {
  color: #f0f0f0;
}
.page-resources-how-to-choose-best-app__top-apps .page-resources-how-to-choose-best-app__unordered-list li {
    background-color: rgba(255, 255, 255, 0.15);
}
.page-resources-how-to-choose-best-app__top-apps .page-resources-how-to-choose-best-app__unordered-list li strong {
    color: #ffffff;
}

/* Video Section */
.page-resources-how-to-choose-best-app__video-section {
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure video section is below header */
}
.page-resources-how-to-choose-best-app__video-section .page-resources-how-to-choose-best-app__section-title {
  color: #26A9E0;
}
.page-resources-how-to-choose-best-app__video-section .page-resources-how-to-choose-best-app__text-block {
  color: #f0f0f0;
}

.page-resources-how-to-choose-best-app__video-link-wrapper {
    display: block;
    text-decoration: none;
}