.fan-trigger-area {
    position: relative;
    width: 100%;
    height: var(--gw-card-fan-out-scroll-height, 200vh);
}

.fan-sticky-box {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.fan-deck {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fan-card {
    position: absolute;
    width: 30%;
    min-width: 280px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    will-change: transform;
    overflow: hidden;
    background-color: #eee;
}

.fan-card-icon {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 14px;
    line-height: 1;
}

.fan-card-icon i {
    font-size: 60px;
    color: inherit;
}

.fan-card-icon svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
}

.fan-card-full-link {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
}

.fan-card .fan-card-title {
    color: inherit;
    margin-bottom: 15px;
    font-size: 1.8rem;
    line-height: 1.2;
}

.fan-card p {
    color: inherit;
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-line;
}

.fan-card-button,
.fan-card-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1;
}

.fan-card-button:hover,
.fan-card-full-link:hover .fan-card-readmore {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .fan-card {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .fan-trigger-area {
        height: auto !important;
    }

    .fan-sticky-box {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }

    .fan-deck {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .fan-card {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 25px !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }

    .fan-card-full-link {
        position: relative !important;
        inset: auto !important;
        padding: 0 !important;
        height: auto !important;
    }

    .fan-card-button,
    .fan-card-readmore {
        margin-top: 15px !important;
    }
}