#single-article {
    display: block;
    padding: 0 40px 0 0;
}

.article-top {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.article-category {
    background-color: var(--lapis-lazuli);
    color: var(--white);
    padding: 4px 10px;
    font-size: 14px;
}

.article-category:hover {
    background-color: var(--platinum);
    color: var(--eerie-black);
}

.article-category:hover .icon-small {
    fill: var(--eerie-black);
}

.article-category .icon-small {
    fill: var(--white);
}

.article-date {
    margin-left: 10px;
    font-size: 14px;
}

.article-layout {
    display: flex;
}

.article-left {
    width: 100%;
    max-width: 280px;
}

.article-right {
    width: 100%;
    max-width: 620px;
}

.article-tags {
    font-size: 14px;
    line-height: 20px;
}

.article-title {
    font-size: 34px;
    line-height: 38px;
    font-weight: bold;
    padding: 0 0 20px 0;
}

.article-lead {
    font-size: 24px;
    line-height: 28px;
    padding: 10px 0 40px;
}

#single-article .category-name {
    margin-left: 5px;
}

.flex {
    display: flex;
}

.icon-small {
    fill: var(--lapis-lazuli);
    width: 14px;
    height: 14px;
    line-height: 14px;
    display: inline-block;
}

/*
.article-body{}
.article-image{} */
.article-image img {
    width: 100%;
}


.article-content {
    font-size: 20px;
    line-height: 22px;
}

/* article typography */
.article-content p {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.article-content ul,
.article-content ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content ul li,
.article-content ol li {
    line-height: 1.5rem;
}

.article-content ul ul,
.article-content ol ul,
.article-content ul ol,
.article-content ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

.article-content blockquote {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    /* Change heading typefaces here */
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
}

.article-content h1 {
    font-size: 4.242rem;
    line-height: 4.5rem;
    margin-top: 3rem;
}

.article-content h2 {
    font-size: 2.828rem;
    line-height: 3rem;
    margin-top: 3rem;
}

.article-content h3 {
    font-size: 1.414rem;
}

.article-content h4 {
    font-size: 0.707rem;
}

.article-content h5 {
    font-size: 0.4713333333333333rem;
}

.article-content h6 {
    font-size: 0.3535rem;
}

/* Tables */
.article-content table {
    margin-top: 1.5rem;
    border-spacing: 0px;
    border-collapse: collapse;
}

.article-content table td,
.article-content table th {
    padding: 0;
    line-height: 33px;
}

/* Code blocks */
.article-content code {
    vertical-align: bottom;
}

/* Leading paragraph text */
.article-content .lead {
    font-size: 1.414rem;
}

/* Hug the block above you */
.article-content .hug {
    margin-top: 0;
}

.related-grid {
    display: grid;
    gap: 10px;

    grid-template-columns: repeat(2, 1fr);
}

.article-card-1 {
    width: 100%;
    display: flex;
    padding: 0 0 20px 0;
    align-items: flex-start;
}

.article-card-1 .article-card-image {
    width: 64px;
    height: 64px;
    overflow: hidden;
    margin: 0 0 10px;
}

.article-card-1 .article-card-image img {
    width: 100%;
    height: 100%;
}

.article-card-1 a {
    margin-left: 20px;
    font-size: 19px;
    line-height: 23px;
    color: var(--eerie-black);
}

.article-system-title {
    color: var(--lapis-lazuli);
    font-weight: bold;
    font-size: 26px;
    display: block;
    margin: 60px 0 20px;
}

.article-card-2 {
    display: flex;
    background: var(--white);
    align-items: center;
    padding: 15px;
}

.article-card-2 a {
    font-size: 19px;
    line-height: 23px;
    font-weight: bold;
}

.article-card-2 a:hover {
    color: var(--lapis-lazuli);
}

.article-card-3 img {
    width: 100%;
}

.article-card-3-title {
    padding: 20px;
    font-weight: bold;
    display: block;
    font-size: 22px;
    line-height: 24px;
}

.article-card-3-summary {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 18px
}

.article-card-3 a:hover {
    color: var(--lapis-lazuli);
}



.article-card-collection img {
    width: 100%;
}

.article-card-collection-title {
    padding: 10px 0;
    font-weight: bold;
    display: block;
    font-size: 16px;
    line-height: 16px;
}

.article-card-collection a:hover {
    color: var(--lapis-lazuli);
}

@media only screen and (max-width: 595px) {
    .article-layout {
        display: flex;
        flex-direction: column;
    }

    .article-image img {
        width: 100%;
    }

    .article-right {
        width: auto;
        padding: 0 10px;
    }

    .article-left {
        width: auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .article-top {
        display: block;
        padding: 0;
    }

    .article-date {
        margin: 10px 0 0;
        text-align: center;
        font-size: 14px;
    }

    .article-content h2 {
        font-size: 1.5rem;
        line-height: 1;
        margin-top: 2rem;
    }
}