.page-blog {
  color: #ffffff; /* Body background is dark (#0d0d1a), so text should be light */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0d0d1a; /* Match body background for consistency */
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 30px;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog__hero-content {
  max-width: 900px;
  text-align: center;
  color: #ffffff;
}

.page-blog__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog__intro-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.page-blog__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-blog__btn-secondary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog__btn-secondary:hover {
  background: #c26705;
  border-color: #c26705;
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #ffffff; /* Text color for content area on dark body background */
}

.page-blog__article {
  line-height: 1.7;
}

.page-blog__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog__sub-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #EA7C07;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__content-area p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-blog__image-in-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 800px; /* Recommended size for content images */
}

.page-blog__cta-bottom {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-blog__related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog__post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-blog__post-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-blog__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__card-content {
  padding: 20px;
}

.page-blog__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-blog__card-title a {
  color: #26A9E0; /* Link color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
  color: #EA7C07;
}

.page-blog__card-excerpt {
  font-size: 0.95rem;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-blog__post-date {
  font-size: 0.85rem;
  color: #888888;
}

.page-blog__faq-list {
  margin-top: 40px;
}

.page-blog__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-blog__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for details/summary */
}

.page-blog__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #EA7C07;
}

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−';
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.5rem;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
  .page-blog__sub-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-blog__main-title {
    font-size: 2rem; /* Use default font-size for h1 or a clamp() if needed */
    line-height: 1.3;
  }

  .page-blog__intro-text {
    font-size: 1rem;
  }

  .page-blog__cta-button {
    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-top: 15px;
  }

  .page-blog__hero-content .page-blog__cta-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .page-blog__content-area {
    padding: 20px 15px;
  }

  .page-blog__section-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog__sub-title {
    font-size: 1.3rem;
  }

  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__content-area,
  .page-blog__related-posts,
  .page-blog__post-grid,
  .page-blog__post-card,
  .page-blog__faq-list,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .page-blog__image-in-content {
    margin-left: 0;
    margin-right: 0;
  }
}