.last-post .featured-img {
	border-radius: 30px;
    overflow: hidden;
}

.last-post .featured-img img {
	height: 100%;
    object-fit: cover;
	transform: scale(1.1);
}

.last-post.articulo_destacado .title {
	left: 0;
}

.last-post.articulo_editorial .title-wrapper {
	bottom: 2.5rem;
	max-width: 70%;
	position: absolute;
	width: max-content;
	right: 0 !important;
}

.last-post .title-wrapper h2 {
	background-color: #c5433e;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	margin: 0;
	padding: .5rem 1.5rem;
	text-align: right;
}

.last-post .title-wrapper h3 {
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	margin: 0;
	padding-right: 1.5rem;
	text-align: right;
	text-transform: uppercase;
}

.last-post .title {
	background-color: #c5433e;
	bottom: 2.5rem;
	max-width: 70%;
	padding: .5rem 1.5rem;
	position: absolute;
	width: max-content;
}

.last-post .title h2 {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	margin: 0;
}

.last-post .read-more {
	bottom: 2rem;
	color: #fff;
  	font-style: italic;
	position: absolute;
  	right: 2rem;
}

.last-post .read-more a {
	color: #fff;
	font-size: 1rem;
	transition: ease;
}

.is-ajax-search > label::before {
	color: gray;
	content: "\f179";
	font-family: 'Dashicons';
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 400;
    position: absolute;
	transform: translate(25%, 25%);
}

.is-ajax-search input.is-search-input {
	border-radius: 10px !important;
	padding-left: 35px !important;
}

.is-ajax-search-post, .is-ajax-search-post-details {
	padding: 5px !important;
}

div.is-ajax-search-details, div.is-ajax-search-result {
	padding: 1px !important;
}

#edicion-dropdown {
	background-color: #c5433e;
	border: 0;
	border-radius: 10px;
    color: #fff;
    font-size: 16px;
	margin-left: auto;
	padding: 7px 10px;
	width: max-content;
}

.related-posts-title {
	border-bottom: 5px solid #142B5E;
    padding-bottom: 7px;
}

.single-return {
	color: #9B9C9F;
}

.edicion-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.edicion-term-image {
	height: 300px;
	margin-bottom: 1rem;
}

.edicion-term-image img {
    height: 100% !important;
    width: auto;
}

.edicion-term-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
}

.articulo-posts {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 35px;
}

.articulo-post .featured-img {
	border-radius: 30px;
	margin-bottom: 20px;
	padding-bottom: calc(0.66* 100%);
	position: relative;
	overflow: hidden;
	bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

.articulo-post .featured-img img {
	aspect-ratio: auto 300 / 200;
	display: block;
	height: 100%;
	max-height: none;
    max-width: none;
    left: calc(50% + 1px);
	overflow-clip-margin: content-box;
    overflow: clip;
    position: absolute;
    top: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
	transition: filter .3s;
	width: 100%;
}

.articulo-post .articulo-categoria {
	border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
	color: #fff;
	font-weight: 500;
	padding: .5rem 0;
	position: absolute;
    bottom: 0;
	text-align: center;
	width: 100%;
}

.articulo-post h3 {
	color: #142B5E;
	font-size: 1.5rem !important;
	font-weight: 600 !important;
    line-height: 26px !important;
	margin: 0;
}

.articulo-post .read-more a {
	color: #9B9C9F;
	font-size: 1rem;
    font-weight: 400;
    font-style: italic;
}

.articulo-post .read-more a:hover {
	color: #9B9C9F;
}

.pagination {
    gap: .5rem;
	width: fit-content;
}

.pagination > * {
	padding: .5rem;
}

@media (min-width: 1025px) {
	.last-post.articulo_destacado .featured-img {
		max-height: 470px;
	}

	.last-post.articulo_editorial .featured-img {
		max-height: 347px;
	}
}

@media (max-width: 1024px) {
	.last-post .title h2, .last-post .title-wrapper h2 {
		font-size: 1em;
	}
	
	.last-post .title-wrapper h3 {
		font-size: 1em;
	}
	
	.articulo-posts {
    	grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
    .articulo-posts {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 479px) {
	
	.is-form-style input.is-search-input {
		height: 40px !important;	
	}
	
	#edicion-dropdown {
		text-align: center;
		height: 40px;
		width: 50%;	
	}
	
	.last-post .featured-img{
		height: 300px;
	}
}

@media (max-width: 379px) {
	.last-post .featured-img{
		height: 230px;
	}
}