.blog-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 20px 60px;
    min-height: 60vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ececec;
}

.blog-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}

.title-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #D72951 0%, #B81E44 100%);
    position: relative;
}

.title-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background:
        linear-gradient(#fff, #fff) center / 14px 2px no-repeat,
        linear-gradient(#fff, #fff) center / 14px 2px no-repeat;
    background-position: center 6px, center 10px, center 14px;
    background-repeat: no-repeat;
    background-size: 14px 2px;
    box-shadow: 0 0 0 2px transparent, 0 6px 0 0 #fff inset;
}

.blog-subtitle {
    font-size: 14px;
    color: #8a8f98;
    margin: 0;
    letter-spacing: 0.3px;
}

/* ========== 搜索栏 ========== */
.blog-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 0 8px;
}

.blog-search .el-input {
    flex: 1;
}

.blog-search .el-input__wrapper {
    border-radius: 28px !important;
    box-shadow: 0 0 0 1px #dcdfe6 inset !important;
    padding: 4px 20px !important;
    transition: box-shadow 0.2s ease !important;
}

.blog-search .el-input__wrapper:hover {
    box-shadow: 0 0 0 1px #a8b4d3 inset !important;
}

.blog-search .el-input__wrapper.is-focus {
    box-shadow: 0 0 0 1px #D72951 inset !important;
}

.blog-search .el-input__inner {
    height: 40px !important;
    font-size: 15px !important;
    color: #2c3e50 !important;
}

.blog-search-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.blog-search-btn {
    border-radius: 28px !important;
    padding: 0 28px !important;
    height: 48px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    background: linear-gradient(135deg, #D72951 0%, #B81E44 100%) !important;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.blog-search-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(215, 41, 81, 0.35) !important;
}

.blog-search-info {
    font-size: 13px;
    color: #8a8f98;
    margin: 0 8px 16px;
    text-align: center;
}

.blog-search-highlight {
    color: #D72951;
    font-weight: 600;
}

.blog-search-clear {
    color: #a8b0bd;
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.2s ease;
}

.blog-search-clear:hover {
    color: #ff6b6b;
}

.blog-content {
    position: relative;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid #ececec;
}

.blog-card:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    border-color: #d9d9d9;
}

.blog-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
}

.blog-card-image {
    position: relative;
    flex: 0 0 220px;
    width: 220px;
    height: 160px;
    overflow: hidden;
    background: #f5f6f8;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-placeholder-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF8A9E 0%, #D72951 100%);
}

.placeholder-text {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
}

.blog-type-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.blog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 24px;
    min-width: 0;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #2c3e50;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: #D72951;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #8a8f98;
}

.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-date::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.blog-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #ececec;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-text {
    font-size: 15px;
    color: #8a8f98;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .blog-wrapper { padding: 20px 14px 40px; }
    .blog-title { font-size: 28px; }
    .blog-subtitle { font-size: 13px; }
    .blog-grid { gap: 12px; }
    .blog-card-image { flex: 0 0 120px; width: 120px; height: 90px; }
    .blog-card-body { padding: 12px 14px; }
    .blog-card-title { font-size: 15px; margin-bottom: 8px; }
    .placeholder-text { font-size: 32px; }
    .blog-type-tag { top: 6px; left: 6px; font-size: 11px; padding: 3px 8px; }
}