/* ==========================================================================
   Msingi — main stylesheet
   Colour / size tokens are overridden from Msingi Options (inc/dynamic-css.php).
   ========================================================================== */

:root {
	/* Brand — set in Msingi Options → Brand (printed by inc/dynamic-css.php). */
	--ms-accent: #D926B5;
	--ms-ink: #0B0A10;
	--ms-paper: #F6F3EC;
	--ms-text: #2A2F3A;
	--ms-radius: 10px;

	--ms-container: 1660px;
	--ms-gutter: clamp(16px, 3vw, 40px);
	--ms-logo-h: 52px;
	--ms-topbar-h: 64px;
	--ms-header-h: 96px;
	--ms-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ms-font-heading: "Fraunces", Georgia, serif;

	--ms-muted: #6B7180;
	--ms-line: #E6E8EE;
	--ms-ease: cubic-bezier(.2, .7, .2, 1);
	--ms-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

/*
 * Colours derived from the brand. They live on <body> rather than :root so
 * that a brand colour changed in the options flows through to every token
 * (a custom property is resolved where it is declared).
 */
body {
	--ms-accent-deep: color-mix(in srgb, var(--ms-accent) 84%, #000);
	--ms-accent-deeper: color-mix(in srgb, var(--ms-accent) 68%, #000);
	--ms-accent-soft: color-mix(in srgb, var(--ms-accent) 10%, transparent);

	--ms-topbar-bg: var(--ms-accent);
	--ms-topbar-text: #FFFFFF;
	--ms-topbar-btn: var(--ms-accent-deep);
	--ms-topbar-btn-hov: var(--ms-accent-deeper);
	--ms-header-bg: color-mix(in srgb, var(--ms-ink) 92%, transparent);
	--ms-header-solid: var(--ms-ink);
	--ms-logo-plate: var(--ms-paper);
	--ms-menu: #A9A8B0;
	--ms-menu-active: #FFFFFF;
	--ms-menu-underline: var(--ms-accent);
	--ms-cta-bg: var(--ms-accent);
	--ms-cta-hov: var(--ms-accent-deep);
	--ms-cta-text: #FFFFFF;
	--ms-dropdown-bg: color-mix(in srgb, var(--ms-ink) 88%, #fff);
	--ms-dropdown-text: #D8D7DE;
	--ms-footer-bg: color-mix(in srgb, var(--ms-ink) 84%, #2a3550);
	--ms-footer-text: #9A9DA6;
	--ms-totop-bg: #FFFFFF;
	--ms-totop-icon: var(--ms-footer-bg);
}

/* Base ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ms-header-h) + var(--ms-admin-bar)); }

body {
	margin: 0;
	background: #FFFFFF;
	color: var(--ms-text);
	font-family: var(--ms-font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.ms-page-title,
.ms-card__title {
	font-family: var(--ms-font-heading);
	font-optical-sizing: auto;
	letter-spacing: -.01em;
}
.ms-page-title { font-weight: 600; letter-spacing: -.02em; }
.ms-404__code { font-family: var(--ms-font-heading); }

/* Inter: tabular-free, slightly tighter UI text */
.ms-topbar,
.ms-header,
.ms-footer,
.ms-cta,
.ms-button,
button,
input,
select,
textarea { font-family: var(--ms-font); }
.ms-menu a,
.ms-cta { letter-spacing: -.005em; }

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ms-accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--ms-topbar-btn); outline-offset: 2px; }
button { font: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ms-skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	z-index: 100000; top: 8px; left: 8px;
	padding: 12px 18px;
	background: #fff; color: var(--ms-ink);
	box-shadow: 0 4px 18px rgba(0,0,0,.18);
}

.ms-container {
	width: 100%;
	max-width: calc(var(--ms-container) + var(--ms-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ms-gutter);
}
.ms-container--content { max-width: calc(1140px + var(--ms-gutter) * 2); }

/* Top bar ------------------------------------------------------------------ */
.ms-topbar {
	background: var(--ms-topbar-bg);
	color: var(--ms-topbar-text);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: .01em;
}
.ms-topbar__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	min-height: var(--ms-topbar-h);
	gap: 24px;
}
.ms-topbar__contact,
.ms-topbar__right {
	display: flex;
	align-items: center;
	gap: 28px;
}
.ms-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.ms-topbar__item svg { width: 16px; height: 16px; }
.ms-topbar a { color: inherit; }
.ms-topbar a:hover { text-decoration: none; opacity: .85; }
.ms-topbar__right { align-items: stretch; gap: 0; }
.ms-topbar__tagline { display: flex; align-items: center; padding-right: 44px; }

.ms-topbar__buttons { display: flex; align-items: stretch; }
.ms-topbar__btn {
	display: flex;
	align-items: center;
	padding: 0 33px;
	background: var(--ms-topbar-btn);
	color: var(--ms-topbar-text) !important;
	transition: background-color .2s var(--ms-ease);
}
.ms-topbar__btn + .ms-topbar__btn { border-left: 1px solid rgba(70, 0, 55, .18); }
.ms-topbar a.ms-topbar__btn:hover { background: var(--ms-topbar-btn-hov); opacity: 1; }

/* Header (base = Dark style; Classic overrides below) ----------------------------------------------- */
.ms-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	transition: box-shadow .25s var(--ms-ease);
}
/* Background + blur live on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed mobile menu panel inside the header box. */
.ms-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ms-header-bg);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
}
.ms-header.is-sticky { position: sticky; top: var(--ms-admin-bar); }
.ms-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

.ms-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: var(--ms-header-h);
	transition: min-height .25s var(--ms-ease);
}
.ms-header.is-stuck .ms-header__inner { min-height: calc(var(--ms-header-h) - 12px); }

.ms-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.ms-logo { display: block; line-height: 0; }
.ms-logo img { height: var(--ms-logo-h); width: auto; max-width: none; }
.ms-header__brand.has-plate .ms-logo {
	padding: 9px 26px 9px 22px;
	background: var(--ms-logo-plate);
	border-radius: 10px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 18px rgba(0, 0, 0, .25);
	transition: transform .2s var(--ms-ease);
}
.ms-header__brand.has-plate .ms-logo:hover { transform: translateY(-1px); }

.ms-nav { margin-left: auto; }
.ms-menu,
.ms-menu ul { list-style: none; margin: 0; padding: 0; }

.ms-menu { display: flex; align-items: center; gap: clamp(20px, 2.9vw, 42px); }
.ms-menu > li { position: relative; }
.ms-menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ms-menu);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: color .2s var(--ms-ease);
}
.ms-menu > li > a { position: relative; padding: 14px 0; }

/* Magenta underline: grows on hover, stays on the current page */
.ms-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--ms-menu-underline);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s var(--ms-ease);
}
.ms-menu > li > a:hover::after,
.ms-menu > li:focus-within > a::after,
.ms-menu > .current-menu-item > a::after,
.ms-menu > .current-menu-ancestor > a::after,
.ms-menu > .current_page_item > a::after,
.ms-menu > .current_page_ancestor > a::after { transform: scaleX(1); }

.ms-menu a:hover,
.ms-menu li:focus-within > a,
.ms-menu .current-menu-item > a,
.ms-menu .current-menu-ancestor > a,
.ms-menu .current_page_item > a,
.ms-menu .current_page_ancestor > a { color: var(--ms-menu-active); text-decoration: none; }

.ms-caret { display: inline-flex; width: 12px; height: 12px; transition: transform .2s var(--ms-ease); }
.ms-caret svg { width: 12px; height: 12px; }
.ms-menu li:hover > a .ms-caret,
.ms-menu li:focus-within > a .ms-caret { transform: rotate(180deg); }

/* Dropdowns (desktop) */
.ms-menu .sub-menu,
.ms-menu .children {
	position: absolute;
	top: calc(100% + 14px);
	left: -22px;
	min-width: 250px;
	padding: 10px 0;
	background: var(--ms-dropdown-bg);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 12px;
	box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ms-ease), transform .2s var(--ms-ease), visibility .2s;
	z-index: 20;
}
.ms-menu > li > .sub-menu::before,
.ms-menu > li > .children::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ms-menu li:hover > .sub-menu,
.ms-menu li:focus-within > .sub-menu,
.ms-menu li:hover > .children,
.ms-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.ms-menu .sub-menu li,
.ms-menu .children li { position: relative; }
.ms-menu .sub-menu a,
.ms-menu .children a { display: flex; padding: 9px 22px; color: var(--ms-dropdown-text); font-size: 16px; font-weight: 400; }
.ms-menu .sub-menu a:hover,
.ms-menu .children a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.ms-menu .sub-menu .current-menu-item > a { color: var(--ms-menu-underline); }
.ms-menu .sub-menu .sub-menu,
.ms-menu .children .children { top: -11px; left: 100%; }

/* Header actions */
.ms-header__actions { display: flex; align-items: center; gap: 12px; margin-left: clamp(16px, 2.4vw, 44px); }
.ms-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ms-menu-active);
	cursor: pointer;
	border-radius: 50%;
	transition: color .2s, background-color .2s;
}
.ms-icon-btn:hover { background: rgba(255, 255, 255, .08); }
.ms-icon-btn svg { width: 24px; height: 24px; }

/* CTA pill */
.ms-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 34px;
	min-height: 66px;
	border-radius: 999px;
	background: var(--ms-cta-bg);
	color: var(--ms-cta-text) !important;
	font-size: 19px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none !important;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--ms-cta-bg) 28%, transparent);
	transition: background-color .2s var(--ms-ease), transform .2s var(--ms-ease), box-shadow .2s;
}
.ms-cta:hover { background: var(--ms-cta-hov); transform: translateY(-1px); box-shadow: 0 12px 30px color-mix(in srgb, var(--ms-cta-bg) 38%, transparent); }
.ms-cta--panel { display: none; }

.ms-menu-toggle { display: none; }
.ms-burger { position: relative; display: block; width: 24px; height: 16px; }
.ms-burger span {
	position: absolute; left: 0;
	width: 100%; height: 2px;
	background: currentColor; border-radius: 2px;
	transition: transform .25s var(--ms-ease), opacity .2s, top .25s var(--ms-ease);
}
.ms-burger span:nth-child(1) { top: 0; }
.ms-burger span:nth-child(2) { top: 7px; }
.ms-burger span:nth-child(3) { top: 14px; }
.ms-nav-open .ms-burger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.ms-nav-open .ms-burger span:nth-child(2) { opacity: 0; }
.ms-nav-open .ms-burger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.ms-submenu-toggle { display: none; }

/* Mobile / tablet ---------------------------------------------------------- */
@media (max-width: 1100px) {
	:root { --ms-header-h: 80px; --ms-topbar-h: 48px; }

	.ms-topbar { font-size: 15px; }
	.ms-topbar__tagline { padding-right: 24px; }
	.ms-topbar__btn { padding: 0 20px; }

	.ms-logo img { height: min(var(--ms-logo-h), 42px); }
	.ms-header__brand.has-plate .ms-logo { padding: 7px 16px; }
	.ms-header__actions { margin-left: auto; }
	.ms-menu-toggle { display: inline-flex; }
	.ms-cta { min-height: 50px; padding: 0 24px; font-size: 16px; }

	.ms-nav {
		position: fixed;
		top: var(--ms-admin-bar);
		right: 0;
		bottom: 0;
		width: min(360px, 88vw);
		margin: 0;
		padding: 96px 28px 40px;
		background: var(--ms-header-solid);
		border-left: 1px solid rgba(255, 255, 255, .06);
		box-shadow: -20px 0 50px rgba(0, 0, 0, .5);
		overflow-y: auto;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s var(--ms-ease), visibility .3s;
		z-index: 90;
	}
	.ms-nav-open .ms-nav { transform: none; visibility: visible; }
	.ms-header__actions { position: relative; z-index: 95; }

	.ms-nav-backdrop {
		position: fixed; inset: 0;
		background: rgba(0, 0, 0, .55);
		z-index: 80;
		opacity: 0;
		transition: opacity .3s;
	}
	.ms-nav-open .ms-nav-backdrop { opacity: 1; }

	.ms-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.ms-menu li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.ms-menu li li { border-bottom: 0; }
	.ms-menu > li > a { padding: 14px 0; }
	.ms-menu > li > a::after { right: auto; width: 28px; bottom: 8px; }
	.ms-menu a { font-size: 18px; }
	.ms-menu .ms-caret { display: none; }

	.ms-menu .menu-item-has-children,
	.ms-menu .page_item_has_children { display: flex; flex-wrap: wrap; align-items: center; }
	.ms-menu .menu-item-has-children > a,
	.ms-menu .page_item_has_children > a { flex: 1; }

	.ms-submenu-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 40px; height: 40px;
		border: 0; background: transparent; color: var(--ms-menu); cursor: pointer;
	}
	.ms-submenu-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
	.ms-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

	.ms-menu .sub-menu,
	.ms-menu .children,
	.ms-menu .sub-menu .sub-menu,
	.ms-menu .children .children {
		position: static;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 10px 14px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}
	.ms-menu > li > .sub-menu::before,
	.ms-menu > li > .children::before { display: none; }
	.ms-menu li:hover > .sub-menu,
	.ms-menu li:hover > .children { display: none; }
	.ms-menu .is-open > .sub-menu,
	.ms-menu .is-open > .children { display: block !important; }
	.ms-menu .sub-menu a,
	.ms-menu .children a { padding: 8px 0; }
	.ms-menu .sub-menu a:hover { background: transparent; }

	.ms-cta--panel { display: flex; width: 100%; margin-top: 28px; }
}

@media (max-width: 782px) {
	.ms-header.is-sticky { top: 0; }
}

@media (max-width: 640px) {
	.ms-cta--header { display: none; }
}

@media (max-width: 720px) {
	.ms-topbar-hide-mobile .ms-topbar { display: none; }
	.ms-topbar__tagline { display: none; }
	.ms-topbar__inner { padding-right: 0; gap: 12px; }
	.ms-topbar { font-size: 14px; }
	.ms-topbar__label { display: none; }
	.ms-topbar__phone { display: none; }
	.ms-topbar__btn { padding: 0 14px; }
}

@media (max-width: 420px) {
	.ms-topbar__btn:first-child:not(:only-child) { display: none; }
}

/* ==========================================================================
   Header style: Classic (matches easyclickon.com) — blue top bar, white menu bar
   ========================================================================== */
.ms-style-classic {
	--ms-topbar-bg: #2C4CA5;
	--ms-topbar-text: #FFFFFF;
	--ms-topbar-btn: #44A6F0;
	--ms-topbar-btn-hov: #2B8FDA;
	--ms-header-bg: #FFFFFF;
	--ms-header-solid: #FFFFFF;
	--ms-menu: #282828;
	--ms-menu-active: #44A6F0;
	--ms-dropdown-bg: #FFFFFF;
	--ms-dropdown-text: #282828;
	--ms-container: 1140px;
	--ms-gutter: 15px;
	--ms-logo-h: 45px;
	--ms-topbar-h: 43px;
	--ms-header-h: 85px;
}

/* Top bar */
.ms-style-classic .ms-topbar { font-size: 14px; font-weight: 400; letter-spacing: .4px; }
.ms-style-classic .ms-topbar__tagline { padding-right: 28px; }
.ms-style-classic .ms-topbar__btn { padding: 0 22px; }
.ms-style-classic .ms-topbar__btn + .ms-topbar__btn { border-left: 0; }

/* Main bar */
.ms-style-classic .ms-header { border-bottom: 0; box-shadow: 0 2px 14px rgba(17, 24, 39, .06); }
.ms-style-classic .ms-header::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.ms-style-classic .ms-header.is-stuck { box-shadow: 0 6px 22px rgba(17, 24, 39, .1); }
.ms-style-classic .ms-header.is-stuck .ms-header__inner { min-height: calc(var(--ms-header-h) - 10px); }
.ms-style-classic .ms-header__inner { gap: 24px; }

.ms-style-classic .ms-menu { gap: clamp(22px, 3.4vw, 49px); }
.ms-style-classic .ms-menu a { font-size: 15px; font-weight: 500; gap: 6px; }
.ms-style-classic .ms-menu > li > a { padding: 26px 0; }
.ms-style-classic .ms-menu > li > a::after { display: none; }
.ms-style-classic .ms-caret,
.ms-style-classic .ms-caret svg { width: 10px; height: 10px; }

.ms-style-classic .ms-header__actions { margin-left: 22px; gap: 4px; }
.ms-style-classic .ms-icon-btn { color: var(--ms-menu); width: 40px; height: 40px; }
.ms-style-classic .ms-icon-btn:hover { color: var(--ms-menu-active); background: rgba(68, 166, 240, .08); }
.ms-style-classic .ms-icon-btn svg { width: 20px; height: 20px; }

/* Dropdowns */
.ms-style-classic .ms-menu .sub-menu,
.ms-style-classic .ms-menu .children {
	top: 100%;
	left: -32px;
	min-width: 240px;
	padding: 15px 0;
	border: 0;
	border-radius: 0;
	box-shadow: 0 12px 30px rgba(17, 24, 39, .1);
}
.ms-style-classic .ms-menu > li > .sub-menu::before,
.ms-style-classic .ms-menu > li > .children::before { display: none; }
.ms-style-classic .ms-menu .sub-menu a,
.ms-style-classic .ms-menu .children a { padding: 7px 32px; font-size: 15px; font-weight: 500; line-height: 1.45; }
.ms-style-classic .ms-menu .sub-menu a:hover,
.ms-style-classic .ms-menu .children a:hover { color: var(--ms-menu-active); background: transparent; }
.ms-style-classic .ms-menu .sub-menu .current-menu-item > a,
.ms-style-classic .ms-menu .sub-menu .current-menu-ancestor > a { color: var(--ms-menu-active); }
.ms-style-classic .ms-menu .sub-menu .sub-menu,
.ms-style-classic .ms-menu .children .children { top: -15px; left: 100%; }

/* "›" on nested parents (both styles) */
.ms-menu .sub-menu .menu-item-has-children > a,
.ms-menu .children .page_item_has_children > a { justify-content: space-between; }
.ms-menu .sub-menu .menu-item-has-children > a::after,
.ms-menu .children .page_item_has_children > a::after { content: "›"; margin-left: 12px; font-size: 18px; line-height: 1; opacity: .7; }

@media (max-width: 1100px) {
	.ms-style-classic { --ms-header-h: 76px; --ms-topbar-h: 43px; }
	.ms-style-classic .ms-menu > li > a { padding: 14px 0; }
	.ms-style-classic .ms-header__actions { margin-left: auto; }
	.ms-style-classic .ms-menu { gap: 0; }
	.ms-style-classic .ms-nav { border-left: 0; box-shadow: -20px 0 50px rgba(17, 24, 39, .14); }
	.ms-style-classic .ms-nav-backdrop { background: rgba(15, 18, 28, .4); }
	.ms-style-classic .ms-menu li { border-bottom-color: #EEF0F4; }
	.ms-style-classic .ms-menu li li { border-bottom: 0; }
	.ms-style-classic .ms-menu .sub-menu a,
	.ms-style-classic .ms-menu .children a { padding: 8px 0; }
	.ms-menu .sub-menu .menu-item-has-children > a::after,
	.ms-menu .children .page_item_has_children > a::after { display: none; }
}

/* Search overlay ------------------------------------------------------------ */
.ms-search {
	position: fixed; inset: 0;
	z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
	background: rgba(25, 28, 38, .96);
	opacity: 0;
	transition: opacity .25s var(--ms-ease);
}
.ms-search[hidden] { display: none; }
.ms-search.is-visible { opacity: 1; }
.ms-search__inner { width: min(760px, 100%); }
.ms-search__close { position: absolute; top: 24px; right: 24px; color: #fff; }
.ms-search__close:hover { color: #fff; background: rgba(255,255,255,.1); }
.ms-search .ms-searchform { border-bottom: 2px solid rgba(255,255,255,.35); }
.ms-search .ms-searchform__input { color: #fff; font-size: clamp(24px, 4vw, 40px); padding: 14px 0; }
.ms-search .ms-searchform__input::placeholder { color: rgba(255,255,255,.5); }
.ms-search .ms-searchform__submit { color: #fff; }

.ms-searchform { display: flex; align-items: center; border-bottom: 1px solid var(--ms-line); }
.ms-searchform__input {
	flex: 1; min-width: 0;
	padding: 12px 0;
	border: 0; outline: 0;
	background: transparent;
	color: var(--ms-text);
	font: inherit; font-size: 18px;
}
.ms-searchform__input::-webkit-search-cancel-button { display: none; }
.ms-searchform__submit {
	display: inline-flex; width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--ms-menu); cursor: pointer;
}
.ms-searchform__submit svg { width: 24px; height: 24px; }

/* Footer -------------------------------------------------------------------- */
.ms-footer { background: var(--ms-footer-bg); color: var(--ms-footer-text); }
.ms-footer a { color: inherit; }
.ms-footer a:hover { color: #fff; text-decoration: none; }

.ms-footer__widgets { padding: 72px 0 40px; border-bottom: 1px solid rgba(255,255,255,.07); }
.ms-footer__grid { display: grid; gap: 40px; }
.ms-footer__grid--2 { grid-template-columns: repeat(2, 1fr); }
.ms-footer__grid--3 { grid-template-columns: repeat(3, 1fr); }
.ms-footer__grid--4 { grid-template-columns: repeat(4, 1fr); }
.ms-footer .ms-widget__title { margin: 0 0 16px; color: #fff; font-size: 18px; font-weight: 600; }
.ms-footer .ms-widget ul { list-style: none; margin: 0; padding: 0; }
.ms-footer .ms-widget li { padding: 4px 0; }

.ms-footer__bar-inner {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px;
	min-height: 146px;
	padding-block: 32px;
	text-align: center;
}
.ms-footer__copy { margin: 0; font-size: 19px; line-height: 1.5; }
.ms-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-size: 16px; }

@media (max-width: 900px) {
	.ms-footer__grid--3,
	.ms-footer__grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ms-footer__copy { font-size: 16px; }
	.ms-footer__bar-inner { min-height: 110px; padding-inline: 80px; }
}
@media (max-width: 560px) {
	.ms-footer__grid { grid-template-columns: 1fr !important; }
	.ms-footer__bar-inner { padding-inline: var(--ms-gutter); padding-bottom: 96px; }
}

/* Back to top */
.ms-totop {
	position: fixed;
	right: clamp(16px, 2.6vw, 50px);
	bottom: clamp(16px, 2.2vw, 30px);
	z-index: 500;
	display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: var(--ms-totop-bg);
	color: var(--ms-totop-icon);
	box-shadow: 0 8px 26px rgba(10, 12, 20, .28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity .25s var(--ms-ease), transform .25s var(--ms-ease), visibility .25s;
}
.ms-totop svg { width: 26px; height: 26px; }
.ms-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.ms-totop:hover { transform: translateY(-3px); text-decoration: none; }
@media (max-width: 560px) { .ms-totop { width: 50px; height: 50px; } }

/* Content (non-Elementor pages, blog) ---------------------------------------- */
.ms-main { display: block; }
.ms-main:not(.ms-main--elementor) { padding-block: clamp(40px, 6vw, 90px); }
.ms-page-header { margin-bottom: 32px; }
.ms-page-title { margin: 0; color: var(--ms-ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; font-weight: 700; }
.ms-meta { margin: 8px 0 0; color: var(--ms-muted); font-size: 15px; }
.ms-entry__thumb { margin: 0 0 32px; }
.ms-entry__thumb img { border-radius: 8px; }
.ms-entry__content > * { max-width: 100%; }
.ms-entry__content h2,
.ms-entry__content h3 { color: var(--ms-ink); line-height: 1.25; }

.ms-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.ms-card { border: 1px solid var(--ms-line); border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.ms-card:hover { box-shadow: 0 14px 36px rgba(17, 24, 39, .08); transform: translateY(-2px); }
.ms-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ms-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-card__body { padding: 22px 24px 26px; }
.ms-card__title { margin: 6px 0 10px; font-size: 21px; line-height: 1.3; }
.ms-card__title a { color: var(--ms-ink); }
.ms-card__excerpt p { margin: 0; color: var(--ms-muted); font-size: 16px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid var(--ms-line); border-radius: 6px; color: var(--ms-text); }
.nav-links .page-numbers.current { background: var(--ms-topbar-bg); border-color: var(--ms-topbar-bg); color: #fff; }

.ms-button {
	display: inline-flex; align-items: center;
	padding: 12px 26px;
	background: var(--ms-topbar-btn); color: #fff;
	border-radius: 4px; font-weight: 500;
}
.ms-button:hover { background: var(--ms-topbar-btn-hov); text-decoration: none; }

.ms-404 { text-align: center; }
.ms-404__code { margin: 0; font-size: clamp(80px, 14vw, 160px); font-weight: 700; line-height: 1; color: var(--ms-topbar-bg); }
.ms-404 .ms-searchform { max-width: 460px; margin: 24px auto; }

.alignwide { margin-inline: calc(-1 * min(120px, 6vw)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }

/* Elementor ------------------------------------------------------------------- */
.ms-main--elementor { padding: 0; }
.ms-elementor-page .ms-site-content { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
