/* posts compartilhado em noticias, eventos, etc...*/
.m-posts {
}

.m-posts.is-style-light {
    background: #eff2f4;
    padding: 80px 0 60px 0;
}
.m-posts.is-style-dark{
    background: #005187;
    padding: 80px 0 60px 0;
}
.m-posts h3 {
    font-size: 40px;
    color: var(--dark-blue);
}
.m-posts.is-style-dark h3 {
    color: #fff;
}

.m-posts.is-style-dark .m-posts__item:hover .m-link {
    color: white;
}

.m-posts.is-style-dark:hover .m-link::before{
    background-color: white !important;
}

.m-posts.is-style-dark .m-link::after {
    content: "";
    background: url("../../../../assets/images/icons/arrow-right.svg") no-repeat;
}
.m-posts.is-style-dark .m-posts__item:hover .m-link::after {
    content: "";
    background: url("../../../../assets/images/icons/arrow-white.svg") no-repeat;
}
.m-posts.is-style-dark .m-posts__item__category {
    color: #fff;
}
.m-posts.is-style-dark .m-posts__item__title {
    color: #fff;
}
.m-posts.is-style-dark .m-posts__item__text {
    font-weight: 500;
    font-size: 20px;
    color: #fff;
}
.m-posts.is-style-dark .m-link {
    color: #83d0f5;
}
.m-posts__title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}
.m-posts__title h2 {
    margin-bottom: 0px;
}
.m-posts__list {
    display: flex;
    justify-content: space-between;
}
.m-posts__item {
    width: calc(33% - 30px);
    margin-right: 60px;
    color: var(--font-color);
    cursor: pointer;
}
.m-posts__item:hover {
    text-decoration: none;
    color: var(--font-color);
}
.m-posts__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-posts__item:hover .m-link::before {
    transform: scale(1);
}
.m-posts__item:hover .m-link::after {
    transform: translateX(3px);
}
.m-posts__list--grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 60px;
    row-gap: 30px;
}
.m-posts__list--grid .m-posts__item{
    width: auto;
}
.m-posts__item:last-child {
    margin-right: 0;
}
.m-posts__item__image {
    display: block;
    margin-bottom: 16px;
    max-width: 100%;
}
.m-posts__item__title {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 500;
}
.m-posts__item__text {
    font-size: 16px;
    color: #444444;
    margin-bottom: 20px;
}
.m-posts__item__category {
    display: block;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 4px;
}
.m-posts__item__date {
    display: inline-flex;
    height: 24px;
    background: var(--dark-blue);
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
    padding: 4px;
    margin-bottom: 20px;
    max-width: 280px;
}
.m-posts__item__date::before {
    display: block;
    content: "";
    width: 16px;
    height: 16px;
    background: url("../../images/icons/ico-calendar-white.svg") no-repeat;
    margin-right: 4px;
}
.m-posts__item__price {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
}
.m-posts__item__address {
    font-size: 14px;
}
.m-posts .owl-stage-outer {
    overflow: visible;
}
.m-posts .owl-stage-outer:before {
    content: "";
    background: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -100%;
    margin-left: -20px;
    top: 0;
    z-index: 10;
}
.m-posts.is-style-light .owl-stage-outer:before {
    background: #eff2f4;
}
.m-posts.is-style-dark .owl-stage-outer:before {
    background: #005187;
}
.m-posts .owl-item .m-posts__item {
   width: auto;
}
.m-posts .owl-nav {
    position: absolute;
    top: 50%;
    margin-top: -56px;
    width:100%;
}
.m-posts .owl-nav .owl-prev,
.m-posts .owl-nav .owl-next {
    position: absolute;    
    transition: all .3s;
}
.m-posts .owl-nav .owl-prev.disabled,
.m-posts .owl-nav .owl-next.disabled {
    display: none;
}
.m-posts .owl-nav .owl-prev {
    left: -76px;
    transform: rotate(-180deg);
}
.m-posts .owl-nav .owl-next {
    right: -76px;
}
.m-posts .owl-nav .owl-next:before,
.m-posts .owl-nav .owl-prev:before {
    display: block;
    content: "";
    width: 56px;
    height: 56px;
    background: #fff url("../../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-posts .owl-nav .owl-next:hover:before,
.m-posts .owl-nav .owl-prev:hover:before {
    background-color: #002a3f;
    background-position-x: -32px;
}

.m-posts .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.m-posts .owl-dots .owl-dot span {
    display: block;
    width: 12px;
    height: 12px;
    border: solid 1px #fff;
    margin: 6px;
    background: #cccccc;
}
.m-posts .owl-dots .owl-dot.active span {
    background: #0bbbef;
    border-color: #0bbbef;
}
@media (max-width: 1200px) {
    .m-posts .owl-stage-outer {
        overflow: hidden;
    }
    .m-posts .owl-stage-outer:before {
        display: none;
    }
    .m-posts .owl-nav .owl-prev {
        left: 0px;
        transform: rotate(-180deg);
    }
    .m-posts .owl-nav .owl-next {
        right: 0px;
    }
}
@media (max-width: 1200px) {
    .m-posts__list {
        flex-wrap: wrap;
        justify-content:flex-start;
    }
    .m-posts__item {
        width: calc(50% - 30px);
        margin-right: 30px;
        margin-bottom: 30px;
    }
}
@media (max-width: 576px) {
    .m-posts {
        position: relative;
        margin-bottom: 40px;
    }  
    .is-style-light,
    .is-style-dark {
        padding: 30px 0;
    }   
    .m-posts__list {
        flex-direction: column;
        justify-content: space-between;
    }
    .m-posts__list + .m-link{
        justify-content: flex-end;        
    }
    
    .m-posts__item {
        width: 100%;
        margin-right: 0;
    }
  
    .m-posts .owl-stage {
        left: -40px;
    }
}
