/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Lightn global stylesheet
   Only what Elementor has no control for (translation plan, gap G1): focus
   rings, link underlines, balanced headings, list markers that need inline
   links, the forms, reduced motion and forced colors. Colors come from the
   Elementor Global Colors, so changing a color in Site Settings updates this
   file too. Source copy: deploy/child-theme/style.css in the project.
   ========================================================================== */

:root {
	--lt-ink: var(--e-global-color-primary, #2B3730);
	--lt-paper: var(--e-global-color-4c52c501, #FCFCF2);
	--lt-blue: var(--e-global-color-ccb0afaf, #B9D4F1);
	--lt-yellow: var(--e-global-color-97df5831, #FAF6BD);
	--lt-green: var(--e-global-color-secondary, #4E5C54);
	--lt-rule: var(--e-global-color-f62b66b9, rgb(43 55 48 / 0.22));
}

::selection { background: var(--lt-ink); color: var(--lt-paper); }
.lt-dark ::selection { background: var(--lt-blue); color: var(--lt-ink); }

/* Keyboard focus: 3px ring, offwhite on the navy and evergreen surfaces. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--lt-ink);
	outline-offset: 3px;
	border-radius: 4px;
}
.lt-dark :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.e-off-canvas :where(a, button):focus-visible { outline-color: var(--lt-paper); }

/* Skip link from the theme: visible when focused. */
.skip-link.screen-reader-text:focus {
	clip: auto; clip-path: none; width: auto; height: auto;
	top: 12px; left: 16px; z-index: 100000; padding: 12px 20px;
	background: var(--lt-ink); color: var(--lt-paper); font-weight: 600; text-decoration: none;
}

/* Headings break into even lines. */
.elementor-heading-title { text-wrap: balance; }

/* Running text: short measure, no trailing gap, underlined links. */
.elementor-widget-text-editor p { max-width: 34em; }
.elementor-widget-text-editor > :last-child,
.elementor-widget-text-editor .elementor-widget-container > :last-child,
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor a,
.lt-link a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}
.elementor-widget-text-editor a:hover,
.lt-link a:hover { text-decoration-thickness: 3px; }
.lt-wide p { max-width: 60ch; }

/* Buttons nudge down when pressed. */
.elementor-button:active { transform: translateY(1px); }

/* "More" links are Button widgets drawn as an underlined link with an arrow that nudges on hover. */
body .elementor-widget.lt-more .elementor-button {
	background: transparent; border: 0; padding: 6px 0; min-height: 0; border-radius: 0;
	color: var(--lt-ink); font-weight: 600;
}
body .elementor-widget.lt-more .elementor-button { text-align: left; }
body .elementor-widget.lt-more .elementor-button-content-wrapper { justify-content: flex-start; align-items: flex-end; }
/* When a link wraps, keep its arrow beside the last line instead of pushed to the far edge. */
body .elementor-widget.lt-more .elementor-button-text { flex-grow: 0; }
body .elementor-widget.lt-more .elementor-button:hover,
body .elementor-widget.lt-more .elementor-button:focus { background: transparent; color: var(--lt-ink); }
.lt-more .elementor-button-text {
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.lt-more .elementor-button:hover .elementor-button-text { text-decoration-thickness: 3px; }
.lt-more .elementor-button-icon { transition: transform 160ms ease-out; }
.lt-more .elementor-button:hover .elementor-button-icon { transform: translateX(3px); }
.lt-more.lt-back .elementor-button:hover .elementor-button-icon { transform: translateX(-3px); }

/* The arrow is drawn inline after the last word (not as Elementor's separate icon), so when a link wraps it follows
   the text onto its last line instead of sitting at the far edge. Back links get theirs before the first word. */
body .elementor-widget.lt-more .elementor-button-content-wrapper { display: block; }
body .elementor-widget.lt-more .elementor-button-icon { display: none; }
body .elementor-widget.lt-more .elementor-button-text { display: inline; }
body .elementor-widget.lt-more .elementor-button-text::after,
body .elementor-widget.lt-more.lt-back .elementor-button-text::before {
	content: ""; display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.2em;
	background-color: currentColor; transition: transform 160ms ease-out;
	-webkit-mask: url("/wp-content/uploads/lightn/lightn-arrow.svg") center / contain no-repeat;
	mask: url("/wp-content/uploads/lightn/lightn-arrow.svg") center / contain no-repeat;
}
body .elementor-widget.lt-more .elementor-button-text::after { margin-left: 0.4em; }
body .elementor-widget.lt-more .elementor-button:hover .elementor-button-text::after { transform: translateX(3px); }
body .elementor-widget.lt-more.lt-back .elementor-button-text::after { content: none; }
body .elementor-widget.lt-more.lt-back .elementor-button-text::before {
	margin-right: 0.4em;
	-webkit-mask-image: url("/wp-content/uploads/lightn/lightn-arrow-back.svg");
	mask-image: url("/wp-content/uploads/lightn/lightn-arrow-back.svg");
}
body .elementor-widget.lt-more.lt-back .elementor-button:hover .elementor-button-text::before { transform: translateX(-3px); }

/* The phone line under each booking button: the number is underlined like a link. */
.lt-call .elementor-icon-list-text {
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.lt-call a:hover .elementor-icon-list-text { text-decoration-thickness: 3px; }
/* Elementor colors uploaded SVG icons with fill; the phone icon is a stroke, so give it the text color on dark bands. */
.lt-dark .lt-call .elementor-icon-list-icon svg { color: var(--lt-paper); }

/* Photos that fill their half of a split. */
.lt-fill, .lt-fill > .elementor-widget-container { height: 100%; }
.lt-fill img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) {
	.lt-fill img { height: auto; aspect-ratio: 4 / 3; }
	.lt-fill.lt-ratio-wide img { aspect-ratio: 3 / 2; }
}

/* Lists that need an inline link keep real list markup, with the brand markers drawn here. */
.lt-ticks ul, .lt-creds ul { margin: 0; padding: 0; list-style: none; }
.lt-ticks li {
	display: block; margin: 0;
	padding-left: 52px; min-height: 36px; position: relative;
}
.lt-ticks li + li { margin-top: 24px; }
.lt-ticks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 36px; height: 36px;
	background: url("/wp-content/uploads/lightn/lightn-check-tile.svg") center / 36px 36px no-repeat;
}
.lt-creds li { padding-top: 14px; border-top: 2px solid var(--lt-green); }
.lt-creds li + li { margin-top: 24px; }

/* ---------- Forms (Forminator, unstyled mode) ---------- */
.forminator-ui.forminator-custom-form { margin: 0; font-family: inherit; color: var(--lt-ink); }
.forminator-ui .forminator-row { margin-bottom: 24px; }
.forminator-ui .forminator-row:last-child { margin-bottom: 0; }
.forminator-ui .lt-req-note { margin: 0; font-size: 1.125rem; line-height: 1.5; }
.forminator-ui .forminator-label,
.forminator-ui .forminator-field > legend,
.forminator-ui fieldset legend {
	display: block; margin: 0 0 6px; padding: 0;
	font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--lt-ink);
}
/* Required fields are named in the note at the top of each form, so the asterisk is not repeated. */
.forminator-ui .forminator-required { display: none; }
.forminator-ui .forminator-response-message[aria-hidden="true"],
.forminator-ui .forminator-response-message:empty { display: none; }
.forminator-ui .forminator-description {
	display: block; margin: 0 0 8px; font-size: 1.125rem; line-height: 1.5; color: var(--lt-ink);
}
.forminator-ui .forminator-input,
.forminator-ui .forminator-textarea {
	display: block; width: 100%; min-height: 56px; margin: 0; padding: 11px 16px;
	font: 400 1.25rem/1.4 inherit; color: var(--lt-ink);
	background: var(--lt-paper); border: 2px solid var(--lt-ink); border-radius: 10px;
}
.forminator-ui .forminator-textarea { min-height: 144px; resize: vertical; }
.forminator-ui .forminator-input:focus-visible,
.forminator-ui .forminator-textarea:focus-visible { outline: 3px solid var(--lt-ink); outline-offset: 2px; }
.forminator-ui .forminator-has_error .forminator-input,
.forminator-ui .forminator-has_error .forminator-textarea { border-width: 3px; }
/* Errors: a plain sentence on butter yellow, never red. */
.forminator-ui .forminator-error-message {
	display: block; margin: 8px 0 0; padding: 8px 12px 8px 40px; position: relative;
	background: var(--lt-yellow); border-radius: 8px;
	font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--lt-ink);
}
.forminator-ui .forminator-error-message::before {
	content: "!"; position: absolute; left: 12px; top: 8px; width: 20px; height: 20px;
	display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%;
	font-size: 0.8rem; line-height: 1;
}
.forminator-ui .forminator-response-message {
	margin: 0 0 24px; padding: 0; background: none; border: 0; color: var(--lt-ink);
	font-size: 1.25rem; line-height: 1.6;
}
.forminator-ui .forminator-response-message.forminator-error {
	padding: 12px 16px; background: var(--lt-yellow); border-radius: 8px; font-weight: 600;
}
.forminator-ui .forminator-response-message .lt-done-title {
	margin: 0 0 12px; font-size: 1.5rem; font-weight: 600; line-height: 1.3;
}
/* Radio buttons: a 2px evergreen ring that fills with a dot. */
.forminator-ui .forminator-radio {
	display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 0; cursor: pointer;
	font-size: 1.25rem; line-height: 1.4;
}
.forminator-ui .forminator-radio input[type="radio"] {
	flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin: 0;
	appearance: none; -webkit-appearance: none; background: var(--lt-paper);
	border: 2px solid var(--lt-ink); border-radius: 50%; cursor: pointer;
	position: static; opacity: 1; clip: auto; clip-path: none;
}
.forminator-ui .forminator-radio input[type="radio"]::before {
	content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lt-ink); transform: scale(0);
}
.forminator-ui .forminator-radio input[type="radio"]:checked::before { transform: scale(1); }
.forminator-ui .forminator-radio input[type="radio"]:focus-visible { outline: 3px solid var(--lt-ink); outline-offset: 2px; }
.forminator-ui .forminator-radio-bullet { display: none; }
/* Submit: the same as an Elementor button. */
.forminator-ui .forminator-button-submit {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 26px;
	max-width: 100%; white-space: normal; text-align: center;   /* Forminator sets nowrap, which overflows a 320px screen */
	font: 600 1.25rem/1.2 inherit; color: var(--lt-paper); background: var(--lt-ink);
	border: 2px solid var(--lt-ink); border-radius: 12px; cursor: pointer;
	transition: background-color 160ms ease-out, border-color 160ms ease-out;
}
.forminator-ui .forminator-button-submit:hover { background: var(--lt-green); border-color: var(--lt-green); }
.forminator-ui .forminator-button-submit:focus-visible { outline: 3px solid var(--lt-ink); outline-offset: 3px; }
.lt-form-full .forminator-button-submit { width: 100%; }

/* Small print beside forms. */
.lt-consent p { font-size: 1.125rem; line-height: 1.5; }

/* The homepage quote: the browser indents a blockquote by 40px each side; here it runs the full column. */
.lt-quote blockquote { margin: 0; padding: 0; border: 0; }
.lt-quote blockquote p { max-width: none; margin: 0; }

/* ---------- Header, footer and the phone menu ---------- */
.lt-footnav .elementor-item {
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.lt-footnav .elementor-item:hover { text-decoration-thickness: 3px; }
.lt-canvas-nav .menu-item + .menu-item { border-top: 1px solid var(--e-global-color-ef540ebd, rgb(252 252 242 / 0.3)); }
.lt-canvas-nav .elementor-item.elementor-item-active {
	text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em;
}

/* ---------- Page parts ---------- */
.lt-reach dl, dl.lt-reach { margin: 0; }
.lt-reach dt { font-weight: 600; }
.lt-reach dd { margin: 2px 0 20px; }
.lt-reach dd:last-child { margin-bottom: 0; }

.lt-photo-tall img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1024px) { .lt-photo-tall img { aspect-ratio: 4 / 3; object-position: 50% 25%; } }

/* The family photo under "Feel lighter", a photo under a split heading, and the photo above an article. */
.lt-success-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 0%; }
.lt-split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }
.lt-article-photo, .lt-article-photo img { width: 100%; }
.lt-article-photo img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 40%; }

.lt-posts .elementor-post { padding-top: 24px; border-top: 2px solid var(--lt-green); }
.lt-posts .elementor-post__title a { text-decoration: none; }
.lt-posts .elementor-post__excerpt { margin-top: 12px; }
.lt-posts .elementor-post__excerpt p { max-width: 34em; }
.lt-posts .elementor-post__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lt-posts .elementor-post__read-more {
	display: inline-block; padding: 6px 0;
	text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}

/* Article body: the lead, and number tiles in the section headings. */
.lt-prose p { max-width: none; margin: 0 0 1em; }
.lt-prose .lt-lead { font-size: clamp(1.375rem, 1.2rem + 0.45vw, 1.625rem); line-height: 1.5; }
.lt-prose h2 { display: flex; align-items: center; gap: 16px; margin: 56px 0 20px; }
.lt-prose .lt-num {
	flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
	background: var(--lt-ink); color: var(--lt-paper); font: 600 1.375rem/1 "Onest", system-ui, sans-serif;
}
.lt-prose a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

/* ---------- Comfort and system settings ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Windows High Contrast and other forced-colors themes: give the logo a fixed plate so it stays visible. */
@media (forced-colors: active) {
	.lt-logo img { forced-color-adjust: none; background: #3D4F62; padding: 6px 10px; border-radius: 8px; }
}
