header.post-cover {
    padding: 5vw 0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    animation: collapsPaddingOnScroll 2s ease forwards;
    animation-timeline: view();
    animation-range: exit 0%;
}

@keyframes collapsPaddingOnScroll {
    from {
        padding: 5vw 0;
        max-height: 100%;
    }

    to {
        padding: 0;
        max-height: 0;
    }
}

.breadcrumbs {
    color: var(--text-200-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 300;
    justify-content: center;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    color: #FFF;
}

header.post-cover:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #302534d6;
    backdrop-filter: blur(5px);
}

.post-cover__wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    text-align: center;
}

.post-cover__wrapper h1 {
    font-size: clamp(30px, 8vw, 60px);
    color: #FFF;
    text-align: center;
}

.post-cover__wrapper p {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-100-color);
    font-weight: lighter;
}

.post-body {
    margin: 20px 0;
    line-height: 1.7;
    font-size: 1.5rem;
}

.post-body img {
    margin: 10px 0;
}

.post-content__wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    margin: 50px auto;
    align-items: flex-start;
}


/* Post Meta */

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    color: var(--text-100-color);
}

span.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

span.post-date i {
    width: 16px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-author img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 100px;
}

.post-tags a {
    background-color: var(--secondary-light-color);
    color: var(--secondary-dark-color);
    padding: 5px 10px;
    display: flex;
    border-radius: 100px;
    align-items: center;
    gap: 5px;
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-tags a i {
    width: 14px;
    height: 14px;
}

.post-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    margin-top: 50px;
}

.share-widget {
    margin-top: 50px;
}

/* Share */

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

a.share-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--text-200-color);
}

a.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

a.share-btn svg:hover {
    fill: var(--primary-color);
}

/* RESPONSIVE */
@media all and (max-width: 1440px) {
    .post-content__wrapper {
        gap: 30px;
        grid-template-columns: 1fr 30vw;
    }
}

@media all and (max-width: 960px) {
    .post-content__wrapper {
        grid-template-columns: 1fr;
    }

    main.posts-main {
        position: static;
    }

    aside.posts-sidebar {
        position: static;
    }
}

@media all and (max-width: 480px) {
    header.post-cover {
        padding: 50px 0;
    }
}