.page-blog {
  background-color: #08162B; /* Deep Navy as main background */
  color: #F3F8FF; /* Text Main */
  padding-top: 10px; /* Small top padding for inner page, body handles --header-offset */
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 40px;
  background: linear-gradient(180deg, #113B7A 0%, #08162B 100%);
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1600px;
  margin-bottom: 20px;
}

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

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

.page-blog__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-blog__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-blog__section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin: 50px 0 30px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #F2C14E 0%, #4FA8FF 100%); /* Gold to Glow */
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-blog__latest-articles-section,
.page-blog__featured-articles-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-blog__article-card {
  background-color: #10233F; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #244D84; /* Border */
}

.page-blog__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

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

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

.page-blog__article-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__article-meta {
  font-size: 0.875rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 10px 25px;
  background: #1D5FD1; /* Auxiliary color */
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.page-blog__view-all-button:hover {
  background-color: #2B73F6;
}

.page-blog__categories-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-blog__categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: #10233F; /* Card B G */
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: 1px solid #244D84; /* Border */
  white-space: nowrap;
}

.page-blog__category-card:hover {
  background-color: #1D5FD1;
  transform: translateY(-2px);
}

.page-blog__cta-section {
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  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: clamp(2rem, 4vw, 2.8rem);
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-blog__cta-description {
  font-size: 1.125rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 15px;
  }

  .page-blog__hero-image-wrapper {
    margin-bottom: 15px;
  }

  .page-blog__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure images are responsive */
  }

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

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

  .page-blog__section-title {
    margin: 40px 0 25px;
  }

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

  .page-blog__article-card {
    margin: 0 auto;
    max-width: 400px; /* Constrain card width on small screens */
  }

  .page-blog__article-thumbnail {
    width: 100%;
    height: 200px; /* Min height for images in cards */
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
  }

  .page-blog__article-title {
    font-size: 1.25rem;
  }

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

  .page-blog__categories-grid {
    justify-content: flex-start;
  }

  .page-blog__category-card {
    flex: 1 1 auto; /* Allow items to grow and shrink, but maintain some width */
    max-width: 100%;
  }

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

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

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

  /* Ensure all images within .page-blog are responsive and meet min size */
  .page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Global minimum for content images */
    min-height: 200px;
    object-fit: cover;
  }
}

/* Ensure images in content area are not smaller than 200px */
.page-blog__latest-articles-section img,
.page-blog__featured-articles-section img {
  min-width: 200px;
  min-height: 200px;
}