.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 0 60px 0; /* body handles --header-offset, so small top padding here */
  overflow: hidden;
  text-align: center;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0D0E12;
  color: #FFF3E6;
}

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #FFA53A; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-blog__sub-title {
  font-size: 1.8em;
  color: #FF8C1A; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.page-blog__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-blog__paragraph a {
  color: #FFB04D; /* Glow color for links */
  text-decoration: underline;
}

.page-blog__paragraph a:hover {
  color: #FFA53A;
}

.page-blog__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-blog__list-item strong {
  color: #FF8C1A;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
  object-fit: cover;
}

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

.page-blog__card {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
}

.page-blog__card:hover {
  transform: translateY(-5px);
}

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

.page-blog__card-title {
  font-size: 1.4em;
  color: #FF8C1A; /* Primary color */
  margin: 15px 15px 10px 15px;
  line-height: 1.3;
}

.page-blog__card-title a {
  color: #FF8C1A;
  text-decoration: none;
}

.page-blog__card-title a:hover {
  text-decoration: underline;
}

.page-blog__card-text {
  font-size: 0.95em;
  color: #FFF3E6;
  padding: 0 15px 15px 15px;
  flex-grow: 1;
}

.page-blog__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Primary color */
  border: 2px solid #A84F0C; /* Border color */
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px 15px 15px;
}

.page-blog__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
}

.page-blog__faq-list {
  margin-top: 40px;
}

.page-blog__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: bold;
  color: #FF8C1A; /* Primary color */
  background-color: #17191F;
  list-style: none; /* For details/summary */
}

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

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A; /* Auxiliary color */
}

.page-blog__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #FFF3E6;
}

.page-blog__cta-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #A84F0C;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

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

  .page-blog__sub-title {
    font-size: 1.5em;
  }

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 10px 15px 40px 15px;
  }

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

  .page-blog__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
  }

  .page-blog__content-area {
    padding: 30px 15px;
  }

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

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

  .page-blog__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-blog__paragraph, .page-blog__list-item, .page-blog__card-text {
    font-size: 0.95em;
  }

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

  .page-blog__card {
    margin-bottom: 20px;
  }

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

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

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

  .page-blog__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for card padding */
    max-width: calc(100% - 30px) !important;
    margin: 0 15px 15px 15px;
  }

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

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

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

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

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

  /* Ensure all images are responsive */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/buttons/videos */
  .page-blog__hero-image-wrapper,
  .page-blog__cards-grid,
  .page-blog__card,
  .page-blog__faq-list,
  .page-blog__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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