.main-container {
  gap: clamp(28px, 3.5vw, 48px);
}

.main,
.main-article {
  letter-spacing: 0;
}

.popular-home-ready .article-list {
  gap: 28px;
}

.article-list article,
.popular-home-card,
.main-article,
.widget {
  border: 1px solid var(--andong-line, rgba(27, 33, 30, 0.12));
  border-radius: 14px;
  background: var(--andong-surface, #fbfaf7);
  box-shadow: none;
}

.article-list article,
.popular-home-card {
  overflow: hidden;
}

.article-image img {
  filter: saturate(0.86) contrast(1.02);
  transition: filter 200ms ease, transform 300ms ease;
}

.article-list article:hover .article-image img,
.popular-home-card:hover .article-image img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.012);
}

.article-details {
  padding: clamp(22px, 3vw, 34px);
}

.article-title,
.main-article .article-title {
  color: var(--andong-text, #1b211e);
  letter-spacing: -0.025em;
}

.article-list .article-title {
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 680;
  line-height: 1.28;
}

.article-subtitle {
  display: -webkit-box;
  color: var(--andong-muted, #69706c);
  font-size: 14px;
  font-weight: 430;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.article-category {
  gap: 14px;
  margin-bottom: 12px;
}

.article-category a {
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  color: var(--andong-accent, #3f6b57) !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.article-category a::before {
  content: "# ";
}

.article-time,
.popular-home-card .article-time {
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--andong-muted, #69706c);
  font-size: 12px;
}

.popular-visit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--andong-muted, #69706c);
}

.popular-visit-badge .icon {
  width: 16px;
  height: 16px;
}

.right-sidebar .widget,
.widget {
  background: var(--andong-surface, #fbfaf7);
}

.right-sidebar,
.right-sidebar.sticky {
  display: flex !important;
  flex-direction: column;
  position: static !important;
  top: auto !important;
  align-self: start;
  max-height: none !important;
  overflow: visible !important;
  gap: 28px !important;
}

.right-sidebar .widget {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px 9px;
  padding: 17px 18px 18px;
  border: 1px solid var(--andong-line, rgba(27, 33, 30, 0.12));
  border-radius: 12px;
  background: rgba(251, 250, 247, 0.62);
  box-shadow: 0 12px 34px rgba(27, 33, 30, 0.035);
  backdrop-filter: blur(10px) saturate(0.82);
  -webkit-backdrop-filter: blur(10px) saturate(0.82);
}

.right-sidebar .widget::before {
  position: absolute;
  z-index: -1;
  inset: -34%;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(63, 107, 87, 0.14), transparent 34%),
    radial-gradient(ellipse at 8% 92%, rgba(27, 33, 30, 0.075), transparent 38%);
  filter: blur(14px);
  transform: rotate(4deg);
  content: "";
  pointer-events: none;
}

.right-sidebar .widget > .widget-icon {
  display: flex;
  grid-column: 1;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--andong-accent, #3f6b57);
}

.right-sidebar .widget > .widget-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.right-sidebar .widget > .widget-title {
  grid-column: 2;
  margin: 0;
}

.right-sidebar .widget > :not(.widget-icon):not(.widget-title) {
  grid-column: 1 / -1;
  width: 100%;
}

.right-sidebar .widget-archive--list {
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: rgba(251, 250, 247, 0.24);
  box-shadow: none;
}

.right-sidebar .widget-title {
  color: var(--andong-text, #1b211e);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.tagCloud-tags a,
.tag-cloud a,
.widget.tagCloud a {
  padding: 6px 10px;
  border: 1px solid var(--andong-line, rgba(27, 33, 30, 0.12));
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.22);
  color: var(--andong-muted, #69706c);
  font-size: 12.5px;
  line-height: 1.35;
  box-shadow: none;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.tagCloud-tags a:hover,
.tag-cloud a:hover,
.widget.tagCloud a:hover {
  border-color: var(--andong-accent, #3f6b57);
  background: transparent;
  color: var(--andong-accent, #3f6b57);
}

[data-scheme="dark"] .right-sidebar .widget {
  background: rgba(23, 28, 25, 0.62);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

[data-scheme="dark"] .right-sidebar .widget::before {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(143, 184, 162, 0.13), transparent 34%),
    radial-gradient(ellipse at 8% 92%, rgba(232, 237, 233, 0.045), transparent 38%);
}

[data-scheme="dark"] .right-sidebar .widget-archive--list,
[data-scheme="dark"] .widget.tagCloud a {
  background: rgba(23, 28, 25, 0.24);
}

.ink-info-stack {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid var(--andong-line, rgba(27, 33, 30, 0.12));
  border-radius: 12px;
  background: rgba(245, 244, 240, 0.66);
  box-shadow: 0 12px 34px rgba(27, 33, 30, 0.03);
  backdrop-filter: blur(10px) saturate(0.76);
  -webkit-backdrop-filter: blur(10px) saturate(0.76);
}

.ink-info-stack::before {
  position: absolute;
  z-index: -1;
  inset: -24%;
  background:
    radial-gradient(ellipse at 94% 8%, rgba(63, 107, 87, 0.095), transparent 34%),
    radial-gradient(ellipse at 6% 96%, rgba(70, 78, 73, 0.055), transparent 38%);
  filter: blur(15px);
  transform: rotate(-3deg);
  content: "";
  pointer-events: none;
}

.ink-info-stack .widget {
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ink-info-stack .widget::before {
  display: none;
}

.ink-info-stack .widget + .widget {
  border-top: 1px solid var(--andong-line, rgba(27, 33, 30, 0.12));
}

.ink-info-stack .widget-archive--list {
  background: transparent;
}

[data-scheme="dark"] .ink-info-stack {
  background: rgba(24, 27, 25, 0.68);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.11);
}

[data-scheme="dark"] .ink-info-stack::before {
  background:
    radial-gradient(ellipse at 94% 8%, rgba(143, 184, 162, 0.09), transparent 34%),
    radial-gradient(ellipse at 6% 96%, rgba(232, 237, 233, 0.035), transparent 38%);
}

[data-scheme="dark"] .ink-info-stack .widget,
[data-scheme="dark"] .ink-info-stack .widget-archive--list {
  background: transparent;
}

@media (max-width: 768px) {
  .main-container {
    gap: 20px;
  }

  .popular-home-ready .article-list {
    gap: 20px;
  }

  .article-list .article-title {
    font-size: 22px;
  }

  .article-details {
    padding: 20px;
  }

  .right-sidebar {
    gap: 22px !important;
  }
}
