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

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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
}

.page-blog__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-blog__hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for luxury */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-blog__hero-button,
.page-blog__button {
  display: inline-block;
  background-color: #FF4500; /* Main brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-blog__hero-button:hover,
.page-blog__button:hover {
  background-color: #e13d00;
  transform: translateY(-2px);
}

.page-blog__button--secondary {
  background-color: #1E90FF; /* Auxiliary brand color */
  margin-left: 15px;
}

.page-blog__button--secondary:hover {
  background-color: #1565b3;
}

.page-blog__latest-articles,
.page-blog__featured-article,
.page-blog__categories,
.page-blog__more-articles,
.page-blog__cta-section,
.page-blog__content-footer {
  padding: 60px 0;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #FF4500; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
}

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

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

.page-blog__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333333;
  line-height: 1.3;
}

.page-blog__article-title a.page-blog__article-link {
  color: #333333;
  text-decoration: none;
}

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

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

.page-blog__read-more {
  color: #1E90FF; /* Auxiliary brand color */
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  text-decoration: underline;
  color: #0d6efd;
}

.page-blog__featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-blog__featured-content {
  text-align: left;
}

.page-blog__featured-content .page-blog__section-title {
  text-align: left;
}

.page-blog__featured-content .page-blog__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 25px;
}

.page-blog__featured-image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-blog__categories {
  background-color: #f8f8f8;
}

.page-blog__category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-blog__category-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  padding: 10px 25px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-blog__category-item:hover {
  background-color: #FF4500;
  border-color: #FF4500;
}

.page-blog__category-link {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
}

.page-blog__category-item:hover .page-blog__category-link {
  color: #ffffff;
}

.page-blog__cta-section {
  background-color: #1E90FF; /* Auxiliary brand color */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-blog__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for luxury */
}

.page-blog__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-blog__content-footer {
  padding: 80px 0;
  background-color: #f0f0f0;
  color: #444444;
}

.page-blog__content-footer-title {
  font-size: 2.2em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 30px;
}

.page-blog__content-footer-text {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

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

  .page-blog__featured-content {
    order: 2;
    text-align: center;
  }

  .page-blog__featured-content .page-blog__section-title {
    text-align: center;
  }

  .page-blog__featured-content .page-blog__section-intro {
    text-align: center;
  }

  .page-blog__featured-image-wrapper {
    order: 1;
  }

  .page-blog__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-blog {
    padding-top: var(--header-offset, 120px);
  }

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

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

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

  .page-blog__button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-blog__latest-articles,
  .page-blog__featured-article,
  .page-blog__categories,
  .page-blog__more-articles,
  .page-blog__cta-section,
  .page-blog__content-footer {
    padding: 40px 0;
  }

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

  .page-blog__section-intro {
    font-size: 0.95em;
  }

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

  .page-blog__article-image {
    max-width: 100%;
    height: auto;
  }

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

  .page-blog__category-list {
    flex-direction: column;
    align-items: center;
  }

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

  .page-blog__cta-description {
    font-size: 1.1em;
  }

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

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

  /* Ensure content images do not overflow on mobile */
  .page-blog__article-card img,
  .page-blog__featured-image-wrapper img,
  .page-blog__content-area img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

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

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