:root {
    --color-cobi: #CD0183;
    --color-med: #0592BB;
    --color-cobi-med-text: #2B255C;
    --color-cobi-med-text-real: #9592AE;
    --color-cobi-med-text-real-opacity: rgba(149, 146, 174, 0.75);

    --color-icon-address: var(--color-cobi);
    --color-icon-phone: var(--color-med);

    --color-pink-light: #FCF3FA;
    --color-blue-light: #EEF7FD;

    --color-blue-main: #1aa3e8;
    --color-blue-dark: #0f7fc2;
    --color-blue-soft: rgba(26, 163, 232, 0.4);

}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fff !important;

}

body .ast-primary-header-bar {
    border-bottom: none;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.45);    
}

.page {
    position: relative;
}

body .site-main {
    width: 100%;
    max-width: 1500px;
}

.mobile {
    display: none;
}

.ast-primary-header-bar,
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff; /* koniecznie ustaw tło, żeby nie było przenikania */
}

.ast-mobile-header-wrap,
.ast-primary-header,
.site-header {
    overflow: visible !important;
}

.custom-logo-link .custom-logo {
    width: 100px;
    height: auto;
    position: relative;
    left: -10px;
}

body .ast-logo-title-inline .ast-site-identity {
    padding-top: 0px;
    padding-bottom: 0px;
}

#content {
    position: relative;
}

#ast-desktop-header .site-primary-header-wrap {
    position: relative;
}

#ast-desktop-header .site-primary-header-wrap #desktop-umow-wizyte-top {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 150px;
}

.kobimed-top-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: auto;
    z-index: 10;
    aspect-ratio: 1920 / 400;
    overflow: hidden;
    border-bottom-right-radius: 120px;
    /*display: flex;*/
    /*align-items: center;*/
    /*border-bottom-right-radius: 120px;*/
}

.kobimed-top-container .wall {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 12;
    background-color: rgba(0, 0, 0, 0.3);
}

.kobimed-top-container img {
    width: 120%;
    max-width: unset;
    height: auto;
    position: absolute;
}

.site-main {
    position: relative;
    z-index: 15;
}

.head-title {
    display: flex;
    /*justify-content: center;*/
    align-items: flex-start;
    flex-direction: column;

}

.head-title,
.head-title > div > h1,
.head-title > * {
    color: #fff;
    padding: 13px 0px;
    width: 100%;
    line-height: 1;
}

.head-title p,
.head-title > div > h1 {
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 6px 18px rgba(0, 0, 0, 0.25);
}

.head-title > div {
    padding: 2% 0px 30px 0px;
}

.head-title > p {
    line-height: 1.5;
}

.head-title > p .thin {
    font-weight: 100;
}

.head-title h1 {
    text-transform: uppercase;
    font-size: 3em;
    font-weight: 400;
}

.head-title p {
    font-size: 1.4em;
    margin-bottom: 0px;
    line-height: 1.5;
}

.container .tile-contact a,
button#mobile-umow-wizyte,
.container button {
    background-color: transparent;
    border: solid #fff 2px;
    width: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    margin-top: 26px;
    margin-left: 0px;
    border-radius: 50px;
    font-weight: 600;
}

.site-primary-header-wrap .umow {
    border: none;
    display: flex;
    align-items: center;
    border-radius: 25px;
    box-shadow: none !important;
}

.home-page-hidden {
    display: none !important;
}

.site-primary-header-wrap .umow,
.head-title button {
    border-width: 1px;

    background-color: var(--color-med);
    color: #ffffff;

    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;


    box-shadow:
        0 6px 14px rgba(26, 163, 232, 0.25),
        0 12px 30px rgba(26, 163, 232, 0.15);

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;

}

.site-primary-header-wrap .umow i,
.container .tile-contact a > i,
.container button > i {
    font-size: 1.5em;
    margin-right: 8px;
    font-weight: 100;
}

.kobi, .med {
    text-shadow:
        -1px -1px 0 #cacaca,
        1px -1px 0 #cacaca,
        -1px 1px 0 #cacaca,
        1px 1px 0 #cacaca;
    font-weight: 400;

}

.kobi {
    color: #AD0050;
}

.med {
    color: #5594A3;
}

.site-main {
    width: 100%;
    aspect-ratio: 16 / 6;
}

.menu-link {
    font-weight: 300;
    text-transform: uppercase;
}

.page-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 30px;
}

.page-row > * {
    margin: 50px 0px;
}

.box-right {
    width: 30%;
    margin-right: 20px;
    max-width: 250px;
}

.tile-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-style: solid;
    border-width: 2px;
    border-radius: 25px;
    padding: 30px;
    padding-top: 0px;
    aspect-ratio: 12 / 13;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);    
}

.tile-contact#icon-address {
    border-color: var(--color-icon-address);
}

.tile-contact#icon-phone {
    border-color: var(--color-icon-phone);
}

.tile-contact#icon-address * {
    color: var(--color-icon-address);
}

.tile-contact#icon-phone * {
    color: var(--color-icon-phone);
}

.tile-contact + .tile-contact {
    margin-top: 30px;
}

.tile-contact .title {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
}

.tile-contact .value {
    font-weight: 300;
    text-align: center;
}

.tile-contact .icon {
    text-align: center;
    font-size: 60px;
}

.tile-contact .tile-button * {
    color: inherit;
}

.tile-contact .tile-button a {
    /*border-color: var(--ast-global-color-3);*/
    border-width: 1px;
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.tile-contact#icon-address a,
.tile-contact#icon-phone a {
    border: none;
}

.tile-contact#icon-address {
    background-color: var(--color-pink-light);
}

.tile-contact#icon-phone {
    background-color: var(--color-blue-light);
}

.tile-contact#icon-address a {
    background-color: var(--color-icon-address);
}

.tile-contact#icon-phone a,
.tile-contact#icon-phone .tile-button i,
.tile-contact#icon-address a,
.tile-contact#icon-address .tile-button i {
    color: #fff;
}

.tile-contact#icon-phone a {
    background-color: var(--color-icon-phone);
}

.tile-contact .tile-button {
    display: flex;
    justify-content: center;
}


.tile-big {
    width: 70%;
    display: flex;
}

.tile-big .tile-img {
    width: 50%;
    display: block;
}

.tile-big .tile-img > div {
    overflow: hidden;
    aspect-ratio: 55 / 75;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
}

.tile-big .tile-text {
    width: 50%;
    padding: 10px;
    padding-left: 30px;
    line-height: 1.5;
}

.tile-big .tile-text .tile-content {
    font-weight: 100;
}

.tile-title,
.tile-big .tile-text .tile-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 20px;
}

.tile-big .tile-text .tile-content.expanded .paragraph-hidden {
    display: none;
}

.tile-big .tile-text .tile-content .expander {
    text-decoration: none;
    cursor: pointer;
}

#oferta {
    margin-right: 20px;
}


.oferta-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tile-offer {
    background-color: var(--color-cobi-med-text);
    aspect-ratio: 5 / 4;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    border-radius: 25px;
    flex: 0 0 calc(33.333% - 40px);    /* 3 kolumny */
    box-sizing: border-box;
    margin-bottom: 60px;
}
.tile-offer {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tile-offer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0)
        );
    transition: opacity 0.3s ease;
}

.tile-offer:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    /*background-size: 105%;*/
}

.tile-offer:hover::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    z-index: 2;
}

.tile-offer .title {
    width: 100%;
    height: 100px;
    padding: 15px;
    background-color: var(--color-cobi-med-text-real-opacity);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    color: #fff;
    /*font-size: 25px;*/
    /*text-transform: uppercase;*/
    /*font-weight: 200;*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.45),
        0 8px 20px rgba(0, 0, 0, 0.35);

}

.tile-content > * {
    font-weight: 500;
}

.about__lead{
    margin: 0 0 16px;
    color: #3a4a5a;
    line-height: 1.7;
    max-width: 52ch;
    border-bottom: solid var(--ast-global-color-7) 1px;
    padding-bottom: 20px;
    
}

.about__list{
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
    color: #2d3b49;
    padding-bottom: 20px;
    border-bottom: solid var(--ast-global-color-7) 1px;
}

.about__list li{
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
}

/* różowy „ptaszek” jako punktor */
.about__list li::before{
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    /*background: rgba(232, 31, 103, 0.12);*/
    color: #e81f67;
    font-weight: 800;
    font-size: 14px;
    transform: translateY(2px);
}

.about__note{
    margin: 0 0 18px;
    color: #3a4a5a;
    line-height: 1.7;
}

.about__more{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /*color: #0f7fc2;*/
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
}

.staff-item-box {
    /*box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px 0px;*/
    box-shadow: 0 6px 14px rgba(26, 163, 232, 0.05), 0 12px 30px rgba(26, 163, 232, 0.1);
    border-radius: 25px;
    display: flex;
    padding: 15px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 50px;
}

.staff-item-box .figure {
    width: 25%;
}
.staff-item-box .figure .fig {
    width: 100%;
    aspect-ratio: 4 / 7;
    background-size:cover;
    background-position: center;
    border-radius: 25px;
}

.staff-item-box .description-container {
    width: 60%;
    padding: 15px 20px;
}

.staff-item-box .action-container {
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.staff-item-box .action-container .btn-sm {
    display: flex;
    margin-left: auto;
    /*background-color: var(--color-med);*/
    border: solid var(--color-med) 1px;
    color: var(--color-med);
    border-radius: 25px;
    padding: 3px 15px;
    cursor: pointer;
    font-weight: 500;
}

.staff-item-box .action-container button {
    /*background: linear-gradient(135deg, #1aa3e8, #0f7fc2);*/
    background-color: var(--color-cobi);
    color: #fff;
    text-transform: none;
    font-weight: 300;
    font-size: 1.2em;
    /*box-shadow: 0 8px 22px rgba(26,163,232,0.35);*/    
    margin-left: auto;
}

.staff-item-box .description-container .name {
    font-size: 1.7em;
    font-weight: 700;
    margin-bottom: 20px;
}

.site-main > section > .container:first-of-type > h1 {
    text-align: center;
    margin: 30px auto;
    font-weight: 400;
    font-size: 2.5em;
}

.staff-person-properties {
    list-style: none;   
    margin-left: 0px;
}

.staff-person-properties li {
    margin-bottom: 20px;
}

.staff-person-properties li span {
    margin-left: 0px;
    background-color: var(--color-blue-light);
    color: var(--color-icon-phone);
    padding: 7px 10px;
    border-radius: 25px;
    font-weight: 600;
}

@media screen and (max-width: 1468px) {
    body .head-title,
    body .head-title {
        font-size: 13px;
    }
    .container button {
        font-size: 12px;
        margin-top: 10px
    }
}

@media screen and (max-width: 1200px) {
    body .head-title,
    body .head-title {
        font-size: 10px;
    }

    .container button {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body .head-title > div {
        padding-bottom: 15px;
    }

    .kobimed-top-container {
        border-bottom-right-radius: 30px;
    }
    .container button {
        font-size: 12px;
        margin-top: 0px
    }
    .tile-offer {
        flex: 0 0 calc(50% - 15px);
    }

}
@media screen and (max-width: 921px) {
    .desktop {
        display: none !important;
    }

    .mobile {
        display: inherit !important;
    }

    .kobimed-top-container {
        aspect-ratio: 1920 / 830;
        border-bottom-right-radius: 30px;
    }

    .kobimed-top-container img {
        top: unset !important;
    }

    body .head-title,
    body .head-title {
        font-size: 8px;
    }

    body .head-title h1 {
        font-size: 3.5em;
    }
    body .head-title p {
        font-size: 2em;
    }

    body .head-title > * {
        padding: 8px;
    }

    .site-header,
    .ast-primary-header-bar {
        position: sticky;
        top: 0;
        z-index: 999;
    }

    .tile-big {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0px;
    }

    .tile-big .tile-img {
        display: inline;
        width: 40%;
        box-sizing: border-box;
        float: left;
        margin-right: 15px;
    }

    .tile-big .tile-text {
        display: inline;
    }

    .page-row {
        /*display: block;*/
        flex-direction: column-reverse;
    }

    .box-right {
        width: 100%;
        max-width: unset;
        display: flex;
        justify-content: space-evenly;
    }

    .tile-contact {
        width: calc(50% - 10px);
        aspect-ratio: 16 / 9;
    }

    .tile-contact + .tile-contact {
        margin-top: 0px;
        margin-left: 20px;
    }

    #ast-mobile-header {
        position: relative;
    }

    #mobile-umow-wizyte {
        position: absolute;
        left: calc(50% + 15px);
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;

    }
    button#mobile-umow-wizyte {
        padding: 13px 8px;
        background-color: var(--color-med);
        cursor: pointer;
        display: flex !important;
        align-items: center;
        border: none;
    }

    button#mobile-umow-wizyte,
    button#mobile-umow-wizyte * {
        color: #fff;
        font-weight: 700;
        font-size: 12px;
    }

    button#mobile-umow-wizyte i {
        font-size: 17px;
        margin-right: 3px;
    }

    button#mobile-umow-wizyte {
        border-color: var(--color-cobi-med-text);
        border-width: 1px;
        margin-top: 0px;
    }
    #oferta {
        margin-right: 0px;
    }
    
    .staff-items > .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .staff-item-box {
        flex-wrap: wrap;
        width: calc(50% - 20px);
        flex-flow: column;
    }
    
    .staff-item-box .figure {
        width: 100%;
        order: 1;
        margin: 0px;
    }
    
    .staff-item-box .action-container {
        order: 2;
        width: 100%;
        flex-direction:unset;
        margin-top: 15px;
    }
    
    .staff-item-box .action-container .btn-sm {
        margin: auto;
        margin-left: unset;
    }
    
    .staff-item-box .action-container button {
        margin: auto;
        margin-right: unset;
    }
    
    .staff-item-box .description-container {
        order: 3;
    }
    
    .staff-item-box .figure .fig {
        aspect-ratio: 5 / 4;
        background-position: top center;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    .staff-item-box .description-container {
        width: 100%;
    }
    
}

@media screen and (max-width: 840px) {
    .oferta-line {
        display: block;
    }

    .tile-offer {
        display: block;
        width: 100%;
        aspect-ratio: 5 / 3;
    }
}

@media screen and (max-width: 840px) and (min-width: 641px) {
    .action-container {
        flex-wrap: wrap;
        flex-direction: column-reverse !important;
    }
    
    .action-container > * {
        margin: 8px auto !important;
        justify-content: center;
        width: 250px !important;
    }
}

@media screen and (max-width: 640px) {
    .staff-item-box {
        width: 100%;
    }
}

@media screen and (max-width: 560px) {
    .tile-contact {
        padding: 10px;
        padding-top: 0px;
    }
    .tile-contact .icon {
        font-size: 32px;
    }
    .tile-contact .title {
        font-size: 16px;
    }
    .tile-contact .tile-button a {
        padding: 8px 15px;
        font-size: 12px;
    }
    .tile-offer {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
    }
    .action-container {
        flex-wrap: wrap;
        flex-direction: column-reverse !important;
    }
    
    .action-container > * {
        margin: 8px auto !important;
        justify-content: center;
        width: 250px !important;
    }
}