/* body.page-template-programy-profilaktyczne {
} */

/* ---------- global page settings --------------*/
.font_11,
.font_11>* {
    font-size: 11px;
}

.font_13,
.font_13>* {
    font-size: 13px;
}

.h2_30 h2 {
    font-size: 30px;
}

body.single-post::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(214, 223, 231, 1);
    background-image: linear-gradient(180deg,
            rgba(214, 223, 231, 1) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 1) 100%);
}

.btn_arrow {
    width: 38px;
    height: 38px;
    background-color: #00a13a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_arrow .arrow_icon {
    width: 11px;
    height: 11px;
    background-image: url(../../assets/images/ikona-strzalka.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.hero.hero_single_post_page {
    padding-top: 125px;
    padding-bottom: 80px;
}

.grid_fr_450 {
    display: grid;
    column-gap: 60px;
    grid-template-columns: calc(100% - calc(450px + 60px)) 450px;
}

.single_post_page_short_blog_section {
    padding-bottom: 47px;
}

.single_post_page_short_blog_section .main_text {
    display: flex;
    flex-direction: column;
}

.hero_single_post_page .grid_fr_450>.left_col {
    margin-right: 15px
}

.hero_single_post_page .main_info_box {
    padding-top: 25px;
}

.hero_single_post_page .category_post_box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 15px;
}

.hero_single_post_page .category_post_box a {
    background-color: #00a13a;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    line-height: 1.2;
}

.reading_time_box {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.post_date,
.reading_time_title {
    font-size: 11px;
    color: #004278;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.hero_single_post_page .icon_time {
    width: 11px;
    height: 11px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../assets/images/ikona-czas-czytania1@2.png);
}

/* ----------------- GUTENBERG CONTENT ------------------ */

.main_content_single_post article {
    max-width: 100%;
    color: #004278;
    padding-top: 40px;
}

.main_content_single_post article ol,
.main_content_single_post article ul,
.main_content_single_post article p,
.main_content_single_post article strong {
    color: #004278;
}

.main_content_single_post article p,
.main_content_single_post article li {
    color: #004278;
    font-family: "gotham-regular", sans-serif;
}

.main_content_single_post article strong {
    font-weight: 700;
    padding-bottom: 0;
    font-family: "gotham-medium", sans-serif;
}

article .post_date {
    color: #00a13a;
}

article .reading_time_title,
article .post_date,
article .category_post_box a {
    font-weight: 700;
    font-family: "gotham-medium", sans-serif;
}

.main_content_single_post article>div>* {
    color: #004278;
}

h2.wp-block-heading,
h3.wp-block-heading {
    font-size: 30px;
    padding-top: 45px;
}

.main_content_single_post .wp-block-quote {
    margin: 0;
    padding: 10px 15px;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: -15px;
    width: calc(100% + 15px);
    position: relative;
    z-index: 1;
}

.main_content_single_post .wp-block-quote p {
    margin: 0;
}

.main_content_single_post .wp-block-quote::after {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    height: 100%;
    top: 0;
    left: -15px;
    background-color: #ecf6ef;
    z-index: -1;
}

.main_content_single_post .wp-block-quote p {
    color: #004278;
}

.main_content_single_post article>.wp-block-list li {
    padding: 4px 0;
}

/* ----------------- HIGHLIGHTS BOX ------------------ */

.highlights_box {
    position: relative;
    flex-direction: column;
    text-align: center;
    display: flex;
    align-items: center;
    z-index: 1;
    padding: 33px 50px 25px;
    width: calc(100% + 0px);
    margin-top: 40px;
}

.highlights_box>* {
    color: #004278;
}

.highlights_box::after {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    height: 100%;
    top: 0;
    left: -15px;
    background-color: #ecf6ef;
    z-index: -1;
}

.highlights_box p {
    font-size: 20px;
}

.highlights_box .btn_primary {
    background-color: #004278;
    color: #fff;
    text-decoration: none;
    /* padding: 15px; */
    border-radius: 100vh;
    display: flex;
    margin-bottom: 15px;
}

/* ----------------- ASIDE ------------------ */
aside {
    width: 100%;
    height: calc(100% - 10px);
    position: relative;
    top: 0;
    left: 0;
}

aside .element_sticky {
    position: sticky;
    top: 160px;
}

aside .single_post_hero_thumb {
    border-radius: 13px 13px 0 0;
    position: relative;
    height: 305px;
    width: 100%;
    object-fit: cover;
    display: flex;
    margin-top: 10px;
}

aside .contents_box {
    position: relative;
    background-color: #ffffff;
    border-radius: 0 0 13px 13px;
    display: flex;
    flex-direction: column;
    padding: 15px 30px 20px;
    padding-bottom: 10px;
    color: #004278;
    outline: 1px solid #e3eaef;
    z-index: 1;
}

aside .contents_box .contents_title {
    margin: 0;
}

aside .contents_box>* {
    color: #004278;
}

aside .blog_menu_links_list ul {
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top: 5px;
}

aside .blog_menu_links_list ul li {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
}

aside .blog_menu_links_list li,
aside .blog_menu_links_list a {
    font-size: 13px;
    line-height: 1.2;
    color: #004278;
    text-decoration: none;
    font-weight: 500;
}

aside .blog_menu_links_list li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 7px;
    width: 6px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../assets/images/strzalka-10@2.png);
}

aside .sidebar {
    position: relative;
    display: flex;
    column-gap: 10px;
    background-color: #fff;
    padding: 28px 30px 20px;
    border-radius: 0 0 13px 13px;
    color: #fff;
    flex-wrap: wrap;
    align-items: center;
    margin-top: -10px;
    color: #004278;
    outline: 1px solid #e3eaef;
}

aside .sidebar .share_title {
    color: #004278;
    margin: 0;
    line-height: 1;
}

aside .sidebar .share_title strong {
    padding: 0;
}

aside .social_icons_sharer {
    display: flex;
    column-gap: 12px;
    padding-right: 20px;
}

aside .social_icons_sharer button {
    border: none;
    background-color: unset;
    width: 25px;
    height: 25px;
    padding: 0;
    cursor: pointer;
    transition: all .3s;
}

aside .social_icons_sharer button:hover {
    transform: translateY(-5px);
}

aside .social_icons_sharer button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ----------------- AUTHOR BOX ------------------ */

.author_post_box {
    position: relative;
    margin-top: 100px;
    border-radius: 5px;
    padding: 20px 20px 20px 0;
    /* background-color: #f2f5f8; */
    display: flex;
    column-gap: 30px;
    color: #004278;
    z-index: 1;
}

.hero_single_post_page .author_post_box::after {
    content: "";
    position: absolute;
    width: calc(100% + 30px);
    height: 100%;
    top: 0;
    left: -15px;
    background-color: #f2f5f8;
    z-index: -1;
}

.author_post_box p {
    color: #004278;
}

.author_post_box .author_content {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
}

.author_post_box .author_thumb {
    position: relative;
    width: 100px;
    height: 140px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-shrink: 0;
}

.author_post_box .author_thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.author_post_box .author_name_desc {
    display: flex;
    flex-direction: column;
}

.author_post_box .author_name_desc>p {
    line-height: 1;
    margin-top: 0;
}

.author_post_box .author_names {
    display: flex;
    font-size: 20px;
    font-weight: 700;
}

.author_post_box .author_names_socials {
    width: 100%;
    display: flex;
    justify-content: space-between;
    column-gap: 20px;
    height: max-content;
    flex-wrap: wrap;
    row-gap: 15px;
    padding-top: 10px;
}

.author_post_box .author_name_desc {
    display: flex;
    height: max-content;
}

.author_post_box .author_name_desc .author_label {
    margin-bottom: 10px;
}

.author_post_box .author_name_desc .author_names {
    margin: 0;
}

.author_post_box .author_socials {
    display: flex;
    flex-shrink: 0;
    column-gap: 18px;
    position: relative;
    align-items: flex-end;
}

.author_post_box .author_socials .social_icon {
    display: flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all .3s;
}

.author_post_box .author_socials .social_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author_post_box .author_socials .social_icon:hover {
    transform: translateY(-5px);
}

.author_more_desc {
    padding-top: 20px;
}

.author_post_box .author_more_desc p {
    font-size: 13px;
    line-height: 1.35;
}

/* ----------------- RELATIONS POSTS ------------------ */
.short_blog_section .grid3_col {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.short_blog_section article {
    display: flex;
}

.short_blog_section .card_blog {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    outline: 1px solid #eef2f5;
    border-radius: 13px;
    transition: all .3s;
}

.short_blog_section .card_blog:hover {
    outline: 1px solid transparent;
    -webkit-box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.05);
    -moz-box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.05);
    box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.05);
}

.short_blog_section .card_blog .btn_arrow {
    position: absolute;
    opacity: 0;
    transform: translateY(50px);
}

.short_blog_section .card_blog:hover .btn_arrow {
    opacity: 1;
    transform: translateY(15px);
}

.short_blog_section .card_blog:hover .card_desc::before {
    opacity: 1;
    -webkit-box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.15);
    -moz-box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.15);
    box-shadow: 0px 10px 24px 0px rgba(56, 112, 129, 0.15);
}

.short_blog_section .card_img,
.short_blog_section .card_img a {
    position: relative;
    height: auto;
    width: 100%;
    height: 270px;
    display: flex;
    flex-shrink: 0;
    border-radius: 13px 13px 0 0;
    margin-bottom: 0;
    overflow: hidden;
    background-color: rgba(3, 62, 117, 0.05);
}

.short_blog_section .card_img:not(:has(img))::before,
.short_blog_section .card_img:not(:has(img)) a::before {
    position: absolute;
    content: '';
    background-image: url('/wp-content/uploads/2026/03/cropped-logo_kolor.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 70%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: brightness(0) invert(1);
}

.short_blog_section .card_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.short_blog_section .card_desc {
    position: relative;
    text-align: left;
    height: 100%;
    justify-content: space-between;
    padding: 2px 40px 0px;
    font-weight: 700;
    z-index: 1;
}

.short_blog_section .card_desc::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% + 35px);
    background-color: #fff;
    border-radius: 0 0 13px 13px;
    opacity: 0;
    transition: all .3s;
    ;
    z-index: -1;
}

.short_blog_section .card_desc .space_between {
    position: relative;
    overflow: hidden;
    /* padding-bottom: 35px; */
    padding-bottom: 55px;
}

.short_blog_section .card_desc .reading_time_box {
    position: relative;
    display: flex;
    column-gap: 10px;
    align-items: center;
    background-color: #fff;
    width: max-content;
    padding: 2px 17px 2px 10px;
    margin-top: -24px;
    height: 24px;
    margin-left: -10px;
}

.short_blog_section .card_desc .icon_time {
    width: 11px;
    height: 11px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../assets/images/ikona-czas-czytania1@2.png);
}

.short_blog_section .date_cat_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
    padding: 5px 0;

}

.short_blog_section .date_cat_box p {
    margin: 0;
}


.short_blog_section .category_post_box {
    display: flex;
    align-items: center;
    column-gap: 10px;
    row-gap: 5px;
    flex-wrap: wrap;
    height: auto;
}

.short_blog_section .category_post_box a {
    color: #00a13a;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}

.short_blog_section .category_post_box .line {
    width: 2px;
    background-color: #00a13a;
}

.short_blog_section .minus_line,
.short_blog_section .category_post_box .line {
    height: 11px;
    display: flex;
}

.short_blog_section .minus_line {
    color: #00a13a;
    align-items: center;
    justify-content: center;
}


.short_blog_section .title_excerpt>* {
    color: #004278;
}

.short_blog_section .title_excerpt h4 {
    margin-top: 20px
}

/* ----------------------------- RWD -----------------------------*/
@media (max-width: 1366px) {
    .hero.hero_single_post_page {
        padding-top: 90px;
    }

    .hero_single_post_page .grid_fr_450>.left_col {
        margin-right: 50px
    }

    .grid_fr_450 {
        column-gap: 40px;
        grid-template-columns: calc(100% - calc(400px + 40px)) 400px;
    }

    .h2_30 h2,
    h2.wp-block-heading,
    h3.wp-block-heading {
        font-size: 26px;
    }

    aside .single_post_hero_thumb {
        height: 250px;
    }

    .author_post_box {
        margin-top: 70px;
    }

    .highlights_box p {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {

    .h2_30 h2,
    h2.wp-block-heading,
    h3.wp-block-heading {
        font-size: 24px;
        line-height: 1.3;
    }

    h2.wp-block-heading,
    h3.wp-block-heading {
        padding-top: 20px;
    }

    .main_content_single_post .wp-block-quote {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .highlights_box {
        padding: 20px 30px;
    }

    .author_post_box {
        column-gap: 20px;
    }

    /* relation posts */
    .short_blog_section .grid3_col {
        gap: 15px;
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 205px;
    }

    .short_blog_section .card_desc {
        padding: 2px 25px 0px;
    }

    .single_post_page_short_blog_section {
        padding-bottom: 70px;
    }
}

@media (max-width: 1050px) {

    h2.wp-block-heading,
    h3.wp-block-heading {
        padding-top: 10px;
    }

    .grid_fr_450 {
        column-gap: 10px;
        grid-template-columns: calc(100% - calc(350px + 10px)) 350px;
    }

    aside .single_post_hero_thumb {
        height: 235px;
    }

    aside .blog_menu_links_list ul {
        padding-bottom: 0;
    }

    aside .contents_box {
        padding: 10px 20px;
    }
}

@media (max-width: 992px) {
    .hero.hero_single_post_page {
        padding-top: 70px;
    }

    .hero_single_post_page .container,
    .short_blog_section .container {
        max-width: 992px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero_single_post_page .grid_fr_450>.left_col {
        margin-right: 30px;
    }

    /* relation posts */
    .short_blog_section .grid3_col {
        gap: 10px;
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 175px;
    }

    h4.h4_22,
    .h4_22 h4 {
        font-size: 18px;
    }

    article p,
    .main_content_single_post article>.wp-block-list li {
        font-size: 12px;
        line-height: 1.75;
    }

    .short_blog_section .card_desc .space_between {
        padding-bottom: 30px;
    }

    .btn_arrow {
        width: 30px;
        height: 30px;
    }

    .btn_arrow .arrow_icon {
        width: 9px;
        height: 9px;
    }

    .highlights_box p {
        font-size: 16px;
        line-height: 1.35;
    }

    .author_post_box {
        margin-top: 35px;
    }

    .short_blog_section .card_blog:hover .btn_arrow {
        opacity: 1;
        transform: translateY(0px);
    }

    .short_blog_section .card_desc::before {
        height: calc(100% + 15px)
    }

    .single_post_page_short_blog_section {
        padding-bottom: 20px;
    }
}


@media (max-width: 850px) {
    .grid_fr_450 {
        grid-template-columns: 100%
    }

    .hero_single_post_page .grid_fr_450>.left_col {
        margin-right: 0;
    }

    .highlights_box::after,
    .hero_single_post_page .author_post_box::after {
        width: calc(100% + 36px);
        left: -18px;
    }

    aside {
        padding: 25px 0;
    }

    .hero.hero_single_post_page {
        padding-bottom: 35px;
    }

    .highlights_box {
        padding: 20px;
    }

    h4.h4_22,
    .h4_22 h4 {
        font-size: 16px;
    }
}

@media (max-width: 800px) {

    /* relation posts */
    .short_blog_section .grid3_col {
        grid-template-columns: repeat(2, calc(50% - 5px));
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 205px;
    }
}

@media (max-width: 600px) {
    .author_post_box {
        padding-right: 0;
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 160px;
    }

    .short_blog_section .card_desc {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start
    }

    .short_blog_section .card_blog .btn_arrow {
        position: relative;
        opacity: 1;
        transform: none;
    }

    .short_blog_section .card_desc::before {
        display: none;
    }

    .short_blog_section .card_desc .space_between {
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-grow: 1;
    }

    .short_blog_section .card_desc .title_excerpt {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .short_blog_section .card_desc .reading_time_box {
        padding-left: 15px;
        margin-left: -15px;
    }

    article p,
    .main_content_single_post article>.wp-block-list li {
        font-size: 14px;
        line-height: 1.8;
    }
}

@media (max-width: 500px) {
    .hero.hero_single_post_page {
        padding-top: 50px;
    }

    /* relation posts */
    .short_blog_section .grid3_col {
        grid-template-columns: 100%;
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 250px;
    }

    .short_blog_section .card_blog {
        width: 100%;
    }
}

@media (max-width: 400px) {

    .h2_30 h2,
    h2.wp-block-heading,
    h3.wp-block-heading {
        font-size: 22px;
    }

    .author_post_box {
        flex-direction: column;
        row-gap: 20px;
        padding: 15px 0;
    }

    .author_post_box .author_names {
        font-size: 18px;
    }

    .author_post_box .author_thumb {
        width: 200px;
        height: 280px;
        align-self: center
    }

    .author_post_box .author_thumb img {
        width: 100%;
        height: 100%;
    }

    .short_blog_section .card_img,
    .short_blog_section .card_img a {
        height: 210px;
    }
}