/* General styles for the blog page */
.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity, though body is white */
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Small top padding as body has header offset */
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

.page-blog__hero-image-container {
  width: 100%;
  max-width: 1200px; /* Max width for hero image */
  margin-bottom: 20px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-blog__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.page-blog__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-blog__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 25px;
}

.page-blog__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-blog__article-card,
.page-blog__category-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-blog__article-link,
.page-blog__category-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-blog__article-image {
  width: 100%;
  height: 200px; /* 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,
.page-blog__category-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: #017439;
}

.page-blog__article-meta {
  font-size: 14px;
  color: #777777;
  margin-bottom: 15px;
}

.page-blog__article-excerpt,
.page-blog__category-desc {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__read-more {
  font-weight: 600;
  color: #017439;
  align-self: flex-start;
}

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

.page-blog__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-blog__dark-section .page-blog__section-title,
.page-blog__dark-section .page-blog__category-title,
.page-blog__dark-section .page-blog__category-desc {
  color: #ffffff;
}

.page-blog__category-card {
  padding: 25px;
  text-align: center;
}

.page-blog__about-okevip .page-blog__content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-blog__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-blog__about-okevip p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333333;
}

.page-blog__about-okevip h3 {
  font-size: 24px;
  font-weight: 600;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}