.tg-post {
    width: 100%;
    float: left;
    padding: 0;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
    background: #f1f1f1;
    max-height: 414px;
}

.tg-classimg figcaption {
    left: 0;
    bottom: -154px;
    z-index: 2;
    width: 100%;
    height: 78px;
    position: absolute;
    background: rgba(255, 255, 255, 0.80);
}

.tg-nameanddesignation {
    overflow: hidden;
    text-align: center;
    color: var(--color-principal);
    border-radius: 2px;
    padding: 10px;
    background: none !important;
}

.tg-featuredicon:before {
    z-index: -1;
    left: -15px;
    top: 0;
    content: '';
    width: 0;
    height: 0;
    border-bottom: 35px solid;
    border-left: 15px solid transparent;
    position: absolute;
    color: #f64343;
}

.tg-featuredicon {
    z-index: 12;
    top: 20px;
    right: -5px;
    float: left;
    width: 170px;
    height: 35px;
    background: #f64343;
    font-size: 15px;
    line-height: 35px;
    text-align: center;
    color: #fff;
    position: absolute;
}

.tg-adminname {
    margin: 0 0 7px;
    text-transform: uppercase;
    font-family: var(--title-font-family);
    font-size: 1.5em;
    font-weight: var(--font-weight-title);
}

.tg-bloglist .tg-post .tg-newscontent {
    width: 100%;
    float: left;
    padding: 0;
    position: relative;
    background-color: rgb(255, 255, 255, 0.8);
    cursor: default;
    z-index: 10;
}

@media only screen and (max-width: 480px) {
    .tg-bloglist .tg-post .tg-classimg {
        width: 100%;
        margin: 0 0 -45px;
        position: relative;
        overflow: visible;
    }
}

.ribbon {
    background: var(--color-principal);
    border-left: 1px dashed #aaa;
    border-right: 1px dashed #aaa;
    border-radius: 5px 5px 0 0;
    box-shadow: 5px 0 0 var(--color-principal), -5px 0 0 var(--color-principal);
    height: 120px;
    margin: 0 5px;
    position: relative;
    width: 90px;
    top: 108px;
    -webkit-filter: drop-shadow(0 2px 5px hsla(0, 0%, 0%, .5));
    float: right;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.ribbon:after,
.ribbon:before {
    border-top: 15px solid var(--color-principal);
    content: '';
    height: 0;
    position: absolute;
    top: 100%;
    width: 0;
}

.ribbon:after {
    border-left: 50px solid transparent;
    right: -6px;
}

.ribbon:before {
    border-right: 50px solid transparent;
    left: -6px;
}