.dmpost-navlist {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
	flex-wrap: wrap;
}
.dmpost-container .dmpost-navlist>li:not(:last-child):after {
    align-self: center;
    border-color: #F2F1ED;
    border-left-style: solid;
    border-left-width: 2px;
    content: "";
    height: 50%;
}
.dmpost-container .dmpost-navlist a.active,
.dmpost-container .dmpost-subnavlist a.active {
	align-self: center;
    border-color: #000000;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    content: "";
}

.dmpost-container .dmpost-navlist a:hover,
.dmpost-container .dmpost-subnavlist a:hover {
	align-self: center;
    border-color: #B4BC1C;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    content: "";
	display: inline-block;
    vertical-align: inherit;
    line-height: 0.8;
}

.dmpost-navlist li a, .dmpost-subnavlist li a {
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #1B1310;
    transition: opacity 0.35s ease;
    text-decoration: none;
	padding: 13px 0 0 0;
    margin: 0 20px;
	display: inline-block;
    vertical-align: inherit;
    line-height: 0.8;
}

.dmpost-navlist li a:hover, .dmpost-subnavlist li a:hover {
    color: #1B1310;
}

.dmpost-navlist li a.active, .dmpost-subnavlist li a.active {
    color: #1B1310;
}

.dmpost-subnavlist {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
	flex-flow: wrap;
    margin-bottom: 30px;
	text-transform: uppercase;
}

.dmpost-container .dmpost-subnavlist>li:not(:last-child):after {
    align-self: center;
    border-color: #F2F1ED;
    border-left-style: solid;
    border-left-width: 2px;
    content: "";
    height: 50%;
}
/* .dmpost-subnav {
	padding-top: 20px;
} */

.dmpost-grid {
    display: flex;
    flex-wrap: wrap;
}

.dmpost-item {
    width: 33%;
    padding: 10px;
}

.dmpost-item-box {
	position: relative;
	display: block;
	width: 100%;
	height: 300px;
	z-index: 0;
}

.dmpost-item-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
}

.dmpost-item-content {
    position: absolute;
    inset: 0;
    background-color: rgb(255,255,255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
	text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s linear;
}

.dmpost-item-box:hover .dmpost-item-content {
    opacity: 1;
}

.dmpost-item-content h3 {
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    color: #171c35;
}

@media (min-width: 768px) and (max-width: 991px) {
	.dmpost-item {
        width: 50%;
    }
    
    .dmpost-item-box {
        height: 33vw;
    }
}

@media (min-width: 360px) and (max-width: 767px) {
	.dmpost-item {
        width: 100%;
    }
    
    .dmpost-item-box {
        height: 70vw;
    }
}