.page-blog__hero-section {
  padding-top: 10px; /* Minimal top spacing, relying on body padding for header offset */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-blog__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-blog__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Slightly darken image for text readability */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-blog__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  color: #f0f0f0;
}

.page-blog__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__posts-section {
  padding: 60px 0;
  background: #F4F7FB; /* Background color from custom配色 */
  color: #1F2D3D; /* Text color from custom配色 */
}

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

.page-blog__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text color from custom配色 */
}

.page-blog__post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-blog__post-card {
  background: #FFFFFF; /* Card background from custom配色 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #1F2D3D;
  border: 1px solid #D6E2FF;
}

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

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

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

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

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

.page-blog__post-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more {
  font-weight: 600;
  color: #2F6BFF;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.page-blog__post-link:hover .page-blog__read-more {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog__view-all-wrapper {
  text-align: center;
}

.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #FFFFFF;
  color: #2F6BFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  cursor: pointer;
  font-size: 1.1em;
}

.page-blog__btn-secondary:hover {
  background: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__faq-section {
  padding: 60px 0;
  background: #6FA3FF; /* Auxiliary color as background */
  color: #000000; /* Custom Color_1776249996415 */
}

.page-blog__faq-section .page-blog__section-title {
  color: #000000;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color from custom配色 */
  overflow: hidden;
  background: #ffffff; /* Card background from custom配色 */
}

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

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: #f5f5f5;
}

.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #F9F9F9; /* Lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #333333;
  font-size: 0.95em;
  line-height: 1.6;
}

.page-blog__cta-section {
  padding: 80px 0;
  background: #2F6BFF; /* Main color as background */
  color: #ffffff;
  text-align: center;
}

.page-blog__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-blog__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog__btn-cta {
  min-width: 180px;
}

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

/* General button responsive style */
.page-blog__cta-button,
.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog a[class*="button"],
.page-blog a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button container responsive style */
.page-blog__cta-buttons,
.page-blog__button-group,
.page-blog__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important; /* Override any potential body padding from shared */
  }

  .page-blog__hero-content {
    padding: 60px 20px;
    min-height: 400px;
  }

  .page-blog__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* clamp for responsive H1 */
    margin-bottom: 15px;
  }

  .page-blog__description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-blog__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog__posts-section {
    padding: 40px 0;
  }

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

  .page-blog__post-grid {
    grid-template-columns: 1fr; /* Single column for blog posts */
    gap: 25px;
  }

  .page-blog__post-image {
    height: 180px; /* Adjust image height for mobile */
  }

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

  .page-blog__post-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-blog__post-excerpt {
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .page-blog__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog__faq-section {
    padding: 40px 0;
  }

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

  .page-blog__faq-qtext {
    font-size: 1em;
  }

  .page-blog__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

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

  .page-blog__cta-section {
    padding: 50px 0;
  }

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

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

  .page-blog__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 20px;
  }

  .page-blog__btn-cta {
    width: 100% !important; /* Ensure buttons take full width */
  }

  /* Mandatory image and container responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog__hero-section,
  .page-blog__posts-section,
  .page-blog__faq-section,
  .page-blog__cta-section,
  .page-blog__container,
  .page-blog__post-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Specific override for hero section padding to avoid double padding */
  .page-blog__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-blog__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap if needed */
    gap: 10px;
  }

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

/* Media Queries for Tablet (max-width: 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-blog__hero-content {
    padding: 80px 30px;
  }

  .page-blog__main-title {
    font-size: 2.8em;
  }

  .page-blog__description {
    font-size: 1.1em;
  }

  .page-blog__post-grid {
    grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    gap: 25px;
  }

  .page-blog__post-image {
    height: 200px;
  }

  .page-blog__cta-title {
    font-size: 2.4em;
  }

  .page-blog__cta-description {
    font-size: 1.05em;
  }

  .page-blog__cta-buttons {
    gap: 15px;
  }
}