/*
Theme Name: jawnykrakow
Author: jawnykrakow
Description: Newspaper theme with ACF Blocks based on provided HTML.
Version: 2.0.0
Text Domain: jawnykrakow
*/

.page-title {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-title::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.page-title h2.p-title {
    /* top: 120px; */
    /* transform: translateX(-50%); */
    transform: translateY(-50%);
    margin-left: 0;
    padding: 0 80px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.s-post-title,
.video-post-title {
    max-height: 600px;
}

.s-post-title img,
.video-post-title img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom-out 2.5s cubic-bezier(.1, .55, .4, 1) forwards;
}

.overflow-hidden {
    overflow: hidden;
}

.product-p-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.latest-videos.owl-carousel .owl-item img,
.new-steps.owl-carousel .owl-item img {
    max-height: 550px;
    object-fit: cover;
}

.video-img>.video-overlay {
    margin-left: 0;
    transform: translateX(-50%);
}

h5.title a {
    font-size: 15px;
    font-weight: bold;
}

.highlights h4 a,
.trending-slider h4 a,
.latest-articles h4 a {
    font-size: 14px;
    font-weight: bold;
}

h3.title a {
    font-size: 24px;
}

.main-slider.owl-carousel .owl-item img {
    max-height: 550px;
    object-fit: cover;
}

.main-slider .m-slider-img>.m-slider-content {
    width: 80%;
}

.highlights-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.url-hash h5 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.article-focus img {
    height: 600px;
}

.w-100 {
    width: 100%;
}

.h-200 {
    height: 200px;
}

.h-auto {
    height: auto;
}

img.w-100.h-200 {
    object-fit: cover;
}

.p-video-caption a {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.p-video-caption a i {
    float: none;
}

.post-content p {
    margin-bottom: 25px;
}

img.pull-left {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.footer-logo img {
    filter: grayscale(1) brightness(100);
}

.navbar-toggle .icon-bar {
    background-color: #000;
}

.nav.navbar-nav li>a {
    padding: 0 15px;
}

@media screen and (max-width: 767px) {
    .nav.navbar-nav li>a {
        padding: 0 30px;
    }

    .h-200 {
        height: 290px;
    }

    .page-title h2.p-title {
        font-size: 28px;
        padding: 0 15px;
        /* margin-left: 0;
        padding: 0 15px;
        width: 100%; */
        line-height: normal;
        /* transform: translate(-50%, -50%); */
    }

    .d-mobile-none {
        display: none;
    }

    .main-head .logo {
        margin-top: 21px;
    }

    .add-area.text-center {
        margin: 0;
    }

    .add-area img {
        margin: 0 auto !important;
        width: auto;
        height: 60px;
    }

    .mobile-header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar {
        min-height: 0;
    }

    .main-slider.owl-carousel .owl-item img {
        height: 500px;
    }

    .s-post-title img,
    .video-post-title img {
        height: 500px;
    }

    .video-img>.video-overlay {
        top: 50%;
        transform: translateY(-50%);
        height: auto;
    }

    .article-focus img {
        height: 400px;
    }

    .latest-articles .rlb-o-style>a {
        white-space: unset;
    }
}

@keyframes zoom-out {
    0% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@media (min-width: 761px) and (max-width: 990px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: normal;
    }
}

@media (min-width: 0px) and (max-width: 370px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: normal;
    }
}