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

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  margin-bottom: 40px;
  background-color: #F4F7FB;
}

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

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

.page-blog__hero-content {
  padding: 20px;
  max-width: 800px;
  margin-top: 20px;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
  /* Use clamp for responsive font-size if absolutely necessary, but avoid fixed large values */
  /* Example: font-size: clamp(2.2rem, 5vw, 3.5rem); */
}

.page-blog__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1F2D3D;
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  min-width: 200px; /* Ensure button is not too small */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-blog__posts-section {
  padding: 40px 20px;
  background-color: #F4F7FB;
}

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

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

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

.page-blog__post-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1F2D3D;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 400px; /* Ensure cards are not too small */
}

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

.page-blog__card-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

.page-blog__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__card-excerpt {
  font-size: 0.95rem;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__card-date {
  font-size: 0.85rem;
  color: #6FA3FF;
  margin-bottom: 15px;
}

.page-blog__read-more {
  color: #2F6BFF;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
}

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

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  min-width: 200px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-blog__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__main-title {
    font-size: 2rem;
  }

  .page-blog__description {
    font-size: 1rem;
  }

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

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

  .page-blog__hero-content {
    padding: 15px;
  }

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

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

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

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

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: 1.8rem;
  }

  .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

  .page-blog__view-all-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}