.el-semantic-layout > .el-related {
    grid-area: related;
    min-width: 0;
}
/* =========================================================
   RELATED ARTICLES
   ========================================================= */

.el-related {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.el-related > h2 {
    margin: 6px 0 20px;
    font-family: var(--serif);
    font-size: var(--content-h2-size);
    font-weight: var(--h2-weight);
    line-height: 1.2;
}

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

.el-related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-color);
}

.el-related-article-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--page-background);
}

.el-related-article-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease;
}

.el-related-card:hover .el-related-article-image {
    transform: scale(1.025);
}

.el-related-body {
    padding: 18px;
}

.el-related-title {
    margin: 7px 0;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.el-related-title a {
    color: inherit;
    text-decoration: none;
}

.el-related-title a:hover,
.el-related-title a:focus {
    color: var(--theme-color);
}

.el-related-intro {
    margin: 0 0 10px;
    color: var(--muted-color);
    font-size: 13px;
    line-height: 1.5;
}

.el-related .el-divider {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
}

.el-related > .el-load {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 900px) {
    .el-semantic-layout > .el-related {
        margin-top: 12px;
    }
}
@media (max-width: 650px) {
    .el-related-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .el-related .el-divider {
        max-width: 100%;
    }
}
