/* GLOBAL */
html {
    overflow-x: clip;
}

body {
    overflow-x: hidden;
    overflow-x: clip;
    background: #F7F9FC;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.zp-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-white);
    border-radius: 50%;
    background: var(--bg-blue);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.zp-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.zp-back-to-top:hover,
.zp-back-to-top:focus-visible {
    background: var(--btn-semi-light-blue);
}

.zp-back-to-top:focus-visible {
    outline: 2px solid var(--text-white);
    outline-offset: 3px;
}

@media screen and (max-width: 768px) {
    .zp-back-to-top {
        right: 16px;
        bottom: 80px;
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}


/*
@media screen and (max-width: 1500px) {
    .zp_row {
        padding: 4rem 100px;
    }
}

@media screen and (max-width: 1390px) {
    .zp_row {
        padding: 4rem 60px;
    }
}

@media screen and (max-width: 992px) {
    .zp_row {
        padding: 2rem 30px;
    }
}

@media screen and (max-width: 768px) {
    .zp_row {
        padding: 2rem 1rem;
    }
}
*/

.zp_row {
    padding: 4rem 150px;
}

@media screen and (max-width: 1680px) {
    .zp_row {
        padding: 4rem 100px;
    }
}

@media screen and (max-width: 1560px) {
    .zp_row {
        padding: 4rem 80px;
    }
}

@media screen and (max-width: 1440px) {
    .zp_row {
        padding: 4rem 60px;
    }
}

@media screen and (max-width: 1024px) {
    .zp_row {
        padding: 2rem 30px;
    }
}

@media screen and (max-width: 768px) {
    .zp_row {
        padding: 2rem 20px;
    }
}

/* TopBar */
section#zp_topbar_page {
    background: #013877;
    padding-top: 24px;
    padding-bottom: 8px;
}

section#zp_topbar_page .zp_container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 22px;
}

section#zp_topbar_page h1 {
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: var(--fs-40);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: var(--lh-56);
    text-transform: capitalize;
    padding: 24px 0;
}

.zp-breadcrumb {
    display: flex;
    gap: 0 10px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.zp-breadcrumb span,
.zp-breadcrumb a {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-32);
    text-decoration: none;
    position: relative;
    transition: ease-in-out 0.3s all;
}

.zp-breadcrumb a:before {
    content: "";
    height: 1px;
    width: 0%;
    background: #F7F9FC;
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    transition: ease-in-out 0.5s all;
}

.zp-breadcrumb a:hover::before {
    width: 100%;
}

.zp-breadcrumb a:hover {
    color: #F7F9FC;
}

@media screen and (max-width: 992px) {
    section#zp_topbar_page h1 {
        font-size: var(--fs-22);
        line-height: var(--lh-32);
        padding: 0px 0;
    }

    section#zp_topbar_page .zp_container {
        gap: 16px;
    }

    .zp-breadcrumb span, .zp-breadcrumb a {
        font-size: var(--fs-16);
        line-height: var(--lh-24);
    }
}

/* LEGAL PAGES */
section#zp_privacy_policy h2 {
    color: var(--text-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-24);
    font-style: normal;
    font-weight: var(--font-semibold);
    line-height: var(--lh-32);
    letter-spacing: 5%;
    margin-bottom: 16px;
}

section#zp_privacy_policy p,
section#zp_privacy_policy table {
    color: var(--text-dark-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-24);
    margin-bottom: 25px;
}

section#zp_privacy_policy p strong,
section#zp_privacy_policy p b {
    font-weight: bold;
}

section#zp_privacy_policy p a,
section#zp_privacy_policy ul a {
    color: var(--text-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-24);
    text-decoration: none;
}

section#zp_privacy_policy ul, section#zp_privacy_policy ol {
    color: var(--text-dark-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-24);
    margin-bottom: 25px;
    padding-left: 25px;
}

@media screen and (max-width: 992px) {
    section#zp_privacy_policy h2 {
        font-size: 20px;
    }

    section#zp_privacy_policy p,
    section#zp_privacy_policy p a,
    section#zp_privacy_policy table {
        font-size: var(--fs-16);
    }

    section#zp_privacy_policy table {
        width: max-content;
        max-width: 1000px;
    }
}



/* FOOTER */
footer#zp_footer_row {
    padding: 4rem 150px;
    background: #0B2241;
}

.newsletter-title {
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: var(--fs-40);
    font-weight: var(--font-light);
    line-height: var(--lh-48);
    margin-top: 27px;
}

.newsletter-description {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-weight: var(--font-thin);
    line-height: var(--lh-32);
    max-width: 663px;
}

.zp_footer_bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: solid 2px var(--bg-white);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.zp_footer_bottom_left,
.zp_footer_bottom_right,
.zp_footer_bottom_right a {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-32);
    text-decoration: none;
}

.zp_footer_middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 32px;
}

.footer-social-media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

a.zp_pistopoihseis {
    display: block;
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: var(--lh-24);
    text-decoration: none;
    text-align: right;
    width: 100%;
}

.legal-menu__list {
    display: flex;
    list-style: none;
    margin-top: 20px;
    gap: 0 16px;
}

.legal-menu__list li a {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-32);
    text-decoration: none;
}

#zp_footer_row a {
    transition: ease-in-out 0.3s all;
}

#zp_footer_row a:hover {
    color: var(--btn-semi-light-blue);
}

.zp_footer_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.zp_footer_top_left {
    width: 60%;
}

.zp_footer_top_center, .zp_footer_top_right {
    width: 20%;
}

ul#menu-footer-menu,
.patient-menu__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-top: 16px;
    gap: 16px;
}

ul#menu-footer-menu li a,
.patient-menu__list li a {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: var(--lh-24);
    text-decoration: none;
}

p.zp_patient_infos_title {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-16);
    font-style: normal;
    font-weight: var(--font-bold);
    line-height: var(--lh-32);
    letter-spacing: 0.8px;
}

.zp_footer_top_center .zp_patient_infos_title {
    visibility: hidden;
}

input.newsletter-input {
    border-radius: 60px;
    border: 1px solid var(--text-white);
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(5px);
    padding: 16px 48px 16px 24px;
    width: 85%;
    max-width: 400px;
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-weight: var(--font-thin);
    line-height: var(--lh-24);
    margin: 20px 0;
}

input.newsletter-input::placeholder,
input.newsletter-input::-webkit-input-placeholder {
    font-style: italic;
    opacity: 1 !important;
    color: lightgrey;
}

button.newsletter-button {
    border-radius: 60px;
    border: 1px solid var(--text-white);
    display: flex;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: transparent;
    width: 15%;
    color: var(--text-white);
    text-align: center;
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: var(--lh-24);
    cursor: pointer;
    transition: ease-in-out 0.3s all;
}

button.newsletter-button:hover {
    background: var(--btn-semi-light-blue);
}

.form-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

label.consent-label span,
label.consent-label span a {
    color: var(--text-white);
    font-family: var(--font-secondary);
    font-size: var(--fs-14);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-32);
    text-transform: capitalize;
}

label.consent-label span .zp_asterisk {
    color: var(--btn-semi-light-blue);
}

span.success {
    font-family: 'Geologica';
    background: var(--btn-semi-light-blue);
    color: var(--text-white);
    padding: 16px 24px;
    display: block;
    width: fit-content;
    margin-top: 12px;
}

span.error {
    font-family: 'Geologica';
    background: red;
    color: var(--text-white);
    padding: 16px 24px;
    display: block;
    width: fit-content;
    margin-top: 12px;
}

.zp_footer_top .footer-social-media {
    display: none;
}


@media screen and (max-width: 1500px) {
    footer#zp_footer_row {
        padding: 4rem 100px;
    }
}

@media screen and (max-width: 1390px) {
    footer#zp_footer_row {
        padding: 4rem 60px;
    }
}

@media screen and (max-width: 1200px) {
    .zp_footer_top_center, .zp_footer_top_right {
        width: 25%;
    }

    .zp_footer_top_left {
        width: 50%;
    }
}

@media screen and (max-width: 992px) {
    footer#zp_footer_row {
        padding: 2rem 30px;
    }

    .zp_footer_top {
        flex-direction: column;
    }

    .zp_footer_top_center, .zp_footer_top_right {
        width: 100%;
    }

    .zp_footer_top_left {
        width: 100%;
    }

    .newsletter-title {
        font-size: var(--fs-24);
        line-height: var(--lh-32);
    }

    .newsletter-description {
        font-size: var(--fs-16);
    }

    .zp_footer_middle {
        align-items: center;
        flex-direction: column;
    }

    a.zp_pistopoihseis {
        text-align: center;
    }

    .zp_footer_middle_left .footer-social-media {
        display: none;
    }

    .zp_footer_top .footer-social-media {
        margin-top: 24px;
        display: flex;
        justify-content: center;
    }

    .zp_footer_top_center .zp_patient_infos_title {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    footer#zp_footer_row {
        padding: 70px 1rem;
    }

    .legal-menu__list {
        flex-direction: column;
        align-items: center;
    }

    .legal-menu__list li a {
        font-size: var(--fs-16);
    }

    .zp_footer_bottom {
        flex-direction: column;
    }

    .form-group {
        flex-direction: column;
        margin-bottom: 12px;
    }

    input.newsletter-input {
        padding: 16px 24px 16px 24px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    button.newsletter-button {
        padding: 16px 24px;
        width: 100%;
    }

    .zp_footer_bottom_left, .zp_footer_bottom_right, .zp_footer_bottom_right a {
        font-size: 14px;
        line-height: var(--lh-24);
    }  
    
    a.zp_pistopoihseis {
        font-size: var(--fs-16);
    }

    .footer-social-media {
        gap: 16px;
    }
}

/* 404 */
section.zp_404_section {
    background: #F7F9FC;
}

section.zp_404_section.zp_row .zp_container {
    display: flex;
    padding: 50px 50px;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    border-radius: 50px;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    max-width: 1073px;
    margin: auto;
}

.zp_404_text {
    color: var(--btn-semi-light-blue);
    text-align: center;
    font-family: var(--font-primary);
    font-size: var(--fs-40);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: var(--lh-56);
}

.zp_404_text a {
    color: var(--bg-blue);
}

img.zp_404_image {
    width: 100%;
    max-width: fit-content;
}

@media screen and (max-width: 992px) {
    .zp_404_text {
        font-size: var(--fs-20);
        line-height: var(--lh-24);
    }

    section.zp_404_section.zp_row .zp_container {
        gap: 20px;
        padding: 24px 24px;
    }

    img.zp_404_image {
        width: 80%;
    }
}

.zp_post p {
    color: var(--text-dark-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-thin);
    line-height: var(--lh-24);
}
.zp_post h1, .zp_post h2, .zp_post h4, .zp_post h4 {
    color: var(--text-dark-blue);
    font-family: var(--font-secondary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-medium);
    line-height: var(--lh-24); 
	margin-bottom: 1.5rem;
}
@media (max-width: 1000px) {
    .zp_post p {
        font-size: var(--fs-14);
    }
    .zp_post h1, .zp_post h2, .zp_post h4, .zp_post h4 {
        font-size: var(--fs-14);
		margin-bottom: 1rem;
    }
}

.apologismos-pdf-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Program Boxes Shortcode */
.zp-program-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.zp-program-box {
    background-color: #013877;
    color: #fff;
    padding: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 150px;
    transition: background-color 0.3s ease;
}

.zp-program-box:hover {
    background-color: #012a5c;
}

.zp-program-box span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .zp-program-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .zp-program-boxes {
        grid-template-columns: 1fr;
    }

    .zp-program-box {
        min-height: 120px;
    }
}

/* Education Boxes Shortcode */
.zp-education-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    font-family: Geologica;
}

@media screen and (max-width: 768px) {
    .zp-education-boxes {
        grid-template-columns: 1fr;
    }
}

.zp_iatr_upoth_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    gap: 2rem;
    margin-bottom: 20px !important;
}

.zp_iatr_upoth_grid img {
    width: 100%;
    height: 300px !important;
    object-fit: cover;
}

@media screen and (max-width: 1300px) {
    .zp_iatr_upoth_grid {
        grid-template-columns: 1fr !important;
    }

    .zp_iatr_upoth_grid img {
        height: auto !important;
    }
}


/* Global styles for any ACF WYSIWYG output */
.wysiwyg-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.wysiwyg-content ul {
    list-style-type: disc !important;
    margin: 0 0 1rem 1rem !important;
    padding: 0 5px!important;
}

.wysiwyg-content ol {
    list-style-type: decimal !important;
    margin: 0 0 1rem 1rem !important;
    padding: 0 !important;
}

.wysiwyg-content li {
    margin-bottom: 0.5rem;
    display: list-item !important; 
}

.wysiwyg-content li p {
    margin-bottom: 0; 
}

.wysiwyg-content strong {
    font-weight: bold;
}

.wysiwyg-content em,
.wysiwyg-content i {
    font-style: italic;
}


/* Animations */

@keyframes slide {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-150px); 
        background: var(--text-blue); 
    }
}

@keyframes slide-reverse {
    0% { 
        transform: translateX(-150px); 
        background: var(--text-blue); 
    }
    100% { 
        transform: translateX(0); 
    }
}
@keyframes slide-right {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(50px); 
    }
}

@keyframes slide-right-reverse {
    0% { 
        transform: translateX(50px); 
    }
    100% { 
        transform: translateX(0); 
    }
}

/* Sliding button */

.sliding-btn-link{
    text-decoration: none;
}

.sliding-btn-link .btn_cirle {
    border-bottom: 1px solid var(--text-blue);
    padding-bottom: 8px;
    padding-right: 50px;
    position: relative;
    max-width: 150px;
}

.sliding-btn-link .btn_cirle p {
    font-family: 'Geologica';
    font-weight: 400;
    font-size: 18px;
    line-height: 56px;
    letter-spacing: 0%;
    text-transform: capitalize;
    animation: slide-right-reverse .5s ease-in-out forwards;
    color:#013877;
}

.sliding-btn-link .btn_cirle::after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: transparent;
    border: 1px solid var(--text-blue);
    border-radius: 100px;
    animation: slide-reverse .5s ease-in-out forwards;
}
.sliding-btn-link .btn_cirle:hover::after {
    animation: slide .5s ease-in-out forwards;
}

.sliding-btn-link .btn_cirle {
    border-bottom: 1px solid var(--text-blue);
    padding-bottom: 8px;
    padding-right: 50px;
    position: relative;
    margin-top: 30px;
}

.sliding-btn-link .btn_cirle::after {
    animation: slide-reverse .5s ease-in-out forwards;
}
.sliding-btn-link .btn_cirle:hover::after {
    animation: slide .5s ease-in-out forwards;
}

.sliding-btn-link .btn_cirle p {
    animation: slide-right-reverse .5s ease-in-out forwards;
}

.sliding-btn-link .btn_cirle:hover p {
    animation: slide-right .5s ease-in-out forwards;
}


/* Simple Button */

.btn-simple-wrapper{
    position:relative;
    max-width:200px;
}

.btn-simple-link{
    text-decoration: none;
}

.btn-simple-link .btn-simple {
    font-family: 'Geologica';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    padding-right: 15px;
    transition: .5s all ease-in-out;
    transition: ease-in-out 0.3s all;
    max-width: 200px;
    color:white;
}

.btn-simple-link .btn-simple::after {
    content: "";
    width: 10px;
    height: 10px;
    background: white;
    position: absolute;
    right: 0;
    bottom: -5px;
    border-radius: 100px;
    transition: .5s all ease-in-out;
    transition: ease-in-out 0.3s all;
}

/*
.btn_simple-link:hover .btn_simple {
    border-bottom: 1px solid #3D95CF;
    transition: ease-in-out 0.3s all;
}

.btn_simple-link:hover .btn_simple::after {
    background: #3D95CF;
    transition: ease-in-out 0.3s all;
}
*/

@media screen and (min-width:769px){
    .mobile-only{
        display: none!important;
    }
}

@media screen and (max-width:768px){
    .desktop-only{
        display: none!important;
    }
}

/* BLOG TEMPLATES */

.blog-header {
    background-color: #013877;
    width: 100%;
    padding-bottom: 40px; 
}

.blog-title {
    font-family: 'PF Highway Sans Pro';
    font-weight: 400;
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: white;
    margin-bottom: 20px;
}

.blog-search-container {
    max-width: 35%; 
}

@media screen and (max-width:1366px) {
    .blog-search-container{
        max-width: 50%
    }
}

@media screen and (max-width:992px){
    .blog-search-container{
        max-width: 70%
    }
}

@media screen and (max-width:500px){
    .blog-search-container{
        max-width: 90%
    }
}

.blog-search-form {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 5px 5px 5px 25px; 
    position: relative;
    width: 100%;
}

.blog-search-field {
    font-family: 'Geologica';
    font-size: 18px;
    font-style: italic;
    font-weight: 100;
    border: none;
    background: transparent;
    width: 100%;
    height: 50px;
    color: #013877;
    outline: none;
    display: flex;
    align-items: center;
}

.blog-search-field::placeholder {
    color: #8fa6c1; 
}

.blog-search-submit {
    background-color: #013877; 
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.blog-search-submit:hover {
    opacity: 0.9;
}


.blog-search-submit span {
    color: white;
    font-size: 20px;
}