.blog-page {
    background: linear-gradient(180deg, #f3f8f2 0%, #edf5eb 100%);
}

.blog-page .site-nav {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 40px var(--nav-scrolled-shadow);
    padding: 12px 0;
}

.blog-main {
    padding-top: 128px;
    padding-bottom: 64px;
}

.blog-shell {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 2%;
    padding-right: 2%;
}

.blog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 24px;
    margin-bottom: 28px;
}

.blog-card,
.blog-post-card,
.blog-article-card,
.blog-related-card {
    background: rgba(255, 253, 249, .82);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.blog-card,
.blog-post-card,
.blog-related-card,
.blog-article-card {
    padding: 28px;
}

.blog-post-grid,
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-post-card,
.blog-related-card {
    display: grid;
    gap: 10px;
    align-content: start;
}

.blog-post-card h2,
.blog-related-card h2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: none;
    min-height: 3.3em;
    margin: 0;
}

.blog-post-image,
.blog-article-image,
.blog-related-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    border: 1px solid var(--line);
}

.blog-post-image,
.blog-related-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-article-image {
    margin: 12px 0 20px;
}

.blog-article-image-shell {
    position: relative;
    margin: 12px 0 20px;
}

.blog-article-image-shell .blog-article-image {
    margin: 0;
}

.blog-meta {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

.blog-excerpt,
.blog-article-body {
    line-height: 1.85;
    color: var(--muted);
}

.blog-excerpt {
    margin: 0;
}

.blog-article-body {
    color: var(--ink);
    white-space: pre-wrap;
}

.blog-share-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.blog-seo-panel {
    display: grid;
    gap: 14px;
    margin-top: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.blog-share-actions,
.blog-hashtag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-share-icon,
.blog-hashtag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, .92);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    backdrop-filter: blur(14px);
}

.blog-share-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.blog-hashtag {
    min-width: auto;
    padding: 10px 16px;
}

.blog-share-icon:hover,
.blog-hashtag:hover {
    border-color: rgba(24, 88, 87, .28);
}

.blog-long-tail {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}

.blog-seo-block {
    display: grid;
    gap: 10px;
}

.blog-empty-card {
    grid-column: 1 / -1;
}

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

.blog-pagination nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-pagination svg {
    width: 16px;
    height: 16px;
}

.blog-heading {
    max-width: none;
}

.blog-section-title {
    margin: 0 0 14px;
}

.blog-page h1 {
    font-size: clamp(1.7rem, 4.2vw, 2.9rem);
}

.blog-page h2 {
    font-size: clamp(1.15rem, 2.4vw, 1.42rem);
}

@media (max-width: 1040px) {
    .blog-hero,
    .blog-post-grid,
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px), (orientation: landscape) and (max-height: 500px) and (max-width: 950px) {
    .blog-main {
        padding-top: 96px;
    }
}
