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

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

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-blog__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__hero-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD36B; /* Glow */
}

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

.page-blog__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-blog__cta-button--secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
}

.page-blog__cta-button--secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-blog__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

.page-blog__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
}

.page-blog__latest-posts-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

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

.page-blog__post-card {
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

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

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

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

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

.page-blog__post-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Main Color */
}

.page-blog__post-excerpt {
  font-size: 0.95em;
  margin-bottom: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-blog__post-date {
  font-size: 0.85em;
  color: #FFD36B; /* Glow */
  display: block;
  margin-bottom: 10px;
}

.page-blog__read-more {
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  text-decoration: none;
}

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

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

.page-blog__categories-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-blog__category-card {
  background-color: #0A0A0A; /* Background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: #F2C14E;
}

.page-blog__category-icon {
  font-size: 3em;
  margin-bottom: 15px;
  display: block;
  color: #FFD36B; /* Glow */
}

.page-blog__category-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2C14E; /* Main Color */
}

.page-blog__category-description {
  font-size: 0.9em;
  color: #FFF6D6; /* Text Main */
}

.page-blog__featured-article-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-blog__featured-content {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #3A2A12; /* Border */
}

.page-blog__featured-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-blog__featured-text {
  width: 50%;
}

.page-blog__featured-title {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
}

.page-blog__featured-description {
  font-size: 1.05em;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

.page-blog__faq-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

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

.page-blog__faq-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

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

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

.page-blog__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  color: #FFF6D6; /* Text Main */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog__faq-item[open] .page-blog__faq-answer {
  max-height: 500px; /* Arbitrarily large value for smooth transition */
  padding-top: 10px;
}

.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A; /* Background */
}

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

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }

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

  .page-blog__posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-blog__featured-content {
    flex-direction: column;
  }

  .page-blog__featured-image,
  .page-blog__featured-text {
    width: 100%;
  }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__hero-section {
    padding-top: 10px !important; /* Small top padding, overriding any shared body padding */
    padding-bottom: 40px;
  }

  .page-blog__hero-image-wrapper {
    height: 300px;
    margin-bottom: 30px;
  }

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

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

  /* Latest Posts Section (Blog Cards) */
  .page-blog__latest-posts-section {
    padding: 40px 0;
  }

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

  .page-blog__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-blog__post-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-blog__post-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 180px;
  }

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

  .page-blog__post-excerpt {
    font-size: 0.9em;
  }

  /* Categories Section */
  .page-blog__categories-section {
    padding: 40px 0;
  }

  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .page-blog__category-icon {
    font-size: 2.5em;
  }

  .page-blog__category-title {
    font-size: 1.3em;
  }

  /* Featured Article Section */
  .page-blog__featured-article-section {
    padding: 40px 0;
  }

  .page-blog__featured-content {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

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

  .page-blog__featured-text {
    width: 100%;
  }

  .page-blog__featured-title {
    font-size: 1.6em;
    margin-bottom: 15px;
  }

  .page-blog__featured-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* FAQ Section */
  .page-blog__faq-section {
    padding: 40px 0;
  }

  .page-blog__faq-item {
    margin-bottom: 10px;
  }

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

  .page-blog__faq-answer {
    font-size: 0.9em;
    padding: 0 15px 15px 15px;
  }

  /* CTA Section */
  .page-blog__cta-section {
    padding: 40px 0;
  }

  .page-blog__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Generic Image and Container Mobile Adaption */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-blog__container,
  .page-blog__section,
  .page-blog__post-card,
  .page-blog__category-card,
  .page-blog__featured-content,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile adaptation */
  .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% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}