@import url('filter.css');

.m-events {
    margin-bottom: 40px;
}

.m-events--light {
    background: #eff2f4;
    padding: 80px 0 60px 0;
}

.m-events--dark {
    background: #005187;
    padding: 80px 0 60px 0;
}

.m-events h3 {
    font-size: 40px;
}

.m-events--dark h3 {
    color: #fff;
}

.m-events--dark .m-events__item:hover .m-link {
    color: white;
}

.m-events--dark:hover .m-link::before {
    background-color: white !important;
}

.m-events--dark .m-link::after {
    content: "";
    background: url("../../../../assets/images/icons/arrow-right.svg") no-repeat;
}

.m-events--dark .m-events__item:hover .m-link::after {
    content: "";
    background: url("../../../../assets/images/icons/arrow-white.svg") no-repeat;
}

.m-events--dark .m-events__item__category {
    color: #fff;
}

.m-events--dark .m-events__item__title {
    color: #fff;
    height: 120px;
}

.m-events--dark .m-events__item__text {
    font-weight: 500;
    font-size: 20px;
    color: #fff;
}

.m-events--dark .m-link {
    color: #83d0f5;
}

.m-events__title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.m-events__title h2 {
    margin-bottom: 0px;
}

.m-events__list {
}

.m-events__item {
    display: flex;
    border-bottom: solid 1px #cdcdcd;
    padding-bottom: 30px;
    margin-bottom: 30px;
    color: var(--font-color);
    gap:20px;
}
.m-news-list__item__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.m-events__item .m-link::before {
    content: "";
    display: block;
    width: 100%;
    height: 0.025rem;
    background-color: var(--light-blue);
    transform-origin: left;
    transform: scale(0);
    transition: 0.3s linear;
    position: absolute;
    bottom: 0;
}

.m-events__item .m-link:hover::before {
    transform: scale(1);
}

.m-events__item .m-link:hover::after {
    transform: translateX(3px);
}

.m-events__item:last-child {
    margin-right: 0;
}

.m-events__item__image {
    min-width: 250px;
    width: 250px;
    margin-right: 30px;
}

.m-events__item__image img {
    min-width: 100%;
    object-fit: cover;
    height: 150px;
    width: 270px;
}

.m-events__item__title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.m-events__item__text {
    font-size: 16px;
    color: #444444;
    margin-bottom: 20px;
}

.m-events__item__category {
    display: block;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #005187;
    margin-bottom: 4px;
}

.m-events__item__date {
    display: flex;
    height: 24px;
    background: var(--dark-blue);
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
    padding: 4px;
    margin-bottom: 10px;
    max-width: fit-content;
}

.m-events__item__date::before {
    display: block;
    content: "";
    width: 16px;
    height: 16px;
    background: url("../../../../assets/images/icons/ico-calendar-white.svg") no-repeat;
    margin-right: 4px;
}

.m-events__item__price {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
}

.m-events__item__address {
    font-size: 14px;
}

.m-events .owl-stage-outer {
    overflow: visible;
}

.m-events .owl-stage-outer:before {
    content: "";
    background: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    margin-left: -20px;
    top: 0;
    z-index: 10;
}

.m-events--light .owl-stage-outer:before {
    background: #eff2f4;
}

.m-events--dark .owl-stage-outer:before {
    background: #005187;
}

.m-events .owl-item .m-events__item {
    width: auto;
}

.m-events .owl-nav {
    position: absolute;
    top: 50%;
    margin-top: -56px;
    width: 100%;
}

.m-events .owl-nav .owl-prev,
.m-events .owl-nav .owl-next {
    position: absolute;
    transition: all .3s;
}

.m-events .owl-nav .owl-prev.disabled,
.m-events .owl-nav .owl-next.disabled {
    display: none;
}

.m-events .owl-nav .owl-prev {
    left: -76px;
    transform: rotate(-180deg);
}

.m-events .owl-nav .owl-next {
    right: -76px;
}

.m-events .owl-nav .owl-next:before,
.m-events .owl-nav .owl-prev:before {
    display: block;
    content: "";
    width: 56px;
    height: 56px;
    background: #fff url("../../../../assets/images/icons/arrow-big.svg") no-repeat 17px center;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 100%;
    transition: all 0.3s;
}

.m-events .owl-nav .owl-next:hover:before,
.m-events .owl-nav .owl-prev:hover:before {
    background-color: #002a3f;
    background-position-x: -32px;
}

.m-events .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.m-events .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    border: solid 1px #fff;
    margin: 6px;
    background: #cccccc;
}

.m-events .owl-dots .owl-dot.active span {
    background: #0bbbef;
    border-color: #0bbbef;
}

.m-events__button {
    margin-top: 32px;
    width: 100%;
    border: 1px solid var(--light-blue);
    text-align: center;
    padding: 20px;
}

.m-events__button a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
}

.m-events .results-information {
    color: #666666;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 20px;
}

.m-events .results-information p {
    margin: 0;
    font-size: 1rem;
}

.m-events .no-results ul {
    list-style: none;
    margin-right: 15px;
}

.m-events .no-results ul li {
    position: relative;
    padding-left: 40px;
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.m-events .no-results ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background-image: url("../images/check.svg");
    /* Substitua aqui pelo seu SVG */
    background-size: cover;
}

.m-events .load-more {
    display: block;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    background-color: var(--light-blue);
    border: 1px solid var(--light-blue);
    margin-top: 32px;
    transition: all .3s;
}

.m-events .load-more:hover {
    background-color: #003960;
    border-color: #003960;
}

@media (max-width: 1200px) {
    .m-events .owl-stage-outer {
        overflow: hidden;
    }

    .m-events .owl-stage-outer:before {
        display: none;
    }

    .m-events .owl-nav .owl-prev {
        left: 0px;
        transform: rotate(-180deg);
    }

    .m-events .owl-nav .owl-next {
        right: 0px;
    }
}

@media (max-width: 1200px) {
    /* .m-events__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .m-events__item {
        width: calc(50% - 30px);
        margin-right: 30px;
        margin-bottom: 30px;
    }

     */
}

@media (max-width: 576px) {
    .m-events__item__image {
        margin-right: 0;
        width: unset;
    }

    .m-events {
        position: relative;
        margin-bottom: 40px;
    }

    .m-events__item__image img {
        height: 200px;
        width: unset;
    }
    .m-events--light,
    .m-events--dark {
        padding: 30px 0;
    }

    .m-events__list {
        flex-direction: column;
        justify-content: space-between;
    }

    .m-events__list+.m-link {
        justify-content: flex-end;
    }

    .m-events__item {
        width: 100%;
        margin-right: 0;
        flex-direction: column;
    }

    .m-events .owl-stage {
        left: -40px;
    }

}