.page-blog {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, main padding from body */
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1390px;
  margin: 0 auto 40px auto;
  padding: 20px;
  text-align: center;
  background-color: #0a0909; /* Deep red/wine red background */
  border-radius: 10px;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-blog__hero-content {
  width: 100%;
  padding: 0 20px;
  color: #FFFFFF;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #d6d604; /* Accent color for H1 */
}

.page-blog__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog__posts-section {
  max-width: 1390px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-blog__post-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, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

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

.page-blog__card-image-wrapper {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  overflow: hidden;
}

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

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

.page-blog__card-date {
  font-size: 0.9em;
  color: #6FA3FF;
  margin-bottom: 10px;
}

.page-blog__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  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;
}

.page-blog__card-excerpt {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-blog__card-link {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__card-link:hover {
  color: #4A8BFF;
}

.page-blog__cta-section {
  background-color: #2F6BFF; /* Primary color background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
  border-radius: 10px;
  max-width: 1390px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.page-blog__cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, #6FA3FF 0%, transparent 70%);
  opacity: 0.2;
  z-index: 0;
}

.page-blog__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-blog__cta-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #d6d604; /* Accent color for CTA title */
}

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

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

@media (max-width: 768px) {
  .page-blog__hero-section,
  .page-blog__posts-section,
  .page-blog__cta-section {
    margin-left: 10px;
    margin-right: 10px;
    padding: 15px;
  }
  .page-blog__hero-content {
    padding: 0;
  }
  .page-blog__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-blog__description {
    font-size: 1em;
  }
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__post-card {
    margin-bottom: 20px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__button {
    padding: 10px 20px;
  }
  /* Ensure images in content areas are responsive and don't overflow */
  .page-blog__posts-grid img, .page-blog__hero-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 1.5em;
  }
  .page-blog__hero-section {
    padding: 10px;
  }
  .page-blog__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-blog__button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-blog__card-image-wrapper {
    height: 180px;
  }
  .page-blog__card-title {
    font-size: 1.1em;
  }
  .page-blog__card-excerpt {
    font-size: 0.9em;
  }
}