/*
Theme Name: New Exam Studio
Theme URI: https://example.com/new-exam-studio
Author: New Exam Studio
Description: Polished light theme for the New Exam Studio React app and WordPress pages.
Version: 0.3.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: new-exam-studio
*/

/* —— Design tokens —— */
:root {
  --nes-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nes-color-bg: #f1f5f9;
  --nes-color-surface: #ffffff;
  --nes-color-text: #0f172a;
  --nes-color-muted: #64748b;
  --nes-color-border: #e2e8f0;
  --nes-color-primary: #2563eb;
  --nes-color-primary-dark: #1d4ed8;
  --nes-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --nes-shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --nes-radius: 10px;
  --nes-header-h: 4rem;
  --nes-site-header-offset: 4rem;
  --nes-content-width: 42rem;
  --nes-app-max: 1200px;
}

/* —— Base typography —— */
html {
  scroll-behavior: smooth;
}

body.nes-theme {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--nes-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--nes-color-text);
  background: var(--nes-color-bg);
  -webkit-font-smoothing: antialiased;
}

body.nes-theme .nes-site-main {
  flex: 1;
}

body.nes-nav-open {
  overflow: auto;
}

.nes-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: var(--nes-color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--nes-radius) var(--nes-radius);
}

.nes-skip-link:focus {
  left: 1rem;
}

/* —— Header —— */
.nes-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--nes-color-border);
  box-shadow: var(--nes-shadow-sm);
}

.nes-site-header__inner {
  position: relative;
  z-index: 1002;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: var(--nes-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

.nes-site-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nes-site-logo img {
  display: block;
  max-height: 44px;
  width: auto;
}

.nes-site-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--nes-color-text);
  min-width: 0;
}

.nes-site-brand__text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.nes-site-brand__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--nes-color-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.nes-site-header__aside {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  min-width: 0;
}

.nes-site-header__tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nes-header-tools {
  display: flex;
  align-items: center;
}

.nes-header-tools .nes-notifications__panel {
  z-index: 1005;
}

/* —— Navigation (desktop) —— */
.nes-site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nes-site-nav__list li {
  margin: 0;
}

.nes-site-nav__link {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nes-color-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nes-site-nav__link:hover,
.nes-site-nav__link:focus-visible {
  background: #f1f5f9;
  color: var(--nes-color-primary);
}

.nes-site-nav__link--cta {
  background: var(--nes-color-primary);
  color: #fff !important;
}

.nes-site-nav__link--cta:hover,
.nes-site-nav__link--cta:focus-visible {
  background: var(--nes-color-primary-dark);
  color: #fff !important;
}

.nes-site-nav__link--muted {
  color: var(--nes-color-muted);
}

.nes-site-nav__list > .menu-item-nes-notifications {
  display: flex;
  align-items: center;
  margin: 0;
}

.nes-site-nav__list > .menu-item-nes-notifications .nes-site-header__tools {
  display: flex;
  align-items: center;
}

.nes-site-nav__list > .menu-item-nes-notifications .nes-notifications__toggle {
  margin: 0;
}

/* Mobile toggle */
.nes-site-nav-toggle {
  display: none;
  flex-shrink: 0;
  gap: 5px;
  border: 1px solid var(--nes-color-border);
  border-radius: 8px;
  background: var(--nes-color-surface);
  cursor: pointer;
  color: var(--nes-color-text);
}

.nes-site-nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nes-site-nav-backdrop {
  display: none !important;
}

@media (max-width: 768px) {
  .nes-site-header__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .nes-site-header__aside {
    margin-left: 0;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
  }

  .nes-site-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    flex-shrink: 0;
    order: 3;
    position: relative;
    z-index: 1003;
  }

  .nes-site-brand-wrap {
    flex-shrink: 0;
    order: 1;
  }

  .nes-site-nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .nes-site-nav-toggle__bar {
    transition: transform 0.2s, opacity 0.2s;
  }

  .nes-site-header--nav-open .nes-site-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nes-site-header--nav-open .nes-site-nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nes-site-header--nav-open .nes-site-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nes-site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: -1.25rem;
    right: -1.25rem;
    z-index: 999;
    width: auto;
    min-height: 13.5rem;
    max-height: min(22rem, calc(100vh - var(--nes-site-header-offset, var(--nes-header-h)) - 1.25rem));
    background: var(--nes-color-surface);
    padding: 0.85rem 1rem 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--nes-color-border);
    border-top: none;
    border-radius: 0 0 14px 14px;
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: var(--nes-shadow-md);
  }

  body.nes-nav-open .nes-site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nes-site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nes-site-nav__link {
    display: block;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
  }

  .nes-site-nav__list > .menu-item-nes-notifications {
    padding: 0.35rem 0.85rem 0.7rem;
  }
}

/* —— Main content (standard pages) —— */
.nes-site-main {
  min-height: calc(100vh - var(--nes-header-h) - 8rem);
}

.nes-content {
  max-width: var(--nes-content-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.nes-article__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.nes-prose {
  font-size: 1.0625rem;
}

.nes-prose > *:first-child {
  margin-top: 0;
}

.nes-prose h2,
.nes-prose h3 {
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.nes-prose a {
  color: var(--nes-color-primary);
  font-weight: 500;
}

.nes-prose a:hover {
  color: var(--nes-color-primary-dark);
}

.nes-content-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--nes-color-muted);
}

/* —— Exam app full-width shell —— */
body.nes-app-page {
  background: #eef2f7;
}

body.nes-app-page .nes-site-brand__tagline {
  display: none;
}

.nes-site-main--app {
  min-height: calc(100vh - var(--nes-header-h) - 4rem);
  padding: 0;
}

.nes-app-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.nes-app-shell__notice {
  text-align: center;
  color: var(--nes-color-muted);
}

/* Widen React app inside theme shell */
body.nes-app-page .nes-app {
  max-width: var(--nes-app-max);
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

/* Catalog with left filters: use full width */
body.nes-app-page .nes-app.nes-app--catalog-full {
  max-width: none;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);
  overflow-x: clip;
}

/* Test runner: use full width, no outer gutter */
body.nes-app-page .nes-app.nes-app--runner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Sign in / sign up: compact centered card (not full catalog width) */
body.nes-app-page .nes-app.nes-app--auth {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  body.nes-app-page .nes-app {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  body.nes-app-page .nes-app.nes-app--catalog-full {
    padding-left: clamp(1.25rem, 2.5vw, 2rem);
    padding-right: clamp(1.25rem, 2.5vw, 2rem);
  }

  body.nes-app-page .nes-app.nes-app--runner {
    padding-left: 0;
    padding-right: 0;
  }

  body.nes-app-page .nes-app.nes-app--auth {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Optional: edge-to-edge app background band */
body.nes-app-page .nes-site-main--app {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

/* —— Footer —— */
.nes-site-footer {
  background: var(--nes-color-surface);
  border-top: 1px solid var(--nes-color-border);
  margin-top: auto;
}

.nes-site-footer--compact {
  margin-top: 0;
}

.nes-site-footer--compact .nes-site-footer__inner {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.nes-site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  gap: 2rem;
  align-items: start;
}

.nes-site-footer__inner--three-cols {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
}

.nes-site-footer__inner--two-cols {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.nes-site-footer__inner--one-col {
  grid-template-columns: minmax(0, 1fr);
}

.nes-site-footer__column {
  min-width: 0;
}

.nes-site-footer__nav {
  display: block;
}

@media (max-width: 768px) {
  .nes-site-footer__inner--three-cols,
  .nes-site-footer__inner--two-cols,
  .nes-site-footer__inner--one-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.nes-site-footer__brand strong,
.nes-site-footer__name {
  font-size: 1rem;
  display: block;
  margin-bottom: 0.35rem;
}

.nes-site-footer__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--nes-color-muted);
}

.nes-site-footer__extra {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--nes-color-muted);
}

.nes-site-footer__extra > :first-child {
  margin-top: 0;
}

.nes-site-footer__extra p,
.nes-site-footer__extra ul,
.nes-site-footer__extra ol {
  margin: 0.35rem 0 0;
}

.nes-site-footer__extra a {
  color: var(--nes-color-primary);
  text-decoration: none;
}

.nes-site-footer__extra a:hover {
  text-decoration: underline;
}

.nes-site-footer__copy {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--nes-color-muted);
}

.nes-site-footer__logo .custom-logo-link {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.nes-site-footer__logo .custom-logo {
  max-height: 40px;
  width: auto;
}

.nes-site-footer__widgets {
  margin-top: 1rem;
}

.nes-site-footer__widget-title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nes-color-muted);
}

.nes-site-footer__widget {
  font-size: 0.875rem;
  color: var(--nes-color-muted);
}

.nes-site-footer__widget + .nes-site-footer__widget {
  margin-top: 1rem;
}

.nes-site-footer__heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nes-color-muted);
}

.nes-site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.nes-site-footer__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nes-color-text);
  text-decoration: none;
}

.nes-site-footer__link:hover {
  color: var(--nes-color-primary);
}

/* WordPress menu compatibility */
.nes-site-nav__list .sub-menu {
  display: none;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

/* —— Blog archive —— */
.nes-site-main--blog {
  background: linear-gradient(180deg, #f8fafc 0%, var(--nes-color-bg) 220px);
}

.nes-blog-header {
  padding: 2.5rem 1.25rem 1.5rem;
}

.nes-blog-header__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.nes-blog-header__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nes-color-primary);
}

.nes-blog-header__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.nes-blog-header__lead,
.nes-blog-header__description {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  font-size: 1.0625rem;
  color: var(--nes-color-muted);
  line-height: 1.6;
}

.nes-blog-header__description p {
  margin: 0;
}

.nes-blog {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.nes-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .nes-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nes-post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .nes-blog-header {
    padding-top: 1.75rem;
  }
}

/* —— Post cards —— */
.nes-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--nes-color-surface);
  border: 1px solid var(--nes-color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--nes-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nes-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nes-shadow-md);
}

.nes-post-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.nes-post-media__link {
  display: block;
  width: 100%;
  height: 100%;
}

.nes-post-media__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nes-post-media__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 55%, #e8f4fc 100%);
}

.nes-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.nes-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--nes-color-muted);
}

.nes-post-card__category {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nes-color-primary);
  background: #eff6ff;
  border-radius: 999px;
}

.nes-post-card__category:hover {
  background: #dbeafe;
}

.nes-post-meta__date {
  color: var(--nes-color-muted);
}

.nes-post-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.nes-post-card__title a {
  color: var(--nes-color-text);
  text-decoration: none;
}

.nes-post-card__title a:hover {
  color: var(--nes-color-primary);
}

.nes-post-card__excerpt {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--nes-color-muted);
  line-height: 1.55;
  overflow: hidden;
}

.nes-post-card__excerpt p {
  margin: 0;
}

.nes-post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nes-color-primary);
  text-decoration: none;
}

.nes-post-card__more:hover {
  color: var(--nes-color-primary-dark);
}

/* —— Pagination —— */
.nes-pagination {
  margin-top: 2.5rem;
}

.nes-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.nes-pagination__item a,
.nes-pagination__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--nes-color-text);
  background: var(--nes-color-surface);
  border: 1px solid var(--nes-color-border);
  border-radius: 8px;
}

.nes-pagination__item a:hover {
  border-color: var(--nes-color-primary);
  color: var(--nes-color-primary);
}

.nes-pagination__item--current span {
  background: var(--nes-color-primary);
  border-color: var(--nes-color-primary);
  color: #fff;
}

/* —— Single post & pages —— */
.nes-site-main--single,
.nes-site-main--page {
  background: var(--nes-color-bg);
}

.nes-content--article,
.nes-content--page {
  max-width: 46rem;
}

.nes-article--single .nes-article__header,
.nes-article--page .nes-article__header {
  margin-bottom: 1.25rem;
}

.nes-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  color: var(--nes-color-muted);
}

.nes-article__featured {
  margin: 0 0 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--nes-color-border);
  box-shadow: var(--nes-shadow-sm);
}

.nes-article__featured--page {
  margin-bottom: 1.5rem;
}

.nes-post-media__frame .nes-post-media__image {
  width: 100%;
  height: auto;
  display: block;
}

.nes-article__footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--nes-color-border);
}

.nes-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.65rem;
}

.nes-post-tags__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nes-color-muted);
  padding-top: 0.2rem;
}

.nes-post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nes-post-tags__list a {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--nes-color-text);
  background: #f1f5f9;
  border-radius: 999px;
}

.nes-post-tags__list a:hover {
  background: #e2e8f0;
  color: var(--nes-color-primary);
}

.nes-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nes-color-border);
}

@media (max-width: 640px) {
  .nes-post-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

.nes-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  background: var(--nes-color-surface);
  border: 1px solid var(--nes-color-border);
  border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.nes-post-nav__link:hover {
  border-color: #cbd5e1;
  box-shadow: var(--nes-shadow-sm);
}

.nes-post-nav__link--next {
  text-align: right;
}

.nes-post-nav__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nes-color-muted);
}

.nes-post-nav__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nes-color-text);
  line-height: 1.4;
}

.nes-post-nav__link:hover .nes-post-nav__title {
  color: var(--nes-color-primary);
}

/* —— Prose enhancements —— */
.nes-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.nes-prose blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.1rem;
  border-left: 4px solid var(--nes-color-primary);
  background: #f8fafc;
  color: #334155;
}

.nes-prose ul,
.nes-prose ol {
  padding-left: 1.35rem;
}

.nes-prose li + li {
  margin-top: 0.35rem;
}

.nes-page-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nes-color-border);
  font-size: 0.9rem;
}

.nes-page-links__label {
  font-weight: 700;
  margin-right: 0.5rem;
}

.nes-content-empty--blog {
  max-width: 28rem;
  margin: 0 auto;
}

.nes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.nes-btn--primary {
  background: var(--nes-color-primary);
  color: #fff;
}

.nes-btn--primary:hover {
  background: var(--nes-color-primary-dark);
  color: #fff;
}
