/* Clickable List Block */
.acv-clickable-list-block {
    padding: 90px clamp(20px, 5vw, 190px);
    background: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-color: #dedede;
}

.acv-clickable-list-block.is-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.acv-clickable-list-block.is-pinned .acv-clickable-list-inner {
    height: 100%;
    max-height: calc(100vh - 180px);
}

.acv-clickable-list-placeholder {
    width: 100%;
}

.acv-clickable-list-inner {
    max-width: 1600px;
    margin: 0 auto;
}

.acv-clickable-list-heading {
    font-size: 2.5rem;
    font-weight: 400;
    color: #000000;
    margin: 0 0 20px;
}

.acv-clickable-list-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5b66;
    margin-bottom: 40px;
    max-width: 800px;
}

.acv-clickable-list-intro p {
    margin: 0 0 1em;
}

.acv-clickable-list-intro p:last-child {
    margin-bottom: 0;
}

.acv-clickable-list-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.acv-clickable-list-titles {
    display: flex;
    flex-direction: column;
    border-left: 2px solid #e1e7ee;
    padding-left: 18px;
    gap: 10px;
}

.acv-clickable-list-button {
    background: none;
    border: none;
    text-align: left;
    font-size: 1.5rem;
    color: #b8bec4;
    padding: 8px 0 8px 14px;
    position: relative;
    cursor: pointer;
    font-weight: 200;
    transition: color 0.2s ease;
}

.acv-clickable-list-button::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 32px;
    border-radius: 999px;
    background: transparent;
}

.acv-clickable-list-button.is-active {
    color: #0f6b82;
    font-weight: 400;
}

.acv-clickable-list-button.is-active::before {
    background: #0f6b82;
}

.acv-clickable-list-button:focus-visible {
    outline: none;
    color: #0f6b82;
}

.acv-clickable-list-content {
    border-radius: 0;
}

.acv-clickable-list-panel {
    display: none;
    color: #0f2b3b;
    line-height: 1.8;
    font-size: 1rem;
    background: #f3f5f7;
    border-radius: 0;
    padding: 40px;
    min-height: 220px;
}

.acv-clickable-list-panel.is-active {
    display: block;
}

.acv-clickable-list-panel.has-image {
    background: transparent;
    padding: 0;
    min-height: 0;
}

.acv-clickable-list-panel.has-image.is-active {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

.acv-clickable-list-panel.has-image img {
    max-width: 65%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .acv-clickable-list-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .acv-clickable-list-titles {
        display: none;
    }

    .acv-clickable-list-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Accordion style */
    .acv-clickable-list-panel {
        display: block !important;
        border-top: 1px solid #e1e7ee;
        background: transparent;
        padding: 0;
        min-height: 60px;
        position: relative;
        cursor: pointer;
    }

    .acv-clickable-list-panel:first-child {
        border-top: none;
    }

    .acv-clickable-list-panel:last-child {
        border-bottom: 1px solid #e1e7ee;
    }

    .acv-clickable-list-panel::before {
        content: attr(data-title);
        display: flex;
        align-items: center;
        font-size: 1.3rem;
        font-weight: 400;
        color: #0f2b3b;
        padding: 0 50px 0 0;
        height: 60px;
        position: relative;
        pointer-events: none;
    }

    .acv-clickable-list-panel::after {
        content: '\f0ab';
        font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
        font-weight: 100;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: #0f6b82;
        line-height: 1;
        pointer-events: none;
        transition: transform 0.3s ease;
    }

    .acv-clickable-list-panel.is-active::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .acv-clickable-list-panel > * {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .acv-clickable-list-panel.is-active > * {
        max-height: 2000px;
        opacity: 1;
        padding: 0 0 20px 0;
    }

    .acv-clickable-list-panel:not(.has-image) {
        background: transparent;
    }

    .acv-clickable-list-panel.has-image {
        background: transparent;
    }

    .acv-clickable-list-panel.has-image.is-active {
        display: block;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .acv-clickable-list-panel.has-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .acv-clickable-list-block {
        padding: 60px 20px;
    }

    .acv-clickable-list-heading {
        font-size: 2rem;
    }

    .acv-clickable-list-panel {
        min-height: 55px;
    }

    .acv-clickable-list-panel::before {
        font-size: 1.1rem;
        padding-right: 45px;
        height: 55px;
    }

    .acv-clickable-list-panel::after {
        font-size: 1.3rem;
    }
}
