/* Global Hemisphere Group cookie consent — #1C7A93, white, black only */

html.ghg-cc-modal-open {
	overflow: hidden;
}

.ghg-cc {
	--ghg-primary: #1c7a93;
	--ghg-black: #0a0a0a;
	--ghg-white: #ffffff;
	box-sizing: border-box;
	font-family: inherit;
	line-height: 1.5;
	font-size: 15px;
	color: var(--ghg-black);
}

.ghg-cc *,
.ghg-cc *::before,
.ghg-cc *::after {
	box-sizing: border-box;
}

/* Banner: hidden unless html.ghg-show-cookie-banner */
#ghg-cookie-banner {
	display: none;
	position: fixed;
	z-index: 999998;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1rem clamp(1rem, 3vw, 1.75rem);
	background: var(--ghg-white);
	border-top: 3px solid var(--ghg-primary);
	box-shadow: 0 -4px 24px rgba(10, 10, 10, 0.12);
	max-height: 45vh;
	overflow-y: auto;
}

html.ghg-show-cookie-banner #ghg-cookie-banner {
	display: block;
}

.ghg-cc-banner-inner {
	max-width: 70rem;
	margin: 0 auto;
}

.ghg-cc-banner-text {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
}

.ghg-cc-banner-text a {
	color: var(--ghg-primary);
	font-weight: 600;
	text-decoration: underline;
}

.ghg-cc-banner-text a:hover {
	color: var(--ghg-black);
}

.ghg-cc-banner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
}

.ghg-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.15rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.9375rem;
	border-radius: 3px;
	border: 1px solid var(--ghg-black);
	background: var(--ghg-white);
	color: var(--ghg-black);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ghg-cc-btn:focus {
	outline: none;
}

.ghg-cc-btn:focus-visible:not(:disabled) {
	background: var(--ghg-black);
	color: var(--ghg-white);
	border-color: var(--ghg-black);
}

.ghg-cc-btn--primary {
	background: var(--ghg-primary);
	color: var(--ghg-white);
	border-color: var(--ghg-primary);
}

.ghg-cc-btn--primary:hover {
	background: var(--ghg-black);
	border-color: var(--ghg-black);
	color: var(--ghg-white);
}

.ghg-cc-btn--ghost:hover {
	border-color: var(--ghg-primary);
	color: var(--ghg-primary);
}

.ghg-cc-text-btn {
	display: inline;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	font: inherit;
	font-weight: 600;
	font-size: inherit;
	color: var(--ghg-primary);
	text-decoration: underline;
	cursor: pointer;
	vertical-align: baseline;
}

.ghg-cc-text-btn:hover {
	color: var(--ghg-black);
}

.ghg-cc-text-btn:focus {
	outline: none;
}

.ghg-cc-text-btn:focus-visible {
	background: var(--ghg-black);
	color: var(--ghg-white);
	padding: 0.1rem 0.35rem;
	border-radius: 2px;
	text-decoration: none;
}

@media (max-width: 520px) {
	.ghg-cc-banner-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.ghg-cc-banner-actions .ghg-cc-btn {
		width: 100%;
	}
}

/* Modal: centered panel over dimmed backdrop */
#ghg-cookie-modal.ghg-cc-modal-root {
	display: none;
	position: fixed;
	z-index: 999999;
	inset: 0;
	align-items: center;
	justify-content: center;
	padding: clamp(0.75rem, 3vw, 1.25rem);
	flex-direction: row;
}

html.ghg-cc-modal-open #ghg-cookie-modal.ghg-cc-modal--visible {
	display: flex;
}

.ghg-cc-modal-backdrop {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 10, 10, 0.55);
	z-index: 0;
}

.ghg-cc-modal-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 36rem;
	max-height: min(90vh, 720px);
	margin: auto;
	align-self: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: var(--ghg-white);
	border: 1px solid rgba(10, 10, 10, 0.15);
	border-radius: 4px;
	box-shadow: 0 20px 56px rgba(10, 10, 10, 0.28);
}

.ghg-cc-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem clamp(1rem, 3vw, 1.5rem);
	border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.ghg-cc-modal-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ghg-black);
}

.ghg-cc-modal-close {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--ghg-black);
	background: var(--ghg-white);
	color: var(--ghg-black);
	border-radius: 3px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ghg-cc-modal-close:hover {
	border-color: var(--ghg-primary);
	color: var(--ghg-primary);
}

.ghg-cc-modal-close:focus {
	outline: none;
}

.ghg-cc-modal-close:focus-visible {
	background: var(--ghg-black);
	color: var(--ghg-white);
	border-color: var(--ghg-black);
}

.ghg-cc-modal-body {
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	overflow-y: auto;
	flex: 1 1 auto;
}

.ghg-cc-modal-intro {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	color: var(--ghg-black);
}

.ghg-cc-modal-intro a {
	color: var(--ghg-primary);
	font-weight: 600;
}

.ghg-cc-modal-intro a:hover {
	color: var(--ghg-black);
}

.ghg-cc-section-label {
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(10, 10, 10, 0.65);
}

.ghg-cc-pref {
	border: 1px solid rgba(10, 10, 10, 0.12);
	border-radius: 3px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.65rem;
}

.ghg-cc-pref--locked {
	background: rgba(10, 10, 10, 0.03);
}

.ghg-cc-pref-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.35rem;
}

.ghg-cc-pref-name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.ghg-cc-switch-wrap {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.ghg-cc-switch {
	position: relative;
	width: 2.75rem;
	height: 1.5rem;
	flex-shrink: 0;
	cursor: pointer;
}

.ghg-cc-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 1;
}

.ghg-cc-switch-ui {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.2);
	border-radius: 999px;
	border: 1px solid var(--ghg-black);
	transition: background 0.2s;
	pointer-events: none;
}

.ghg-cc-switch-ui::after {
	content: '';
	position: absolute;
	width: 1.15rem;
	height: 1.15rem;
	left: 2px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--ghg-white);
	border: 1px solid var(--ghg-black);
	border-radius: 50%;
	transition: transform 0.2s;
}

.ghg-cc-switch input:checked + .ghg-cc-switch-ui {
	background: var(--ghg-primary);
	border-color: var(--ghg-primary);
}

.ghg-cc-switch input:checked + .ghg-cc-switch-ui::after {
	transform: translateY(-50%) translateX(1.2rem);
}

.ghg-cc-switch input:focus-visible + .ghg-cc-switch-ui {
	outline: none;
	background: var(--ghg-black);
	border-color: var(--ghg-black);
}

.ghg-cc-switch input:focus-visible + .ghg-cc-switch-ui::after {
	background: var(--ghg-white);
	border-color: var(--ghg-white);
}

.ghg-cc-switch input:focus-visible:checked + .ghg-cc-switch-ui {
	background: var(--ghg-black);
	border-color: var(--ghg-black);
}

.ghg-cc-switch input:disabled {
	cursor: not-allowed;
}

.ghg-cc-switch input:disabled + .ghg-cc-switch-ui {
	opacity: 0.85;
	cursor: not-allowed;
}

.ghg-cc-status {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	min-width: 4.5rem;
	text-align: right;
}

.ghg-cc-status--on {
	color: var(--ghg-primary);
}

.ghg-cc-status--off {
	color: rgba(10, 10, 10, 0.5);
}

.ghg-cc-badge {
	display: inline-block;
	margin-left: 0.35rem;
	padding: 0.15rem 0.4rem;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: middle;
	background: var(--ghg-primary);
	color: var(--ghg-white);
	border-radius: 2px;
}

.ghg-cc-pref-desc {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(10, 10, 10, 0.78);
}

.ghg-cc-modal-footer {
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.ghg-cc-modal-footer .ghg-cc-btn--primary {
	width: 100%;
}

@media (min-width: 540px) {
	.ghg-cc-modal-footer .ghg-cc-btn--primary {
		width: auto;
		min-width: 14rem;
	}
}
