/*
0. Wspólne
1. Artykuły
2. Cennik
3. 404
4. Oferta
*/

/* ------------------------------- 0. Wspólne ------------------------------- */

.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-content {
    padding: 10px 0 70px;
    background: #fff;
}

.page-content__inner {
    box-sizing: border-box;
    max-width: 960px;
    padding: 0 24px;
}

body.page:not(.home):not(.front-page) .site-header {
    position: absolute;
    top: var(--adminbar-offset);
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 62%, rgba(0, 0, 0, 0) 100%);
}

img.alignnone {
    display: block;
    max-width: 100%;
    height: auto;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.page-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 0 40px;
    box-sizing: border-box;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    color: #fff;
    background-color: #111;
    background-image: url('/wp-content/themes/mgkreacja/assets/img/r-lp76.webp');
}

body.page:not(.home):not(.front-page) .page-title.container {
    max-width: none;
}

body.page:not(.home):not(.front-page) .page-title {
    min-height: 430px;
    padding-top: 96px;
    padding-right: max(40px, calc((100vw - 1300px) / 2));
    padding-left: max(40px, calc((100vw - 1300px) / 2));
}

.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.page-title h1,
.page-title .page-excerpt {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    color: #fff;
    max-width: 780px;
    font-size: 38px;
    font-style: italic;
    font-weight: 200;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.page-title h1::first-letter {
    color: #9BCB08;
}

.page-title .page-excerpt {
    max-width: 560px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.page-title .page-excerpt p {
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 20px;
    line-height: 23px;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 20px;
    line-height: 23px;
}

.entry-content ul li {
    line-height: 27px;
    color: #888;
    font-size: 15px;
}

.tekst-blok {
    font-size: 15px;
    line-height: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #888;
}


.tresc {
    color: #333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
}

.tresc p {
    margin-bottom: 22px;
}

.tresc h2 {
    padding: 35px 0 24px;
    color: #000;
    font-size: 32px;
    font-style: italic;
    font-weight: 200;
    line-height: 1.25;
    text-align: center;
}

.tresc h3 {
    margin: 34px 0 16px;
    color: #000;
    font-size: 21px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.35;
}

.tresc h4,
.tresc h5,
.tresc h6 {
    margin: 28px 0 14px;
    color: #000;
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;
}

.tresc h4 {
    font-size: 18px;
}

.tresc h5,
.tresc h6 {
    font-size: 16px;
}

.tresc h2::first-letter,
.tresc h3::first-letter,
.tresc h4::first-letter,
.tresc h5::first-letter,
.tresc h6::first-letter {
    color: #9BCB08;
}

.tresc a {
    color: #6f9907;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tresc ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.tresc ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333;
    font-weight: 300;
    font-size: 16px;
}

.tresc ul li,
.tresc ol li {
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
}

.tresc li::marker {
    color: #9BCB08;
    font-weight: 700;
}

.page-content__actions {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}

.page-content__home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #111;
    border-radius: 4px;
    box-sizing: border-box;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.page-content__home-link::first-letter {
    color: #9BCB08;
}

.page-content__home-link:hover,
.page-content__home-link:focus {
    border-color: #9BCB08;
    background: #000;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(155, 203, 8, 0.28), 0 0 15px rgba(155, 203, 8, 0.32);
    text-decoration: none;
}

img.oferta-img {
    width: 64px;
    height: auto;
    margin-bottom: 20px;
    filter: grayscale(100%);
}

img.oferta-foto {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-style: solid;
    border-width: 8px 8px 8px 8px;
    border-color: #50755327;
    border-radius: 100px 100px 100px 100px;
}

.mgk-page-layout {
    align-items: flex-start;
}

.mgk-page-main,
.mgk-page-sidebar-column {
    margin-bottom: 30px;
}

:root {
    --mgk-site-header-height: 0px;
    --mgk-sidebar-gap: 16px;
    --mgk-sidebar-sticky-top: calc(var(--adminbar-offset) + var(--mgk-site-header-height) + var(--mgk-sidebar-gap));
}

.mgk-page-sidebar-column {
    align-self: flex-start;
    height: fit-content;
    position: sticky;
    top: var(--mgk-sidebar-sticky-top);
}

.mgk-page-sidebar__inner {
    padding: 28px;
    border: 1px solid #dfe8dd;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7faf6 0%, #ffffff 100%);
}

.mgk-page-sidebar__eyebrow {
    margin: 0 0 10px;
    color: #86a184;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mgk-page-sidebar__title {
    display: inline-block;
    margin-bottom: 18px;
    color: #507553;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.mgk-page-sidebar__title:hover {
    color: #86a184;
    text-decoration: none;
}

.mgk-page-sidebar-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mgk-page-sidebar-menu__item {
    margin: 0;
}

.mgk-page-sidebar-menu__item > a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid #e5ece3;
    color: #507553;
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
}

.mgk-zespol-sidebar__list a.is-current {
    color: #173325;
    font-weight: 700;
}

.mgk-page-sidebar-menu__item.has-children > a {
    font-weight: 600;
}

.mgk-page-sidebar-menu__item.is-current > a,
.mgk-page-sidebar-menu__item.is-current-ancestor > a {
    color: #2f4f32;
}

.mgk-page-sidebar-menu__item.is-current > a {
    font-weight: 700;
}

.mgk-page-sidebar-menu__item > .mgk-page-sidebar-menu__list {
    margin-left: 16px;
}

.mgk-page-sidebar-menu__item > .mgk-page-sidebar-menu__list > .mgk-page-sidebar-menu__item > a {
    font-size: 14px;
    color: #6d806c;
}

.mgk-page-sidebar-menu__item > a:hover {
    color: #86a184;
    text-decoration: none;
}

.mgk-blog-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mgk-blog-sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mgk-blog-sidebar-widgets .widget {
    padding: 24px;
    border: 1px solid #dfe8dd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(80, 117, 83, 0.08);
}

.mgk-blog-sidebar-widgets .widget {
    margin-bottom: 0;
}

.mgk-blog-sidebar-widgets .widget:last-child {
    margin-bottom: 0;
}

/* ------------------------------- Search ------------------------------- */

.mgk-search-header {
    margin-bottom: 24px;
}

.mgk-search-header .naglowek h2 {
    margin-bottom: 0;
    color: #173325;
    font-size: 34px;
    line-height: 1.2;
}

.mgk-search-header .naglowek h2 span {
    color: #507553;
}

.mgk-search-form-wrap {
    margin-bottom: 34px;
}

.mgk-search-form-wrap .search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dfe8dd;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7faf6 0%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(80, 117, 83, 0.08);
}

.mgk-search-form-wrap .search-form label {
    flex: 1;
}

.mgk-search-form-wrap .search-field {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid #d7e2d5;
    border-radius: 8px;
    color: #173325;
    font-size: 15px;
    background: #fff;
}

.mgk-search-form-wrap .search-field:focus {
    border-color: #507553;
    box-shadow: 0 0 0 3px rgba(80, 117, 83, 0.14);
}

.mgk-search-form-wrap .search-submit {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background: #507553;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mgk-search-form-wrap .search-submit:hover {
    background: #2f4f32;
}

.mgk-search-results {
    padding-bottom: 60px;
}

.mgk-search-results > h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 34px 0 14px;
    color: #173325;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.mgk-search-results > h3:first-child {
    margin-top: 0;
}

.mgk-search-results > h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dfe8dd;
}

.mgk-search-results :is(
    .search-results-pages,
    .search-results-aktualnosci,
    .search-results-products,
    .search-results-oferta,
    .search-results-zespol,
    .search-results-cennik
) {
    padding: 8px 0;
}

.mgk-search-results :is(
    .search-results-pages,
    .search-results-aktualnosci,
    .search-results-products,
    .search-results-oferta,
    .search-results-zespol,
    .search-results-cennik
) ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mgk-search-results :is(
    .search-results-pages,
    .search-results-aktualnosci,
    .search-results-products,
    .search-results-oferta,
    .search-results-zespol,
    .search-results-cennik
) li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    box-sizing: border-box;
    padding: 15px 18px;
    border: 1px solid #dfe8dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(80, 117, 83, 0.07);
}

.mgk-search-results :is(
    .search-results-pages,
    .search-results-aktualnosci,
    .search-results-products,
    .search-results-oferta,
    .search-results-zespol,
    .search-results-cennik
) li:hover {
    border-color: #b8cdb5;
    box-shadow: 0 16px 34px rgba(80, 117, 83, 0.12);
}

.mgk-search-results li a {
    color: #2f4f32;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.mgk-search-results li a:hover {
    color: #507553;
}

.mgk-search-result-price {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f0f5ef;
    color: #507553;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.mgk-search-zespol-grid {
    margin-left: -10px;
    margin-right: -10px;
}

.mgk-search-results .search-results-zespol .lekarz-cell {
    min-height: 100%;
    box-sizing: border-box;
    background: #fff;
    border-color: #dfe8dd;
    box-shadow: 0 10px 26px rgba(80, 117, 83, 0.07);
}

.mgk-search-results .search-results-zespol .lekarz-cell:hover {
    border-color: #b8cdb5;
    box-shadow: 0 16px 34px rgba(80, 117, 83, 0.12);
}

.mgk-search-results .search-results-zespol .lekarz-foto {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 6px solid #f0f5ef;
    border-radius: 999px;
}

.mgk-search-results .search-results-zespol .lekarz-nazw {
    margin: 5px 0 10px !important;
}

.mgk-search-results .search-results-zespol .lekarz-opis {
    margin-bottom: 0 !important;
    line-height: 1.55;
}







@media (max-width: 767px) {

    .page-title {
        padding: 0 25px;
        min-height: 220px;
        margin-bottom: 34px;
    }

    body.page:not(.home):not(.front-page) .page-title {
        min-height: 210px;
        padding-top: 88px;
        padding-right: 25px;
        padding-left: 25px;
    }

    .page-title h1 {
        color: #fff;
        font-size: 24px;
        margin-bottom: 14px;
    }

    .page-title .page-excerpt {
        max-width: 560px;
        color: #fff;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .page-title .page-excerpt p {
        color: #fff;
        font-size: 14px;
        line-height: 1.4;
    }

    .page-content {
        padding-bottom: 48px;
    }

    .page-content__inner {
        padding: 0 20px;
    }

    .page-content__actions {
        margin-top: 34px;
    }

    .page-content__home-link {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;
        font-size: 15px;
    }

    .tresc {
        font-size: 15px;
        line-height: 1.7;
    }

    .tresc h2 {
        padding: 24px 0 18px;
        font-size: 26px;
    }

    .tresc h3 {
        margin-top: 28px;
        font-size: 20px;
    }

    .tresc ul li,
    .tresc ol,
    .tresc ol li {
        font-size: 15px;
    }

    .mgk-page-sidebar-column {
        position: static;
    }

    .mgk-page-sidebar__inner {
        padding: 24px 20px;
    }

.mgk-page-sidebar__title {
    font-size: 21px;
}

    .mgk-search-header .naglowek h2 {
        font-size: 24px;
    }

    .mgk-search-form-wrap .search-form {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .mgk-search-results :is(
        .search-results-pages,
        .search-results-aktualnosci,
        .search-results-products,
        .search-results-oferta,
        .search-results-zespol,
        .search-results-cennik
    ) ul {
        grid-template-columns: 1fr;
    }

    .mgk-search-results :is(
        .search-results-pages,
        .search-results-aktualnosci,
        .search-results-products,
        .search-results-oferta,
        .search-results-zespol,
        .search-results-cennik
    ) li {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}

.single-zespol .mgk-zespol-main-panel--bio {
    position: relative;
    z-index: 3;
    margin-top: -150px;
}

.single-zespol .featured-image--profile {
    display: flex;
    justify-content: left;
    margin: 0 0 14px;
}

.single-zespol .featured-image--profile .zespol-profile-image {
    width: clamp(180px, 26vw, 240px);
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    background: #fff;
}

.single-zespol .mgk-zespol-main-panel__header .lekarz-tyt {
    display: inline-block;
}

.single-zespol .page-title h1 .page-title__prefix {
    font-weight: 200;
}

.single-zespol .lekarz-spec-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 15px;
}

.single-zespol .lekarz-spec-list .lekarz-spec--button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #d6e3d4;
    border-radius: 999px;
    background: #f7faf6;
    color: #507553;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    margin-bottom: 0 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.single-zespol .lekarz-spec-list .lekarz-spec--button:hover {
    background: #507553;
    border-color: #507553;
    color: #fff;
}

@media (max-width: 767px) {
    .single-zespol .mgk-zespol-main-panel--bio {
        margin-top: -72px;
    }

    .single-zespol .featured-image--profile .zespol-profile-image {
        width: min(180px, 52vw);
        border-width: 6px;
    }
}







/* ------------------------------- 1. Artykuły ------------------------------- */

.post-template-default .featured-image {
    text-align: center;
    margin: 0 0 30px 0;
}

.post-template-default .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.home-post {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    padding-bottom: 30px;
}

.home-post .wp-post-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: .7s;
}

.home-post .wp-post-image:hover {
    opacity: 0.5;
    transition: .7s;
}

.home-post h2.post-title a {
    color: #507553;
    font-weight: 200;
    text-decoration: none;
    line-height: normal;
}


.home-post .post-excerpt {
    color: #B7B7B7;
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    margin: 0 20px 30px 20px;
    min-height: 30px;
}

.home-post a.button {
    font-size: 13px;
    margin: 0 auto 0 auto;
    padding: 10px 40px;
    background-color: #fff;
    color: #507553;
    border: 1px solid #507553;
}

.home-post a.button:hover {
    text-decoration: none;
    background-color: #50755313;
}



/* ------------------------------- 2. Cennik ------------------------------- */

.item-toggle-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    cursor: pointer;
    text-align: center;
}

.toggle-icon-content {
    font-size: 20px;
    color: #83A381;
}

.item-header {
    border-bottom: 1px solid #eeeeee;
}

.item-content {
    padding: 20px;
    color: #555;
    border: 1px solid #eee;
    border-radius: 10px;
    margin: 5px 0 15px 0;
}

.item-content p {
    margin:0;
    font-size: 13px;
}

.item-header:hover {
    background: linear-gradient(135deg, #f6fbf3 0%, #eef7ea 100%);
}

.item-toggle-content {
    font-size: 13px;
    font-weight: 400;
}

.item-toggle-content .toggle-icon-content {
    visibility: visible;
}

.cennik-kat {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
}

.cennik-header h2 {
    text-transform: capitalize;
    margin-top: 20px;
    color: #507553;
    font-size: 22px;
    margin-bottom: 20px;
}

.cennik-list .item-header {
    border-top: 1px solid #eee;
    border-bottom: 0;
}

.item-toggle-content {
    flex: unset;
}    

.item-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 800px;
    font-size: 15px;
    text-align: left;
    color: #777;
    padding: 15px
}

.item-title__text {
    display: inline-block;
}

.item-toggle-content--empty {
    cursor: default;
}

.item-price {
    flex: unset;
    display: table-cell;
    padding-top: 10px;
    padding-right: 10px;
    width: 25%;
    font-size: 17px;
    text-align: right;
    color: #83A381;
    font-weight: 700;
    white-space: nowrap;
}

.cennik-archive {
    margin-bottom: 50px;
}

.cennik-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cennik-category-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e7eee6;
    border-radius: 10px;
    background: #fff;
    color: #173325;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cennik-category-tile:hover {
    text-decoration: none;
    border-color: #83A381;
    background-color: #f8fcf7;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 37, 26, 0.06);
}

.cennik-category-tile.is-active {
    border-color: #83A381;
    background: linear-gradient(135deg, #f6fbf3 0%, #eef7ea 100%);
    box-shadow: 0 12px 28px rgba(80, 117, 83, 0.10);
}

.cennik-category-tile__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background-color: #f1f6ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cennik-category-tile__icon--placeholder {
    background-color: transparent;
    border: 1px dashed #cfdccd;
}

.cennik-category-tile__icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.cennik-category-tile__label {
    font-size: 16px;
    line-height: 1.3;
    color: #173325;
    font-weight: 600;
}

.cennik-results {
    border: 1px solid #edf2ec;
    border-radius: 10px;
    background: #fff;
    padding: 28px 30px;
}

.cennik-results__header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px 0;
    color: #173325;
    font-size: 32px;
}

.cennik-results__group + .cennik-results__group {
    margin-top: 32px;
}

.cennik-results__group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px 0;
    color: #507553;
    font-size: 24px;
}

.cennik-results__group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
}

.cennik-results__group-icon .cennik-category-tile__icon-image {
    width: 40px;
    height: 40px;
}

.cennik-results__empty {
    margin: 0;
    color: #6d776d;
}

.cennik-results .item:first-of-type .item-header {
    border-top: 1px solid #eee;
}

.single-zespol .cennik-l .cennik-kategoria {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 14px 0;
    color: #507553;
    font-size: 18px;
}

.single-zespol .cennik-l .cennik-kategoria:first-of-type {
    margin-top: 18px;
}

.single-zespol .cennik-l .cennikl {
    border: 1px solid #edf2ec;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.single-zespol .cennik-l .cennikl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 10px;
    border-top: 1px solid #eef3ed;
}

.single-zespol .cennik-l .cennikl-row:first-child {
    border-top: 0;
}

.single-zespol .cennik-l .cennikl-usluga {
    color: #5e6b61;
    font-size: 13px;
    line-height: 1.3;
}

.single-zespol .cennik-l .cennikl-cena {
    color: #83A381;
    font-size: 17px;
    white-space: nowrap;
}

.taxonomy-grupa-section + .taxonomy-grupa-section {
    margin-top: 42px;
}

.taxonomy-grupa-section__title {
    margin: 0 0 18px 0;
    color: #507553;
    font-size: 30px;
}

@media (max-width: 767px) {
    .cennik-results {
        margin-top: 20px;
        padding: 22px 18px;
    }

    .cennik-results__header h2 {
        font-size: 26px;
    }

    .cennik-category-tile {
        padding: 16px;
        gap: 14px;
    }

    .cennik-category-tile__label {
        font-size: 16px;
    }

    .item-title,
    .item-price {
        display: block;
        width: auto;
        text-align: left;
        padding: 6px 0;
    }

    .item-header {
        display: block;
        padding: 12px 0;
    }

    .item-title {
        gap: 8px;
    }

    .single-zespol .cennik-l .cennikl-row {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ------------------------------- 3. 404 ------------------------------- */

.error-404 h2 {
    margin-top: 50px;
}

.error-404 {
    min-height: 240px;
}



/* ------------------------------- 4. Kontakt ------------------------------- */


.kontakt-box {
    display: flex;
    flex-direction: column;
    border: 1px solid #EFEFEF;
    border-radius: 10px;
    padding: 20px;
    min-height: 135px;
}

.kontakt-blok h2 {
    padding: 0;
    margin: 60px 0 0 0;
    text-align: center;
    font-size: 30px;
    color: #0E251A;
}

.kontakt-blok h3 {
    margin: 0 0 20px 0;
    font-size: 25px;
    color: #0E251A;
}

.kontakt-blok h4 {
    margin: 0 0 60px 0;
    padding: 0;
    font-weight: 200;
    text-align: center;
    font-size: 18px;
    color: #666;
}

.kontakt-infor-box {
    background-color: #F7FDF7;
}

.kontakt-infor-box p {
    color: #507553 !important;
    font-weight: 400 !important;
}

.kontakt-content {
    margin-top: auto;
}

.kontakt-box img {
    width: 27px;
    height: auto;
}

.kontakt-box .znanylekarz {
    width: 150px !important;
    height: auto;
}

.kontakt-box h3 {
    font-weight: 700;
    margin: 0;
    font-size: 18px;
    color: #000;
}

.kontakt-box p {
    font-size: 14px;
    font-weight: 200;
    margin: 0 0 2px 0;
    color: #000;
}   

.kontakt-info-box {
    padding: 20px 40px;
    background-color: #FBFBFB;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
}

.kontakt-info-box h3 {
    font-size: 17px;
    color: #507553;
    margin-bottom: 15px;
}

.kontakt-info-box p {
    font-size: 14px;
    color: #666;
    margin:0;
    padding:0;
}

.kontakt-form h2 {
    margin: 0 0 30px 0;
    color: #0E251A;
    font-size: 25px;
}

.kontakt-form {
    padding-left: 30px;
}

.platnosc-box p, .platnosc-box ol li {
    font-size: 14px;
}


@media (max-width: 767px) {
    .kontakt-form {
        padding-left: 0;
    }
}    




/* ------------------------------- 5. Zespół ------------------------------- */

img.lekarz-foto {
    border-radius: 500px;
    border: 6px solid #fff;
}



/* ----------------------------- 6. specjalista --------------------------- */

#informacje-zespol .info-box {
    padding: 10px 20px;
    background-color: #FBFBFB;
    border: 1px solid #ccc;
    border-radius: 10px;
}

#informacje-zespol h2 {
    padding:0;
    font-size: 30px;
    color: #83A381;
}

#informacje-zespol h3 {
    font-size: 16px;
    font-weight: 200;
}

#informacje-zespol h4 {
    font-size: 17px;
    margin:0 0 20px 0;
    padding:0;
    font-weight: 300;
    color: #888;
}

#informacje-zespol p {
    font-size: 14px;
    font-weight: 300;
}

#informacje-zespol img {
    width: 52px;
    height: auto;
}



/* ------------------------------- 7. O Beskidmed ------------------------------- */

.ramka-div {
    text-align: center;
    border: 1px solid #eee;
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    font-size: 15px;
    color: #888;
    line-height: 1.2;
    font-weight: 300;
}

.separator {
  width: 100%;
  height: 0;
  border-top: 1px solid #eee;
  margin: 30px 0;
}

.onas-zespol  .lekarz-cell {
    padding: 20px;
    margin: 10px;
    min-height: auto;
}

.onas-zespol .lekarze-single .lekarz-foto {
    max-width: 90px;
    margin-bottom: 10px;
}

.onas-zespol .lekarz-opis {
    font-size: 12px;
}

.onas-standardy {
    margin: 50px 0;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
}

/* ------------------------------- 4. Oferta ------------------------------- */


.jww {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 30px;
    margin: 80px 0;
}

.jww h2 {
    color: #83A381 !important;
    padding-bottom: 0 !important;
}

.jww ul, .jww ol {
    font-size: 15px;
    line-height: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #888;
}

.jww ol {
  list-style-type: decimal;
  padding-left: 20px;
}

.jww ul {
  list-style-type: circle;
  padding-left: 20px;
}
