.sifency-event-wrapper {
    display: grid;
    width: 100%
}

.sifency-event-item {
    position: relative;
    box-sizing: border-box;
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: .3s cubic-bezier(.25, .8, .25, 1);
    overflow: hidden
}

.sifency-event-img {
    flex-shrink: 0;
    overflow: hidden;
    position: relative
}

.sifency-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.sifency-event-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%
}

.sifency-event-item__title {
    margin: 0 0 10px;
    transition: color .3s
}

.sifency-event-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.sifency-event-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.sifency-event-item__meta i,
.sifency-event-item__meta svg {
    color: var(--e-global-color-primary)
}

.sifency-event-description {
    margin-bottom: 15px;
    opacity: .8
}

.sifency-event-item__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .3s
}

.sifency-event-layout-style-1 {
    display: flex;
    flex-direction: column;
    gap: 20px !important
}

.sifency-event-layout-style-1 .sifency-event-item {
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.sifency-event-layout-style-1 .sifency-event-item:hover {
    border-color: var(--e-global-color-primary)
}

.sifency-event-layout-style-1 .sifency-event-img {
    margin-right: 25px
}

.sifency-event-layout-style-1 .sifency-event-content-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between
}

.sifency-event-layout-style-1 .sifency-event-info {
    flex: 1;
    padding-right: 20px
}

.sifency-event-layout-style-1 .sifency-event-item__title {
    margin-bottom: 5px
}

.sifency-event-layout-style-1 .sifency-event-item__button-wrap {
    flex-shrink: 0
}

.sifency-event-layout-style-1 .sifency-event-item__button {
    background: 0 0;
    padding: 8px 0;
}

.sifency-event-layout-style-2 {
    gap: 30px
}

.sifency-event-layout-style-2 .sifency-event-item {
    flex-direction: column;
}

.sifency-event-layout-style-2 .sifency-event-img {
    width: 100%;
    height: 240px
}

.sifency-event-layout-style-2 .sifency-event-item:hover .sifency-event-img img {
    transform: scale(1.05)
}

.sifency-event-layout-style-2 .sifency-event-content-wrap {
    padding: 25px 30px;
    flex-grow: 1;
}

.sifency-event-layout-style-2 .sifency-event-info {
    flex-grow: 1
}

.sifency-event-layout-style-2 .sifency-event-item__button {
    margin-top: 20px;
    padding: 10px 24px
}

.sifency-event-layout-style-2 .sifency-event-item:hover .sifency-event-item__button {
    background: var(--e-global-color-primary);
    color: #fff
}

.sifency-event-layout-style-3 .sifency-event-item {
    flex-direction: row;
    min-height: 280px;
}

.sifency-event-layout-style-3 .sifency-event-img {
    width: 40%
}

.sifency-event-layout-style-3 .sifency-event-content-wrap {
    width: 60%;
    padding: 40px;
    justify-content: center
}

.sifency-event-layout-style-3 .sifency-event-item__meta {
    color: var(--e-global-color-primary);
    margin-bottom: 8px
}

.sifency-event-layout-style-3 .sifency-event-item__button {
    align-self: flex-start;
    margin-top: 10px;
    padding: 0
}

.sifency-event-layout-style-3 .sifency-event-item__button i {
    transition: transform .3s
}

.sifency-event-layout-style-5 .sifency-event-item {
    height: 400px;
    display: block
}

.sifency-event-layout-style-5 .sifency-event-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.sifency-event-layout-style-5 .sifency-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .9) 100%);
    z-index: 2;
    transition: opacity .3s
}

.sifency-event-layout-style-5 .sifency-event-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 30px;
    transform: translateY(20px);
    transition: transform .4s
}

.sifency-event-layout-style-5 .sifency-event-item__button-wrap {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: .4s .1s
}

.sifency-event-layout-style-5 .sifency-event-item:hover .sifency-event-item__button-wrap {
    opacity: 1
}

.sifency-event-layout-style-5 .sifency-event-item__button {
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 10px 20px
}

@media (max-width:767px) {

    .sifency-event-layout-style-1 .sifency-event-content-wrap,
    .sifency-event-layout-style-1 .sifency-event-item,
    .sifency-event-layout-style-4 .sifency-event-content-wrap {
        flex-direction: column;
        align-items: flex-start
    }

    .sifency-event-layout-style-1 .sifency-event-img {
        width: 100%;
        margin: 0 0 15px
    }

    .sifency-event-layout-style-1 .sifency-event-item__button-wrap,
    .sifency-event-layout-style-4 .sifency-event-item__button-wrap {
        margin-top: 15px
    }

    .sifency-event-layout-style-3 .sifency-event-item {
        flex-direction: column;
        height: auto
    }

    .sifency-event-layout-style-3 .sifency-event-content-wrap,
    .sifency-event-layout-style-3 .sifency-event-img {
        width: 100%
    }

    .sifency-event-layout-style-3 .sifency-event-img {
        height: 220px
    }

    .sifency-event-layout-style-3 .sifency-event-content-wrap {
        padding: 25px
    }
}