/**
 * Terra Kuta — villa widgets styles.
 *
 * Brand: terracotta #C17A5C · black #111111 · warm ivory #F6F0EB ·
 * soft sand #E8D9CF · muted sage #8D9585.
 * Type: Cormorant Garamond (headlines) · Inter (body/ui).
 *
 * Scoped to .tk-* classes only so Brizy & theme styles stay untouched.
 */

.tk-widget,
.tk-widget-body {
	width: 100%;
}

.tk-widget-body {
	position: relative;
}

.tk-empty {
	padding: 56px 24px;
	border: 1px dashed rgba(17, 17, 17, 0.2);
	background: var(--tk-sand, #E8D9CF);
	color: var(--tk-black, #111111);
	font-family: Inter, sans-serif;
	font-size: 15px;
	text-align: center;
}

/* -------------------------------------------------------------------- */
/* Buttons                                                              */
/* -------------------------------------------------------------------- */

.tk-btn {
	display: inline-block;
	padding: 16px 36px;
	border: 1px solid transparent;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	cursor: pointer;
}

.tk-btn--terracotta {
	background: var(--tk-terracotta, #C17A5C);
	border-color: var(--tk-terracotta, #C17A5C);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-btn--terracotta:hover {
	background: var(--tk-terracotta-deep, #A9664B);
	border-color: var(--tk-terracotta-deep, #A9664B);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-btn--ivory {
	background: var(--tk-ivory, #F6F0EB);
	border-color: var(--tk-ivory, #F6F0EB);
	color: var(--tk-black, #111111);
}

.tk-btn--ivory:hover {
	background: var(--tk-black, #111111);
	border-color: var(--tk-black, #111111);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-btn--outline {
	background: transparent;
	border-color: var(--tk-black, #111111);
	color: var(--tk-black, #111111);
}

.tk-btn--outline:hover {
	background: var(--tk-black, #111111);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-btn--outline-ivory {
	background: transparent;
	border-color: rgba(246, 240, 235, 0.65);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-btn--outline-ivory:hover {
	background: var(--tk-ivory, #F6F0EB);
	color: var(--tk-black, #111111);
}

/* -------------------------------------------------------------------- */
/* Hero                                                                 */
/* -------------------------------------------------------------------- */

.tk-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--tk-black, #111111);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-hero--full {
	min-height: 100vh;
	min-height: 100svh;
}

.tk-hero--large {
	min-height: 80vh;
	min-height: 80svh;
}

/* Width modes:
   full      — breaks out of any parent up to the viewport edge
   contained — boxed inside the 1280px brand container
   parent    — inherits / fills the parent container
*/
.tk-hero--width-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tk-hero--width-contained {
	width: 100%;
	max-width: var(--tk-container, 1280px);
	margin-left: auto;
	margin-right: auto;
}

.tk-hero__media,
.tk-hero__media img,
.tk-hero__media video,
.tk-hero__fallback {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tk-hero__fallback {
	background: linear-gradient(160deg, #2E5A6B 0%, #C17A5C 55%, #111111 100%);
}

/* YouTube embed as cover background — sized to always cover the media box
   (16:9). view.js refines this to the exact container size. */
.tk-hero__yt {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-width: 177.78vh;
	min-height: 100vh;
	border: 0;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.tk-hero__overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(to top, rgba(17, 17, 17, 0.55) 0%, rgba(17, 17, 17, 0.12) 45%, rgba(17, 17, 17, 0.18) 100%);
}

.tk-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px 128px;
}

.tk-hero--align-center .tk-hero__inner {
	text-align: center;
}

.tk-hero__eyebrow {
	margin: 0 0 24px;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba(246, 240, 235, 0.85);
}

.tk-hero__title {
	margin: 0 0 24px;
	max-width: 15em;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(2.75rem, 6.5vw, 5.5rem);
	line-height: 1.05;
	color: var(--tk-ivory, #F6F0EB);
}

.tk-hero--align-center .tk-hero__title {
	margin-left: auto;
	margin-right: auto;
}

.tk-hero__subtitle {
	margin: 0 0 40px;
	font-family: Inter, sans-serif;
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	letter-spacing: 0.04em;
	color: rgba(246, 240, 235, 0.92);
}

.tk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.tk-hero--align-center .tk-hero__actions {
	justify-content: center;
}

.tk-hero__scroll {
	position: absolute;
	right: 48px;
	bottom: 48px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(246, 240, 235, 0.8);
}

.tk-hero__scroll span {
	display: block;
	width: 1px;
	height: 48px;
	background: linear-gradient(to bottom, rgba(246, 240, 235, 0.9), transparent);
	animation: tk-scroll-line 2.2s ease infinite;
}

@keyframes tk-scroll-line {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 781px) {
	.tk-hero__inner {
		padding: 0 24px 96px;
	}

	.tk-hero__scroll {
		display: none;
	}
}

/* -------------------------------------------------------------------- */
/* Villa grid & cards                                                   */
/* -------------------------------------------------------------------- */

.tk-grid {
	display: grid;
	grid-template-columns: repeat(var(--tk-columns, 3), minmax(0, 1fr));
	gap: var(--tk-item-gap, 32px) var(--tk-item-gap, 28px);
}

.tk-grid__footer {
	margin-top: 48px;
	text-align: center;
}

@media (max-width: 1023px) {
	.tk-grid {
		grid-template-columns: repeat(min(var(--tk-columns, 3), 2), minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tk-grid {
		grid-template-columns: 1fr;
	}
}

.tk-villa-card {
	display: flex;
	flex-direction: column;
	background: var(--tk-item-bg, var(--tk-ivory, #F6F0EB));
	color: var(--tk-black, #111111);
	border: var(--tk-item-border-w, 0) solid var(--tk-item-border-c, transparent);
	border-radius: var(--tk-item-radius, 0);
	box-shadow: var(--tk-item-shadow, none);
	overflow: hidden;
	transition: transform 0.45s ease;
}

.tk-villa-card:hover {
	transform: translateY(-6px);
}

.tk-villa-card__media {
	position: relative;
	display: block;
	width: var(--tk-item-frame-w, 100%);
	margin-inline: auto;
	overflow: hidden;
	background: var(--tk-sand, #E8D9CF);
}

.tk-villa-card__media img {
	display: block;
	width: var(--tk-item-img-w, 100%);
	max-width: 100%;
	height: var(--tk-item-img-h, auto);
	object-fit: var(--tk-item-img-fit, contain);
	object-position: center;
	margin-inline: auto;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tk-villa-card:hover .tk-villa-card__media img {
	transform: scale(1.05);
}

.tk-villa-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 6px 14px;
	font-family: Inter, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--tk-ivory, #F6F0EB);
}

.tk-villa-card__badge--available { background: var(--tk-terracotta, #C17A5C); }
.tk-villa-card__badge--reserved { background: var(--tk-sage, #8D9585); }
.tk-villa-card__badge--sold { background: var(--tk-black, #111111); }

.tk-villa-card__body {
	padding: var(--tk-item-body-pad, 24px 4px 0);
	border-top: 2px solid var(--tk-black, #111111);
	margin-top: 20px;
}

.tk-villa-card__title {
	margin: 0 0 10px;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: 1.6rem;
	line-height: 1.15;
}

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

.tk-villa-card__specs {
	margin: 0 0 8px;
	font-family: Inter, sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	color: rgba(17, 17, 17, 0.72);
}

.tk-villa-card__price {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--tk-black, #111111);
}

.tk-villa-card__price .woocommerce-Price-currencySymbol {
	color: var(--tk-terracotta, #C17A5C);
}

/* -------------------------------------------------------------------- */
/* Carousel                                                             */
/* -------------------------------------------------------------------- */

.tk-carousel {
	position: relative;
}

.tk-carousel__track {
	display: flex;
	gap: var(--tk-item-gap, 28px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 8px;
}

.tk-carousel__track::-webkit-scrollbar {
	display: none;
}

.tk-carousel__track.is-dragging {
	scroll-snap-type: none;
	cursor: grabbing;
}

.tk-carousel__slide {
	flex: 0 0 clamp(280px, 32%, 420px);
	scroll-snap-align: start;
}

.tk-carousel__arrow {
	position: absolute;
	top: 34%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(17, 17, 17, 0.25);
	background: var(--tk-ivory, #F6F0EB);
	color: var(--tk-black, #111111);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.tk-carousel__arrow:hover {
	background: var(--tk-black, #111111);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-carousel__arrow--prev { left: -12px; }
.tk-carousel__arrow--next { right: -12px; }

/* -------------------------------------------------------------------- */
/* Gallery & lightbox                                                   */
/* -------------------------------------------------------------------- */

/* Filter tabs (gallery groups source). */
.tk-gallery__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin-bottom: 40px;
}

.tk-gallery__tab {
	padding: 6px 2px;
	background: none;
	border: 0;
	border-bottom: 1px solid transparent;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.55);
	cursor: pointer;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.tk-gallery__tab:hover {
	color: var(--tk-black, #111111);
}

.tk-gallery__tab.is-active {
	color: var(--tk-terracotta, #C17A5C);
	border-bottom-color: var(--tk-terracotta, #C17A5C);
}

.tk-gallery__tab-count {
	display: inline-block;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 500;
	color: rgba(17, 17, 17, 0.4);
}

.tk-gallery__tab.is-active .tk-gallery__tab-count {
	color: var(--tk-terracotta, #C17A5C);
}

@media (max-width: 640px) {
	.tk-gallery__tabs {
		gap: 8px 18px;
		margin-bottom: 28px;
	}
}

.tk-gallery {
	display: grid;
	grid-template-columns: repeat(var(--tk-columns, 3), minmax(0, 1fr));
	gap: var(--tk-item-gap, var(--tk-gap, 24px));
}

@media (max-width: 1023px) {
	.tk-gallery {
		grid-template-columns: repeat(min(var(--tk-columns, 3), 2), minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tk-gallery {
		grid-template-columns: 1fr;
	}
}

.tk-gallery__item,
.tk-gallery__cat {
	position: relative;
	display: block;
	width: var(--tk-item-frame-w, 100%);
	margin-inline: auto;
	aspect-ratio: var(--tk-item-ratio, 4 / 3);
	height: var(--tk-item-frame-h, auto);
	overflow: hidden;
	border: var(--tk-item-border-w, 0) solid var(--tk-item-border-c, transparent);
	border-radius: var(--tk-item-radius, 0);
	box-shadow: var(--tk-item-shadow, none);
	background: var(--tk-item-bg, var(--tk-sand, #E8D9CF));
}

.tk-gallery__item--wide {
	grid-column: span 2;
	aspect-ratio: var(--tk-item-ratio, 8 / 3);
}

.tk-gallery__item img,
.tk-gallery__cat img {
	display: block;
	width: var(--tk-item-img-w, 100%);
	height: var(--tk-item-img-h, 100%);
	object-fit: var(--tk-item-img-fit, cover);
	object-position: center;
	margin-inline: auto;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tk-gallery__item:hover img,
.tk-gallery__cat:hover img {
	transform: scale(1.05);
}

/* Category cards (covers mode): group title + count, always visible. */
.tk-gallery__cat-info {
	position: absolute;
	inset: auto 0 0 0;
	padding: 48px 24px 20px;
	background: linear-gradient(to top, rgba(17, 17, 17, 0.7), transparent);
	pointer-events: none;
}

.tk-gallery__cat-title {
	display: block;
	font-family: var(--tk-font-serif, Georgia, serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--tk-ivory, #F6F0EB);
}

.tk-gallery__cat-count {
	display: block;
	margin-top: 4px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(246, 240, 235, 0.75);
}

.tk-gallery__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px 20px 16px;
	background: linear-gradient(to top, rgba(17, 17, 17, 0.65), transparent);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.tk-gallery__item:hover .tk-gallery__caption {
	opacity: 1;
}

.tk-gallery__caption span {
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tk-ivory, #F6F0EB);
}

.tk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px;
	background: rgba(17, 17, 17, 0.94);
	animation: tk-fade-in 0.25s ease;
}

@keyframes tk-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.tk-lightbox__image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.tk-lightbox__close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(246, 240, 235, 0.35);
	background: transparent;
	color: var(--tk-ivory, #F6F0EB);
	font-size: 24px;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.tk-lightbox__close:hover {
	border-color: var(--tk-ivory, #F6F0EB);
}

.tk-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border: 1px solid rgba(246, 240, 235, 0.35);
	border-radius: 50%;
	background: transparent;
	color: var(--tk-ivory, #F6F0EB);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.tk-lightbox__nav:hover {
	border-color: var(--tk-ivory, #F6F0EB);
	background: rgba(246, 240, 235, 0.08);
}

.tk-lightbox__nav--prev { left: 32px; }
.tk-lightbox__nav--next { right: 32px; }

.tk-lightbox__counter {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: rgba(246, 240, 235, 0.7);
}

@media (max-width: 640px) {
	.tk-lightbox__nav--prev { left: 12px; }
	.tk-lightbox__nav--next { right: 12px; }
	.tk-lightbox { padding: 56px 16px; }
}

/* -------------------------------------------------------------------- */
/* Stats                                                                */
/* -------------------------------------------------------------------- */

.tk-stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 40px 32px;
	padding: 56px 0;
	border-top: 1px solid rgba(17, 17, 17, 0.15);
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.tk-stat {
	text-align: center;
}

/* Horizontal view — always side by side (equal columns), stacks on mobile. */
.tk-stats--horizontal .tk-stats__grid {
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

@media (max-width: 767px) {
	.tk-stats--horizontal .tk-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 479px) {
	.tk-stats--horizontal .tk-stats__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Vertical view — one stat per row, centered, hairline dividers. */
.tk-stats--rows .tk-stats__grid {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
}

.tk-stats--rows .tk-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 28px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.tk-stats--rows .tk-stat:last-child {
	border-bottom: 0;
}

.tk-stats--rows .tk-stat__value {
	margin-bottom: 0;
}

.tk-stat__value {
	display: block;
	margin-bottom: 8px;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 1;
	color: var(--tk-black, #111111);
}

.tk-stat__label {
	display: block;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.6);
}

/* -------------------------------------------------------------------- */
/* Features (numbered)                                                  */
/* -------------------------------------------------------------------- */

.tk-features {
	--tk-features-gap-x: 40px;
	--tk-features-gap-y: 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--tk-features-gap-y) var(--tk-features-gap-x);
}

.tk-features--1 {
	grid-template-columns: minmax(0, 1fr);
}

.tk-features--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tk-features--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tk-features--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tk-features--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tk-features--6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1023px) {
	.tk-features--3,
	.tk-features--4,
	.tk-features--5,
	.tk-features--6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tk-features--2,
	.tk-features--3,
	.tk-features--4,
	.tk-features--5,
	.tk-features--6 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tk-feature__number {
	display: block;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tk-terracotta, #C17A5C);
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--tk-terracotta, #C17A5C);
}

.tk-feature__title {
	margin: 0 0 12px;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--tk-black, #111111);
}

.tk-feature__text {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(17, 17, 17, 0.72);
}

/* Number on the left — side by side with the content. */
.tk-features--num-left .tk-feature {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.tk-features--num-left .tk-feature__number {
	margin-bottom: 0;
	padding-bottom: 10px;
	min-width: 44px;
}

.tk-features--num-left .tk-feature__body {
	flex: 1;
	min-width: 0;
}

/* Garis antar item — garis digambar di tengah gutter; overflow memotong
   garis yang menempel di tepi luar (kolom pertama / baris pertama). */
.tk-features--div-v,
.tk-features--div-h {
	overflow: hidden;
}

.tk-features--div-v .tk-feature,
.tk-features--div-h .tk-feature {
	position: relative;
}

.tk-features--div-v .tk-feature::before {
	content: "";
	position: absolute;
	left: calc(var(--tk-features-gap-x, 40px) / -2 - 0.5px);
	top: calc(-2px - var(--tk-features-gap-y, 48px));
	bottom: 0;
	width: 1px;
	background-color: rgba(17, 17, 17, 0.16);
}

.tk-features--div-h .tk-feature::after {
	content: "";
	position: absolute;
	top: calc(var(--tk-features-gap-y, 48px) / -2);
	left: calc(-1px - var(--tk-features-gap-x, 40px));
	right: 0;
	height: 1px;
	background-color: rgba(17, 17, 17, 0.16);
}

/* Alur atas-ke-bawah: garis horizontal hanya memisahkan item dalam satu
   kolom — tidak ada item sejajar di kolom tetangga. */
.tk-features--flow-down.tk-features--div-h .tk-feature::after {
	left: 0;
}

/* Icon picker glyphs (FA <i> or inline SVG seperti Lucide/Spectre) —
   ukuran mengikuti font-size box (1em = nilai kontrol icon size).
   img URLs keep their own path. */
.tk-amenity__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.tk-amenity__icon i {
	font-size: 1em;
	line-height: 1;
}

/* -------------------------------------------------------------------- */
/* Amenities (icon list)                                                */
/* -------------------------------------------------------------------- */

.tk-amenities {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 48px 40px;
}

.tk-amenities--1 {
	grid-template-columns: minmax(0, 1fr);
}

.tk-amenities--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tk-amenities--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
	.tk-amenities--2,
	.tk-amenities--3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tk-amenity__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.tk-amenity__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Icon on top (default). */
.tk-amenities--icon-top .tk-amenity {
	text-align: center;
}

.tk-amenities--icon-top .tk-amenity__icon {
	margin: 0 auto 20px;
}

/* Icon left — side by side. */
.tk-amenities--icon-left .tk-amenity {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.tk-amenity__title {
	margin: 0 0 10px;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: 1.4rem;
	line-height: 1.2;
	color: var(--tk-black, #111111);
}

.tk-amenity__text {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(17, 17, 17, 0.72);
}

/* -------------------------------------------------------------------- */
/* FAQ                                                                  */
/* -------------------------------------------------------------------- */

.tk-faq {
	max-width: 780px;
	margin: 0 auto;
}

.tk-faq__item {
	border-bottom: 1px solid rgba(17, 17, 17, 0.15);
}

.tk-faq__item:first-child {
	border-top: 1px solid rgba(17, 17, 17, 0.15);
}

.tk-faq__question {
	padding: 24px 48px 10px 0;
	list-style: none;
	cursor: pointer;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--tk-black, #111111);
	position: relative;
}

.tk-faq__question::-webkit-details-marker {
	display: none;
}

.tk-faq__question::after {
	content: "+";
	position: absolute;
	right: 8px;
	top: 24px;
	font-family: Inter, sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: var(--tk-terracotta, #C17A5C);
	transition: transform 0.3s ease;
}

.tk-faq__item[open] .tk-faq__question::after {
	transform: rotate(45deg);
}

.tk-faq__answer {
	padding: 0 0 24px;
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	line-height: 1.7;
	color: rgba(17, 17, 17, 0.72);
}

/* -------------------------------------------------------------------- */
/* CTA band                                                             */
/* -------------------------------------------------------------------- */

.tk-cta {
	background: var(--tk-terracotta, #C17A5C);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-cta__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(72px, 10vw, 140px) 48px;
	text-align: center;
}

.tk-cta__heading {
	margin: 0 0 20px;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 500;
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.1;
	color: var(--tk-ivory, #F6F0EB);
}

.tk-cta__text {
	margin: 0 0 40px;
	font-family: Inter, sans-serif;
	font-size: 1.05rem;
	letter-spacing: 0.03em;
	color: rgba(246, 240, 235, 0.92);
}

.tk-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* -------------------------------------------------------------------- */
/* Contact                                                              */
/* -------------------------------------------------------------------- */

.tk-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}

.tk-contact__label {
	display: block;
	margin-bottom: 8px;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.5);
}

.tk-contact__value {
	font-family: Inter, sans-serif;
	font-size: 1rem;
	color: var(--tk-black, #111111);
}

.tk-contact__value a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--tk-terracotta, #C17A5C);
}

/* -------------------------------------------------------------------- */
/* Distances                                                            */
/* -------------------------------------------------------------------- */

.tk-distances {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

@media (max-width: 900px) {
	.tk-distances {
		grid-template-columns: 1fr;
	}
}

.tk-distances__map {
	aspect-ratio: 4 / 3;
	background: var(--tk-sand, #E8D9CF);
}

.tk-distances__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.tk-distances__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-distances__item {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.12);
	font-family: Inter, sans-serif;
	font-size: 0.95rem;
	color: var(--tk-black, #111111);
}

.tk-distances__item span:last-child {
	font-weight: 600;
	color: var(--tk-terracotta, #C17A5C);
}

/* -------------------------------------------------------------------- */
/* Heading widget — brand-styled free heading                           */
/* (fonts, tracking & scale follow the theme tokens in global.css; only  */
/* per-tag scale + rhythm live here).                                   */
/* -------------------------------------------------------------------- */

.tk-heading__eyebrow {
	margin: 0 0 20px;
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--tk-terracotta, #C17A5C);
}

.tk-heading__title {
	margin: 0;
	font-family: var(--tk-font-headline, "Cormorant Garamond", serif);
	font-weight: 500;
	line-height: 1.15;
	color: var(--tk-black, #111111);
}

.tk-heading h1.tk-heading__title { font-size: clamp(2.75rem, 6.5vw, 5.5rem); }
.tk-heading h2.tk-heading__title { font-size: clamp(2.25rem, 5vw, 4rem); }
.tk-heading h3.tk-heading__title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.tk-heading h4.tk-heading__title { font-size: 1.5rem; }
.tk-heading h5.tk-heading__title { font-size: 1.25rem; }
.tk-heading h6.tk-heading__title { font-size: 1.1rem; }
.tk-heading div.tk-heading__title,
.tk-heading span.tk-heading__title,
.tk-heading p.tk-heading__title { font-size: clamp(2.25rem, 5vw, 4rem); }

.tk-heading__highlight { color: var(--tk-terracotta, #C17A5C); }

.tk-heading__link { color: inherit; text-decoration: none; }
.tk-heading__link:hover { color: var(--tk-terracotta, #C17A5C); }

.tk-heading__sub {
	max-width: 640px;
	margin: 16px 0 0;
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 1.05rem;
	line-height: 1.7;
	letter-spacing: 0.03em;
	color: rgba(17, 17, 17, 0.72);
}

/* Dark background scheme (black/sand image sections). */
.tk-heading--on-dark .tk-heading__title { color: var(--tk-ivory, #F6F0EB); }
.tk-heading--on-dark .tk-heading__sub { color: rgba(246, 240, 235, 0.72); }

/* Alignment */
.tk-heading--center { text-align: center; }
.tk-heading--center .tk-heading__sub { margin-left: auto; margin-right: auto; }
.tk-heading--right { text-align: right; }
.tk-heading--right .tk-heading__sub { margin-left: auto; }

/* -------------------------------------------------------------------- */
/* Rental profitability — scenario columns × villa rows                 */
/* (white card rows on the section background; accent column =          */
/* terracotta token, overridable via the widget Style tab).             */
/* -------------------------------------------------------------------- */

.tk-profit__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tk-profit__table {
	min-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tk-profit__head,
.tk-profit__row {
	display: grid;
	grid-template-columns: minmax(180px, 1.3fr) repeat(var(--tk-profit-cols, 3), minmax(120px, 1fr));
	align-items: center;
	column-gap: 24px;
}

.tk-profit__head {
	padding: 0 24px 4px;
}

.tk-profit__col {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tk-profit__col-name {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tk-black, #111111);
}

.tk-profit__col-note {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 12px;
	letter-spacing: 0.02em;
	color: rgba(17, 17, 17, 0.55);
}

.tk-profit__col--accent .tk-profit__col-name {
	color: var(--tk-terracotta, #C17A5C);
}

.tk-profit__row {
	background: var(--tk-white, #ffffff);
	border-radius: 14px;
	padding: 18px 24px;
}

.tk-profit__villa {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.tk-profit__name {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tk-black, #111111);
}

.tk-profit__meta {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 13px;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: rgba(17, 17, 17, 0.6);
}

.tk-profit__cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.tk-profit__yield {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--tk-black, #111111);
}

.tk-profit__return {
	font-family: var(--tk-font-body, Inter, sans-serif);
	font-size: 13px;
	letter-spacing: 0.02em;
	color: rgba(17, 17, 17, 0.6);
}

.tk-profit__cell--accent .tk-profit__yield,
.tk-profit__cell--accent .tk-profit__return {
	color: var(--tk-terracotta, #C17A5C);
}

@media (max-width: 640px) {
	.tk-profit__head { padding: 0 18px 4px; }
	.tk-profit__row  { padding: 14px 18px; }
	.tk-profit__yield { font-size: 20px; }
}

/* FAQ — penanda pertanyaan (numbering / ikon, Customizer widget control) */

.tk-faq--has-marker .tk-faq__question {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding-right: 48px;
}

.tk-faq--marker-icon .tk-faq__question {
	align-items: flex-start;
}

.tk-faq__marker {
	flex: 0 0 auto;
	font-family: Inter, sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--tk-terracotta, #C17A5C);
	font-variant-numeric: tabular-nums;
	min-width: 34px;
}

.tk-faq__marker--icon {
	min-width: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
}

.tk-faq__marker--icon svg,
.tk-faq__marker--icon i {
	width: 22px;
	height: 22px;
	font-size: 22px;
	color: inherit;
}

.tk-faq--marker-number .tk-faq__answer {
	padding-left: 54px;
}

.tk-faq--marker-icon .tk-faq__answer {
	padding-left: 48px;
}

/* FAQ — layout 2 kolom (alur atas ke bawah, lalu ke samping) */

.tk-faq--cols-2 {
	max-width: none;
	column-count: 2;
	column-gap: clamp(48px, 5vw, 88px);
}

.tk-faq--cols-2 .tk-faq__item {
	break-inside: avoid;
}

@media (max-width: 640px) {
	.tk-faq--cols-2 {
		column-count: 1;
	}
}

/* -------------------------------------------------------------------- */
/* Value Cards (port of MN Corporate mnc_value)                          */
/* -------------------------------------------------------------------- */

.tk-values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--tkv-gap, 24px);
}

.tk-values--cols-2 { grid-template-columns: repeat(2, 1fr); }
.tk-values--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tk-values--cols-5 { grid-template-columns: repeat(5, 1fr); }
.tk-values--cols-6 { grid-template-columns: repeat(6, 1fr); }

.tk-value {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px;
	border: 1px solid rgba(17, 17, 17, 0.1);
	background: var(--tk-ivory, #F6F0EB);
	color: var(--tk-black, #111111);
}

.tk-values--dark .tk-value {
	background: var(--tk-black, #111111);
	border-color: rgba(246, 240, 235, 0.14);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-value__title {
	margin: 4px 0 0;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.25;
	color: inherit;
}

.tk-value__text {
	margin: 0;
	font-family: Inter, sans-serif;
	font-size: 0.92rem;
	line-height: 1.65;
	color: rgba(17, 17, 17, 0.72);
}

.tk-values--dark .tk-value__text {
	color: rgba(246, 240, 235, 0.72);
}

/* Icon views: default (plain) · stack (filled box) · frame (outlined) */

.tk-value__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--tk-terracotta, #C17A5C);
}

.tk-value__icon svg,
.tk-value__icon i {
	width: var(--tkv-icon, 22px);
	height: var(--tkv-icon, 22px);
	font-size: var(--tkv-icon, 22px);
}

.tk-value__icon--stack {
	background: var(--tk-terracotta, #C17A5C);
	color: var(--tk-ivory, #F6F0EB);
}

.tk-value__icon--stack svg {
	fill: var(--tk-ivory, #F6F0EB);
}

.tk-value__icon--frame {
	border: 1px solid var(--tk-terracotta, #C17A5C);
	background: transparent;
}

.tk-value__icon--circle {
	border-radius: 50%;
}

/* Auto number for icon-less items */

.tk-value__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.9em;
	height: 3.9em;
	background: var(--tk-terracotta, #C17A5C);
	color: var(--tk-ivory, #F6F0EB);
	font-family: Inter, sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
}

/* Responsive */

@media (max-width: 1023px) {
	.tk-values--cols-3,
	.tk-values--cols-4,
	.tk-values--cols-5,
	.tk-values--cols-6 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.tk-values,
	.tk-values--cols-2,
	.tk-values--cols-3,
	.tk-values--cols-4,
	.tk-values--cols-5,
	.tk-values--cols-6 {
		grid-template-columns: 1fr;
	}
}

/* Features — alur atas ke bawah dulu, lalu kolom berikutnya (CSS columns). */

.tk-features--flow-down {
	display: block;
	column-width: 240px;
	column-gap: var(--tk-features-gap-x, 40px);
	margin-bottom: calc(-1 * var(--tk-features-gap-y, 48px));
}

.tk-features--flow-down.tk-features--2,
.tk-features--flow-down.tk-features--3,
.tk-features--flow-down.tk-features--4,
.tk-features--flow-down.tk-features--5,
.tk-features--flow-down.tk-features--6 {
	column-width: auto;
}

.tk-features--flow-down.tk-features--2 { column-count: 2; }
.tk-features--flow-down.tk-features--3 { column-count: 3; }
.tk-features--flow-down.tk-features--4 { column-count: 4; }
.tk-features--flow-down.tk-features--5 { column-count: 5; }
.tk-features--flow-down.tk-features--6 { column-count: 6; }

.tk-features--flow-down .tk-feature {
	break-inside: avoid;
	margin-bottom: var(--tk-features-gap-y, 48px);
}

.tk-features--flow-down.tk-features--1 {
	column-count: 1;
	margin-bottom: 0;
}

@media (max-width: 1023px) {
	.tk-features--flow-down.tk-features--3,
	.tk-features--flow-down.tk-features--4,
	.tk-features--flow-down.tk-features--5,
	.tk-features--flow-down.tk-features--6 {
		column-count: 2;
	}
}

@media (max-width: 767px) {
	.tk-features--flow-down,
	.tk-features--flow-down.tk-features--2,
	.tk-features--flow-down.tk-features--3,
	.tk-features--flow-down.tk-features--4,
	.tk-features--flow-down.tk-features--5,
	.tk-features--flow-down.tk-features--6 {
		column-count: 1;
		column-width: auto;
	}
}

/* Value Cards — model grid: elemen antar kartu sebaris via subgrid.
   Icon → track 1, nomor → track 2, judul → track 3, deskripsi → track 4,
   sehingga judul & deskripsi selalu mulai pada posisi yang sama di semua
   kartu satu baris. Fallback: browser lama tetap flex kolom. */

@supports (grid-template-rows: subgrid) {
	.tk-values:not(.tk-values--list) .tk-value {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 4;
		row-gap: 0;
	}
	/* Jarak antar elemen lewat margin — track kosong (tanpa icon/nomor)
	   tidak meninggalkan gutter mati. */
	.tk-values:not(.tk-values--list) .tk-value__icon  { grid-row: 1; margin-bottom: 12px; }
	.tk-values:not(.tk-values--list) .tk-value__num   { grid-row: 2; margin-bottom: 12px; }
	.tk-values:not(.tk-values--list) .tk-value__title { grid-row: 3; margin-bottom: 12px; }
	.tk-values:not(.tk-values--list) .tk-value__text  { grid-row: 4; }
}

/* Value Cards — perataan isi kartu */

.tk-values--align-center .tk-value {
	align-items: center;
	text-align: center;
}

.tk-values--align-right .tk-value {
	align-items: flex-end;
	text-align: right;
}

/* Value Cards — model list (sebaris: icon · nomor · teks di kanan) */

.tk-values--list {
	display: flex;
	flex-direction: column;
}

.tk-values--list .tk-value {
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.tk-values--list .tk-value__icon,
.tk-values--list .tk-value__num {
	flex: 0 0 auto;
}

/* List: kotak fixed em dilepas — ukuran mengikuti konten + padding. */
.tk-values--list .tk-value__num {
	width: auto;
	height: auto;
	padding: 10px 14px;
}

.tk-values--list .tk-value__main {
	margin-left: auto;
	min-width: 0;
	text-align: left;
}

.tk-values--list .tk-value__title { margin-top: 0; }

@media (max-width: 640px) {
	.tk-values--list .tk-value { flex-wrap: wrap; }
	.tk-values--list .tk-value__main {
		flex: 1 1 100%;
		margin-left: 0;
		text-align: left;
	}
}

/* -------------------------------------------------------------------- */
/* Vertical Divider (port of MN Elements mn-vertical-divider)            */
/* -------------------------------------------------------------------- */

/* CSS vars set by widget controls:
   --tk-vd-border-style · --tk-vd-color · --tk-vd-border-width
   --tk-vd-element-spacing · --tk-vd-icon-size                          */

.tk-vdivider {
	display: flex;
	justify-content: center;
	align-items: center; /* overridden by 'align' control */
	height: 100%;
	width: 100%;
	box-sizing: border-box;
}

.tk-vdivider-separator {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100px; /* default — overridden by 'height' control */
	box-sizing: border-box;
}

/* Line segments flanking the optional element */
.tk-vdivider-separator::before,
.tk-vdivider-separator::after {
	content: '';
	flex: 1;
	border-left-style: var(--tk-vd-border-style, solid);
	border-left-width: var(--tk-vd-border-width, 1px);
	border-left-color: var(--tk-vd-color, rgba(17, 17, 17, 0.2));
	min-height: 4px;
}

/* Element (text or icon) between the two segments */
.tk-vdivider__element {
	flex: 0 0 auto;
	padding-block: var(--tk-vd-element-spacing, 5px);
}

/* Element position overrides (prefix_class on the widget wrapper) */
.tk-vdivider-pos-top .tk-vdivider-separator::before {
	flex: 0;
	min-height: 0;
}

.tk-vdivider-pos-bottom .tk-vdivider-separator::after {
	flex: 0;
	min-height: 0;
}

.tk-vdivider__text {
	line-height: 1.2;
	white-space: nowrap;
	font-family: Inter, sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.6);
	margin: 0;
}

.tk-vdivider__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--tk-vd-icon-size, 16px);
	width: var(--tk-vd-icon-size, 16px);
	height: var(--tk-vd-icon-size, 16px);
	line-height: 1;
	color: var(--tk-terracotta, #C17A5C);
}

.tk-vdivider__icon svg {
	width: var(--tk-vd-icon-size, 16px);
	height: var(--tk-vd-icon-size, 16px);
	fill: currentColor;
}

.tk-vdivider-icon-view-stacked .tk-vdivider__icon {
	border-radius: 50%;
	background: var(--tk-terracotta, #C17A5C);
	color: var(--tk-ivory, #F6F0EB);
	width: calc(var(--tk-vd-icon-size, 16px) * 2.5);
	height: calc(var(--tk-vd-icon-size, 16px) * 2.5);
}

.tk-vdivider-icon-view-stacked .tk-vdivider__icon svg {
	fill: var(--tk-ivory, #F6F0EB);
}

.tk-vdivider-icon-view-framed .tk-vdivider__icon {
	border-style: solid;
	border-width: 2px;
	width: calc(var(--tk-vd-icon-size, 16px) * 2.5);
	height: calc(var(--tk-vd-icon-size, 16px) * 2.5);
}

/* -------------------------------------------------------------------- */
/* Video Modal (mnv_video_modal)                                         */
/* -------------------------------------------------------------------- */

.tk-vmodal__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.tk-vmodal__btn-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	font-size: 16px;
}

.tk-vmodal__btn-icon svg {
	width: 1em;
	height: 1em;
}

.tk-vmodal[hidden] { display: none; }

.tk-vmodal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 5vw, 56px);
}

.tk-vmodal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.88);
}

.tk-vmodal__dialog {
	position: relative;
	width: 100%;
	max-width: 960px;
}

.tk-vmodal__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--tk-black, #111111);
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.tk-vmodal__frame iframe,
.tk-vmodal__frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tk-vmodal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(246, 240, 235, 0.4);
	border-radius: 50%;
	background: rgba(17, 17, 17, 0.55);
	color: var(--tk-ivory, #F6F0EB);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.tk-vmodal__close:hover {
	background: var(--tk-terracotta, #C17A5C);
	border-color: var(--tk-terracotta, #C17A5C);
}

.tk-vmodal__close svg {
	width: 18px;
	height: 18px;
}

/* Lock page scroll while the modal is open. */
html.tk-vmodal-open,
html.tk-vmodal-open body {
	overflow: hidden;
}
