.post-page,
.blog-page {
  padding-bottom: 48px;
}

.page-head {
  margin-bottom: 8px;
}
.page-head h1 {
  font-size: 30px;
}

.archive-desc {
  max-width: 70ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.archive-desc p {
  margin: 0 0 10px;
}
.archive-desc p:last-child {
  margin-bottom: 0;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.15s ease;
}
.post-card:hover {
  border-color: rgba(0, 0, 0, 0);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.post-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.post-card-title a:hover {
  color: var(--brand);
}

.post-card-excerpt {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12.5px;
}
.post-card-meta .dot {
  opacity: 0.5;
}

.catalog-empty {
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb .sep {
  opacity: 0.5;
}

.post-layout {
  margin-top: 8px;
}

.post-head {
  margin-bottom: 22px;
}

.post-cats {
  margin-bottom: 12px;
}
.post-cats a {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  background: #eaf6f6;
  border-radius: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.post-cats a:hover {
  background: var(--brand);
  color: #fff;
}

.post-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-meta .icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.post-cover {
  margin: 0 0 26px;
}
.post-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.post-content {
  font-size: 16px;
  line-height: 1.75;
}
.post-content h2 {
  margin: 30px 0 12px;
  font-size: 24px;
}
.post-content h3 {
  margin: 26px 0 10px;
  font-size: 19px;
}
.post-content > :first-child {
  margin-top: 0;
}
.post-content p {
  margin: 0 0 16px;
}
.post-content ul,
.post-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.post-content ul {
  list-style: disc;
}
.post-content ol {
  list-style: decimal;
}
.post-content li {
  margin-bottom: 8px;
}
.post-content a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.post-content iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  border-radius: var(--radius-sm);
}
.post-content blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--brand);
  color: var(--ink);
  font-size: 17px;
}
.post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 14px;
}
.post-content table th,
.post-content table td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.post-content table th {
  background: var(--bg-soft);
  font-family: var(--ff-head);
}
.post-content table th:has(img) {
  background: none;
  font-weight: 400;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.post-tags a {
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 13px;
}
.post-tags a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.post-navigation {
  margin-top: 28px;
}
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter);
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 1 240px;
}
.post-navigation .nav-next {
  text-align: right;
}
.post-navigation a {
  display: block;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.15s ease;
}
.post-navigation a:hover {
  border-color: rgba(0, 0, 0, 0);
  box-shadow: var(--shadow);
}
.post-navigation .nav-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.post-navigation .nav-title {
  display: block;
  color: var(--ink);
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.35;
}
.post-navigation a:hover .nav-title {
  color: var(--brand);
}

@media (min-width: 992px) {
  .post-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
  }
}

.side-box {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.side-box + .side-box {
  margin-top: var(--gutter);
}

.side-heading {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}

.side-posts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-posts li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.side-posts a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-thumb {
  flex: 0 0 64px;
  height: 64px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-title {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.side-posts a:hover .side-title {
  color: var(--brand);
}

.side-date {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.side-cats {
  margin: 0;
  padding: 0;
  list-style: none;
}
.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  color: var(--ink);
  font-size: 14px;
}
.side-cats li + li a {
  border-top: 1px solid var(--line);
}
.side-cats a:hover {
  color: var(--brand);
}
.side-cats .count {
  min-width: 26px;
  padding: 2px 8px;
  background: var(--bg-soft);
  border-radius: 20px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.post-related {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-related .section-head h2 {
  font-size: 24px;
}

.related-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.15s ease;
}
.related-card:hover {
  border-color: rgba(0, 0, 0, 0);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.related-thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-body {
  display: block;
  padding: 16px 18px;
}

.related-title {
  display: block;
  color: var(--ink);
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.related-card:hover .related-title {
  color: var(--brand);
}

.related-date {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

/*# sourceMappingURL=blog.css.map */
