.blog-page {
    padding-bottom: 48px;
    color: #1a1a1a;
}

.blog-page h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.blog-head {
    margin-bottom: 18px;
}

.blog-intro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 760px;
    margin-bottom: 8px;
}

.blog-intro img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.blog-intro p,
.blog-author-box p {
    margin: 0;
    white-space: pre-line;
    font-size: 14px;
    line-height: 1.6;
}

.blog-cats {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.blog-cats li {
    display: inline-block;
    margin: 0 8px 8px 0;
}

.blog-cats a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #000;
    font-size: 13px;
    text-decoration: none;
}

.blog-cats li.active a,
.blog-cats a:hover {
    border-color: #65b2f1;
    color: #65b2f1;
}

.blog-card {
    margin-bottom: 28px;
    background: #fff;
}

.blog-card-media {
    display: block;
    overflow: hidden;
    background: #f3f3f3;
}

.blog-ratio {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f3f3f3;
}

.blog-ratio::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.blog-ratio img,
.blog-ratio .blog-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body h2,
.blog-card-body h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.blog-card-body h2 a,
.blog-card-body h3 a {
    color: #000;
    text-decoration: none;
}

.blog-card-body h2 a:hover,
.blog-card-body h3 a:hover {
    color: #65b2f1;
}

.blog-card-body p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.blog-card-cat {
    color: #65b2f1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.blog-card-meta {
    font-size: 12px;
    color: #666;
}

.blog-card-meta a {
    color: #000;
    text-decoration: none;
    margin-right: 8px;
}

.blog-card-meta span {
    margin-right: 8px;
}

.blog-empty {
    font-size: 16px;
    padding: 24px 0 40px;
}

.blog-article-split {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.blog-side {
    width: 32%;
    flex: 0 0 32%;
    position: sticky;
    top: 16px;
    align-self: flex-start;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-heading {
    margin-bottom: 16px;
}

.blog-hero-image {
    border-radius: 8px;
}

.blog-ratio .blog-hero-image {
    border-radius: 8px;
}

.blog-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #444;
}

.blog-meta li {
    display: inline-block;
    margin: 0 16px 8px 0;
}

.blog-meta a {
    color: #000;
    text-decoration: none;
}

.blog-meta a:hover {
    color: #65b2f1;
}

.blog-toc {
    margin: 16px 0 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.blog-toc p {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.blog-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-toc li {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.blog-toc a {
    color: #333;
    text-decoration: none;
}

.blog-toc a:hover {
    color: #65b2f1;
}

.blog-toc-h3 {
    padding-left: 14px;
    font-size: 13px;
}

.blog-body {
    font-size: 16px;
    line-height: 1.75;
}

.blog-body > h2:first-child,
.blog-body > h3:first-child {
    margin-top: 0;
}

.blog-body h2,
.blog-body h3 {
    margin: 28px 0 12px;
    line-height: 1.3;
    font-weight: 700;
    scroll-margin-top: 16px;
}

.blog-body h2 {
    font-size: 26px;
}

.blog-body h3 {
    font-size: 20px;
}

.blog-body p,
.blog-body ul,
.blog-body ol {
    margin: 0 0 16px;
}

.blog-body img {
    max-width: 100%;
    height: auto;
}

.blog-body a {
    color: #1a73b8;
}

.blog-author,
.blog-related {
    margin-top: 36px;
}

.blog-author h2,
.blog-related h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.blog-author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.blog-author-box img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 50%;
}

.blog-author-box h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.blog-author-box h3 a {
    color: #000;
    text-decoration: none;
}

.blog-author-role {
    color: #666;
    font-size: 13px;
}

@media only screen and (max-width: 991px) {
    .blog-page h1 {
        font-size: 26px;
    }

    .blog-article-split {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .blog-side,
    .blog-main {
        display: contents;
        width: auto;
        flex: none;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .blog-heading {
        order: 1;
    }

    .blog-hero-image {
        order: 2;
        margin-bottom: 16px;
    }

    .blog-toc {
        order: 3;
        margin-top: 0;
    }

    .blog-main-rest {
        order: 4;
    }
}
