.page-blog {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A192F; /* Inherited from shared, ensuring consistency */
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-bottom: 60px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog__button {
  display: inline-block;
  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;
  white-space: nowrap;
}

.page-blog__button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-blog__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-blog__button--secondary {
  background-color: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-blog__button--secondary:hover {
  background-color: #1565b3;
  border-color: #1565b3;
  transform: translateY(-2px);
}

.page-blog__articles-overview,
.page-blog__featured-posts,
.page-blog__cta-section,
.page-blog__more-information {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.page-blog__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-blog__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-blog__category-card {
  background-color: rgba(30, 144, 255, 0.1); /* Semi-transparent blue */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-blog__category-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog__category-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__category-title a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-blog__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  align-self: flex-start;
  background-color: #1E90FF;
  color: #ffffff;
}

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

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

.page-blog__post-card {
  background-color: rgba(255, 255, 255, 0.08); /* Lighter transparent white */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-blog__post-header {
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-blog__post-title {
  font-size: 1.6em;
  color: #FFD700;
  line-height: 1.4;
}

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

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

.page-blog__read-more {
  color: #1E90FF;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  text-decoration: underline;
  color: #62b1ff;
}

.page-blog__cta-section {
  margin-bottom: 80px;
}

.page-blog__cta-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.page-blog__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(0.6);
  z-index: 1;
}

.page-blog__cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 30px;
}

.page-blog__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

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

.page-blog__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #FFD700;
  color: #0A192F;
}

.page-blog__button--large:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__info-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.page-blog__info-link {
  color: #1E90FF;
  text-decoration: none;
  font-size: 1.1em;
  padding: 10px 20px;
  border: 1px solid #1E90FF;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog__info-link:hover {
  background-color: #1E90FF;
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-blog__hero-content {
    padding: 15px;
  }
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-blog__articles-overview,
  .page-blog__featured-posts,
  .page-blog__cta-section,
  .page-blog__more-information {
    margin-bottom: 40px;
    padding: 0 15px;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-blog__categories-grid,
  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__category-image, .page-blog__category-card img, .page-blog__post-card img, .page-blog__cta-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__category-title {
    font-size: 1.5em;
  }
  .page-blog__post-title {
    font-size: 1.3em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-blog__info-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__info-link {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 0.9em;
  }
  .page-blog__button--large {
    font-size: 1em;
  }
}