.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #121212 (dark), so use light text */
  background-color: #121212; /* Ensure consistent background for content if shared.css doesn't cover */
}

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

/* Hero Section */
.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body padding-top handles header offset, this is for internal spacing */
  background-color: #121212; /* Dark background */
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust based on typical hero image aspect ratio */
  overflow: hidden;
}

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

.page-blog__hero-content {
  position: relative; /* Ensure content is below image in normal flow */
  text-align: center;
  padding: 40px 0;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over the image if desired, but not covering text */
  z-index: 1;
}

.page-blog__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-blog__description {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-blog__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
}

.page-blog__section-subtitle {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__text-block {
  color: #f0f0f0;
  margin-bottom: 15px;
  text-align: justify;
}

.page-blog__keyword {
  color: #26A9E0;
  font-weight: bold;
}

/* Button Styles */
.page-blog__btn-primary,
.page-blog__btn-secondary,
.page-blog__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-blog__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-blog__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-blog__btn-tertiary {
  background-color: #EA7C07; /* Login color for more prominent CTAs */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-blog__btn-tertiary:hover {
  background-color: #c46406;
  border-color: #c46406;
}

/* Introduction Section */
.page-blog__introduction-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

/* Categories Section */
.page-blog__categories-section {
  padding: 60px 0;
  background-color: #121212;
}

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

.page-blog__category-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog__category-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-blog__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-blog__card-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
  text-align: justify;
}

/* Strategy Section */
.page-blog__strategy-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-blog__strategy-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog__strategy-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-blog__strategy-heading {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-blog__strategy-text {
  color: #cccccc;
  font-size: 0.95em;
  text-align: justify;
}

/* Promotions Section */
.page-blog__promotions-section {
  padding: 60px 0;
  background-color: #121212;
}

.page-blog__promotions-content {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.page-blog__promotions-text {
  flex: 1;
  min-width: 300px;
}

.page-blog__promotions-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-blog__promotions-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

/* Guide Section */
.page-blog__guide-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-blog__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog__step-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-blog__step-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

/* Latest Posts Section */
.page-blog__latest-posts {
  padding: 60px 0;
  background-color: #121212;
}

.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: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-blog__post-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__post-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-blog__post-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-blog__post-meta {
  color: #888888;
  font-size: 0.85em;
  margin-bottom: 15px;
}

.page-blog__post-excerpt {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-blog__read-more {
  display: inline-block;
  color: #EA7C07;
  text-decoration: none;
  font-weight: bold;
}

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

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

/* FAQ Section */
.page-blog__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

.page-blog__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

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

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-blog__faq-answer {
  padding: 0 25px 20px 25px;
  color: #cccccc;
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

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

.page-blog__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

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

/* Conclusion Section */
.page-blog__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #121212;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: 2.8em;
  }

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

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

  .page-blog__container {
    padding: 0 15px;
  }

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

  .page-blog__hero-section,
  .page-blog__introduction-section,
  .page-blog__categories-section,
  .page-blog__strategy-section,
  .page-blog__promotions-section,
  .page-blog__guide-section,
  .page-blog__latest-posts,
  .page-blog__faq-section,
  .page-blog__conclusion-section {
    padding: 40px 0 !important;
  }

  .page-blog__hero-content {
    padding: 20px 0;
    margin-top: -50px; /* Adjust for smaller screens */
  }

  .page-blog__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

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

  /* Buttons */
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog__btn-tertiary,
  .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-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-blog__categories-grid,
  .page-blog__strategy-grid,
  .page-blog__guide-steps,
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

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

  .page-blog__promotions-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

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

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

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