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

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

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

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

.page-blog__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: #1F2D3D;
  margin-bottom: 20px;
}

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

.page-blog__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
}

.page-blog__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-blog__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.page-blog__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.2);
  display: block;
}

.page-blog__posts-section,
.page-blog__cta-section,
.page-blog__faq-section,
.page-blog__about-section {
  padding: 60px 0;
}

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

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

.page-blog__post-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-blog__post-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #1F2D3D;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #1F2D3D;
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-blog__post-date {
  font-size: 0.85em;
  color: #6FA3FF;
  display: block;
}

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

.page-blog__cta-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-blog__cta-section .page-blog__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-blog__cta-section .page-blog__description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-blog__dark-section .page-blog__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF;
  border-color: #FFFFFF;
}

.page-blog__dark-section .page-blog__btn-secondary:hover {
  background: #E0EFFF;
  color: #2F6BFF;
}

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

.page-blog__faq-item {
  background: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
}

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

.page-blog__faq-question::marker {
  display: none;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

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

.page-blog__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-blog__faq-answer p {
  margin: 0;
}

.page-blog__about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-blog__about-image {
  flex: 1 1 40%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: block;
}

.page-blog__about-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-blog__about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-blog__copyright-section {
  padding: 30px 0;
  background-color: #1F2D3D;
  text-align: center;
}

.page-blog__copyright-text {
  color: #FFFFFF;
  font-size: 0.9em;
  margin: 0;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.5em;
  }

  .page-blog__hero-description {
    font-size: 1em;
  }

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

  .page-blog__section-title {
    font-size: 2em;
  }
}

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

  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
  }

  .page-blog__hero-content {
    order: 2;
    text-align: center;
    width: 100%;
  }

  .page-blog__hero-image-wrapper {
    order: 1;
    width: 100%;
  }

  .page-blog__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-blog__cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .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;
  }

  .page-blog__posts-section,
  .page-blog__cta-section,
  .page-blog__faq-section,
  .page-blog__about-section {
    padding: 40px 0;
  }

  .page-blog__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-blog__post-thumbnail {
    height: 180px;
  }

  .page-blog__post-title {
    font-size: 1.2em;
  }

  .page-blog__cta-section .page-blog__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-blog__about-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-blog__about-image {
    width: 100%;
  }

  .page-blog__about-text {
    width: 100%;
  }

  /* General image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-blog__container,
  .page-blog__post-card,
  .page-blog__faq-item,
  .page-blog__about-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}