.ne-page {
  --ne-bg: #f4f7f8;
  --ne-surface: #ffffff;
  --ne-text: #132128;
  --ne-muted: #60737c;
  --ne-brand: #0f766e;
  --ne-accent: #ea580c;
  --ne-border: #d7e1e4;
  background: radial-gradient(1200px 520px at 10% 0%, #d8f4ef 0%, transparent 60%),
              radial-gradient(1000px 520px at 100% 10%, #fde6d2 0%, transparent 60%),
              var(--ne-bg);
  padding: 38px 0 48px;
}

.ne-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.ne-hero {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--ne-border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(9, 34, 42, 0.08);
  padding: 22px;
}

.ne-hero h1 {
  margin: 0;
  color: var(--ne-text);
}

.ne-hero p {
  margin: 10px 0 0;
  max-width: 760px;
  color: var(--ne-muted);
  font: 500 15px/1.75 "Manrope", sans-serif;
}

.ne-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ne-card {
  background: var(--ne-surface);
  border: 1px solid var(--ne-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(9, 34, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.ne-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(9, 34, 42, 0.12);
}

.ne-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce6e9;
}

.ne-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ne-body {
  padding: 14px;
}

.ne-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e6f4f1;
  color: #0f766e;
  font: 700 11px "Manrope", sans-serif;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.ne-title {
  margin: 0;
  font: 700 20px/1.35 "Sora", sans-serif;
}

.ne-title a {
  color: var(--ne-text);
  text-decoration: none;
}

.ne-title a:hover {
  color: var(--ne-brand);
}

.ne-pagination {
  margin-top: 18px;
}

.ne-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.ne-pagination a,
.ne-pagination span {
  border: 1px solid var(--ne-border);
  background: #fff;
  border-radius: 8px;
  min-width: 34px;
  text-align: center;
  padding: 7px 9px;
  text-decoration: none;
  color: #24404a;
  font: 600 13px "Manrope", sans-serif;
}

.ne-pagination span.current,
.ne-pagination a:hover {
  background: var(--ne-brand);
  border-color: var(--ne-brand);
  color: #fff;
}

.ne-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 16px;
}

.ne-article,
.ne-sidebar-card,
.ne-share,
.ne-nav {
  background: var(--ne-surface);
  border: 1px solid var(--ne-border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(9, 34, 42, 0.08);
}

.ne-article {
  padding: 20px;
}

.ne-prose {
  color: #20343c;
  font: 500 16px/1.85 "Manrope", sans-serif;
}

.ne-share,
.ne-nav {
  margin-top: 14px;
  padding: 14px;
}

.ne-share-head {
  margin-bottom: 8px;
  color: var(--ne-muted);
  font: 700 12px "Manrope", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ne-nav-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ne-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--ne-border);
  border-radius: 12px;
  padding: 10px;
  text-decoration: none;
  color: #1f343c;
  font: 600 13px "Manrope", sans-serif;
}

.ne-nav-item:hover {
  border-color: #9cc7c2;
}

.ne-sidebar-card {
  padding: 16px;
  position: sticky;
  top: 20px;
}

.ne-sidebar-card h3 {
  margin: 0;
  font: 700 22px "Sora", sans-serif;
}

.ne-sidebar-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ne-sidebar-item {
  border-top: 1px dashed var(--ne-border);
  padding: 10px 0;
}

.ne-sidebar-item a {
  color: var(--ne-text);
  text-decoration: none;
  font: 600 14px/1.5 "Manrope", sans-serif;
}

.ne-sidebar-date {
  display: block;
  color: var(--ne-muted);
  font: 600 12px "Manrope", sans-serif;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .ne-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ne-detail-layout {
    grid-template-columns: 1fr;
  }

  .ne-sidebar-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .ne-grid,
  .ne-nav-row {
    grid-template-columns: 1fr;
  }

  .ne-hero,
  .ne-card,
  .ne-article,
  .ne-share,
  .ne-nav,
  .ne-sidebar-card {
    border-radius: 14px;
  }

  .ne-article {
    padding: 16px;
  }
}
