.page-blog {
  padding-top: 10px; /* Minimal padding for first section */
  background-color: #F4F7FB; /* Background color for the page */
  color: #1F2D3D; /* Main text color */
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1390px;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  text-align: center;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-blog__hero-content {
  max-width: 900px;
}

.page-blog__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
  max-width: 100%;
}

.page-blog__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-blog__posts-section {
  max-width: 1390px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-blog__posts-heading {
  font-size: 2.2em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

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

.page-blog__post-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border color */
}

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

.page-blog__post-link-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

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

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

.page-blog__post-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-meta {
  font-size: 0.9em;
  color: #6FA3FF; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D;
  flex-grow: 1;
}

.page-blog__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-blog__view-all-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog__cta-section {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color as background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-blog__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFFFFF;
  color: #2F6BFF; /* Main color for text */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
  background-color: #e6e6e6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-blog__hero-title {
    font-size: clamp(2em, 4vw, 3.5em);
  }

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-blog__posts-section {
    margin: 30px auto;
    padding: 0 15px;
  }

  .page-blog__posts-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-blog__cta-section {
    padding: 40px 15px;
  }

  .page-blog__cta-title {
    font-size: 1.8em;
  }

  .page-blog__cta-description {
    font-size: 1em;
  }

  .page-blog__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  /* Mobile overflow prevention */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__hero-image-wrapper {
    border-radius: 8px;
  }

  .page-blog__post-card {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

  .page-blog__hero-description {
    font-size: 0.9em;
  }

  .page-blog__posts-heading {
    font-size: 1.6em;
  }

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

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

  .page-blog__cta-title {
    font-size: 1.5em;
  }
}