.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 40px;
  background: var(--neon-dark-bg-1); /* Inherit from shared */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-blog__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
}

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

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

.page-blog__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-blog__intro-section {
  background: #0d0d0d; /* Darker background for contrast with text */
  color: #ffffff;
  padding: 60px 0;
}

.page-blog__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-blog__featured-topics {
  padding: 60px 0;
  background: #26A9E0;
  color: #ffffff;
}

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

.page-blog__topic-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-blog__topic-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-blog__topic-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-blog__topic-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__latest-articles {
  background: #0d0d0d;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-blog__article-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__article-thumbnail {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 600;
}

.page-blog__article-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #26A9E0;
}

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #e0e0e0;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-blog__read-more-btn {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more-btn:hover {
  background: #1e87c0;
}

.page-blog__view-all-btn-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog__guides-section {
  background: #0d0d0d;
  padding: 60px 0;
  color: #ffffff;
}

.page-blog__guide-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-blog__guide-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-blog__news-promotions-section {
  background: #26A9E0;
  padding: 60px 0;
  color: #ffffff;
  text-align: center;
}

.page-blog__faq-section {
  background: #0d0d0d;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-blog__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-blog__faq-item summary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-blog__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

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

.page-blog__cta-section {
  padding: 60px 0;
  text-align: center;
  background: #26A9E0;
  color: #ffffff;
}

.page-blog__btn-primary {
  display: inline-block;
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background 0.3s ease;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-primary:hover {
  background: #d66c06;
}

.page-blog__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog__btn-secondary:hover {
  background: #e0e0e0;
  color: #1e87c0;
}

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

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-blog__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

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

  .page-blog__hero-image-wrapper {
    max-height: 400px;
  }

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

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

/* Mobile Specific */
@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-blog__hero-image-wrapper {
    max-height: 300px;
  }

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

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

  .page-blog__description {
    font-size: 1em;
  }

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

  .page-blog__intro-section,
  .page-blog__featured-topics,
  .page-blog__latest-articles,
  .page-blog__guides-section,
  .page-blog__news-promotions-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }

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

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

  .page-blog__topic-card {
    padding: 25px;
  }

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

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

  .page-blog__article-thumbnail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    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__view-all-btn-wrapper, .page-blog__news-promotions-section .page-blog__btn-primary {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

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

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