.hotel-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	background-color: var(--color-white);
	box-shadow: 0 1.25rem 3rem rgb(20 29 49 / 10%);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease;
}

.hotel-card:hover {
	transform: translateY(-0.4rem);
	box-shadow: 0 1.75rem 4rem rgb(20 29 49 / 18%);
}

.hotel-card__image-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.hotel-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background-color: var(--color-navy-800);
}

.hotel-card__photo,
.hotel-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.hotel-card__photo {
	object-fit: cover;
	transition: transform 500ms ease;
}

.hotel-card:hover .hotel-card__photo {
	transform: scale(1.045);
}

.hotel-card__placeholder {
	background:
		linear-gradient(
			135deg,
			var(--color-navy-800),
			var(--color-navy-700)
		);
}

.hotel-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.55rem 0.8rem;
	color: var(--color-navy-950);
	background-color: var(--color-accent);
	font-family: "Inter", sans-serif;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.hotel-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.25rem, 2vw, 1.75rem);
}

.hotel-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.8rem;
}

.hotel-card__location {
	color: var(--color-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hotel-card__stars {
	flex-shrink: 0;
	color: var(--color-accent);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}

.hotel-card__title {
	margin: 0;
	color: var(--color-heading);
	font-family: "Barlow Condensed", sans-serif;
	font-size: clamp(2rem, 2.8vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 0.92;
	text-transform: uppercase;
}

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

.hotel-card__title a:hover,
.hotel-card__title a:focus-visible {
	color: var(--color-accent);
}

.hotel-card__excerpt {
	margin: 1rem 0 0;
	color: var(--color-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.hotel-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	padding-top: 1.5rem;
}

.hotel-card__price {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	margin: 0;
	color: var(--color-heading);
}

.hotel-card__price-label {
	color: var(--color-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.hotel-card__price strong {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 1.8rem;
	line-height: 1;
}

.hotel-card__price--empty {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.hotel-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	color: var(--color-white);
	background-color: var(--color-navy-950);
	text-decoration: none;
	transition:
		color 180ms ease,
		background-color 180ms ease;
}

.hotel-card__arrow:hover,
.hotel-card__arrow:focus-visible {
	color: var(--color-navy-950);
	background-color: var(--color-accent);
}

@media (max-width: 47.99rem) {
	.hotel-card__image {
		aspect-ratio: 16 / 11;
	}

	.hotel-card__content {
		padding: 1.25rem;
	}
}

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

	.hotel-card:hover {
		transform: none;
	}

	.hotel-card:hover .hotel-card__photo {
		transform: none;
	}
}