:root {
    --blog-blue: #2463eb;
    --blog-blue-dark: #1d4ed8;
    --blog-ink: #111827;
    --blog-muted: #64748b;
    --blog-line: #dbe5f1;
    --blog-soft: #f5f8ff;
}

.blog-page-shell {
    width: min(1672px, calc(100vw - 48px));
    margin: 0 auto;
}

.blog-index,
.blog-article {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    color: var(--blog-ink);
    font-family: Lato, Arial, sans-serif;
}

.blog-index__intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.blog-index__intro h1 {
    margin: 8px 0 16px;
    color: var(--blog-ink);
    font-size: clamp(28px, 4vw, 44px) !important;
    line-height: 1.12;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    color: var(--blog-muted);
    font-size: 14px;
}

.blog-breadcrumb a {
    color: var(--blog-blue-dark);
    text-decoration: none;
}

.blog-index__intro > p:last-child {
    color: var(--blog-muted);
    font-size: 18px;
    line-height: 1.65;
}

.blog-kicker {
    margin: 0;
    color: var(--blog-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .08);
}

.blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.035);
}

.blog-card__body {
    padding: 26px;
}

.blog-card time,
.blog-article__header time {
    color: var(--blog-muted);
    font-size: 14px;
}

.blog-card h2 {
    margin: 10px 0 14px;
    font-size: 27px;
    line-height: 1.2;
}

.blog-card h2 a,
.blog-card__more {
    color: var(--blog-ink);
    text-decoration: none;
}

.blog-card__excerpt {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
}

.blog-card__more {
    display: inline-flex;
    gap: 8px;
    margin-top: 18px;
    color: var(--blog-blue);
    font-weight: 800;
}

.blog-article__header {
    max-width: none;
    margin: 0 0 24px;
    text-align: left;
}

.blog-article__header h1 {
    margin: 12px 0 18px;
    color: var(--blog-ink);
    max-width: 980px;
    font-size: clamp(36px, 5vw, 56px) !important;
    line-height: 1.1;
}

.blog-author {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    max-width: 560px;
    margin: 24px 0 32px;
    padding: 18px 22px;
    border: 1px solid var(--blog-line);
    border-radius: 18px;
    background: var(--blog-soft);
}

.blog-author__mark {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    background: var(--blog-blue);
    color: #fff;
    font-weight: 900;
}

.blog-author p {
    margin: 0;
    padding: 0;
}

.blog-author__label {
    color: var(--blog-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.blog-author__name {
    margin-top: 4px !important;
    font-size: 18px;
    font-weight: 900;
}

.blog-author__position {
    margin-top: 2px !important;
    color: var(--blog-muted);
}

.blog-article__hero {
    overflow: hidden;
    margin: 0 0 34px;
    border-radius: 24px;
    background: #e2e8f0;
}

.blog-article__hero img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.blog-toc {
    margin: 0 0 34px;
    padding: 26px 30px;
    border-left: 4px solid var(--blog-blue);
    border-radius: 0 18px 18px 0;
    background: var(--blog-soft);
}

.blog-toc__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
}

.blog-toc ol {
    margin: 0;
    padding-left: 22px;
}

.blog-toc li + li {
    margin-top: 8px;
}

.blog-toc a {
    color: var(--blog-blue-dark);
    text-decoration: none;
}

.blog-article__content {
    color: #334155;
    font-size: 18px;
    line-height: 1.75;
    text-align: justify;
}

.blog-article__content h2 {
    scroll-margin-top: 30px;
    margin: 48px 0 16px;
    color: var(--blog-ink);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.18;
}

.blog-article__content h3 {
    margin: 30px 0 10px;
    color: var(--blog-ink);
    font-size: 24px;
    line-height: 1.25;
}

.blog-article__content p {
    margin: 0 0 18px;
    padding: 0;
}

.blog-neighbors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 48px 0 0;
}

.blog-neighbors__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    border: 1px solid var(--blog-line);
    border-radius: 18px;
    color: var(--blog-ink);
    text-decoration: none;
}

.blog-neighbors__item > span {
    margin-bottom: 8px;
    color: var(--blog-blue);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-neighbors__item--next {
    text-align: right;
}

.blog-neighbors__item--disabled {
    opacity: .55;
}

.blog-empty {
    grid-column: 1 / -1;
    padding: 32px;
    border-radius: 18px;
    background: var(--blog-soft);
}

@media (max-width: 767px) {
    .blog-grid,
    .blog-neighbors {
        grid-template-columns: 1fr;
    }

    .blog-card__body,
    .blog-toc {
        padding: 22px;
    }

    .blog-article__content {
        font-size: 17px;
        text-align: left;
    }

    .blog-author {
        width: 100%;
    }

    .blog-neighbors__item--next {
        text-align: left;
    }
}
