/**
 * Terrakuta — shared components for classic templates.
 *
 * Widget visuals (.tk-hero, .tk-btn, .tk-villa-card, ...) live in
 * addons/villa-brizy-widget/static/view.css and are always enqueued;
 * this file adds classic page structure pieces around them.
 */

/* -------------------------------------------------------------------- */
/* Section heading block (classic pages)                                 */
/* -------------------------------------------------------------------- */

.tk-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(40px, 6vw, 72px);
}

.tk-section-head__text {
	max-width: 640px;
}

/* -------------------------------------------------------------------- */
/* Page hero (classic inner pages)                                       */
/* -------------------------------------------------------------------- */

.tk-page-hero {
	padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 6vw, 80px);
	background: var(--tk-sand);
}

.tk-page-hero--black {
	background: var(--tk-black);
	color: var(--tk-ivory);
}

.tk-page-hero--black .tk-page-hero__title {
	color: var(--tk-ivory);
}

.tk-page-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.tk-page-hero__text {
	max-width: 640px;
	margin: 0;
	color: rgba(17, 17, 17, 0.72);
}

.tk-page-hero--black .tk-page-hero__text {
	color: rgba(246, 240, 235, 0.75);
}

/* -------------------------------------------------------------------- */
/* Breadcrumbs                                                           */
/* -------------------------------------------------------------------- */

.tk-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.5);
}

.tk-breadcrumbs a {
	color: inherit;
}

.tk-breadcrumbs a:hover {
	color: var(--tk-terracotta);
}

.tk-breadcrumbs span[aria-current] {
	color: var(--tk-terracotta);
}

/* -------------------------------------------------------------------- */
/* Search form (classic)                                                 */
/* -------------------------------------------------------------------- */

.tk-search-form {
	display: flex;
	max-width: 520px;
}

.tk-search-form input[type="search"] {
	flex: 1;
	border-right: 0;
}

.tk-search-form .tk-btn {
	border: 1px solid rgba(17, 17, 17, 0.25);
}

/* -------------------------------------------------------------------- */
/* 404 / empty states                                                    */
/* -------------------------------------------------------------------- */

.tk-404 {
	padding: clamp(120px, 18vw, 220px) 0;
	text-align: center;
}

.tk-404__code {
	margin: 0 0 12px;
	font-family: var(--tk-font-headline);
	font-size: clamp(5rem, 16vw, 11rem);
	line-height: 1;
	color: var(--tk-terracotta);
}
