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

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

.page-blog__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-blog__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #FF8C1A; /* Primary */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-blog__section-subtitle {
  font-size: clamp(22px, 3vw, 30px);
  color: #FFA53A; /* Accent */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  color: #FFF3E6;
}

.page-blog__article-body p {
  margin-bottom: 1em;
}

.page-blog__article-body ul,
.page-blog__article-body ol {
  list-style-position: inside;
  margin-bottom: 1em;
  padding-left: 20px;
}

.page-blog__article-body li {
  margin-bottom: 0.5em;
}

.page-blog__article-body strong {
  color: #FFA53A;
}

/* Hero Section */
.page-blog__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background: #0D0E12;
  color: #FFF3E6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-blog__hero-section .page-blog__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-blog__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-blog__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-blog__hero-description {
  font-size: 19px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-blog__hero-cta {
  padding: 15px 30px;
  font-size: 20px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 140, 26, 0.4);
}

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

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

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

.page-blog__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.2);
}

.page-blog__cta-wrapper {
  margin-top: 40px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-blog__cta-wrapper--final {
  margin-top: 50px;
}

/* Image Styling */
.page-blog__image-wrapper {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-blog__image-caption {
  font-size: 14px;
  color: #A84F0C; /* Border */
  padding: 10px;
  background-color: #17191F;
}

/* Section Backgrounds */
.page-blog__dark-bg {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-blog__light-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

/* FAQ Section */
.page-blog__faq-section {
  padding-bottom: 80px;
}

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

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

details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #FFB04D; /* Glow */
}

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: rgba(255, 140, 26, 0.1);
}

.page-blog__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-blog__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Accent */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.6;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-blog__container {
    padding: 15px;
  }

  .page-blog__hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-blog__hero-description {
    font-size: 18px;
  }

  .page-blog__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-blog__section-subtitle {
    font-size: clamp(20px, 2.5vw, 28px);
  }
}

@media (max-width: 768px) {
  .page-blog__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__section {
    padding: 40px 0;
  }

  .page-blog__hero-section {
    padding-top: 10px; /* Ensure small top padding for mobile */
    padding-bottom: 40px;
  }

  .page-blog__hero-section .page-blog__container {
    gap: 20px;
  }

  .page-blog__hero-title {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 15px;
  }

  .page-blog__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-blog__hero-cta {
    padding: 12px 20px;
    font-size: 18px;
  }

  .page-blog__hero-image-wrapper {
    margin-top: 20px;
  }

  .page-blog__hero-image {
    object-fit: contain !important; /* HERO main image must contain, not cover */
    aspect-ratio: unset !important;
  }

  .page-blog__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-blog__section-subtitle {
    font-size: clamp(18px, 5vw, 24px);
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 0 15px;
  }

  .page-blog__article-body {
    font-size: 16px;
    padding: 0 15px;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-blog__article-body ul,
  .page-blog__article-body ol {
    padding-left: 15px;
  }

  .page-blog__image-wrapper {
    margin: 30px auto;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

  .page-blog__image-caption {
    font-size: 13px;
  }

  .page-blog__cta-wrapper {
    padding: 0 15px;
  }

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

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

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

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

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

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