﻿.npl-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 330px;
  justify-content: space-between;
  gap: 44px;
  padding: 42px 0 52px;
}

.npl-archive-header {
  margin-bottom: 24px;
}

.npl-breadcrumbs {
  margin-bottom: 18px;
  color: var(--npl-muted);
  font-size: 0.84rem;
}

.npl-archive-title,
.npl-entry-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.1vw, 3.35rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.single .npl-entry-title {
  max-width: 900px;
  font-size: clamp(2rem, 3.25vw, 3.15rem);
}

.npl-archive-feed {
  display: grid;
  gap: 24px;
}

.npl-archive-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--npl-line);
}

.npl-archive-card__image {
  aspect-ratio: 16 / 10;
  border-radius: var(--npl-radius);
}

.npl-archive-card__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.npl-archive-card__excerpt {
  margin: 0 0 12px;
  color: #454b52;
}

.npl-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.npl-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--npl-line);
  border-radius: 6px;
  padding: 0 10px;
  font-weight: 800;
}

.npl-pagination .current {
  background: var(--npl-red);
  border-color: var(--npl-red);
  color: #fff;
}

.npl-entry-header {
  margin-bottom: 24px;
}

.npl-entry-excerpt {
  margin: 0 0 16px;
  color: #49515a;
  font-size: 1.14rem;
}

.npl-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.npl-share-row a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--npl-soft);
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease;
}

.npl-share-row a:hover {
  background: var(--npl-red);
  color: #fff;
}

.npl-featured-image {
  overflow: hidden;
  margin: 24px 0;
  border-radius: var(--npl-radius);
  background: var(--npl-soft);
  box-shadow: 0 10px 26px rgba(16, 20, 24, 0.08);
}

.npl-featured-image img {
  width: 100%;
}

.npl-entry-content {
  max-width: 820px;
  font-size: 1.08rem;
  line-height: 1.82;
}

.npl-entry-content > *:first-child {
  margin-top: 0;
}

.npl-entry-content p {
  margin: 0 0 1.15em;
}

.npl-entry-content h2,
.npl-entry-content h3 {
  line-height: 1.25;
}

.npl-entry-content img {
  border-radius: var(--npl-radius);
}

.npl-entry-content blockquote {
  margin: 1.5em 0;
  border-left: 4px solid var(--npl-red);
  background: var(--npl-bg);
  padding: 18px 20px;
  font-size: 1.15rem;
}

.npl-author-box {
  display: flex;
  gap: 16px;
  margin: 28px 0;
  padding: 18px;
  border-radius: var(--npl-radius);
  background: var(--npl-bg);
}

.npl-author-box img {
  width: 70px;
  height: 70px;
  border-radius: 999px;
}

.npl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.npl-tags a {
  border-radius: 999px;
  background: var(--npl-soft);
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.npl-profile-hero {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid var(--npl-line);
  border-radius: var(--npl-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), #fff),
    linear-gradient(135deg, #dfe5ec, #f6f7f8);
  padding: clamp(22px, 4vw, 44px);
}

.npl-profile-hero__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.npl-profile-avatar {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border: 8px solid #fff;
  border-radius: 999px;
  background: var(--npl-soft);
  box-shadow: var(--npl-shadow);
}

.npl-profile-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--npl-line);
  text-align: center;
}

.npl-profile-stats strong {
  display: block;
  font-size: 1.2rem;
}

.npl-empty {
  border: 1px dashed var(--npl-line);
  border-radius: var(--npl-radius);
  background: var(--npl-bg);
  padding: 24px;
  color: var(--npl-muted);
}
