.ailanda-places,
.ailanda-places *,
.ailanda-places-page,
.ailanda-places-page *,
.ailanda-place-single,
.ailanda-place-single * {
	box-sizing: border-box;
}

.ailanda-places {
	width: min(100%, 1440px);
	margin-inline: auto;
	padding: 0;
	color: var(--ailanda-places-primary, #1d1d1d);
}

.ailanda-places--archive { padding: 30px; }

.ailanda-places__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(18px, 2vw, 30px);
}

.ailanda-places__title {
	margin: 0 !important;
	font-size: clamp(28px, 3vw, 48px);
	line-height: 1.04;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.ailanda-places__all-link,
.ailanda-place-card__more,
.ailanda-place-single__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ailanda-places-primary, #1d1d1d);
	transition: color .25s ease, transform .25s ease, border-color .25s ease, background-color .25s ease;
}

.ailanda-places__all-link {
	border-bottom: 1px solid currentColor;
	padding-bottom: 5px;
	white-space: nowrap;
}

.ailanda-places__all-link:hover,
.ailanda-place-single__back:hover {
	color: var(--ailanda-places-button, #d9a95b);
}

.ailanda-places__all-link:hover span,
.ailanda-place-card__more:hover .ailanda-place-card__more-arrow {
	transform: translateX(4px);
}

.ailanda-places__all-link span,
.ailanda-place-card__more-arrow {
	display: inline-block;
	transition: transform .25s ease;
}

.ailanda-places__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 2.4vw, 36px);
}

.ailanda-place-card {
	position: relative;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(29, 29, 29, .16);
	border-radius: 0;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 18px 45px rgba(29, 29, 29, .08);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.ailanda-place-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(217, 169, 91, 0);
	transform: translate(8px, 8px);
	pointer-events: none;
	z-index: 5;
	transition: transform .35s ease, border-color .35s ease;
}

.ailanda-place-card:hover,
.ailanda-place-card:focus-within {
	transform: translateY(-6px);
	border-color: rgba(217, 169, 91, .65);
	box-shadow: 0 24px 60px rgba(29, 29, 29, .14);
}

.ailanda-place-card:hover::after,
.ailanda-place-card:focus-within::after {
	border-color: rgba(217, 169, 91, .5);
	transform: translate(0, 0);
}

.ailanda-place-card__media,
.ailanda-place-card__body {
	position: relative;
	min-height: 0;
	flex: 0 0 50%;
}

.ailanda-place-card__media {
	background: linear-gradient(135deg, #252525, #4d4d4d);
	overflow: hidden;
}

.ailanda-place-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform .55s ease, filter .55s ease;
}

.ailanda-place-card:hover .ailanda-place-card__image,
.ailanda-place-card:focus-within .ailanda-place-card__image {
	transform: scale(1.08) translateX(-1.5%);
	filter: saturate(1.05) contrast(1.04);
}

.ailanda-place-card__image--empty {
	background: radial-gradient(circle at 20% 20%, rgba(217, 169, 91, .45), transparent 34%), linear-gradient(135deg, #1d1d1d, #4a4a4a);
}

.ailanda-place-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.14) 42%, rgba(0,0,0,.68) 100%);
	transition: opacity .35s ease;
	z-index: 1;
}

.ailanda-place-card:hover .ailanda-place-card__shade,
.ailanda-place-card:focus-within .ailanda-place-card__shade {
	opacity: .92;
}

.ailanda-place-card__ratings {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	gap: 8px;
	justify-items: end;
	z-index: 3;
	max-width: calc(100% - 24px);
}

.ailanda-places-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 5px 7px;
	background: rgba(0, 0, 0, .42);
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

a.ailanda-places-rating:hover,
a.ailanda-places-rating:focus-visible {
	transform: translateX(-3px);
	background: rgba(0, 0, 0, .62);
	border-color: rgba(255, 255, 255, .46);
	outline: none;
}

.ailanda-places-rating__icons {
	position: relative;
	display: inline-block;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 1px;
}

.ailanda-places-rating__base {
	color: rgba(255, 255, 255, .32);
}

.ailanda-places-rating__fill {
	position: absolute;
	left: 0;
	top: 0;
	width: var(--ailanda-places-rating-percent, 0%);
	overflow: hidden;
	white-space: nowrap;
}

.ailanda-places-rating--hearts .ailanda-places-rating__fill {
	color: var(--ailanda-places-hearts, #d3263a);
}

.ailanda-places-rating--stars .ailanda-places-rating__fill {
	color: var(--ailanda-places-stars, #f2b01e);
}

.ailanda-places-rating__value {
	font-size: 12px;
	font-weight: 800;
}
.ailanda-places-rating__value { color: #fff; }

.ailanda-places-rating__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .9;
}
.ailanda-places-rating__label { color: #fff; }

.ailanda-place-card__title-link {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	display: grid;
	gap: 4px;
	justify-items: end;
	text-align: right;
	color: var(--ailanda-places-light, #fff);
	text-decoration: none;
	z-index: 3;
}

.ailanda-place-card__subtitle {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .78;
}

.ailanda-place-card__title {
	display: inline;
	font-size: clamp(18px, 1.7vw, 24px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.03em;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	transition: background-size .25s ease;
}

.ailanda-place-card__title-link:hover .ailanda-place-card__title,
.ailanda-place-card__title-link:focus-visible .ailanda-place-card__title {
	background-size: 100% 1px;
}

.ailanda-place-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(14px, 1.6vw, 20px);
	background: #fff;
}

.ailanda-place-card__tags {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 23px;
	overflow: hidden;
}

.ailanda-place-card__tag {
	display: inline-flex;
	align-items: center;
	max-width: 46%;
	padding: 4px 7px;
	border: 1px solid rgba(29, 29, 29, .18);
	font-size: 10px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgba(29, 29, 29, .72);
}

.ailanda-place-card__tag--more {
	max-width: none;
	color: var(--ailanda-places-button, #d9a95b);
	border-color: currentColor;
}

.ailanda-place-card__desc {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: clamp(13px, 1.1vw, 15px);
	line-height: 1.46;
	color: rgba(29, 29, 29, .72);
}

.ailanda-place-card__more {
	margin-top: auto;
	align-self: flex-end;
	padding: 8px 0 4px;
	border-bottom: 1px solid rgba(29, 29, 29, .35);
	font-size: 13px;
	text-transform: uppercase;
}

.ailanda-place-card__more:hover,
.ailanda-place-card__more:focus-visible {
	color: var(--ailanda-places-button, #d9a95b);
	border-color: currentColor;
	outline: none;
}

.ailanda-places__empty {
	margin: 0;
	padding: 28px;
	border: 1px solid rgba(29,29,29,.14);
	background: rgba(29,29,29,.03);
}

.ailanda-places__bottom {
	display: flex;
	justify-content: flex-end;
	margin-top: 24px;
}

.ailanda-places-hero {
	position: relative;
	min-height: clamp(260px, 38vw, 520px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #1d1d1d;
	color: #fff;
}

.ailanda-places-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ailanda-places-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.76));
}

.ailanda-places-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1440px);
	margin-inline: auto;
	padding: clamp(40px, 7vw, 100px) clamp(16px, 3vw, 40px);
}

.ailanda-places-hero__title {
	max-width: 980px;
	margin: 0;
	font-size: clamp(38px, 6vw, 88px);
	line-height: .95;
	letter-spacing: -0.06em;
}

.ailanda-places-hero__desc {
	max-width: 720px;
	margin: 18px 0 0;
	font-size: clamp(16px, 1.6vw, 22px);
	line-height: 1.5;
	opacity: .86;
}

.ailanda-places-pagination {
	margin-top: clamp(28px, 4vw, 56px);
}

.ailanda-places-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ailanda-places-pagination a,
.ailanda-places-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(29, 29, 29, .18);
	text-decoration: none;
	color: var(--ailanda-places-primary, #1d1d1d);
}

.ailanda-places-pagination .current,
.ailanda-places-pagination a:hover {
	background: var(--ailanda-places-primary, #1d1d1d);
	color: #fff;
}

.ailanda-place-single {
	width: min(100%, 1180px);
	margin-inline: auto;
	padding: 150px 20px;
	color: var(--ailanda-places-primary, #1d1d1d);
}

.ailanda-place-single__back {
	margin-bottom: 26px;
}

.ailanda-place-single__article {
	display: grid;
	gap: clamp(28px, 4vw, 52px);
}

.ailanda-place-single__header {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: end;
}

.ailanda-place-single__title {
	margin: 0 0 20px;
	font-size: clamp(28px, 5vw, 66px);
	line-height: .96;
	letter-spacing: -0.06em;
}

.ailanda-place-single__ratings {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ailanda-place-single__ratings .ailanda-places-rating {
	background: #1d1d1d;
}

.ailanda-place-single__image-wrap {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(29,29,29,.14);
}

.ailanda-place-single__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ailanda-place-single__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(29,29,29,.14);
	border: 1px solid rgba(29,29,29,.14);
}

.ailanda-place-single__details > div {
	display: grid;
	gap: 8px;
	align-content: start;
	min-height: 92px;
	padding: 18px;
	background: #fff;
}

.ailanda-place-single__details strong {
	font-size: 12px;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(29,29,29,.52);
}

.ailanda-place-single__details a,
.ailanda-place-single__details span {
	color: #1d1d1d;
	text-decoration: none;
	line-height: 1.45;
}

.ailanda-place-single__details a:hover {
	color: var(--ailanda-places-button, #d9a95b);
}

.ailanda-place-single__content {
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.7;
}

.ailanda-place-single__content > *:first-child {
	margin-top: 0;
}

.ailanda-place-single__content > *:last-child {
	margin-bottom: 0;
}

.ailanda-place-single__gallery h2 {
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.ailanda-place-single__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.ailanda-place-single__gallery-item {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid rgba(29,29,29,.12);
}

.ailanda-place-single__gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.ailanda-place-single__gallery-item:hover img {
	transform: scale(1.05);
}

@media (max-width: 1024px) {
	.ailanda-places__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ailanda-place-single__header,
	.ailanda-place-single__details {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.ailanda-places__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ailanda-places__grid,
	.ailanda-place-single__gallery-grid {
		grid-template-columns: 1fr;
	}

	.ailanda-place-card__ratings {
		top: 10px;
		right: 10px;
		gap: 6px;
	}

	.ailanda-places-rating {
		padding: 4px 6px;
		gap: 5px;
	}

	.ailanda-places-rating__icons {
		font-size: 12px;
	}

	.ailanda-places-rating__label {
		display: none;
	}

	.ailanda-place-card__title-link {
		left: 12px;
		right: 12px;
		bottom: 12px;
	}

	.ailanda-place-card__body {
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ailanda-places *,
	.ailanda-places-page *,
	.ailanda-place-single * {
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.ailanda-place-card,
	.ailanda-place-card:hover,
	.ailanda-place-card__image,
	.ailanda-place-card:hover .ailanda-place-card__image,
	.ailanda-place-single__gallery-item:hover img {
		transform: none !important;
	}
}

/* Corrections: white image title, light lower card body */
.ailanda-place-card__title-link,
.ailanda-place-card__title,
.ailanda-place-card__subtitle {
	color: #fff !important;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.ailanda-place-card__body {
	background: #fff;
	color: var(--ailanda-places-primary, #1d1d1d);
}

.ailanda-place-card__body a {
	color: var(--ailanda-places-primary, #1d1d1d);
}

.ailanda-place-card__desc {
	color: rgba(29, 29, 29, .72);
}

.ailanda-place-card__tag {
	border-color: rgba(29, 29, 29, .18);
	color: rgba(29, 29, 29, .72);
}

.ailanda-place-card__tag--more {
	color: var(--ailanda-places-button, #d9a95b);
	border-color: currentColor;
}

.ailanda-place-card__more {
	color: var(--ailanda-places-primary, #1d1d1d);
	border-color: rgba(29, 29, 29, .35);
}

.ailanda-place-card__more:hover,
.ailanda-place-card__more:focus-visible {
	color: var(--ailanda-places-button, #d9a95b);
	border-color: currentColor;
}

.ailanda-place-single__gallery-item {
	cursor: zoom-in;
}

.ailanda-places-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: clamp(54px, 6vw, 78px) clamp(14px, 4vw, 56px) clamp(18px, 4vw, 42px);
	background: rgba(0, 0, 0, .9);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .24s ease, visibility .24s ease;
}

.ailanda-places-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.ailanda-places-lightbox__close {
	position: fixed;
	top: clamp(14px, 2.2vw, 28px);
	right: clamp(14px, 2.2vw, 28px);
	z-index: 3;
	width: 48px;
	height: 48px;
	display: inline-grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .38);
	border-radius: 0;
	background: rgba(0, 0, 0, .38);
	color: #fff;
	font-size: 34px;
	line-height: 1;
	font-weight: 300;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.ailanda-places-lightbox__close:hover,
.ailanda-places-lightbox__close:focus-visible {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .72);
	transform: translateY(-1px);
	outline: none;
}

.ailanda-places-lightbox__stage {
	position: relative;
	min-width: 0;
	min-height: 0;
	display: grid;
	place-items: center;
}

.ailanda-places-lightbox__image {
	display: block;
	max-width: min(100%, 1280px);
	max-height: calc(100vh - 150px);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 24px 90px rgba(0, 0, 0, .42);
	transform: scale(.985);
	opacity: .92;
	transition: transform .24s ease, opacity .24s ease;
}

.ailanda-places-lightbox.is-open .ailanda-places-lightbox__image {
	transform: scale(1);
	opacity: 1;
}

.ailanda-places-lightbox__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 70px;
	display: inline-grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 0;
	background: rgba(0, 0, 0, .34);
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.ailanda-places-lightbox__arrow:hover,
.ailanda-places-lightbox__arrow:focus-visible {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .64);
	outline: none;
}

.ailanda-places-lightbox__arrow--prev {
	left: 0;
}

.ailanda-places-lightbox__arrow--next {
	right: 0;
}

.ailanda-places-lightbox__arrow[hidden] {
	display: none;
}

.ailanda-places-lightbox__caption {
	min-height: 22px;
	margin-top: 16px;
	text-align: center;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .76);
}

body.ailanda-places-lightbox-open {
	overflow: hidden;
}

@media (max-width: 640px) {
	.ailanda-places-lightbox {
		padding: 62px 12px 24px;
	}

	.ailanda-places-lightbox__image {
		max-height: calc(100vh - 136px);
	}

	.ailanda-places-lightbox__arrow {
		width: 42px;
		height: 58px;
		font-size: 34px;
	}

	.ailanda-places-lightbox__close {
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ailanda-places-lightbox,
	.ailanda-places-lightbox *,
	.ailanda-places-lightbox__image,
	.ailanda-places-lightbox.is-open .ailanda-places-lightbox__image {
		transition: none !important;
		transform: none !important;
	}
}

/* Keep tag chips readable when the same tag template is used on the single page. */
.ailanda-place-single .ailanda-place-card__tag {
	border-color: rgba(29, 29, 29, .18);
	color: rgba(29, 29, 29, .72);
}

.ailanda-place-single .ailanda-place-card__tag--more {
	color: var(--ailanda-places-button, #d9a95b);
	border-color: currentColor;
}

/* Fix: make card short description reliably visible in the light lower part */
.ailanda-place-card__desc {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.95em;
	color: rgba(29, 29, 29, .74) !important;
}
