.blog-hero {
    padding: 70px 0 42px;
}

.blog-hero__inner {
    max-width: 820px;
}

.blog-hero h1,
.article-header h1 {
    max-width: 900px;
}

.blog-hero p {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 18px;
}

.blog-section {
    padding: 18px 0 72px;
}

.blog-grid {
    display: grid;
    gap: 20px;
}

.blog-card,
.blog-empty {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.blog-card__image {
    display: block;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: var(--surface-soft);
}

.blog-card__image img,
.article-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-card__body {
    padding: 22px;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.blog-card__meta span {
    color: var(--blue);
    font-weight: 800;
}

.blog-card h2 {
    margin-bottom: 10px;
    font-size: 25px;
}

.blog-card p {
    margin-bottom: 18px;
}

.blog-card__link,
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-weight: 800;
}

.blog-empty {
    padding: 34px;
    text-align: center;
}

.blog-empty p {
    margin-bottom: 0;
}

.blog-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.blog-pagination a:last-child,
.blog-pagination span:last-child {
    text-align: right;
}

.blog-pagination a {
    color: var(--blue);
}

.blog-pagination .is-disabled {
    opacity: .45;
}

.article-header {
    padding: 58px 0 32px;
}

.article-header__inner {
    max-width: 900px;
}

.article-back {
    margin-bottom: 28px;
    font-size: 14px;
}

.article-lead {
    max-width: 800px;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.6;
}

.article-date {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.article-cover {
    max-width: 980px;
    margin: 0 auto 42px;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    border-radius: 26px;
    background: var(--surface-soft);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    padding-bottom: 70px;
}

.article-content {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.article-section + .article-section {
    margin-top: 36px;
}

.article-section h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.article-section p,
.article-section li {
    color: #465468;
    font-size: 17px;
    line-height: 1.75;
}

.article-section ul {
    display: grid;
    gap: 8px;
    padding-left: 22px;
}

.article-faq details {
    overflow: hidden;
    padding: 0 22px;
    margin-top: 14px;

    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 22px;

    box-shadow: 0 10px 30px rgba(27, 39, 52, 0.05);
}

.article-faq summary {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 74px;
    padding: 18px 52px 18px 0;

    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.article-faq summary::-webkit-details-marker {
    display: none;
}

.article-faq summary::after {
    content: '+';

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;

    font-size: 22px;
    font-weight: 500;
    line-height: 1;

    transition:
        background-color .16s ease,
        color .16s ease;
}

.article-faq details[open] summary::after {
    content: '−';
    background: #fff4dc;
    color: #9a6700;
}

.article-faq summary:hover::after {
    background: #e8eef5;
}

.article-faq details[open] summary:hover::after {
    background: #ffedc7;
}

.article-faq details p {
    margin: 0;
    padding: 0 0 20px;

    color: #5c6878;
    line-height: 1.65;
}

.related-section {
    padding: 0 0 72px;
}

.related-grid {
    display: grid;
    gap: 14px;
}

.related-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.related-card strong {
    font-size: 18px;
}

.related-card span {
    color: var(--muted);
    font-size: 14px;
}

.blog-footer {
    margin-top: 0;
}

@media (min-width: 760px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-card__body {
        padding: 26px;
    }

    .article-content {
        padding: 42px;
    }

    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
