{# Note: This file is subject to change. Please overwrite styles with custom-styles.css using a child-theme #}
/* Sec Blog Post Preview */

.pwr-sec-posts {
    overflow: hidden;
    padding: 135px 0 105px;
    position: relative;
    z-index: 0;
}
.pwr-sec-posts__intro-sec {
    position: relative;
}
.pwr-sec-posts--vertical-layout .pwr-sec-posts__intro-sec {
    margin-bottom: 80px;
}
.pwr-sec-posts__intro-sec--centered {
    max-width: 100%;
}
.pwr-sec-posts__cta--horizontal-layout {
    margin-top: 40px;
}

.pwr-rel-post-item {
    cursor: pointer;
    display: block;
    z-index: 1;
}
.pwr-rel-post-item__title {
    font-size: var(--fs-h5);
    font-weight: var(--fw-h5);
    letter-spacing: var(--ls-h5);
    line-height: var(--lh-h5);
    margin: 10px 0;
    text-transform: var(--tt-title);
    transition: all .4s ease-in-out;
}
.pwr-sec-posts__title + .pwr-sec-posts__desc {
    margin-top: 20px;
}
.pwr-sec-posts__desc {
    max-width: 800px;
}
.pwr-rel-post-item__more-link {
    font-family: var(--ff-accent);
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    position: relative;
    text-transform: var(--tt-link);
    transition: all .4s ease-in-out;
}
.pwr-rel-post-item__more-link:hover .pwr-link-icon {
    transform: translateX(4px);
}
.pwr-rel-post-item__title,
.pwr-rel-post-item__more-link {
    color: var(--clr-text-lt);
}
.pwr-rel-post-item__more-link--centered {
    color: var(--clr-text-dk);
    font-size: 18px;
}
.pwr-rel-post-item:hover .pwr-rel-post-item__title {
    color: var(--clr-primary);
}
.pwr-rel-post-item:hover .pwr-rel-post-item__more-link,
.pwr-rel-post-item:hover .pwr-3D-box__info-box {
    opacity: 1;
}
.pwr-rel-post-item--large .pwr-post-item__overlay {
    position: relative;
    transition: opacity .4s ease-in-out;
}
.pwr-rel-post-item:hover .pwr-post-item__overlay {
    opacity: .85;
}
.pwr-rel-post-item__img {
    background-position: center;
    background-size: cover;
    border-radius: var(--br-box);
    height: 400px;
    width: 100%;
}

.pwr--dark .pwr-rel-post-item__title,
.pwr--dark .pwr-rel-post-item__more-link {
    color: var(--clr-text-dk);
}
.pwr--dark .pwr-rel-post-item:hover .pwr-rel-post-item__more-link {
    color: var(--clr-primary);
}
.pwr--dark .pwr-rel-post-item:hover .pwr-rel-post-item__title,
.pwr--dark .pwr-rel-post-item--large:hover .pwr-rel-post-item__more-link  {
    color: var(--clr-text-dk);
}

.pwr-sec-posts__container--large-hor .pwr-rel-post-item--large {
    float: left;
    width: 48%;
}
.pwr-sec-posts__container--large-hor .pwr-rel-post-item--large:nth-child(even) {
    margin-left: 4%;
}
.pwr-sec-posts__container--large-vert .pwr-rel-post-item--large {
    float: left;
    margin-left: 2%;
    width: 23.25%;
}
.pwr-sec-posts__container--large-vert .pwr-rel-post-item--large:first-child {
    margin-left: 0;
}

.pwr-sec-posts--small {
    padding-bottom: 120px;
}
.pwr-rel-post-item--small {
    margin-bottom: 20px;
    max-height: 100px;
    position: relative;
    width: 100%;
}
.pwr-rel-post-item__img--small {
    display: inline-block;
    height: 100px;
    width: 100px;
}
.pwr-rel-post-item__img-overlay {
    background-color: var(--clr-primary);
    border-radius: var(--br-box);
    color: var(--clr-text-dk);
    font-size: 20px;
    height: 100%;
    position: relative;
    transition: all .4s ease-in-out;
    opacity: 0;
    width: 100%;
}
.pwr-rel-post-item:hover .pwr-rel-post-item__img-overlay {
    opacity: .8;
}
.pwr-rel-post-item__overlay-icon {
    display: inline-block;
    fill: currentColor;
    left: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
.pwr-rel-post-item__title--small {
    display: inline;
    margin: 0;
    opacity: .5;
    position: absolute;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    top: 50%;
}
.pwr--dark .pwr-rel-post-item__title--small {
   opacity: 1; 
}
.pwr-rel-post-item:hover .pwr-rel-post-item__title--small {
   opacity: 1; 
}
.pwr--dark .pwr-rel-post-item:hover .pwr-rel-post-item__title--small {
   color: var(--clr-primary);
}
.pwr-sec_posts-item__border {
    border: 1px solid var(--clr-base-dk);
    bottom: 0;
    opacity: .1;
    position: absolute;
    left: 130px;
    width: calc( 100% - 130px );
}
.pwr--dark .pwr-sec_posts-item__border {
    border: 1px solid var(--clr-base-lt);
}

.pwr-rel-post-item__wrapper--text:hover .pwr-rel-post-item__title--text {
    color: var(--clr-text-lt);    
}
.pwr-rel-post-item__wrapper--text:hover .pwr-rel-post-item__more-link {
    color: var(--clr-primary);
}
.pwr-rel-post-item__wrapper--text .pwr-post-item__name,
.pwr-rel-post-item__wrapper--text .pwr-post-item__date,
.pwr-rel-post-item__wrapper--text .pwr-post-item__n-min-read {
    color: var(--clr-primary);
    display: inline-block;
    font-family: var(--ff-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: var(--tt-other);
}
.pwr-rel-post-item__wrapper--text .pwr-post-item__n-min-read {
    font-weight: 500;

}
.pwr-rel-post-item__title--text {
    margin: 0 0 15px;
}
.pwr--dark .pwr-rel-post-item__wrapper--text {
    color: var(--clr-text-dk);
}
.pwr-rel-post-item__summary {
    color: var(--clr-text-lt);
    font-family: var(--ff-base);
    font-size: 14px;
    line-height: 1.6em;
}
.pwr--dark .pwr-rel-post-item__summary {
    color: var(--clr-text-dk);
}
.pwr-rel-post-item__summary p {
    margin: 0;
}

@media (hover: none) {
    .pwr-rel-post-item__wrapper--text .pwr-rel-post-item__more-link {
        color: var(--clr-primary);
        opacity: 1;
    }
}

@media (max-width: 1199px ) {
    .pwr-sec-posts__intro-sec--small-hor {
        padding-right: 8%;
    }
    .pwr-sec-posts__container--large-hor {
        padding-left: 8%;
    }
}
@media (min-width: 992px ) {
    .pwr-sec-posts--vertical-layout .pwr-sec-posts__cta .cta_button {
        position: absolute !important;
        right: 0;
        top: 60px !important;
    }
    .pwr-sec-posts--vertical-layout .pwr-sec-posts__cta--no-intro-title .cta_button {
        top: 15px !important;
    }
    .pwr-sec-posts--vertical-layout .pwr-sec-posts__intro-sec--centered .pwr-sec-posts__cta .cta_button {
        margin-top: 40px;
        position: relative !important;
        top: 0 !important;
    }
    .pwr-sec-posts__intro-sec--large-hor,
    .pwr-sec-posts__container--small-hor {
        float: left;
        width: 40%;
    }
    .pwr-sec-posts__intro-sec--small-hor,
    .pwr-sec-posts__container--large-hor {
        float: left;
        width: 60%;
    }
    .pwr-sec-posts__intro-sec--small-hor {
        padding-right: 12%;
    }
    .pwr-sec-posts__container--large-hor {
        padding-left: 12%;
    }
    .pwr-sec-posts__container--small-vert .pwr-rel-post-item--small {
        float: left;
        width: 48%;
    }
    .pwr-sec-posts__container--small-vert .pwr-rel-post-item--small:nth-child(even) {
        margin-left: 4%;
    }
    .pwr-rel-post-item__wrapper--text {
        float: left;
        margin-right: 6%;
        width: 27.33%;
    }
}
@media (max-width: 991px ) {
    .pwr-sec-posts__intro-sec {
        margin-bottom: 80px;
        max-width: 100%;
    }
    .pwr-sec-posts__intro-sec--small-hor {
        padding-right: 0;
    }
    .pwr-sec-posts__container--large-hor {
        padding-left: 0;
    }
    .pwr-sec-posts__cta {
        margin-top: 40px; 
    }

    .pwr-sec-posts__container--large-vert .pwr-rel-post-item--large {
        margin-left: 0;
        margin-top: 20px;
        width: 48%;
    }
    .pwr-sec-posts__container--large-vert .pwr-rel-post-item--large:nth-child(even) {
        margin-left: 4%;
    }
    .pwr-rel-post-item__img:not(.pwr-rel-post-item__img--small) {
        height: 200px;
    }
    .pwr-rel-post-item__title:not(.pwr-rel-post-item__title--text) {
        margin: 0;
    }
    .pwr-rel-post-item__wrapper--text:not(:last-child) .pwr-rel-post-item {
        margin-bottom: 35px;
    }
}
@media (max-width: 767px ) {
    .pwr-sec-posts {
        padding: calc(135px * var(--sp-reduction-factor)) 0 calc(105px * var(--sp-reduction-factor));
    }
    .pwr-sec-posts__intro-sec,
    .pwr-sec-posts--vertical-layout .pwr-sec-posts__intro-sec {
        margin-bottom: calc(80px * var(--sp-reduction-factor));
    }
    .pwr-sec-posts__title + .pwr-sec-posts__desc {
        margin-top: 15px;
    }
    .pwr-sec-posts__cta {
        margin-top: calc(40px * var(--sp-reduction-factor)); 
    }
    .pwr-rel-post-item__img--small {
        height: 75px;
        width: 75px;
    }
    .pwr-sec_posts-item__border {
        left: 105px;
        width: calc( 100% - 105px );
    }
    .pwr-rel-post-item__title--text {
        margin-bottom: calc(15px * var(--sp-reduction-factor));
    }
}
@media (min-width: 576px) {
    .pwr-rel-post-item__title.pwr-rel-post-item__title--small {
        margin-left: 30px;
    }
}
@media (max-width: 575px ) {
    .pwr-sec-posts__container--large-hor .pwr-rel-post-item--large {
        margin-top: 20px;
    }
    .pwr-sec-posts__container--large-hor .pwr-rel-post-item--large,
    .pwr-sec-posts__container--large-vert .pwr-rel-post-item--large {
        float: none;
        width: 100%;
    }
    .pwr-sec-posts__container--large-hor .pwr-rel-post-item--large:nth-child(even),
    .pwr-sec-posts__container--large-vert .pwr-rel-post-item--large:nth-child(even) {
        margin-left: 0;
    }
    .pwr-rel-post-item--small {
        margin-bottom: 0;
        margin-top: 20px;
        max-height: 100%;
    }
    .pwr-rel-post-item__img--small {
        display: block;
        height: 200px;
        margin-bottom: 20px;
        margin-right: 0px;
        width: 100%;
    }
    .pwr-rel-post-item__title--small {
        display: block;
        margin: inherit;
        opacity: 1;
        position: relative;
        -webkit-transform: none;
                transform: none;
        top: auto;
    }
    .pwr-sec_posts-item__border {
        display: none;
    }
}
