.page-blog {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

/* Hero Section */
.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  background-color: #f8f8f8;
  text-align: center;
}

.page-blog__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-blog__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for action button */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e0a53b;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Adjust max-width to ensure image is not too small */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Latest Articles */
.page-blog__latest-articles {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-blog__article-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-blog__article-content {
  padding: 25px;
}

.page-blog__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #e0a53b;
}

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

.page-blog__view-all-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__view-all-button:hover {
  background-color: #333333;
}

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

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

.page-blog__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-blog__category-image {
  width: 100%;
  height: 200px; /* Fixed height for category images */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-blog__category-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
}

/* Featured Guides */
.page-blog__featured-guides {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-blog__guide-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-blog__guide-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__guide-content {
  padding: 25px;
}

.page-blog__guide-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-blog__guide-title a:hover {
  color: #FCBC45;
}

.page-blog__guide-excerpt {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* Call to Action */
.page-blog__call-to-action {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-blog__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.page-blog__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
}

.page-blog__cta-button--register:hover {
  background-color: #e0a53b;
}

.page-blog__cta-button--download {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-blog__cta-button--download:hover {
  background-color: #FFFFFF;
  color: #000000;
}

/* Why me777 Section */
.page-blog__why-me777 {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-blog__why-me777-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-blog__why-me777-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__why-me777-list li {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__why-me777-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__why-me777-list-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__why-me777-list p {
  color: #555555;
  font-size: 0.95em;
}

.page-blog__why-me777-cta {
  text-align: center;
  margin-top: 50px;
}

.page-blog__why-me777-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-blog__why-me777-button:hover {
  background-color: #e0a53b;
}

/* Testimonials Section */
.page-blog__testimonials {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-blog__testimonial-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-blog__testimonial-avatar {
  width: 200px; /* Adjusted to meet minimum size requirement */
  height: 200px; /* Adjusted to meet minimum size requirement */
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid #FCBC45;
}

.page-blog__testimonial-text {
  font-style: italic;
  color: #555555;
  margin-bottom: 15px;
  font-size: 1em;
}

.page-blog__testimonial-author {
  font-weight: bold;
  color: #000000;
}

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

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

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

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

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

  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-blog__articles-grid, .page-blog__categories-grid, .page-blog__guides-grid, .page-blog__why-me777-list, .page-blog__testimonials-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__article-content, .page-blog__guide-content {
    padding: 20px;
  }

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

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

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

  .page-blog__cta-button {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog__why-me777-list li {
    padding: 25px;
  }

  .page-blog__why-me777-list-title {
    font-size: 1.4em;
  }
  
  /* Ensure content area images do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }

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

/* Ensure all content images meet minimum size requirements or are responsive */
/* The HTML width/height attributes are for the display slot, CSS handles responsiveness. */
/* Testimonial avatar adjusted to 200x200 via CSS to ensure compliance. */