/* NekoTrip — Blog (scoped) */
.nt-blog {
  padding-bottom: var(--nt-space-2xl, 72px);
  min-height: calc(100vh - 72px);
}

.nt-container{
  width: min(1100px, calc(100% - 2*var(--nt-space-xl)));
  margin: 0 auto;
}

.nt-blog-hero{
  padding: clamp(40px, 6vw, 80px) 0 28px;
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(139, 92, 246, 0.18), transparent 65%),
    radial-gradient(900px 420px at 10% 20%, rgba(255,255,255,0.06), transparent 60%);
}

.nt-kicker{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--nt-text-secondary);
}

.nt-blog-title{
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.nt-blog-subtitle{
  max-width: 72ch;
  color: var(--nt-text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 18px;
}

.nt-blog-actions{ display:flex; gap: 12px; flex-wrap: wrap; }

/* ── Two-column layout ── */
.nt-blog-list{
  padding-top: 36px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

/* Left column: article cards stacked vertically */
.nt-blog-articles{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Right column: sidebar */
.nt-blog-side{
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 18px;
}

/* ── Post card ── */
.nt-post-card{
  position: relative;
  border: 1px solid var(--nt-border);
  background: var(--nt-bg-card);
  border-radius: 18px;
  padding: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.nt-post-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.nt-post-card::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 240px at 20% 0%, rgba(139,92,246,0.18), transparent 60%);
  pointer-events:none;
}

/* Overlay link — z-index above everything for full-card click */
.nt-post-link{
  position:absolute; inset:0;
  z-index: 3;
}

/* Content sits below the overlay link */
.nt-post-meta, .nt-post-title, .nt-post-excerpt, .nt-post-footer{
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ── Post meta ── */
.nt-post-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
  color: var(--nt-text-muted);
  font-size: 0.9rem;
}

/* Override .nt-dot from public-site.css (carousel dots) — reset to text separator */
.nt-post-meta .nt-dot {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  cursor: default;
  font-size: 0.9rem;
  opacity: 0.4;
}

.nt-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,0.25);
  background: rgba(139,92,246,0.12);
  color: var(--nt-primary-light);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.nt-post-title{
  margin: 14px 0 10px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.nt-post-excerpt{
  margin: 0 0 16px;
  color: var(--nt-text-secondary);
  line-height: 1.7;
  max-width: 80ch;
}

.nt-post-footer{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nt-read{
  font-weight: 800;
  color: var(--nt-primary-light);
}

.nt-chip{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--nt-border-light);
  background: rgba(255,255,255,0.03);
  color: var(--nt-text-secondary);
  font-size: 0.85rem;
}

/* ── Sidebar ── */
.nt-side-card{
  border: 1px solid var(--nt-border);
  background: var(--nt-bg-card);
  border-radius: 18px;
  padding: 18px;
}

.nt-side-title{
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.nt-side-text{
  margin: 0 0 14px;
  color: var(--nt-text-secondary);
  line-height: 1.7;
}

.nt-side-actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }

.nt-side-note{
  margin: 0;
  color: var(--nt-text-muted);
  font-size: 0.9rem;
}

/* ── Buttons ── */
.nt-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--nt-border-light);
  text-decoration: none;
  font-weight: 800;
  color: var(--nt-text);
  background: rgba(255,255,255,0.03);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.nt-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.05); }

.nt-btn-primary{
  border-color: rgba(139,92,246,0.35);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.08), 0 10px 24px rgba(0,0,0,0.25);
}

.nt-btn-primary:hover{ background: rgba(139,92,246,0.22); }

.nt-btn-secondary{
  background: rgba(255,255,255,0.02);
}

/* ── Responsive ── */
@media (max-width: 980px){
  .nt-blog-list{ flex-direction: column; }
  .nt-blog-side{ width: 100%; position: static; }
}

@media (max-width: 600px){
  .nt-blog-hero { padding: 32px 0 20px; }
  .nt-blog-title { font-size: 1.5rem; line-height: 1.15; }
  .nt-blog-subtitle { font-size: 0.95rem; }
  .nt-blog-list { padding-top: 24px; gap: 14px; }
  .nt-post-card { padding: 16px; border-radius: 14px; }
  .nt-post-title { font-size: 1.25rem; }
  .nt-post-excerpt { font-size: 0.9rem; }
  .nt-post-footer { gap: 8px; }
  .nt-chip { font-size: 0.78rem; padding: 4px 8px; }
  .nt-side-card { padding: 14px; border-radius: 14px; }
  .nt-btn { padding: 10px 12px; font-size: 0.88rem; }
}
