hgroup {
    margin-bottom: 20px;
    margin-bottom: 50px
}

hgroup h1 {
    color: #145397;
    margin-bottom: 0
}

hgroup p {
    font-size: 2.125rem;
    color: #3e4e57
}

hgroup ~ p {
    font-size: 1.25rem;
    color: #4b707e;
    width: min(860px, 95%);
    margin-bottom: 10px
}

hgroup ~ p:last-of-type {
    margin-bottom: 0
}

@media (max-width: 479px) {
    hgroup p {
        font-size: 1.5rem
    }
}

h2 {
    font-size: 2.125rem;
    color: #3e4e57;
    padding-bottom: 20px;
    border-bottom: 1px solid #cfd3d7;
    margin-bottom: 20px
}

main .container {
    padding-bottom: 100px
}

.blog-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px
}

.blog-item {
    width: 100%;
    padding: 20px;
    border-radius: 40px;
    border: 1px solid #cfd3d7;
    background-color: #fafafa;
    transition: all .5s ease
}

.blog-item:hover {
    background-color: #edf5f9;
    border-color: #a8cee3
}

.blog-item:hover a {
    text-decoration: underline
}

.blog-item h2 a {
    font-size: inherit;
    font-weight: inherit;
    color: inherit
}

.blog-item p {
    font-size: 1.25rem;
    line-height: 160%
}

.item-date {
    font-weight: 500;
    color: #4b707e;
    margin-bottom: 8px;
    font-style: italic
}

.item-content {
    display: flex;
    justify-content: space-between;
    gap: 16px
}

.item-content div {
    display: flex;
    flex-direction: column;
    font-size: 1.25rem
}

.item-content p {
    color: #6a7884
}

.item-content a {
    color: #34bfbd;
    margin: auto 0 0 auto
}

.item-image {
    flex-shrink: 0;
    width: auto;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    object-fit: contain;
    border: 1px solid #cfd3d7
}

@media (max-width: 1279px) {
    h2 {
        text-align: center
    }
}

@media (max-width: 1023px) {
    .item-content {
        flex-direction: column;
        align-items: center
    }

    .item-content a {
        margin-top: 16px
    }

    .item-image {
        width: min(400px, 100%);
        height: auto
    }
}

@media (max-width: 799px) {
    hgroup {
        margin-bottom: 20px
    }

    .blog-list {
        margin-bottom: 50px
    }
}
