.ana-cards-grid,
.ana-cards-grid * {
	box-sizing: border-box;
}

.ana-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 30px);
	width: 100%;
	margin: 1.5rem 0;
}

.ana-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8e3da;
	border-radius: 10px;
	box-shadow: 0 8px 26px rgba(44, 38, 29, 0.09);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.ana-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(44, 38, 29, 0.13);
}

.ana-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8.8;
	overflow: hidden;
	background: linear-gradient(135deg, #ddd6ca, #f1ede6);
	text-decoration: none;
}

.ana-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.ana-card:hover .ana-card__image:not(.ana-card__image--placeholder) {
	transform: scale(1.025);
}

.ana-card__image--placeholder {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.5)),
		linear-gradient(135deg, #b7c4c1, #eadfce);
}

.ana-card__content {
	position: relative;
	isolation: isolate;
	flex: 1;
	padding: clamp(20px, 3vw, 28px);
	background: #fff;
}

.ana-card__content::after {
	position: absolute;
	right: -6px;
	bottom: -8px;
	z-index: -1;
	width: 142px;
	height: 142px;
	background: url("../img/card-line.svg") center / contain no-repeat;
	opacity: 0.33;
	content: "";
	pointer-events: none;
}

.ana-card__title {
	margin: 0 0 5px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.65rem, 2.4vw, 2.1rem);
	font-weight: 500;
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: #26231f;
}

.ana-card__title a {
	color: inherit;
	text-decoration: none;
}

.ana-card__title a:hover,
.ana-card__title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ana-card__subtitle {
	margin-bottom: 15px;
	font-size: 0.97rem;
	font-weight: 700;
	line-height: 1.3;
	color: #28776f;
}

.ana-card__text {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #4b4741;
}

.ana-card__text > :first-child {
	margin-top: 0;
}

.ana-card__text > :last-child {
	margin-bottom: 0;
}

.ana-card--viaje .ana-card__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ana-card__list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.91rem;
	line-height: 1.35;
	color: #3e3b36;
}

.ana-card__list li {
	position: relative;
	margin: 0;
	padding-left: 15px;
}

.ana-card__list li::before {
	position: absolute;
	top: 0.58em;
	left: 1px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #c39b4a;
	content: "";
	transform: translateY(-50%);
}

.ana-cards-empty {
	padding: 1rem;
	border: 1px dashed #d6cec2;
	border-radius: 8px;
	background: #faf8f4;
	color: #5b554e;
}

@media (max-width: 720px) {
	.ana-cards-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ana-card,
	.ana-card__image {
		transition: none;
	}
}
