.hectoria-elementor-widget-ws-big-card,
.ws-widget-big-card {
    height: 100%;
}

.ws-widget-big-card-container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;

    &:hover .ws-widget-big-card__link {
        gap: 12px;
    }

    & .ws-widget-big-card__shadow {
        position: absolute;
        bottom: -12px;
        right: -12px;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        z-index: -1;
    }
}

.ws-widget-big-card-container.orange {
    & .ws-widget-big-card {
        background-color: var(--orange);
    }

    & .ws-widget-big-card__shadow {
        background-color: var(--light-orange);
    }
}

.ws-widget-big-card-container.blue {
    & .ws-widget-big-card {
        background-color: var(--blue);
    }

    & .ws-widget-big-card__shadow {
        background-color: var(--light-blue);
    }
}

.ws-widget-big-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 48px 40px;
    color: white;
    border-radius: 12px;
    overflow: clip;

    --parallax-y: 0px;

    &.square::after {
        content: "";
        position: absolute;
        bottom: -55px;
        right: -55px;
        width: 180px;
        height: 180px;
        border-radius: 16px;
        transform: translateY(var(--parallax-y)) rotate(45deg);
        background-color: rgba(255, 255, 255, 0.07);
    }

    &.circle::after {
        content: "";
        position: absolute;
        bottom: -78px;
        right: -78px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        transform: translateY(var(--parallax-y));
        background-color: rgba(255, 255, 255, 0.07);
    }
}

.ws-widget-big-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ws-widget-big-card__title p {
    margin: 0;
}

.ws-widget-big-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ws-widget-big-card__link {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    transition: gap 0.3s;

    & svg {
        height: 1em;
        fill: white;
    }

    & i {
        font-size: 1em;
        color: white;
    }
}