/* ============================================================
   UTKARSH PATH — Blogs Page Stylesheet
   ============================================================ */

.nav-active { color: var(--text) !important; font-weight: 600 !important; }

/* ── BLOG HERO ── */
.blog-hero {
  background: linear-gradient(160deg, #0F2545 0%, #1A3A6B 55%, #0F2545 100%);
  padding: 72px 60px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,101,10,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero-arc {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 64px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.blog-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.blog-hero-title {
  font-family: 'Fraunces', serif;
  font-size: 52px; font-weight: 600;
  color: #fff; letter-spacing: -2px; line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeSlideUp 0.4s 0.1s ease both;
}
.blog-hero-title em { font-style: italic; color: #FF9A56; }

.blog-hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.6);
  line-height: 1.7; max-width: 520px; margin: 0 auto;
  animation: fadeSlideUp 0.4s 0.2s ease both;
}

/* ── BLOG SECTION ── */
.blog-section {
  background: var(--cream);
  padding: 48px 60px 64px;
  min-height: 400px;
}

.blog-filter-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 32px;
}
.blog-result-count { font-size: 13.5px; color: var(--text-muted); }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-tag {
  padding: 7px 16px; border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted); cursor: pointer;
  transition: all 0.2s;
}
.blog-tag:hover { border-color: var(--orange); color: var(--orange); }
.blog-tag.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── BLOG CARD ── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: cardFadeIn 0.4s ease both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }

.blog-card-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.blog-thumb-emoji { font-size: 52px; opacity: 0.6; }

.blog-card-body { padding: 20px; }

.blog-cat-tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
  margin-bottom: 10px;
}
.cat-career    { background: #EFF6FF; color: #1D4ED8; }
.cat-exam      { background: #F0FDF4; color: #16A34A; }
.cat-success   { background: #FFF7ED; color: #C2410C; }
.cat-motivation { background: #FDF4FF; color: #7E22CE; }

.blog-card-title {
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 600;
  color: var(--navy); line-height: 1.4;
  margin-bottom: 10px; letter-spacing: -0.2px;
}
.blog-card-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box; -line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.blog-date { font-size: 12px; color: var(--text-muted); }
.blog-read-more {
  font-size: 13px; font-weight: 600;
  color: var(--orange); text-decoration: none;
  transition: color 0.2s;
}
.blog-read-more:hover { color: var(--orange-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .blog-hero { padding: 56px 24px 88px; }
  .blog-hero-title { font-size: 36px; }
  .blog-section { padding: 36px 24px 48px; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filter-row { flex-direction: column; align-items: flex-start; }
}