/* This file is used as dependency in:
   ../../modules/blog-post-header.module/module.html */

.post_audio {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) { /* For screens up to 1024px wide (iPad and smaller) */
    .post_audio {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) { /* For screens up to 768px wide (mobile devices) */
    .post_audio {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.pwr-post-header {
    background-color: transparent; /*word-break: break-word;*/
}

.pwr-post-header__overlay {
    background-color: var(--clr-base-lt);
    height: 100%;
    left: 0;
    opacity: .4;
    position: absolute;
    top: 0;
    width: 100%;
}

.pwr--dark .pwr-post-header__overlay {
    background-color: var(--clr-base-dk);
}

.pwr-post-header__info-box {
    position: absolute;
    bottom: 75px;
    width: cacl(100% - 160px);
}

.pwr-post-header__title {
    font-family: var(--ff-h1);
    font-size: 54px;
    font-weight: 700;
    margin: 10px 0 0;
    line-height: 1.18em;
    text-transform: var(--tt-title);
}

.pwr-post-header__title--reduced {
    font-size: var(--fs-h3);
}

.pwr-post-header.pwr--dark .pwr-post-item__name {
    color: var(--clr-text-dk);
}

.pwr-post-header.pwr--dark .pwr-post-item__date {
    color: var(--clr-text-dk);
}

.pwr-post-header.pwr--dark .pwr-post-item__n-min-read {
    color: var(--clr-text-dk);
}

@media (min-width: 1200px) {
    .pwr-post-header__info-box.page-center {
        left: 80px;
        right: 80px;
    }
}

@media (max-width: 1199px) {
    .pwr-post-header__info-box {
        width: calc( 100% - 80px);
    }
}

@media (max-width: 767px ) {
    .pwr-post-header__title {
        font-size: 54px;
        font-size: max(var(--fs-min), calc(54px * var(--fs-reduction-factor)));
    }

    .pwr-post-header__title--reduced {
        font-size: var(--fs-h3);
        font-size: max(var(--fs-min), calc(var(--fs-h3) * var(--fs-reduction-factor)));
    }
}

@media (max-width: 575px) {
    .pwr-hero .pwr-post-header__info-box.page-center {
        bottom: auto;
        margin-bottom: 60px;
        margin-top: 80px;
        position: relative;
    }

    .body-wrapper:has(.pwr-header--transparent):not(:has(.pwr-header-top--transparent)) .pwr-hero .pwr-post-header__info-box,
    .pwr-hero--transparent-header.pwr-hero .pwr-post-header__info-box {
        margin-top: 120px;
    }

    .body-wrapper:has(.pwr-header):has(.pwr-header-top--transparent) .pwr-hero .pwr-post-header__info-box,
    .pwr-hero--transparent-header-full.pwr-hero .pwr-post-header__info-box {
        margin-top: 180px;
    }
}

.pwr-post-featured {
    border-radius: var(--br-box);
    height: 630px;
    margin-left: 80px;
    max-width: var(--lo-content-width);
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.pwr-post-featured--small {
      height: auto !important;
    float: none;
    margin: 4em auto;
    width: 100%;
    max-width: 950px;
}
}

.pwr-post-featured--transparent-header.pwr-post-featured {
    margin-top: 160px;
}

.pwr-post-featured--transparent-header-full.pwr-post-featured {
    margin-top: 210px;
}

.pwr-post-featured__info-box {
    /* position: absolute;
    bottom: 90px;
    left: 40px;
    right: 40px; */
}

.pwr-post-featured__title {
    line-height: 1.18em;
    margin: 10px 0 0;
    /*max-width: 600px;*/
    text-transform: var(--tt-title);
}

.pwr-post-featured__desc {
    line-height: 30px;
    margin: 25px 0 40px;
    max-width: 800px;
}

.body-wrapper:has(.pwr-header--transparent):not(:has(.pwr-header-top--transparent)) .pwr-post-featured {
    margin-top: 160px;
}

.body-wrapper:has(.pwr-header):has(.pwr-header-top--transparent) .pwr-post-featured {
    margin-top: 210px;
}

.pwr-post-featured.pwr--dark .pwr-post-item__name {
    color: var(--clr-text-dk);
}

.pwr-post-featured.pwr--dark .pwr-post-item__date {
    color: var(--clr-text-dk);
}

.pwr-post-featured.pwr--dark .pwr-post-item__n-min-read {
    color: var(--clr-text-dk);
}

@media (max-width: 1199px) {
    .pwr-post-featured {
        margin-left: 40px;
        margin-right: 40px;
    }

    .pwr-post-featured--transparent-header.pwr-post-featured {
        margin-top: 125px;
    }

    .pwr-post-featured--transparent-header-full.pwr-post-featured {
        margin-top: 175px;
    }

    .pwr-post-featured__info-box {
        bottom: 80px;
    }

    .body-wrapper:has(.pwr-header--transparent):not(:has(.pwr-header-top--transparent)) .pwr-post-featured {
        margin-top: 125px;
    }

    .body-wrapper:has(.pwr-header):has(.pwr-header-top--transparent) .pwr-post-featured {
        margin-top: 175px;
    }
}

@media (max-width: 767px ) {
    .pwr-post-featured {
        margin-bottom: calc(50px * var(--sp-reduction-factor));
    }
}

@media (max-width: 575px) {
    .pwr-post-featured {
        border-radius: 0;
        height: auto !important;
        /*min-height: 250px;*/
    }

    .pwr-post-featured--small {
        border-radius: 0;
        height: auto !important;
        /*min-height: 250px;*/
    }

    .pwr-post-featured {
        margin-left: 0;
        margin-right: 0;
    }

    .pwr-post-featured--transparent-header.pwr-post-featured {
        margin-top: 85px;
    }

    .pwr-post-featured--transparent-header-full.pwr-post-featured {
        margin-top: 135px;
    }

    .pwr-post-featured__info-box {
        bottom: auto;
        margin: 1em;
        left: 0;
        position: relative;
        right: 0;
    }
    
    .body-wrapper:has(.pwr-header--transparent):not(:has(.pwr-header-top--transparent)) .pwr-post-featured {
        margin-top: 85px;
    }

    .body-wrapper:has(.pwr-header):has(.pwr-header-top--transparent) .pwr-post-featured {
        margin-top: 135px;
    }
}

.featured-image-container {
          height: auto;
    float: none;
    margin: 0 auto;
    width: 100%;
    max-width: 950px;
}

.featured-image {
    width: 100%;
    height: auto;
    }

@media (max-width: 1024px) { /* For devices with screen width 1024px or less */
    .pwr-post-featured--small {
        margin: 2em auto; /* Smaller margin for tablets */
    }
}

@media (max-width: 768px) { /* For devices with screen width 768px or less */
    .pwr-post-featured--small {
        margin: 1em auto; /* Even smaller margin for mobile devices */
    }
}