.post-header {
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}

.post-header .home-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #e4002b;
    text-decoration: none;
    background-color: #fff;
    border-radius: 5px;
    font-size: 20px;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    width: 40px;
    height: 40px;
}

.post-header .home-btn:hover {
    background-color: #e4002b;
    color: #fff;
}

.overlay-header-image {
    margin-top: 150px;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(212, 0, 26, 0.75);
    padding: 15px;
    padding-bottom: 0;
}

.post-title {
    font-size: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.post-taxonomies a {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    height: 30px;
    background-color: #fff;
    color: #e4002b;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inherit;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.post-taxonomies a:hover {
    background-color: #e4002b;
    color: #fff;
}

.post-date {
    margin-bottom: 15px;
}

#logoSmartclipHeaderPost {
    /* margin-bottom: 15px; */
    margin: 15px;
    margin-top: 0;
    /* margin-left: 30px; */
    max-width: 140px;
}

#relatePosts {
    position: relative;
}

#relatePosts h3 {
    padding-top: 20px;
}

#relatePosts::before {
    content: '';
    background-color: #fbfbfb;
    position: absolute;
    width: 100vw;
    height: calc(100% + 20px);
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
}

#moreBtn {
    border-radius: 4px;
    font-size: 16px;
    padding: 10px 15px;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
}


.grid-post {
    display: grid;
    grid-template-columns: 1fr [post-content] minmax(auto, 640px) [aside] 1fr;
}

.post-content {
    grid-column-start: post-content;
    grid-row-start: 1;
}


aside.attached-files {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    grid-column-start: aside;
    height: 50px;
}

aside.attached-files a {
    text-decoration: none;
    border: 2px solid transparent;
    color: #fff;
    background-color: #e4002b;
    display: inline-block;
    padding: 15px;
    border-radius: 5px;
    font-size: 10px;
    -webkit-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

aside.attached-files a:hover {
    background-color: #fff;
    border: 2px solid #e4002b;
    color: #e4002b;
}

aside.attached-files a i {
    display: block;
    font-size: 30px;
    padding-bottom: 10px;
}

@media screen and (max-width: 500px) {
    .grid-post {
        display: block;
    }

    aside.attached-files {
        position: static;
        height: auto;
    }
}
