:root {
    --svc-primary: #29b6f6;
    --svc-deep: #04205F;
    --svc-ink: #101828;
    --svc-muted: #475467;
    --svc-bg: #f6f7fb;
    --svc-card: #ffffff;
    --svc-border: rgba(16, 24, 40, 0.10);
}

.blog-hero {
    position: relative;
    padding: 120px 0 96px;
    color: #fff;
    overflow: hidden;
    background-image: url('/static/images/Gemini_Generated_Image_v36ar7v36ar7v36a.png');
    background-size: cover;
    background-position: center;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 58, 0.82);
    pointer-events: none;
}

.blog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.35;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.blog-hero .container { position: relative; z-index: 2; }

.blog-hero h1 {
    font-size: 3.1rem;
    font-weight: 950;
    line-height: 1.12;
    margin: 0 0 14px 0;
    color: #fff;
    letter-spacing: 0.2px;
}

.blog-hero .subtitle {
    font-size: 1.25rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 300;
    margin: 0;
    max-width: 720px;
}

.blog-search-form {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    max-width: 480px;
}
.blog-search-input {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: 1px solid rgb(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
    background: rgb(255, 255, 255, 0.12) !important;
    color: #fff !important;
    font-size: 1rem !important;
    margin-bottom: 10px!important;
}
.blog-search-input::placeholder { color: rgba(255, 255, 255, 0.6) !important; }
.blog-search-input:focus {
    outline: none !important;
    border-color: var(--svc-primary) !important;
    background: rgba(255, 255, 255, 0.18) !important;
}
.blog-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 12px !important;
    background: var(--svc-primary) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    height: 40px !important;
}
.blog-search-btn:hover { opacity: 0.9; }
.blog-search-hint {
    margin: 12px 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.blog-wrap {
    background: var(--svc-bg);
    padding: 64px 0;
}

.blog-section-title h2 {
    color: var(--svc-deep);
    font-weight: 950;
    margin: 0 0 10px 0;
}

.blog-section-title p {
    margin: 0;
    color: var(--svc-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 每行一篇文章：卡片 + 左文右图（类似 index svc-details-grid） */
.blog-article {
    position: relative;
    background: var(--svc-card);
    border: 1px solid var(--svc-border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    padding: 14px 16px;
    margin-bottom: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.70fr 0.30fr;
    gap: 20px;
    align-items: start;
}

.blog-article::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(41, 182, 246, 0.9), rgba(4, 32, 95, 0.9));
    opacity: 0.6;
    border-radius: 18px 0 0 18px;
}

.blog-article-left {
    min-width: 0;
    padding-left: 4px;
}

.blog-article-title {
    font-size: 1.22rem;
    font-weight: 950;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.blog-article-title a {
    color: var(--svc-deep);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-article-title a:hover {
    color: var(--svc-primary);
}

.blog-article-summary {
    color: #344054;
    line-height: 1.8;
    font-size: 0.98rem;
    margin: 0 0 12px 0;
}

.blog-article-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(41, 182, 246, 0.10);
    border: 1px solid rgba(41, 182, 246, 0.20);
    color: var(--svc-deep);
    font-weight: 800;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.blog-chip:hover {
    background: rgba(41, 182, 246, 0.18);
    border-color: rgba(41, 182, 246, 0.35);
}
.blog-chip i.material-symbols-outlined {
    font-size: 14px;
    color: var(--svc-primary);
}

.blog-article-right {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--svc-border);
    background: rgba(4, 32, 95, 0.04);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    position: sticky;
    top: 96px;
}

.blog-article-media {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.blog-article-media.placeholder {
    background: linear-gradient(135deg, rgba(41, 182, 246, 0.12), rgba(4, 32, 95, 0.06));
    object-fit: none;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--svc-border);
    background: var(--svc-card);
    color: var(--svc-deep);
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.blog-pagination a:hover {
    background: rgba(4, 32, 95, 0.06);
    border-color: rgba(4, 32, 95, 0.18);
}

.blog-pagination .current {
    background: var(--svc-primary);
    border-color: var(--svc-primary);
    color: #fff;
}

@media (max-width: 992px) {
    .blog-hero h1 { font-size: 2.25rem; }
    .blog-hero { padding: 105px 0 70px; }
    .blog-article {
        grid-template-columns: 1fr;
    }
    .blog-article-right {
        position: relative;
        top: auto;
        max-height: 240px;
    }
    .blog-article-media {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-hero { padding: 96px 0 56px; }
    .blog-hero .subtitle { font-size: 1.05rem; }
}