/* It's a Family Thing — Astra child styles. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/montserrat-400-700.woff2) format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/zilla-slab-500.woff2) format('woff2'); }
@font-face { font-family: 'Zilla Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/zilla-slab-700.woff2) format('woff2'); }

:root {
	--fam-purple: #69226a;
	--fam-purple-dark: #521a53;
	--fam-purple-soft: #f5eef5;
	--fam-green: #4fb249;
	--fam-green-dark: #3c9437;
	--fam-teal: #336e6a;
	--fam-ink: #212934;
	--fam-text: #4a4e57;
	--fam-muted: #7a7f88;
	--fam-line: #e6e6ea;
	--fam-bg-soft: #f6f6f8;
	--fam-wrap: 1180px;
	--fam-radius: 16px;
	--fam-shadow: 0 10px 30px rgba(33, 41, 52, 0.08);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body, button, input, select, textarea, .ast-button, .ast-custom-button {
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { color: var(--fam-text); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-content :where(h1, h2, h3, h4, h5, h6), .entry-title {
	font-family: 'Zilla Slab', Georgia, serif; font-weight: 700; color: var(--fam-ink); line-height: 1.15; letter-spacing: -0.01em;
}
.entry-content h1 { font-size: clamp(34px, 5vw, 54px); }
.entry-content h2 { font-size: clamp(28px, 3.6vw, 40px); }
.entry-content h3 { font-size: clamp(22px, 2.6vw, 30px); }
.entry-content h4 { font-size: 22px; }
a { color: var(--fam-green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--fam-purple); }
.entry-content p { margin-bottom: 1.1em; }
.fam-wrap { max-width: var(--fam-wrap); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--fam-purple); color: #fff; }

/* ---------- top bar ---------- */
.fam-topbar { background: var(--fam-purple); color: rgba(255, 255, 255, 0.92); font-size: 13px; line-height: 1.4; }
.fam-topbar .fam-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.fam-topbar p { margin: 0; }
.fam-topbar a { color: #fff; text-decoration: none; }
.fam-topbar a:hover { color: #d9f2d7; }
.fam-topbar-contact { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.fam-topbar-contact a { display: inline-flex; align-items: center; gap: 8px; }
.fam-topbar .fam-icon { width: 13px; height: 13px; opacity: 0.85; }
.fam-social { display: flex; gap: 6px; }
.fam-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s; }
.fam-social a:hover { background: rgba(255, 255, 255, 0.15); }
.fam-social svg { width: 17px; height: 17px; }

/* ---------- header ---------- */
#masthead.site-header { position: sticky; top: 0; z-index: 99; background: #fff; transition: box-shadow 0.2s; }
.admin-bar #masthead.site-header { top: 32px; }
body.fam-scrolled #masthead.site-header { box-shadow: 0 6px 24px rgba(33, 41, 52, 0.08); }
.ast-primary-header-bar, .main-header-bar { background: #fff; border-bottom: 1px solid var(--fam-line); }
.site-header .site-branding .custom-logo-link img, .site-header .custom-logo { width: 230px; max-width: 230px; height: auto; }
.site-header .site-title, .site-header .site-description { display: none; }
.main-header-menu .menu-item > .menu-link {
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--fam-ink); padding: 0 16px;
}
.main-header-menu .menu-item > .menu-link:hover, .main-header-menu .menu-item.current-menu-item > .menu-link { color: var(--fam-purple); }
.main-header-menu .current-menu-item > .menu-link { box-shadow: inset 0 -3px 0 var(--fam-green); }
@media (min-width: 922px) {
	/* Only the Login link is a button. */
	.main-header-menu .menu-item > .menu-link[href*="/login"] {
		display: inline-flex; align-items: center; align-self: center; height: auto; min-height: 0; line-height: 1.2;
		padding: 11px 24px; margin: 0 0 0 10px; border-radius: 999px; background: var(--fam-green); color: #fff !important; box-shadow: none;
	}
	.main-header-menu .menu-item > .menu-link[href*="/login"]:hover { background: var(--fam-purple); }
	.main-header-menu .menu-item:has(> .menu-link[href*="/login"]) { display: flex; align-items: center; }
	.ast-primary-header-bar .site-primary-header-wrap { min-height: 88px; }
}
.ast-mobile-menu-trigger-minimal, .menu-toggle { color: var(--fam-purple) !important; }

/* Astra page title (pages that keep one) */
.ast-page-builder-template .entry-header, .page .entry-header { max-width: var(--fam-wrap); margin: 0 auto; padding: 48px 24px 8px; }
.page .entry-header .entry-title { font-size: clamp(32px, 4.4vw, 48px); color: var(--fam-purple); }

/* ---------- content sections ---------- */
.ast-page-builder-template .entry-content > .alignfull, .entry-content > .alignfull { margin-left: 0; margin-right: 0; }
.entry-content > .wp-block-group.fam-section, .entry-content > .wp-block-cover.fam-section { padding-left: 24px; padding-right: 24px; }
.fam-section:not([style*="padding-top"]) { padding-top: 64px; }
.fam-section:not([style*="padding-bottom"]) { padding-bottom: 64px; }
.fam-section > * { max-width: var(--fam-wrap); }
.wp-block-cover.fam-section { min-height: 0; align-items: flex-end; }
.wp-block-cover.fam-section .wp-block-cover__inner-container { width: 100%; max-width: var(--fam-wrap); color: inherit; }
.wp-block-cover.fam-section .wp-block-cover__inner-container :where(p, li) { color: var(--fam-text); }
.wp-block-columns { gap: 28px; margin-bottom: 0; }
.wp-block-column.fam-col-card { border-radius: var(--fam-radius); padding: 32px 26px; }
.entry-content .wp-block-image img { border-radius: 10px; }
.entry-content .wp-block-cover .wp-block-image img, .entry-content .wp-block-image img[src$=".png"] { border-radius: 0; }
.wp-block-image figcaption { font-size: 15px; color: var(--fam-ink); margin-top: 10px; }
.wp-block-separator.fam-sep { border: 0; height: 3px; width: 100%; opacity: 1; background: currentColor; }
.wp-block-separator.fam-sep-short { width: 64px; margin-left: auto; margin-right: auto; border-radius: 3px; }
.entry-content .has-text-align-center + .wp-block-separator.fam-sep:not(.fam-sep-short) { width: 64px; }

/* icons */
.fam-ic { --fam-ic-size: 38px; display: flex; justify-content: center; color: var(--fam-green); margin: 0 auto 12px; }
.fam-ic .fam-icon { width: var(--fam-ic-size); height: var(--fam-ic-size); }
.fam-ic-circle { width: calc(var(--fam-ic-size) * 2.1); height: calc(var(--fam-ic-size) * 2.1); align-items: center; border-radius: 50%; background: var(--fam-ic-bg, var(--fam-green)); color: #fff; box-shadow: 0 8px 20px rgba(79, 178, 73, 0.25); }
.fam-ic-circle .fam-icon { width: calc(var(--fam-ic-size) * 0.95); height: calc(var(--fam-ic-size) * 0.95); }

/* buttons */
.wp-block-button__link, .entry-content .wp-block-button__link, .ast-button, input[type="submit"], button.gform_button, .gform_button {
	font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.2; border-radius: 999px; padding: 15px 30px;
	background-color: var(--fam-green); color: #fff; border: 2px solid transparent; text-decoration: none;
	transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.wp-block-button__link:hover, .entry-content .wp-block-button__link:hover, input[type="submit"]:hover, .gform_button:hover {
	background-color: var(--fam-purple); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(105, 34, 106, 0.2);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #fff; color: var(--fam-purple); border-color: var(--fam-purple);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--fam-purple); color: #fff; }
.wp-block-buttons { gap: 12px; }

/* social links + share */
.wp-block-social-links.fam-social-links .wp-social-link { background: var(--fam-purple); color: #fff; }
.wp-block-social-links.fam-social-links .wp-social-link a { padding: 8px; }
.fam-phone a { font-weight: 600; text-decoration: none; }
.fam-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--fam-bg-soft); border-radius: var(--fam-radius); padding: 18px 24px; margin: 32px 0; }
.fam-share-title { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 20px; color: var(--fam-ink); }
.fam-share-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fam-share-links a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--fam-purple); border: 1px solid var(--fam-line); }
.fam-share-links a:hover { background: var(--fam-purple); color: #fff; border-color: var(--fam-purple); }

/* latest posts grid */
.wp-block-latest-posts.is-grid li { background: #fff; border: 1px solid var(--fam-line); border-radius: var(--fam-radius); padding: 0 0 20px; overflow: hidden; }
.wp-block-latest-posts.is-grid li > :not(.wp-block-latest-posts__featured-image) { padding: 0 20px; }
.wp-block-latest-posts__featured-image img { border-radius: 0 !important; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wp-block-latest-posts__post-title { display: block; margin-top: 16px; font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 21px; color: var(--fam-ink); text-decoration: none; }

/* forms (Gravity Forms, Ultimate Member, LearnDash) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="number"],
.entry-content input[type="url"], .entry-content input[type="password"], .entry-content input[type="date"], .entry-content select, .entry-content textarea {
	border: 1px solid #d5d7dd; border-radius: 10px; padding: 10px 14px; font-size: 16px; background: #fff; color: var(--fam-ink);
}
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus { border-color: var(--fam-purple); outline: 2px solid rgba(105, 34, 106, 0.18); outline-offset: 0; }

/* visibility carried over from the old builder */
@media (max-width: 640px) { .fam-hide-small { display: none !important; } }
@media (min-width: 641px) and (max-width: 1024px) { .fam-hide-medium { display: none !important; } }
@media (min-width: 1025px) { .fam-hide-large { display: none !important; } }

/* ---------- footer ---------- */
.fam-footer { background: var(--fam-bg-soft); color: var(--fam-text); font-size: 14px; margin-top: 0; border-top: 1px solid var(--fam-line); }
.fam-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.fam-footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.fam-footer-about p { margin: 0; line-height: 1.7; }
.fam-footer h2 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fam-ink); margin: 6px 0 14px; }
.fam-footer ul { list-style: none; margin: 0; padding: 0; }
.fam-footer li { border-bottom: 1px solid var(--fam-line); }
.fam-footer li a { display: block; padding: 9px 0; color: var(--fam-text); font-weight: 600; text-decoration: none; transition: color 0.15s, padding 0.15s; }
.fam-footer li a:hover { color: var(--fam-green-dark); padding-left: 4px; }
.fam-footer-about a { color: var(--fam-purple); font-weight: 600; }
.fam-copyright { background: var(--fam-green); color: #fff; font-size: 13px; }
.fam-copyright .fam-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.fam-copyright p { margin: 0; }
.fam-copyright .fam-social a { color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 921px) {
	.fam-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fam-footer-about { grid-column: 1 / -1; }
	.site-header .site-branding .custom-logo-link img, .site-header .custom-logo { width: 180px; max-width: 180px; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.fam-topbar .fam-wrap { min-height: 36px; }
	.fam-topbar-contact a + a { display: none; }
	.fam-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 44px; padding-bottom: 36px; }
	.fam-section:not([style*="padding-top"]) { padding-top: 44px; }
	.fam-section:not([style*="padding-bottom"]) { padding-bottom: 44px; }
	.entry-content > .wp-block-group.fam-section, .entry-content > .wp-block-cover.fam-section { padding-left: 18px; padding-right: 18px; }
	.fam-wrap { padding: 0 18px; }
	.wp-block-column.fam-col-card { padding: 26px 20px; }
}

/* ---------- homepage hero ---------- */
.wp-block-cover.fam-hero { min-height: 0; padding: 72px 24px 0; align-items: flex-end; overflow: hidden; }
.fam-hero .wp-block-cover__inner-container { max-width: var(--fam-wrap); width: 100%; }
.fam-hero .fam-hero-cols { align-items: flex-end; gap: 32px; margin: 0; }
.fam-hero .fam-hero-text { padding-bottom: 72px; align-self: center; }
.entry-content .fam-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(79, 178, 73, 0.12); color: var(--fam-green-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.entry-content .fam-hero-title { font-size: clamp(52px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.025em; color: var(--fam-purple); margin: 0 0 22px; }
.entry-content .fam-hero-lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--fam-ink) !important; max-width: 34em; margin: 0 0 30px; }
.fam-hero-buttons { gap: 14px; }
.fam-hero .fam-hero-pic { align-self: flex-end; }
.entry-content .fam-hero .fam-hero-portrait { margin: 0; display: flex; justify-content: center; }
.entry-content .fam-hero .fam-hero-portrait img { width: 100%; max-width: 440px; height: auto; display: block; border-radius: 0; filter: drop-shadow(0 18px 30px rgba(33, 41, 52, 0.18)); }

/* outline buttons: brand purple (Astra paints them blue otherwise) */
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link,
.entry-content .wp-block-button[class*="is-style-outline"] > .wp-block-button__link {
	background: rgba(255, 255, 255, 0.85) !important; color: var(--fam-purple) !important; border: 2px solid var(--fam-purple) !important;
}
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.entry-content .wp-block-button[class*="is-style-outline"] > .wp-block-button__link:hover { background: var(--fam-purple) !important; color: #fff !important; }

@media (max-width: 781px) {
	.wp-block-cover.fam-hero { padding: 44px 18px 0; }
	.fam-hero .fam-hero-cols { flex-direction: column; gap: 8px; }
	.fam-hero .fam-hero-text { padding-bottom: 8px; text-align: center; }
	.entry-content .fam-hero-lead { margin-left: auto; margin-right: auto; }
	.fam-hero-buttons { justify-content: center; }
	.entry-content .fam-hero .fam-hero-portrait img { max-width: 280px; }
}

/* photo sections with white text and no overlay: a soft tint keeps the words readable */
.wp-block-cover.fam-section .wp-block-cover__background.has-background-dim-0 { opacity: 1 !important; background: linear-gradient(180deg, rgba(20, 24, 32, 0.45), rgba(20, 24, 32, 0.25)) !important; }
.wp-block-cover.fam-section:has(.has-background-dim-0) :where(h1, h2, h3, p) { color: #fff !important; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.ast-mobile-svg, .menu-toggle .ast-mobile-svg, .ast-button-wrap .menu-toggle .ast-mobile-svg { fill: var(--fam-purple) !important; }
.ast-button-wrap .menu-toggle { background: transparent !important; color: var(--fam-purple) !important; }

/* ---------- member dashboard (/user-profile/) ---------- */
.fam-dash { max-width: var(--fam-wrap); margin: 0 auto; }
.fam-dash-hello { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 30px 32px; border-radius: 22px; color: #fff;
	background: radial-gradient(120% 160% at 0% 0%, #8a3a8b 0%, var(--fam-purple) 45%, var(--fam-purple-dark) 100%); box-shadow: 0 18px 40px rgba(105, 34, 106, 0.22); }
.fam-dash-avatar { width: 84px; height: 84px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.85); object-fit: cover; flex: 0 0 auto; }
.fam-dash-hello-text { flex: 1 1 280px; min-width: 0; }
.entry-content .fam-dash-hello h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin: 2px 0 4px; }
.entry-content .fam-dash-date { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.entry-content .fam-dash-sub { margin: 0; opacity: 0.9; }
.fam-dash-hello-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-content .fam-dash-chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.28); }
.entry-content .fam-dash-chip:hover { background: #fff; color: var(--fam-purple); }
.entry-content .fam-dash-h, .entry-content .fam-dash-profile-h { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fam-muted); margin: 36px 0 14px; }
.fam-dash-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.entry-content .fam-dash-tile { display: flex; align-items: center; gap: 16px; padding: 18px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--fam-line); color: var(--fam-ink); text-decoration: none;
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.entry-content .fam-dash-tile:hover { transform: translateY(-2px); box-shadow: var(--fam-shadow); border-color: transparent; color: var(--fam-ink); }
.fam-dash-tile-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(79, 178, 73, 0.12); color: var(--fam-green-dark); }
.fam-dash-tile:nth-child(3n+2) .fam-dash-tile-ic { background: var(--fam-purple-soft); color: var(--fam-purple); }
.fam-dash-tile:nth-child(3n+3) .fam-dash-tile-ic { background: #e8f2f1; color: var(--fam-teal); }
.fam-dash-tile-ic .fam-icon { width: 22px; height: 22px; }
.fam-dash-tile-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.fam-dash-tile-text strong { font-size: 16px; font-weight: 700; }
.fam-dash-tile-text span { font-size: 13.5px; color: var(--fam-muted); margin-top: 2px; }
.fam-dash-tile-go { color: var(--fam-muted); font-size: 18px; transition: transform 0.15s, color 0.15s; }
.fam-dash-tile:hover .fam-dash-tile-go { transform: translateX(3px); color: var(--fam-purple); }
.fam-dash-locked { max-width: 520px; margin: 40px auto; text-align: center; padding: 36px 24px; border: 1px solid var(--fam-line); border-radius: 20px; }

/* Ultimate Member profile as a card grid */
.fam-dash-profile .um-profile.um-viewing .um-header, .fam-dash-profile .um-profile.um-viewing .um-profile-navbar { display: none !important; }
.fam-dash-profile .um.um-profile { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.fam-dash-profile .um-profile-body { padding: 0 !important; max-width: none !important; }
.fam-dash-profile .um-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 !important; }
.fam-dash-profile .um-row::after { display: none; }
.fam-dash-profile .um-col-121, .fam-dash-profile .um-col-122 { float: none !important; width: auto !important; display: flex; flex-direction: column; gap: 14px; }
.fam-dash-profile .um-field-type_spacing { display: none !important; }
.fam-dash-profile .um-field { padding: 16px 18px !important; margin: 0 !important; border-radius: 16px; background: var(--fam-bg-soft); }
.fam-dash-profile .um-field-label { border: 0 !important; margin: 0 0 4px !important; padding: 0 !important; display: flex; align-items: center; gap: 8px; }
.fam-dash-profile .um-field-label label { font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fam-muted) !important; }
.fam-dash-profile .um-field-label-icon { margin: 0 !important; width: auto !important; color: var(--fam-purple) !important; font-size: 15px !important; }
.fam-dash-profile .um-field-value { font-size: 16px !important; font-weight: 600; color: var(--fam-ink) !important; line-height: 1.4 !important; word-break: break-word; }
.fam-dash-profile .um-field-value a { color: var(--fam-green-dark) !important; text-decoration: none; }
.fam-dash-profile .um-viewing .um-profile-edit, .fam-dash-profile .um-viewing .um-profile-headericon { display: none; }

@media (max-width: 640px) {
	.fam-dash-hello { padding: 24px 20px; }
	.fam-dash-avatar { width: 64px; height: 64px; }
	.fam-dash-profile .um-row { grid-template-columns: minmax(0, 1fr); }
}
.fam-dash-profile .um-field-type_divider { background: none !important; padding: 18px 0 0 !important; border-radius: 0; }
.fam-dash-profile .um-field-divider { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; height: auto !important; }
.fam-dash-profile .um-field-divider-text, .fam-dash-profile .um-field-divider-text span { background: none !important; color: var(--fam-muted) !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; padding: 0 !important; text-align: left !important; }
/* avatar on a white disc so logos with purple show on the purple banner */
.fam-dash-hello .fam-dash-avatar { background: #fff; padding: 6px; object-fit: contain; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
/* Astra underlines every content link; buttons, chips and tiles shouldn't be */
.entry-content a.fam-dash-chip, .entry-content a.fam-dash-tile, .entry-content a.fam-dash-tile *, .entry-content a.wp-block-button__link,
.entry-content .wp-block-latest-posts__post-title, .fam-share-links a, .fam-footer a, .fam-topbar a { text-decoration: none !important; }
/* profile field icons: a small badge beside the label */
.fam-dash-profile .um .um-field-label { display: flex !important; align-items: center; gap: 10px !important; min-height: 30px; }
.fam-dash-profile .um-field-label-icon { float: none !important; position: static !important; flex: 0 0 30px; width: 30px !important; height: 30px !important; border-radius: 9px; background: var(--fam-purple-soft);
	display: inline-flex !important; align-items: center; justify-content: center; line-height: 1 !important; overflow: hidden; }
.fam-dash-profile .um .um-field-label-icon i { position: static !important; top: auto !important; display: inline-block !important; font-size: 15px !important; line-height: 1 !important; margin: 0 !important; color: var(--fam-purple) !important; }
.fam-dash-profile .um .um-field-label-icon i::before { font-size: 15px !important; line-height: 1 !important; }
.fam-dash-profile .um-field-label label { float: none !important; margin: 0 !important; line-height: 1.2 !important; }
.fam-dash-profile .um-field-label .um-clear { display: none; }
.fam-dash-profile .um .um-field-area { padding-left: 40px; }

/* avatar (Ultimate Member replaces the avatar classes) and UM's green row heading */
.fam-dash-hello img.avatar { width: 84px; height: 84px; border-radius: 50%; background: #fff; padding: 6px; object-fit: contain; border: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); flex: 0 0 auto; }
.fam-dash-profile .um-row-heading { background: none !important; color: var(--fam-muted) !important; padding: 22px 0 10px !important; margin: 0 !important; font-size: 12px !important; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.fam-dash-profile .um-row-heading-icon { display: none; }
.fam-dash-hello .fam-av { --fam-av: 84px; width: 84px; height: 84px; border: 3px solid rgba(255, 255, 255, 0.9); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.fam-dash-hello .fam-av-initials { background: #fff; color: var(--fam-purple); }
.main-header-menu .fam-acct > .fam-acct-btn { line-height: 1; }

/* ---------- homepage: career paths ---------- */
.fam-paths { background: linear-gradient(180deg, #faf7fb 0%, #f3eef5 100%); }
.fam-paths.fam-section:not([style*="padding-top"]) { padding-top: 88px; }
.fam-paths.fam-section:not([style*="padding-bottom"]) { padding-bottom: 96px; }
.entry-content .fam-paths-eyebrow { margin: 0 auto 10px; display: table; padding: 6px 14px; border-radius: 999px; background: rgba(79, 178, 73, 0.12); color: var(--fam-green-dark); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.entry-content .fam-paths-title { color: var(--fam-purple); font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; }
.entry-content .fam-paths-sub { color: var(--fam-text); font-size: 18px; margin: 0 auto 44px; max-width: 34em; }
.fam-paths-grid { gap: 24px !important; align-items: stretch !important; }
.wp-block-column.fam-path-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #ebe5ee; border-radius: 22px; padding: 34px 30px 30px; overflow: hidden;
	box-shadow: 0 6px 20px rgba(33, 41, 52, 0.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; --path: var(--fam-green); --path-soft: rgba(79, 178, 73, 0.12); }
.wp-block-column.fam-path-exp { --path: var(--fam-purple); --path-soft: var(--fam-purple-soft); }
.wp-block-column.fam-path-ret { --path: #2f7d78; --path-soft: #e6f2f1; }
.fam-path-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--path); }
.fam-path-card:hover, .fam-path-card:focus-within { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(33, 41, 52, 0.12); border-color: transparent; }
.fam-path-card .fam-ic { justify-content: flex-start; margin: 0 0 22px; }
.fam-path-card .fam-ic .fam-icon { width: 26px; height: 26px; }
.fam-path-card .fam-ic { width: 60px; height: 60px; border-radius: 18px; align-items: center; justify-content: center; background: var(--path-soft); color: var(--path); }
.entry-content .fam-path-label { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--path); }
.entry-content .fam-path-title { font-size: 26px; margin: 0 0 12px; color: var(--fam-ink); }
.entry-content .fam-path-text { margin: 0 0 24px; color: var(--fam-text); font-size: 16px; line-height: 1.65; flex: 1 1 auto; }
.entry-content .fam-path-link { margin: 0; }
.entry-content .fam-path-link a { font-weight: 700; color: var(--path); text-decoration: none !important; }
.entry-content .fam-path-link a span[aria-hidden] { display: inline-block; transition: transform .2s ease; }
.fam-path-card:hover .fam-path-link a span[aria-hidden] { transform: translateX(4px); }
/* the whole card is the link */
.fam-path-link a::after { content: ''; position: absolute; inset: 0; border-radius: 22px; }
.fam-path-link a:focus-visible { outline: none; }
.fam-path-link a:focus-visible::after { outline: 3px solid var(--path); outline-offset: -3px; }
@media (max-width: 781px) {
	.fam-paths.fam-section:not([style*="padding-top"]) { padding-top: 56px; }
	.fam-paths.fam-section:not([style*="padding-bottom"]) { padding-bottom: 64px; }
	.entry-content .fam-paths-sub { margin-bottom: 28px; }
	.wp-block-column.fam-path-card { padding: 28px 24px 24px; }
}
@media (max-width: 781px) { .fam-paths-grid { gap: 16px !important; } .fam-paths-grid > .wp-block-column { margin: 0 !important; } }

/* Astra prints an empty, padded title block on pages with the title switched off — a white band under the header on every page. */
.entry-header.ast-no-title.ast-header-without-markup { display: none; }
/* With that band gone, pages that open with plain content (Lead Gen, Numbers…) need their own breathing room.
   Full-width openers — the home hero, tinted bands, sign-in, the CRM — stay flush under the header. */
.entry-content > :first-child:not(.alignfull):not(.wp-block-cover):not(.wp-block-group):not(.fam-auth):not(.fam-crm):not(.fam-acc-wrap):not(.lg-locked) { margin-top: 48px !important; }
@media (max-width: 860px) { .entry-content > :first-child:not(.alignfull):not(.wp-block-cover):not(.wp-block-group):not(.fam-auth):not(.fam-crm):not(.fam-acc-wrap):not(.lg-locked) { margin-top: 28px !important; } }

/* Team Dashboard: your day, leaderboard, your week */
.fam-dash-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; margin-top: 26px; align-items: start; }
.fam-dcard { background: #fff; border: 1px solid var(--fam-line); border-radius: 20px; padding: 6px 0 0; overflow: hidden; }
.fam-dcard > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 12px; border-bottom: 1px solid #f0f0f3; }
.entry-content .fam-dcard h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: var(--fam-ink); }
.fam-dcard h2 small { font-size: 12.5px; font-weight: 500; color: var(--fam-muted); }
.fam-dcard .fam-di { width: 17px; height: 17px; color: var(--fam-purple); }
.fam-lb .fam-di { color: #d4a017; }
.entry-content .fam-dcard a { text-decoration: none !important; }
.entry-content .fam-dcard > header a { font-size: 13.5px; font-weight: 600; color: var(--fam-purple); }
.entry-content .fam-dcard > header a:hover { text-decoration: underline !important; }
.entry-content ul.fam-todos, .entry-content ol.fam-lb-list { list-style: none; margin: 0; padding: 4px 0; }
.fam-todo { display: flex; align-items: flex-start; gap: 14px; padding: 12px 22px; border-top: 1px solid #f4f4f6; }
.fam-todo:first-child { border-top: 0; }
.fam-todo-check { position: relative; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid #cfd2d8; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.fam-todo-check > span { font-size: 12px; font-weight: 800; color: transparent; line-height: 1; }
.fam-todo-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fam-todo-task .fam-todo-check:hover { border-color: var(--fam-green); }
.fam-todo.is-done .fam-todo-check, .fam-todo-check:has(input:checked) { background: var(--fam-green); border-color: var(--fam-green); }
.fam-todo.is-done .fam-todo-check > span, .fam-todo-check:has(input:checked) > span { color: #fff; }
span.fam-todo-check { border-style: dashed; cursor: default; }
.fam-todo.is-done span.fam-todo-check { border-style: solid; }
.fam-todo-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.entry-content a.fam-todo-text { color: inherit; }
.fam-todo-text strong { font-size: 15px; font-weight: 600; color: var(--fam-ink); }
.entry-content a.fam-todo-text:hover strong { color: var(--fam-purple); }
.fam-todo-text > span { font-size: 13px; color: var(--fam-muted); }
.entry-content .fam-todo-text > span a { color: var(--fam-purple); font-weight: 600; }
.fam-todo-text .is-late { font-style: normal; font-weight: 700; color: #c0392b; }
.fam-todo.is-done .fam-todo-text strong { color: var(--fam-muted); text-decoration: line-through; }
.fam-todo-bar { display: block; height: 6px; margin: 6px 0 2px; border-radius: 999px; background: #eef0f3; overflow: hidden; max-width: 260px; }
.fam-todo-bar i { display: block; height: 100%; border-radius: 999px; background: var(--fam-green); }
.fam-todo-none { padding: 22px; color: var(--fam-muted); }
.fam-todo-add { display: flex; gap: 8px; padding: 12px 22px 18px; border-top: 1px solid #f0f0f3; }
.entry-content .fam-todo-add input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid #dcdfe4; border-radius: 12px; font: 400 14.5px Montserrat, sans-serif; background: #fff; }
.entry-content .fam-todo-add input:focus { outline: none; border-color: var(--fam-purple); box-shadow: 0 0 0 3px rgba(105, 34, 106, .12); }
.entry-content .fam-todo-add button, .entry-content .fam-todo-add button:hover, .entry-content .fam-todo-add button:focus { flex: 0 0 auto; height: 42px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--fam-purple) !important; color: #fff !important; font: 700 14px Montserrat, sans-serif; cursor: pointer; }
.entry-content .fam-todo-add button:hover { background: #521a53 !important; }
.entry-content p.fam-lb-lead { margin: 0; padding: 14px 22px 4px; font-size: 14px; color: var(--fam-muted); }
.fam-lb-lead b { color: var(--fam-ink); }
.fam-lb-row { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr) 86px; align-items: center; gap: 12px; padding: 10px 22px; }
.fam-lb-row.is-me { background: var(--fam-purple-soft); }
.fam-lb-place { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--fam-muted); background: #f2f3f6; }
.fam-lb-place.p1 { background: #fdf0c4; color: #b8860b; }
.fam-lb-place.p2 { background: #eceff3; color: #6f7b88; }
.fam-lb-place.p3 { background: #f6e4d4; color: #a8642e; }
.fam-lb-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fam-purple); color: #fff; font-size: 13px; font-weight: 700; }
.fam-lb-row:nth-child(2n) .fam-lb-av { background: var(--fam-teal); }
.fam-lb-row:nth-child(3n) .fam-lb-av { background: var(--fam-green-dark); }
.fam-lb-who { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fam-lb-who b { font-size: 14.5px; color: var(--fam-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fam-lb-who em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 1px 6px; border-radius: 999px; background: var(--fam-purple); color: #fff; vertical-align: 2px; }
.fam-lb-bar { height: 6px; border-radius: 999px; background: #f0f1f4; overflow: hidden; }
.fam-lb-bar i { display: block; height: 100%; border-radius: 999px; background: var(--fam-purple); }
.fam-lb-row:first-child .fam-lb-bar i { background: linear-gradient(90deg, #f0c64a, #d9a300); }
.fam-lb-val { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.fam-lb-val b { font-size: 18px; color: var(--fam-ink); }
.fam-lb-val small { font-size: 11.5px; color: var(--fam-muted); }
.fam-lb footer { padding: 12px 22px 16px; border-top: 1px solid #f0f0f3; font-size: 13px; color: var(--fam-muted); background: #fafbfc; }
.fam-lb footer b { color: var(--fam-ink); }
.fam-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.entry-content a.fam-stat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--fam-line); color: var(--fam-ink); transition: box-shadow .15s, border-color .15s; }
.entry-content a.fam-stat:hover { box-shadow: var(--fam-shadow); border-color: transparent; color: var(--fam-ink); }
.fam-stat-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--fam-purple-soft); }
.fam-stat-ic .fam-di { width: 20px; height: 20px; color: var(--fam-purple); }
.fam-stat:nth-child(2) .fam-stat-ic { background: rgba(79, 178, 73, .12); } .fam-stat:nth-child(2) .fam-di { color: var(--fam-green-dark); }
.fam-stat:nth-child(3) .fam-stat-ic { background: #fdeef4; } .fam-stat:nth-child(3) .fam-di { color: #c2306b; }
.fam-stat:nth-child(4) .fam-stat-ic { background: #e8f2f1; } .fam-stat:nth-child(4) .fam-di { color: var(--fam-teal); }
.fam-stat-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.fam-stat-text b { font-size: 24px; font-weight: 800; color: var(--fam-ink); letter-spacing: -.01em; }
.fam-stat-text strong { font-size: 14px; font-weight: 600; }
.fam-stat-text small { font-size: 12.5px; color: var(--fam-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1000px) { .fam-dash-grid { grid-template-columns: minmax(0, 1fr); } .fam-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fam-stats { grid-template-columns: minmax(0, 1fr); } .fam-todo, .fam-lb-row, .fam-dcard > header, .fam-todo-add { padding-left: 16px; padding-right: 16px; } .fam-lb-row { grid-template-columns: 26px 32px minmax(0, 1fr) 70px; gap: 10px; } }
.entry-content a.fam-stat, .entry-content a.fam-stat *, .entry-content .fam-dcard a, .entry-content .fam-dcard a * { text-decoration: none !important; }
.entry-content .fam-dcard > header a:hover { text-decoration: underline !important; }
