/*
Theme Name: Karin Pavilion
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.com.au/
Description: An elegant bilingual theme for Karin Pavilion, a Bangkok venue for weddings, events, seminars and photo shoots. Ivory and navy styling, refined serif and script typography with a matching Thai type set, and accessible, search-friendly markup, built on Hello Elementor.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.2.1795680613
Updated: 2026-11-26 08:10:11

*/

/* =====================================================================================================================
   BEGIN KARIN PAVILION
   Site-wide styles that Elementor Site Settings cannot set. Colours and fonts come from the Kit
   (var(--e-global-*)), never typed here, except on the WordPress login page (no Kit there).
   ===================================================================================================================== */

/* Links inherit the text colour (as in the design); each widget sets its own colour */
a {
	color: inherit;
}

/* Text selection */
::selection {
	background: var(--e-global-color-secondary);
	color: var(--e-global-color-ivory);
}

/* Keyboard focus ring (replaces Hello's black ring and white halo) */
:focus-visible {
	outline: 2px solid var(--e-global-color-accent);
	outline-offset: 3px;
	box-shadow: none;
}

/* ---------------------------------------------------------------------------------------------------------------------
   Thai pages: the Thai type set replaces the English one through the Kit's font variables. Headings keep
   Cormorant Garamond / Pinyon Script for Latin letters and use Trirong / Charm for Thai letters (Kit fonts
   "Thai Heading" / "Thai Script"); body text is Sarabun ("Thai Body"). Values as in the Thai pages of the design.
   ------------------------------------------------------------------------------------------------------------------ */
html[lang^="th"] body {
	--e-global-typography-text-font-family: "Sarabun";
	--e-global-typography-bodysmall-font-family: "Sarabun";
	--e-global-typography-eyebrow-font-family: "Sarabun";
	--e-global-typography-label-font-family: "Sarabun";
	--e-global-typography-nav-font-family: "Sarabun";
	--e-global-typography-button-font-family: "Sarabun";
	--e-global-typography-primary-font-family: "Cormorant Garamond", "Trirong";
	--e-global-typography-secondary-font-family: "Cormorant Garamond", "Trirong";
	--e-global-typography-herotitle-font-family: "Cormorant Garamond", "Trirong";
	--e-global-typography-cardtitle-font-family: "Cormorant Garamond", "Trirong";
	--e-global-typography-lead-font-family: "Cormorant Garamond", "Trirong";
	--e-global-typography-accent-font-family: "Pinyon Script", "Charm";
	--e-global-typography-heroscript-font-family: "Pinyon Script", "Charm";
	--e-global-typography-eyebrow-letter-spacing: 0.03em;
	--e-global-typography-label-letter-spacing: 0.03em;
	--e-global-typography-nav-letter-spacing: 0.03em;
	--e-global-typography-button-letter-spacing: 0.03em;
	--e-global-typography-heroscript-font-size: 96px;
	--e-global-typography-heroscript-line-height: 1.25em;
}

@media (max-width: 980px) {
	html[lang^="th"] body {
		--e-global-typography-heroscript-font-size: 65px;
	}
}

@media (max-width: 560px) {
	html[lang^="th"] body {
		--e-global-typography-heroscript-font-size: 40px;
	}
}

/* Motion: visitors who ask for less motion get none (as in the design) */
@media (prefers-reduced-motion: reduce) {
	.elementor-invisible,
	.animated {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		visibility: visible !important;
	}
}

/* ---------------------------------------------------------------------------------------------------------------------
   WordPress login page: the Site Logo on the site's navy (this file is loaded there by functions.php, block
   "LOGIN PAGE"). The Kit is not loaded on the login page, so its colours are written out here.
   ------------------------------------------------------------------------------------------------------------------ */
body.login {
	background: #16243e;
}

body.login.has-site-logo h1 a {
	display: block;
	width: auto;
	height: auto;
	margin: 0 auto 24px;
	background: none;
	text-indent: 0;
	overflow: visible;
}

body.login .login-logo {
	display: block;
	width: auto;
	height: 70px;
	margin: 0 auto;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a,
body.login .language-switcher label {
	color: #c9ceda;
}

body.login #nav a:hover,
body.login #nav a:focus,
body.login #backtoblog a:hover,
body.login #backtoblog a:focus,
body.login .privacy-policy-page-link a:hover,
body.login .privacy-policy-page-link a:focus {
	color: #c2a878;
}

/* END KARIN PAVILION */
