section#sb_biografiko,
section#sb_analutiko_biografiko,
section#sb_diplomata {
    background: #D6E1E4;
}

.sb_viografiko_top,
.sb_diplomata_top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

section#sb_biografiko h1,
section#sb_analutiko_biografiko h2,
section#sb_diplomata h2 {
    color: #46454B;
    font-family: 'Jura', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 45px;
}

.sb_doctor_title {
    color: #46454B;
    font-family: Jura;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.sb_doctor_title strong {
    font-weight: bold;
}

.sb_suntomo_viografiko {
    border-radius: 20px;
    border: 1px solid #0B2241;
    background: #FFF;
    margin-top: 46px;
    padding: 40px;
}

.sb_suntomo_viografiko_top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sb_suntomo_viografiko_bottom {
    margin-top: 40px;
}

.sb_suntomo_viografiko_item {
    display: flex;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 20px;
    background: #D6E1E4;
    height: auto;
}

.sb_suntomo_viografiko_item:last-child {
    height: fit-content;
    position: relative;
}

.sb_suntomo_viografiko_item h3 {
    color: #46454B;
    font-family: 'Jura', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}

.sb_suntomo_viografiko_text {
    color: #46454B;
    font-family: 'Jura', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.sb_suntomo_viografiko_text ul {
    display: flex;
    padding: 12px 0 12px 25px;
    flex-direction: column;
    gap: 12px;
}

.sb_suntomo_viografiko_bottom {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.sb_suntomo_viografiko_item:last-child::after {
    content: "";
    background-image: url("/wp-content/uploads/2026/02/Frame-1000009320-1.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 120px;
    height: 150px;
    position: absolute;
    bottom: -170px;
    left: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
}

.sb_analytiko_biografiko_content {
    margin-top: 76px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 100px;
}

.sb_analytiko_biografiko_content_left {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 40%;
    position: sticky;
    top: 50px;
}

.sb_analytiko_biografiko_content_right {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

a.sb_bio_tab {
    display: flex;
    padding: 6px 24px;
    align-items: center;
    gap: 90px;
    color: #46454B;
    font-family: Jura;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    text-decoration: none;
    width: 100%;
    justify-content: space-between;
    border-radius: 32px;
    border: 1px solid #0E121B;
    transition: ease-in-out 0.3s all;
}

a.sb_bio_tab:hover {
    background: #FFF;
    transition: ease-in-out 0.3s all;
}

a.sb_bio_tab:hover svg circle {
    fill: #608C98;
    transition: ease-in-out 0.3s all;
}

a.sb_bio_tab:hover svg path {
    stroke: #FFF;
    transition: ease-in-out 0.3s all;
}

.sb_bio_block.sb_bio_title_and_text,
.sb_bio_block.sb_bio_title_with_date,
.sb_bio_block.sb_bio_text_only {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sb_bio_block.sb_bio_title_and_text h3,
.sb_bio_block.sb_bio_title_with_date h3,
.sb_bio_block.sb_bio_text_only h3 {
    color: #46454B;
    font-family: Jura;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}

.sb_bio_text {
    color: #46454B;
    font-family: Jura;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.sb_bio_date_item {
    display: flex;
    padding: 12px;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    background: #FFF;
}

span.sb_bio_date {
    color: #46454B;
    font-family: Jura;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    width: 30%;
}

.sb_bio_date_item .sb_bio_text {
    width: 70%;
}

.sb_bio_text ul {
    display: flex;
    padding: 12px 0 12px 25px;
    flex-direction: column;
    gap: 12px;
}

.sb_bio_block.sb_bio_text_only .sb_bio_text {
    color: #46454B;
    font-family: Jura;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 20px;
    background: #FFF;
}

.sb_bio_block.sb_bio_text_only ol {
    display: flex;
    padding: 12px 0 12px 25px;
    flex-direction: column;
    gap: 12px;
}

/* Accordion – hidden on desktop */
.sb_bio_accordion {
    display: none;
}

/* Diplomata carousel */
.sb_diplomata_carousel {
    position: relative;
    margin-top: 46px;
}

.sb_diplomata_swiper .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.sb_diplomata_arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.sb_diplomata_prev svg,
.sb_diplomata_next svg {
    cursor: pointer;
    border-radius: 50%;
    transition: ease-in-out 0.3s all;
}

.sb_diplomata_prev:hover svg,
.sb_diplomata_next:hover svg {
    fill: #FFF;
    transition: ease-in-out 0.3s all;
}

/* Popup lightbox */
.sb_diplomata_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.sb_diplomata_popup_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.sb_diplomata_popup_content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 80vw;
    max-height: 80vh;
}

.sb_diplomata_popup_img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 20px;
}

.sb_diplomata_popup_close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.sb_diplomata_popup_prev,
.sb_diplomata_popup_next {
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

@media screen and (max-width: 1440px) {
    section#sb_biografiko, section#sb_analutiko_biografiko, section#sb_diplomata {
        padding: 50px 100px;
    }

    section.sb_breadcrumb {
        padding: 12px 100px;
    }
}

@media screen and (max-width: 1250px) {
    section#sb_biografiko, section#sb_analutiko_biografiko, section#sb_diplomata {
        padding: 50px 48px;
    }

    section.sb_breadcrumb {
        padding: 12px 48px;
    }

    a.sb_bio_tab {
        gap: 30px;
        font-size: 22px;
        line-height: 27px;
    }
}

@media screen and (max-width: 992px) {
    section#sb_biografiko, section#sb_analutiko_biografiko, section#sb_diplomata {
        padding: 24px;
    }

    section.sb_breadcrumb {
        padding: 0px 24px;
    }

    section#sb_biografiko h1, section#sb_analutiko_biografiko h2, section#sb_diplomata h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .sb_suntomo_viografiko_top {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .sb_doctor_title {
        text-align: center;
        font-size: 22px;
    }

    .sb_suntomo_viografiko_item:last-child::after {
        content: none;
    }

    .sb_suntomo_viografiko_bottom {
        margin-top: 20px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sb_suntomo_viografiko {
        margin-top: 22px;
        padding: 16px;
    }

    a.sb_bio_tab {
        gap: 16px;
        font-size: 20px;
        line-height: 24px;
    }

    .sb_analytiko_biografiko_content {
        display: none;
    }

    .sb_bio_accordion {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 40px;
    }

    .sb_bio_accordion_trigger {
        display: flex;
        padding: 6px 24px;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        color: #46454B;
        font-family: Jura;
        font-size: 20px;
        font-weight: 600;
        line-height: 24px;
        text-decoration: none;
        border-radius: 32px;
        border: 1px solid #0E121B;
        cursor: pointer;
        transition: ease-in-out 0.3s all;
    }

    .sb_bio_accordion_trigger svg {
        transition: transform 0.3s ease;
    }

    .sb_bio_accordion_item.active .sb_bio_accordion_trigger svg {
        transform: rotate(90deg);
    }

    .sb_bio_accordion_item.active .sb_bio_accordion_trigger {
        background: #FFF;
    }

    .sb_bio_accordion_panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .sb_bio_accordion_item.active .sb_bio_accordion_panel {
        max-height: 5000px;
    }

    .sb_bio_accordion_panel .sb_bio_block {
        padding: 24px 12px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .sb_bio_block.sb_bio_title_and_text h3, .sb_bio_block.sb_bio_title_with_date h3, .sb_bio_block.sb_bio_text_only h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .sb_bio_date_item {
        flex-direction: column;
    }

    span.sb_bio_date {
        font-size: 18px;
        width: 100%;
    }

    .sb_bio_date_item .sb_bio_text {
        width: 100%;
    }

    .sb_bio_text {
        font-size: 18px;
    }
}