/*
Theme Name: Typecho-one-Theme
Theme URI: https://example.com
Description: 一款简约文字typecho博客主题
Version: 1.0.0
Author: RAO
Author URI: https://example.com
*/

/* ============================================
   Base Styles
   ============================================ */
:root {
  --color-primary: #555;
  --color-text: #333;
  --color-text-light: #666;
  --color-text-lighter: #888;
  --color-text-muted: #aaa;
  --color-text-faint: #ccc;
  --color-bg: #f5f5f5;
  --color-bg-white: #fff;
  --color-border: #e0e0e0;
  --color-border-light: #eee;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 14px;
}

a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-text);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   Header / Navbar
   ============================================ */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text) !important;
}

.navbar-brand .logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

.navbar {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0;
  min-height: 60px;
}

.navbar > .container {
  max-width: 900px;
}

.site-footer > .container {
  max-width: 900px;
}

.navbar .nav-link {
  color: var(--color-text-light) !important;
  font-size: 14px;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
}

.navbar .nav-link:hover {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}

.navbar .nav-link.active {
  color: var(--color-primary) !important;
  font-weight: 500;
  text-decoration: none !important;
}

/* 导航链接悬停效果增强 */
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 80%;
}

/* 导航栏切换按钮样式 */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler i {
  color: var(--color-text-light);
  font-size: 20px;
}

.navbar-toggler:hover i {
  color: var(--color-primary);
}

/* Search box */
.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  width: 140px;
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid #999;
  border-right: none;
  border-radius: 16px 0 0 16px;
  background: transparent;
  outline: none;
}

.search-box input:focus {
  border-color: #666;
}

.search-box button {
  height: 32px;
  padding: 0 12px;
  background: #888;
  color: #fff;
  border: 1px solid #888;
  border-radius: 0 16px 16px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #777;
}

.search-icon-btn {
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-right: 8px;
  height: 36px;
  width: 36px;
}

.search-icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

.user-icon {
  color: var(--color-text-light);
  font-size: 20px;
  margin-left: 8px;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
}

.user-icon:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.search-modal.show {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s;
}

.search-modal.show .search-modal-content {
  transform: translateY(0);
}

.search-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #999;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.search-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.search-modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 30px;
}

.search-modal-form {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.search-modal-form input {
  flex: 1;
  height: 48px;
  padding: 0 20px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 24px 0 0 24px;
  outline: none;
  transition: border-color 0.3s;
}

.search-modal-form input:focus {
  border-color: var(--color-primary);
}

.search-modal-form button {
  height: 48px;
  padding: 0 20px;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 0 24px 24px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.search-modal-form button:hover {
  background: #444;
  border-color: #444;
}

/* Search box (hidden on mobile) */
.search-box {
  display: none;
}

@media (max-width: 768px) {
  .search-box {
    display: none;
  }
}

/* ============================================
   Article List (Index)
   ============================================ */
.article-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 15px;
}

.article-item {
  background: var(--color-bg-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 16px;
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.article-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-item .item-body {
  display: flex;
  padding: 16px 20px;
  gap: 16px;
}

.article-item .item-content {
  flex: 1;
  min-width: 0;
}

.article-item .item-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 13px;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 4px;
  margin-right: 12px;
  gap: 6px;
  font-weight: 500;
}

.article-item .item-category i {
  color: #fff;
  font-size: 12px;
}

.article-item .item-title {
  display: inline;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}

.article-item .item-title:hover {
  color: var(--color-primary);
}

.article-item .item-excerpt {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin: 12px 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-item .item-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #999;
  flex-wrap: wrap;
}

.article-item .item-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-item .item-meta svg {
  color: #bbb;
}

.article-item .item-tags {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-item .item-tags a {
  font-size: 13px;
  color: #999;
}

.article-item .item-tags a:hover {
  color: var(--color-text-light);
}

.article-item .item-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
}

.article-item .item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding-bottom: 16px;
}

/* 直接选择所有分页相关元素，确保样式应用 */
.pagination-wrapper ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper li {
  display: flex;
}

/* 所有分页链接和文本的基础样式 */
.pagination-wrapper a,
.pagination-wrapper span {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-light);
  background: var(--color-bg-white);
  transition: all 0.3s;
  text-decoration: none;
}

/* 悬停效果 */
.pagination-wrapper a:hover {
  background: var(--color-bg);
  border-color: var(--color-border);
}

/* 激活状态的样式（当前页） */
.pagination-wrapper li.active a,
.pagination-wrapper li.active span {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* 禁用状态的样式 */
.pagination-wrapper li.disabled a,
.pagination-wrapper li.disabled span {
  color: var(--color-text-faint);
  border-color: var(--color-border-light);
  pointer-events: none;
}

/* 页码样式（包括第一页和最后一页） */
.pagination-wrapper li:not(.prev):not(.next) a,
.pagination-wrapper li:not(.prev):not(.next) span {
  background: var(--color-bg-white);
  color: var(--color-text-light);
}

/* 页码悬停效果 */
.pagination-wrapper li:not(.prev):not(.next) a:hover {
  background: var(--color-bg);
}

/* 左右箭头按钮样式 */
.pagination-wrapper li.prev a,
.pagination-wrapper li.prev span,
.pagination-wrapper li.next a,
.pagination-wrapper li.next span {
  background: var(--color-bg-white);
  color: var(--color-text-light);
}

/* 左右箭头按钮悬停效果 */
.pagination-wrapper li.prev a:hover,
.pagination-wrapper li.next a:hover {
  background: var(--color-bg);
}

/* 省略号样式 */
.pagination-wrapper li span {
  background: transparent;
  border: none;
  color: var(--color-text-light);
}

/* ============================================
   Post Detail
   ============================================ */
.post-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 15px;
}

.post-card {
  background: var(--color-bg-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}

.post-header {
  padding: 32px 40px 0;
  text-align: center;
}

.post-header h1 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-feature-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.post-body {
  padding: 10px 40px 32px;
}

.post-body h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-text);
  margin: 2rem 0 1rem;
}

.post-body h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-text);
  margin: 1.5rem 0 0.75rem;
}

.post-body p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.post-body pre {
  background: #f8f8f8;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
}

.post-body code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

.post-body pre code {
  background: none;
  padding: 0;
}

.post-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  margin: 1rem 0;
  background: #fafafa;
  color: var(--color-text-light);
}

.post-body img {
  max-width: 100%;
  border-radius: 4px;
  margin: 0.3rem 0;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  border-top: 1px solid var(--color-border-light);
}

.post-tags a {
  font-size: 13px;
  color: var(--color-text-lighter);
}

.post-tags a:hover {
  color: var(--color-primary);
}

/* Prev/Next navigation */
.post-navigation {
  display: flex;
  border-top: 1px solid var(--color-border-light);
  padding: 0;
}

.nav-card {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px 20px;
  transition: background 0.3s;
  text-decoration: none;
}

.nav-card.prev {
  justify-content: flex-start;
}

.nav-card.next {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.nav-card:first-child {
  border-right: 1px solid var(--color-border-light);
}

.nav-card:hover {
  background: #f9f9f9;
}

.nav-card.disabled {
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.nav-card.disabled:hover {
  background: transparent;
}

.nav-icon {
  font-size: 24px;
  margin-right: 12px;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.nav-card.next .nav-icon {
  margin-right: 0;
  margin-left: 12px;
}

.nav-info {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 36px);
}

.nav-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.nav-title {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.nav-card.disabled .nav-title {
  color: var(--color-text-muted);
}

.nav-card.prev .nav-info {
  text-align: left;
}

.nav-card.next .nav-info {
  text-align: right;
}

/* ============================================
   Comments
   ============================================ */
.comment-section {
  background: var(--color-bg-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-top: 24px;
  padding: 24px 32px;
}

.comment-section h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 20px;
}

.comment-form .comment-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.comment-form .comment-avatar {
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-form .comment-textarea-wrap {
  flex: 1;
  position: relative;
}

.comment-form textarea {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: none;
  outline: none;
  min-height: 80px;
  background: transparent;
}

.comment-form textarea:focus {
  border-color: #999;
}

.comment-form .send-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}

.comment-form .send-btn:hover {
  color: var(--color-text-light);
}

.comment-form .info-fields {
  display: flex;
  gap: 12px;
  margin-left: 52px;
}

.comment-form .info-fields input {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
  background: transparent;
}

.comment-form .info-fields input:focus {
  border-color: #999;
}

/* Comment list */
.comment-list {
  margin-top: 24px;
}

.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border-light);
}

.comment-item .c-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e0e0;
  flex-shrink: 0;
}

.comment-item .c-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.comment-item .c-body {
  flex: 1;
}

.comment-item .c-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
}

.comment-item .c-date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-left: 8px;
}

.comment-item .c-text {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  margin-top: 6px;
}

.comment-item .c-reply {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
  cursor: pointer;
}

.comment-item .c-reply:hover {
  color: var(--color-primary);
}

/* ============================================
   Page Template (About, etc.)
   ============================================ */
.page-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 15px;
}

.page-card {
  background: var(--color-bg-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}

.page-header {
  padding: 32px 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
}

.page-body {
  padding: 24px 40px 32px;
}

/* ============================================
   Archive Page
   ============================================ */
.archive-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
}

.archive-page h1 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.archive-year {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-left: 40px;
}

.archive-list {
  margin-bottom: 32px;
}

.archive-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  padding-left: 80px;
}

.archive-item .archive-date {
  font-size: 14px;
  color: #999;
  flex-shrink: 0;
}

.archive-item .archive-date::before {
  content: "·";
  margin-right: 2px;
}

.archive-item .archive-title {
  font-size: 15px;
  color: var(--color-primary);
}

.archive-item .archive-title:hover {
  color: var(--color-text);
}

/* ============================================
   Tags Page
   ============================================ */
.tags-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
}

.tags-page h1 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding: 0 60px;
}

.tags-cloud a {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-light);
  transition: color 0.3s;
}

.tags-cloud a:hover {
  color: var(--color-text);
}

/* ============================================
   Links Page
   ============================================ */
.links-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 15px;
}

.links-page h1 {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-white);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.link-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.link-card .link-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.link-card .link-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-card .link-info {
  min-width: 0;
}

.link-card .link-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card .link-desc {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border-light);
  padding: 24px 0;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--color-text-light);
}

.footer-nav a:hover {
  color: var(--color-text);
}

.footer-copy {
  font-size: 13px;
  color: #999;
}

.footer-copy a {
  color: #999;
}

.footer-copy a:hover {
  color: var(--color-text-light);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 100;
  border: none;
  transition: background 0.3s;
  font-size: 18px;
}

.back-to-top:hover {
  background: #444;
}

.back-to-top.show {
  display: flex;
}

/* ============================================
   404 Page
   ============================================ */
.page-404 {
  text-align: center;
  padding: 120px 15px;
}

.page-404 h1 {
  font-size: 6rem;
  font-weight: bold;
  color: #ddd;
  margin-bottom: 16px;
}

.page-404 p {
  font-size: 1.25rem;
  color: var(--color-text-lighter);
  margin-bottom: 24px;
}

.page-404 a {
  display: inline-block;
  padding: 8px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
}

.page-404 a:hover {
  background: #444;
  color: #fff;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .article-item .item-body {
    flex-direction: column;
  }

  .article-item .item-thumb {
    width: 100%;
    height: 160px;
  }

  .post-header,
  .post-body,
  .post-tags {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-header,
  .page-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .archive-item {
    padding-left: 20px;
  }

  .archive-year {
    padding-left: 20px;
  }

  .links-grid {
    grid-template-columns: 1fr;
  }

  .comment-form .info-fields {
    flex-direction: column;
    margin-left: 0;
  }

  .comment-form .comment-input-row {
    flex-direction: column;
  }

  .search-box {
    display: none;
  }
}

@media (max-width: 576px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav a:first-child {
    border-right: none;
    border-bottom: 1px solid var(--color-border-light);
  }
}
