
.blog-back-button {
    width: auto;
}

.blog-back-button .bt-icon {
    margin: 0 12px 0 0;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#bst-posts {
    margin-bottom: 40px;
}

@media print, screen and (min-width: 64em) {
    #bst-posts {
        margin-bottom: 60px;
    }
}


.bst-post {
    margin-bottom: 16px;
    max-width: 100%;
    border-radius: 10px;
    background: #FFF;
    padding: 16px;
}

.bst-post.active .bst-post-cats-wrap {
    max-height: 500px;
}

@media print, screen and (min-width: 40em) {
    .bst-post {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 24px 24px 16px 24px;
    }
}

.bst-post-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 24px;
    display: block;
    order: 2;
    height: 250px;
}

.bst-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bst-post-data-box {
    width: 100%;
    order: 2;
}

@media print, screen and (min-width: 40em) {
    .bst-post-img {
        border-radius: 10px;
        width: 196px;
        min-width: 196px;
        height: 174px;
        order: 1;
        margin-right: 24px;
        margin-bottom: 0px;
    }
    .bst-post-data-box {
        width: calc(100% - 220px);
    }
}

.bst-post-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.bst-post-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

@media print, screen and (min-width: 40em) {
    .bst-post-img img {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
    }
}

@media print, screen and (min-width: 40em) {
    .bst-post-data {
        flex-direction: row;
        flex-wrap: wrap;
        position: relative;
        min-height: 220px;
    }
}

.bst-post-cats-wrap {
    max-height: 102px;
    overflow: visible;
    width: 100%;
    transition: 0.25s;
}

.bst-post-cats {
    display: flex;
    align-items: center;
    padding: 0 2px;
    flex-wrap: wrap;
    gap: 2px 0;
    width: calc(100% + 6px);
    max-width: calc(100% + 6px);
    margin-top: 0px;
    margin-left: -4px;
    margin-right: -4px;
    order: 3;
    padding-top: 8px;
}

.bst-post-cat {
    margin-left: 4px;
    margin-right: 4px;
    margin-top: 7px;
}

.blog-back-button--author {
    margin: 14px 0px;
}

.blog-back-button--author {
    margin: 7px 0px;
}

.bst-post-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    color: #2D2C4E;
    font-size: 12px;
    font-style: italic;
    font-weight: 700;
    margin-top: 16px;
    line-height: normal;
    text-transform: uppercase;
    order: 5;
}

.bst-post-show-more.active:after {
    transform: rotate(180deg);
}

.bst-post-show-more:after {
    content:'';
    display: block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: 8px;
    transition: 0.25s;
    background-image: url('../img/bst-post-show-more.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}



.bst-post-cats-sidebar-title {
    color: #2D2C4E;
    font-size: 32px;
    font-style: italic;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.bst-post-cats-wrap-sidebar {
    margin-bottom: 32px;
    max-height: 100px;
    overflow: hidden;
    transition: 0.25s;
}



.bst-post-cats-wrap-sidebar-parent {
    margin-bottom: 40px;
    position: relative;
}

.bst-post-cats-wrap-sidebar-parent:after {
    content:'';
    display: block;
    position: absolute;
    width: 100%;
    bottom: 11px;
    height: 2px;
    border-radius: 9px;
    background: #E7EAF1;
    left: 0px;
    z-index: 1;
}

.bst-post-cats-wrap-sidebar-parent .bst-post-cats-wrap-sidebar {
    margin-bottom: 0;
    background: #F6F7F9;
    position: relative;
    z-index: 2;
}

.bst-post-cats-wrap-sidebar-parent .bst-post-show-more {
    margin-top: 0;
    background: #FFF;
    padding: 4px 15px;
    transform: skewX(-10deg);
    border-radius: 8px;
    font-style: normal;
    position: relative;
    z-index: 2;
    margin-top: 14px;
}

.bst-post-cats-wrap-sidebar-parent.active .bst-post-cats-wrap-sidebar {
    max-height: 800px;
}

.blog-single-title  {
    font-size: 24px;
    font-style: italic;
    font-weight: 800;
    line-height: 32px;
    text-transform: uppercase;
}

.wp-pagenavi > * {
    margin-bottom: 8px !important;
}

.wp-pagenavi {
    margin-bottom: -8px !important;
}

@media screen and (min-width: 100em){
    .bst-post-cats-wrap-sidebar:not(.mobile) {
        width: 24.375rem;
        margin-left: auto;
        margin-bottom: 32px;
    }
} 
@media screen and (min-width: 60em){
    .bst-post-cats-wrap-sidebar {
        max-height: initial;
    }
    .bst-post-cats-wrap-sidebar .bst-post-cats{
        padding-top: 16px;
    }
}

@media print, screen and (min-width: 40em) {
    .bst-post-cat {
        width: auto;
        margin-top: 7px;
    }
    .bst-post-cats {
        margin-top: 0px;
    }
    .bst-post-cats-wrap {
        max-height: initial;
        order: 3;
    }
}

@media print, screen and (min-width: 60em) {
    .blog-single-title {
        margin-bottom: 40px;
        color: #2D2C4E;
        font-size: 32px;
        font-style: italic;
        font-weight: 800;
        display: block;
        line-height: normal;
        text-transform: uppercase;
    }
}

h4.bst-post-title {
    color: #2D2C4E;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; 
    margin-bottom: 8px;
    text-transform: initial;
    height: max-content;
    overflow: hidden;
    max-height: 48px;
    position: relative;
}

h4.bst-post-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 23px;
    background: linear-gradient(266deg, #fff 40%, rgba(246,247,249,0.1) 100%);
}

@media screen and (max-width: 480px){
    h4.bst-post-title {
        font-size: 18px;
    }
}

h4.bst-post-title a {
    color: #2D2C4E;
}

@media screen and (min-width: 992px) {
    h4.bst-post-title a:hover {
        color: #573B97;
    }
}

.bst-post-text {
    color: #626273;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 144%;
    height: 64px;
    overflow: hidden;
    position: relative;
    text-align: justify;
}

.bst-post-text:after {
    content: '';
    display: block !important;
    width: 90px;
    height: 1.4em;
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(to right, rgba(246, 247, 249, 0), #ffffff);
}

@media screen and (max-width: 490px){
    .bst-post-text {
        font-size: 14px;
    }

    h4.bst-post-title {
        height: max-content;
        max-height: 65px;
    }

    .bst-post-text {
        height: 58px;
    }
}

@media print, screen and (min-width: 60em) {
    .bst-post-text:after {
        display: none;
    }
}
@media print, screen and (min-width: 40em) {
    .bst-post-text {
        margin-bottom: 0px;
    }
}

.bst-post-meta {
    display: flex;
    flex-wrap: wrap;
    color: #878796;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 16px;
}

.bst-post-date {
    display: flex;
    align-items: center;
    margin-right: 2px;
}

.bst-post-date svg {
    fill: #878796;
    margin-right: 4px;
}

.bst-post-author a {
    color: #573B97;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    border-bottom: 1px dashed #000;
}

@media screen and (min-width: 992px) {
    .bst-post-author a:hover {
        color: #573B97;
    }
}

@media screen and (min-width: 992px) {
    .bst-post-cat:hover, .bst-post-cat:active, .bst-post-cat:focus {
        background-color: #573B97;
        color: #ffffff;
        border-color: #573B97;
    }
}

.author-page-card-tag, .bst-post-cat {
    text-align: center;
    display: block;
    font-size: 12px;
    line-height: 36px;
    padding: 0 12px;
    white-space: nowrap;
    background: #F0EFF8;
    border-radius: 4px;
    transform: skewX(-10deg);
    text-transform: uppercase;
    color: #9797B2;
    font-weight: 600;
    border: 1px solid #F0EFF8;
    transition: background-color .2s, color .2s, border-color .2s;
}

@media screen and (min-width: 992px) {
    .author-page-card-tag:hover, .bst-post-cat:hover, .author-page-card-tag:active, .bst-post-cat:active, .author-page-card-tag:focus, .bst-post-cat:focus {
        background-color: #573B97;
        color: #ffffff;
        border-color: #573B97;
    }
}


.rhbc-logo {
    width: 100%;
    height: 72px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 12px;
}

.rhbc-title {
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.rhbc-apply,
.rhbc-tc {
    font-size: 12px;
    color: #535353;
    margin-bottom: 30px;
}

.rhbc-tc {
    max-height: 50px;
    overflow-y: auto;
    text-align: left;
    padding-right: 2px;
}

.rhbc-tc::-webkit-scrollbar {
    width: 4px;
}

.rhbc-tc::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.rhbc-tc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.rhbc-btn {
    width: 100%;
}

@media print, screen and (min-width: 40em) {
    .rhbc-btn {
        max-width: 250px;
        margin: 0 auto;
    }
}

.rhbc-btn .button, .rhbc-btn .ibl-button {
    margin-bottom: 0;
    clear: both;
    display: inline-block;
    white-space: nowrap;
}

.star-rate__five,
.star-rate__one {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.star-rate__five svg,
.star-rate__one svg,
.star-rate__five img,
.star-rate__one img {
    width: 18px;
    height: 18px;
}

.star-rate__five svg,
.star-rate__five img {
    margin-right: 4px;
    width: 18px;
    height: 18px;
}
