:root {
  --editorial-ink: #202226;
  --editorial-paper: #f6f7f5;
  --editorial-surface: #ffffff;
  --editorial-blue: #315b8a;
  --editorial-red: #d94f3d;
  --editorial-yellow: #ddb94f;
  --editorial-mint: #8da99f;
  --editorial-muted: #6d737b;
  --editorial-line: rgba(32, 34, 38, 0.13);
  --editorial-shadow: 0 16px 40px rgba(32, 34, 38, 0.1);
  --global-bg: var(--editorial-paper);
  --card-bg: var(--editorial-surface);
  --font-color: #3e4650;
  --text-highlight-color: var(--editorial-ink);
  --card-box-shadow: none;
  --card-hover-box-shadow: none;
  --btn-bg: var(--editorial-ink);
  --btn-hover-color: var(--editorial-red);
  --text-bg-hover: rgba(217, 79, 61, 0.14);
  --scrollbar-color: var(--editorial-red);
}

[data-theme='dark'] {
  --editorial-ink: #f1f2f4;
  --editorial-paper: #111318;
  --editorial-surface: #191c22;
  --editorial-muted: #9ca3ad;
  --editorial-line: rgba(255, 255, 255, 0.14);
  --editorial-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  --global-bg: var(--editorial-paper);
  --card-bg: var(--editorial-surface);
  --font-color: #c8cbd1;
  --text-highlight-color: var(--editorial-ink);
  --blockquote-bg: rgba(255, 90, 79, 0.12);
  --btn-bg: #2a2d33;
  --btn-hover-color: #e3685b;
}

html,
body {
  background: var(--editorial-paper);
  overflow-x: hidden;
}

body {
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
#nav,
#footer {
  letter-spacing: 0;
}

/* Navigation */
#nav {
  height: 72px;
  padding: 0 4vw;
  font-weight: 700;
}

#nav #blog-info .site-name {
  font-size: 1.15rem;
  font-weight: 900;
}

#nav .site-page {
  margin-left: 24px;
}

#page-header.full_page #nav,
#page-header.full_page #nav a,
#page-header.full_page #nav .site-page,
#page-header.full_page #nav .site-name {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

#page-header.post-bg #nav,
#page-header.not-home-page #nav,
#page-header.post-bg #nav a,
#page-header.not-home-page #nav a,
#page-header.post-bg #nav .site-page,
#page-header.not-home-page #nav .site-page,
#page-header.post-bg #nav .site-name,
#page-header.not-home-page #nav .site-name {
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

#page-header.nav-fixed #nav {
  height: 64px;
  border-bottom: 1px solid var(--editorial-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.35);
}

[data-theme='dark'] #page-header.nav-fixed #nav {
  background: rgba(17, 19, 24, 0.88);
}

#page-header.nav-fixed #nav a,
#page-header.nav-fixed #nav .site-page,
#page-header.nav-fixed #nav .site-name {
  color: var(--editorial-ink);
  text-shadow: none;
}

#menus .site-page::after {
  bottom: -7px;
  height: 3px;
  background: var(--editorial-red);
}

/* Home hero */
#page-header.full_page {
  height: 100vh !important;
  height: 100svh !important;
  min-height: 100vh;
  min-height: 100svh;
  max-height: none;
  background-attachment: scroll;
  background-position: center center;
  border-bottom: 3px solid var(--editorial-yellow);
}

#page-header.full_page::before {
  display: none;
}

#page-header.full_page #site-info {
  top: auto;
  bottom: 11%;
  left: max(32px, calc((100vw - 1240px) / 2));
  padding: 0;
  width: min(620px, 48vw);
  animation: editorial-hero-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#page-header.full_page #site-info::before {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 11px;
  background: var(--editorial-yellow);
  color: #17191f;
  content: 'CHZZZ / PERSONAL JOURNAL';
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

#page-header.full_page #site-title {
  overflow: visible;
  margin: 0;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
  font-size: 5.2rem;
  font-weight: 900;
  line-height: 1.02;
  -webkit-line-clamp: unset;
}

#page-header.full_page #site-subtitle {
  margin-top: 16px;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.6;
}

#page-header.full_page #scroll-down {
  right: 4vw;
  bottom: 28px;
  left: auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(12, 14, 18, 0.16);
}

#page-header.full_page #scroll-down .scroll-down-effects {
  width: auto;
  color: #202226;
  font-size: 20px;
}

@keyframes editorial-hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home magazine grid */
#page-header.full_page + #content-inner {
  display: grid;
  grid-template-areas: 'posts profile';
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 40px;
  padding: 56px 32px 96px;
  max-width: 1280px;
}

#page-header.full_page + #content-inner::before {
  display: none;
}

#page-header.full_page + #content-inner > #aside-content {
  grid-area: profile;
  display: block;
  position: sticky;
  top: 14px;
  align-self: start;
  padding: 70px 0 0;
  width: 100%;
}

#recent-posts {
  grid-area: posts;
  width: 100%;
}

#page-header.full_page + #content-inner #aside-content .card-info {
  position: static;
  display: grid;
  grid-template-areas:
    'avatar name'
    'avatar description'
    'stats stats';
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 18px;
  margin: 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 2px solid var(--editorial-ink);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--editorial-ink);
  text-align: left;
}

#page-header.full_page + #content-inner #aside-content .sticky_layout {
  position: static;
  top: auto;
}

#page-header.full_page + #content-inner #aside-content .card-tags {
  overflow: visible;
  margin: 24px 0 0;
  padding: 18px 0 16px;
  border: 0;
  border-top: 2px solid var(--editorial-ink);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#page-header.full_page + #content-inner #aside-content .card-tags .item-headline {
  display: flex;
  align-items: center;
  padding: 0 0 13px;
  color: var(--editorial-ink);
  font-size: 0.94rem;
  font-weight: 900;
}

#page-header.full_page + #content-inner #aside-content .card-tags .item-headline i {
  color: var(--editorial-red);
  font-size: 0.84rem;
}

#page-header.full_page + #content-inner #aside-content .card-tags .item-headline span {
  margin-left: 8px;
}

#page-header.full_page + #content-inner #aside-content .card-tag-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  text-align: left;
}

#page-header.full_page + #content-inner #aside-content .card-tag-cloud a {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  min-height: 34px;
  border-left: 2px solid var(--editorial-red);
  border-radius: 2px;
  background: rgba(32, 34, 38, 0.045);
  color: var(--editorial-ink) !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#page-header.full_page + #content-inner #aside-content .card-tag-cloud a:nth-child(3n + 2) {
  border-left-color: var(--editorial-yellow);
}

#page-header.full_page + #content-inner #aside-content .card-tag-cloud a:nth-child(3n) {
  border-left-color: var(--editorial-muted);
}

#page-header.full_page + #content-inner #aside-content .card-tag-cloud a:hover {
  background: var(--editorial-ink);
  color: var(--editorial-paper) !important;
  transform: translateX(2px);
}

#page-header:not(.full_page) + #content-inner #aside-content .card-tags {
  display: none;
}

#page-header.full_page + #content-inner #aside-content .avatar-img {
  grid-area: avatar;
  align-self: start;
  margin: 0;
  width: 72px;
  height: 72px;
  border: 2px solid var(--editorial-surface);
  box-shadow: 0 0 0 1px var(--editorial-line);
}

#page-header.full_page + #content-inner #aside-content .avatar-img img {
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

#page-header.full_page + #content-inner #aside-content .avatar-img img:hover {
  transform: rotate(360deg) scale(1.04);
}

#page-header.full_page + #content-inner #aside-content .author-info-name {
  grid-area: name;
  align-self: end;
  margin-top: 0;
  color: var(--editorial-ink);
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
}

#page-header.full_page + #content-inner #aside-content .author-info-description {
  grid-area: description;
  align-self: start;
  margin: 5px 0 0;
  max-width: none;
  color: var(--editorial-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

#page-header.full_page + #content-inner #aside-content .site-data {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 15px 0 17px;
  width: 100%;
  border-top: 1px solid var(--editorial-line);
}

#page-header.full_page + #content-inner #aside-content .site-data .headline {
  color: var(--editorial-muted);
  font-size: 0.72rem;
}

#page-header.full_page + #content-inner #aside-content .site-data .length-num {
  margin-top: 2px;
  color: var(--editorial-ink);
  font-size: 1.08rem;
  font-weight: 900;
}

#page-header.full_page + #content-inner #aside-content .site-data a:hover .headline,
#page-header.full_page + #content-inner #aside-content .site-data a:hover .length-num {
  color: var(--editorial-yellow) !important;
}

#recent-posts::before {
  display: block;
  margin: 0 0 24px;
  color: var(--editorial-ink);
  content: '最近发布';
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.3;
}

#recent-posts .recent-post-items {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

#recent-posts .recent-post-items > .recent-post-item {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  margin: 0;
  height: 440px;
  border: 1px solid var(--editorial-line);
  border-radius: 4px;
  background: #17191f;
  box-shadow: 0 12px 32px rgba(32, 34, 38, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 0.35s ease;
}

#recent-posts .recent-post-items > .recent-post-item:first-child {
  grid-column: span 7;
}

#recent-posts .recent-post-items > .recent-post-item:nth-child(2) {
  grid-column: span 5;
}

#recent-posts .recent-post-items > .recent-post-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(32, 34, 38, 0.14);
}

#recent-posts .recent-post-item::after {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--editorial-yellow);
  color: #17191f;
  content: '01';
  font-size: 0.86rem;
  font-weight: 900;
}

#recent-posts .recent-post-item:nth-child(2)::after {
  background: var(--editorial-red);
  color: #ffffff;
  content: '02';
}

#recent-posts .recent-post-item:nth-child(n + 3)::after {
  background: rgba(255, 255, 255, 0.9);
  color: #202226;
  content: 'NEW';
}

#recent-posts .recent-post-item .post_cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#recent-posts .recent-post-item .post_cover::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.08) 25%, rgba(10, 12, 16, 0.84) 100%);
  backdrop-filter: none;
}

#recent-posts .recent-post-item .post_cover a,
#recent-posts .recent-post-item .post_cover .post-bg {
  display: block;
  width: 100%;
  height: 100%;
}

#recent-posts .recent-post-item .post_cover .post-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}

#recent-posts .recent-post-item:hover .post_cover .post-bg {
  transform: scale(1.045);
}

#recent-posts .recent-post-item > .recent-post-info {
  position: absolute;
  top: auto;
  bottom: 0;
  z-index: 3;
  padding: 30px;
  width: 100%;
  color: #ffffff;
  transform: none;
  --text-highlight-color: #ffffff;
  --card-meta: rgba(255, 255, 255, 0.78);
}

#recent-posts .recent-post-item > .recent-post-info > .article-title {
  display: block;
  max-width: 90%;
  color: #ffffff;
  font-size: 1.58rem;
  font-weight: 900;
  line-height: 1.25;
}

#recent-posts .recent-post-item:first-child > .recent-post-info > .article-title {
  max-width: 84%;
  font-size: 2rem;
}

#recent-posts .recent-post-item > .recent-post-info > .article-title:hover {
  color: var(--editorial-yellow);
}

#recent-posts .recent-post-item > .recent-post-info > .article-meta-wrap {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

#recent-posts .recent-post-item .article-meta-wrap .tags {
  display: none;
}

#recent-posts .recent-post-item > .recent-post-info > .content {
  margin-top: 13px;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.65;
}

#recent-posts .pagination {
  margin-top: 48px;
}

/* Secondary pages */
#page-header.not-home-page {
  height: 330px;
  border-bottom: 6px solid var(--editorial-yellow);
}

#page-header.not-home-page::before,
#page-header.post-bg::before {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(13, 16, 22, 0.42);
  content: '';
}

#page-header.not-home-page #page-site-info {
  top: auto;
  bottom: 42px;
  padding: 0 7%;
}

#page-header.not-home-page #site-title {
  color: #ffffff;
  text-align: left;
  text-shadow: none;
  font-size: 3.7rem;
  font-weight: 900;
}

#body-wrap.page #page-header.not-home-page + #content-inner {
  padding-top: 48px;
  padding-bottom: 90px;
  max-width: 1180px;
}

#body-wrap.page #page-header.not-home-page + #content-inner > #aside-content {
  display: none;
}

#body-wrap.page #archive,
#body-wrap.page #page {
  width: 100%;
}

#archive,
#page {
  border: 1px solid var(--editorial-line);
  border-radius: 6px;
  box-shadow: none;
}

/* Post hero and reading surface */
#page-header.post-bg {
  min-height: 520px;
  max-height: 720px;
  height: 62vh;
  border-bottom: 8px solid var(--editorial-red);
  background-attachment: scroll;
  background-position: center center;
}

#page-header.post-bg #post-info {
  bottom: 54px;
}

#page-header.post-bg #post-info > * {
  max-width: 1180px;
}

#page-header.post-bg #post-info .post-title {
  max-width: 920px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  font-size: 3.7rem;
  font-weight: 900;
  line-height: 1.16;
}

#page-header.post-bg #post-meta,
#page-header.post-bg #post-meta a {
  color: rgba(255, 255, 255, 0.82);
}

#page-header.post-bg + #content-inner {
  align-items: flex-start;
  gap: 28px;
  padding: 54px 28px 100px;
  max-width: 1260px;
}

#post {
  padding: 54px 66px;
  border: 1px solid var(--editorial-line);
  border-radius: 6px;
  background: var(--editorial-surface);
  box-shadow: none;
}

#article-container {
  font-size: 1.04rem;
  line-height: 1.9;
}

#article-container p {
  margin-bottom: 1.2em;
}

#article-container h2 {
  margin-top: 2.5em;
  padding-bottom: 0.45em;
  border-bottom: 4px solid var(--editorial-yellow);
  font-size: 1.8rem;
}

#article-container h3 {
  margin-top: 2em;
  font-size: 1.35rem;
}

#article-container a {
  text-decoration-color: var(--editorial-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

#article-container blockquote {
  border-left: 6px solid var(--editorial-red);
  border-radius: 0 4px 4px 0;
}

#article-container figure.highlight,
#article-container pre {
  border: 1px solid var(--editorial-line);
  border-radius: 6px;
  box-shadow: none;
}

#page-header.post-bg + #content-inner #aside-content {
  width: 260px;
}

#page-header.post-bg + #content-inner #aside-content > .card-widget,
#page-header.post-bg + #content-inner #aside-content > .sticky_layout > .card-widget:not(#card-toc) {
  display: none;
}

#page-header.post-bg + #content-inner #card-toc {
  display: block;
  padding: 22px;
  border: 1px solid var(--editorial-line);
  border-radius: 6px;
  background: var(--editorial-surface);
  box-shadow: none;
}

#card-toc .toc-link.active {
  color: var(--editorial-blue);
  font-weight: 800;
}

/* Footer */
#footer {
  position: relative;
  padding: 0;
  min-height: 0;
  border-top: 5px solid var(--editorial-yellow);
  background: #17191f;
  color: rgba(255, 255, 255, 0.72);
}

#footer::before {
  display: none;
}

#footer::after {
  display: none;
}

#footer-wrap {
  padding: 0;
}

#footer .footer-other {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 20px;
  min-height: 78px;
  gap: 8px 20px;
}

#footer .footer-copyright,
#footer .footer_custom_text {
  line-height: 1.5;
}

#footer .footer_custom_text::before {
  margin-right: 20px;
  color: rgba(255, 255, 255, 0.28);
  content: '/';
}

#footer a {
  color: #ffffff;
}

/* Dark mode refinements */
[data-theme='dark'] #recent-posts .recent-post-items > .recent-post-item {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme='dark'] #article-container h2 {
  border-bottom-color: var(--editorial-red);
}

/* Responsive */
@media screen and (max-width: 1100px) {
  #page-header.full_page + #content-inner {
    grid-template-areas:
      'posts'
      'profile';
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  #page-header.full_page + #content-inner > #aside-content {
    position: static;
    top: auto;
    padding-top: 0;
  }

  #page-header.full_page + #content-inner #aside-content .card-tag-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #page-header.full_page + #content-inner #aside-content .card-info {
    position: static;
    display: grid;
    grid-template-areas:
      'avatar name stats'
      'avatar description stats';
    grid-template-columns: 72px minmax(0, 1fr) 270px;
    column-gap: 18px;
    padding: 20px 0;
    text-align: left;
  }

  #page-header.full_page + #content-inner #aside-content .avatar-img {
    grid-area: avatar;
    align-self: center;
    width: 72px;
    height: 72px;
  }

  #page-header.full_page + #content-inner #aside-content .author-info-name {
    grid-area: name;
    align-self: end;
    margin-top: 0;
  }

  #page-header.full_page + #content-inner #aside-content .author-info-description {
    grid-area: description;
    margin: 3px 0 0;
    max-width: none;
  }

  #page-header.full_page + #content-inner #aside-content .site-data {
    grid-area: stats;
    align-self: stretch;
    margin: 0;
    padding: 10px 0 10px 24px;
    border-top: 0;
    border-left: 1px solid var(--editorial-line);
  }

  #page-header.full_page #site-info {
    left: 5%;
    width: 54%;
  }

  #page-header.full_page #site-title {
    font-size: 4.5rem;
  }

  #recent-posts .recent-post-items > .recent-post-item {
    height: 460px;
  }

  #recent-posts .recent-post-item > .recent-post-info {
    padding: 30px;
  }

  #page-header.post-bg #post-info .post-title {
    font-size: 3rem;
  }
}

@media screen and (max-width: 900px) {
  #page-header.post-bg + #content-inner {
    display: block;
  }

  #page-header.post-bg + #content-inner #post {
    width: 100%;
  }

  #page-header.post-bg + #content-inner #aside-content {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  #nav {
    height: 60px;
    padding: 0 18px;
  }

  #nav #blog-info .site-name {
    font-size: 1rem;
  }

  #page-header.full_page {
    height: 100vh !important;
    height: 100svh !important;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    background-image: url('/img/editorial/hero-lyjpmr-mobile.webp') !important;
    background-position: center center;
    border-bottom-width: 4px;
  }

  #page-header.full_page #site-info {
    right: 22px;
    bottom: 11%;
    left: 22px;
    width: auto;
  }

  #page-header.full_page #site-info::before {
    margin-bottom: 14px;
    font-size: 0.7rem;
  }

  #page-header.full_page #site-title {
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    font-size: 3rem;
  }

  #page-header.full_page #site-subtitle {
    margin-top: 14px;
    max-width: 100%;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    font-size: 1rem;
  }

  #page-header.full_page #scroll-down {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }

  #page-header.full_page + #content-inner {
    gap: 38px;
    padding: 40px 16px 68px;
  }

  #page-header.full_page + #content-inner #aside-content .card-info {
    display: grid;
    grid-template-areas:
      'avatar name'
      'avatar description'
      'stats stats';
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px 0 0;
    text-align: left;
  }

  #page-header.full_page + #content-inner #aside-content .avatar-img {
    align-self: center;
    width: 62px;
    height: 62px;
  }

  #page-header.full_page + #content-inner #aside-content .author-info-name {
    align-self: end;
    margin-top: 0;
    font-size: 1.18rem;
  }

  #page-header.full_page + #content-inner #aside-content .author-info-description {
    align-self: start;
    margin: 4px 0 0;
    font-size: 0.8rem;
  }

  #page-header.full_page + #content-inner #aside-content .site-data {
    margin-top: 16px;
    padding: 14px 0 16px;
    border-top: 1px solid var(--editorial-line);
    border-left: 0;
  }

  #page-header.full_page + #content-inner #aside-content .card-tags {
    margin-top: 22px;
  }

  #page-header.full_page + #content-inner #aside-content .card-tag-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #recent-posts::before {
    margin-bottom: 20px;
    font-size: 1.72rem;
  }

  #recent-posts .recent-post-items {
    display: block;
  }

  #recent-posts .recent-post-items > .recent-post-item,
  #recent-posts .recent-post-items > .recent-post-item:first-child,
  #recent-posts .recent-post-items > .recent-post-item:nth-child(2) {
    margin-bottom: 18px;
    height: 390px;
  }

  #recent-posts .recent-post-item > .recent-post-info {
    padding: 24px 22px;
  }

  #recent-posts .recent-post-item > .recent-post-info > .article-title,
  #recent-posts .recent-post-item:first-child > .recent-post-info > .article-title {
    max-width: 84%;
    font-size: 1.48rem;
  }

  #recent-posts .recent-post-item > .recent-post-info > .content {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  #recent-posts .recent-post-item::after {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  #page-header.not-home-page {
    height: 280px;
  }

  #page-header.not-home-page #page-site-info {
    bottom: 34px;
    padding: 0 22px;
  }

  #page-header.not-home-page #site-title {
    font-size: 2.5rem;
  }

  #page-header.post-bg {
    min-height: 440px;
    height: 58vh;
  }

  #page-header.post-bg #post-info {
    bottom: 34px;
  }

  #page-header.post-bg #post-info .post-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  #page-header.post-bg + #content-inner {
    padding: 24px 14px 70px;
  }

  #post {
    padding: 34px 24px;
    border-radius: 4px;
  }

  #article-container {
    font-size: 1rem;
    line-height: 1.85;
  }

  #article-container h2 {
    font-size: 1.55rem;
  }

  #rightside-config {
    display: none !important;
  }

  #footer {
    padding: 0;
    min-height: 0;
  }

  #footer .footer-other {
    display: block;
    padding: 22px 18px;
    min-height: 0;
  }

  #footer .footer_custom_text {
    margin-top: 5px;
  }

  #footer .footer_custom_text::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-header.full_page #site-info,
  #recent-posts .recent-post-item,
  #recent-posts .recent-post-item .post-bg,
  #page-header.full_page + #content-inner #aside-content .avatar-img img {
    animation: none;
    transition: none;
  }

  #page-header.full_page + #content-inner #aside-content .avatar-img img:hover {
    transform: none;
  }
}
