#zp_topbar_search{
    background-color: #013877;
    margin-bottom: 40px;
}

.iatroi-featured-image img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    object-position: top;
}

h1.zp_anazitisi_iatron_title {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 48px;
    font-style: normal;
    font-weight: 300;
    line-height: 56px;
    margin-bottom: 54px;
    margin-top: 0;
}


.zp_search_input {
    display: flex;
    width: 100%;
    height: 75px;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 60px;
    border: 1px solid #013877;
    background: #FFF;
    backdrop-filter: blur(10px);
    color: #013877;
    font-family: Geologica;
    font-size: 18px;
    font-style: italic;
    font-weight: 100;
    line-height: 24px;
    cursor: pointer;
    text-align: left;
}

button.zp_search_input {
    appearance: none;
    -webkit-appearance: none;
    justify-content: flex-start;
}

.zp_search_wrapper {
    position: relative;
    width: 100%;
}

span.zp_search_min_chars {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 15px;
    padding-left: 48px;
    display: block;
}

section#zp_anazitisi_iatron_content {
    padding-top: 0;
}

p.zp_no_results {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

svg.zp_search_icon {
    position: absolute;
    z-index: 2;
    top: 26px;
    left: 20px;
}

section#zp_topbar_search .zp_container {
    /* display: flex; */
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

button.zp_filter_button {
    height: 75px;
    padding: 16px 48px;
    align-items: center;
    border-radius: 60px;
    border: 1px solid #013877;
    background: #FFF;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

button.zp_filter_button span.zp_filter_label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #013877;
    font-family: Geologica;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.zp_filter_dropdown  {
    position: relative;
}

div.zp_filter_menu {
    position: absolute;
    border-radius: 50px 0 0 0;
    border: 1px solid #013877;
    background: #FFF;
    padding: 45px 25px;
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-height: 700px;
    overflow-y: auto;
    z-index: 100;
}

div.zp_filter_menu {
    width: 400px;
}

.zp_filter_section {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 68, 115, 0.10);
}

button.zp_filter_option.active {
    background-color: #E3F1FF;
    font-weight: 600;
    border-radius: 6px;
}

span.zp_filter_section_title {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.zp_filter_section_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

button.zp_filter_option {
    display: flex;
    padding: 12px 0;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 68, 115, 0.10);
    cursor: pointer;
    text-align: left;
}

button.zp_filter_option:not([data-filter-type="clear"])::before {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1px solid #013877;
    border-radius: 3px;
    background: #FFF;
    margin-left: 8px;
}

button.zp_filter_option.active:not([data-filter-type="clear"])::before {
    content: "✓";
    background: #013877;
    color: #FFF;
    font-family: Geologica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
}

.zp_filter_options_wrapper {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

button.zp_filter_clear_all {
    color: #013877;
    font-family: Geologica;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    background: transparent;
    border: none;
    width: fit-content;
    cursor: pointer;
    padding: 0;
}

.zp_view_switch {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 4px;
    height: 75px;
    padding: 8px;
    border: 1px solid #013877;
    border-radius: 60px;
    background: #FFF;
}

button.zp_view_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #687887;
    background: transparent;
    cursor: pointer;
}

button.zp_view_button:hover {
    color: #013877;
    background: #E3F1FF;
}

button.zp_view_button[aria-pressed="true"] {
    color: #FFF;
    background: #013877;
}

button.zp_view_button:focus-visible {
    outline: 2px solid #3D95CF;
    outline-offset: 2px;
}


.zp_iatros_card {
    border-radius: 20px;
    border: 0.5px solid #3D95CF;
    background: #E3F1FF;
    padding: 25px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.zp_iatroi_grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
}

.zp_iatros_image img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 200px;
    object-fit: cover;
    object-position: top;
}

.zp_iatros_title {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-top: 0;
    margin-bottom: 16px;
}

.zp_iatros_eidikotita,
.zp_iatros_titlos {
    color: #013877;
    font-family: "PF Highway Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
}

.zp_iatros_eidikotita {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}


a.zp_iatros_buttons {
    color: #013877;
    font-family: Geologica;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-bottom: solid 1px #013877;
    padding-bottom: 5px;
    transition: ease-in-out 0.3s all;
}

a.zp_iatros_buttons path {
    transition: ease-in-out 0.3s all;
}

.zp_iatros_button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 23px;
}

a.zp_iatros_buttons:hover {
    color: #3D95CF;
    border-color: #3D95CF;
}

a.zp_iatros_buttons:hover path {
    fill: #3D95CF;
}

.zp_pagination ul.page-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-left: auto;
    margin-top: 32px;
    list-style: none;
}

.zp_pagination li .page-numbers {
    background: #3D95CF;
    display: flex;
    border-radius: 200px;
    color: #FFF;
    font-family: Geologica;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    text-decoration: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
}

a.next.page-numbers,
a.prev.page-numbers {
    background: transparent;
}

span.page-numbers.current {
    background: #013877;
}

.zp_container.mobile {
    display: none;
}

.zp_container.desktop {
        display: flex;
    }
@media screen and (max-width:1680px){
    .zp_iatroi_grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1570px) {
    .zp_iatros_image img {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 1300px) {
    .zp_iatros_button {
        align-items: flex-start;
        justify-content: flex-start;
        gap: 15px;
        margin-top: 14px;
        flex-direction: column;
    }
}

@media screen and (max-width: 992px) {
    .zp_iatroi_grid {
        grid-template-columns: 1fr;
    }

    h2.zp_iatros_title {
        font-size: 22px;
        line-height: 24px;
    }

    h1.zp_anazitisi_iatron_title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .zp_container.mobile {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: flex-start !important;
    }

    .zp_container.desktop {
        display: none;
    }

    button.zp_filter_button {
        height: 50px;
        padding: 8px 16px;
    }

    .zp_search_input {
        height: 50px;
        padding: 8px 16px;
    }

    svg.zp_search_icon {
        display: none;
    }
}

/* Keep list mode independent of the grid's responsive column rules. */
.zp_anazitisi_iatron .zp_iatroi_grid[data-view="list"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_card {
    align-items: center;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_image {
    flex-shrink: 0;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_image img {
    width: 120px;
    height: 120px;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_content {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_title,
.zp_iatroi_grid[data-view="list"] .zp_iatros_eidikotita,
.zp_iatroi_grid[data-view="list"] .zp_iatros_titlos {
    grid-column: 1;
    overflow-wrap: anywhere;
}

.zp_iatroi_grid[data-view="list"] .zp_iatros_button {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    margin-top: 0;
}

@media screen and (max-width: 992px) {
    .zp_view_switch {
        height: 50px;
        padding: 2px;
    }

    button.zp_view_button {
        width: 44px;
        height: 44px;
    }

    .zp_iatroi_grid[data-view="list"] .zp_iatros_content {
        display: block;
    }

    .zp_iatroi_grid[data-view="list"] .zp_iatros_button {
        margin-top: 14px;
    }
}

@media screen and (max-width: 500px) {
    .zp_iatroi_grid[data-view="list"] .zp_iatros_card {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .zp_iatroi_grid[data-view="list"] .zp_iatros_image img {
        width: 64px;
        height: 64px;
    }
}

@media screen and (max-width: 768px) {
    .zp_iatros_title{
        font-size: var(--mob-fs-Max)!important;
    }

    .zp_iatros_eidikotita,
    .zp_iatros_titlos,
    .zp_iatros_bio,
    .zp_iatros_phone{
        font-size: var(--mob-fs-Lo)!important;
    }
}


@media screen and (max-width: 500px) {
    .zp_iatros_card {
        padding: 16px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    div.zp_filter_menu {
        width: 300px;
    }
}