/* ═══════════════════════════════════════════
   BLOG LISTING PAGE — blog.css
   Requires: app.css loaded first
═══════════════════════════════════════════ */

/* ── HERO ── */
.lc-blog-hero {
  background: linear-gradient(160deg, #0F0720 0%, #1E1035 60%, #2D1B69 100%);
  padding: 70px 0 56px;
  position: relative;
  overflow: hidden;
}
.lc-blog-hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.16) 0%, transparent 70%);
  pointer-events: none;
}
.lc-blog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.lc-blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.3);
  color: #FBB978;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 18px;
}
.lc-blog-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F97316;
}
.lc-blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}
.lc-blog-hero h1 span {
  background: linear-gradient(135deg, #F97316, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lc-blog-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 28px;
}
.lc-blog-search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: white;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  max-width: 480px;
}
.lc-blog-search input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  width: 100%;
  color: var(--ink);
  background: transparent;
}
.lc-blog-search input::placeholder { color: #9CA3AF; }
.lc-blog-search-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F97316, #F59E0B);
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}
.lc-blog-search-btn:hover { transform: scale(1.02); }

/* ── SECTION WRAPPER ── */
.lc-blog-section {
  padding: 48px 0 72px;
}
.lc-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── CATEGORY FILTER ── */
.lc-blog-cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lc-blog-cat-btn {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--line);
  background: white;
  color: var(--muted);
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.lc-blog-cat-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.lc-blog-cat-btn.lc-active {
  background: linear-gradient(135deg, #F97316, #F59E0B);
  border-color: transparent;
  color: white;
}

/* ── FEATURED GRID (1 large + 2 medium) ── */
.lc-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
.lc-blog-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.lc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  border-color: var(--brand);
  color: inherit;
}
.lc-blog-feat-main {
  grid-column: 1;
  grid-row: 1 / 3;
}
.lc-blog-feat-img {
  height: 320px;
  border-radius: 16px 16px 0 0;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lc-blog-img {
  height: 180px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lc-blog-img img,
.lc-blog-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lc-blog-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #F97316, #F59E0B);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.lc-blog-body {
  padding: 20px;
}
.lc-blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.lc-blog-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}
.lc-blog-feat-main .lc-blog-title {
  font-size: 1.3rem;
  line-height: 1.3;
}
.lc-blog-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lc-blog-feat-main .lc-blog-excerpt {
  -webkit-line-clamp: 4;
}
.lc-blog-author-row {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.lc-blog-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #F59E0B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-shrink: 0;
}
.lc-blog-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── REGULAR GRID ── */
.lc-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ── EMPTY / NO RESULTS ── */
.lc-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 24px;
}
.lc-blog-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--soft);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-blog-empty h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.lc-blog-empty p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ── PAGINATION ── */
.lc-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.lc-blog-page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.18s;
}
.lc-blog-page-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.lc-blog-page-link.lc-active {
  background: linear-gradient(135deg, #F97316, #F59E0B);
  border-color: transparent;
  color: white;
}
.lc-blog-page-link.lc-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── NEWSLETTER STRIP ── */
.lc-blog-newsletter {
  background: linear-gradient(135deg, #F97316 0%, #F59E0B 50%, #EF4444 100%);
  border-radius: 24px;
  padding: 44px 40px;
  text-align: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.lc-blog-newsletter::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  pointer-events: none;
}
.lc-blog-newsletter h3 {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: white;
  margin-bottom: 8px;
  position: relative;
}
.lc-blog-newsletter p {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  margin-bottom: 22px;
  position: relative;
}
.lc-blog-newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.lc-blog-newsletter-input {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
}
.lc-blog-newsletter-btn {
  padding: 12px 24px;
  border-radius: 999px;
  background: white;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}
.lc-blog-newsletter-btn:hover { transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media(max-width: 900px) {
  .lc-blog-featured {
    grid-template-columns: 1fr;
  }
  .lc-blog-feat-main {
    grid-column: 1;
    grid-row: auto;
  }
  .lc-blog-feat-img {
    height: 220px;
  }
}
@media(max-width: 640px) {
  .lc-blog-hero { padding: 48px 0 40px; }
  .lc-blog-search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 12px;
  }
  .lc-blog-search-btn { width: 100%; }
  .lc-blog-newsletter { padding: 32px 24px; }
}
