.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0; /* Padding-top: 0 as per instructions */
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-blog__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.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.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-blog__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-blog__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  margin-left: 15px;
}

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

/* Section Titles */
.page-blog__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__dark-section .page-blog__section-title {
  color: #ffffff;
}

/* Category Section / News Section */
.page-blog__category-section,
.page-blog__news-section {
  padding: 60px 0;
}

.page-blog__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-blog__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-blog__card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__card:hover {
  transform: translateY(-5px);
}

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

.page-blog__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-blog__card-title a:hover {
  text-decoration: underline;
}

.page-blog__card-meta {
  font-size: 0.9em;
  color: #777777;
  margin-bottom: 15px;
}

.page-blog__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  text-decoration: underline;
}

.page-blog__card--news {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-blog__card--news .page-blog__card-title a {
  color: #ffffff;
}

.page-blog__card--news .page-blog__card-meta,
.page-blog__card--news .page-blog__card-description {
  color: #f0f0f0;
}

.page-blog__card--news .page-blog__read-more {
  color: #EA7C07;
}

.page-blog__view-all-wrapper {
  text-align: center;
}

.page-blog__view-all-wrapper .page-blog__btn-secondary {
  color: #26A9E0;
  border-color: #26A9E0;
  background-color: transparent;
  margin-left: 0; /* Override default margin */
}

.page-blog__dark-section .page-blog__view-all-wrapper .page-blog__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-blog__dark-section .page-blog__view-all-wrapper .page-blog__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
}

.page-blog__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7ff; /* Lighter shade of brand color */
  border-bottom: 1px solid #d0edff;
  list-style: none;
}

.page-blog__faq-question::-webkit-details-marker {
  display: none;
}

.page-blog__faq-question:hover {
  background-color: #d0edff;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-blog__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  color: #555555;
  background-color: #ffffff;
}

.page-blog__faq-answer p {
  margin: 0;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-blog__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

  .page-blog__section-title {
    font-size: 2em;
  }

  .page-blog__card-title {
    font-size: 1.2em;
  }

  .page-blog__card-image {
    height: 180px;
  }
}

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

  .page-blog__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-blog__hero-content {
    padding: 30px 15px;
  }

  .page-blog__main-title {
    font-size: 2em; /* Adjusted for mobile */
    line-height: 1.3;
  }

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

  /* Buttons */
  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    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-left: 0 !important; /* Reset margin for stacking */
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section Titles */
  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Category/News Section */
  .page-blog__category-section,
  .page-blog__news-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__card {
    margin-bottom: 0;
  }

  .page-blog__card-image {
    height: 180px;
  }

  .page-blog__card-title {
    font-size: 1.1em;
  }

  .page-blog__card-description {
    font-size: 0.95em;
  }

  /* Universal Image Adaption (excluding specific small elements) */
  .page-blog img:not(.page-blog__logo-item) {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ Section */
  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog__faq-answer {
    padding: 10px 20px;
  }

  /* View all wrapper */
  .page-blog__view-all-wrapper .page-blog__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* LOGO carousel (if present, keep 80x80) - This page doesn't have it, but for completeness */
  /* .page-blog__logo-item { */
  /*   width: 80px !important; */
  /*   height: 80px !important; */
  /*   max-width: 80px !important; */
  /*   box-sizing: border-box; */
  /* } */
}