.blog-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.blog-hero {
  background: var(--lpu-black);
  padding: clamp(100px, 15vw, 160px) 0 60px;
  text-align: center;
}

.blog-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 15px;
}

.blog-hero-sub {
  color: #aaa;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
}

.blog-container {
  padding-top: 60px;
  padding-bottom: 80px;
}

.blog-loading, .blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1.1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2e 100%);
  position: relative;
}

.blog-img-placeholder, .blog-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1b2e 100%);
}

.blog-img-placeholder span {
  font-size: 2.5rem;
  opacity: 0.5;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  background: rgba(232, 185, 25, 0.12);
  color: var(--lpu-orange);
  border: 1px solid rgba(232, 185, 25, 0.3);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.2rem;
  color: var(--lpu-black);
  margin-bottom: 10px;
  line-height: 1.4;
  font-family: var(--font-heading);
  text-transform: none;
}

.blog-card-excerpt {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #999;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  font-family: var(--font-body);
  text-transform: none;
}

/* ── Detail Page ── */
.blog-detail-page {
  min-height: 100vh;
  background: #fff;
}

.blog-detail-cover {
  position: relative;
  height: clamp(250px, 40vw, 480px);
  overflow: hidden;
}

.blog-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
}

.blog-detail-container {
  max-width: 820px;
  padding-top: 50px;
  padding-bottom: 80px;
}

.blog-back-link {
  display: inline-block;
  color: var(--lpu-orange);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 30px;
  text-decoration: none;
  transition: gap 0.2s;
}

.blog-back-link:hover {
  text-decoration: underline;
}

.blog-detail-header {
  margin-bottom: 40px;
}

.blog-detail-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--lpu-black);
  line-height: 1.2;
  margin: 12px 0 15px;
  text-transform: none;
  font-family: var(--font-heading);
}

.blog-detail-meta {
  display: flex;
  gap: 10px;
  color: #888;
  font-size: 0.9rem;
  font-family: var(--font-body);
  flex-wrap: wrap;
}

.blog-detail-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
  font-weight: 400;
  text-transform: none;
}

.blog-detail-content p { margin-bottom: 1.2rem; }
.blog-detail-content h2, .blog-detail-content h3 { margin: 2rem 0 1rem; color: var(--lpu-black); }
.blog-detail-content ul, .blog-detail-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-detail-content li { margin-bottom: 0.5rem; }
.blog-detail-content img { max-width: 100%; border-radius: 10px; margin: 1.5rem 0; }
.blog-detail-content blockquote { border-left: 4px solid var(--lpu-orange); padding-left: 20px; color: #555; font-style: italic; margin: 1.5rem 0; }

.blog-detail-loading {
  padding: clamp(100px, 15vw, 160px) 20px;
  text-align: center;
  color: #888;
  font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card-img {
    height: 180px;
  }

  .blog-detail-container {
    padding-top: 30px;
    padding-bottom: 120px;
  }

  .blog-card-meta {
    flex-direction: column;
    gap: 4px;
  }

  .blog-container {
    padding-bottom: 120px;
  }

  .blog-detail-content {
    font-size: 0.97rem;
  }
}
