/* Blog Archive */
.blog-archive {
  width: 100%;
  display: flex;
  justify-content: center;
}

.blog-archive__container {
  width: 100%;
  max-width: 1400px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-archive__header { text-align: center; }
.blog-archive__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 36px;
}
.blog-archive__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  opacity: 0.9;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }

.blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card__image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.blog-card:hover .blog-card__image { transform: scale(1.05); }

.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  font-size: 48px;
}

.blog-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.blog-card__meta {
  display: flex;
  gap: 12px;
  font-size: 14px;
  opacity: 0.8;
}

.blog-card__date {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.blog-card__excerpt {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

.blog-card__readmore {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-top: auto;
}
.blog-card__readmore:hover { color: #3C5B49; }

/* Blog pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.blog-pagination a,
.blog-pagination span {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.blog-pagination a:hover { background: rgba(255, 255, 255, 0.2); color: #3C5B49; }
.blog-pagination .current { background: #7A8F7A; color: #ffffff; }

.no-posts {
  text-align: center;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  opacity: 0.8;
}

/* Single Blog Post */
.single-blog {
  width: 100%;
  display: flex;
  justify-content: center;
}

.single-blog__container {
  width: 100%;
  max-width: 1400px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.single-blog__image-wrap {
  width: 100%;
  max-width: 1400px;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.single-blog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-blog__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0; /* left align within container */
}

.single-blog__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: 40px;
  text-align: left;
  line-height: 1.2;
  margin: 0;
}

.single-blog__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  text-align: left;
  line-height: 1.6;
}

.single-blog__text p { margin: 0 0 20px 0; }
.single-blog__text p:last-child { margin-bottom: 0; }
.single-blog__text h1, .single-blog__text h2, .single-blog__text h3, .single-blog__text h4, .single-blog__text h5, .single-blog__text h6 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin: 30px 0 15px 0;
}
.single-blog__text h1 { font-size: 28px; }
.single-blog__text h2 { font-size: 24px; }
.single-blog__text h3 { font-size: 20px; }
.single-blog__text h4 { font-size: 18px; }
.single-blog__text h5 { font-size: 16px; }
.single-blog__text h6 { font-size: 14px; }

.single-blog__text a {
  color: #26d1c3;
  text-decoration: underline;
}
.single-blog__text a:hover { opacity: 0.8; }

/* Back link color (top-left above content) */
.single-blog__back a {
  color: #ffffff;
}

.single-blog__text ul, .single-blog__text ol {
  margin: 20px 0;
  padding-left: 20px;
}
.single-blog__text li { margin-bottom: 8px; }

.single-blog__text blockquote {
  border-left: 4px solid #26d1c3;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  opacity: 0.9;
}

.single-blog__text img { max-width: 100%; height: auto; border-radius: 8px; }

/* Single blog nav */
.single-blog__nav { 
  display: flex; 
  justify-content: space-between; 
  max-width: 1400px; 
  margin: 0 auto 30px; 
  padding: 0 30px; 
}
.single-blog__nav a { 
  color: #fff; 
  text-decoration: none; 
  opacity: 0.9; 
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: opacity .2s ease;
}
.single-blog__nav a:hover { 
  text-decoration: underline; 
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-archive__title { font-size: 28px; }
  .single-blog__title { font-size: 32px; }
  .single-blog__container { padding: 20px; gap: 40px; }
  .single-blog__image-wrap { height: 300px; }
}

@media (max-width: 480px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-archive__title { font-size: 24px; }
  .single-blog__title { font-size: 28px; }
  .single-blog__container { padding: 15px; gap: 30px; }
  .single-blog__image-wrap { height: 250px; }
  .single-blog__nav { flex-direction: column; gap: 10px; text-align: center; }
}


