/* ── Page Background ─────────────────────────────────────────── */
main.ae {
    background: #F7F9FC;
}

main.ae .wysiwyg-content strong, main.ae .wysiwyg-content b {
    font-weight: 500!important;
}

main.ae .wysiwyg-content span{
    font-weight: 100!important;
}

main.ae p[align="JUSTIFY"]{
    text-align: start!important;
}

/* ── Layout ──────────────────────────────────────────────────── */
#ae_content .zp_container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

.ae_content_left {
    width: 21%;
    position: sticky;
    top: 180px; /* adjust to match your header height */
    align-self: flex-start;
}

.ae_content_right {
    width: 76%;
}

/* ── Side Menu — same visual as OIA ─────────────────────────── */
ul.ae-side-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0;
    margin: 0;
}

ul.ae-side-menu__list li {
    position: relative;
}

ul.ae-side-menu__list li::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 50%;
    width: 2px;
    height: calc(100% + 18px);
    border-left: 2px dashed #013877;
    z-index: 1;
}

ul.ae-side-menu__list li:last-child::after {
    display: none;
}

ul.ae-side-menu__list li a {
    color: var(--text-blue);
    font-family: var(--font-primary);
    font-size: var(--fs-18);
    font-style: normal;
    font-weight: var(--font-regular);
    line-height: 45px;
    text-decoration: none;
    padding-left: 30px;
    display: inline-block;
    position: relative;
}

ul.ae-side-menu__list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #EBE8E6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

ul.ae-side-menu__list li a.active::before {
    background-color: #013877;
    animation: ripple 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ── Mobile Dropdown ─────────────────────────────────────────── */
.zp_dropdown_menu {
    display: none;
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}

.zp_dropdown_menu::after {
    content: '▾';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #013877;
    font-size: 18px;
    pointer-events: none;
}

select.ae-dropdown {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: #fff;
    border: none;
    border-bottom: 2px solid #013877;
    border-radius: 12px 12px 0 0;
    color: #013877;
    font-family: 'PF Highway Sans Pro';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    padding: 14px 44px 14px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    outline: none;
}

select.ae-dropdown:focus {
    background: #fff;
}

/* ── Sections ────────────────────────────────────────────────── */
.ae-section {
    margin-bottom: 48px;
    display: none;
}

.ae-section.is-active {
    display: block;
}


/* ── Flexible Layouts ────────────────────────────────────────── */
.ae-layout {
    margin-bottom: 24px;
}

.ae-mple-titlos {
    font-family: 'Geologica';
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #013877;
}

.ae-mple-upotitlos {
    font-family: 'Geologica';
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #013877;
}

.ae-keimeno {
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #031325;
}

.ae-mple-bg-keimeno {
    background-color: #E3F1FF;
    padding: 24px;
    border-radius: 20px;
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #031325;
    border-bottom: 1px solid #013877;
}

/* ── Accordion ───────────────────────────────────────────────── */
.ae-accordeon {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ae-accordeon__item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.ae-accordeon__item.is-open {
    box-shadow: 0 4px 20px rgba(1, 56, 119, 0.10);
    background-color: #EBE8E6;
    transition: background-color 0.3s;
}

.ae-accordeon__trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    text-align: left;
    font-family: 'PF Highway Sans Pro';
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #013877;
}

.ae-accordeon__trigger-text {
    flex: 1;
}

.ae-accordeon__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-accordeon__icon--open {
    display: none;
}

.ae-accordeon__icon--closed {
    display: flex;
}

.ae-accordeon__item.is-open .ae-accordeon__icon--closed {
    display: none;
}

.ae-accordeon__item.is-open .ae-accordeon__icon--open {
    display: flex;
}

/* ── Body ────────────────────────────────────────────────────── */
.ae-accordeon__body {
    padding: 0 24px 24px;
}

.ae-accordeon__body[hidden] {
    display: none;
}

.ae-accordeon__keimeno {
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
}

.ae-accordeon__keimeno p {
    margin-bottom: 16px;
}

.ae-accordeon__keimeno p:last-child {
    margin-bottom: 0;
}

.ae-accordeon__eidiko-keimeno {
    margin-top: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #031325;
    border: 1px solid #013877;
}

/* ── Accordion Info ───────────────────────────────────── */

.ae-accordeon-info {
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.ae-accordeon-info__item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.ae-accordeon-info__item.is-open {
    background: #EBE8E6;
}

.ae-accordeon-info__trigger {
    width: 100%;
    border: 0;
    background: none;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 18px 24px;
    text-align: left;
}

.ae-accordeon-info__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ae-accordeon-info__icon-image svg {
    width: 32px;
    height: 32px;
    display: block;
}

.ae-accordeon-info__title {
    font-family: 'PF Highway Sans Pro';
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #031325;
}

.ae-accordeon-info__content{
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
}

.ae-accordeon-info__toggle {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    line-height: 1;
    color: #013877;
    flex-shrink: 0;
}

.ae-accordeon-info__toggle--open {
    display: none;
}

.ae-accordeon-info__toggle--closed {
    display: block;
}

.ae-accordeon-info__item.is-open .ae-accordeon-info__icon-image{
    display: none;
}

.ae-accordeon-info__item.is-open .ae-accordeon-info__toggle--closed {
    display: none;
}

.ae-accordeon-info__item.is-open .ae-accordeon-info__toggle--open {
    display: block;
    color: white;
    background-color: #013877;
    border-radius: 50%;
    padding: 10px 15px;
}

.ae-accordeon-info__body {
    padding: 0 24px 24px;
}

.ae-accordeon-info__body[hidden] {
    display: none;
}

/* ── video_keimeno ───────────────────────────────────────────── */
.ae-video-keimeno {
    position: relative;
    width: 100%;
    height: 224px;
    border-radius: 12px;
    overflow: hidden;
}

.ae-video-keimeno__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ae-video-keimeno__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    justify-self: center;
    z-index: 1;
    font-family: 'Geologica';
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    max-width: 840px;
    text-align: center;
}

/* ── keimeno_video ───────────────────────────────────────────── */
.ae-keimeno-video {
    display: flex;
    align-items: center;
    background-color: #013877;
    border-radius: 20px;
}

.ae-keimeno-video__text,
.ae-keimeno-video__video-wrap {
    width: 50%;
}


.ae-keimeno-video__text {
    font-family: 'Geologica';
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
}

.ae-keimeno-video__video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0px 20px 20px 0px ;
}


/* ── kouti ───────────────────────────────────────────────────── */
.ae-kouti {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ae-kouti__item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
}

.ae-kouti__titlos {
    background-color: #E3F1FF;
    padding: 16px 20px;
    font-family: 'PF Highway Sans Pro';
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #013877;
    border-radius: 12px 12px 0 0;
}

.ae-kouti__keimeno {
    background-color: #ffffff;
    padding: 16px 20px;
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 16px;
    line-height: 22px;
    color: #031325;
    flex: 1;
    border-radius: 0 0 12px 12px;
}

.ae-kouti__extra {
    background-color: #E3F1FF;
    padding: 16px 20px;
    font-family: 'Geologica';
    font-weight: 100;
    font-size: 16px;
    line-height: 22px;
    color: #031325;
    border-radius: 12px;
}

/* ── image ───────────────────────────────────────────────────── */
.ae-image {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
}

@media screen and (max-width: 1366px){
    .ae-kouti {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ── Responsive ──────────────────────────────────────────────── */
@media screen and (max-width: 992px) {

    .ae-kouti {
        grid-template-columns: 1fr;
    }

    .ae_content_left {
        display: none;
    }

    .ae_content_right {
        width: 100%;
    }

    #ae_content .zp_container {
        flex-direction: column;
        gap: 30px;
    }

    .zp_dropdown_menu {
        display: block!important;
        margin: auto;
    }

    .ae-keimeno-video {
        flex-direction: column;
    }

    .ae-keimeno-video__text,
    .ae-keimeno-video__video-wrap {
        width: 100%;
    }

    .ae-keimeno-video__video-wrap video {
        height: 224px;
    }

}

@media screen and (max-width: 768px){
    .ae-keimeno,
    .ae-accordeon__keimeno,
    .ae-mple-bg-keimeno,
    .ae-video-keimeno__overlay,
    .ae-accordeon__eidiko-keimeno,
    .ae-accordeon__eidiko-keimeno,
    .ae-accordeon-info__content,
    .ae-mple-upotitlos,
    .ae-keimeno-video__text{
        font-size: var(--mob-fs-Lo);
    }

    .ae-accordeon__trigger-text,
    .ae-accordeon-info__title,
    .ae-mple-titlos{
        font-size: var(--mob-fs-Hi);
        line-height: 1.5rem;
    }

    .ae-keimeno-video__text{
        padding: 20px;
    }

    .ae-image {
        height: 260px;
    }
}