/* =============================================================================
 * TOTAL Global Header 300 — v1.3.0 styles
 *
 * v1.3 architecture (new): both bars now share the same outer/inner split.
 *   - `.tgh-300__utility`     full-bg outer band
 *     `.tgh-300__util-inner`  width-capped inner content (max-width 1240px)
 *   - `.tgh-300__main`        full-bg outer band (padding controlled here)
 *     `.tgh-300__main-inner`  flex container, width-capped (matches util)
 * The Style → Container Width control writes max-width to BOTH `__util-inner`
 * and `__main-inner`, so the two bars always align edge-to-edge.
 *
 * v1.2 architecture (preserved): main-bar flex items consume CSS custom
 * properties for ordering, width, and push behavior:
 *   --tgh-od / --tgh-om  flex order  (desktop / mobile)
 *   --tgh-wd / --tgh-wm  flex-basis  (desktop / mobile)
 *   --tgh-mis / --tgh-mie  margin-inline-start/end (auto = push)
 *
 * Tokens (unchanged):
 *   Utility bar bg     #062B63
 *   Primary navy       #0A2D6D
 *   Icon-on-white      #0B2C67
 *   Border subtle      #E7E7E7
 * ===========================================================================*/

.tgh-300 {
	--tgh-motion-short:  200ms;
	--tgh-motion-medium: 280ms;
	--tgh-motion-drawer: 320ms;
	--tgh-ease:          cubic-bezier(0.22, 0.61, 0.36, 1);

	display: block;
	width: 100%;
	color: inherit;
	font-family: inherit;
	direction: inherit;
	box-sizing: border-box;
}
.tgh-300 *,
.tgh-300 *::before,
.tgh-300 *::after { box-sizing: border-box; }

/* ---- Sticky + shrink-on-scroll --------------------------------------- */
.tgh-300--sticky {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow var(--tgh-motion-medium) var(--tgh-ease);
}
.tgh-300--sticky.tgh-300--is-shrunk {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.tgh-300--shrink-on-scroll.tgh-300--is-shrunk .tgh-300__main {
	padding-block: 12px;
	transition: padding var(--tgh-motion-medium) var(--tgh-ease);
}
.tgh-300--shrink-on-scroll.tgh-300--is-shrunk .tgh-300__main-inner {
	min-height: 72px;
	transition: min-height var(--tgh-motion-medium) var(--tgh-ease);
}
.tgh-300--shrink-on-scroll.tgh-300--is-shrunk .tgh-300__logo-img {
	max-height: 40px;
	transition: max-height var(--tgh-motion-medium) var(--tgh-ease);
}
.tgh-300--shrink-on-scroll.tgh-300--is-shrunk .tgh-300__tagline {
	display: none;
}

/* ---- Skip link ------------------------------------------------------- */
.tgh-300__skip {
	position: absolute;
	inset-inline-start: 0;
	top: -100px;
	z-index: 200;
	padding: 12px 18px;
	background: #0A2D6D;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 700;
	transition: top var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__skip:focus-visible { top: 0; outline: 2px solid #0A2D6D; outline-offset: -2px; }

/* =============================================================================
 * UTILITY BAR — 3-slot grid
 * =========================================================================== */
.tgh-300__utility {
	background-color: #062B63;
	color: #FFFFFF;
	padding: 10px 24px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	min-height: 38px;
}
.tgh-300__util-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
}
.tgh-300__util-slot {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}
.tgh-300__util-slot--start  { justify-content: flex-start; }
.tgh-300__util-slot--center { justify-content: center; }
.tgh-300__util-slot--end    { justify-content: flex-end; }

.tgh-300__util-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	flex-shrink: 0;
}
a.tgh-300__util-item,
a.tgh-300__util-link { text-decoration: none; color: inherit; }
a.tgh-300__util-item:hover .tgh-300__util-text,
a.tgh-300__util-link:hover .tgh-300__util-text { text-decoration: underline; }

.tgh-300__util-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	color: #FFFFFF;
	opacity: 0.95;
}
.tgh-300__util-ico i { font-size: 14px; line-height: 1; }
.tgh-300__util-ico svg { width: 14px; height: 14px; }
.tgh-300__util-ico--filled {
	width: 28px;
	height: 28px;
	background-color: rgba(255, 255, 255, 0.10);
	border-radius: 9999px;
	opacity: 1;
}
.tgh-300__util-ico--filled i { font-size: 13px; }
.tgh-300__util-ico--filled svg { width: 13px; height: 13px; }

/* =============================================================================
 * MAIN BAR — flex with CSS-var-driven ordering, width, push
 *
 * The OUTER `.tgh-300__main` is the full-bg edge-to-edge band.
 * The INNER `.tgh-300__main-inner` is the flex container that holds the
 * blocks and is capped by the Style → Container Width control. Same
 * mechanism the utility bar uses, so the two bars always edge-align.
 * =========================================================================== */
.tgh-300__main {
	background-color: #FFFFFF;
	border-bottom: 1px solid #E7E7E7;
	padding: 16px 24px;
	transition: padding var(--tgh-motion-medium) var(--tgh-ease),
	            border-radius var(--tgh-motion-medium) var(--tgh-ease);
}
.tgh-300__main-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 88px;
	max-width: 1240px; /* default; overridden by Container Width control */
	margin: 0 auto;
	transition: min-height var(--tgh-motion-medium) var(--tgh-ease);
}

/* Each block in the main bar reads its order / width / margins from CSS
 * custom properties set inline by the render() PHP. Desktop defaults are
 * applied here; mobile overrides come through the breakpoint media block. */
.tgh-300__block {
	display: flex;
	align-items: center;
	min-width: 0;
	order:               var(--tgh-od, 1);
	flex-basis:          var(--tgh-wd, auto);
	margin-inline-start: var(--tgh-mis, 0);
	margin-inline-end:   var(--tgh-mie, 0);
}
.tgh-300__block--logo { flex-shrink: 1; }
.tgh-300__block--cir,
.tgh-300__block--qc,
.tgh-300__block--ham { flex-shrink: 0; }

/* Logo lockup (image + tagline stacked) */
.tgh-300__logo-lockup {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	min-width: 0;
}
[dir="rtl"] .tgh-300__logo-lockup { align-items: flex-end; }
.tgh-300__logo-link {
	display: block;
	margin-bottom: 2px;
	line-height: 0;
}
.tgh-300__logo-img {
	display: block;
	width: 150px;
	max-width: 100%;
	max-height: 48px;
	height: auto;
	object-fit: contain;
}
.tgh-300__tagline {
	margin: 0;
	color: #4B4B52;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

/* Quick consult */
.tgh-300__qc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 22px;
	background-color: #0A2D6D;
	color: #FFFFFF;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease),
	            transform var(--tgh-motion-short) var(--tgh-ease);
	white-space: nowrap;
}
.tgh-300__qc-btn:hover { background-color: #123A86; }
.tgh-300__qc-btn:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }
.tgh-300__qc-btn:active { transform: translateY(1px); }

/* Contact circles */
.tgh-300__circles {
	display: flex;
	align-items: center;
	gap: 12px;
}
.tgh-300__circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	background-color: #FFFFFF;
	border: 1px solid #E7E7E7;
	color: #0B2C67;
	text-decoration: none;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease),
	            border-color var(--tgh-motion-short) var(--tgh-ease),
	            transform var(--tgh-motion-short) var(--tgh-ease),
	            box-shadow var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__circle svg { width: 18px; height: 18px; display: block; }
.tgh-300__circle:hover {
	background-color: #F5F7FB;
	border-color: #D7DDE8;
	transform: translateY(-1px);
}
.tgh-300__circle:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }
.tgh-300__circle--whatsapp { color: #25D366; }
.tgh-300__circle--whatsapp:hover {
	background-color: #F5FFF8;
	border-color: #C5E9D2;
}

/* Hamburger */
.tgh-300__ham {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background: transparent;
	border: 0;
	border-radius: 10px;
	padding: 0;
	cursor: pointer;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__ham:hover { background-color: #F5F7FB; }
.tgh-300__ham:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }
.tgh-300__ham-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: #0A2D6D;
	border-radius: 2px;
	transition: transform var(--tgh-motion-short) var(--tgh-ease),
	            opacity var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__ham[aria-expanded="true"] .tgh-300__ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tgh-300__ham[aria-expanded="true"] .tgh-300__ham-bar:nth-child(2) { opacity: 0; }
.tgh-300__ham[aria-expanded="true"] .tgh-300__ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================================
 * DRAWER
 * =========================================================================== */
.tgh-300__overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	z-index: 999;
	opacity: 0;
	transition: opacity var(--tgh-motion-drawer) var(--tgh-ease);
}
.tgh-300__overlay.is-open { opacity: 1; }

.tgh-300__drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	width: 360px;
	max-width: 100vw;
	background-color: #FFFFFF;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition: transform var(--tgh-motion-drawer) var(--tgh-ease);
}
.tgh-300__drawer[aria-hidden="true"] { pointer-events: none; }

.tgh-300__drawer--start {
	inset-inline-start: 0;
	transform: translateX(-100%);
	border-radius: 0 24px 24px 0;
	box-shadow: 10px 0 40px rgba(0, 0, 0, 0.18);
}
[dir="rtl"] .tgh-300__drawer--start {
	transform: translateX(100%);
	border-radius: 24px 0 0 24px;
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
}
.tgh-300__drawer--start.is-open { transform: translateX(0); }

.tgh-300__drawer--end {
	inset-inline-end: 0;
	transform: translateX(100%);
	border-radius: 24px 0 0 24px;
	box-shadow: -10px 0 40px rgba(0, 0, 0, 0.18);
}
[dir="rtl"] .tgh-300__drawer--end {
	transform: translateX(-100%);
	border-radius: 0 24px 24px 0;
	box-shadow: 10px 0 40px rgba(0, 0, 0, 0.18);
}
.tgh-300__drawer--end.is-open { transform: translateX(0); }

.tgh-300__drawer-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 16px 20px;
	border-bottom: 1px solid #F1F1F1;
	flex-shrink: 0;
}
.tgh-300__drawer-close {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 0;
	color: #0A2D6D;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 8px;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__drawer-close:hover { background-color: #F5F7FB; }
.tgh-300__drawer-close:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }

/* ---- Drawer · Primary Items ----------------------------------------- */
.tgh-300__primary {
	display: flex;
	padding: 16px 20px;
	border-bottom: 1px solid #F1F1F1;
	flex-shrink: 0;
}
.tgh-300__primary--grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}
.tgh-300__primary--list {
	flex-direction: column;
	gap: 4px;
	padding: 8px 20px 16px;
}
.tgh-300__primary-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 12px;
	background-color: #F5F7FB;
	color: #0A2D6D;
	text-decoration: none;
	border-radius: 12px;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease),
	            transform var(--tgh-motion-short) var(--tgh-ease);
	min-height: 64px;
}
.tgh-300__primary--grid .tgh-300__primary-tile {
	flex-direction: column;
	text-align: center;
}
.tgh-300__primary--list .tgh-300__primary-tile {
	justify-content: flex-start;
	padding: 12px 16px;
	min-height: 52px;
}
.tgh-300__primary-tile:hover {
	background-color: #E5EBF4;
	transform: translateY(-1px);
}
.tgh-300__primary-tile:focus-visible {
	outline: 2px solid #0A2D6D;
	outline-offset: 2px;
}
.tgh-300__primary-tile-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tgh-300__primary-tile-ico i   { font-size: 22px; line-height: 1; }
.tgh-300__primary-tile-ico svg { width: 22px; height: 22px; }
.tgh-300__primary-tile-label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

/* ---- Drawer · WP Menu ---------------------------------------------- */
.tgh-300__drawer-menu {
	flex: 1 1 auto;
	padding: 8px 0;
}
.tgh-300__drawer-menu .tgh-300__menu-list,
.tgh-300__drawer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tgh-300__drawer-menu li {
	border-bottom: 1px solid #F1F1F1;
	position: relative;
}
.tgh-300__drawer-menu li:last-child { border-bottom: 0; }
.tgh-300__drawer-menu > ul > li > a,
.tgh-300__drawer-menu .menu-item > a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 14px 20px;
	color: #1C1C1C;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	transition: color var(--tgh-motion-short) var(--tgh-ease),
	            background-color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__drawer-menu a:hover,
.tgh-300__drawer-menu a:focus-visible,
.tgh-300__drawer-menu .current-menu-item > a,
.tgh-300__drawer-menu .current-menu-ancestor > a {
	color: #0A2D6D;
	background-color: #F5F7FB;
}
.tgh-300__drawer-menu .tgh-300__sub-toggle {
	position: absolute;
	inset-inline-end: 12px;
	top: 6px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 0;
	border-radius: 8px;
	color: #0A2D6D;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__drawer-menu .tgh-300__sub-toggle:hover { background-color: #EEF2F8; }
.tgh-300__drawer-menu .tgh-300__sub-toggle:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }
.tgh-300__drawer-menu .tgh-300__sub-toggle svg {
	width: 18px;
	height: 18px;
	transition: transform 260ms ease;
}
.tgh-300__drawer-menu .tgh-300__sub-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}
.tgh-300__drawer-menu .menu-item-has-children > a { padding-inline-end: 56px; }
.tgh-300__drawer-menu .sub-menu {
	background-color: #F8FAFD;
	border-top: 1px solid #F1F1F1;
	max-height: 0;
	overflow: hidden;
	transition: max-height 260ms ease;
}
.tgh-300__drawer-menu li.is-expanded > .sub-menu {
	max-height: 1200px;
}
.tgh-300__drawer-menu .sub-menu a {
	min-height: 44px;
	padding: 12px 24px;
	padding-inline-start: 40px;
	font-size: 15px;
	font-weight: 400;
	color: #4A4A4A;
}
.tgh-300__drawer-menu .sub-menu li {
	border-bottom-color: rgba(0, 0, 0, 0.04);
}
.tgh-300__menu-empty {
	margin: 0;
	padding: 24px;
	color: #4B4B52;
	font-size: 14px;
	text-align: center;
}

/* ---- Drawer · Social Icons ----------------------------------------- */
.tgh-300__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #F1F1F1;
	flex-shrink: 0;
}
.tgh-300__soc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	background-color: #F5F7FB;
	color: #0A2D6D;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease),
	            transform var(--tgh-motion-short) var(--tgh-ease),
	            color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__soc-btn:hover { transform: translateY(-2px); }
.tgh-300__soc-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.tgh-300__soc-btn i { font-size: 16px; line-height: 1; }
.tgh-300__soc-btn svg { width: 16px; height: 16px; }
.tgh-300__social--brand .tgh-300__soc-btn:hover {
	filter: brightness(1.1);
}

/* ---- Drawer · CTA -------------------------------------------------- */
.tgh-300__dcta-wrap {
	padding: 12px 20px 16px;
	flex-shrink: 0;
}
.tgh-300__dcta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	background-color: #0A2D6D;
	color: #FFFFFF;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	min-height: 56px;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease),
	            transform var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__dcta:hover { background-color: #123A86; }
.tgh-300__dcta:active { transform: translateY(1px); }
.tgh-300__dcta:focus-visible { outline: 2px solid #0A2D6D; outline-offset: 2px; }
.tgh-300__dcta-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.tgh-300__dcta-ico i   { font-size: 20px; line-height: 1; }
.tgh-300__dcta-ico svg { width: 20px; height: 20px; }
.tgh-300__dcta-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}
.tgh-300__dcta-text { font-size: 16px; font-weight: 700; line-height: 1.3; }
.tgh-300__dcta-sub  { font-size: 12px; font-weight: 500; opacity: 0.85; margin-top: 2px; }

/* ---- Drawer · Contact ---------------------------------------------- */
.tgh-300__drawer-contact {
	border-top: 1px solid #F1F1F1;
	padding: 16px 0;
	flex-shrink: 0;
}
.tgh-300__drawer-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 24px;
	color: #1C1C1C;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background-color var(--tgh-motion-short) var(--tgh-ease);
}
.tgh-300__drawer-row:hover { background-color: #F5F7FB; }
.tgh-300__drawer-row--static { cursor: default; }
.tgh-300__drawer-row--static:hover { background-color: transparent; }
.tgh-300__drawer-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #0A2D6D;
	flex-shrink: 0;
}
.tgh-300__drawer-ico i   { font-size: 18px; }
.tgh-300__drawer-ico svg { width: 18px; height: 18px; }

/* =============================================================================
 * RESPONSIVE — switch CSS custom-prop fallbacks to mobile variants
 *
 * Each breakpoint shares the same block: swap order/width to mobile values,
 * collapse the utility bar gap, hide desktop-only blocks, apply floating-card
 * radius. Authored as one rule per breakpoint to keep specificity predictable.
 * =========================================================================== */

/* Reusable mobile rules — applied via the [data-breakpoint] attribute. */
@media (max-width: 1023px) {
	.tgh-300[data-breakpoint="1024"] .tgh-300__block,
	.tgh-300:not([data-breakpoint]) .tgh-300__block {
		order:      var(--tgh-om, 1);
		flex-basis: var(--tgh-wm, auto);
	}
	.tgh-300[data-breakpoint="1024"] .tgh-300__main,
	.tgh-300:not([data-breakpoint]) .tgh-300__main { padding: 12px 16px; }
	.tgh-300[data-breakpoint="1024"] .tgh-300__main-inner,
	.tgh-300:not([data-breakpoint]) .tgh-300__main-inner { min-height: 72px; gap: 8px; }
	.tgh-300[data-breakpoint="1024"] .tgh-300__utility,
	.tgh-300:not([data-breakpoint]) .tgh-300__utility { padding: 8px 16px; min-height: 42px; font-size: 12px; }
	.tgh-300[data-breakpoint="1024"] .tgh-300__util-slot,
	.tgh-300:not([data-breakpoint]) .tgh-300__util-slot { gap: 8px; }
	.tgh-300[data-breakpoint="1024"] .tgh-300__util-inner,
	.tgh-300:not([data-breakpoint]) .tgh-300__util-inner { gap: 8px; }
	.tgh-300[data-breakpoint="1024"] .tgh-300__logo-img,
	.tgh-300:not([data-breakpoint]) .tgh-300__logo-img { width: 110px; max-height: 40px; }

	/* Floating-card effect on the main bar: rounded inline-end bottom corner.
	   border-end-end-radius is the logical-property equivalent of:
	     LTR → bottom-right
	     RTL → bottom-left  ← matches the user screenshot */
	.tgh-300--mobile-card[data-breakpoint="1024"] .tgh-300__main,
	.tgh-300--mobile-card:not([data-breakpoint]) .tgh-300__main {
		border-end-end-radius: 24px;
		border-end-start-radius: 0;
		border-bottom: 0;
	}
}

@media (max-width: 767px) {
	.tgh-300[data-breakpoint="768"] .tgh-300__block {
		order: var(--tgh-om, 1);
		flex-basis: var(--tgh-wm, auto);
	}
	.tgh-300[data-breakpoint="768"] .tgh-300__main       { padding: 12px 16px; }
	.tgh-300[data-breakpoint="768"] .tgh-300__main-inner { min-height: 72px; gap: 8px; }
	.tgh-300[data-breakpoint="768"] .tgh-300__utility { padding: 8px 16px; min-height: 42px; font-size: 12px; }
	.tgh-300[data-breakpoint="768"] .tgh-300__util-slot  { gap: 8px; }
	.tgh-300[data-breakpoint="768"] .tgh-300__util-inner { gap: 8px; }
	.tgh-300[data-breakpoint="768"] .tgh-300__logo-img { width: 110px; max-height: 40px; }
	.tgh-300--mobile-card[data-breakpoint="768"] .tgh-300__main {
		border-end-end-radius: 24px;
		border-end-start-radius: 0;
		border-bottom: 0;
	}
}

@media (max-width: 991px) {
	.tgh-300[data-breakpoint="992"] .tgh-300__block {
		order: var(--tgh-om, 1);
		flex-basis: var(--tgh-wm, auto);
	}
	.tgh-300[data-breakpoint="992"] .tgh-300__main       { padding: 12px 16px; }
	.tgh-300[data-breakpoint="992"] .tgh-300__main-inner { min-height: 72px; gap: 8px; }
	.tgh-300[data-breakpoint="992"] .tgh-300__utility { padding: 8px 16px; min-height: 42px; font-size: 12px; }
	.tgh-300[data-breakpoint="992"] .tgh-300__util-slot  { gap: 8px; }
	.tgh-300[data-breakpoint="992"] .tgh-300__util-inner { gap: 8px; }
	.tgh-300[data-breakpoint="992"] .tgh-300__logo-img { width: 110px; max-height: 40px; }
	.tgh-300--mobile-card[data-breakpoint="992"] .tgh-300__main {
		border-end-end-radius: 24px;
		border-end-start-radius: 0;
		border-bottom: 0;
	}
}

@media (max-width: 1199px) {
	.tgh-300[data-breakpoint="1200"] .tgh-300__block {
		order: var(--tgh-om, 1);
		flex-basis: var(--tgh-wm, auto);
	}
	.tgh-300[data-breakpoint="1200"] .tgh-300__main       { padding: 12px 16px; }
	.tgh-300[data-breakpoint="1200"] .tgh-300__main-inner { min-height: 72px; gap: 8px; }
	.tgh-300[data-breakpoint="1200"] .tgh-300__utility { padding: 8px 16px; min-height: 42px; font-size: 12px; }
	.tgh-300[data-breakpoint="1200"] .tgh-300__util-slot  { gap: 8px; }
	.tgh-300[data-breakpoint="1200"] .tgh-300__util-inner { gap: 8px; }
	.tgh-300[data-breakpoint="1200"] .tgh-300__logo-img { width: 110px; max-height: 40px; }
	.tgh-300--mobile-card[data-breakpoint="1200"] .tgh-300__main {
		border-end-end-radius: 24px;
		border-end-start-radius: 0;
		border-bottom: 0;
	}
}

/* ---- Element-level visibility (per-row + per-block) ------------------ */
/* Desktop: hide anything flagged hide-desktop. */
@media (min-width: 1024px) { .tgh-300[data-breakpoint="1024"] .tgh-300--hide-desktop,
                             .tgh-300:not([data-breakpoint]) .tgh-300--hide-desktop { display: none !important; } }
@media (min-width: 768px)  { .tgh-300[data-breakpoint="768"]  .tgh-300--hide-desktop { display: none !important; } }
@media (min-width: 992px)  { .tgh-300[data-breakpoint="992"]  .tgh-300--hide-desktop { display: none !important; } }
@media (min-width: 1200px) { .tgh-300[data-breakpoint="1200"] .tgh-300--hide-desktop { display: none !important; } }

/* Mobile: hide anything flagged hide-mobile. */
@media (max-width: 1023px) { .tgh-300[data-breakpoint="1024"] .tgh-300--hide-mobile,
                             .tgh-300:not([data-breakpoint]) .tgh-300--hide-mobile { display: none !important; } }
@media (max-width: 767px)  { .tgh-300[data-breakpoint="768"]  .tgh-300--hide-mobile { display: none !important; } }
@media (max-width: 991px)  { .tgh-300[data-breakpoint="992"]  .tgh-300--hide-mobile { display: none !important; } }
@media (max-width: 1199px) { .tgh-300[data-breakpoint="1200"] .tgh-300--hide-mobile { display: none !important; } }

/* ---- prefers-reduced-motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.tgh-300,
	.tgh-300 *,
	.tgh-300 *::before {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}
	.tgh-300__drawer-menu .tgh-300__sub-toggle svg { transition: none; }
	.tgh-300__drawer-menu .sub-menu { transition: none; }
}

/* ---- body scroll lock when drawer is open --------------------------- */
body.tgh-300-no-scroll { overflow: hidden; }
