.ffh-hub {
	--ffh-hub-ink: #283126;
	--ffh-hub-muted: #687064;
	--ffh-hub-sage: #6e8065;
	--ffh-hub-sage-soft: #edf1e9;
	--ffh-hub-cream: #fbf8f1;
	--ffh-hub-paper: #ffffff;
	--ffh-hub-line: #dfe5da;
	max-width: 1120px;
	margin: 34px auto 70px;
	color: var(--ffh-hub-ink);
	font-size: 16px;
	line-height: 1.6;
}

.ffh-hub *, .ffh-hub *::before, .ffh-hub *::after { box-sizing: border-box; }
.ffh-member-hub-page .mkdf-sidebar-holder { display: none !important; }
.ffh-member-hub-page .mkdf-page-content-holder { left: 0 !important; float: none !important; width: 100% !important; }
.ffh-hub h1, .ffh-hub h2, .ffh-hub h3, .ffh-hub p { margin-top: 0; }
.ffh-hub h1 { margin-bottom: 8px; font-size: clamp(32px, 5vw, 48px); line-height: 1.12; letter-spacing: -0.025em; }
.ffh-hub h2 { margin-bottom: 8px; font-size: clamp(26px, 4vw, 34px); line-height: 1.2; }
.ffh-hub h3 { margin-bottom: 7px; font-size: 20px; line-height: 1.3; }
.ffh-hub p { color: var(--ffh-hub-muted); }

.ffh-hub-header {
	display: flex;
	justify-content: space-between;
	gap: 28px;
	align-items: flex-start;
	padding: clamp(26px, 5vw, 48px);
	border: 1px solid var(--ffh-hub-line);
	border-radius: 20px 20px 0 0;
	background: linear-gradient(135deg, var(--ffh-hub-cream), var(--ffh-hub-sage-soft));
}

.ffh-hub-header p:last-child { margin-bottom: 0; }
.ffh-hub-eyebrow { margin-bottom: 7px !important; color: var(--ffh-hub-sage) !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ffh-hub-quiet-link { white-space: nowrap; color: var(--ffh-hub-muted); text-decoration: none; }
.ffh-hub-quiet-link:hover { color: var(--ffh-hub-ink); }

.ffh-hub-tabs {
	display: flex;
	gap: 8px;
	padding: 12px clamp(18px, 4vw, 36px);
	border-right: 1px solid var(--ffh-hub-line);
	border-bottom: 1px solid var(--ffh-hub-line);
	border-left: 1px solid var(--ffh-hub-line);
	background: var(--ffh-hub-paper);
	overflow-x: auto;
}

.ffh-hub-tabs a { padding: 10px 16px; border-radius: 999px; color: var(--ffh-hub-muted); font-weight: 650; text-decoration: none; white-space: nowrap; }
.ffh-hub-tabs a:hover { color: var(--ffh-hub-ink); background: var(--ffh-hub-cream); }
.ffh-hub-tabs a.is-current { color: var(--ffh-hub-paper); background: var(--ffh-hub-sage); }
.ffh-hub-content { padding: clamp(26px, 5vw, 48px); border: 1px solid var(--ffh-hub-line); border-top: 0; border-radius: 0 0 20px 20px; background: var(--ffh-hub-paper); }
.ffh-hub-section-heading { max-width: 720px; margin-bottom: 26px; }
.ffh-hub-section-heading p:last-child { margin-bottom: 0; }

.ffh-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ffh-hub-card { overflow: hidden; border: 1px solid var(--ffh-hub-line); border-radius: 15px; background: var(--ffh-hub-paper); box-shadow: 0 10px 30px rgba(50, 61, 47, .07); }
.ffh-hub-card-image { display: grid; min-height: 190px; place-items: center; overflow: hidden; background: var(--ffh-hub-sage-soft); color: var(--ffh-hub-sage); font-size: 52px; font-weight: 700; }
.ffh-hub-card-image img { width: 100%; height: 220px; object-fit: cover; }
.ffh-hub-card-body { padding: 24px; }
.ffh-hub-card-category { margin-bottom: 5px !important; color: var(--ffh-hub-sage) !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ffh-hub-access-note { font-size: 14px; }
.ffh-hub-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border: 1px solid var(--ffh-hub-sage); border-radius: 9px; background: var(--ffh-hub-sage); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.ffh-hub-button:hover { border-color: var(--ffh-hub-ink); background: var(--ffh-hub-ink); }
.ffh-hub-button-secondary { background: transparent; color: var(--ffh-hub-sage) !important; }
.ffh-hub-empty { padding: 28px; border: 1px dashed var(--ffh-hub-line); border-radius: 12px; background: var(--ffh-hub-cream); }
.ffh-hub-empty p:last-child { margin-bottom: 0; }
.ffh-hub-panel { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--ffh-hub-line); border-radius: 15px; background: var(--ffh-hub-cream); }

.ffh-hub-memberships { display: grid; gap: 10px; margin-top: 22px; }
.ffh-hub-memberships article { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--ffh-hub-line); border-radius: 10px; background: var(--ffh-hub-paper); }
.ffh-hub-memberships article h3, .ffh-hub-memberships article p { margin-bottom: 0; }
.ffh-hub-memberships article span { padding: 5px 10px; border-radius: 999px; background: var(--ffh-hub-sage-soft); color: var(--ffh-hub-sage); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ffh-hub-safe-action { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--ffh-hub-line); }
.ffh-hub-safe-action p { margin-bottom: 0; }

.ffh-hub-profile #wppb-edit-user { max-width: 720px; }
.ffh-hub-profile #wppb-edit-user ul { margin: 0; padding: 0; list-style: none; }
.ffh-hub-profile #wppb-edit-user li { margin: 0 0 18px; }
.ffh-hub-profile #wppb-edit-user label { display: block; margin-bottom: 6px; color: var(--ffh-hub-ink); font-weight: 650; }
.ffh-hub-profile #wppb-edit-user input[type="text"],
.ffh-hub-profile #wppb-edit-user input[type="email"],
.ffh-hub-profile #wppb-edit-user input[type="password"] { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--ffh-hub-line); border-radius: 8px; background: #fff; }
.ffh-hub-profile #wppb-edit-user input[type="submit"] { min-height: 46px; padding: 10px 19px; border: 0; border-radius: 9px; background: var(--ffh-hub-sage); color: #fff; font-weight: 700; cursor: pointer; }
.ffh-hub-login { padding: clamp(28px, 6vw, 60px); border: 1px solid var(--ffh-hub-line); border-radius: 18px; background: var(--ffh-hub-cream); text-align: center; }

@media (max-width: 760px) {
	.ffh-hub { margin: 20px auto 44px; }
	.ffh-hub-header, .ffh-hub-safe-action { flex-direction: column; }
	.ffh-hub-grid { grid-template-columns: 1fr; }
	.ffh-hub-tabs { padding: 10px; }
	.ffh-hub-content { padding: 22px 16px; }
	.ffh-hub-memberships article { align-items: flex-start; flex-direction: column; }
}
