/*
Theme Name: Karma (Child Theme)
Theme URI: http://wp.themedemo.co/karma
Author: TRUETHEMES
Author URI: https://themeforest.net/user/truethemes
Version: 6.0.0
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: karma-child
Template: karma
*/

/* = Add your own modification from here
-------------------------------------------------------------- */

.iron-background {
    position: absolute;
    top: 0px;
    /* height: 550px !important; */
   /* filter: blur(2px); */
    width: 100%;
    margin-left: -25px;
}
.iron-author {
    display: none !important;
}
h1.karma-blog--single__title {
    color: white;
}
h3 {
    margin-top: 50px !important;
}
p {
    color: #5e5e5e !important;
    font-size: 18px !important;
    line-height: 28px !important;
}
img.iron-image-post {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.6);
    border-bottom: 1px solid #6b6b6b;

}
.karma-blog--single__banner {
    position: relative;
    /* width: 80%; */
    transform: translate(-60%, -69px);
    /* height: 400px !important; */
    /* object-fit: cover; */
    border-left: 3px solid #939393;
    box-shadow: -10px 0 15px 0 rgba(0, 0, 0, 0.5);
    display: inline-block;
    float: right;
}
.karma-blog--single__banner img {
    width: 370px;
    height: 323px;
    /* max-height: 80%; */
    /* width: 80%; */
    /* height: 30% !important; */
    /* border-radius: 14px; */
    object-fit: cover;
    /* margin-bottom: 0px; */
}
span.wpcf7-list-item-label {
    font-size: 14px;
}
.wp-block-tag-cloud.is-style-outline a {
    font-size: 14px !important;
}
.karma-blog--single-wrapper .karma-blog--single__categories {
    margin-bottom: 50px;
    margin-top: 60px;
}
h1 {
    font-size: 32px !important;}
.karma-blog--single-wrapper .karma-blog--single__categories a {
    background: none !important;
    border: 1px solid #ababab;
    color: #ebebeb;
}
.karma-blog--single-wrapper .karma-blog--single__categories a:hover {
    background: #2c49ff !important;
}
.karma-blog--single__date {
    color: #e9e9e9;
    background: #2884ef75;
    width: fit-content;
    padding: 0 16px;
    font-size: 14px;

}
.karma-blog--single__author {
    position: relative;
    transform: translate(-1138px, 128px);
    /* text-align: left; */
}

.karma-blog--single-wrapper .karma-blog--single__top-content {
    padding: 40px 15px !important;
    background: rgba(var(--ca-dark),.06);
    margin-bottom: 100px;
    margin-top: 105px;
}
.karma-blog--single-wrapper .karma-blog--single__title {
    font-size: 30px !important;
    /* -webkit-background-clip: text; */
    padding: 10px 0px 10px 20px;
    opacity: 0.9;
}

.karma-blog--single-wrapper .karma-blog--single__post-content {
    margin-top: 130px;
}
.aheto-logo.main-header__logo {
    width: 249px;
} 
.aheto-cpt-article__btn-wrap {
    display: none;
}
.karma-blog--wrapper {
    margin-top: 100px;
}
/* Kategoria w postach */
.cat-item {
	border: 1px solid #b5b5b5;
	text-align: center;
	padding: 7px 14px;
}
.cat-item:hover {
	border: 1px solid #2e6de7;
	text-transform: uppercase;
	transition: 0.5s;
}
.karma-blog--post__text {
    display: none;
}
.karma-blog--post__author {
    display: none !important;
}
h1.karma-blog--banner__title {
    font-size: 2.1em;
}
.aheto-cpt-article__excerpt {
    display: none;
}
#yottie_4 .yottie-widget-feed-section-slide {
    background: none !important;
    background-color: unset !important;
}

/* modyfikacja strony 2.0 */

.karma-blog--sidebar .widget {
    box-shadow: rgba(0, 0, 0, 0.09) 0px 3px 12px !important;
}
.karma-blog--sidebar {
    margin-top: -50px;
}
.karma-blog--single__content-wrapper {
    padding-top: 0 !important;
}
/* In higer LCD */
.karma-blog--single-wrapper .karma-blog--single__content-wrapper {
    padding: 20px;
}
.karma-blog--single__banner {
    margin-right: -45px;
}

/* --- Styl dla sekcji Proponowane Posty (Related Posts) --- */

/* Odstęp od góry i linia oddzielająca od reszty wpisu */
.karma-related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eeeeee;
}

/* Nagłówek sekcji */
.karma-related-posts h3 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* Wygląd pojedynczej "karty" posta */
.related-post-item {
    background: #ffffff;
    border: 1px solid #e1e1e1; /* Delikatna ramka */
    border-radius: 8px;        /* Zaokrąglone rogi */
    overflow: hidden;          /* Żeby obrazek nie wystawał poza zaokrąglenie */
    transition: all 0.3s ease; /* Płynna animacja po najechaniu */
    height: 100%;              /* Żeby wszystkie karty w rzędzie były równe */
}

/* Efekt po najechaniu myszką na kartę */
.related-post-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Miękki cień */
    transform: translateY(-5px);             /* Delikatne uniesienie do góry */
    border-color: #cccccc;
}

/* Stylizacja obrazka wyróżniającego */
.related-post-item img {
    width: 100%;
    height: 180px;        /* Ustawiamy stałą wysokość, żeby kafelki były równe */
    object-fit: cover;    /* Obrazek wypełni obszar nie deformując się */
    margin-bottom: 15px;
    display: block;
}

/* Tytuł posta w karcie */
.related-post-item h4 {
    padding: 0 20px 20px 20px; /* Wewnętrzne odstępy dla tekstu */
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

/* Link w tytule */
.related-post-item h4 a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s;
}
span.info-stopka, span#copyright-year {
    color: #9f9f9f;
}
.related-post-item h4 a:hover {
    color: #007bff; /* Kolor po najechaniu - możesz zmienić na swój kolor główny */
}
.karma-blog--post__media img {
    max-height: 250px;
    min-width: 370px;
    object-fit: cover;
    min-height: 200px;
}
.karma-blog--post__item {
    min-height: stretch;
}
.aheto-btn-container.t-right.tablet-.mobile- {
    text-decoration: unset !important;
    float: right;
    padding: 8px 15px;
    box-shadow: rgba(67,71,85,.27) 0px 0px .25em,rgba(90,125,188,.05) 0px .25em 1em;
    transition: .5s;
    position: relative;
    margin-top: 5px;
    margin-right: 5px;
}
.aheto-btn-container.t-right.tablet-.mobile-:hover {
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
transition: 0.5s;
}
@media (min-width: 2280px){
.karma-blog--single__banner {
    margin-right: 7%;
}
}
 
@media (min-width: 768px) and (max-width: 1550px){

    section.elementor-section.elementor-top-section.elementor-element.elementor-element-181d0ca.elementor-section-full_width.elementor-hidden-tablet.elementor-hidden-mobile.elementor-section-height-default.elementor-section-height-default.animated.fadeInUp {
    width: 1600px;
    margin-left: -130px;
}
.karma-blog--single__pagination-prev {
    margin-left: -50px;
}
    .col-12.col-12.col-lg-8{
        margin-top: 20px !important;
    }
  .karma-blog--sidebar {
    scale: .9;
    margin-left: 80px;
    width: 355px;
    margin-top: -90px;
}
.karma-blog--single__content-wrapper {
    width: 800px !important;
    margin-left: -80px; 
}
    header#masthead {
        scale: 0.9;
        margin-left: -90px;
        width: 120%;
        margin-top: -5px;
    }
    .container.karma-blog--single__post-content {
    margin-left: 220px;
}
    .karma-blog--single__banner {
        margin-right: -100px;
    } 
    footer.aheto-footer {
        scale: 0.9;
        width: 1850px !important;
        background: #222222;
        margin-left: -250px;
        margin-bottom: -50px;
    }
    .karma-blog--single__top-content {
        margin-left: -30px;
    }
    section#home-slider {
        scale: 0.9;
        margin-right: 120px;
    }
    div#div-sabbath {
        margin-top: -220px !important;
    }
    h4.aheto-cpt-article__title {
        font-size: 18px !important;
    }
  
    h1.karma-blog--single__title {
        font-size: 30px;
    }
    .karma-blog--posts.col-12 {
        scale: 0.9;
    }
    .container.karma-blog--single__post-content {
        margin-top: 150px;
    }
    rs-module#rev_slider_7_1 {
        width: 1721px !important;
        margin-left: -40px;
    }
    .karma-blog--banner {
        margin-top: -20px;
        scale: 0.8;
    }
    img.logo-kads {
        margin-left: -5px;
    }
    .container.karma-blog--single__post-content {
        margin-bottom: -100px !important;
    }
     .container{
        margin-top: -20px !important;
     }
    .karma-blog--single__pagination {
        margin-bottom: 144px !important;
    }
    .main-header__main-line {
        margin-left: 10% !important;
    }
    .karma-blog--wrapper {
        margin-top: 0px;
    }
    .elementor-shape.elementor-shape-bottom {
    margin-bottom: -20px;
}
.related-post-item {
    height: -webkit-fill-available !important;
}
.karma-related-posts.mt-5 {
    margin-bottom: 140px;
}
img.img-fluid.mb-2.wp-post-image {
    height: 140px;
}
}

/* Pasek pionowy KADS */

@media (min-width: 768px){
    .karma-blog--wrapper {
        margin-right: 10%;
    } 
    .socialmedia {
        margin-right: -8px !important;
        font-size: 15px;
    }
    .main-header__widget-box {
        margin-right: 70% !important;
    }
    li#menu-item-38952 {
        margin-left: 30px;
    }
    img.icon-social-fb, img.icon-social-insta {
        width: 18px;
    }
    img.icon-social-yt {
        width: 22px;
    }
    .kads {
       width: 20%;
       background: #2f557f;
       position: absolute;
       height: 100%;
       display: block;
        left: 0;
       top: 0;
       content: "";
       margin-left: 90%;
   transition: all 1200ms ease-out;
     will-change: background;
   z-index:1000;
   box-shadow: #4d90feb3 0px 3px 8px;
   }
   img.logo-kads {
       width: 7%;
       position: fixed;
       margin-top: 0%;
       transform: translate(30px, 223px);
   }
   .elementor {
       margin-right: 10%;
   }
   .aheto-cpt-article__inner:hover {
      box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px !important;
       transition: 0.7s;
   }
 .aheto-cpt-article__inner {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px !important;
}
   body {
   overflow: hidden;
   }

   .col-12.col-12.col-lg-8 {
    margin-top: -50px;
    background: white;
    padding-top: 20px;
    border-radius: 15px;
}
   }

    /*/////////////////////////// In old device //////////////////////////////
   @media (max-width: 1500px){

   } */
   /*/////////////////////////// Dla urządzeń moblinych //////////////////////////////*/
   @media (max-width: 768px){

    .aheto-logo.main-header__logo {
        width: 221px !important;
    }
    .elementor-36121 .elementor-element.elementor-element-5a2d214 {
    background: white;
}
    .karma-blog--post__item {
        margin-bottom: 121px;
        margin-top: 50px;
    }
    .karma-blog--banner__title-wrap {
        top: -54px;
        position: relative;
        left: -60px;
    }
    .karma-blog--single__top-content {
        height: 5% !important;
    }
 .iron-background {
    margin-left: -15px;
}
h1.karma-blog--single__title {
    opacity: 1 !important;
}
.karma-blog--single-wrapper .karma-blog--single__top-content-left {
    margin-top: 20px;
}
.karma-blog--single-wrapper .karma-blog--single__top-content {
     background: none !important; 
}
.karma-blog--single-wrapper .karma-blog--single__categories {
    margin-top: 80px !important;
}
.karma-blog--single__top-content-left {
    margin-top: 2px;
}
    .karma-blog--single__columns {
    margin-top: 25px;
}
    .karma-blog--single__banner {
    display: none;
}
.container.karma-blog--single__post-content {
    margin-top: -25px;
    /* margin-bottom: 20px !important; */
}
    .mobile-none {
        display: none;
    }
    .karma-blog--single__pagination-prev {
    margin-bottom: 50px;
}
.karma-blog--single-wrapper .karma-blog--single__title{
    font-size: 21px !important;
    padding: 5px 5px !important;
}
    .kads {
        display: none;
    }
    div#div-sabbath {
    display: none;
    }
    .karma-blog--single__banner {
        transform: translate(0%, -69px);
    }
    .karma-blog--single__columns {
        margin-top: -10px;
    }

    .background-revolution {
        margin-top: -18px;
    }
    .karma-blog--post__media {
        margin-top: -100px;
    }
    h1.page-title {
        font-size: 22px;
        padding: 13px 12px;
        margin-left: 70px;
        margin-top: 100px;
    }
    .karma-blog--banner {
        margin-top: 25px;
    }
    .elementor-element.elementor-element-3b172e9.elementor-widget.elementor-widget-slider_revolution {
        margin-top: 59px;
    }
    img.icon-social-yt {
        width: 30px;
        /* height: 50px; */
        margin-top: 10px;
    }
    img.icon-social-fb {
        width: 24px;
    }
    img.icon-social-insta {
        width: 25px;
        margin-top: 10px;
    }
    .karma-blog--single__date {
    margin-left: 30%;
    background: #353535;
}

   }

   .aheto-cpt-filter a {
    border: 1px solid #0000005c;
    padding: 6px 14px;
}
.aheto-cpt-filter a.is-active {
    border: 1px solid #2c49ff63;
    padding: 6px 14px;
}
.background-revolution {
    position: absolute;
    z-index: -10;
    margin-top: -35px;
}
section.elementor-section.elementor-top-section.elementor-element.elementor-element-f415f65.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
    margin-right: 10%;
}
.iron-author {
    color: #999999;
    margin-top: 7px;
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
}
/* Icon search in header */
.main-header__widget-box {
    margin-right: 40%;
}
.aheto-cpt-filter {
    --margin: 5px !important;
    margin-bottom: 50px !important;
}
.main-header--modern .main-header__logo img {
    max-height: 35px !important;
}
.aheto-cpt-load--scroll {
    margin-top: -50px !important;
}