.main {
    margin: 20px auto;
}

.boxes {
    margin: 30px auto;
    display: flex;
    gap: 18px;
    flex-direction: column;
}

.box {
    position: relative;
    width: 100%;
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    border: solid 1px rgb(210, 210, 210);
    padding: 30px 30px;
    transition: all 0.2s ease-in-out;
}

.box:hover {
    border-color: rgb(180, 180, 180);
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.box>a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.blog-content>img {
    height: 180px;
    border-radius: 4px;
}

.blog-header>div {
    color: rgb(100, 100, 100);
}

.blog-header>h1 {
    margin: 0 0 6px 0;
    font-size: 28px;
}

.blog-content {
    display: flex;
    gap: 30px;
    max-height: 60px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.blog-content:has(img) {
    max-height: 140px;
}

.blog-content::after {
    content: "";
    width: 100%;
    height: 85%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(transparent, white);
}

@media only screen and (max-width: 992px) {
    .blog-content {
        flex-direction: column;
    }

    .blog-content>img {
        height: auto;
    }
}