/*
 * Hotel redesign 2026 — base styles.
 *
 * Every rule is scoped to `.teledom-design` so the legacy home
 * (template-parts/home/*) and Elementor pages stay untouched. The wrapper
 * <div class="teledom-design"> is added at the top of every new page
 * template (templates/template-{slug}.php). Common variables come from
 * base/_tokens.css (imported globally via theme.css).
 */

/*
 * Break out of GeneratePress's `.grid-container.container` width cap
 * so full-bleed sections (.hero, .dark-block, .cta-strip, .booking-hero,
 * .page-banner) can span the full viewport. Inner `.container` inside
 * each section still enforces the design's max-width (var(--maxw)).
 *
 * The `teledom-design-page` body class is added by the body_class filter
 * in inc/design-pages.php for any page using a `templates/template-*.php`
 * file.
 */
body.teledom-design-page #page,
body.teledom-design-page .site-content,
body.teledom-design-page .content-area,
body.teledom-design-page .site-main {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* Suppress accidental horizontal scrollbars from sub-pixel overshoots in
 * 50vw-based break-out calculations (e.g. .hp-contact-map extending to the
 * viewport edge). `clip` prevents scroll without breaking sticky descendants
 * the way `hidden` would. */
body.teledom-design-page {
	overflow-x: clip;
}

body.teledom-design-page .inside-article,
body.teledom-design-page article.page > .inside-article,
body.teledom-design-page .entry-content {
	padding: 0;
	margin: 0;
}

/* GP separate-containers layout adds extra wrappers — flatten them too. */
body.teledom-design-page.separate-containers .site-content {
	padding: 0;
}

/* GP renders #content with `display: flex`. Without an explicit width,
   the .teledom-design wrapper would shrink to its intrinsic max-content
   size (capped by var(--maxw)) instead of filling the viewport, leaving
   blank space on the right. Force it to flex-fill. */
body.teledom-design-page .teledom-design {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.teledom-design {
	font-family: var(--sans);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.55;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.teledom-design *,
.teledom-design *::before,
.teledom-design *::after {
	box-sizing: border-box;
}

.teledom-design img {
	max-width: 100%;
	display: block;
	height: auto;
}

.teledom-design a {
	color: inherit;
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

.teledom-design button {
	font: inherit;
}

.teledom-design h1,
.teledom-design h2,
.teledom-design h3,
.teledom-design h4,
.teledom-design h5 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--ink);
}

.teledom-design h1 {
	font-size: clamp(40px, 5vw, 92px);
	font-weight: 300;
	letter-spacing: -0.04em;
}

.teledom-design h2 {
	font-size: clamp(28px, 4vw, 54px);
	font-weight: 400;
	letter-spacing: -0.03em;
}

.teledom-design h3 {
	font-size: clamp(20px, 2.1vw, 28px);
	font-weight: 500;
}

.teledom-design h4 {
	font-size: 16px;
	font-weight: 600;
	font-family: var(--sans);
	letter-spacing: 0.01em;
}

.teledom-design p {
	margin: 0 0 1em;
	color: var(--muted-light);
	max-width: 62ch;
}

.teledom-design .italic {
	font-style: italic;
	color: var(--gold);
}

.teledom-design em {
	font-style: italic;
	color: var(--gold-bright);
	font-family: var(--display);
}

/* Container */
.teledom-design .container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 34px;
}

@media (min-width: 1920px) {
	.teledom-design .container { padding: 0 40px; }
	.teledom-design { font-size: 15px; }
}

@media (min-width: 2560px) {
	.teledom-design .container { padding: 0 54px; }
	.teledom-design { font-size: 16px; }
}

@media (max-width: 1440px) {
	.teledom-design .container { padding: 0 28px; }
}

@media (max-width: 1280px) {
	.teledom-design .container { padding: 0 24px; }
}

/* Section eyebrow label */
.teledom-design .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-deep);
	font-weight: 500;
	margin-bottom: 14px;
}

.teledom-design .eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--gold);
}

/* Buttons */
.teledom-design .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	font-size: 13px;
	font-weight: 500;
	border-radius: 99px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.3s var(--ease);
	letter-spacing: 0.01em;
}

.teledom-design .btn-primary {
	background: var(--gold);
	color: var(--ink);
	border-color: var(--gold);
}

.teledom-design .btn-primary:hover {
	background: var(--gold-bright);
	border-color: var(--gold-bright);
	transform: translateY(-2px);
}

.teledom-design .btn-ghost {
	background: transparent;
	color: var(--paper);
	border-color: rgba(255, 255, 255, 0.18);
}

.teledom-design .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.4);
}

.teledom-design .btn-dark {
	background: var(--ink);
	color: var(--paper);
	border-color: var(--ink);
}

.teledom-design .btn-dark:hover {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--ink);
	transform: translateY(-2px);
}

.teledom-design .btn-outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}

.teledom-design .btn-outline:hover {
	background: var(--ink);
	color: var(--paper);
}

.teledom-design .btn .arrow {
	transition: transform 0.3s var(--ease);
}

.teledom-design .btn:hover .arrow {
	transform: translateX(4px);
}

/* Reveal — animations stripped, attribute kept inert for markup parity */
.teledom-design [data-reveal] {
	opacity: 1;
	transform: none;
}
