.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Custom background color */
}

.page-blog__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  padding-bottom: 60px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-blog__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
}

.page-blog__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1F2D3D; /* Text Main */
}

.page-blog__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-blog__hero-image {
  flex: 1 1 40%;
  text-align: center;
}

.page-blog__hero-side-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-blog__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-blog__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog__section-title--white {
  color: #ffffff;
}

.page-blog__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #1F2D3D;
}

.page-blog__dark-bg .page-blog__section-description {
  color: #f0f0f0;
}

/* Intro Section */
.page-blog__intro-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-blog__icon-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-blog__icon-box {
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(33% - 20px);
  max-width: 350px;
  box-sizing: border-box;
  border: 1px solid #D6E2FF; /* Border */
}

.page-blog__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #A5C4FF; /* Glow */
}

.page-blog__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog__icon-box-text {
  font-size: 1rem;
  color: #1F2D3D;
}

/* Featured Articles Section */
.page-blog__featured-articles {
  padding: 60px 0;
  background-color: #F4F7FB;
}

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

.page-blog__article-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-blog__article-thumbnail-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
}

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

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

.page-blog__article-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
  flex-grow: 1;
}

.page-blog__article-meta {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__article-excerpt {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__read-more-btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2F6BFF; /* Primary color */
  text-decoration: none;
}

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

.page-blog__view-all-btn-container {
  text-align: center;
  margin-top: 50px;
}

/* Latest Articles Section */
.page-blog__latest-articles {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-blog__articles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

.page-blog__article-list-item {
  display: flex;
  gap: 20px;
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #D6E2FF; /* Border */
}

.page-blog__article-thumbnail-wrapper-small {
  flex-shrink: 0;
  width: 250px;
  height: 140px;
  overflow: hidden;
}

.page-blog__article-thumbnail-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__article-list-content {
  padding: 20px;
  flex-grow: 1;
}

.page-blog__article-list-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #000000; /* Custom Color_1776249996415 */
  text-decoration: none;
  display: block;
}

.page-blog__article-list-title:hover {
  text-decoration: underline;
  color: #2F6BFF; /* Primary color */
}

.page-blog__article-meta-small {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 10px;
}

.page-blog__article-list-excerpt {
  font-size: 0.95rem;
  color: #1F2D3D;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient for dark bg */
  color: #ffffff;
}

.page-blog__faq-items {
  max-width: 800px;
  margin: 40px auto 0;
}

.page-blog__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.page-blog__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  position: relative;
}

.page-blog__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog__faq-item summary::before {
  content: ''; /* Remove default marker */
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 0 25px 18px;
  font-size: 1rem;
  color: #f0f0f0;
}

/* CTA Section */
.page-blog__cta-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
  background-color: #ffffff; /* Card BG */
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Primary color for border */
}

.page-blog__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__hero-content,
  .page-blog__hero-image {
    flex: 1 1 100%;
  }

  .page-blog__hero-cta-buttons {
    justify-content: center;
  }

  .page-blog__icon-box {
    flex: 1 1 calc(50% - 15px);
    max-width: 450px;
  }

  .page-blog__article-list-item {
    flex-direction: column;
  }

  .page-blog__article-thumbnail-wrapper-small {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding, assuming shared.css handles body padding */
    padding-bottom: 40px;
  }

  .page-blog__hero-container {
    padding: 40px 15px;
    gap: 30px;
  }

  .page-blog__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    text-align: center;
  }

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

  .page-blog__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Module 1 (Intro Section) */
  .page-blog__intro-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    padding: 0 15px;
  }

  .page-blog__section-description {
    font-size: 1rem;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-blog__icon-boxes {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
  }

  .page-blog__icon-box {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 25px;
  }

  .page-blog__icon-box-media {
    width: 150px; /* Still square */
    height: 150px; /* Still square */
    margin-bottom: 15px;
    border-width: 3px;
  }

  /* Featured Articles Section */
  .page-blog__featured-articles {
    padding: 40px 0;
  }

  .page-blog__articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog__article-card {
    padding: 0;
  }

  .page-blog__article-thumbnail-wrapper {
    height: 180px;
  }

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

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

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

  .page-blog__view-all-btn-container {
    margin-top: 40px;
    padding: 0 15px;
  }

  /* Latest Articles Section */
  .page-blog__latest-articles {
    padding: 40px 0;
  }

  .page-blog__articles-list {
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog__article-list-item {
    flex-direction: column;
    gap: 0;
  }

  .page-blog__article-thumbnail-wrapper-small {
    width: 100%;
    height: 180px;
  }

  .page-blog__article-list-content {
    padding: 15px;
  }

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

  .page-blog__article-meta-small,
  .page-blog__article-list-excerpt {
    font-size: 0.85rem;
  }

  /* FAQ Section */
  .page-blog__faq-section {
    padding: 40px 0;
  }

  .page-blog__faq-items {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-blog__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-blog__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* CTA Section */
  .page-blog__cta-section {
    padding: 40px 0;
  }

  /* Buttons */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    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;
  }

  .page-blog__hero-cta-buttons,
  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px;
  }

  /* Universal image 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__container {
    padding: 0;
  }

  .page-blog__icon-box-media {
    width: 150px; /* Still square */
    height: 150px; /* Still square */
  }
}