body {
    padding: 32px var(--padding) 0px var(--padding);
}

main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

main .back {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
}

main .back .backinner {
    width: fit-content;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
    font-weight: 700;
}

main .posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

@media screen and (max-width: 1400px) {
    main .posts {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 800px) {
    main .posts {
        grid-template-columns: 1fr;
    }

    h1 {
        text-align: center;
    }
}

@media screen and (max-width: 550px) {
    :root {
        --padding: 8px;
    }
}

main .posts .post {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 150px;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding-left: 16px;
}

main .posts .post .preview {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main .posts .post .preview span {
    position: absolute;
    top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: gray;
}

main .posts .post .go {
    min-width: 50px;
    width: 50px;
    height: 100%;
    border-radius: 0px 14px 14px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
