/*
Theme Name: Aasha Child
Template:   aasha
Theme URI: https://1.envato.market/aasha-wp
Description: Aasha Child Theme
Author: AwaikenThemes
Author URI: https://awaikenthemes.com/
Version: 1.0.0
Text Domain: aasha-child
*/

/* Observatorio Argentino de Turismo (category) archive cards: 16:9 image on top, content below */

.oat-post-item{
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--e-global-color-background);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	margin-bottom: 30px;
	overflow: hidden;
	height: calc(100% - 30px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.oat-post-item:hover{
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.oat-post-item-image{
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.oat-post-item.no-image .oat-post-item-image{
	background: var(--e-global-color-primary);
}

.oat-post-item-image a,
.oat-post-item-image figure{
	display: block;
	height: 100%;
}

.oat-post-item-image figure img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.6s ease-in-out;
}

.oat-post-item:hover .oat-post-item-image figure img{
	transform: scale(1.06);
}

.oat-post-item-body{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
	gap: 20px;
	padding: 24px;
}

.oat-post-item-tag ul{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0;
}

.oat-post-item-tag ul li{
	list-style: none;
}

.oat-post-item-tag ul li a{
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3em;
	color: var(--e-global-color-primary);
	background-color: var(--e-global-color-secondary);
	border-radius: 100px;
	padding: 6px 14px;
	transition: all 0.4s ease-in-out;
}

.oat-post-item-tag ul li a:hover{
	background-color: var(--e-global-color-accent);
}

.oat-post-item-content h2{
	font-size: 20px !important;
	line-height: 1.4em !important;
	color: var(--e-global-color-primary) !important;
	margin: 0 !important;
}

.oat-post-item-content h2 a{
	color: inherit;
	word-wrap: break-word;
}

.oat-post-item-btn{
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 16px;
	line-height: 0;
}

.oat-post-item-btn a{
	display: inline-block;
	font-size: 16px;
	font-weight: 600;
	color: var(--e-global-color-secondary);
	line-height: 1.2em;
	transition: color 0.3s ease-in-out;
}

.oat-post-item-btn a:hover{
	color: var(--e-global-color-primary);
}

.oat-post-item-btn a svg,
.oat-post-item-btn a i{
	width: 20px;
	height: auto;
	margin-left: 5px;
	vertical-align: middle;
	transition: all 0.4s ease-in-out;
}

.oat-post-item-btn a:hover svg{
	transform: rotate(45deg);
}

@media only screen and (max-width: 991px){
	.oat-post-item-body{
		padding: 18px;
	}
}

.oat-download{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3em;
	color: var(--e-global-color-background) !important;
	background-color: #009ee2;
	border-radius: 100px;
	padding: 14px 26px;
	margin: 10px 0;
	transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.oat-download::before{
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 19h16'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: transform 0.3s ease-in-out;
}

.oat-download:hover{
	background-color: var(--e-global-color-primary) !important;
	color: var(--e-global-color-background) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.oat-download:hover::before{
	transform: translateY(2px);
}
