    body {
      margin: 0;
      font-family: "Inter", sans-serif;
      background: #f9fafb;
      color: #111827;
      line-height: 1.6;
    }

    .container {
      max-width: 1250px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    /* Header Title */
    .page-header {
      text-align: center;
      margin-bottom: 50px;
    }
    .page-header h1 {
      font-size: 42px;
      margin-bottom: 10px;
      font-weight: 700;
      color: #0f172a;
    }
    .page-header p {
      color: #475569;
      font-size: 18px;
    }

    /* Filters */
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-bottom: 35px;
      justify-content: center;
      align-items: center;
    }
    .filters select {
      padding: 12px 15px;
      font-size: 15px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      background: #fff;
    }
    
    /* 搜索框和按钮容器 */
    .search-container {
      display: flex;
      align-items: center;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      border: 1px solid #cbd5e1;
      background: #fff;
    }
    
    .search-container input {
      padding: 12px 15px;
      font-size: 15px;
      border: none;
      outline: none;
      flex-grow: 1;
      min-width: 250px;
    }
    
    .search-container button {
      padding: 12px 20px;
      background: #4338ca;
      color: #fff;
      border: none;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s;
    }
    
    .search-container button:hover {
      background: #3730a3;
    }
    
    .search-container button:active {
      background: #312e81;
    }

    /* Layout: Two Columns */
    .layout-grid {
      display: grid;
      grid-template-columns: var(--layout-type, repeat(auto-fit, minmax(370px, 1fr)));
      gap: 30px;
    }

    .post-card {
      background: #ffffff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
      transition: all .25s ease;
    }
    .post-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

    .post-thumb {
      width: 100%;
      height: 225px;
      overflow: hidden;
    }
    
    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      background: #e5e7eb;
    }

    .post-content {
      padding: 22px;
    }
    .post-content h2 {
      font-size: 21px;
      margin-bottom: 12px;
      font-weight: 700;
    }
    .post-content p {
      color: #475569;
      margin-bottom: 18px;
      font-size: 15px;
    }
    .post-meta {
      font-size: 13px;
      color: #94a3b8;
    }

    /* Tag cloud */
    .tag-cloud {
      margin: 45px 0;
      text-align: center;
    }
    .tag-cloud a {
      display: inline-block;
      margin: 6px;
      padding: 8px 14px;
      background: #eef2ff;
      color: #4338ca;
      border-radius: 30px;
      font-size: 14px;
      text-decoration: none;
    }

    /* Pagination */
    .pagination {
      text-align: center;
      margin-top: 50px;
    }
    .pagination a {
      margin: 0 6px;
      padding: 10px 16px;
      border-radius: 10px;
      background: #fff;
      border: 1px solid #cbd5e1;
      text-decoration: none;
      font-size: 15px;
      color: #475569;
    }
    .pagination a.active {
      background: #4338ca;
      color: #fff;
      border-color: #4338ca;
    }

  /* Single-column layout */
.single-column {
  grid-template-columns: 1fr !important;
}

/* Single post layout left-thumbnail */
.single-column .post-card {
  display: flex;
  flex-direction: row;
  height: auto; /* 改为自适应高度 */
}

.single-column .post-thumb {
  flex: 0 0 360px; /* 固定宽度为360px */
  height: 225px; /* 固定高度为225px */
}

.single-column .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-column .post-content {
  padding: 26px;
  flex: 1; /* 内容区域填满剩余空间 */
}

/* 响应式调整 */
@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-container input {
    min-width: auto;
    width: 100%;
  }
  
  .search-container {
    width: 100%;
  }
}

/* 移动端隐藏布局切换器 */
@media (max-width: 768px) {
  .layout-switcher {
    display: none !important;
  }
}