body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center /* For horizontal alignment */;
  padding-top: 5em;
  padding-bottom: 8em;
  font-family: Inter var, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  color: #1a202c;
  animation: fadeIn 0.6s ease-in-out;
}
div#content {
  width: 40em;
  max-width: 90%;
}
.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid rgba(57,72,103,0.1);
  position: relative;
}
.header-container::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100px;
  height: 2px;
  background: #394867;
  border-radius: 2px;
}
.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  text-align: left;
}
h1#title {
  margin: 0;
  line-height: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 1.8em;
  font-weight: 500;
  color: #394867;
  position: relative;
  text-align: left;
}
h1#title::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #394867;
  border-radius: 2px;
}
.avatar-container {
  margin-left: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.avatar-link {
  display: block;
  transition: all 0.3s ease;
}
.avatar-link:hover {
  transform: scale(1.05);
}
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(57,72,103,0.1);
}
.avatar:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #394867;
}
#menu-outer {
  margin-top: 0.5em;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.1em;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(57,72,103,0.04);
  padding: 0.5em 0;
  transition: all 0.3s;
}
#menu-outer nav#menu-inner {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
  text-align: left;
}
#menu-outer nav#menu-inner a.menu-item,
#menu-outer nav#menu-inner span {
  margin: 0;
  font-weight: 520;
  font-size: 1em;
  padding: 0.4em 0.8em;
  border-radius: 6px;
  transition: all 0.3s ease;
}
#menu-outer nav#menu-inner span {
  color: #6b7280;
  text-decoration: none;
}
#menu-outer nav#menu-inner span.subtitle-en {
  display: block;
  font-size: 0.85em;
  font-weight: 400;
  color: #9ca3af;
  font-style: italic;
  margin-top: 0.3em;
  margin-left: 0;
  letter-spacing: 0.02em;
}
#menu-outer nav#menu-inner a.menu-item {
  color: #394867;
  text-decoration: none;
  background: rgba(57,72,103,0.05);
  border: 1px solid rgba(57,72,103,0.1);
}
#menu-outer nav#menu-inner a.menu-item:hover {
  background: rgba(57,72,103,0.12);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(57,72,103,0.15);
}
#menu-outer nav#menu-inner a.menu-item.active {
  background: #394867;
  color: #fff;
  border-color: #394867;
}
div#content-outer {
  margin-top: 1em;
}
div#content-outer div#content-inner div#paginator {
  margin-top: 2em;
  text-align: center;
}
div#content-outer div#content-inner div#paginator .page-number {
  display: inline-block;
  padding: 0.3em 0.8em;
  margin: 0 0.2em;
  border-radius: 4px;
  color: #394867;
  text-decoration: none;
  transition: all 0.3s ease;
}
div#content-outer div#content-inner div#paginator .page-number:hover {
  background: rgba(57,72,103,0.1);
}
div#content-outer div#content-inner div#paginator .page-number.current {
  background: #394867;
  color: #fff;
  font-weight: 500;
}
div#content-outer div#content-inner div#paginator a {
  color: #394867;
  margin-right: 0.5em;
}
div#content-outer div#content-inner div#paginator span {
  color: #394867;
  margin-right: 0.5em;
}
#recent-posts .post-item {
  margin-bottom: 2.5em;
  padding: 2em;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f8f9fa);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(57,72,103,0.1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.5s ease-out backwards;
}
#recent-posts .post-item:nth-child(1) {
  animation-delay: 0.1s;
}
#recent-posts .post-item:nth-child(2) {
  animation-delay: 0.2s;
}
#recent-posts .post-item:nth-child(3) {
  animation-delay: 0.3s;
}
#recent-posts .post-item:nth-child(4) {
  animation-delay: 0.4s;
}
#recent-posts .post-item:nth-child(5) {
  animation-delay: 0.5s;
}
#recent-posts .post-item:nth-child(6) {
  animation-delay: 0.6s;
}
#recent-posts .post-item:nth-child(7) {
  animation-delay: 0.7s;
}
#recent-posts .post-item:nth-child(8) {
  animation-delay: 0.8s;
}
#recent-posts .post-item:nth-child(9) {
  animation-delay: 0.9s;
}
#recent-posts .post-item:nth-child(10) {
  animation-delay: 1s;
}
#recent-posts .post-item:nth-child(11) {
  animation-delay: 1.1s;
}
#recent-posts .post-item:nth-child(12) {
  animation-delay: 1.2s;
}
#recent-posts .post-item:nth-child(13) {
  animation-delay: 1.3s;
}
#recent-posts .post-item:nth-child(14) {
  animation-delay: 1.4s;
}
#recent-posts .post-item:nth-child(15) {
  animation-delay: 1.5s;
}
#recent-posts .post-item:nth-child(16) {
  animation-delay: 1.6s;
}
#recent-posts .post-item:nth-child(17) {
  animation-delay: 1.7s;
}
#recent-posts .post-item:nth-child(18) {
  animation-delay: 1.8s;
}
#recent-posts .post-item:nth-child(19) {
  animation-delay: 1.9s;
}
#recent-posts .post-item:nth-child(20) {
  animation-delay: 2s;
}
#recent-posts .post-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #394867, rgba(57,72,103,0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}
#recent-posts .post-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  border-color: rgba(57,72,103,0.2);
}
#recent-posts .post-item:hover::before {
  opacity: 1;
}
#recent-posts .post-item .post-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}
#recent-posts .post-item .post-link * {
  text-decoration: none !important;
}
#recent-posts .post-item .post-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
}
#recent-posts .post-item .post-content-wrapper:not(:has(.post-thumbnail)) .post-text-content {
  width: 100%;
}
#recent-posts .post-item .post-text-content {
  flex: 1;
  min-width: 0;
}
#recent-posts .post-item .post-title {
  margin: 0 0 1em;
  font-size: 1.4em;
  font-weight: 600;
  color: #394867 !important;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-decoration: none !important;
  display: block;
}
#recent-posts .post-item .post-excerpt {
  margin: 12px 0;
  color: #4a5568 !important;
  font-size: 1em;
  line-height: 1.8;
  max-width: 600px;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  display: block;
}
#recent-posts .post-item .post-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: rgba(57,72,103,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
#recent-posts .post-item .post-thumbnail img,
#recent-posts .post-item .post-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}
#recent-posts .post-item .post-thumbnail .video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
#recent-posts .post-item .post-thumbnail video {
  pointer-events: none;
  background: rgba(57,72,103,0.05);
}
#recent-posts .post-item .post-thumbnail .video-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  z-index: 1;
}
#recent-posts .post-item .post-thumbnail .video-badge svg {
  width: 18px;
  height: 18px;
}
#recent-posts .post-item .post-thumbnail:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#recent-posts .post-item .post-thumbnail:hover img,
#recent-posts .post-item .post-thumbnail:hover video {
  transform: scale(1.05);
}
#recent-posts .post-item .post-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 1em;
}
#recent-posts .post-item .post-meta-info.post-meta-below-thumbnail {
  display: none;
}
#recent-posts .post-item .post-meta-info.post-meta-below-content {
  display: flex;
}
#recent-posts .post-item time {
  color: #718096 !important;
  font-size: 0.9em;
  display: inline-block;
  padding: 0.3em 0.8em;
  background: rgba(57,72,103,0.05);
  border-radius: 6px;
  margin: 0;
  text-decoration: none !important;
  border: none !important;
}
#recent-posts .post-item .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
}
#recent-posts .post-item .post-tags a.post-tag,
#recent-posts .post-item .post-tags a.post-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.8em;
  color: #718096 !important;
  background: rgba(57,72,103,0.05);
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s ease;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  border: none !important;
}
#recent-posts .post-item .post-tags a.post-tag[href*="成长记录"]:before,
#recent-posts .post-item .post-tags a.post-tag-link[href*="成长记录"]:before {
  content: '📈 ';
  margin-right: 0.2em;
}
#recent-posts .post-item .post-tags a.post-tag[href*="小两口"]:before,
#recent-posts .post-item .post-tags a.post-tag-link[href*="小两口"]:before {
  content: '💑 ';
  margin-right: 0.2em;
}
#recent-posts .post-item .post-tags a.post-tag[href*="猪仔"]:before,
#recent-posts .post-item .post-tags a.post-tag-link[href*="猪仔"]:before {
  content: '🐷 ';
  margin-right: 0.2em;
}
#recent-posts .post-item .post-tags a.post-tag:hover,
#recent-posts .post-item .post-tags a.post-tag-link:hover {
  background: rgba(57,72,103,0.12);
  color: #394867 !important;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(57,72,103,0.15);
  text-decoration: none !important;
}
div#bottom-inner {
  margin-top: 8em;
}
div#bottom-inner hr {
  background: #ccc;
  height: 1px;
  border: none;
}
div#bottom-inner div {
  display: flex;
  height: 2em;
  justify-content: space-between;
  align-items: center;
}
div#bottom-inner div a {
  color: #19202b;
}
div#bottom-inner div #hexo {
  float: right;
}
div#bottom-inner div img {
  width: 1em;
  height: 1em;
  margin-left: 1em;
  margin-top: 3px;
}
img {
  max-width: 100%;
}
aside a {
  color: #394867;
}
aside li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
#post {
  color: #1a202c;
  position: relative;
}
#post .post-content {
  margin-bottom: 2em;
  padding: 2em;
  background: linear-gradient(145deg, #fff, #f8f9fa);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(57,72,103,0.08);
}
#post .post-content p {
  text-align: justify;
  margin: 1.2em 0;
  line-height: 1.8;
  color: #2d3748;
  letter-spacing: 0.02em;
  font-size: 1.05em;
}
#post .post-content p:first-child {
  margin-top: 0;
}
#post .post-content p:last-child {
  margin-bottom: 0;
}
#post .post-content .post-meta {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid rgba(57,72,103,0.1);
}
#post .post-content .post-meta time {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 0.8em;
  background: linear-gradient(145deg, #f8f9fa, #fff);
  color: #718096;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#post .post-content .post-meta time::before {
  content: '📅';
  margin-right: 0.4em;
  font-size: 1em;
}
#post .post-content .post-meta time::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #394867, transparent);
  opacity: 0.3;
}
#post .post-content .post-meta time:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  background: linear-gradient(145deg, #fff, #f8f9fa);
}
#post .post-content .post-meta time:hover::after {
  opacity: 0.5;
}
#post .post-content .post-meta .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0;
}
#post .post-content .post-meta .post-tags a {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 0.8em;
  color: #718096;
  background: linear-gradient(145deg, #f8f9fa, #fff);
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(57,72,103,0.1);
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
#post .post-content .post-meta .post-tags a::before {
  content: '#';
  margin-right: 0.2em;
  color: #394867;
}
#post .post-content .post-meta .post-tags a:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  background: linear-gradient(145deg, #fff, #f8f9fa);
  color: #394867;
}
#post p {
  text-align: justify;
  margin: 1.2em 0;
  line-height: 1.8;
  color: #2d3748;
  letter-spacing: 0.02em;
}
#post a {
  color: #394867;
  text-decoration: none;
  border-bottom: 1px solid rgba(57,72,103,0.2);
  transition: all 0.3s ease;
}
#post a:hover {
  border-bottom-color: #394867;
  color: #33415d;
}
#post img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
@media screen and (min-width: 769px) {
  #post img {
    max-width: 85%;
  }
  #post img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  }
}
@media screen and (max-width: 768px) {
  #post img {
    max-width: 90%;
    margin: 1em 0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
}
#post ol,
#post ul {
  padding-inline-start: 1.5em;
}
#post table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.9em;
  corner-radius: 2em;
  width: 100%;
}
#post table thead tr {
  background-color: #ccc;
  color: #fff;
  text-align: left;
}
#post table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
#post table tbody tr:last-of-type {
  border-bottom: 1px solid #f3f3f3;
}
#post table th,
#post table td {
  padding: 12px 15px;
}
#post blockquote {
  background: linear-gradient(145deg, #f8f9fa, #fff);
  border-left: 4px solid #394867;
  margin: 1.8em 0;
  padding: 1.2em 1.5em;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
#post blockquote p {
  margin: 0.5em 0;
  color: #4a5568;
}
#post blockquote.pullquote {
  background: none;
  border-left: none;
  text-align: left;
  width: 45%;
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  font-family: font-serif;
  color: #394867;
}
#post blockquote.pullquote.left {
  margin-right: 1em;
  float: left;
}
#post blockquote.pullquote.right {
  margin-left: 1em;
  float: right;
}
#post hr {
  background: #ccc;
  height: 1px;
  border: none;
}
#post .video-container {
  position: relative;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}
#post .video-container iframe,
#post .video-container object,
#post .video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
}
#post div.post-tags {
  margin-top: 2em;
  padding: 0.8em 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
}
#post div.post-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.3em 0.8em;
  color: #394867;
  background: rgba(57,72,103,0.05);
  border-radius: 16px;
  font-size: 0.9em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(57,72,103,0.1);
  line-height: 1.4;
  height: 2em;
}
#post div.post-tags a:hover {
  background: #394867;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57,72,103,0.2);
}
#post p code {
  background: #f3f3f3;
  padding: 0.2em 0.2em;
}
.post-content {
  font-size: 16px;
  line-height: 1.95;
  color: #2d3748;
  margin: 2em 0;
}
.post-content p {
  margin: 1.5em 0;
  line-height: 1.95;
  color: #2d3748;
  text-align: justify;
  word-break: break-word;
  letter-spacing: 0.03em;
  font-size: 1.05em;
}
.post-content p:not(:has(ul):not(:has(ol))) {
  line-height: 2;
  margin: 1.6em 0;
}
.post-content p:has(span[role="img"]) {
  line-height: 2.2;
  margin: 1.5em 0;
  font-size: 1.1em;
}
.post-content p:has(span[role="img"]):not(:has(ul):not(:has(ol))) {
  line-height: 2.5;
  margin: 1.8em 0;
  color: #4a5568;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 1.5em 0 0.8em;
  line-height: 1.4;
  color: #1a202c;
  font-weight: 600;
}
.post-content h1 {
  font-size: 1.8em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}
.post-content h2 {
  font-size: 1.5em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}
.post-content h3 {
  font-size: 1.3em;
}
.post-content h4 {
  font-size: 1.2em;
}
.post-content h5,
.post-content h6 {
  font-size: 1.1em;
}
.post-content ul,
.post-content ol {
  margin: 1em 0;
  padding-left: 2em;
}
.post-content li {
  margin: 0.5em 0;
  line-height: 1.8;
}
.post-content blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #394867;
  background: rgba(57,72,103,0.05);
  color: #4a5568;
}
.post-content blockquote p {
  margin: 0.5em 0;
}
.post-content img + em {
  display: block;
  text-align: center;
  color: #666;
  font-size: 0.9em;
  margin: 0.8em auto 2em;
  font-style: normal;
  max-width: 80%;
}
.post-content video {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2em auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #000;
  outline: none;
}
.post-content .video-container {
  margin: 2em auto;
  text-align: center;
  max-width: 100%;
}
.post-content .video-container video {
  margin: 0 auto;
}
.post-content .video-container .video-caption {
  margin-top: 0.8em;
  color: #666;
  font-size: 0.9em;
  font-style: normal;
}
.post-content .image-container {
  margin: 2em auto;
  text-align: center;
}
.post-content .image-container img {
  margin: 0 auto;
}
.post-content .image-container .image-caption {
  margin-top: 0.8em;
  color: #666;
  font-size: 0.9em;
  font-style: normal;
}
.post-content .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}
.post-content .image-grid img {
  margin: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}
.post-content .image-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.post-content .image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin: 2em 0;
}
.post-content .image-gallery img {
  flex: 1;
  min-width: 200px;
  margin: 0;
  cursor: pointer;
}
.post-content .image-gallery img:hover {
  transform: scale(1.02);
  z-index: 1;
}
.post-content code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  margin: 0 0.2em;
  border-radius: 3px;
  background: #f6f8fa;
  color: #476582;
}
.post-content pre {
  margin: 1.5em 0;
  padding: 1em;
  overflow: auto;
  background: #f6f8fa;
  border-radius: 6px;
}
.post-content pre code {
  padding: 0;
  margin: 0;
  background: none;
  font-size: 0.9em;
  line-height: 1.6;
}
.post-content table {
  margin: 1.5em 0;
  border-collapse: collapse;
  width: 100%;
}
.post-content table th,
.post-content table td {
  padding: 0.8em;
  border: 1px solid #eaecef;
}
.post-content table th {
  background: #f6f8fa;
  font-weight: 600;
}
.post-content hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #eaecef;
}
.post-content a {
  color: #394867;
  text-decoration: none;
}
.post-content a:hover {
  text-decoration: underline;
}
.post-content p:has(img),
.post-content .post-content img {
  margin: 2em 0;
  text-align: center;
}
.post-content .post-content img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}
.post-content .post-content img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0.95;
}
.post-content p:has(img) + p:has(em),
.post-content .post-content img + em {
  margin: 0.8em auto 2em;
  text-align: center;
  color: #666;
  font-size: 0.9em;
  font-style: normal;
  max-width: 80%;
}
.post-content .image-wrapper {
  position: relative;
  margin: 2em auto;
  max-width: 800px;
}
.post-content .image-wrapper img {
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.post-content .image-wrapper img:hover {
  width: 100%;
  transform: scale(1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .post-content article#post .post-content {
    margin: 0.2em 0.5em !important;
    padding: 0.8em !important;
    background: linear-gradient(145deg, #fff, #f8f9fa);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(57,72,103,0.08);
  }
  .post-content article#post .post-content p {
    font-size: 1em;
    line-height: 1.8;
    margin: 0.8em 0 !important;
  }
  .post-content article#post .post-content p:first-child {
    margin-top: 0.2em !important;
    margin-bottom: 0.8em !important;
  }
  .post-content .post-meta {
    margin-top: 1em !important;
    padding-top: 0.8em !important;
    gap: 0.8em;
    flex-wrap: wrap;
    align-items: center;
  }
  .post-content .post-meta time {
    margin: 0;
    padding: 0.4em 0.8em;
    font-size: 0.85em;
    max-width: none;
    width: auto;
    height: 2em;
    display: inline-flex;
    align-items: center;
  }
  .post-content .post-meta .post-tags {
    gap: 0.4em;
    margin: 0;
    display: flex;
    align-items: center;
  }
  .post-content .post-meta .post-tags a {
    padding: 0.4em 0.8em;
    font-size: 0.85em;
    height: 2em;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
  }
  .post-content div.post-tags {
    margin-top: 1.5em;
    padding: 0.6em 0;
    gap: 0.4em;
    display: flex;
    align-items: center;
  }
  .post-content div.post-tags a {
    padding: 0.4em 0.8em;
    font-size: 0.85em;
    height: 2em;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
  }
  .post-content .post-image-container {
    margin: 1.5em auto;
    padding: 0;
  }
  .post-content .post-image-container img {
    max-width: 100%;
  }
  .post-content .post-image-container .image-caption {
    font-size: 0.85em;
    margin-top: 0.8em;
  }
}
.post-footer {
  margin-top: 1.5em;
  text-align: center;
}
.post-footer .back-link {
  display: inline-block;
  padding: 0.4em 1.2em;
  color: #394867;
  text-decoration: none;
  border: 1px solid #394867;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9em;
  background: linear-gradient(145deg, #fff, #f8f9fa);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.post-footer .back-link:hover {
  background: #394867;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57,72,103,0.2);
}
.post-footer p {
  margin: 1.2em 0;
  line-height: 1.8;
  color: #2c3e50;
  text-align: justify;
  word-break: break-word;
  letter-spacing: 0.05em;
}
.post-footer .post-image-container {
  margin: 2.5em auto;
  padding: 1.5em;
  background: #f8f9fa;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.post-footer .post-image-container img {
  display: block;
  max-width: 60%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}
.post-footer .post-image-container img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.post-footer .post-image-container .image-caption {
  margin-top: 1em;
  color: #666;
  font-size: 0.95em;
  font-style: italic;
  line-height: 1.6;
}
#post pre[class*='language-'].line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
  line-height: $line-height-code-block;
}
#post pre[class*='language-'].line-numbers > code {
  position: relative;
  line-height: $line-height-code-block;
  white-space: inherit;
  word-wrap: normal;
  word-break: normal;
  overflow-wrap: normal;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows {
  position: absolute;
  top: 0;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  font-size: 100%;
  pointer-events: none;
  user-select: none;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows > span {
  display: block;
  counter-increment: linenumber;
  pointer-events: none;
}
#post pre[class*='language-'].line-numbers .line-numbers-rows > span:before {
  display: block;
  padding-right: 0.8em;
  color: var(--hlnumber-color);
  content: counter(linenumber);
  text-align: right;
}
pre[class*='language-'] .token {
  color: primary-color;
}
pre[class*='language-'] .token.class-name {
  color: #0076ff;
}
pre[class*='language-'] .token.function {
  color: #52006a;
}
pre[class*='language-'] .token.comment,
pre[class*='language-'] .token.prolog,
pre[class*='language-'] .token.doctype,
pre[class*='language-'] .token.cdata {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.punctuation {
  color: code-primary-color;
}
pre[class*='language-'] .token.namespace {
  opacity: 0.7;
}
pre[class*='language-'] .token.property {
  color: #52006a;
}
pre[class*='language-'] .token.tag {
  color: #52006a;
}
pre[class*='language-'] .token.string {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.selector {
  color: #52006a;
}
pre[class*='language-'] .token.attr-name {
  color: #ff0078;
}
pre[class*='language-'] .token.entity,
pre[class*='language-'] .token.url,
pre[class*='language-'] .language-css .token.string,
pre[class*='language-'] .style .token.string {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.attr-value {
  color: rgba(149,165,166,0.8);
}
pre[class*='language-'] .token.keyword,
pre[class*='language-'] .token.control,
pre[class*='language-'] .token.directive,
pre[class*='language-'] .token.unit {
  color: #ff0078;
}
pre[class*='language-'] .token.statement,
pre[class*='language-'] .token.regex,
pre[class*='language-'] .token.atrule {
  color: #52006a;
}
pre[class*='language-'] .token.placeholder,
pre[class*='language-'] .token.variable {
  color: #52006a;
}
pre[class*='language-'] .token.deleted {
  text-decoration: line-through;
}
pre[class*='language-'] .token.inserted {
  border-bottom: 1px dotted #202746;
  text-decoration: none;
}
pre[class*='language-'] .token.italic {
  font-style: italic;
}
pre[class*='language-'] .token.important,
pre[class*='language-'] .token.bold {
  font-weight: bold;
}
pre[class*='language-'] .token.important {
  color: #ff0078;
}
pre[class*='language-'] .token.entity {
  cursor: help;
}
pre[class*='language-'] pre > code.highlight {
  outline: 0.4em solid #c94922;
  outline-offset: 0.4em;
}
#post pre[class*='language-']::-webkit-scrollbar-thumb {
  background: var(--hlscrollbar-bg);
}
#post pre[class*='language-']:not(.line-numbers) {
  padding: 10px 20px;
}
#post pre[class*='language-'] .caption {
  font-size: 0.85em;
  color: rgba(149,165,166,0.8);
  line-height: 1em;
  margin-bottom: 1em;
}
#post pre[class*='language-'] .caption a {
  padding: 0.5em !important;
}
#post pre {
  background: #f7f7f7;
}
#post pre,
#post code {
  overflow: auto;
  font-size: 0.9em;
  font-family: JetBrains Mono, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace !important;
  border-radius: 0.3em;
}
#timeline {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 0;
}
#timeline .timeline-title {
  font-size: 2.2em;
  font-weight: 600;
  color: #394867;
  margin: 0 0 0.5em;
  text-align: center;
  letter-spacing: 0.05em;
}
#timeline .timeline-subtitle {
  text-align: center;
  color: #718096;
  font-size: 1.1em;
  margin: 0 0 3em;
  letter-spacing: 0.02em;
}
#timeline .timeline-container {
  position: relative;
  padding-left: 2em;
}
#timeline .timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #394867, rgba(57,72,103,0.3));
  border-radius: 2px;
}
#timeline .timeline-year {
  margin-bottom: 3em;
  position: relative;
}
#timeline .timeline-year .timeline-year-header {
  display: flex;
  align-items: baseline;
  gap: 1em;
  margin-bottom: 1.5em;
  padding-left: 1em;
}
#timeline .timeline-year .timeline-year-header .timeline-year-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #394867;
  margin: 0;
  letter-spacing: 0.02em;
}
#timeline .timeline-year .timeline-year-header .timeline-year-count {
  font-size: 0.9em;
  color: #718096;
  background: rgba(57,72,103,0.1);
  padding: 0.3em 0.8em;
  border-radius: 12px;
  font-weight: 500;
}
#timeline .timeline-month {
  margin-bottom: 2em;
  position: relative;
  padding-left: 1em;
}
#timeline .timeline-month .timeline-month-header {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  margin-bottom: 1em;
}
#timeline .timeline-month .timeline-month-header .timeline-month-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  letter-spacing: 0.01em;
}
#timeline .timeline-month .timeline-month-header .timeline-month-count {
  font-size: 0.85em;
  color: #9ca3af;
  background: rgba(57,72,103,0.05);
  padding: 0.2em 0.6em;
  border-radius: 8px;
}
#timeline .timeline-item {
  position: relative;
  margin-bottom: 1.5em;
  padding-left: 2em;
  transition: all 0.3s ease;
}
#timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -0.5em;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background: #394867;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(57,72,103,0.2);
  transition: all 0.3s ease;
}
#timeline .timeline-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(57,72,103,0.3);
}
#timeline .timeline-item .timeline-item-content {
  background: linear-gradient(145deg, #fff, #f8f9fa);
  border-radius: 12px;
  padding: 1.2em 1.5em;
  border: 1px solid rgba(57,72,103,0.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
#timeline .timeline-item .timeline-item-content:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: rgba(57,72,103,0.2);
}
#timeline .timeline-item .timeline-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
#timeline .timeline-item .timeline-item-date {
  font-size: 0.85em;
  color: #718096;
  margin-bottom: 0.5em;
  font-weight: 500;
  letter-spacing: 0.02em;
}
#timeline .timeline-item .timeline-item-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #394867;
  margin-bottom: 0.5em;
  line-height: 1.4;
  transition: color 0.3s ease;
}
#timeline .timeline-item .timeline-item-excerpt {
  font-size: 0.95em;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.8em;
}
#timeline .timeline-item .timeline-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.8em;
}
#timeline .timeline-item .timeline-item-tags .timeline-tag {
  display: inline-block;
  padding: 0.25em 0.6em;
  background: rgba(57,72,103,0.1);
  color: #718096;
  border-radius: 6px;
  font-size: 0.8em;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  #timeline {
    padding: 1em 0.5em;
  }
  #timeline .timeline-title {
    font-size: 1.8em;
  }
  #timeline .timeline-subtitle {
    font-size: 1em;
    margin-bottom: 2em;
  }
  #timeline .timeline-container {
    padding-left: 1.5em;
  }
  #timeline .timeline-container::before {
    left: -0.5em;
  }
  #timeline .timeline-year {
    margin-bottom: 2em;
  }
  #timeline .timeline-year .timeline-year-header {
    flex-direction: column;
    gap: 0.5em;
    padding-left: 0.5em;
  }
  #timeline .timeline-year .timeline-year-header .timeline-year-title {
    font-size: 1.5em;
  }
  #timeline .timeline-month {
    padding-left: 0.5em;
  }
  #timeline .timeline-month .timeline-month-header {
    flex-direction: column;
    gap: 0.5em;
  }
  #timeline .timeline-month .timeline-month-header .timeline-month-title {
    font-size: 1.2em;
  }
  #timeline .timeline-item {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
  }
  #timeline .timeline-item::before {
    left: -0.8em;
    width: 10px;
    height: 10px;
  }
  #timeline .timeline-item .timeline-item-content {
    padding: 1em 1.2em;
  }
  #timeline .timeline-item .timeline-item-content:hover {
    transform: translateX(3px);
  }
  #timeline .timeline-item .timeline-item-title {
    font-size: 1em;
  }
  #timeline .timeline-item .timeline-item-excerpt {
    font-size: 0.9em;
  }
}
.archive {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5em 0;
}
.archive .archive-title {
  font-size: 2em;
  font-weight: 650;
  color: #394867;
  margin: 0 0 0.4em;
  letter-spacing: 0.03em;
}
.archive .archive-subtitle {
  margin: 0 0 1.8em;
  color: #718096;
  font-size: 1.05em;
  line-height: 1.7;
}
.archive .archive-feed {
  margin: 0 0 1.2em;
  color: #718096;
}
.archive .archive-feed a {
  color: #394867;
  text-decoration: none;
  border-bottom: 1px solid rgba(57,72,103,0.25);
}
.archive .archive-feed a:hover {
  border-bottom-color: #394867;
}
.archive .archive-sections {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.archive .archive-section {
  background: linear-gradient(145deg, #fff, #f8f9fa);
  border-radius: 14px;
  border: 1px solid rgba(57,72,103,0.1);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  padding: 1.2em 1.2em;
  overflow: hidden;
}
.archive .archive-section-title {
  margin: 0 0 0.8em;
  font-size: 1.1em;
  font-weight: 650;
  color: #2d3748;
}
.archive .archive-empty {
  margin: 0;
  color: #9ca3af;
  font-size: 0.95em;
}
.archive .archive-section-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive .archive-section-body li {
  line-height: 1.6;
}
.archive .archive-section-body a {
  text-decoration: none;
}
.archive .archive-section-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}
.archive .archive-section-tags .tag-list-item {
  margin: 0;
}
.archive .archive-section-tags a.tag-list-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 0.85em;
  border-radius: 999px;
  background: rgba(57,72,103,0.06);
  border: 1px solid rgba(57,72,103,0.12);
  color: #4a5568;
  font-weight: 600;
  transition: all 0.25s ease;
}
.archive .archive-section-tags a.tag-list-link:hover {
  background: rgba(57,72,103,0.12);
  color: #394867;
  transform: translateY(-1px);
}
.archive .archive-section-time .archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}
.archive .archive-section-time .archive-list-item {
  margin: 0;
}
.archive .archive-section-time a.archive-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.95em 1.15em;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(57,72,103,0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  color: #394867;
  font-weight: 650;
  transition: all 0.25s ease;
}
.archive .archive-section-time a.archive-list-link::after {
  content: '→';
  color: rgba(57,72,103,0.55);
  font-weight: 700;
}
.archive .archive-section-time a.archive-list-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(57,72,103,0.2);
}
.archive .archive-section-time a.archive-list-link:hover::after {
  color: #394867;
}
.archive .archive-post-list {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  margin-top: 0.2em;
}
.archive .archive-post-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1.1em 1.3em;
  background: linear-gradient(145deg, #fff, #f8f9fa);
  border-radius: 14px;
  border: 1px solid rgba(57,72,103,0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}
.archive .archive-post-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(57,72,103,0.2);
}
.archive .archive-post-link {
  flex: 1;
  min-width: 0;
  color: #394867;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.archive .archive-post-link:hover {
  color: #33415d;
}
.archive .archive-post-time {
  flex-shrink: 0;
  color: #718096;
  font-size: 0.9em;
  padding: 0.35em 0.75em;
  background: rgba(57,72,103,0.06);
  border-radius: 10px;
  text-decoration: none;
}
@media screen and (max-width: 900px) {
  .archive {
    padding: 1.2em 0.5em;
  }
  .archive .archive-sections {
    gap: 1em;
  }
}
@media screen and (max-width: 768px) {
  .archive .archive-title {
    font-size: 1.6em;
  }
  .archive .archive-subtitle {
    font-size: 1em;
    margin-bottom: 1.4em;
  }
  .archive .archive-post-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .archive .archive-post-link {
    white-space: normal;
  }
}
#password-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.98);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#password-container .password-box {
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  min-width: 300px;
}
#password-container .password-box h2 {
  margin: 0 0 1.5em;
  color: #394867;
  font-size: 1.5em;
  font-weight: 500;
}
#password-container .password-box #password-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
#password-container .password-box #password-form input {
  padding: 0.8em;
  border: 1px solid #eaecef;
  border-radius: 4px;
  font-size: 1em;
  transition: all 0.3s ease;
}
#password-container .password-box #password-form input:focus {
  outline: none;
  border-color: #394867;
  box-shadow: 0 0 0 2px rgba(57,72,103,0.1);
}
#password-container .password-box #password-form button {
  padding: 0.8em;
  background: #394867;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}
#password-container .password-box #password-form button:hover {
  background: #33415d;
}
#password-container .password-box .error-message {
  margin-top: 1em;
  color: #e53e3e;
  font-size: 0.9em;
}
@media screen and (max-width: 768px) {
  html,
  body {
    margin-top: 0.5em !important;
    padding-top: 0.5em !important;
  }
  #content {
    padding-top: 0.5em !important;
    margin-top: 0.5em !important;
  }
  .header-container {
    padding-top: 0.5em !important;
    margin-top: 0.5em !important;
  }
  .header-left {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  h1#title {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  #content {
    padding: 0.5em 0.8em 0 0.8em;
    width: 100%;
    box-sizing: border-box;
  }
  .header-container {
    padding-top: 0;
    padding-bottom: 0;
  }
  .header-container h1#title {
    font-size: 1.5em;
    margin: 0;
    line-height: 80px;
    height: 80px;
    text-align: left;
  }
  .header-left {
    align-items: flex-start;
    width: 100%;
    text-align: left;
  }
  #menu-outer {
    font-size: 1em;
    padding: 0.4em 0;
    border-radius: 6px;
    margin-top: 0.4em;
    justify-content: flex-start;
    text-align: left;
  }
  #menu-outer nav#menu-inner {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    text-align: left;
  }
  #menu-outer nav#menu-inner a.menu-item {
    font-size: 0.9em;
    padding: 0.3em 0.6em;
  }
  #menu-outer nav#menu-inner span.subtitle-en {
    text-align: left;
    margin-left: 0;
  }
  #recent-posts .post-item {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(145deg, #fff, #f8f9fa) !important;
    margin-bottom: 2em !important;
    animation-delay: 0s !important;
  }
  #recent-posts .post-item .post-content-wrapper {
    flex-direction: column;
    gap: 0;
    background: transparent !important;
  }
  #recent-posts .post-item .post-text-content {
    padding: 1.2em;
    padding-bottom: 0.8em;
    order: 1;
  }
  #recent-posts .post-item .post-text-content .post-title {
    margin-top: 0;
    margin-bottom: 0.6em;
  }
  #recent-posts .post-item .post-text-content .post-excerpt {
    margin-bottom: 0;
  }
  #recent-posts .post-item .post-text-content .post-meta-info.post-meta-below-content {
    display: none;
  }
  #recent-posts .post-item .post-thumbnail {
    width: calc(100% - 2.4em) !important;
    height: 220px !important;
    align-self: center !important;
    margin: 0 auto 1em auto !important;
    border-radius: 8px !important;
    order: 2 !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    min-height: 220px !important;
    max-height: 220px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    border: none !important;
  }
  #recent-posts .post-item .post-thumbnail img,
  #recent-posts .post-item .post-thumbnail video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #recent-posts .post-item .post-thumbnail .video-thumbnail-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #recent-posts .post-item .post-thumbnail .video-badge {
    width: 40px !important;
    height: 40px !important;
    position: absolute !important;
    z-index: 2 !important;
    visibility: visible !important;
  }
  #recent-posts .post-item .post-thumbnail .video-badge svg {
    width: 22px !important;
    height: 22px !important;
  }
  #recent-posts .post-item .post-meta-info.post-meta-below-thumbnail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    padding: 0.8em 1.2em;
    padding-bottom: 1.2em;
    background: rgba(57,72,103,0.02);
    border-top: 1px solid rgba(57,72,103,0.1);
    order: 3;
  }
  #recent-posts .post-item .post-meta-info.post-meta-below-thumbnail time {
    font-size: 0.85em;
    padding: 0.25em 0.6em;
  }
  #recent-posts .post-item .post-meta-info.post-meta-below-thumbnail .post-tags {
    gap: 0.4em;
  }
  #recent-posts .post-item .post-meta-info.post-meta-below-thumbnail .post-tags a.post-tag,
  #recent-posts .post-item .post-meta-info.post-meta-below-thumbnail .post-tags a.post-tag-link {
    font-size: 0.85em;
    padding: 0.25em 0.6em;
  }
  #recent-posts .post-item .post-content-wrapper:not(:has(.post-thumbnail)) .post-text-content {
    padding-bottom: 0;
  }
  #recent-posts .post-item .post-content-wrapper:not(:has(.post-thumbnail)) .post-text-content .post-meta-info.post-meta-below-content {
    display: flex;
    gap: 0.5em;
    margin-top: 0.8em;
    margin-bottom: 1.2em;
    padding-top: 0.8em;
    padding-bottom: 0;
    border-top: 1px solid rgba(57,72,103,0.1);
  }
  #recent-posts .post-item time {
    font-size: 0.85em;
    padding: 0.25em 0.6em;
  }
  #recent-posts .post-item .post-tags {
    gap: 0.4em;
  }
  #recent-posts .post-item .post-tags a.post-tag,
  #recent-posts .post-item .post-tags a.post-tag-link {
    font-size: 0.85em;
    padding: 0.25em 0.6em;
  }
  .avatar-container {
    margin-left: 0;
    margin-top: 1em;
  }
  .avatar-container .avatar {
    width: 80px;
    height: 80px;
  }
  #content-outer {
    padding: 0 0 0 0;
  }
  .post-content {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
  }
  img {
    max-width: 100%;
    height: auto;
    margin: 1em auto;
  }
  .post-footer {
    margin-top: 2em;
    padding: 1em 0;
  }
}
.tag-list {
  margin: 2em 0;
}
.tag-list .tag-post-item {
  margin: 1em 0;
  padding: 0.8em 1.2em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.tag-list .tag-post-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tag-list .tag-post-item .post-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.tag-list .tag-post-item .post-link time {
  color: #666;
  font-size: 0.9em;
  margin-right: 1.5em;
  min-width: 120px;
}
.tag-list .tag-post-item .post-link .post-title {
  color: #394867;
  font-weight: 500;
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-moz-keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
