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

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Adjusted for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-blog__hero-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.page-blog__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -100px; /* Overlap slightly with image for visual effect */
}

.page-blog__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #2F6BFF; /* Primary Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

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

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button Gradient */
  color: #FFFFFF;
  border: none;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-blog__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-blog__btn-secondary {
  background: #FFFFFF;
  color: #2F6BFF; /* Primary Color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__btn-secondary:hover {
  background: #F4F7FB;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-blog__introduction-section,
.page-blog__categories-section,
.page-blog__benefits-section,
.page-blog__faq-section,
.page-blog__cta-bottom-section {
  padding: 60px 20px;
  background-color: #F4F7FB; /* Background */
  text-align: center;
}

.page-blog__section-title {
  font-size: 38px;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 25px;
  font-weight: 700;
}

.page-blog__description-text,
.page-blog__text-block {
  font-size: 17px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-blog__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 30px;
  display: block;
}

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

.page-blog__category-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__card-title {
  font-size: 24px;
  color: #2F6BFF; /* Primary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__card-text {
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
}

.page-blog__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-blog__card-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-blog__card-list li a {
  color: #6FA3FF; /* Auxiliary Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__card-list li a:hover {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-blog__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #2F6BFF; /* Primary Color */
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.page-blog__card-button:hover {
  background: #4A8BFF;
}

/* Benefits Section */
.page-blog__benefits-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-blog__benefits-list li {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #1F2D3D; /* Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-blog__benefits-list li strong {
  color: #2F6BFF; /* Primary Color */
}

/* FAQ Section */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
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;
}
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: #F4F7FB; /* Background */
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Primary Color */
  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: #fcfcfc;
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}

.page-blog__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog__faq-answer a {
    color: #6FA3FF;
    text-decoration: none;
}

.page-blog__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Bottom Section */
.page-blog__cta-bottom-section {
  background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Using brand colors for a vibrant CTA */
  color: #FFFFFF;
  padding: 80px 20px;
}

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

.page-blog__cta-bottom-section .page-blog__description-text {
  color: #FFFFFF;
}

.page-blog__cta-bottom-section .page-blog__content-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-bottom-section .page-blog__btn-primary {
  background: #FFFFFF;
  color: #2F6BFF; /* Primary Color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-bottom-section .page-blog__btn-primary:hover {
  background: #F4F7FB;
  transform: translateY(-3px);
}

.page-blog__cta-bottom-section .page-blog__btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: none;
}

.page-blog__cta-bottom-section .page-blog__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.page-blog__cta-bottom-section .page-blog__description-text a {
    color: #A5C4FF;
    text-decoration: underline;
}

.page-blog__cta-bottom-section .page-blog__description-text a:hover {
    color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-blog__main-title {
    font-size: 42px;
  }

  .page-blog__section-title {
    font-size: 32px;
  }

  .page-blog__description,
  .page-blog__description-text,
  .page-blog__text-block {
    font-size: 16px;
  }

  .page-blog__category-card {
    padding: 25px;
  }

  .page-blog__card-title {
    font-size: 22px;
  }

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
  }

  .page-blog__hero-image {
    height: 300px;
  }

  .page-blog__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__hero-content {
    margin-top: -50px;
    padding: 25px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__main-title {
    font-size: clamp(28px, 8vw, 36px) !important;
    margin-bottom: 15px;
  }

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

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

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    padding: 12px 20px;
    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__introduction-section,
  .page-blog__categories-section,
  .page-blog__benefits-section,
  .page-blog__faq-section,
  .page-blog__cta-bottom-section {
    padding: 40px 15px;
  }

  .page-blog__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__section-title {
    font-size: 28px !important;
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .page-blog__description-text,
  .page-blog__text-block {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: left;
  }

  .page-blog__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

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

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

  .page-blog__card-title {
    font-size: 20px;
  }

  .page-blog__card-text,
  .page-blog__card-list li {
    font-size: 15px;
  }

  .page-blog__benefits-list {
    margin-top: 30px;
  }

  .page-blog__benefits-list li {
    padding: 18px 20px;
    font-size: 15px;
  }

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

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

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

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

  .page-blog__cta-bottom-section {
    padding: 60px 15px;
  }
}

/* Ensure all images and containers are responsive */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__section,
.page-blog__card,
.page-blog__container,
.page-blog__hero-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile specific overrides for images and containers */
@media (max-width: 768px) {
  .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-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__introduction-section .page-blog__container,
  .page-blog__categories-section .page-blog__container,
  .page-blog__benefits-section .page-blog__container,
  .page-blog__faq-section .page-blog__container,
  .page-blog__cta-bottom-section .page-blog__container {
      padding-left: 15px !important;
      padding-right: 15px !important;
  }
}