@import "variables";

#posts-body {
    @include default-width;

    display: flex;
    flex-direction: column;
    justify-content: start;

    height: 100vh;
    margin-bottom: 0;
}

#posts-list {
    display: flex;
    flex-direction: column;
}

#posts-header {
    padding-top: 10vh;

    font-size: 20px;
    font-style: normal;
    font-weight: 400;

    a {
        text-decoration: none;
        color: #656565;

        &:hover {
            text-decoration: underline;
            color: #151515;
        }
    }
}

#post-header {
    padding-top: 10vh;

    a {
        text-decoration: none;
        color: #656565;

        &:hover {
            text-decoration: underline;
            color: #151515;
        }
    }
}

#post-title {
    font-size: 2.5em;
    font-weight: 400;
    margin-bottom: 8px;
}

.post-meta {
    font-size: 1.5em;
    span {
        color: #303030;
    }
}

.post-tags {
    margin: 10px 0;
    display: flex;
    gap: 6px;

    .tag {
        font-size: 0.9em;
        padding: 3px 14px;
        text-transform: lowercase;
        border: 1px solid;
        margin-bottom: 6px;

        a {
            outline: none;
            text-decoration: none;
            color: #5C5C5C;
            font-weight: 500;
        }
    }
}

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

#posts-footer {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: end;
}

.post-item {
    a {
        color: $color-light-dark;
        font-weight: 400;
        line-height: 150%;
        text-decoration-line: underline;
        font-size: 2em;
    }
}

.post-content {
    font-size: 1.3em;
    color: $color-dark;
    line-height: 1.4;

    h2 {
        border-bottom: 1px solid rgba(71, 61, 139, 0.500);
    }

    p {
        text-align: justify;
        a {
            text-decoration-line: none;
            text-decoration-style: solid;
            text-decoration-color: darkslateblue;
            outline-color: darkslateblue;
            color: slateblue;
        }

        img {
            width: 100%;
        }
    }

}

.post-to-top-link {
    text-decoration: none;
    color: #656565;

    &:hover {
        text-decoration: underline;
        color: #151515;
    }
}
