
/* =========================================
   ZESPÓŁ
   ========================================= */
.workers-group{
      background-color: var(--section-bg);

}
.workers-group{
  .module-title{
    .module-title-text{
      text-align: left;
      font-weight: 700;
      margin: 0px 0px 40px;
    }
    .module-supertitle-text{
      text-align: left;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin: 0px 0px 8px;
    }
    background-color: var(--section-bg);
    padding-top: 0;
    padding-bottom: 0;
  }
}
.workers {
    background-color: var(--section-bg);
}

.workers .container {
    max-width: 1190px;
}

.workers .wrapper {
    width: 100%;
}

.workers .workers-list {
    display: grid ;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 ;
}

/* =========================================
   KARTA
   ========================================= */
.workers .one-worker a.inner{
    &:hover{
        box-shadow: 0 0 2px 2px rgb(242, 201, 214);
    }
}

.workers .one-worker {
    .support-card__link{
        &:hover{
                background: rgb(199, 106, 134);
        }
        &::after{
            display: none;
        }
            &::before{
                content: "";
                display: inline-block;
                vertical-align: middle;
                width: 16px;
                height: 16px;
                background-image: url(/img/telephone-white.svg);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
            }
            align-self: flex-start;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 0px;
            padding: 12px 22px;
            font-size: 16px;
            background: rgb(43, 43, 51);
            color: rgb(255, 255, 255);
            border-radius: 999px;
            font-weight: 700;
            line-height: 1.4;
            transition: transform .2s ease, box-shadow .2s ease;
        }
    width: auto ;
    max-width: none ;
    flex: none ;
    margin: 0 ;
    padding: 0 ;
}

.workers .inner {
    box-sizing: border-box;
    width: 100%;
    height: 100%;

    padding: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    text-align: center;

    background-color: var(--element1-content-bg);
    border: var(--content-border-width) solid var(--element1-content-border);
    border-radius: 20px;

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

.workers .inner:hover {
}

/* =========================================
   ZDJĘCIE
   ========================================= */

.workers .photo {
    width: 190px;
    height: 190px;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;
    overflow: hidden;

    border-radius: var(--image-border-radius);
}

.workers .photo figure.image.image_resized {
    display: block ;

    width: 190px ;
    height: 190px ;

    max-width: none ;
    max-height: none ;

    margin: 0 ;
    padding: 0 ;

    border: 0 ;
    border-radius: 50% ;

    background: transparent ;
    box-shadow: none ;

    overflow: hidden;
}

.workers .photo figure.image.image_resized::before,
.workers .photo figure.image.image_resized::after {
    display: none ;
    content: none ;
}

.workers .photo figure.image.image_resized img {
    display: block ;

    width: 100% ;
    height: 100% ;

    max-width: none ;
    max-height: none ;

    margin: 0 ;
    padding: 0 ;

    border: 0 ;
    border-radius: 50% ;

    object-fit: cover ;
    object-position: center;

    box-shadow: none ;
}

.workers .photo figure.image.image_resized figcaption {
    display: none ;
}

/* =========================================
   TEKST PRACOWNIKA
   ========================================= */

.workers .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.workers .inner .text h3 {
    margin: 0 ;

    color: var(--element1-title);

    font-family: "Baloo 2", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;

    text-align: center;
}

.workers .inner .text h3 span {
    color: var(--element1-highlighted-title);
}

/* Specjalizacja */
.workers .inner .text .worker-specialization {
    display: block;

    margin: 0;

    color: var(--element1-highlighted-title);

    line-height: 1.3;

    text-align: center;

    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Zwykły tekst */
.workers .inner .text p {
    color: var(--element1-text);

    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;

}

.workers .inner .text p > a {
    color: var(--element1-link);
}

.workers .inner .text p > a:hover {
    color: var(--element1-link-hover);
}

/* =========================================
   OPIS
   ========================================= */

.workers .description {
    width: 100%;
}

.workers .description p {
    margin: 0 ;
}

.workers .description span {
    background-color: transparent ;
    color: var(--element1-text) ;
}


/* =========================================
   OPIS
   ========================================= */

.workers .description {
    width: 100%;
}

.workers .description p {
    margin: 0 ;
}

.workers .description p + p {
    margin-top: 0 ;
}

.workers .description span {
    background-color: transparent ;
    color: var(--element1-text) ;
}

/* =========================================
   RESPONSYWNOŚĆ
   ========================================= */

@media (max-width: 575.5px) {
    .workers-group{
        .container{
            padding-left: 20px;
            padding-right: 20px;
        }
    }
    .workers .workers-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workers .inner {
        padding: 24px;
    }

    .workers .photo {
        width: 170px;
        height: 170px;
    }

    .workers .photo figure.image.image_resized {
        width: 170px !important;
        height: 170px !important;
    }

    .workers .inner .text h3 {
        font-size: 20px;
    }
}
@media (min-width: 576px) and (max-width: 767.5px) {
    .workers-group{
        .container{
            padding-left: 20px;
            padding-right: 20px;
        }
    }
    .workers .workers-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width: 768px) and (max-width: 991.5px) {
        .workers-group{
        .container{
            padding-left: 20px;
            padding-right: 20px;
        }
    }
    .workers .workers-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) and (max-width: 1199.5px) {
    .workers .workers-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .workers-group{
        .container{
            max-width: 992px;
            width: 100%;
            padding-left: 24px;
            padding-right: 24px;
        }
    }
}
@media (min-width: 1200px) and (max-width: 1579.5px) {

}