.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF;
  background-color: #08162B; /* Deep Navy as main background for contrast with cards */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

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

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-blog__hero-title {
  color: #F2C14E; /* Gold for main title */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
}

.page-blog__hero-description {
  color: #F3F8FF; /* Text Main */
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-blog__section {
  padding: 40px 20px;
  background-color: #08162B; /* Deep Navy */
}

.page-blog__dark-section {
  background-color: #113B7A; /* Main color for dark sections */
  color: #F3F8FF; /* Text Main */
}

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

.page-blog__heading {
  color: #F2C14E; /* Gold for headings */
  text-align: center;
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.page-blog__text {
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
}

.page-blog__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 800px;
}

.page-blog__list-item {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-blog__list-item strong {
  color: #F2C14E; /* Gold */
}

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

.page-blog__card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
}

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

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

.page-blog__card-title {
  color: #F2C14E; /* Gold */
  font-size: 1.4rem;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-blog__card-excerpt {
  color: #AFC4E8; /* Text Secondary */
  font-size: 0.95rem;
  padding: 0 20px 15px;
  margin: 0;
}

.page-blog__read-more {
  display: block;
  color: #4FA8FF; /* Glow */
  font-weight: bold;
  padding: 0 20px 20px;
  text-decoration: none;
}

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

.page-blog__image-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-blog__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #244D84; /* Border */
}

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

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

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #10233F; /* Card BG */
  border-bottom: 1px solid #1B3357; /* Divider */
  list-style: none; /* For details/summary */
}

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

.page-blog__faq-question .page-blog__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #4FA8FF; /* Glow */
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-blog__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-blog__btn-secondary:hover {
  background-color: #F2C14E;
  color: #08162B; /* Deep Navy */
  transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-blog {
    font-size: 15px;
  }

  .page-blog__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-blog__hero-description {
    font-size: 0.95rem;
  }

  .page-blog__section {
    padding: 30px 15px;
  }

  .page-blog__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-blog__text {
    font-size: 0.9rem;
  }

  .page-blog__list-item {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .page-blog__post-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__card-image {
    height: 180px;
  }

  .page-blog__card-title {
    font-size: 1.2rem;
    padding: 12px 15px 8px;
  }

  .page-blog__card-excerpt {
    font-size: 0.85rem;
    padding: 0 15px 12px;
  }

  .page-blog__read-more {
    padding: 0 15px 15px;
  }

  .page-blog__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

  .page-blog__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Image responsive rules */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog__hero-image-wrapper,
  .page-blog__image-container,
  .page-blog__post-card,
  .page-blog__faq-item,
  .page-blog__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

/* Ensure contrast for default body (white) if no specific background */
.page-blog p, .page-blog li, .page-blog span {
  color: #AFC4E8; /* Default text color for general content */
}

.page-blog h1, .page-blog h2, .page-blog h3, .page-blog h4, .page-blog h5, .page-blog h6 {
  color: #F2C14E; /* Default heading color */
}