.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Body background is light */
}

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

.page-blog__section-heading {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #113B7A;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-blog__section-title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: #113B7A;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__section-description,
.page-blog__description-text {
  font-size: 17px;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s 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);
}

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-blog__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

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

.page-blog__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog__main-title {
  color: #113B7A;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* Intro Section */
.page-blog__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-blog__intro-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Articles Section */
.page-blog__articles-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

.page-blog__article-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.page-blog__article-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__article-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-blog__article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-blog__article-card:hover .page-blog__article-image {
  transform: scale(1.05);
}

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

.page-blog__article-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.4;
}

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

.page-blog__article-summary {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1D5FD1;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-btn:hover {
  background-color: #2B73F6;
}

.page-blog__cta-area {
  text-align: center;
  margin-top: 60px;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-blog__categories-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-blog__category-card {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-blog__category-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}

.page-blog__category-desc {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Safety Section */
.page-blog__safety-section {
  padding: 80px 0;
  background-color: #113B7A; /* Main color as dark background */
  color: #F3F8FF; /* Text Main for dark background */
}

.page-blog__safety-section .page-blog__section-heading,
.page-blog__safety-section p {
  color: #F3F8FF;
  text-align: justify;
}

/* Community Section */
.page-blog__community-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

.page-blog__community-section p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog__contact-cta {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-blog__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #1B3357; /* Divider color for hover */
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-blog__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #4FA8FF; /* Glow color */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
}

details.page-blog__faq-item .page-blog__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: #AFC4E8; /* Text Secondary */
  margin: 0;
  text-align: justify;
}

/* Final CTA Section */
.page-blog__final-cta-section {
  padding: 80px 0;
  background-color: #113B7A; /* Main color as dark background */
  color: #F3F8FF; /* Text Main for dark background */
  text-align: center;
}

.page-blog__final-cta-section .page-blog__section-heading,
.page-blog__final-cta-section p {
  color: #F3F8FF;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-image {
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-blog__hero-image {
    border-radius: 8px;
  }

  .page-blog__main-title {
    font-size: clamp(28px, 6vw, 40px);
    margin-bottom: 15px;
  }

  .page-blog__description-text {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-blog__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog__intro-section,
  .page-blog__articles-section,
  .page-blog__categories-section,
  .page-blog__safety-section,
  .page-blog__community-section,
  .page-blog__faq-section,
  .page-blog__final-cta-section {
    padding: 50px 0;
  }

  .page-blog__section-heading {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 20px;
  }

  .page-blog__section-title {
    font-size: clamp(22px, 4.5vw, 30px);
    margin-bottom: 15px;
  }

  .page-blog__section-description,
  .page-blog__intro-section p,
  .page-blog__safety-section p,
  .page-blog__community-section p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
  }

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

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

  .page-blog__article-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-blog__article-summary {
    font-size: 15px;
  }

  .page-blog__read-more-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  details.page-blog__faq-item summary.page-blog__faq-question {
    padding: 15px 20px;
  }

  .page-blog__faq-qtext {
    font-size: 16px;
  }

  .page-blog__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }

  details.page-blog__faq-item .page-blog__faq-answer {
    padding: 0 20px 20px;
  }

  details.page-blog__faq-item .page-blog__faq-answer p {
    font-size: 15px;
  }

  /* Ensure all images are responsive */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-container,
  .page-blog__article-card,
  .page-blog__category-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-blog__description-text {
    font-size: 15px;
  }
  .page-blog__cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-blog__section-heading {
    font-size: clamp(20px, 6vw, 28px);
  }
  .page-blog__section-title {
    font-size: clamp(18px, 5.5vw, 26px);
  }
  .page-blog__intro-section p,
  .page-blog__safety-section p,
  .page-blog__community-section p {
    font-size: 15px;
  }
  .page-blog__article-title {
    font-size: 17px;
  }
  .page-blog__article-summary {
    font-size: 14px;
  }
  .page-blog__category-title {
    font-size: 18px;
  }
  .page-blog__category-desc {
    font-size: 14px;
  }
  .page-blog__faq-qtext {
    font-size: 15px;
  }
}