.pricing__header {
    background-color: #09284C;
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
    color: #fff;
    padding: 1.5rem 2.5rem;
}

.work-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3rem 1.5rem 5rem;
}

.work-schedule__header {
    padding: 0 0 4rem;
    text-align: center !important;
}

.work-schedule__wrap {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: fit-content;
    padding-bottom: 1.3rem;
}


/* Cross-browser CSS-only styled scrollbar for .work-schedule__wrap */
.work-schedule__wrap {
    /* Firefox */
    scrollbar-width: auto;
    scrollbar-gutter: stable;
    scrollbar-color: #123B64 #EAF6FF;
    position: relative; /* for decorative elements */
    padding-bottom: 36px; /* room for decorative scrollbar */
}

/* WebKit / Blink: make native scrollbar taller */
.work-schedule__wrap::-webkit-scrollbar {
    min-height: 8px !important;
}
.work-schedule__wrap::-webkit-scrollbar-track {
    background: linear-gradient(90deg, #EAF6FF 0%, #F4FBFF 100%);
    border-radius: 12px;
    padding: 1rem 0;
    margin: 10px 12px; /* inset effect */
}
.work-schedule__wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #0B3359 0%, #123B64 100%);
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(6,22,48,0.18);
    min-width: 64px;
    height: 18px;
    transform: scale(5);
}
.work-schedule__wrap::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.05);
}

/* Legacy IE/Edge fallback */
.work-schedule__wrap {
    -ms-overflow-style: auto;
}

/* Decorative always-visible track + thumb (non-interactive) to ensure a visible scrollbar look
   even on systems that hide native overlay scrollbars (macOS). Pointer-events:none so it
   doesn't block interaction. */
.work-schedule__decor-track {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #EAF6FF 0%, #F4FBFF 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    pointer-events: none;
    z-index: 5;
}

.work-schedule__decor-thumb {
    position: absolute;
    left: 24px;
    bottom: 10px;
    height: 16px;
    width: 120px; /* initial decorative width */
    border-radius: 12px;
    background: linear-gradient(90deg, #0B3359 0%, #123B64 100%);
    box-shadow: 0 6px 14px rgba(6,22,48,0.18);
    pointer-events: none;
    z-index: 6;
}

/* moving thumb (updated by JS) */
.work-schedule__decor-thumb.moving {
    transition: left 0.06s linear, width 0.06s linear;
}

@media only screen and (max-width: 700px) {
    .work-schedule__decor-thumb {
        width: 80px;
        left: 18px;
    }
}


.work-schedule table {
    border-radius: 23px;
    border-collapse: collapse;
    overflow: hidden;
    /* box-shadow: 0px 4.61px 27.19px 0px #BBDDF940; */
    box-shadow: 0px 4.61px 4.61px 0px #0000000A;
    max-width: 1300px;
}

.work-schedule th {
    background-color: #09284C;
    color: #ffffff;
    padding: 1.5rem 2.5rem;
    font-weight: 600;
}

.work-schedule td {
    padding: 3rem 2rem;
    background-color: #ffffff;
    color: #1A2B51;
    vertical-align: top;
    border-right: 1px solid #EEEEEE;
    white-space: nowrap;
}

.work-schedule td:last-child {
    border-right: none;
}

.work-schedule tr {
    border-top: 1px solid #EEEEEE;
}

.work-schedule tr:nth-child(2n) td {
    background-color: #F7FAFF;
}

.work-schedule__wrap table {
    margin: 0;
}

@media only screen and (max-width: 700px) {
    .work-schedule {
        padding: 3rem 0.3rem 5rem;
    }

    .work-schedule__header {
        font-size: 30px;
    }

    .work-schedule table {
        margin: 0 0.5rem;
    }

    .work-schedule__wrap table td {
        padding: 2.2rem 0.8rem;
    }

    .work-schedule__wrap table .fs20Size, .work-schedule__wrap table th {
        font-size: 12px;
    }
}

.experts-list__cta {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: space-between;
    gap: 1.5rem;
    padding: 3rem 2rem;
    border-radius: 22px;
    background-color: #ffffff;
}

.experts-list__cta-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.experts-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 1.5rem 5rem;
}

.experts-list__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 1.5rem;
    row-gap: 4rem;
    max-width: 1750px;
}

.experts-list__item {
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 1rem 1rem 1.8rem;
    border-radius: 22px;
    gap: 1rem;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    height: stretch;
    user-select: none;
}

.experts-list__plus {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    z-index: 50;
}

.specjalizacje-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.specjalizacja-item {
    background-color: #F5F5F5;
    border-radius: 5rem;
    padding: 0.42rem 0.67rem;
}

.experts-list__img {
    border-radius: 17px;
    object-fit: cover;
    
    height: 370px;
    max-height: 370px;
    
}

@media only screen and (max-width: 1250px) {
    .experts-list__cta {
        padding: 2rem 1.5rem;
    }
}

@media only screen and (max-width: 1190px) {

    .experts-list__cta {
        grid-column: span 2;
    }

    .experts-list__cta-top {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .experts-list__cta-top br {
        display: none;
    }

    .experts-list__cta .btn-blue {
        width: fit-content;
    }

    .experts-list__grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 0.9rem;
        row-gap: 2rem;
    }
}

@media only screen and (max-width: 700px) {

    .experts-list {
        padding: 2rem 0.8rem 4rem;
    }

    .experts-list__grid .fs32Size {
        font-size: 20px;
    }

    .experts-list__grid .fs25Size {
        font-size: 12px;
    }

    .experts-list__grid .fs14Size {
        font-size: 7px;
    }

    .experts-list__grid .fs18Size {
        font-size: 10px;
    }

    .experts-list__img {
        max-height: 176px;
    }

    .experts-list__item {
        padding: 0.6rem 0.6rem 1.2rem;
        gap: 0.8rem;
    }

    .specjalizacje-list {
        gap: 0.5rem;
    }

    .specjalizacja-item {
        padding: 0.3rem 0.4rem;
    }

    .experts-list__plus {
        height: 23px;
        width: 23px;
        top: 0.9rem;
        right: 0.9rem;
    }
}