.resort-cards {
	box-sizing: border-box;
	padding: 28px 40px 12px;

	> .top,
	> h1,
	> h2,
	> .grid {
		max-width: 1320px;
		margin-left: auto;
		margin-right: auto;
	}

	> .top {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 16px;
		margin-bottom: 18px;

		h2 {
			margin: 0;
			color: #1a1a1a;
			font-size: 26px;
			font-weight: 700;
			line-height: 1.25;
		}

		p {
			margin: 6px 0 0;
			color: var(--muted);
		}

		> a {
			flex-shrink: 0;
			color: var(--blue);
			font-weight: 600;
			text-decoration: none;
			white-space: nowrap;

			&::after {
				content: " →";
			}
		}
	}

	> h1 {
		margin: 0 auto 20px;
		color: #1a1a1a;
		font-size: 26px;
		font-weight: 700;
		line-height: 1.25;
	}

	> h2 {
		margin: 28px auto 12px;
		color: #1a1a1a;
		font-size: 18px;
		font-weight: 700;
	}

	> h1 + h2 {
		margin-top: 0;
	}

	.grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;

		> a {
			display: block;
			color: inherit;
			text-decoration: none;
			background: #fff;
			padding: 4px;
			border-radius: 5px;
			box-shadow: 0px 5px 5px 0 rgba(0, 0, 0, .02);
		}
	}

	.photo {
		position: relative;
		height: 190px;
		border-radius: 7px;
		overflow: hidden;
		background: #eee;

		img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}

		span {
			position: absolute;
			top: 12px;
			left: 12px;
			padding: 4px 10px;
			border-radius: 8px;
			background: #fff;
			color: #1a1a1a;
			font-size: 13px;
			font-weight: 600;
			line-height: 1.3;
		}
	}

	.info {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 10px 6px;

		strong {
			display: block;
			color: #1a1a1a;
			font-size: 16px;
			font-weight: 700;
		}

		small {
			display: block;
			margin-top: 2px;
			color: var(--muted);
			font-size: 13px;
		}
	}

	.go {
		flex-shrink: 0;
		width: 36px;
		height: 36px;
		border: 1px solid #e2e6eb;
		border-radius: 50%;
		background: #fff;

		&::before {
			content: "";
			display: block;
			width: 8px;
			height: 8px;
			margin: 13px 0 0 12px;
			border-top: 2px solid #222;
			border-right: 2px solid #222;
			transform: rotate(45deg);
		}
	}
}

@media (max-width: 959.999px) {
	.resort-cards {
		padding-left: 20px;
		padding-right: 20px;
	}

	.resort-cards .grid > a {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 599.999px) {
	.resort-cards > .top {
		flex-direction: column;
	}
}

@media (max-width: 639.999px) {
	.resort-cards > .top + .grid > a:nth-child(n + 4) {
		display: none;
	}
}

@media (min-width: 640px) and (max-width: 959.999px) {
	.resort-cards .grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 960px) {
	.resort-cards .grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
