/* TISR Header */
.tisr-hd {
	--tisr-hd-brand: #B3202F;
	--tisr-hd-gold: #E7B53C;
	--tisr-hd-dark: color-mix(in srgb, var(--tisr-hd-brand) 75%, #000);
	--tisr-hd-soft: color-mix(in srgb, var(--tisr-hd-brand) 8%, #fff);
	--tisr-hd-ring: color-mix(in srgb, var(--tisr-hd-brand) 16%, transparent);
	--tisr-hd-ink: #111827;
	--tisr-hd-muted: #6b7280;
	--tisr-hd-line: #eceef2;
	--tisr-hd-h: 96px;
	--tisr-hd-h-s: 76px;
	--tisr-hd-top: 0px;
	position: relative;
	z-index: 9990;
	box-sizing: border-box;
	width: 100%;
	height: var(--tisr-hd-h);
	font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}
.tisr-hd *, .tisr-hd *::before, .tisr-hd *::after { box-sizing: border-box; }
.tisr-hd ul { list-style: none; margin: 0; padding: 0; }
.tisr-hd li { margin: 0; padding: 0; }
.tisr-hd a { text-decoration: none; }
.tisr-hd button { font-family: inherit; }
body.admin-bar .tisr-hd { --tisr-hd-top: 32px; }
@media (max-width: 782px) { body.admin-bar .tisr-hd { --tisr-hd-top: 46px; } }
@media (max-width: 600px) { body.admin-bar .tisr-hd.is-scrolled { --tisr-hd-top: 0px; } }

/* ---------- Bar ---------- */
.tisr-hd__bar {
	position: absolute;
	top: 0; left: 0; right: 0;
	height: var(--tisr-hd-h);
	background: #fff;
	box-shadow: 0 1px 0 var(--tisr-hd-line), 0 10px 30px -24px rgba(17, 24, 39, .25);
	transition: height .35s cubic-bezier(.2, .7, .2, 1), background-color .35s, box-shadow .35s, transform .35s;
}
.tisr-hd.is-sticky .tisr-hd__bar { position: fixed; top: var(--tisr-hd-top); }
.tisr-hd.is-scrolled .tisr-hd__bar {
	height: var(--tisr-hd-h-s);
	background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	backdrop-filter: saturate(1.6) blur(16px);
	box-shadow: 0 1px 0 rgba(17, 24, 39, .06), 0 18px 40px -22px rgba(17, 24, 39, .35);
}

.tisr-hd .tisr-hd__ambient, .tisr-hd .tisr-hd__sheen { display: none; }
/* Re-enable elements hidden by the inline critical CSS (higher specificity wins) */
.tisr-hd .tisr-hd__drawer { display: block; }
.tisr-hd .tisr-hd__bar { visibility: visible; }
.tisr-hd .tisr-hd__line, .tisr-hd .tisr-hd__ink, .tisr-hd .tisr-hd__dropdown { display: block; }

/* Animated accent line */
.tisr-hd__line {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--tisr-hd-brand), var(--tisr-hd-gold), var(--tisr-hd-brand), transparent);
	background-size: 200% 100%;
	opacity: 0;
	transition: opacity .4s;
	animation: tisr-hd-flow 6s linear infinite;
}
.tisr-hd.is-scrolled .tisr-hd__line { opacity: 1; }

.tisr-hd__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
	max-width: var(--tisr-hd-width, 1240px);
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 32px);
}

/* Logo */
.tisr-hd__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.tisr-hd__logo img {
	display: block;
	width: auto !important;
	height: var(--tisr-hd-logo, 64px) !important;
	max-height: calc(var(--tisr-hd-h) - 24px);
	transition: height .35s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, 1.4, .4, 1), filter .4s;
}
.tisr-hd.is-scrolled .tisr-hd__logo img { height: calc(var(--tisr-hd-logo, 64px) * .8) !important; }
.tisr-hd__logo:hover img { transform: scale(1.04); }
.tisr-hd__sitename { color: var(--tisr-hd-ink); font-weight: 800; font-size: 20px; }

/* ---------- Desktop nav ---------- */
.tisr-hd__nav { position: relative; flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.tisr-hd__menu { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; }
.tisr-hd__item { position: relative; display: flex; align-items: center; }

.tisr-hd__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 46px;
	padding: 0 14px;
	border-radius: 12px;
	color: var(--tisr-hd-ink);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
	transition: color .25s;
}
.tisr-hd__item.has-sub > .tisr-hd__link { padding-right: 6px; }
.tisr-hd__ico { display: inline-flex; color: var(--tisr-hd-muted); transition: color .25s, transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.tisr-hd__link:hover, .tisr-hd__item:focus-within > .tisr-hd__link { color: var(--tisr-hd-brand); }
.tisr-hd__link:hover .tisr-hd__ico { color: var(--tisr-hd-brand); transform: translateY(-2px) scale(1.08); }
.tisr-hd__link:focus-visible { outline: 2px solid var(--tisr-hd-brand); outline-offset: 2px; }

/* Current page */
.tisr-hd__item.is-current > .tisr-hd__link,
.tisr-hd__item.is-current > .tisr-hd__link .tisr-hd__ico { color: var(--tisr-hd-brand); }
.tisr-hd__item.is-current > .tisr-hd__link::after {
	content: "";
	position: absolute;
	left: 50%; bottom: 3px;
	width: 22px; height: 3px;
	margin-left: -11px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--tisr-hd-brand), var(--tisr-hd-gold));
	animation: tisr-hd-pop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.tisr-hd__item.has-sub.is-current > .tisr-hd__link::after { margin-left: -8px; }

/* Sliding hover pill */
.tisr-hd__ink {
	position: absolute;
	z-index: 0;
	top: 50%;
	left: 0;
	height: 46px;
	width: 0;
	margin-top: -23px;
	border-radius: 12px;
	background: var(--tisr-hd-soft);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tisr-hd-brand) 10%, transparent);
	opacity: 0;
	pointer-events: none;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1), opacity .25s;
}
.tisr-hd__ink.is-on { opacity: 1; }

.tisr-hd .tisr-hd__caret {
	display: grid;
	place-items: center;
	width: 28px; height: 46px;
	margin: 0 6px 0 -2px; padding: 0;
	border: 0; border-radius: 8px;
	background: none;
	color: var(--tisr-hd-ink);
	cursor: pointer;
	position: relative;
	z-index: 1;
}
.tisr-hd .tisr-hd__caret:hover, .tisr-hd .tisr-hd__caret:focus { background: none; color: var(--tisr-hd-brand); }
.tisr-hd .tisr-hd__caret svg { transition: transform .3s; }
.tisr-hd__item:hover > .tisr-hd__caret svg,
.tisr-hd__item.is-open > .tisr-hd__caret svg { transform: rotate(180deg); }

/* Dropdown */
.tisr-hd__dropdown {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	width: 330px;
	max-width: calc(100vw - 32px);
	padding: 10px;
	border: 1px solid var(--tisr-hd-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: 0 30px 60px -24px rgba(17, 24, 39, .35), 0 10px 20px -12px rgba(17, 24, 39, .15);
	opacity: 0;
	visibility: hidden;
	transform: translate(calc(-50% + var(--shift, 0px)), 10px) scale(.98);
	transform-origin: top center;
	transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1), visibility .25s;
}
.tisr-hd__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.tisr-hd__dropdown::after {
	content: "";
	position: absolute;
	top: -7px; left: calc(50% - var(--shift, 0px));
	width: 14px; height: 14px;
	margin-left: -7px;
	border-top: 1px solid var(--tisr-hd-line);
	border-left: 1px solid var(--tisr-hd-line);
	background: #fff;
	transform: rotate(45deg);
}
.tisr-hd__item:hover > .tisr-hd__dropdown,
.tisr-hd__item.is-open > .tisr-hd__dropdown,
.tisr-hd__item:focus-within > .tisr-hd__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translate(calc(-50% + var(--shift, 0px)), 0) scale(1);
}

.tisr-hd__dropdown--c2 { width: 640px; }
.tisr-hd__dropdown--c3 { width: 920px; }
.tisr-hd__sublist {
	position: relative; z-index: 1;
	display: grid;
	gap: 2px 6px;
	max-height: calc(100vh - var(--tisr-hd-h) - var(--tisr-hd-top, 0px) - 130px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(17, 24, 39, .2) transparent;
}
.tisr-hd__dropdown--c2 > .tisr-hd__sublist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tisr-hd__dropdown--c3 > .tisr-hd__sublist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tisr-hd__ddhead {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 8px; padding: 6px 8px 12px;
	border-bottom: 1px solid rgba(17, 24, 39, .07);
}
.tisr-hd__ddico {
	display: grid; place-items: center; flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	color: #fff;
	box-shadow: 0 10px 20px -10px var(--tisr-hd-brand), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.tisr-hd__ddico svg { width: 20px; height: 20px; }
.tisr-hd__ddhead strong { display: block; color: var(--tisr-hd-ink); font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.tisr-hd__ddhead small { display: block; color: var(--tisr-hd-muted); font-size: 12px; }
.tisr-hd__sublist--deep { margin: 2px 0 4px 18px; padding-left: 10px; border-left: 2px solid var(--tisr-hd-line); }
.tisr-hd__sublink {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 10px;
	font-size: 14px;
	border-radius: 12px;
	color: var(--tisr-hd-ink);
	transition: background .2s, transform .25s;
}
.tisr-hd__subico {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 34px; height: 34px;
	border-radius: 11px;
	background: #f4f5f7;
	color: var(--tisr-hd-muted);
	transition: background .25s, color .25s, transform .4s cubic-bezier(.2, 1.4, .4, 1);
}
.tisr-hd__subtxt strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.32; }
.tisr-hd__subtxt small { display: block; margin-top: 2px; color: var(--tisr-hd-muted); font-size: 12.5px; line-height: 1.35; }
.tisr-hd__sublink:hover, .tisr-hd__sublink:focus-visible { background: var(--tisr-hd-soft); transform: translateX(3px); outline: 0; }
.tisr-hd__sublink:hover .tisr-hd__subico, .tisr-hd__sublink:focus-visible .tisr-hd__subico { background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark)); color: #fff; transform: scale(1.06); box-shadow: 0 8px 16px -8px var(--tisr-hd-brand); }
.tisr-hd__sublist .is-current > .tisr-hd__sublink { color: var(--tisr-hd-brand); }
.tisr-hd__sublist .is-current > .tisr-hd__sublink .tisr-hd__subico { background: var(--tisr-hd-soft); color: var(--tisr-hd-brand); }

/* ---------- Actions ---------- */
.tisr-hd__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: 8px; }
.tisr-hd__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 1.5px solid var(--tisr-hd-line);
	background: #fff;
	color: var(--tisr-hd-ink);
	transition: color .25s, border-color .25s, background .25s, transform .3s, box-shadow .3s;
}
.tisr-hd__icon::before {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid var(--tisr-hd-ring);
	opacity: 0;
	animation: tisr-hd-ping 2.8s ease-out infinite;
}
.tisr-hd__icon:hover, .tisr-hd__icon:focus-visible {
	color: #fff;
	border-color: var(--tisr-hd-brand);
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -12px var(--tisr-hd-brand);
	outline: 0;
}
.tisr-hd__icon::after {
	content: attr(data-tip);
	position: absolute;
	top: calc(100% + 10px);
	right: 50%;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--tisr-hd-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transform: translate(50%, -4px);
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.tisr-hd__icon:hover::after, .tisr-hd__icon:focus-visible::after { opacity: 1; transform: translate(50%, 0); }

/* Hamburger */
.tisr-hd .tisr-hd__burger {
	display: none;
	place-items: center;
	position: relative;
	width: 46px; height: 46px;
	margin: 0; padding: 0;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	box-shadow: 0 10px 22px -12px var(--tisr-hd-brand);
	cursor: pointer;
	transition: transform .3s;
}
.tisr-hd .tisr-hd__burger:hover, .tisr-hd .tisr-hd__burger:focus { background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark)); transform: scale(1.05); }
.tisr-hd .tisr-hd__burger span {
	position: absolute;
	left: 13px;
	width: 20px; height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .2s, width .3s;
}
.tisr-hd .tisr-hd__burger span:nth-child(1) { top: 16px; }
.tisr-hd .tisr-hd__burger span:nth-child(2) { top: 22px; width: 14px; }
.tisr-hd .tisr-hd__burger span:nth-child(3) { top: 28px; }
.tisr-hd .tisr-hd__burger:hover span:nth-child(2) { width: 20px; }
.tisr-hd.is-open .tisr-hd__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tisr-hd.is-open .tisr-hd__burger span:nth-child(2) { opacity: 0; }
.tisr-hd.is-open .tisr-hd__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
/* Header moved to the top of <body> (so Elementor containers can't squeeze it) */
body > .tisr-hd.is-attached { width: 100%; }

/* Mobile drawer lives in a portal at the end of <body> so page widgets (Select2, ACF…) can't cover it */
.tisr-hd.tisr-hd--portal { position: static; height: 0; z-index: auto; }
.tisr-hd__drawer { position: fixed; top: var(--tisr-hd-top, 0px); right: 0; bottom: 0; left: 0; z-index: 2147483000; visibility: hidden; pointer-events: none; }
.tisr-hd.is-open .tisr-hd__drawer { visibility: visible; pointer-events: auto; }
.tisr-hd__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .35s;
}
.tisr-hd.is-open .tisr-hd__overlay { opacity: 1; }
.tisr-hd__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(400px, 88vw);
	background: #fff;
	box-shadow: -30px 0 60px -30px rgba(17, 24, 39, .45);
	transform: translateX(105%);
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
	overflow: hidden;
}
.tisr-hd__panel::before {
	content: "";
	position: absolute;
	top: -120px; right: -120px;
	width: 300px; height: 300px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tisr-hd-brand) 22%, transparent);
	filter: blur(70px);
	pointer-events: none;
}
.tisr-hd__panel::after {
	content: "";
	position: absolute;
	bottom: -120px; left: -100px;
	width: 260px; height: 260px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tisr-hd-gold) 30%, transparent);
	filter: blur(70px);
	pointer-events: none;
}
.tisr-hd.is-open .tisr-hd__panel { transform: none; }

.tisr-hd__phead {
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--tisr-hd-line);
}
.tisr-hd__plogo img { display: block; width: auto !important; height: 48px !important; max-width: none; }
.tisr-hd .tisr-hd__close {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	margin: 0; padding: 0;
	border: 1.5px solid var(--tisr-hd-line);
	border-radius: 50%;
	background: #fff;
	color: var(--tisr-hd-ink);
	cursor: pointer;
	transition: transform .4s cubic-bezier(.2, 1.4, .4, 1), color .2s, border-color .2s, background .2s;
}
.tisr-hd .tisr-hd__close:hover, .tisr-hd .tisr-hd__close:focus { transform: rotate(90deg); color: #fff; background: var(--tisr-hd-brand); border-color: var(--tisr-hd-brand); }

.tisr-hd__user {
	position: relative; z-index: 1;
	display: flex; align-items: center; gap: 12px;
	margin: 16px 20px 0;
	padding: 12px 14px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--tisr-hd-soft), #fff);
	border: 1px solid var(--tisr-hd-line);
}
.tisr-hd__avatar {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 46px; height: 46px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tisr-hd-brand) 0%, var(--tisr-hd-dark) 70%, var(--tisr-hd-gold) 140%);
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tisr-hd-ring), 0 10px 20px -10px var(--tisr-hd-brand);
}
.tisr-hd__avatar::after {
	content: "";
	position: absolute;
	right: -1px; bottom: -1px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 2.5px #fff;
}

/* JetMenu SVG icons */
.tisr-hd__svg { display: inline-flex; width: var(--s, 20px); height: var(--s, 20px); }
.tisr-hd__svg svg { width: 100% !important; height: 100% !important; display: block; }
.tisr-hd__user small { display: block; color: var(--tisr-hd-muted); font-size: 12px; }
.tisr-hd__user strong { display: block; color: var(--tisr-hd-ink); font-size: 15px; font-weight: 700; line-height: 1.3; word-break: break-word; }

.tisr-hd__mnav { position: relative; z-index: 1; flex: 1; overflow-y: auto; padding: 12px 14px; -webkit-overflow-scrolling: touch; }
.tisr-hd__mitem {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity .4s, transform .45s cubic-bezier(.2, .8, .2, 1);
	transition-delay: 0s;
}
.tisr-hd.is-open .tisr-hd__mitem { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i, 0) * .045s); }
.tisr-hd__mrow { display: flex; align-items: center; gap: 4px; }
.tisr-hd__mlink {
	flex: 1;
	display: flex; align-items: center; gap: 14px;
	min-height: 54px;
	padding: 8px 12px;
	border-radius: 14px;
	color: var(--tisr-hd-ink);
	font-size: 16px;
	font-weight: 600;
	transition: background .2s, color .2s;
}
.tisr-hd__mico {
	display: grid; place-items: center;
	flex: 0 0 auto;
	width: 40px; height: 40px;
	border-radius: 12px;
	background: #f4f5f7;
	color: var(--tisr-hd-muted);
	transition: background .25s, color .25s;
}
.tisr-hd__mlink:hover, .tisr-hd__mlink:focus-visible { background: var(--tisr-hd-soft); color: var(--tisr-hd-brand); outline: 0; }
.tisr-hd__mlink:hover .tisr-hd__mico { background: var(--tisr-hd-brand); color: #fff; }
.tisr-hd__mitem.is-current > .tisr-hd__mrow .tisr-hd__mlink { background: var(--tisr-hd-soft); color: var(--tisr-hd-brand); }
.tisr-hd__mitem.is-current > .tisr-hd__mrow .tisr-hd__mico { background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark)); color: #fff; box-shadow: 0 8px 18px -10px var(--tisr-hd-brand); }
.tisr-hd .tisr-hd__mcaret {
	display: grid; place-items: center;
	flex: 0 0 auto;
	width: 46px; height: 46px;
	margin: 0; padding: 0;
	border: 0; border-radius: 12px;
	background: #f4f5f7;
	color: var(--tisr-hd-ink);
	cursor: pointer;
}
.tisr-hd .tisr-hd__mcaret:hover, .tisr-hd .tisr-hd__mcaret:focus { background: var(--tisr-hd-soft); color: var(--tisr-hd-brand); }
.tisr-hd .tisr-hd__mcaret svg { transition: transform .3s; }
.tisr-hd .tisr-hd__mcaret[aria-expanded="true"] svg { transform: rotate(180deg); }
.tisr-hd__msub { overflow: hidden; height: 0; transition: height .35s cubic-bezier(.2, .7, .2, 1); }
.tisr-hd__msub > ul { margin: 2px 0 6px 32px; padding-left: 12px; border-left: 2px solid var(--tisr-hd-line); }
.tisr-hd__msub .tisr-hd__mitem { opacity: 1; transform: none; }
.tisr-hd__msub .tisr-hd__mlink { min-height: 46px; font-size: 15px; font-weight: 500; }
.tisr-hd__msub .tisr-hd__mico { width: 32px; height: 32px; border-radius: 10px; }

.tisr-hd__pfoot { position: relative; z-index: 1; display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--tisr-hd-line); }
.tisr-hd__pbtn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	color: #fff !important;
	font-size: 15.5px;
	font-weight: 700;
	box-shadow: 0 14px 26px -14px var(--tisr-hd-brand);
	transition: transform .25s, filter .25s;
}
.tisr-hd__pbtn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.tisr-hd__pbtn--ghost { background: #fff; color: var(--tisr-hd-ink) !important; border: 1.5px solid var(--tisr-hd-line); box-shadow: none; }
.tisr-hd__pbtn--ghost:hover { border-color: var(--tisr-hd-brand); color: var(--tisr-hd-brand) !important; }

html.tisr-hd-lock, html.tisr-hd-lock body { overflow: hidden !important; }

/* ---------- Animations ---------- */
@keyframes tisr-hd-flow { to { background-position: -200% 0; } }
@keyframes tisr-hd-pop { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tisr-hd-ping { 0% { opacity: .9; transform: scale(.85); } 70%, 100% { opacity: 0; transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
	.tisr-hd *, .tisr-hd *::before, .tisr-hd *::after { animation: none !important; transition: none !important; }
}

/* Tighter desktop menu on medium screens so long menus fit */
@media (max-width: 1440px) {
	.tisr-hd__menu { gap: 0; }
	.tisr-hd__link { gap: 7px; padding: 0 10px; font-size: 15px; }
	.tisr-hd__item.has-sub > .tisr-hd__link { padding-right: 4px; }
	.tisr-hd .tisr-hd__caret { width: 24px; margin-right: 2px; }
	.tisr-hd__inner { gap: 16px; }
}

@media (max-width: 1440px) {
	.tisr-hd.is-glass .tisr-hd__menu { gap: 2px; }
	.tisr-hd.is-glass .tisr-hd__link { padding: 0 13px; font-size: 15.5px; gap: 8px; }
	.tisr-hd.is-glass .tisr-hd__item.has-sub > .tisr-hd__link { padding-right: 6px; }
}
@media (max-width: 1240px) {
	.tisr-hd.is-glass .tisr-hd__link { padding: 0 10px; font-size: 15px; }
	.tisr-hd.is-glass .tisr-hd__ico { display: none; }
}

/* ---------- Mobile tweaks (the switch to the hamburger is set by the breakpoint setting) ---------- */
@media (max-width: 600px) {
	.tisr-hd__inner { gap: 12px; }
	.tisr-hd__logo img { height: calc(var(--tisr-hd-logo, 64px) * .78) !important; }
	.tisr-hd.is-scrolled .tisr-hd__logo img { height: calc(var(--tisr-hd-logo, 64px) * .68) !important; }
	.tisr-hd__icon { width: 44px; height: 44px; }
	.tisr-hd__icon::after { display: none; }
	.tisr-hd .tisr-hd__burger { width: 44px; height: 44px; }
	.tisr-hd .tisr-hd__burger span { left: 12px; }
	.tisr-hd .tisr-hd__burger span:nth-child(1) { top: 15px; }
	.tisr-hd .tisr-hd__burger span:nth-child(2) { top: 21px; }
	.tisr-hd .tisr-hd__burger span:nth-child(3) { top: 27px; }
}

/* Admin-only debug box */
.tisr-hd .tisr-hd__debug {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	max-width: 92vw;
	padding: 10px 14px;
	border: 1px dashed #dc2626;
	border-radius: 10px;
	background: #fff7f7;
	color: #7f1d1d;
	font: 12px/1.5 ui-monospace, Menlo, monospace;
	transform: translateX(-50%);
}
.tisr-hd__debug strong { width: 100%; font-family: inherit; }


/* =====================================================================
 * LIQUID GLASS STYLE (iOS-like floating capsule)
 * ================================================================== */
.tisr-hd.is-glass {
	--tisr-hd-h: 124px;
	--bar-h: 88px;
	--bar-h-s: 72px;
	--gap: 18px;
	--gap-s: 10px;
}
.tisr-hd.is-glass .tisr-hd__ambient {
	display: block;
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.tisr-hd.is-glass .tisr-hd__ambient span {
	position: absolute;
	border-radius: 50%;
	filter: blur(50px);
	animation: tisr-hd-drift 16s ease-in-out infinite alternate;
}
.tisr-hd.is-glass .tisr-hd__ambient span:nth-child(1) { width: 520px; height: 160px; left: 8%; top: -70px; background: color-mix(in srgb, var(--tisr-hd-brand) 16%, transparent); }
.tisr-hd.is-glass .tisr-hd__ambient span:nth-child(2) { width: 460px; height: 150px; right: 10%; top: -60px; background: color-mix(in srgb, var(--tisr-hd-gold) 22%, transparent); animation-delay: -6s; }

.tisr-hd.is-glass .tisr-hd__bar {
	top: var(--gap);
	left: 50%;
	right: auto;
	width: min(calc(var(--tisr-hd-width, 1240px) + 240px), calc(100vw - 48px));
	height: var(--bar-h);
	border-radius: 30px;
	background: linear-gradient(135deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .58) 55%, rgba(255, 255, 255, .72) 100%);
	-webkit-backdrop-filter: blur(22px) saturate(185%);
	backdrop-filter: blur(22px) saturate(185%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .95),
		inset 0 -1px 0 rgba(17, 24, 39, .05),
		0 1px 2px rgba(17, 24, 39, .06),
		0 14px 34px -16px rgba(17, 24, 39, .28),
		0 32px 60px -36px color-mix(in srgb, var(--tisr-hd-brand) 55%, transparent);
	transform: translateX(-50%);
	transition: height .4s cubic-bezier(.2, .7, .2, 1), top .4s cubic-bezier(.2, .7, .2, 1), background-color .4s, box-shadow .4s, width .4s;
}
.tisr-hd.is-glass.is-sticky .tisr-hd__bar { top: calc(var(--tisr-hd-top, 0px) + var(--gap)); }
.tisr-hd.is-glass.is-scrolled .tisr-hd__bar {
	height: var(--bar-h-s);
	background: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, .7) 100%);
	-webkit-backdrop-filter: blur(26px) saturate(200%);
	backdrop-filter: blur(26px) saturate(200%);
}
.tisr-hd.is-glass.is-sticky.is-scrolled .tisr-hd__bar { top: calc(var(--tisr-hd-top, 0px) + var(--gap-s)); }

/* Refraction rim */
.tisr-hd.is-glass .tisr-hd__bar::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1.2px;
	border-radius: inherit;
	background: linear-gradient(115deg,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 255, .25) 22%,
		color-mix(in srgb, var(--tisr-hd-brand) 30%, transparent) 48%,
		rgba(255, 255, 255, .15) 66%,
		color-mix(in srgb, var(--tisr-hd-gold) 45%, transparent) 88%,
		rgba(255, 255, 255, .9) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	z-index: 2;
}
/* Specular sheen that follows the pointer */
.tisr-hd.is-glass .tisr-hd__sheen {
	display: block;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}
.tisr-hd.is-glass .tisr-hd__sheen::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(280px 110px at var(--gx, 22%) 0%, rgba(255, 255, 255, .95), transparent 70%);
	opacity: .75;
	transition: background-position .2s;
}
.tisr-hd.is-glass .tisr-hd__sheen::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 52%;
	background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}
.tisr-hd.is-glass .tisr-hd__inner { position: relative; z-index: 3; max-width: none; gap: 20px; padding: 0 14px 0 14px; }
.tisr-hd .tisr-hd__nav { justify-content: flex-end; }
.tisr-hd.is-align-center .tisr-hd__nav { justify-content: center; }
.tisr-hd.is-align-left .tisr-hd__nav { justify-content: flex-start; }
.tisr-hd.is-glass .tisr-hd__menu { gap: 6px; }
.tisr-hd.is-glass .tisr-hd__link { height: 54px; padding: 0 18px; font-size: 16.5px; gap: 10px; border-radius: 18px; }
.tisr-hd.is-glass .tisr-hd__item.has-sub > .tisr-hd__link { padding-right: 8px; }
.tisr-hd.is-glass .tisr-hd__ico svg, .tisr-hd.is-glass .tisr-hd__ico .tisr-hd__svg { width: 22px !important; height: 22px !important; }
.tisr-hd.is-glass .tisr-hd__caret { height: 54px; }
.tisr-hd.is-glass .tisr-hd__icon { width: 54px; height: 54px; }
.tisr-hd.is-glass .tisr-hd__icon svg { width: 24px; height: 24px; }
.tisr-hd.is-glass .tisr-hd__line { display: none; }
/* Logo sits on a white "app icon" tile so logos with a white background look intentional */
.tisr-hd.is-glass .tisr-hd__logo {
	padding: 6px 12px;
	border-radius: 20px;
	background: #fff;
	box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17, 24, 39, .05), 0 8px 18px -10px rgba(17, 24, 39, .35);
	transition: transform .4s cubic-bezier(.34, 1.45, .55, 1), box-shadow .3s;
}
.tisr-hd.is-glass .tisr-hd__logo:hover { transform: translateY(-1px) scale(1.03); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17, 24, 39, .05), 0 12px 24px -12px rgba(17, 24, 39, .4); }
.tisr-hd.is-glass .tisr-hd__logo:hover img { transform: none; }
.tisr-hd.is-glass .tisr-hd__logo img { height: calc(var(--bar-h) - 26px) !important; max-height: none; }
.tisr-hd.is-glass.is-scrolled .tisr-hd__logo img { height: calc(var(--bar-h-s) - 22px) !important; }


/* Liquid pill that slides under the menu */
.tisr-hd.is-glass .tisr-hd__ink {
	height: 54px;
	margin-top: -27px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .7));
	box-shadow:
		inset 0 1px 0 #fff,
		inset 0 -2px 4px rgba(17, 24, 39, .04),
		0 0 0 1px rgba(17, 24, 39, .045),
		0 6px 14px -6px rgba(17, 24, 39, .22),
		0 12px 26px -14px color-mix(in srgb, var(--tisr-hd-brand) 55%, transparent);
	transition: transform .6s cubic-bezier(.34, 1.45, .55, 1), width .6s cubic-bezier(.34, 1.45, .55, 1), opacity .3s;
}
.tisr-hd.is-glass .tisr-hd__ink::after {
	content: "";
	position: absolute;
	left: 18%; right: 18%; bottom: 5px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--tisr-hd-brand), var(--tisr-hd-gold));
	opacity: 0;
	transition: opacity .3s;
}
.tisr-hd.is-glass .tisr-hd__ink.on-current::after { opacity: 1; }
.tisr-hd.is-glass .tisr-hd__item.is-current > .tisr-hd__link::after { display: none; }

.tisr-hd.is-glass .tisr-hd__link:hover { color: var(--tisr-hd-ink); }
.tisr-hd.is-glass .tisr-hd__item.is-current > .tisr-hd__link { color: var(--tisr-hd-brand); }


/* Glass contact button */
.tisr-hd.is-glass .tisr-hd__icon {
	border: 1px solid rgba(255, 255, 255, .9);
	background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6));
	box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17, 24, 39, .05), 0 8px 18px -10px rgba(17, 24, 39, .3);
}
.tisr-hd.is-glass .tisr-hd__icon:hover,
.tisr-hd.is-glass .tisr-hd__icon:focus-visible {
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	border-color: transparent;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 24px -12px var(--tisr-hd-brand);
}

/* Glass dropdown */
.tisr-hd.is-glass .tisr-hd__dropdown {
	top: calc(100% + 18px);
	border: 1px solid rgba(255, 255, 255, .85);
	border-radius: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .985), rgba(255, 255, 255, .95));
	-webkit-backdrop-filter: blur(36px) saturate(190%);
	backdrop-filter: blur(36px) saturate(190%);
	box-shadow:
		inset 0 1px 0 #fff,
		0 0 0 1px rgba(17, 24, 39, .04),
		0 30px 70px -28px rgba(17, 24, 39, .4),
		0 40px 80px -50px color-mix(in srgb, var(--tisr-hd-brand) 55%, transparent);
}
.tisr-hd.is-glass .tisr-hd__dropdown::before { top: -20px; height: 20px; }
.tisr-hd.is-glass .tisr-hd__dropdown::after { display: none; }
.tisr-hd.is-glass .tisr-hd__sublink:hover,
.tisr-hd.is-glass .tisr-hd__sublink:focus-visible {
	background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
	box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17, 24, 39, .05), 0 8px 18px -12px rgba(17, 24, 39, .3);
}

/* Glass drawer */
.tisr-hd.is-glass .tisr-hd__panel {
	top: 10px; right: 10px; bottom: 10px;
	border-radius: 26px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .84));
	-webkit-backdrop-filter: blur(30px) saturate(190%);
	backdrop-filter: blur(30px) saturate(190%);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: inset 0 1px 0 #fff, 0 30px 70px -20px rgba(17, 24, 39, .5);
	transform: translateX(calc(100% + 20px));
}
.tisr-hd.is-glass.is-open .tisr-hd__panel { transform: none; }

@keyframes tisr-hd-drift { from { transform: translate(0, 0); } to { transform: translate(60px, 10px); } }

/* Elementor editor: keep the header in normal flow so it never covers the editor UI */
body.elementor-editor-active .tisr-hd { z-index: 1; }
body.elementor-editor-active .tisr-hd.is-sticky .tisr-hd__bar { position: absolute; top: var(--gap, 0px); }
body.elementor-editor-active .tisr-hd.is-classic.is-sticky .tisr-hd__bar { top: 0; }


/* =====================================================================
 * v1.3.4 — theme-proof buttons + dropdown polish
 * ================================================================== */
/* Themes (e.g. Hello Elementor) style every <button>: neutralise that inside the header. */
.tisr-hd button {
	text-transform: none;
	letter-spacing: normal;
	font-weight: inherit;
	line-height: 1;
	box-shadow: none;
	min-height: 0;
}
.tisr-hd .tisr-hd__caret,
.tisr-hd .tisr-hd__caret:hover,
.tisr-hd .tisr-hd__caret:focus,
.tisr-hd .tisr-hd__caret:active,
.tisr-hd .tisr-hd__mcaret:focus,
.tisr-hd .tisr-hd__mcaret:active {
	border: 0 !important;
	outline: 0;
	box-shadow: none !important;
}
.tisr-hd .tisr-hd__caret,
.tisr-hd .tisr-hd__caret:hover,
.tisr-hd .tisr-hd__caret:focus,
.tisr-hd .tisr-hd__caret:active { background: transparent !important; color: currentColor; }
.tisr-hd .tisr-hd__item:hover > .tisr-hd__caret,
.tisr-hd .tisr-hd__item.is-open > .tisr-hd__caret,
.tisr-hd .tisr-hd__item.is-current > .tisr-hd__caret { color: var(--tisr-hd-brand); }
.tisr-hd .tisr-hd__caret:focus-visible { box-shadow: 0 0 0 2px var(--tisr-hd-ring) !important; border-radius: 8px; }
.tisr-hd .tisr-hd__caret svg { transition: transform .35s cubic-bezier(.34, 1.45, .55, 1); }

/* Solid dropdown (no page content showing through) */
.tisr-hd .tisr-hd__dropdown,
.tisr-hd.is-glass .tisr-hd__dropdown {
	background: #fff;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border: 1px solid rgba(17, 24, 39, .06);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, .9) inset,
		0 2px 6px rgba(17, 24, 39, .06),
		0 24px 60px -24px rgba(17, 24, 39, .35),
		0 30px 70px -40px color-mix(in srgb, var(--tisr-hd-brand) 45%, transparent);
	padding: 10px;
}
.tisr-hd .tisr-hd__dropdown::before { top: -22px; height: 22px; } /* hover bridge */
.tisr-hd .tisr-hd__ddhead {
	margin: -10px -10px 8px;
	padding: 16px 18px 14px;
	border-bottom: 1px solid rgba(17, 24, 39, .06);
	border-radius: 24px 24px 0 0;
	background: linear-gradient(135deg, color-mix(in srgb, var(--tisr-hd-brand) 7%, #fff), #fff 70%);
}

/* Items: clean rows, accent bar + arrow on hover */
.tisr-hd .tisr-hd__sublink {
	position: relative;
	padding: 10px 40px 10px 12px;
	border-radius: 14px;
	transition: background .2s, color .2s;
}
.tisr-hd .tisr-hd__sublink:hover,
.tisr-hd .tisr-hd__sublink:focus-visible,
.tisr-hd.is-glass .tisr-hd__sublink:hover,
.tisr-hd.is-glass .tisr-hd__sublink:focus-visible {
	background: color-mix(in srgb, var(--tisr-hd-brand) 6%, #fff);
	box-shadow: none;
	transform: none;
	color: var(--tisr-hd-brand);
}
.tisr-hd .tisr-hd__sublink::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	width: 3px; height: 0;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--tisr-hd-brand), var(--tisr-hd-gold));
	transform: translateY(-50%);
	transition: height .25s cubic-bezier(.2, .7, .2, 1);
}
.tisr-hd .tisr-hd__sublink:hover::before,
.tisr-hd .tisr-hd__sublink:focus-visible::before,
.tisr-hd .tisr-hd__sublist .is-current > .tisr-hd__sublink::before { height: 60%; }
.tisr-hd .tisr-hd__subarrow {
	position: absolute;
	right: 12px; top: 50%;
	display: flex;
	color: var(--tisr-hd-brand);
	opacity: 0;
	transform: translate(-6px, -50%);
	transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
}
.tisr-hd .tisr-hd__sublink:hover .tisr-hd__subarrow,
.tisr-hd .tisr-hd__sublink:focus-visible .tisr-hd__subarrow { opacity: 1; transform: translate(0, -50%); }
.tisr-hd .tisr-hd__sublink:hover .tisr-hd__subico,
.tisr-hd .tisr-hd__sublink:focus-visible .tisr-hd__subico {
	background: linear-gradient(135deg, var(--tisr-hd-brand), var(--tisr-hd-dark));
	color: #fff;
	transform: none;
	box-shadow: 0 8px 16px -8px var(--tisr-hd-brand);
}
.tisr-hd .tisr-hd__sublist .is-current > .tisr-hd__sublink { background: color-mix(in srgb, var(--tisr-hd-brand) 5%, #fff); color: var(--tisr-hd-brand); }

/* Staggered entrance of the items */
.tisr-hd .tisr-hd__sublist > li { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.tisr-hd .tisr-hd__item:hover > .tisr-hd__dropdown .tisr-hd__sublist > li,
.tisr-hd .tisr-hd__item.is-open > .tisr-hd__dropdown .tisr-hd__sublist > li,
.tisr-hd .tisr-hd__item:focus-within > .tisr-hd__dropdown .tisr-hd__sublist > li { opacity: 1; transform: none; }
.tisr-hd .tisr-hd__sublist > li:nth-child(2) { transition-delay: .03s; }
.tisr-hd .tisr-hd__sublist > li:nth-child(3) { transition-delay: .06s; }
.tisr-hd .tisr-hd__sublist > li:nth-child(4) { transition-delay: .09s; }
.tisr-hd .tisr-hd__sublist > li:nth-child(5) { transition-delay: .12s; }
.tisr-hd .tisr-hd__sublist > li:nth-child(n+6) { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .tisr-hd .tisr-hd__sublist > li { opacity: 1; transform: none; } }
.tisr-hd .tisr-hd__dropdown--c1 > .tisr-hd__sublist { grid-template-columns: minmax(0, 1fr); }
.tisr-hd .tisr-hd__sublink { width: 100%; }
.tisr-hd .tisr-hd__sublink::before { left: 3px; }

/* 1.3.6 — เมนูชั้นที่ 3 (ลูกของรายการใน dropdown): เรียงต่อลงมาใต้รายการแม่ */
.tisr-hd .tisr-hd__subitem { display: block; min-width: 0; }
.tisr-hd .tisr-hd__sublist.tisr-hd__sublist--deep {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
	max-height: none; overflow: visible;
	margin: 2px 0 6px 30px; padding: 0 0 0 12px;
	border-left: 2px solid var(--tisr-hd-line);
}
.tisr-hd .tisr-hd__sublist--deep > li { opacity: 1; transform: none; }
.tisr-hd .tisr-hd__sublist--deep .tisr-hd__sublink { padding-top: 7px; padding-bottom: 7px; }
.tisr-hd .tisr-hd__sublist--deep .tisr-hd__subico { width: 30px; height: 30px; border-radius: 10px; }
.tisr-hd .tisr-hd__sublist--deep .tisr-hd__subtxt strong { font-size: 14px; }
