/* GPDM native responsive header — v1.8.1 */
:root {
	--gpdm-header-bg: #ffffff;
	--gpdm-header-ink: #111827;
	--gpdm-header-accent: #e11d2e;
	--gpdm-header-topbar: #0b1626;
	--gpdm-header-drawer: #0b1626;
	--gpdm-header-max: 1320px;
	--gpdm-header-height: 76px;
	--gpdm-header-radius: 999px;
}

/* Remove the old visual header while preserving Astra's page wrappers. */
body.gpdm-native-header-enabled #masthead,
body.gpdm-native-header-enabled .elementor-location-header,
body.gpdm-native-header-enabled header[data-elementor-type="header"],
body.gpdm-native-header-enabled .hfe-header {
	display: none !important;
}

body.gpdm-native-header-enabled {
	--gpdm-header-offset: 0px;
}

body.admin-bar.gpdm-native-header-enabled {
	--gpdm-header-offset: 32px;
}

.gpdm-site-header-wrap,
.gpdm-site-header-wrap *,
.gpdm-mobile-drawer,
.gpdm-mobile-drawer * {
	box-sizing: border-box;
}

.gpdm-site-header-wrap {
	position: sticky;
	top: var(--gpdm-header-offset);
	z-index: 99980;
	width: 100%;
	font-family: inherit;
}

.gpdm-header-container {
	width: min(calc(100% - 40px), var(--gpdm-header-max));
	margin-inline: auto;
}

.gpdm-header-topbar {
	min-height: 30px;
	background: var(--gpdm-header-topbar);
	color: rgba(255,255,255,.78);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.gpdm-header-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 30px;
}

.gpdm-site-header {
	position: relative;
	border-bottom: 1px solid rgba(15,23,42,.09);
	background: var(--gpdm-header-bg);
	background: color-mix(in srgb, var(--gpdm-header-bg) 94%, transparent);
	box-shadow: 0 5px 18px rgba(15,23,42,.06);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transition: box-shadow .2s ease, background .2s ease;
}

.gpdm-site-header-wrap.is-condensed .gpdm-site-header {
	box-shadow: 0 8px 26px rgba(15,23,42,.11);
}

.gpdm-header-main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: var(--gpdm-header-height);
	transition: min-height .2s ease;
}

.gpdm-site-header-wrap.is-condensed .gpdm-header-main {
	min-height: 66px;
}

.gpdm-header-brand,
.gpdm-drawer-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	white-space: nowrap;
}

.gpdm-header-brand__wordmark {
	display: inline-flex;
	align-items: baseline;
	font-size: clamp(30px, 2.35vw, 39px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.065em;
}

.gpdm-header-brand__dark,
.gpdm-drawer-brand__dark {
	color: var(--gpdm-header-ink);
}

.gpdm-header-brand__accent,
.gpdm-drawer-brand__accent {
	color: var(--gpdm-header-accent);
}

.gpdm-header-brand__image .custom-logo-link {
	display: flex;
	align-items: center;
}

.gpdm-header-brand__image img {
	display: block;
	width: auto;
	max-width: 245px;
	max-height: 46px;
}

.gpdm-desktop-navigation {
	min-width: 0;
}

.gpdm-header-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gpdm-header-menu--desktop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 1.8vw, 31px);
}

.gpdm-header-menu--desktop > li {
	position: relative;
	margin: 0;
}

.gpdm-header-menu--desktop > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52px;
	color: var(--gpdm-header-ink);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .035em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .18s ease;
}

.gpdm-header-menu--desktop > li > a::after {
	position: absolute;
	right: 0;
	bottom: 8px;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--gpdm-header-accent);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .18s ease;
}

.gpdm-header-menu--desktop > li:hover > a,
.gpdm-header-menu--desktop > li:focus-within > a,
.gpdm-header-menu--desktop > .current-menu-item > a,
.gpdm-header-menu--desktop > .current-menu-ancestor > a {
	color: var(--gpdm-header-accent);
}

.gpdm-header-menu--desktop > li:hover > a::after,
.gpdm-header-menu--desktop > li:focus-within > a::after,
.gpdm-header-menu--desktop > .current-menu-item > a::after,
.gpdm-header-menu--desktop > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.gpdm-header-menu--desktop .sub-menu {
	position: absolute;
	top: calc(100% - 4px);
	left: 50%;
	z-index: 30;
	visibility: hidden;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	border: 1px solid rgba(15,23,42,.09);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 48px rgba(15,23,42,.16);
	list-style: none;
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.gpdm-header-menu--desktop li:hover > .sub-menu,
.gpdm-header-menu--desktop li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

.gpdm-header-menu--desktop .sub-menu li {
	position: relative;
	margin: 0;
}

.gpdm-header-menu--desktop .sub-menu a {
	display: block;
	padding: 11px 12px;
	border-radius: 9px;
	color: #182033;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
	white-space: normal;
}

.gpdm-header-menu--desktop .sub-menu a:hover,
.gpdm-header-menu--desktop .sub-menu a:focus {
	background: #f4f6f9;
	color: var(--gpdm-header-accent);
}

.gpdm-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}

.gpdm-header-action,
.gpdm-drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--gpdm-header-radius);
	background: transparent;
	color: var(--gpdm-header-ink);
	text-decoration: none;
	cursor: pointer;
	transition: color .18s ease, background .18s ease, transform .18s ease;
	-webkit-appearance: none;
	appearance: none;
}

.gpdm-header-action:hover,
.gpdm-header-action:focus-visible {
	background: #f1f3f6;
	color: var(--gpdm-header-accent);
	transform: translateY(-1px);
}

.gpdm-header-action svg,
.gpdm-drawer-close svg,
.gpdm-drawer-search svg {
	display: block;
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.gpdm-theme-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gpdm-theme-symbol svg {
	width: 21px;
	height: 21px;
}

.gpdm-theme-symbol--moon svg path {
	fill: currentColor;
	stroke: none;
}

.gpdm-theme-symbol--sun {
	display: none;
}

html[data-gpdm-theme="dark"] .gpdm-theme-symbol--moon {
	display: none;
}

html[data-gpdm-theme="dark"] .gpdm-theme-symbol--sun {
	display: inline-flex;
}

.gpdm-header-subscribe,
.gpdm-drawer-subscribe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: var(--gpdm-header-radius);
	background: var(--gpdm-header-accent);
	color: #fff !important;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .055em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: filter .18s ease, transform .18s ease;
}

.gpdm-header-subscribe:hover,
.gpdm-header-subscribe:focus-visible,
.gpdm-drawer-subscribe:hover,
.gpdm-drawer-subscribe:focus-visible {
	filter: brightness(.92);
	transform: translateY(-1px);
}

.gpdm-menu-toggle {
	display: none;
}

.gpdm-menu-lines {
	display: grid;
	gap: 5px;
	width: 23px;
}

.gpdm-menu-lines span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.gpdm-menu-lines span:nth-child(2) {
	width: 17px;
}

.gpdm-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 99988;
	background: rgba(3,9,20,.58);
	opacity: 0;
	transition: opacity .22s ease;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.gpdm-drawer-overlay.is-visible {
	opacity: 1;
}

.gpdm-mobile-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 99989;
	display: flex;
	flex-direction: column;
	width: min(88vw, 390px);
	max-width: 100%;
	background: var(--gpdm-header-drawer);
	color: #fff;
	box-shadow: 24px 0 70px rgba(0,0,0,.32);
	transform: translateX(-104%);
	transition: transform .24s cubic-bezier(.2,.8,.2,1);
}

.gpdm-mobile-drawer.is-open {
	transform: translateX(0);
}

.gpdm-mobile-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 78px;
	padding: 0 22px;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.gpdm-drawer-brand {
	font-size: 30px;
	font-weight: 650;
	letter-spacing: -.06em;
}

.gpdm-drawer-brand__dark {
	color: #fff;
}

.gpdm-drawer-close {
	border: 1px solid rgba(255,255,255,.18);
	color: #fff;
}

.gpdm-mobile-drawer__body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.gpdm-drawer-search {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 50px;
	margin: 0 0 24px;
	padding: 0 16px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 13px;
	background: rgba(255,255,255,.08);
	color: rgba(255,255,255,.82);
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.gpdm-drawer-search:hover,
.gpdm-drawer-search:focus-visible {
	border-color: rgba(255,255,255,.38);
	background: rgba(255,255,255,.12);
	color: #fff;
}

.gpdm-header-menu--drawer > li {
	position: relative;
	margin: 0;
	border-bottom: 1px solid rgba(255,255,255,.1);
}

.gpdm-header-menu--drawer a {
	display: block;
	padding: 16px 44px 16px 2px;
	color: #fff;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: .025em;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
}

.gpdm-header-menu--drawer .current-menu-item > a,
.gpdm-header-menu--drawer .current-menu-ancestor > a {
	color: #ff6572;
}

.gpdm-submenu-toggle {
	position: absolute;
	top: 8px;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.gpdm-submenu-toggle span:first-child {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px,-2px);
	transition: transform .18s ease;
}

.menu-item-has-children.is-submenu-open > .gpdm-submenu-toggle span:first-child {
	transform: rotate(225deg) translate(-1px,-1px);
}

.gpdm-header-menu--drawer .sub-menu {
	display: none;
	margin: 0 0 10px;
	padding: 0 0 0 15px;
	border-left: 1px solid rgba(255,255,255,.18);
	list-style: none;
}

.gpdm-header-menu--drawer .is-submenu-open > .sub-menu {
	display: block;
}

.gpdm-header-menu--drawer .sub-menu li {
	border: 0;
}

.gpdm-header-menu--drawer .sub-menu a {
	padding: 10px 10px;
	color: rgba(255,255,255,.74);
	font-size: 13px;
	font-weight: 650;
	text-transform: none;
}

.gpdm-drawer-subscribe {
	width: 100%;
	margin-top: 24px;
	border-radius: 12px;
}

.gpdm-mobile-drawer__footer {
	padding: 20px 22px 24px;
	border-top: 1px solid rgba(255,255,255,.12);
}

.gpdm-drawer-follow {
	margin: 0 0 11px;
	color: rgba(255,255,255,.64);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.gpdm-drawer-socials {
	display: flex;
	gap: 9px;
}

.gpdm-drawer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 50%;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.gpdm-drawer-socials svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.gpdm-drawer-copyright {
	margin: 14px 0 0;
	color: rgba(255,255,255,.48);
	font-size: 11px;
}

body.gpdm-drawer-open {
	overflow: hidden;
}

html[data-gpdm-theme="dark"] .gpdm-site-header {
	border-color: rgba(255,255,255,.09);
	background: rgba(11,18,32,.95);
	box-shadow: 0 7px 24px rgba(0,0,0,.28);
}

html[data-gpdm-theme="dark"] .gpdm-header-brand__dark,
html[data-gpdm-theme="dark"] .gpdm-header-menu--desktop > li > a,
html[data-gpdm-theme="dark"] .gpdm-header-action {
	color: #f8fafc;
}

html[data-gpdm-theme="dark"] .gpdm-header-action:hover,
html[data-gpdm-theme="dark"] .gpdm-header-action:focus-visible {
	background: rgba(255,255,255,.09);
	color: #ff6674;
}

html[data-gpdm-theme="dark"] .gpdm-header-menu--desktop .sub-menu {
	border-color: rgba(255,255,255,.1);
	background: #121b2b;
}

html[data-gpdm-theme="dark"] .gpdm-header-menu--desktop .sub-menu a {
	color: #e5e7eb;
}

html[data-gpdm-theme="dark"] .gpdm-header-menu--desktop .sub-menu a:hover,
html[data-gpdm-theme="dark"] .gpdm-header-menu--desktop .sub-menu a:focus {
	background: rgba(255,255,255,.08);
	color: #ff6674;
}

@media (max-width: 1099px) {
	:root {
		--gpdm-header-height: 70px;
	}

	.gpdm-header-topbar,
	.gpdm-desktop-navigation,
	.gpdm-header-subscribe {
		display: none;
	}

	.gpdm-header-container {
		width: min(calc(100% - 24px), var(--gpdm-header-max));
	}

	.gpdm-header-main {
		grid-template-columns: 48px minmax(0, 1fr) auto;
		gap: 8px;
		min-height: var(--gpdm-header-height);
	}

	.gpdm-menu-toggle {
		display: inline-flex;
	}

	.gpdm-header-brand {
		justify-self: center;
		min-width: 0;
	}

	.gpdm-header-brand__wordmark {
		font-size: clamp(27px, 6.4vw, 36px);
	}

	.gpdm-header-brand__image img {
		max-width: 220px;
		max-height: 42px;
	}

	.gpdm-header-actions {
		gap: 2px;
	}

	.gpdm-header-action {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 782px) {
	body.admin-bar.gpdm-native-header-enabled {
		--gpdm-header-offset: 46px;
	}
}

@media (max-width: 560px) {
	.gpdm-header-container {
		width: calc(100% - 14px);
	}

	.gpdm-header-main {
		grid-template-columns: 44px minmax(0,1fr) 82px;
		gap: 2px;
	}

	.gpdm-header-brand__wordmark {
		font-size: clamp(25px, 8vw, 33px);
	}

	.gpdm-header-brand__image img {
		max-width: 190px;
		max-height: 38px;
	}

	.gpdm-header-action {
		width: 39px;
		height: 39px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpdm-site-header,
	.gpdm-header-main,
	.gpdm-header-action,
	.gpdm-mobile-drawer,
	.gpdm-drawer-overlay,
	.gpdm-header-menu--desktop .sub-menu {
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
 * GPDM native header refinements — v1.8.1
 * -------------------------------------------------------------------------- */

/* Astra may append its own search item to a menu location. The native header
 * already has one dedicated instant-search control, so legacy menu-search
 * markup must never occupy desktop or drawer space. */
.gpdm-header-menu .astm-search-menu,
.gpdm-header-menu .ast-search-menu-item,
.gpdm-header-menu .menu-item-search,
.gpdm-header-menu li:has(> form.search-form),
.gpdm-header-menu li:has(input[type="search"]) {
	display: none !important;
}

.gpdm-header-brand__wordmark {
	isolation: isolate;
}

html[data-gpdm-theme="dark"] .gpdm-header-brand__wordmark .gpdm-header-brand__dark {
	color: #f8fafc !important;
}

html[data-gpdm-theme="dark"] .gpdm-header-brand__wordmark .gpdm-header-brand__accent {
	color: #ff4354 !important;
}

html[data-gpdm-theme="dark"] .gpdm-header-brand__image img {
	filter: brightness(0) invert(1);
}

.gpdm-header-subscribe {
	border: 0;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
}

@media (min-width: 1100px) {
	:root {
		--gpdm-header-max: 1440px;
	}

	.gpdm-header-container {
		width: min(calc(100% - 64px), var(--gpdm-header-max));
	}

	.gpdm-header-main {
		grid-template-columns: minmax(230px, 260px) minmax(0, 1fr) minmax(230px, 260px);
		gap: 20px;
	}

	.gpdm-header-brand {
		justify-self: start;
	}

	.gpdm-desktop-navigation {
		justify-self: stretch;
	}

	.gpdm-header-menu--desktop {
		gap: clamp(15px, 1.35vw, 24px);
	}

	.gpdm-header-menu--desktop > li > a {
		font-size: 12.5px;
	}

	.gpdm-header-actions {
		justify-self: end;
		width: 100%;
	}
}

/* Subscription dialog */
.gpdm-subscribe-overlay {
	position: fixed;
	inset: 0;
	z-index: 100090;
	background: rgba(3, 9, 20, .68);
	opacity: 0;
	transition: opacity .22s ease;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.gpdm-subscribe-overlay.is-visible {
	opacity: 1;
}

.gpdm-subscribe-modal {
	position: fixed;
	inset: 0;
	z-index: 100091;
	display: grid;
	place-items: center;
	padding: 24px;
	visibility: hidden;
	pointer-events: none;
}

.gpdm-subscribe-modal.is-open {
	visibility: visible;
	pointer-events: auto;
}

.gpdm-subscribe-modal__panel {
	position: relative;
	width: min(100%, 520px);
	max-height: min(88vh, 760px);
	padding: 36px;
	border: 1px solid rgba(15, 23, 42, .1);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 90px rgba(2, 8, 23, .32);
	overflow-y: auto;
	opacity: 0;
	transform: translateY(18px) scale(.98);
	transition: opacity .22s ease, transform .22s ease;
}

.gpdm-subscribe-modal.is-open .gpdm-subscribe-modal__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.gpdm-subscribe-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f4f8;
	color: #111827;
	cursor: pointer;
}

.gpdm-subscribe-modal__close:hover,
.gpdm-subscribe-modal__close:focus-visible {
	background: #e5e9ef;
	color: var(--gpdm-header-accent);
}

.gpdm-subscribe-modal__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2;
}

.gpdm-subscribe-modal__eyebrow {
	margin: 0 48px 9px 0;
	color: var(--gpdm-header-accent);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.gpdm-subscribe-modal h2 {
	margin: 0;
	color: #0f172a;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 780;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.gpdm-subscribe-modal__intro {
	margin: 14px 0 24px;
	color: #5b6472;
	font-size: 15px;
	line-height: 1.6;
}

.gpdm-subscribe-form {
	display: grid;
	gap: 16px;
}

.gpdm-subscribe-field {
	display: grid;
	gap: 7px;
	margin: 0;
	color: #253044;
	font-size: 12px;
	font-weight: 750;
}

.gpdm-subscribe-field input {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #cfd6e1;
	border-radius: 10px;
	background: #fff;
	color: #111827;
	font: inherit;
	font-size: 15px;
	outline: none;
}

.gpdm-subscribe-field input:focus {
	border-color: var(--gpdm-header-accent);
	box-shadow: 0 0 0 3px rgba(225, 29, 46, .12);
}

.gpdm-subscribe-consent {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	margin: 2px 0 0;
	color: #667085;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
}

.gpdm-subscribe-consent input {
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--gpdm-header-accent);
}

.gpdm-subscribe-consent a {
	color: var(--gpdm-header-accent);
}

.gpdm-subscribe-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 11px;
	background: var(--gpdm-header-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: .045em;
	text-transform: uppercase;
	cursor: pointer;
}

.gpdm-subscribe-submit:hover,
.gpdm-subscribe-submit:focus-visible {
	filter: brightness(.92);
}

.gpdm-subscribe-submit[disabled] {
	cursor: wait;
	opacity: .72;
}

.gpdm-subscribe-note {
	margin: -3px 0 0;
	color: #8a93a1;
	font-size: 11px;
	line-height: 1.45;
	text-align: center;
}

.gpdm-subscribe-status {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #ecfdf3;
	color: #17663a;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
}

.gpdm-subscribe-status--invalid,
.gpdm-subscribe-status--rate,
.gpdm-subscribe-status--error {
	background: #fff2f3;
	color: #9f1c2a;
}

.gpdm-subscribe-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

body.gpdm-subscribe-open {
	overflow: hidden;
}

html[data-gpdm-theme="dark"] .gpdm-subscribe-modal__panel {
	border-color: rgba(255, 255, 255, .1);
	background: #111a2a;
}

html[data-gpdm-theme="dark"] .gpdm-subscribe-modal h2,
html[data-gpdm-theme="dark"] .gpdm-subscribe-field {
	color: #f8fafc;
}

html[data-gpdm-theme="dark"] .gpdm-subscribe-modal__intro,
html[data-gpdm-theme="dark"] .gpdm-subscribe-consent,
html[data-gpdm-theme="dark"] .gpdm-subscribe-note {
	color: #aeb7c5;
}

html[data-gpdm-theme="dark"] .gpdm-subscribe-field input {
	border-color: rgba(255, 255, 255, .17);
	background: #0b1220;
	color: #f8fafc;
}

html[data-gpdm-theme="dark"] .gpdm-subscribe-modal__close {
	background: rgba(255, 255, 255, .09);
	color: #f8fafc;
}

@media (max-width: 1099px) {
	/* Keep the main row intact while adding a compact visible subscription CTA. */
	.gpdm-header-topbar,
	.gpdm-desktop-navigation {
		display: none;
	}

	.gpdm-header-subscribe {
		display: inline-flex;
		min-height: 38px;
		padding: 0 11px;
		font-size: 9.5px;
		letter-spacing: .035em;
	}

	.gpdm-header-main {
		grid-template-columns: 46px minmax(0, 1fr) auto;
	}

	.gpdm-header-actions {
		gap: 1px;
	}

	.gpdm-header-brand__wordmark {
		font-size: clamp(25px, 5.6vw, 34px);
	}
}

@media (max-width: 560px) {
	.gpdm-header-container {
		width: calc(100% - 10px);
	}

	.gpdm-header-main {
		grid-template-columns: 40px minmax(0, 1fr) auto;
		gap: 1px;
	}

	.gpdm-header-brand__wordmark {
		font-size: clamp(22px, 7.2vw, 31px);
	}

	.gpdm-header-action {
		width: 36px;
		height: 36px;
	}

	.gpdm-header-action svg {
		width: 21px;
		height: 21px;
	}

	.gpdm-header-subscribe {
		min-height: 35px;
		padding: 0 8px;
		font-size: 8.5px;
	}

	.gpdm-subscribe-modal {
		align-items: end;
		padding: 10px;
	}

	.gpdm-subscribe-modal__panel {
		width: 100%;
		max-height: 92vh;
		padding: 30px 20px 22px;
		border-radius: 20px 20px 12px 12px;
		transform: translateY(34px);
	}
}

@media (max-width: 380px) {
	.gpdm-header-brand__wordmark {
		font-size: 22px;
	}

	.gpdm-header-subscribe {
		padding: 0 7px;
		font-size: 7.8px;
	}
}

.gpdm-drawer-subscribe {
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.gpdm-subscribe-label-short {
	display: none;
}

@media (max-width: 380px) {
	.gpdm-subscribe-label-full {
		display: none;
	}

	.gpdm-subscribe-label-short {
		display: inline;
	}
}
