.page-blog {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as per rule */
  margin-bottom: 40px;
  background-color: #2F6BFF; /* Using primary color as a base for hero section */
  color: #FFFFFF;
  padding-bottom: 40px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Match hero image max width */
  margin-bottom: 30px;
}

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

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
}

.page-blog__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #D6E2FF; /* Using a lighter shade for description */
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-button--secondary {
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using auxiliary color for secondary button */
}

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

.page-blog__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-blog__latest-posts {
  padding: 40px 0;
  background-color: #F4F7FB;
}

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

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

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

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

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

.page-blog__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__card-title a {
  color: #000000; /* Custom Color_1776249996415 */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-title a:hover {
  color: #2F6BFF; /* Primary color on hover */
}

.page-blog__card-meta {
  font-size: 0.9rem;
  color: #6FA3FF; /* Auxiliary color for meta info */
  margin-bottom: 15px;
}

.page-blog__card-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-blog__read-more {
  display: inline-block;
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #6FA3FF; /* Auxiliary color on hover */
}

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

.page-blog__about-blog {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-blog__about-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
}

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

@media (max-width: 768px) {
  .page-blog__hero-content {
    padding: 0 15px;
  }

  .page-blog__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-blog__hero-description {
    font-size: 1rem;
  }

  .page-blog__section-title {
    font-size: 1.8rem;
  }

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

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

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

  .page-blog__card-excerpt {
    font-size: 0.95rem;
  }

  .page-blog__about-content p {
    font-size: 1rem;
  }

  /* Enforce image max-width for mobile to prevent overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .page-blog__section-title {
    font-size: 1.6rem;
  }
}