.models-grid-section {
    padding: 80px 0px;
}
.models-grid-section .container {
    max-width: 1360px;
}
.models-flex {
    gap: 30px 30px;
}
.models-item {
    width: calc((100% / 4) - 23px);
}
.models-post-card-image {
    position: relative;
}
.models-post-card-image img {
    height: 370px;
    object-fit: cover;
	width: 100%;
}
.model-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	z-index: 1;
}
.model-image-link a {
    display: block;
    width: 100%;
    height: 100%;
}
.model-post-card-specs {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s ease-in-out;
    opacity: 0;
}
.model-post-card-specs ul li span {
    display: block;
    text-align: center;
    color: var(--white);
}
.model-post-card-specs ul li .spec-label {
    font-weight: 400;
    font-size: 10px;
}
.model-post-card-specs ul li .spec-value {
    font-weight: 600;
    margin: 5px 0px 0px;
    font-size: 13px;
}
.model-post-card-specs ul li:not(:last-child) {
    margin-bottom: 9px;
}
.models-item:hover .model-post-card-specs {
    opacity: 1;
}
.model-post-card-title h2, .model-post-card-title a {
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
    color: var(--black);
    font-weight: 600;
}
.model-post-card-content {
    margin: 15px 0px 0px;
}
.model-post-card-based {
    margin: 10px 0px 0px;
}
.model-post-card-based span {
    font-size: 23px;
    color: var(--black);
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
}
#models-ajax-container .pagination {
    margin: 60px 0px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
#models-ajax-container .pagination span, #models-ajax-container .pagination a {
    font-family: "Bebas Neue", sans-serif;
    color: var(--black);
    transition: .3s ease-in-out;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    border-radius: 5px;
    font-size: 18px;
}
#models-ajax-container .pagination .current, #models-ajax-container .pagination a:hover {
    background-color: var(--black);
    color: var(--white);
}
#models-ajax-container .pagination .prev, #models-ajax-container .pagination .next {
    width: auto;
    height: auto;
    font-size: 18px;
    padding: 2px 10px;
}
.open-button-mobile-wrap {
	display: none;
}
@media only screen and (max-width: 1028px) {
	.models-post-card-image img {
		height: 315px;
	}
	.model-post-card-based span {
		font-size: 20px;
	}
	.open-button-mobile-wrap {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
	}
	.open-button-mobile-wrap button {
		background-color: rgba(153, 153, 161, 0.4);
		width: 32px;
		height: 32px;
		border: 0px;
		outline: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.open-button-mobile-wrap button svg {
		display: block;
	}
}
@media only screen and (max-width: 992px) {
	.model-post-card-based span {
		font-size: 18px;
	}
	.models-item {
		width: calc((100% / 3) - 20px);
	}
	.model-post-card-title h2, .model-post-card-title a {
		font-size: 20px;
	}
	#models-ajax-container .pagination {
		margin: 40px 0px;
	}
	.models-grid-section {
		padding: 60px 0px;
	}
}
@media only screen and (max-width: 600px) {
	.models-grid-section {
		padding: 30px 0px;
	}
	.models-item {
		width: 100%;
	}
	.models-post-card-image img {
		height: 470px;
	}
	#models-ajax-container .pagination {
		margin: 20px 0px;
	}
	.models-flex {
		gap: 20px 20px;
	}
}