/* Layout */
.specjalista-profile-wrap { width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.spec-profile {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 90%;
}

.spec-profile__left {
    flex: 0 0 34%;
    width:30%;
}

.spec-profile__right {
    flex: 1 1 auto;
    width: 70%;
}

/* Left card */
.spec-card {
    background: #a8c7c1;
    border-radius: 18px;
    padding-top: 100px!important;
    padding: 20px;
    text-align: center;
}



.spec-card__img {
    display: flex;
    justify-content: center;
    margin-bottom: -100px;
}

.spec-profile__main-img {
    width: 100%;
    height: auto;
    border-radius: 999px; /* rounded like the design */
    object-fit: cover;
}

.spec-card__name {
    font-family: "Bree Serif", Sans-serif;
    font-size: 1.3rem!important;
    line-height: 1.15;
    border-bottom: 1px black solid;
}

.spec-card__short {
    margin-top: 14px;
    background: #a8c7c1;
    border-radius: 18px;
    padding:20px;
    font-size: 0.95rem;
}

.spec-card__terms {
    font-size: 0.95rem;
}

/* Left bio + button */
.spec-bio {
    background: #a8c7c1;
    border-radius: 18px;
    padding: 20px;
    margin-top: 14px;
}

.spec-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    background: #2b6f66;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
    width: 100%;
    font-size: 0.95rem;
    font-family: "Bree Serif", Sans-serif;
}

.spec-btn:hover {
    opacity: 0.92;
}

.spec-btn--small {
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 12px;
}

/* Other specialists row */
.spec-others {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 14px;
}

.spec-others__item {
    text-align: center;
}

.spec-others__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.spec-others__imgwrap {
    width: 120px;
    height: 120px;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 8px;
    background: #e9f1ef;
}

.spec-others__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-others__name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.spec-others__short {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 4px;
}

/* Right panel (big info box) */
.spec-panel {
    background: #a8c7c1;
    border-radius: 18px;
    padding: 20px;
}

.spec-section {
    margin-bottom: 20px;
}

.spec-section__title {
    font-family: "Bree Serif", Sans-serif;
    margin-bottom: 20px;
    margin-top: 0!important;
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 400;
    color: black;
}

.spec-section__content {
    font-size: 0.95rem;
}

.spec-section__content ul {
}

/* Static info (same for everyone) */
.spec-static {
    width: 90%;
    margin-top:20px;
}

.spec-static__inner {
    border: 2px solid #2b6f66;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.spec-static__logo {
    width: 78px;
    height: 78px;
    border-radius: 12px;
    background: #eef6f4;
    flex: 0 0 auto;
}

.spec-static__text p {
    font-size: 0.95rem ;
}

/* Booking */
.spec-booking {
    scroll-margin-top: 90px; /* helps when theme has sticky header */
}

.spec-booking__title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 980px) {
    .spec-profile {
        flex-direction: column;
    }

    .spec-profile__left,
    .spec-profile__right {
        flex: 1 1 auto;
        width: 100%;
    }

    .spec-others__item {
        width: 46%;
    }

    .spec-static__inner{
        flex-direction: column;
    }

    .spec-profile__main-img {
        max-height: 300px;
        max-width: 300px;
    }

}

@media (max-width: 450px) {
    .spec-static__inner{
        flex-direction: column;
    }

}

body.single-specjalista .entry-meta {
    display: none !important;
}

div#wizyta-pracownik {
    width: 90%;
}