﻿/**
 * GHS Membership â€” front-end component styles.
 * Tokens: assets/css/ghs-tokens.css (+ Elementor kit inline vars).
 */

/* -------------------------------------------------------------------------
   Member card
   ------------------------------------------------------------------------- */

.ghs-member-card {
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 42%, transparent);
	border-radius: 0.75rem;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--e-global-color-primary) 8%, transparent);
	color: var(--ghs-ink);
	padding: 1.5rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ghs-member-card:hover {
	border-color: var(--ghs-brand);
	box-shadow: 0 12px 28px color-mix(in srgb, var(--e-global-color-primary) 12%, transparent);
}

/* -------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------- */

.ghs-badge {
	display: inline-block;
	padding: 0.25em 0.75em;
	border-radius: 9999px;
	background: var(--ghs-brand);
	color: var(--ghs-light);
	font-size: inherit;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.ghs-badge--founding {
	background: var(--ghs-brand);
	color: var(--ghs-ink);
	box-shadow: inset 0 0 0 1px var(--e-global-color-accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* -------------------------------------------------------------------------
   Portal navigation
   ------------------------------------------------------------------------- */

.ghs-portal-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ghs-portal-nav--sidebar {
	flex-direction: column;
	align-items: stretch;
}

.ghs-portal-nav a:not(.ghs-portal-nav__tab) {
	color: var(--e-global-color-accent);
	text-decoration: none;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ghs-portal-nav a:not(.ghs-portal-nav__tab):hover {
	color: var(--ghs-brand);
}

.ghs-portal-nav a:not(.ghs-portal-nav__tab).active {
	color: var(--ghs-brand);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
}

/* -------------------------------------------------------------------------
   Buttons (accent fill + primary text for readable contrast on Elementor themes)
   ------------------------------------------------------------------------- */

a.ghs-btn,
button.ghs-btn,
input.ghs-btn[type="submit"],
.ghs-btn {
	display: inline-block;
	padding: 0.75em 1.35em;
	background: var(--ghs-brand);
	border: 2px solid var(--ghs-brand);
	border-radius: 0.375rem;
	box-sizing: border-box;
	color: var(--ghs-light);
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.01em;
	min-height: 2.75rem;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

a.ghs-btn:hover,
a.ghs-btn:focus-visible,
button.ghs-btn:hover,
button.ghs-btn:focus-visible,
input.ghs-btn[type="submit"]:hover,
input.ghs-btn[type="submit"]:focus-visible,
.ghs-btn:hover,
.ghs-btn:focus-visible {
	background: color-mix(in srgb, var(--ghs-brand) 88%, var(--ghs-ink));
	border-color: color-mix(in srgb, var(--ghs-brand) 88%, var(--ghs-ink));
	box-shadow: 0 4px 14px color-mix(in srgb, var(--ghs-ink) 14%, transparent);
	color: var(--ghs-light);
	opacity: 1;
	outline: none;
	text-decoration: none;
}

a.ghs-btn:visited,
.ghs-btn:visited {
	color: var(--ghs-light);
}

.ghs-btn--secondary {
	background: transparent;
	border-color: var(--ghs-brand);
	box-shadow: none;
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-btn--secondary:hover,
.ghs-btn--secondary:focus-visible {
	background: color-mix(in srgb, var(--ghs-brand) 14%, var(--ghs-surface));
	border-color: var(--ghs-brand);
	box-shadow: none;
	color: var(--ghs-ink);
	opacity: 1;
}

.ghs-btn--secondary:visited {
	color: var(--ghs-ink);
}

/* -------------------------------------------------------------------------
   Lock overlay (locked portal features)
   ------------------------------------------------------------------------- */

.ghs-lock-overlay {
	position: relative;
	overflow: hidden;
}

.ghs-lock-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: color-mix(in srgb, var(--e-global-color-accent) 55%, transparent);
	pointer-events: none;
}

.ghs-lock-overlay::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	transform: translate(-50%, -50%);
	background-color: var(--ghs-ink);
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	pointer-events: none;
}

.ghs-lock-overlay > * {
	filter: grayscale(0.35);
	opacity: 0.65;
}

/* -------------------------------------------------------------------------
   Avatar
   ------------------------------------------------------------------------- */

.ghs-avatar,
img.ghs-avatar {
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.ghs-avatar--initials,
span.ghs-avatar.ghs-avatar--initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ghs-brand);
	color: var(--ghs-light);
	font-size: inherit;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Membership status pills
   ------------------------------------------------------------------------- */

.ghs-status-active,
.ghs-status-expired,
.ghs-status-expiring {
	display: inline-block;
	padding: 0.2em 0.65em;
	border-radius: 9999px;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.4;
}

.ghs-status-active {
	background: green;
	color: var(--ghs-light);
}

.ghs-status-expired {
	background: red;
	color: var(--ghs-light);
}

.ghs-status-expiring {
	background: amber;
	color: var(--ghs-ink);
}

/* -------------------------------------------------------------------------
   Renewal banner
   ------------------------------------------------------------------------- */

.ghs-renewal-banner {
	background: var(--ghs-brand);
	color: var(--ghs-ink);
	padding: 1rem 1.5rem;
	text-align: center;
}

.ghs-renewal-banner p {
	color: var(--ghs-ink);
	margin: 0.35rem 0;
}

.ghs-renewal-banner .ghs-btn,
.ghs-portal-renewal-banner .ghs-btn {
	background: var(--ghs-surface);
	border-color: var(--ghs-ink);
	color: var(--ghs-ink);
}

/* -------------------------------------------------------------------------
   Member directory grid
   ------------------------------------------------------------------------- */

.ghs-directory-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

@media (max-width: 64em) {
	.ghs-directory-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 40em) {
	.ghs-directory-grid {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   Portal layout & tabs
   ------------------------------------------------------------------------- */

.ghs-portal {
	background: var(--ghs-canvas);
	min-height: 50vh;
}

/* Isolate portal UI from Elementor / theme button and link styles */
.elementor .ghs-portal a.ghs-portal-nav__tab,
.elementor .ghs-portal a.ghs-portal-quick-card,
.elementor .ghs-portal a.ghs-portal-dashboard__view-all,
.ghs-portal a.ghs-portal-nav__tab,
.ghs-portal a.ghs-portal-quick-card,
.ghs-portal a.ghs-portal-dashboard__view-all {
	text-decoration: none;
}

.elementor .ghs-portal-topbar__inner,
.elementor .ghs-portal-nav--bar,
.elementor .ghs-portal-nav--bar .ghs-portal-nav__inner,
.elementor .ghs-portal-nav--bar .ghs-portal-nav__list {
	justify-content: flex-start;
	text-align: left;
}

.elementor .ghs-portal-topbar__user {
	justify-content: flex-end;
	margin-left: auto;
	text-align: right;
}

.elementor .ghs-portal button:not(.ghs-btn),
.ghs-portal button:not(.ghs-btn) {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: inherit;
	min-height: 0;
	padding: 0;
}

.ghs-portal-topbar {
	background: var(--ghs-ink);
	color: var(--ghs-light);
	position: sticky;
	top: 0;
	z-index: 100;
}

.ghs-portal-topbar__inner,
.ghs-portal-nav__inner {
	box-sizing: border-box;
	margin: 0;
	max-width: none;
	padding-inline: clamp(1.25rem, 4vw, 2.25rem);
	width: 100%;
}

.ghs-portal-body__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 62.5rem;
	padding-inline: clamp(1.25rem, 4vw, 2.25rem);
	width: 100%;
}

.ghs-portal-body__inner:has(.ghs-portal-directory) {
	max-width: 90rem;
}

.ghs-portal-body__inner:has(.ghs-portal-events) {
	max-width: 87.5rem;
}

.ghs-portal-topbar__inner {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	min-height: 3.5rem;
	padding-block: 0;
}

.ghs-portal-topbar__brand {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9375rem;
	font-weight: 800;
	gap: 0.55rem 0.65rem;
	letter-spacing: 0.12em;
	margin: 0;
	text-transform: uppercase;
}

.ghs-portal-topbar__brand-mark {
	color: var(--ghs-light);
}

.ghs-portal-topbar__brand-label {
	color: color-mix(in srgb, var(--ghs-brand) 55%, var(--ghs-muted));
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.ghs-portal-topbar__brand-sep {
	background: color-mix(in srgb, var(--ghs-muted) 45%, var(--ghs-ink));
	display: inline-block;
	height: 1rem;
	width: 1px;
}

.ghs-portal-topbar__user {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	flex-wrap: nowrap;
	gap: 0.65rem;
	justify-content: flex-end;
	margin-left: auto;
}

.ghs-portal-topbar__user-sep {
	background: color-mix(in srgb, var(--ghs-muted) 45%, var(--ghs-ink));
	display: inline-block;
	flex-shrink: 0;
	height: 0.875rem;
	width: 1px;
}

.ghs-portal-topbar__avatar {
	height: 1.875rem;
	width: 1.875rem;
}

.ghs-portal-topbar__avatar.ghs-avatar--initials {
	font-size: 0.75rem;
}

.ghs-portal-topbar__name {
	color: color-mix(in srgb, var(--ghs-light) 82%, var(--ghs-muted));
	font-size: 0.8125rem;
	font-weight: 400;
}

.ghs-portal-topbar__logout {
	color: color-mix(in srgb, var(--ghs-light) 72%, var(--ghs-muted));
	display: inline-block;
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.ghs-portal-topbar__logout:hover {
	color: var(--ghs-light);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.elementor .ghs-portal-topbar__logout {
	color: color-mix(in srgb, var(--ghs-light) 72%, var(--ghs-muted));
}

.ghs-portal-nav--bar {
	background: var(--ghs-surface);
	border-bottom: 1px solid var(--ghs-line);
	display: block;
	overflow: hidden;
}

.ghs-portal-nav--bar .ghs-portal-nav__inner {
	display: flex;
	justify-content: flex-start;
}

.ghs-portal-nav__list {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	justify-content: flex-start;
	list-style: none;
	margin: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 0;
	scrollbar-width: none;
	-ms-overflow-style: none;
	width: 100%;
}

.ghs-portal-nav__list::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

.ghs-portal-nav__list li {
	flex-shrink: 0;
	margin: 0;
	padding: 0;
}

a.ghs-portal-nav__tab,
.ghs-portal-nav__tab {
	appearance: none;
	background: transparent !important;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--ghs-muted);
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.3;
	margin-bottom: -1px;
	min-height: 0;
	padding: 1rem 1.125rem 0.9rem;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.ghs-portal-nav__tab:hover,
.ghs-portal-nav__tab:focus-visible {
	border-bottom-color: color-mix(in srgb, var(--ghs-brand) 45%, transparent);
	color: var(--ghs-ink);
	outline: none;
}

.ghs-portal .ghs-portal-nav__tab.active,
.ghs-portal .ghs-portal-nav__tab[aria-selected="true"] {
	background: transparent !important;
	border-bottom-color: var(--ghs-brand);
	box-shadow: none !important;
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-portal-nav__list > li:first-child .ghs-portal-nav__tab {
	padding-left: 0;
}

.ghs-portal-body {
	padding-block: 2.5rem 3rem;
}

.ghs-tab-panel,
.ghs-portal-tab-panel {
	display: none;
}

.ghs-tab-panel.is-active,
.ghs-portal-tab-panel.is-active {
	display: block;
}

/* Portal dashboard */
.ghs-portal-dashboard__hero {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.ghs-portal-dashboard__eyebrow,
.ghs-portal-dashboard__section-title {
	color: var(--ghs-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.5rem;
	text-transform: uppercase;
}

.ghs-portal-dashboard__title {
	color: var(--ghs-ink);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

.ghs-portal-dashboard__wave {
	font-weight: 400;
}

.ghs-portal-dashboard__meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
}

.ghs-portal-dashboard__date {
	color: var(--ghs-muted);
	font-size: 0.875rem;
}

.ghs-portal-dashboard__status {
	align-items: center;
	background: #e8f5e9;
	border-radius: 9999px;
	color: #2e7d32;
	display: inline-flex;
	font-size: 0.6875rem;
	font-weight: 700;
	gap: 0.35rem;
	letter-spacing: 0.06em;
	padding: 0.3rem 0.75rem;
	text-transform: uppercase;
}

.ghs-portal-dashboard__status-dot,
.ghs-portal-event-row__attending-dot {
	background: #22a06b;
	border-radius: 50%;
	display: inline-block;
	height: 0.5rem;
	width: 0.5rem;
}

.ghs-portal-dashboard__stats {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 2rem;
}

.ghs-portal-stat-card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--e-global-color-primary) 4%, transparent);
	padding: 1.1rem 1.15rem;
}

.ghs-portal-stat-card--accent {
	background: var(--ghs-brand);
	border-color: transparent;
	box-shadow: var(--ghs-shadow-sm);
	color: var(--ghs-light);
}

.ghs-portal-stat-card--dark {
	background: var(--ghs-ink);
	border-color: transparent;
	box-shadow: var(--ghs-shadow-sm);
	color: var(--ghs-light);
}

.ghs-portal-stat-card--dark .ghs-portal-stat-card__label {
	color: color-mix(in srgb, var(--ghs-brand) 70%, var(--ghs-muted));
	opacity: 1;
}

.ghs-portal-stat-card--dark .ghs-portal-stat-card__hint {
	color: var(--ghs-muted);
	opacity: 1;
}

.ghs-portal-stat-card__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.45rem;
	opacity: 0.72;
	text-transform: uppercase;
}

.ghs-portal-stat-card__value {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.35rem;
}

.ghs-portal-stat-card__hint {
	font-size: 0.8125rem;
	margin: 0;
	opacity: 0.78;
}

.ghs-portal-dashboard__grid {
	align-items: start;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.ghs-portal-dashboard__section-head {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.ghs-portal-dashboard__section-head .ghs-portal-dashboard__section-title {
	margin: 0;
}

a.ghs-portal-dashboard__view-all,
.ghs-portal-dashboard__view-all {
	appearance: none;
	background: transparent !important;
	border: 0;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--ghs-brand);
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	min-height: 0;
	padding: 0;
	text-decoration: none;
}

.ghs-portal-dashboard__view-all:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ghs-portal-quick-grid {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

a.ghs-portal-quick-card,
.ghs-portal-quick-card {
	align-items: flex-start;
	appearance: none;
	background: var(--ghs-surface) !important;
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem !important;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--e-global-color-primary) 4%, transparent);
	color: inherit;
	cursor: pointer;
	display: flex;
	gap: 0.85rem;
	min-height: 0;
	padding: 1rem 1.05rem;
	text-align: left;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	width: 100%;
}

.ghs-portal-quick-card:hover,
.ghs-portal-quick-card:focus-visible {
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 45%, transparent);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--e-global-color-primary) 8%, transparent);
	outline: none;
	transform: translateY(-1px);
}

.ghs-portal-quick-card__icon {
	align-items: center;
	background: color-mix(in srgb, var(--e-global-color-secondary) 14%, var(--e-global-color-text));
	border-radius: 0.55rem;
	color: var(--ghs-ink);
	display: inline-flex;
	flex-shrink: 0;
	height: 2.5rem;
	justify-content: center;
	width: 2.5rem;
}

.ghs-portal-quick-card__icon--profile {
	background: color-mix(in srgb, #7c5cff 14%, var(--e-global-color-text));
	color: #7c5cff;
}

.ghs-portal-quick-card__icon--directory,
.ghs-portal-quick-card__icon--events,
.ghs-portal-quick-card__icon--billing {
	background: color-mix(in srgb, #3b82f6 12%, var(--e-global-color-text));
	color: #3b82f6;
}

.ghs-portal-quick-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.ghs-portal-quick-card__title {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	font-weight: 700;
}

.ghs-portal-quick-card__text {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.ghs-portal-dashboard-events {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.ghs-portal-event-row {
	align-items: center;
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	display: grid;
	gap: 0.85rem 1rem;
	grid-template-columns: auto 1fr auto;
	padding: 0.9rem 1rem;
}

.ghs-portal-event-row__date {
	align-items: center;
	background: color-mix(in srgb, var(--e-global-color-accent) 14%, var(--e-global-color-text));
	border-radius: 0.55rem;
	color: var(--ghs-ink);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 3.5rem;
	min-width: 3.5rem;
	padding: 0.35rem 0.5rem;
	text-align: center;
}

.ghs-portal-event-row--featured .ghs-portal-event-row__date {
	background: var(--ghs-brand);
	color: var(--ghs-light);
}

.ghs-portal-event-row__month {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.1;
}

.ghs-portal-event-row__day {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.1;
}

.ghs-portal-event-row__title {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0 0 0.2rem;
}

.ghs-portal-event-row__meta,
.ghs-portal-dashboard__empty {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	margin: 0;
}

.ghs-portal-event-row__attending {
	align-items: center;
	color: #22a06b;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 700;
	gap: 0.35rem;
	letter-spacing: 0.04em;
	margin: 0.45rem 0 0;
	text-transform: uppercase;
}

.ghs-portal-event-row__attending--waitlist {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
	text-transform: none;
}

.ghs-portal-event-row__action {
	margin: 0;
}

.ghs-btn--primary,
.ghs-portal .ghs-btn--primary {
	background: var(--ghs-ink);
	border-color: var(--ghs-ink);
	color: var(--ghs-light);
}

.ghs-btn--primary:hover,
.ghs-btn--primary:focus-visible,
.ghs-portal .ghs-btn--primary:hover,
.ghs-portal .ghs-btn--primary:focus-visible {
	background: color-mix(in srgb, var(--ghs-ink) 88%, var(--ghs-muted));
	border-color: color-mix(in srgb, var(--ghs-ink) 88%, var(--ghs-muted));
	color: var(--ghs-light);
}

.ghs-btn--accent {
	background: var(--ghs-brand);
	border-color: var(--ghs-brand);
	color: var(--ghs-light);
}

.ghs-btn--accent:hover,
.ghs-btn--accent:focus-visible {
	background: color-mix(in srgb, var(--ghs-brand) 88%, var(--ghs-ink));
	border-color: color-mix(in srgb, var(--ghs-brand) 88%, var(--ghs-ink));
	color: var(--ghs-light);
}

.ghs-btn--compact {
	font-size: 0.8125rem;
	min-height: 2.25rem;
	padding: 0.45em 1rem;
	white-space: nowrap;
}

@media (max-width: 64em) {
	.ghs-portal-dashboard__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ghs-portal-dashboard__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 36em) {
	.ghs-portal-dashboard__stats,
	.ghs-portal-quick-grid {
		grid-template-columns: 1fr;
	}

	.ghs-portal-event-row {
		grid-template-columns: auto 1fr;
	}

	.ghs-portal-event-row__action {
		grid-column: 1 / -1;
	}

	.ghs-portal-event-row__action .ghs-btn {
		width: 100%;
	}

	.ghs-portal-topbar__inner {
		align-items: center;
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.ghs-portal-topbar__user {
		margin-left: auto;
	}
}

/* Hide skip-to-content on GHS plugin pages only. */
body.ghs-plugin-page .skip-link,
body.ghs-plugin-page #wp-skip-link,
body.ghs-plugin-page .screen-reader-shortcut,
body.ghs-plugin-page a.skip-to-content {
	clip: rect(0, 0, 0, 0) !important;
	display: none !important;
	height: 0 !important;
	left: -9999px !important;
	overflow: hidden !important;
	position: absolute !important;
	visibility: hidden !important;
	width: 0 !important;
}

/* Portal page: remove Elementor page-title row directly above the portal shortcode. */
body.ghs-has-portal :where(.elementor-section, .e-con):has(+ :where(.elementor-section, .e-con) :where(.ghs-portal, [data-ghs-portal])),
body.ghs-has-portal :where(.elementor-section, .e-con):has(+ :where(.elementor-section, .e-con) [data-ghs-portal-tabs]),
body.ghs-has-portal .ghs-theme-page-hero-hidden {
	display: none !important;
}

body.ghs-has-portal .elementor-element:has(+ .elementor-element :where(.ghs-portal, [data-ghs-portal])),
body.ghs-has-portal .elementor-element:has(+ .elementor-element [data-ghs-portal-tabs]) {
	display: none !important;
}

body.ghs-plugin-page :where(
	.entry-header,
	.page-header,
	.elementor-page-title,
	.elementor-widget-theme-post-title,
	.page-title-area,
	.ghs-theme-page-hero-hidden
),
body.ghs-has-portal :where(
	.entry-header,
	.page-header,
	.elementor-page-title,
	.ghs-theme-page-hero-hidden
) {
	display: none !important;
}

body.ghs-plugin-page :where(
	h1.entry-title,
	h1.page-title,
	h1.wp-block-post-title,
	.entry-header h1,
	.page-header h1,
	.elementor-page-title h1,
	.elementor-widget-theme-post-title h1
):not(
	:where(
		.ghs-auth h1,
		.ghs-portal h1,
		.ghs-directory h1,
		.ghs-profile h1,
		.ghs-billing h1,
		.ghs-member-card h1,
		.ghs-directory-preview h1,
		.ghs-directory-join-wrap h1,
		.ghs-portal--pending h1
	)
) {
	display: none !important;
}

/* -------------------------------------------------------------------------
   Portal â€” My Profile tab
   ------------------------------------------------------------------------- */

.ghs-portal-profile__header {
	margin-bottom: 1.5rem;
}

.ghs-portal-profile__title {
	color: var(--ghs-ink);
	font-size: clamp(1.75rem, 3vw, 2.125rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.ghs-portal-profile__lead {
	color: var(--ghs-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin: 0;
}

.ghs-portal-profile__card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 16px color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
	padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
}

.ghs-portal-profile .ghs-form-label,
.ghs-portal-profile legend.ghs-form-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.ghs-portal-profile .ghs-required {
	color: var(--ghs-ink);
}

.ghs-portal-profile .ghs-form-field {
	margin-bottom: 1.25rem;
}

.ghs-portal-profile__photo {
	align-items: center;
	border-bottom: 1px solid var(--ghs-line);
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
}

.ghs-portal-profile__avatar,
.ghs-portal-profile__avatar-wrap .ghs-portal-profile__avatar {
	border-radius: 50%;
	flex-shrink: 0;
	height: 4.5rem;
	object-fit: cover;
	width: 4.5rem;
}

.ghs-portal-profile__avatar--initials {
	align-items: center;
	background: var(--ghs-brand);
	color: var(--ghs-light);
	display: inline-flex;
	font-size: 1.35rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	text-transform: uppercase;
}

.ghs-portal-profile__photo-label {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	margin: 0 0 0.2rem;
	text-transform: none;
}

.ghs-portal-profile__photo-hint {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	font-size: 0.8125rem;
	margin: 0 0 0.75rem;
}

.ghs-portal-profile__upload-btn {
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 45%, transparent);
	border-radius: 0.375rem;
	color: var(--ghs-ink);
	cursor: pointer;
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.55rem 0.9rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.ghs-portal-profile__upload-btn:hover {
	border-color: color-mix(in srgb, var(--e-global-color-primary) 35%, var(--e-global-color-accent));
}

.ghs-portal-profile .ghs-input,
.ghs-portal-profile .ghs-profile-form input[type="text"],
.ghs-portal-profile .ghs-profile-form input[type="url"],
.ghs-portal-profile .ghs-profile-form input[type="email"],
.ghs-portal-profile .ghs-profile-form textarea {
	background: color-mix(in srgb, var(--e-global-color-accent) 8%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	border-radius: 0.375rem;
	padding: 0.75rem 0.875rem;
}

.ghs-portal-profile .ghs-input--disabled,
.ghs-portal-profile .ghs-profile-form input:disabled {
	background: color-mix(in srgb, var(--e-global-color-accent) 12%, var(--e-global-color-text));
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	cursor: not-allowed;
	opacity: 1;
}

.ghs-portal-profile .ghs-input:focus,
.ghs-portal-profile .ghs-profile-form input:focus,
.ghs-portal-profile .ghs-profile-form textarea:focus {
	border-color: color-mix(in srgb, var(--e-global-color-primary) 35%, var(--e-global-color-accent));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-global-color-secondary) 18%, transparent);
}

.ghs-portal-profile__industries .ghs-checkbox-card {
	background: var(--ghs-surface);
	border-color: color-mix(in srgb, var(--e-global-color-accent) 30%, transparent);
	border-radius: 0.5rem;
	padding: 0.7rem 0.85rem;
}

.ghs-portal-profile__industries .ghs-checkbox-card:has(input:checked) {
	background: color-mix(in srgb, var(--e-global-color-secondary) 18%, var(--e-global-color-text));
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 55%, transparent);
}

.ghs-portal-profile__industries .ghs-checkbox-card__label {
	font-size: 0.875rem;
}

.ghs-portal-profile__bio-wrap {
	position: relative;
}

.ghs-portal-profile__bio-wrap textarea {
	min-height: 8.5rem;
	padding-bottom: 2rem;
	resize: vertical;
}

.ghs-portal-profile .ghs-bio-counter {
	bottom: 0.65rem;
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
	font-size: 0.75rem;
	pointer-events: none;
	position: absolute;
	right: 0.75rem;
}

.ghs-portal-profile__bio-hint {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	margin: 0.45rem 0 0;
}

.ghs-portal-profile__gallery-hint {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	margin: 0 0 0.85rem;
}

.ghs-portal-profile__gallery-grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
	margin-bottom: 1rem;
}

.ghs-portal-profile__gallery-item {
	aspect-ratio: 1;
	border: 1px solid var(--ghs-line);
	border-radius: var(--ghs-radius-sm);
	overflow: hidden;
	position: relative;
}

.ghs-portal-profile__gallery-item img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ghs-portal-profile__gallery-remove {
	align-items: center;
	background: color-mix(in srgb, var(--ghs-ink) 72%, transparent);
	border: 0;
	border-radius: 999px;
	color: var(--ghs-light);
	cursor: pointer;
	display: flex;
	font-size: 1.125rem;
	height: 1.5rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 0.35rem;
	top: 0.35rem;
	width: 1.5rem;
}

.ghs-portal-profile__gallery-remove:hover {
	background: var(--ghs-ink);
}

.ghs-portal-profile__gallery-upload {
	margin-top: 0.25rem;
}

.ghs-portal-profile__actions {
	align-items: center;
	border-top: 1px solid var(--ghs-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
	padding-top: 1.5rem;
}

.ghs-btn--ghost {
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 45%, transparent);
	box-shadow: none;
	color: var(--ghs-ink);
	font-weight: 600;
	min-height: 2.75rem;
}

.ghs-btn--ghost:hover,
.ghs-btn--ghost:focus-visible {
	background: color-mix(in srgb, var(--e-global-color-accent) 8%, var(--e-global-color-text));
	border-color: color-mix(in srgb, var(--e-global-color-primary) 30%, var(--e-global-color-accent));
	box-shadow: none;
	color: var(--ghs-ink);
}

.ghs-portal-profile__actions .ghs-btn--primary {
	font-weight: 700;
	min-width: 9rem;
	padding-inline: 1.5rem;
}

/* -------------------------------------------------------------------------
   Countdown
   ------------------------------------------------------------------------- */

.ghs-countdown {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	justify-content: center;
	margin: 1rem 0;
	text-align: center;
}

.ghs-countdown__segment {
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-countdown__days,
.ghs-countdown__hours,
.ghs-countdown__minutes,
.ghs-countdown__seconds {
	color: var(--ghs-brand);
	font-size: 1.5em;
}

.ghs-countdown-after {
	color: var(--e-global-color-accent);
	text-align: center;
}

.ghs-membership-status-inline {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ghs-membership-status-inline__expiry {
	color: var(--e-global-color-accent);
	font-size: inherit;
}

.ghs-portal-renewal-banner {
	margin-bottom: 1.25rem;
}

.ghs-lock-cta {
	position: relative;
	text-align: center;
	z-index: 3;
	margin-top: 1rem;
}

.ghs-days-remaining--accent {
	color: var(--e-global-color-accent);
}

.ghs-days-remaining--warning {
	color: amber;
}

.ghs-days-remaining--urgent {
	color: red;
}

.ghs-bio-counter {
	color: var(--e-global-color-accent);
	display: block;
	margin-top: 0.35rem;
}

.ghs-portal-orders {
	border-collapse: collapse;
	width: 100%;
}

.ghs-portal-orders th,
.ghs-portal-orders td {
	border-bottom: 1px solid var(--e-global-color-accent);
	padding: 0.5rem 0.75rem;
	text-align: left;
}

.ghs-portal-quick-links,
.ghs-portal-features {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 1.5rem;
}

@media (max-width: 56em) {
	.ghs-portal-quick-links,
	.ghs-portal-features {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 36em) {
	.ghs-portal-quick-links,
	.ghs-portal-features {
		grid-template-columns: 1fr;
	}
}

.ghs-profile-form input[type="text"],
.ghs-profile-form input[type="url"],
.ghs-profile-form input[type="email"],
.ghs-profile-form textarea {
	max-width: 100%;
	width: 100%;
}

.ghs-profile-photo {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

/* -------------------------------------------------------------------------
   Directory â€” 20/80 sidebar layout
   ------------------------------------------------------------------------- */

/* Notice bar (join prompt at top) */
.ghs-dir-notice {
	align-items: center;
	background: color-mix(in srgb, var(--e-global-color-secondary) 12%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-secondary) 35%, transparent);
	border-radius: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.25rem;
}

.ghs-dir-notice p {
	margin: 0;
}

/* Sidebar + results layout */
.ghs-dir-layout {
	align-items: start;
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: minmax(14rem, 17.5rem) minmax(0, 1fr);
}

@media (max-width: 56em) {
	.ghs-dir-layout {
		grid-template-columns: 1fr;
	}
}

/* Sidebar */
.ghs-dir-sidebar {
	position: sticky;
	top: 1.5rem;
}

/* Filters panel */
.ghs-dir-filters {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--e-global-color-primary) 4%, transparent);
	overflow: hidden;
}

.ghs-dir-filters__header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 1.1rem 1.15rem 0.35rem;
}

.ghs-dir-filters__title {
	color: var(--ghs-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ghs-dir-filters__clear {
	background: none;
	border: 0;
	color: var(--ghs-brand);
	cursor: pointer;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.ghs-dir-filters__clear:hover {
	opacity: 0.8;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ghs-dir-filters__section {
	padding: 0.65rem 1.15rem 1rem;
}

.ghs-dir-filters__section + .ghs-dir-filters__section {
	border-top: 0;
}

.ghs-dir-filters__section--cats {
	padding-top: 0.25rem;
}

.ghs-dir-filters__section-label {
	color: var(--ghs-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

/* Search */
.ghs-dir-search-wrap {
	position: relative;
}

.ghs-dir-search-icon {
	color: color-mix(in srgb, var(--e-global-color-primary) 45%, var(--e-global-color-accent));
	left: 0.7rem;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.ghs-dir-search-input.ghs-directory-search {
	background: color-mix(in srgb, var(--e-global-color-accent) 8%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	border-radius: 0.375rem;
	margin: 0;
	padding: 0.7rem 0.85rem;
	width: 100%;
}

/* Category checkboxes */
.ghs-dir-cats {
	border: none;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
}

.ghs-dir-cat-label {
	align-items: center;
	border-radius: 0.3rem;
	cursor: pointer;
	display: flex;
	gap: 0.55rem;
	padding: 0.35rem 0.4rem;
	transition: background 0.15s ease;
}

.ghs-dir-cat-label:hover {
	background: color-mix(in srgb, var(--e-global-color-secondary) 10%, transparent);
}

.ghs-dir-cat-label.is-checked {
	background: color-mix(in srgb, var(--e-global-color-secondary) 14%, transparent);
}

.ghs-dir-cat-checkbox {
	accent-color: var(--ghs-brand);
	flex-shrink: 0;
	height: 0.95rem;
	margin: 0;
	width: 0.95rem;
}

.ghs-dir-cat-name {
	color: var(--ghs-ink);
	font-size: 0.875rem;
	line-height: 1.35;
}

/* Featured toggle */
.ghs-dir-toggle {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 0.65rem;
}

.ghs-dir-toggle__input {
	opacity: 0;
	position: absolute;
	width: 0;
	height: 0;
}

.ghs-dir-toggle__track {
	background: color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	border-radius: 9999px;
	display: block;
	flex-shrink: 0;
	height: 1.25rem;
	position: relative;
	transition: background 0.2s ease;
	width: 2.25rem;
}

.ghs-dir-toggle__track::after {
	background: #fff;
	border-radius: 50%;
	content: '';
	height: 1rem;
	left: 0.125rem;
	position: absolute;
	top: 0.125rem;
	transition: transform 0.2s ease;
	width: 1rem;
}

.ghs-dir-toggle__input:checked + .ghs-dir-toggle__track {
	background: var(--ghs-brand);
}

.ghs-dir-toggle__input:checked + .ghs-dir-toggle__track::after {
	transform: translateX(1rem);
}

.ghs-dir-toggle__input:focus-visible + .ghs-dir-toggle__track {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-global-color-secondary) 30%, transparent);
	outline: none;
}

.ghs-dir-toggle__label {
	color: var(--ghs-ink);
	font-size: 0.875rem;
}

/* Toolbar (title + count above results) */
.ghs-dir-toolbar {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	margin-bottom: 1.25rem;
}

.ghs-dir-page-title {
	color: var(--ghs-ink);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

.ghs-dir-count {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	font-size: 0.8125rem;
	margin: 0;
}

/* Results grid */
.ghs-dir-grid {
	display: grid;
	gap: 1.15rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 80em) {
	.ghs-dir-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 56em) {
	.ghs-dir-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 36em) {
	.ghs-dir-grid {
		grid-template-columns: 1fr;
	}
}

/* Member card */
.ghs-dir-card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--e-global-color-primary) 4%, transparent);
	color: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ghs-dir-card:hover {
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 45%, transparent);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--e-global-color-primary) 8%, transparent);
	transform: translateY(-2px);
}

.ghs-dir-card__hero {
	align-items: center;
	display: flex;
	justify-content: center;
	min-height: 7.5rem;
	position: relative;
}

.ghs-dir-grid .ghs-dir-card:nth-child(3n + 1) .ghs-dir-card__hero {
	background: var(--ghs-brand);
}

.ghs-dir-grid .ghs-dir-card:nth-child(3n + 2) .ghs-dir-card__hero {
	background: color-mix(in srgb, var(--e-global-color-primary) 32%, var(--e-global-color-accent));
}

.ghs-dir-grid .ghs-dir-card:nth-child(3n) .ghs-dir-card__hero {
	background: color-mix(in srgb, var(--e-global-color-accent) 58%, var(--e-global-color-primary));
}

.ghs-dir-card__hero-initial {
	color: var(--ghs-light);
	font-size: clamp(2.5rem, 5vw, 3.25rem);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.ghs-dir-card__featured-badge {
	align-items: center;
	background: var(--ghs-surface);
	border-radius: 9999px;
	color: var(--ghs-ink);
	display: inline-flex;
	font-size: 0.625rem;
	font-weight: 700;
	gap: 0.2rem;
	letter-spacing: 0.08em;
	padding: 0.28rem 0.55rem;
	position: absolute;
	right: 0.65rem;
	text-transform: uppercase;
	top: 0.65rem;
}

.ghs-dir-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0.95rem 1rem 1.05rem;
}

.ghs-dir-card__name {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.ghs-dir-card__title {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	line-height: 1.35;
	margin: 0;
}

.ghs-dir-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.15rem;
}

.ghs-dir-card__tag {
	background: color-mix(in srgb, var(--e-global-color-secondary) 12%, var(--e-global-color-text));
	border-radius: 9999px;
	color: var(--ghs-ink);
	font-size: 0.6875rem;
	font-weight: 500;
	padding: 0.28em 0.62em;
}

.ghs-dir-card__tag--more {
	background: transparent;
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
}

.ghs-dir-card__city {
	color: var(--ghs-muted);
	font-size: 0.75rem;
	margin: auto 0 0;
}

.ghs-dir-card__city span[aria-hidden="true"] {
	margin-right: 0.25rem;
}

/* Pagination */
.ghs-dir-pagination {
	align-items: center;
	display: flex;
	gap: 0.3rem;
	justify-content: center;
	margin-top: 2rem;
}

.ghs-dir-pag-btn {
	align-items: center;
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	border-radius: 0.375rem;
	color: var(--ghs-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.875rem;
	height: 2.25rem;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0 0.5rem;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ghs-dir-pag-btn:hover:not(:disabled):not(.is-current) {
	background: color-mix(in srgb, var(--e-global-color-secondary) 10%, transparent);
	border-color: var(--ghs-brand);
}

.ghs-dir-pag-btn.is-current {
	background: var(--ghs-brand);
	border-color: var(--ghs-brand);
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-dir-pag-btn:disabled {
	cursor: default;
	opacity: 0.35;
}

.ghs-dir-pag-ellipsis {
	color: color-mix(in srgb, var(--e-global-color-primary) 40%, var(--e-global-color-accent));
	padding: 0 0.25rem;
}

/* Empty state */
.ghs-directory-empty {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	grid-column: 1 / -1;
	padding: 3rem 0;
	text-align: center;
}

/* Results grid must stay a grid (do not use display:contents here) */
.ghs-dir-grid.ghs-directory-results {
	display: grid;
}

/* Elementor split shortcodes: pass-through wrappers only */
.ghs-directory[data-ghs-directory] > .ghs-directory-grid:not(.ghs-dir-grid):not(.ghs-directory-preview__grid):not(.ghs-portal-features) {
	display: contents;
}

/* Preview (blurred teaser for non-members) */
.ghs-directory-preview__inner {
	position: relative;
}

.ghs-directory-preview__grid {
	filter: blur(6px);
	pointer-events: none;
	user-select: none;
}

.ghs-directory-preview__overlay {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	inset: 0;
	justify-content: center;
	padding: 1.5rem;
	position: absolute;
	text-align: center;
	z-index: 2;
}

.ghs-directory-preview__text {
	color: var(--ghs-ink);
	font-weight: 600;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Auth (login / register)
   ------------------------------------------------------------------------- */

.ghs-auth {
	align-items: center;
	background: var(--ghs-canvas);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 2.5rem clamp(1.25rem, 4vw, 2.25rem) 3.5rem;
}

.ghs-auth > * {
	max-width: 28rem;
	width: 100%;
}

.ghs-auth--register > * {
	max-width: 32rem;
}

.ghs-auth__header {
	margin-bottom: 2rem;
	text-align: center;
}

.ghs-auth__eyebrow {
	color: var(--ghs-brand);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.ghs-auth__title {
	color: var(--ghs-ink);
	font-size: clamp(1.875rem, 4vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.875rem;
}

.ghs-auth__lead {
	color: var(--ghs-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 24rem;
}

.ghs-auth__card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: var(--ghs-radius-lg);
	box-shadow: var(--ghs-shadow-md);
	margin-bottom: 1.5rem;
	padding: 2rem 2rem 1.75rem;
}

.ghs-auth__card.ghs-member-card {
	background: var(--ghs-surface);
	border-color: color-mix(in srgb, var(--e-global-color-accent) 22%, transparent);
	box-shadow: 0 4px 24px color-mix(in srgb, var(--e-global-color-primary) 6%, transparent);
}

.ghs-auth__card.ghs-member-card:hover {
	border-color: color-mix(in srgb, var(--e-global-color-accent) 22%, transparent);
	box-shadow: 0 4px 24px color-mix(in srgb, var(--e-global-color-primary) 6%, transparent);
}

.ghs-auth__forgot {
	margin: 0.5rem 0 0;
	text-align: right;
}

.ghs-auth__forgot a {
	color: var(--ghs-brand);
	font-size: 0.8125rem;
	font-weight: 500;
	text-decoration: none;
}

.ghs-auth__forgot a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ghs-auth__switch {
	color: var(--ghs-muted);
	font-size: 0.875rem;
	margin: 1.75rem 0 0;
	text-align: center;
}

.ghs-auth__switch a,
.ghs-auth__switch-link {
	color: var(--ghs-ink);
	font-weight: 700;
	text-decoration: none;
}

.ghs-auth__switch a:hover,
.ghs-auth__switch-link:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ghs-auth--register .ghs-auth__switch-link {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ghs-auth .ghs-form-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.ghs-auth .ghs-required {
	color: var(--ghs-ink);
	font-weight: 700;
}

.ghs-auth .ghs-input,
.ghs-auth .ghs-form input[type="text"],
.ghs-auth .ghs-form input[type="email"],
.ghs-auth .ghs-form input[type="password"] {
	background: var(--ghs-input-bg);
	border: 1px solid var(--ghs-input-border);
	border-radius: var(--ghs-radius-sm);
	color: var(--ghs-ink);
	font-size: 0.875rem;
	height: 2.875rem;
	padding: 0 0.875rem;
}

.ghs-auth .ghs-input:hover,
.ghs-auth .ghs-form input:hover {
	border-color: color-mix(in srgb, var(--e-global-color-accent) 55%, transparent);
}

.ghs-auth .ghs-input:focus,
.ghs-auth .ghs-form input:focus {
	border-color: var(--ghs-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ghs-brand) 18%, transparent);
	outline: none;
}

.ghs-auth .ghs-form-field {
	margin-bottom: 1.25rem;
}

.ghs-auth .ghs-form-actions {
	margin-top: 0.5rem;
	padding-top: 0;
}

.ghs-auth .ghs-btn--primary,
.ghs-auth .ghs-btn--primary:hover,
.ghs-auth .ghs-btn--primary:focus-visible {
	background: var(--ghs-ink);
	border-color: var(--ghs-ink);
	box-shadow: none;
	color: var(--ghs-light);
	font-size: 0.875rem;
	font-weight: 600;
	height: 3rem;
	letter-spacing: 0.02em;
	padding-block: 0;
	width: 100%;
}

.ghs-auth .ghs-btn--primary:hover,
.ghs-auth .ghs-btn--primary:focus-visible {
	background: color-mix(in srgb, var(--ghs-ink) 88%, var(--ghs-muted));
	border-color: color-mix(in srgb, var(--ghs-ink) 88%, var(--ghs-muted));
}

.ghs-auth__details {
	margin-top: 1.25rem;
	padding: 0;
	overflow: hidden;
}

.ghs-auth__details-summary {
	color: var(--ghs-ink);
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	padding: 1.25rem 1.5rem;
}

.ghs-auth__details-summary::-webkit-details-marker {
	display: none;
}

.ghs-auth__details-summary::after {
	content: "+";
	float: right;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	opacity: 0.6;
}

.ghs-auth__details[open] .ghs-auth__details-summary::after {
	content: "âˆ’";
}

.ghs-auth__details-body {
	border-top: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	padding: 0 1.5rem 1.5rem;
}

.ghs-auth__details-text {
	color: var(--e-global-color-accent);
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 1rem 0 1.25rem;
}

/* -------------------------------------------------------------------------
   Alerts
   ------------------------------------------------------------------------- */

.ghs-alert {
	border-radius: 0.5rem;
	margin-bottom: 1.25rem;
	padding: 1rem 1.125rem;
}

.ghs-alert p,
.ghs-alert__list {
	margin: 0;
}

.ghs-alert__list {
	list-style: disc;
	padding-left: 1.15rem;
}

.ghs-alert__list li + li {
	margin-top: 0.35rem;
}

.ghs-alert--error {
	background: color-mix(in srgb, red 12%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, red 32%, transparent);
	color: var(--ghs-ink);
}

.ghs-alert--success {
	background: color-mix(in srgb, green 12%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, green 30%, transparent);
	color: var(--ghs-ink);
}

.ghs-alert--info {
	background: color-mix(in srgb, var(--e-global-color-secondary) 18%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-secondary) 45%, transparent);
	color: var(--ghs-ink);
}

.ghs-alert--info a {
	color: var(--ghs-brand);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
   Forms (shared)
   ------------------------------------------------------------------------- */

.ghs-form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ghs-form-section {
	border: none;
	margin: 0;
	padding: 0 0 1.25rem;
}

.ghs-form-section + .ghs-form-section {
	border-top: 1px solid color-mix(in srgb, var(--e-global-color-accent) 30%, transparent);
	margin-top: 0.25rem;
	padding-top: 1.5rem;
}

.ghs-form-section__title {
	color: var(--ghs-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 0 0 1.25rem;
}

.ghs-form-section__optional {
	color: var(--e-global-color-accent);
	font-size: 0.875rem;
	font-weight: 400;
}

.ghs-form-grid {
	display: grid;
	gap: 1rem 1.25rem;
}

.ghs-form-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 36em) {
	.ghs-form-grid--2 {
		grid-template-columns: 1fr;
	}
}

.ghs-form-field {
	margin-bottom: 1.125rem;
}

.ghs-form-field:last-child {
	margin-bottom: 0;
}

.ghs-form-label {
	color: var(--ghs-ink);
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.4;
	margin-bottom: 0.45rem;
}

.ghs-required {
	color: var(--ghs-brand);
}

.ghs-form-hint {
	color: color-mix(in srgb, var(--e-global-color-primary) 62%, var(--e-global-color-accent));
	font-size: 0.8125rem;
	margin: 0 0 0.5rem;
}

.ghs-input,
.ghs-form input[type="text"],
.ghs-form input[type="email"],
.ghs-form input[type="password"],
.ghs-form input[type="url"],
.ghs-form input[type="search"],
.ghs-form input[type="file"],
.ghs-form textarea,
.ghs-profile-form input[type="text"],
.ghs-profile-form input[type="url"],
.ghs-profile-form input[type="email"],
.ghs-profile-form textarea,
.ghs-directory-search {
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 50%, transparent);
	border-radius: 0.375rem;
	box-sizing: border-box;
	color: var(--ghs-ink);
	font: inherit;
	line-height: 1.5;
	max-width: 100%;
	padding: 0.68rem 0.85rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.ghs-input::placeholder,
.ghs-form input::placeholder,
.ghs-form textarea::placeholder,
.ghs-profile-form input::placeholder,
.ghs-profile-form textarea::placeholder {
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
	opacity: 1;
}

.ghs-input:hover,
.ghs-form input:hover,
.ghs-form textarea:hover,
.ghs-profile-form input:hover,
.ghs-profile-form textarea:hover,
.ghs-directory-search:hover {
	border-color: var(--ghs-brand);
}

.ghs-input:focus,
.ghs-form input:focus,
.ghs-form textarea:focus,
.ghs-profile-form input:focus,
.ghs-profile-form textarea:focus,
.ghs-directory-search:focus {
	border-color: var(--ghs-brand);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-global-color-secondary) 25%, transparent);
	outline: none;
}

.ghs-password-field {
	display: block;
	position: relative;
	width: 100%;
}

.ghs-password-field__input {
	padding-right: 3rem;
}

.ghs-password-field__input::-ms-reveal,
.ghs-password-field__input::-ms-clear {
	display: none;
}

.ghs-form .ghs-password-field__toggle,
.ghs-auth .ghs-password-field__toggle {
	appearance: none;
	-webkit-appearance: none;
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0.375rem;
	box-shadow: none !important;
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	cursor: pointer;
	display: inline-flex !important;
	height: 2.5rem;
	justify-content: center;
	line-height: 0;
	margin: 0;
	max-width: 2.5rem;
	min-height: 0;
	min-width: 0;
	padding: 0;
	position: absolute !important;
	right: 0.35rem;
	top: 50%;
	transform: translateY(-50%);
	transition: color 0.2s ease, background-color 0.2s ease;
	width: 2.5rem;
	z-index: 2;
}

.ghs-form .ghs-password-field__toggle:hover,
.ghs-auth .ghs-password-field__toggle:hover,
.ghs-form .ghs-password-field__toggle:focus-visible,
.ghs-auth .ghs-password-field__toggle:focus-visible {
	background: color-mix(in srgb, var(--e-global-color-secondary) 12%, transparent);
	color: var(--ghs-ink);
	outline: none;
}

.ghs-form .ghs-password-field__toggle:focus-visible,
.ghs-auth .ghs-password-field__toggle:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--e-global-color-secondary) 35%, transparent);
}

.ghs-password-field__svg {
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

.ghs-password-field__icon--show {
	display: none;
}

.ghs-password-field__icon--hide {
	display: block;
}

.ghs-password-field.is-visible .ghs-password-field__icon--show {
	display: block;
}

.ghs-password-field.is-visible .ghs-password-field__icon--hide {
	display: none;
}

/* Elementor/theme often forces all SVG children visible â€” override per state */
.ghs-auth .ghs-password-field:not(.is-visible) .ghs-password-field__icon--show,
.ghs-form .ghs-password-field:not(.is-visible) .ghs-password-field__icon--show {
	display: none !important;
}

.ghs-auth .ghs-password-field:not(.is-visible) .ghs-password-field__icon--hide,
.ghs-form .ghs-password-field:not(.is-visible) .ghs-password-field__icon--hide {
	display: block !important;
}

.ghs-auth .ghs-password-field.is-visible .ghs-password-field__icon--show,
.ghs-form .ghs-password-field.is-visible .ghs-password-field__icon--show {
	display: block !important;
}

.ghs-auth .ghs-password-field.is-visible .ghs-password-field__icon--hide,
.ghs-form .ghs-password-field.is-visible .ghs-password-field__icon--hide {
	display: none !important;
}

.ghs-form textarea,
.ghs-profile-form textarea {
	min-height: 7rem;
	resize: vertical;
}

.ghs-form-actions {
	margin-top: 0.75rem;
	padding-top: 0.35rem;
}

.ghs-btn--block {
	display: block;
	width: 100%;
}

/* Honeypot anti-spam field â€” must not be visible to humans */
.ghs-hp-field {
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.ghs-hp-field label,
.ghs-hp-field input {
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
}

.ghs-sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Industry checkboxes (register + profile) */

.ghs-checkbox-grid {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 36em) {
	.ghs-checkbox-grid {
		grid-template-columns: 1fr;
	}
}

.ghs-checkbox-card {
	align-items: center;
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 40%, transparent);
	border-radius: 0.375rem;
	cursor: pointer;
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0.65rem 0.85rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.ghs-checkbox-card:hover {
	border-color: var(--ghs-brand);
}

.ghs-checkbox-card:has(input:checked) {
	background: color-mix(in srgb, var(--e-global-color-secondary) 15%, var(--e-global-color-text));
	border-color: var(--ghs-brand);
}

.ghs-checkbox-card input {
	accent-color: var(--ghs-brand);
	flex-shrink: 0;
	margin: 0;
}

.ghs-checkbox-card__label {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	line-height: 1.35;
}

/* File upload */

.ghs-file-upload {
	position: relative;
}

.ghs-file-upload__input {
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	width: 0.1px;
	z-index: -1;
}

.ghs-file-upload__label {
	background: color-mix(in srgb, var(--e-global-color-secondary) 8%, var(--e-global-color-text));
	border: 1px dashed color-mix(in srgb, var(--e-global-color-secondary) 55%, transparent);
	border-radius: 0.375rem;
	color: var(--ghs-ink);
	cursor: pointer;
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 1rem 1.25rem;
	text-align: center;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.ghs-file-upload__label:hover {
	background: color-mix(in srgb, var(--e-global-color-secondary) 16%, var(--e-global-color-text));
	border-color: var(--ghs-brand);
}

.ghs-file-upload__input:focus + .ghs-file-upload__label {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--e-global-color-secondary) 25%, transparent);
	outline: none;
}

/* -------------------------------------------------------------------------
   Portal & directory polish
   ------------------------------------------------------------------------- */

.ghs-directory[data-ghs-directory] {
	background: var(--ghs-canvas);
	min-height: 0;
	padding: clamp(1rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
}

.ghs-directory[data-ghs-directory] > .ghs-dir-layout,
.ghs-directory[data-ghs-directory] > .ghs-dir-notice {
	margin-inline: auto;
	max-width: 90rem;
	width: 100%;
}

.ghs-directory-join-wrap {
	align-items: center;
	background: var(--ghs-canvas);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 50vh;
	padding: 2rem clamp(1.25rem, 4vw, 2.25rem) 3rem;
}

.ghs-directory-join-wrap > * {
	max-width: 28rem;
	width: 100%;
}

.ghs-directory-preview {
	background: var(--ghs-canvas);
	box-sizing: border-box;
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem) 3rem;
}

.ghs-directory-preview__inner {
	margin-inline: auto;
	max-width: 90rem;
	width: 100%;
}

.ghs-portal--pending {
	align-items: center;
	background: var(--ghs-canvas);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 50vh;
	padding: 2.5rem clamp(1.25rem, 4vw, 2.25rem) 3.5rem;
}

.ghs-portal--pending > * {
	max-width: 32rem;
	width: 100%;
}

.ghs-portal--pending .ghs-member-card,
.ghs-directory-join {
	text-align: center;
}

.ghs-portal--pending h4,
.ghs-directory-join h4 {
	color: var(--ghs-ink);
	margin-top: 0;
}

.ghs-portal--pending p,
.ghs-directory-join p {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
	line-height: 1.55;
}

.ghs-portal--pending .ghs-btn,
.ghs-directory-join .ghs-btn {
	margin-top: 0.5rem;
}

.ghs-portal-renewal-banner,
.ghs-renewal-banner {
	border-radius: 0.5rem;
}

/* -------------------------------------------------------------------------
   Member profile page
   ------------------------------------------------------------------------- */

.ghs-profile {
	background: var(--ghs-canvas);
	box-sizing: border-box;
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.25rem) 3rem;
}

.ghs-profile > * {
	margin-inline: auto;
	max-width: min(75rem, 100%);
	min-width: 0;
	width: 100%;
}

.ghs-profile__back-bar {
	margin-bottom: 1.25rem;
}

.ghs-profile__back-link {
	align-items: center;
	color: color-mix(in srgb, var(--e-global-color-primary) 60%, var(--e-global-color-accent));
	display: inline-flex;
	font-size: 0.875rem;
	gap: 0.3rem;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ghs-profile__back-link:hover {
	color: var(--ghs-brand);
}

/* Incomplete banner */
.ghs-profile__incomplete-banner {
	align-items: center;
	background: color-mix(in srgb, var(--e-global-color-secondary) 10%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-secondary) 35%, transparent);
	border-radius: 0.625rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding: 0.9rem 1.25rem;
}

.ghs-profile__incomplete-text {
	display: flex;
	flex-direction: column;
	font-size: 0.9rem;
	gap: 0.1rem;
}

.ghs-profile__incomplete-text strong {
	color: var(--ghs-ink);
}

.ghs-profile__incomplete-text span {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
}

/* Profile header card */
.ghs-profile__card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 16px color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
	margin-bottom: 1rem;
	overflow: hidden;
}

.ghs-profile__banner {
	background: linear-gradient(
		90deg,
		var(--e-global-color-secondary) 0%,
		color-mix(in srgb, var(--e-global-color-accent) 55%, var(--e-global-color-primary)) 100%
	);
	height: 5.5rem;
}

.ghs-profile__card-body {
	padding: 0 1.5rem 1.5rem;
}

.ghs-profile__avatar-wrap {
	margin-top: -2.75rem;
}

.ghs-profile__avatar {
	border: 4px solid var(--e-global-color-text);
	border-radius: 50%;
	display: block;
	height: 5.5rem;
	object-fit: cover;
	width: 5.5rem;
}

.ghs-profile__avatar--initials {
	align-items: center;
	background: var(--ghs-ink);
	color: var(--ghs-light);
	display: inline-flex;
	font-size: 1.75rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	text-transform: uppercase;
}

.ghs-profile__identity {
	margin-top: 0.85rem;
}

.ghs-profile__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.65rem;
}

.ghs-profile__badge {
	align-items: center;
	background: color-mix(in srgb, var(--e-global-color-secondary) 14%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-secondary) 40%, transparent);
	border-radius: 9999px;
	color: var(--ghs-ink);
	display: inline-flex;
	font-size: 0.7rem;
	font-weight: 700;
	gap: 0.3rem;
	letter-spacing: 0.07em;
	padding: 0.25em 0.7em;
	text-transform: uppercase;
}

.ghs-profile__badge--founding {
	background: color-mix(in srgb, var(--e-global-color-secondary) 22%, var(--e-global-color-text));
	border-color: color-mix(in srgb, var(--e-global-color-secondary) 55%, transparent);
}

.ghs-profile__name {
	color: var(--ghs-ink);
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.25rem;
}

.ghs-profile__title {
	color: var(--ghs-muted);
	font-size: 0.875rem;
	margin: 0 0 0.2rem;
}

.ghs-profile__location {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	margin: 0.15rem 0 0;
}

.ghs-profile__location span[aria-hidden="true"] {
	margin-right: 0.25rem;
}

/* Profile links (website / social / edit) */
.ghs-profile__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.ghs-profile__link-btn {
	align-items: center;
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	border-radius: 0.375rem;
	color: var(--ghs-ink);
	display: inline-flex;
	font-size: 0.8125rem;
	font-weight: 500;
	gap: 0.35rem;
	padding: 0.45em 0.85em;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ghs-profile__link-btn:hover {
	background: color-mix(in srgb, var(--e-global-color-secondary) 12%, var(--e-global-color-text));
	border-color: var(--ghs-brand);
}

.ghs-profile__link-btn--edit {
	border-style: dashed;
	color: color-mix(in srgb, var(--e-global-color-primary) 60%, var(--e-global-color-accent));
}

/* Profile body sections */
.ghs-profile__section {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--e-global-color-primary) 4%, transparent);
	margin-bottom: 1rem;
	padding: 1.25rem 1.5rem;
}

.ghs-profile__section--empty,
.ghs-profile__section--empty p {
	color: var(--ghs-muted);
}

.ghs-profile__section--empty p,
.ghs-profile__section p {
	margin: 0;
}

.ghs-profile__section-title {
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.ghs-profile__bio {
	color: color-mix(in srgb, var(--e-global-color-primary) 85%, var(--e-global-color-accent));
	line-height: 1.65;
}

.ghs-profile__bio p:first-child { margin-top: 0; }
.ghs-profile__bio p:last-child  { margin-bottom: 0; }

.ghs-profile__industry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.ghs-profile__industry-tag {
	background: color-mix(in srgb, var(--e-global-color-secondary) 14%, var(--e-global-color-text));
	border: 0;
	border-radius: 9999px;
	color: var(--ghs-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	padding: 0.38em 0.9em;
	text-decoration: none;
	transition: background 0.15s ease;
}

.ghs-profile__industry-tag:hover {
	background: color-mix(in srgb, var(--e-global-color-secondary) 12%, var(--e-global-color-text));
	border-color: var(--ghs-brand);
}

.ghs-profile__gallery {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}

.ghs-profile__gallery-item {
	border: 1px solid var(--ghs-line);
	border-radius: var(--ghs-radius-md);
	display: block;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ghs-profile__gallery-item:hover {
	border-color: var(--ghs-brand);
	box-shadow: var(--ghs-shadow-sm);
}

.ghs-profile__gallery-item img {
	aspect-ratio: 1;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Small button variant */
.ghs-btn--sm {
	font-size: 0.8125rem;
	padding: 0.45em 0.9em;
}

/* Legacy directory filter classes (keep Elementor shortcodes working) */
.ghs-directory-filters { margin-bottom: 1.5rem; }
.ghs-directory-search { margin-bottom: 1rem; max-width: 100%; width: 100%; }
.ghs-directory-search-label { display: none; }
.ghs-directory-categories { border: none; margin: 0; padding: 0; }
.ghs-directory-featured-toggle { display: block; margin: 0.5rem 0; }
.ghs-directory-clear { color: var(--ghs-brand); }
.ghs-directory-count { color: color-mix(in srgb, var(--e-global-color-primary) 60%, var(--e-global-color-accent)); margin: 1rem 0; }
.ghs-directory-pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.ghs-directory-pagination .is-current { background: var(--ghs-brand); border-color: var(--ghs-brand); color: var(--ghs-ink); font-weight: 600; }

.ghs-member-card h4,
.ghs-member-card h5 {
	color: var(--ghs-ink);
}

.ghs-register-form .ghs-form-actions {
	margin-top: 0.25rem;
	padding-top: 0.5rem;
}

/* Events - shared layout (portal tab + [ghs_events] shortcode) */
.ghs-portal-events,
.ghs-events-public {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1400px;
	padding-inline: clamp(1rem, 2.5vw, 2rem);
	width: 100%;
}

.ghs-portal-events__header {
	margin-bottom: 1.75rem;
}

.ghs-events-public .ghs-portal-events__header {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	text-align: center;
}

.ghs-portal-events__title {
	color: var(--ghs-ink);
	font-size: clamp(1.75rem, 3vw, 2.125rem);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.ghs-events-public .ghs-portal-events__title {
	font-size: clamp(1.875rem, 4vw, 2.5rem);
	letter-spacing: -0.02em;
}

.ghs-portal-events__lead {
	color: var(--ghs-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
}

.ghs-events-public .ghs-portal-events__lead {
	font-size: 1rem;
	margin-inline: auto;
	max-width: 36rem;
}

.ghs-portal-events__section {
	margin-bottom: 2rem;
}

.ghs-portal-events__section-title {
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.ghs-events-public .ghs-portal-events__section-title {
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	margin-bottom: 1.25rem;
}

.ghs-portal-events__empty {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	font-size: 0.875rem;
	margin: 0;
}

.ghs-events-public .ghs-portal-events__empty {
	background: color-mix(in srgb, var(--ghs-muted) 6%, transparent);
	border: 1px dashed var(--ghs-line);
	border-radius: var(--ghs-radius-md);
	padding: 1.5rem;
	text-align: center;
}

.ghs-portal-events__list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.ghs-event-card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: var(--ghs-radius-lg);
	box-shadow: var(--ghs-shadow-sm);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ghs-event-card:hover {
	border-color: color-mix(in srgb, var(--ghs-brand) 45%, var(--ghs-line));
	box-shadow: var(--ghs-shadow-md);
}

.ghs-event-card__layout {
	align-items: stretch;
	display: flex;
	flex-direction: row;
	gap: 0;
	min-width: 0;
	width: 100%;
}

.elementor .ghs-event-card__layout,
.ghs-events-public .ghs-event-card__layout,
.ghs-portal-events .ghs-event-card__layout {
	align-items: stretch !important;
	display: flex !important;
	flex-direction: row !important;
}

.ghs-event-card__aside {
	background: color-mix(in srgb, var(--ghs-muted) 8%, transparent);
	flex: 0 0 30%;
	max-width: 30%;
	min-height: 0;
	min-width: 0;
	overflow: hidden;
	position: relative;
	width: 30%;
	align-self: stretch;
}

.elementor .ghs-event-card__aside,
.ghs-events-public .ghs-event-card__aside,
.ghs-portal-events .ghs-event-card__aside {
	align-self: stretch !important;
	flex: 0 0 30% !important;
	max-width: 30% !important;
	position: relative !important;
	width: 30% !important;
}

.ghs-event-card__media {
	appearance: none;
	background: none;
	border: 0;
	cursor: zoom-in;
	display: block;
	height: 100%;
	line-height: 0;
	padding: 0;
	position: relative;
	width: 100%;
}

.ghs-event-card__media--lightbox:hover img,
.ghs-event-card__media--lightbox:focus-visible img {
	filter: brightness(0.88);
}

.ghs-event-card__media--lightbox:focus-visible {
	outline: 3px solid var(--ghs-brand);
	outline-offset: -3px;
}

.elementor .ghs-event-card__media img,
.ghs-event-card__media img {
	border-radius: 0 !important;
	display: block;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	transition: filter 0.2s ease;
	width: 100% !important;
}

/* -------------------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------------------- */

.ghs-lightbox {
	align-items: center;
	background: rgba(0, 0, 0, 0.88);
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 1.5rem;
	position: fixed;
	transition: opacity 0.2s ease;
	z-index: 99999;
}

.ghs-lightbox.is-open {
	opacity: 1;
}

.ghs-lightbox__img {
	border-radius: 0.5rem;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
	display: block;
	max-height: 90vh;
	max-width: 90vw;
	object-fit: contain;
	transform: scale(0.96);
	transition: transform 0.2s ease;
}

.ghs-lightbox.is-open .ghs-lightbox__img {
	transform: scale(1);
}

.ghs-lightbox__close {
	align-items: center;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1.5rem;
	height: 2.75rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 1rem;
	top: 1rem;
	transition: background 0.15s ease;
	width: 2.75rem;
}

.ghs-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.22);
}

.ghs-event-card__date {
	align-items: center;
	color: var(--ghs-light);
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 0.5rem;
	text-align: center;
	width: 100%;
}

.ghs-portal-events__list .ghs-event-card:nth-child(3n + 1) .ghs-event-card__date {
	background: var(--ghs-brand);
}

.ghs-portal-events__list .ghs-event-card:nth-child(3n + 2) .ghs-event-card__date {
	background: color-mix(in srgb, var(--e-global-color-primary) 32%, var(--e-global-color-accent));
}

.ghs-portal-events__list .ghs-event-card:nth-child(3n) .ghs-event-card__date {
	background: color-mix(in srgb, var(--e-global-color-accent) 58%, var(--e-global-color-primary));
}

.ghs-event-card__month {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.ghs-event-card__day {
	font-size: clamp(1rem, 2vw, 1.35rem);
	font-weight: 700;
	line-height: 1;
}

.ghs-event-card__content {
	display: flex;
	flex: 1 1 70%;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 70%;
	min-width: 0;
	padding: clamp(0.55rem, 1.25vw, 0.85rem) clamp(0.75rem, 2vw, 1.25rem);
}

.elementor .ghs-event-card__content,
.ghs-events-public .ghs-event-card__content,
.ghs-portal-events .ghs-event-card__content {
	flex: 1 1 70% !important;
	max-width: 70% !important;
	min-width: 0 !important;
}

.ghs-event-card__head {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	justify-content: space-between;
}

.ghs-event-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.ghs-event-card__members-badge {
	background: color-mix(in srgb, var(--e-global-color-primary) 8%, transparent);
	border: 1px solid var(--ghs-line);
	border-radius: 9999px;
	color: color-mix(in srgb, var(--e-global-color-primary) 70%, var(--e-global-color-accent));
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.2em 0.65em;
	text-transform: uppercase;
}

.ghs-event-card__members-badge--priority {
	background: color-mix(in srgb, var(--ghs-brand) 14%, transparent);
	border-color: color-mix(in srgb, var(--ghs-brand) 35%, var(--ghs-line));
	color: var(--ghs-ink);
}

.ghs-event-card__title {
	color: var(--ghs-ink);
	font-size: clamp(0.95rem, 1.75vw, 1.1rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.ghs-event-card__description {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
	font-size: 0.8125rem;
	line-height: 1.4;
	margin: 0;
}

.ghs-event-card__details {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.ghs-event-card__meta,
.ghs-event-card__location,
.ghs-event-card__stats {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	line-height: 1.35;
	margin: 0;
}

.ghs-event-card__meta,
.ghs-event-card__location {
	align-items: center;
	display: flex;
	gap: 0.4rem;
}

.ghs-event-card__meta::before,
.ghs-event-card__location::before {
	background: currentColor;
	content: "";
	display: inline-block;
	flex-shrink: 0;
	height: 0.85rem;
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
	opacity: 0.55;
	width: 0.85rem;
}

.ghs-event-card__meta::before {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

.ghs-event-card__location::before {
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.ghs-event-card__stats {
	align-self: flex-start;
	background: color-mix(in srgb, var(--ghs-brand) 10%, transparent);
	border-radius: var(--ghs-radius-sm);
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 600;
	margin-top: 0.125rem;
	padding: 0.2rem 0.5rem;
}

.ghs-event-card__attending-badge {
	align-items: center;
	background: color-mix(in srgb, #22a06b 14%, var(--e-global-color-text));
	border-radius: 9999px;
	color: #1a7f53;
	display: inline-flex;
	font-size: 0.625rem;
	font-weight: 700;
	gap: 0.3rem;
	letter-spacing: 0.08em;
	padding: 0.28rem 0.55rem;
	text-transform: uppercase;
}

.ghs-event-card__attending-badge--past {
	background: color-mix(in srgb, var(--e-global-color-primary) 10%, transparent);
	color: var(--ghs-ink);
}

.ghs-event-card__attending-badge--waitlist {
	background: color-mix(in srgb, var(--ghs-brand) 18%, transparent);
	color: var(--ghs-ink);
}

.ghs-event-card__attending-dot {
	background: #22a06b;
	border-radius: 50%;
	display: inline-block;
	height: 0.4rem;
	width: 0.4rem;
}

.ghs-event-card--past {
	opacity: 0.88;
}

.ghs-portal-events__section-lead {
	color: var(--ghs-muted);
	font-size: 0.875rem;
	margin: -0.35rem 0 1rem;
}

.ghs-portal-events__section--mine {
	border-bottom: 1px solid var(--ghs-line);
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
}

.ghs-event-card__actions {
	align-items: flex-end;
	border-top: 1px solid var(--ghs-line-soft);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.35rem;
	padding-top: 0.5rem;
	width: 100%;
}

.ghs-event-card__actions .ghs-event-rsvp-form,
.ghs-event-card__actions .ghs-guest-rsvp-form {
	margin: 0;
	width: 100%;
}

.ghs-event-card__actions .ghs-btn--status {
	align-self: flex-start;
}

.ghs-event-card__actions .ghs-event-rsvp-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ghs-event-card__actions .ghs-event-rsvp-form .ghs-btn {
	flex: 1 1 auto;
	min-width: 9rem;
}

.ghs-event-card__actions .ghs-btn--status {
	cursor: default;
	pointer-events: none;
}

.ghs-event-rsvp-form {
	margin: 0;
}

.ghs-guest-rsvp-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.ghs-event-card__guest-label {
	color: var(--ghs-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-transform: uppercase;
}

.ghs-event-card__guest-fields {
	display: grid;
	gap: 0.45rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.ghs-event-card__guest-fields label:last-child {
	grid-column: 1 / -1;
}

.ghs-field__label {
	color: var(--ghs-muted);
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin-bottom: 0.35rem;
}

.ghs-field__optional {
	font-weight: 500;
	opacity: 0.75;
	text-transform: none;
}

.ghs-event-card__guest-fields input {
	background: var(--ghs-input-bg);
	border: 1px solid var(--ghs-input-border);
	border-radius: var(--ghs-radius-sm);
	box-sizing: border-box;
	color: var(--ghs-ink);
	font-size: 0.875rem;
	line-height: 1.3;
	padding: 0.5rem 0.7rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.ghs-event-card__guest-fields input:focus {
	border-color: color-mix(in srgb, var(--ghs-brand) 55%, var(--ghs-input-border));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ghs-brand) 18%, transparent);
	outline: none;
}

.ghs-guest-rsvp-form .ghs-btn {
	align-self: flex-start;
	min-width: 9rem;
}

.ghs-event-card__members-only {
	background: color-mix(in srgb, var(--ghs-brand) 10%, transparent);
	border-radius: var(--ghs-radius-sm);
	color: var(--ghs-ink);
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0;
	padding: 0.75rem 0.9rem;
	width: 100%;
}

.ghs-event-card__members-only a {
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-events-public .ghs-portal-events__footer {
	align-items: center;
	border-top: 1px solid var(--ghs-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 2rem;
	padding-top: 1.75rem;
}

.ghs-events-public .ghs-alert {
	border-radius: var(--ghs-radius-sm);
	margin-bottom: 1rem;
}

@media (max-width: 52em) {
	.ghs-event-card__layout {
		flex-direction: column;
	}

	.elementor .ghs-event-card__layout,
	.ghs-events-public .ghs-event-card__layout,
	.ghs-portal-events .ghs-event-card__layout {
		flex-direction: column !important;
	}

	.ghs-event-card__aside {
		aspect-ratio: 16 / 9;
		flex: none;
		max-height: 140px;
		max-width: 100%;
		width: 100%;
	}

	.elementor .ghs-event-card__aside,
	.ghs-events-public .ghs-event-card__aside,
	.ghs-portal-events .ghs-event-card__aside {
		flex: none !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.ghs-event-card__content {
		flex: 1 1 auto;
		max-width: 100%;
	}

	.elementor .ghs-event-card__content,
	.ghs-events-public .ghs-event-card__content,
	.ghs-portal-events .ghs-event-card__content {
		flex: 1 1 auto !important;
		max-width: 100% !important;
	}

	.ghs-event-card__guest-fields {
		grid-template-columns: 1fr;
	}

	.ghs-guest-rsvp-form .ghs-btn {
		align-self: stretch;
		width: 100%;
	}
}

.ghs-event-preview-list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
}

.ghs-event-preview-list li {
	margin-bottom: 0.5rem;
}

.ghs-event-preview-list__date {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
	display: block;
	font-size: 0.9em;
}

.ghs-directory-waiting {
	margin-inline: auto;
	max-width: min(40rem, 100%);
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
}

.ghs-directory-waiting__card {
	padding: clamp(1.5rem, 4vw, 2.25rem);
	text-align: center;
}

.ghs-directory-waiting__eyebrow {
	color: var(--ghs-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.ghs-directory-waiting__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
}

.ghs-directory-waiting__lead {
	color: var(--ghs-muted);
	margin: 0 0 1rem;
}

.ghs-directory-waiting__body {
	margin: 0 0 1.5rem;
}

.ghs-directory-waiting__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin: 0;
}

.ghs-directory-waiting__logout {
	margin: 1.25rem 0 0;
}

@media (max-width: 36em) {
	.ghs-member-card {
		padding: 1.125rem;
	}

	.ghs-auth {
		margin-top: 1.25rem;
	}

	.ghs-auth__card {
		padding: 1.5rem 1.25rem 1.25rem;
	}

	.ghs-auth__details-summary {
		padding: 1rem 1.125rem;
	}

	.ghs-auth__details-body {
		padding: 0 1.125rem 1.125rem;
	}
}

/* =========================================================================
   Membership & Billing tab
   ========================================================================= */

.ghs-billing {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 48rem;
}

.ghs-billing__header {
	margin-bottom: 0.5rem;
}

.ghs-billing__title {
	color: var(--ghs-ink);
	font-size: clamp(1.5rem, 3vw, 1.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.375rem;
}

.ghs-billing__lead {
	color: var(--ghs-muted);
	font-size: 0.9375rem;
	margin: 0;
}

/* Alert banners inside billing */
.ghs-billing-alert {
	align-items: flex-start;
	border-radius: 0.625rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	padding: 1rem 1.25rem;
}

.ghs-billing-alert svg {
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.ghs-billing-alert > div {
	flex: 1;
	min-width: 0;
}

.ghs-billing-alert > div strong {
	color: var(--ghs-ink);
	display: block;
	font-size: 0.9375rem;
	margin-bottom: 0.2rem;
}

.ghs-billing-alert > div p {
	color: color-mix(in srgb, var(--e-global-color-primary) 70%, var(--e-global-color-accent));
	font-size: 0.875rem;
	margin: 0;
}

.ghs-billing-alert--warning {
	background: color-mix(in srgb, #f59e0b 10%, var(--ghs-surface));
	border: 1px solid color-mix(in srgb, #f59e0b 35%, transparent);
	color: #92400e;
}

.ghs-billing-alert--warning svg {
	color: #d97706;
}

.ghs-billing-alert--expired {
	background: color-mix(in srgb, #ef4444 10%, var(--ghs-surface));
	border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
}

.ghs-billing-alert--expired svg {
	color: #ef4444;
}

/* Plan card */
.ghs-billing-card {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 16px color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
	overflow: hidden;
}

.ghs-billing-card__header {
	align-items: flex-start;
	background: var(--ghs-surface);
	border-bottom: 1px solid var(--ghs-line);
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 1.5rem 1.15rem;
}

.ghs-billing-card__eyebrow {
	color: var(--ghs-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 0.4rem;
	text-transform: uppercase;
}

.ghs-billing-card__plan-name {
	color: var(--ghs-ink);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
}

/* Status pill */
.ghs-billing-status {
	align-items: center;
	border-radius: 9999px;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 700;
	gap: 0.35rem;
	letter-spacing: 0.06em;
	padding: 0.3em 0.85em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ghs-billing-status--active {
	background: color-mix(in srgb, #22c55e 14%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, #22c55e 40%, transparent);
	color: #15803d;
}

.ghs-billing-status__dot {
	background: #22a06b;
	border-radius: 50%;
	display: inline-block;
	height: 0.45rem;
	width: 0.45rem;
}

.ghs-billing-status--expired {
	background: color-mix(in srgb, #ef4444 12%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
	color: #b91c1c;
}

.ghs-billing-status--pending,
.ghs-billing-status--unregistered {
	background: color-mix(in srgb, var(--e-global-color-accent) 15%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 35%, transparent);
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
}

/* Metadata grid */
.ghs-billing-card__meta {
	display: grid;
	gap: 0;
	padding: 0.5rem 0;
}

.ghs-billing-meta-item {
	align-items: baseline;
	border-bottom: 1px solid var(--ghs-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.75rem 1.5rem;
}

.ghs-billing-meta-item:last-child {
	border-bottom: none;
}

.ghs-billing-meta-item__label {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	font-size: 0.875rem;
	flex-shrink: 0;
}

.ghs-billing-meta-item__value {
	color: var(--ghs-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: right;
}

.ghs-billing-days-pill {
	border-radius: 9999px;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-left: 0.5rem;
	padding: 0.2em 0.65em;
	text-transform: uppercase;
	vertical-align: middle;
}

.ghs-billing-days-pill.ghs-days-remaining--urgent {
	background: color-mix(in srgb, #ef4444 15%, var(--e-global-color-text));
	color: #b91c1c;
}

.ghs-billing-days-pill.ghs-days-remaining--warning {
	background: color-mix(in srgb, #f59e0b 15%, var(--e-global-color-text));
	color: #92400e;
}

.ghs-billing-days-pill.ghs-days-remaining--accent {
	background: color-mix(in srgb, var(--e-global-color-secondary) 14%, var(--e-global-color-text));
	color: var(--ghs-ink);
}

.ghs-billing-tier-note {
	color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
	font-size: 0.8rem;
	font-weight: 400;
	margin-left: 0.35rem;
}

/* Action buttons row */
.ghs-billing-card__actions {
	align-items: center;
	border-top: 1px solid color-mix(in srgb, var(--e-global-color-accent) 22%, transparent);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem;
}

/* Ghost button variant (billing cancel uses outlined style) */
.ghs-billing .ghs-btn--ghost {
	background: var(--ghs-surface);
	border: 1px solid color-mix(in srgb, var(--e-global-color-accent) 45%, transparent);
	box-shadow: none;
	color: var(--ghs-ink);
	font-weight: 600;
}

.ghs-billing .ghs-btn--ghost:hover,
.ghs-billing .ghs-btn--ghost:focus-visible {
	background: color-mix(in srgb, var(--e-global-color-accent) 8%, var(--e-global-color-text));
	border-color: color-mix(in srgb, var(--e-global-color-primary) 30%, var(--e-global-color-accent));
	color: var(--ghs-ink);
}

.ghs-billing .ghs-btn--accent {
	color: var(--ghs-light);
	font-weight: 700;
}

/* Danger button */
.ghs-btn--danger {
	background: #ef4444;
	border-color: #ef4444;
	color: #fff;
}

.ghs-btn--danger:hover,
.ghs-btn--danger:focus-visible {
	background: #dc2626;
	border-color: #dc2626;
	color: #fff;
}

/* Cancel confirm panel */
.ghs-billing-cancel-panel {
	background: color-mix(in srgb, #ef4444 6%, var(--e-global-color-text));
	border-top: 1px solid color-mix(in srgb, #ef4444 25%, transparent);
	padding: 1.25rem 1.5rem;
}

.ghs-billing-cancel-panel__inner {
	align-items: flex-start;
	display: flex;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.ghs-billing-cancel-panel__inner svg {
	color: #ef4444;
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.ghs-billing-cancel-panel__inner strong {
	color: var(--ghs-ink);
	display: block;
	margin-bottom: 0.25rem;
}

.ghs-billing-cancel-panel__inner p {
	color: color-mix(in srgb, var(--e-global-color-primary) 65%, var(--e-global-color-accent));
	font-size: 0.875rem;
	margin: 0;
}

.ghs-billing-cancel-panel__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Info note below card */
.ghs-billing-info-note {
	align-items: flex-start;
	background: color-mix(in srgb, var(--e-global-color-secondary) 7%, var(--e-global-color-text));
	border: 1px solid color-mix(in srgb, var(--e-global-color-secondary) 22%, transparent);
	border-radius: 0.5rem;
	color: color-mix(in srgb, var(--e-global-color-primary) 70%, var(--e-global-color-accent));
	display: flex;
	font-size: 0.875rem;
	gap: 0.6rem;
	line-height: 1.5;
	padding: 0.875rem 1.125rem;
}

.ghs-billing-info-note svg {
	color: var(--ghs-brand);
	flex-shrink: 0;
	margin-top: 0.1rem;
}

/* Order history */
.ghs-billing-orders {
	background: var(--ghs-surface);
	border: 1px solid var(--ghs-line);
	border-radius: 0.75rem;
	box-shadow: 0 2px 16px color-mix(in srgb, var(--e-global-color-primary) 5%, transparent);
	overflow: hidden;
}

.ghs-billing-orders__head {
	align-items: baseline;
	border-bottom: 1px solid var(--ghs-line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	justify-content: space-between;
	padding: 1.15rem 1.5rem;
}

.ghs-billing-orders__title {
	color: var(--ghs-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
}

.ghs-billing-orders__count {
	color: var(--ghs-muted);
	font-size: 0.8125rem;
	margin: 0;
}

.ghs-billing-orders__empty {
	color: color-mix(in srgb, var(--e-global-color-primary) 55%, var(--e-global-color-accent));
	font-size: 0.9rem;
	padding: 1.25rem 1.5rem;
}

.ghs-billing-orders__table-wrap {
	overflow-x: auto;
}

.ghs-billing-orders__table {
	border-collapse: collapse;
	width: 100%;
}

.ghs-billing-orders__table thead th {
	border-bottom: 1px solid var(--ghs-line);
	color: color-mix(in srgb, var(--e-global-color-primary) 48%, var(--e-global-color-accent));
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 0.75rem 1.5rem;
	text-align: left;
	text-transform: uppercase;
}

.ghs-billing-orders__amount-col,
.ghs-billing-orders__amount {
	text-align: right;
}

.ghs-billing-orders__table tbody td {
	border-bottom: 1px solid color-mix(in srgb, var(--e-global-color-accent) 14%, transparent);
	color: var(--ghs-ink);
	font-size: 0.875rem;
	padding: 0.85rem 1.5rem;
	vertical-align: middle;
}

.ghs-billing-orders__table tbody tr:last-child td {
	border-bottom: 0;
}

.ghs-billing-orders__order {
	font-weight: 600;
}

.ghs-billing-orders__date {
	color: var(--ghs-muted);
}

.ghs-billing-orders__amount {
	font-weight: 600;
}

.ghs-billing-order__status {
	border-radius: 9999px;
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.3em 0.65em;
	text-transform: uppercase;
	white-space: nowrap;
}

.ghs-billing-order__status--completed {
	background: color-mix(in srgb, #22a06b 14%, var(--e-global-color-text));
	color: #1a7f53;
}

.ghs-billing-order__status--failed {
	background: color-mix(in srgb, #ef4444 12%, var(--e-global-color-text));
	color: #b91c1c;
}

.ghs-billing-order__status--draft {
	background: color-mix(in srgb, #ef4444 10%, var(--e-global-color-text));
	color: #b42318;
}

.ghs-billing-order__status--pending {
	background: color-mix(in srgb, #f59e0b 12%, var(--e-global-color-text));
	color: #92400e;
}

/* Responsive */
@media (max-width: 40em) {
	.ghs-billing-card__header {
		flex-direction: column;
		gap: 0.75rem;
	}

	.ghs-billing-meta-item {
		flex-direction: column;
		gap: 0.2rem;
		padding: 0.65rem 1.25rem;
	}

	.ghs-billing-meta-item__value {
		text-align: left;
	}

	.ghs-billing-card__actions {
		flex-direction: column;
		padding: 1rem 1.25rem;
	}

	.ghs-billing-card__actions .ghs-btn {
		text-align: center;
		width: 100%;
	}

	.ghs-billing-cancel-panel {
		padding: 1rem 1.25rem;
	}

	.ghs-billing-cancel-panel__btns {
		flex-direction: column;
	}

	.ghs-billing-cancel-panel__btns .ghs-btn {
		text-align: center;
		width: 100%;
	}

	.ghs-billing-orders__table thead {
		display: none;
	}

	.ghs-billing-orders__table tbody tr {
		border-bottom: 1px solid color-mix(in srgb, var(--e-global-color-accent) 14%, transparent);
		display: block;
		padding: 0.75rem 1.25rem;
	}

	.ghs-billing-orders__table tbody tr:last-child {
		border-bottom: 0;
	}

	.ghs-billing-orders__table tbody td {
		border: 0;
		display: flex;
		gap: 0.75rem;
		justify-content: space-between;
		padding: 0.35rem 0;
		text-align: right;
	}

	.ghs-billing-orders__table tbody td::before {
		color: color-mix(in srgb, var(--e-global-color-primary) 50%, var(--e-global-color-accent));
		content: attr(data-label);
		font-size: 0.6875rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-align: left;
		text-transform: uppercase;
	}

	.ghs-billing-alert {
		flex-direction: column;
	}

	.ghs-billing-alert .ghs-btn {
		width: 100%;
		text-align: center;
	}
}
