.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #121212 (dark), so text must be light */
  background-color: #121212; /* Ensure page content area also respects dark background */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height of the hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the bottom of the image for visual effect, but not *on* the image */
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, #121212 50%); /* Gradient to blend with dark background */
  color: #ffffff;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

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

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

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

.page-blog__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff; /* Ensure text is light on dark background */
  background-color: #121212;
}

.page-blog__container {
  max-width: 1000px;
  margin: 0 auto;
}

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

.page-blog__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog__paragraph {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.page-blog__highlight {
  color: #26A9E0;
  font-weight: 700;
}

.page-blog__inline-link {
  color: #EA7C07; /* Login color for inline links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-blog__inline-link:hover {
  color: #ff9933;
}

.page-blog__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-blog__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-blog__ordered-list,
.page-blog__unordered-list {
  list-style-position: inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-blog__list-item {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-blog__warning-text {
  background-color: rgba(234, 124, 7, 0.15);
  border-left: 5px solid #EA7C07;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-blog__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-blog__cta-buttons--bottom {
  margin-top: 60px;
}

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

.page-blog__faq-item {
  background-color: 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.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-blog__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
}

.page-blog__faq-item[open] .page-blog__faq-answer {
  animation: fadein 0.3s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-blog__section-title {
    font-size: 2rem;
  }
  .page-blog__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-blog__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }
  .page-blog__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-blog__description,
  .page-blog__paragraph,
  .page-blog__list-item,
  .page-blog__faq-question,
  .page-blog__faq-answer {
    font-size: 1rem;
  }
  .page-blog__section-title {
    font-size: 1.8rem;
  }
  .page-blog__sub-title {
    font-size: 1.4rem;
  }
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    margin: 5px 0 !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px !important; /* Add padding to container */
    box-sizing: border-box !important;
  }
  .page-blog__content-area {
    padding: 40px 15px;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__image-wrapper,
  .page-blog__container,
  .page-blog__faq-list,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__faq-question {
    padding: 15px 20px;
  }
  .page-blog__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}