.page-blog__hero-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; padding-bottom: 40px; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; position: relative; overflow: hidden; }
.page-blog__hero-image { width: 100%; height: 600px; overflow: hidden; position: relative; }
.page-blog__hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.7); }
.page-blog__hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; max-width: 900px; width: 90%; padding: 20px; box-sizing: border-box; }
.page-blog__main-title { font-size: 3.2em; line-height: 1.2; font-weight: 700; margin-bottom: 20px; color: #ffffff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
.page-blog__hero-description { font-size: 1.2em; line-height: 1.6; margin-bottom: 30px; color: #f0f0f0; }
.page-blog__btn-primary { display: inline-block; padding: 15px 30px; border-radius: 8px; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; text-decoration: none; font-weight: 600; font-size: 1.1em; transition: all 0.3s ease; border: none; cursor: pointer; }
.page-blog__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); }

.page-blog__latest-posts, .page-blog__categories, .page-blog__featured-article { padding: 60px 0; }
.page-blog__light-bg { background-color: #F4F7FB; color: #1F2D3D; }
.page-blog__dark-bg { background-color: #2F6BFF; color: #ffffff; }
.page-blog__container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-blog__section-title { font-size: 2.5em; font-weight: 700; text-align: center; margin-bottom: 20px; color: #1F2D3D; }
.page-blog__dark-bg .page-blog__section-title { color: #ffffff; }
.page-blog__section-description { font-size: 1.1em; text-align: center; margin-bottom: 40px; color: #666666; }
.page-blog__dark-bg .page-blog__section-description { color: #f0f0f0; }

.page-blog__blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.page-blog__blog-card { background-color: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.page-blog__blog-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.page-blog__blog-card-link { text-decoration: none; color: inherit; display: block; }
.page-blog__blog-card-image { position: relative; width: 100%; height: 200px; overflow: hidden; }
.page-blog__blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-blog__blog-date { position: absolute; top: 15px; left: 15px; background-color: #2F6BFF; color: #ffffff; padding: 8px 12px; border-radius: 6px; font-size: 0.9em; font-weight: 600; }
.page-blog__blog-card-body { padding: 25px; text-align: left; }
.page-blog__blog-card-title { font-size: 1.4em; font-weight: 700; margin-bottom: 10px; color: #1F2D3D; line-height: 1.4; }
.page-blog__blog-divider { width: 40px; height: 3px; background-color: #D6E2FF; margin-bottom: 15px; }
.page-blog__blog-excerpt { font-size: 0.95em; color: #666666; line-height: 1.6; }
.page-blog__view-all-button { text-align: center; margin-top: 50px; }
.page-blog__btn-secondary { display: inline-block; padding: 15px 30px; border-radius: 8px; background-color: #ffffff; color: #2F6BFF; border: 2px solid #2F6BFF; text-decoration: none; font-weight: 600; font-size: 1.1em; transition: all 0.3s ease; cursor: pointer; }
.page-blog__btn-secondary:hover { background-color: #2F6BFF; color: #ffffff; box-shadow: 0 8px 15px rgba(47, 107, 255, 0.3); }

.page-blog__category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.page-blog__category-card { background-color: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); text-decoration: none; color: #1F2D3D; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; padding-bottom: 20px; }
.page-blog__category-card:hover { transform: translateY(-8px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.page-blog__category-card img { width: 100%;  object-fit: cover; display: block; margin-bottom: 15px; }
.page-blog__category-title { font-size: 1.3em; font-weight: 700; color: #1F2D3D; padding: 0 15px; }

.page-blog__article-content { max-width: 800px; margin: 0 auto; line-height: 1.8; font-size: 1.05em; color: #1F2D3D; }
.page-blog__article-content p { margin-bottom: 20px; }
.page-blog__article-content h3 { font-size: 1.8em; font-weight: 700; margin-top: 40px; margin-bottom: 20px; color: #2F6BFF; }
.page-blog__figure { margin: 30px 0; text-align: center; }
.page-blog__figure img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.page-blog__figcaption { font-size: 0.9em; color: #666666; margin-top: 10px; }
.page-blog__cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }

/* General image responsive styles */
.page-blog img { max-width: 100%; height: auto; display: block; }

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-blog__hero-section { padding-bottom: 30px; }
  .page-blog__hero-image { height: 400px; }
  .page-blog__hero-content { top: 60%; transform: translate(-50%, -60%); width: 95%; }
  .page-blog__main-title { font-size: 2em; margin-bottom: 15px; }
  .page-blog__hero-description { font-size: 0.95em; margin-bottom: 20px; }
  .page-blog__btn-primary { padding: 12px 20px; font-size: 1em; }

  .page-blog__latest-posts, .page-blog__categories, .page-blog__featured-article { padding: 40px 0; }
  .page-blog__container { padding: 0 15px; max-width: 100%; width: 100%; box-sizing: border-box; }
  .page-blog__section-title { font-size: 1.8em; margin-bottom: 15px; }
  .page-blog__section-description { font-size: 0.9em; margin-bottom: 30px; }

  .page-blog__blog-grid { grid-template-columns: 1fr; gap: 25px; }
  .page-blog__blog-card-image { height: 180px; }
  .page-blog__blog-date { top: 10px; left: 10px; padding: 6px 10px; font-size: 0.8em; }
  .page-blog__blog-card-body { padding: 20px; }
  .page-blog__blog-card-title { font-size: 1.2em; }
  .page-blog__blog-excerpt { font-size: 0.9em; }
  .page-blog__view-all-button { margin-top: 40px; }
  .page-blog__btn-secondary { padding: 12px 20px; font-size: 1em; }

  .page-blog__category-grid { grid-template-columns: 1fr; gap: 25px; }
  .page-blog__category-card img {  }
  .page-blog__category-title { font-size: 1.1em; }

  .page-blog__article-content { font-size: 1em; padding: 0; }
  .page-blog__article-content h3 { font-size: 1.5em; margin-top: 30px; margin-bottom: 15px; }
  .page-blog__figure { margin: 20px 0; }
  .page-blog__figcaption { font-size: 0.8em; }
  .page-blog__cta-buttons { flex-direction: column; gap: 15px; margin-top: 30px; padding: 0 15px; }
  .page-blog__btn-primary, .page-blog__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General image responsive styles for mobile */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog__section, .page-blog__card, .page-blog__container, .page-blog__article-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}