/* ===========================================
   RADIATE member hub
   Loaded on /radiate/* pages and RADIATE events
   (see inc/enqueue.php). Prefix: rh-
   =========================================== */

/* -------------------------
   Layout
   ------------------------- */
.rh-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 4%;
}

.rh-container--narrow {
	max-width: 920px;
}

.rh-main {
	background: var(--white);
	color: var(--navy-black);
	padding: 3rem 0 5rem;
}

.rh-main--cream {
	background: var(--soft-cream);
}

.rh-section {
	padding: 2.5rem 0;
}

.rh-section--cream {
	background: var(--soft-cream);
}

.rh-main > .rh-section:first-child {
	padding-top: 0;
}

.rh-hub-grid,
.rh-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 3rem;
	align-items: start;
}

.rh-single-grid {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.rh-hub-main,
.rh-hub-side,
.rh-single-main,
.rh-single-side {
	min-width: 0;
}

.rh-hub-side > * + *,
.rh-single-side > * + * {
	margin-top: 1.25rem;
}

.radiate-hub [hidden] {
	display: none !important;
}

.rh-dl a,
.rh-small a,
.rh-login-help a,
.rh-prose a,
.rh-notes a,
.rh-login-card a {
	color: var(--dark-teal);
}

/* -------------------------
   Hero + sub-navigation
   ------------------------- */
.rh-hero {
	position: relative;
	overflow: hidden;
	padding: 9rem 0 3rem;
	background: linear-gradient(135deg, var(--dark-teal) 0%, #0a3d42 55%, var(--navy-black) 100%);
	color: var(--white);
}

.rh-hero::before {
	content: '';
	position: absolute;
	right: -10%;
	top: -40%;
	width: 50%;
	padding-top: 50%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 91, 4, 0.22) 0%, rgba(255, 91, 4, 0) 70%);
	pointer-events: none;
}

.rh-hero--compact {
	padding-bottom: 2.5rem;
}

.rh-hero .rh-container {
	position: relative;
}

.rh-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 500;
	font-size: 0.78rem;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--blaze-orange);
}

.rh-eyebrow .material-icons-outlined {
	font-size: 18px;
}

.rh-title {
	margin: 0 0 0.6rem;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	color: var(--white);
}

.rh-subtitle {
	max-width: 62ch;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	opacity: 0.9;
}

.rh-hero-meta {
	margin-bottom: 0.9rem;
}

.rh-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.rh-hero .rh-badge--type {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
}

.rh-hero-when {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.6rem;
	margin-top: 0.6rem;
	font-size: 1.05rem;
	opacity: 0.92;
}

.rh-hero-when .material-icons-outlined {
	font-size: 18px;
	color: var(--blaze-orange);
}

.rh-hero-sep {
	opacity: 0.6;
}

.rh-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.rh-hero .btn-ghost {
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: transparent;
}

.rh-hero .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.rh-subnav {
	background: var(--navy-black);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.rh-subnav ul {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.rh-subnav ul::-webkit-scrollbar {
	display: none;
}

.rh-subnav a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 1rem 1.1rem;
	color: rgba(255, 255, 255, 0.75);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 500;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.rh-subnav a:hover,
.rh-subnav li.is-current a {
	color: var(--white);
}

.rh-subnav li.is-current a {
	border-bottom-color: var(--blaze-orange);
}

.rh-subnav .material-icons-outlined {
	font-size: 18px;
}

.rh-subnav-signout {
	margin-left: auto;
}

/* -------------------------
   Buttons on light backgrounds
   ------------------------- */
.rh-main .btn-ghost {
	color: var(--dark-teal);
	border: 1px solid rgba(7, 80, 86, 0.35);
	background: transparent;
}

.rh-main .btn-ghost:hover {
	background: var(--muted-teal);
}

.btn-sm {
	padding: 0.55rem 1rem;
	font-size: 0.85rem;
}

.btn .material-icons-outlined {
	font-size: 18px;
}

/* -------------------------
   Section heads, cards, notices
   ------------------------- */
.rh-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 2.75rem 0 1rem;
}

.rh-hub-main > .rh-section-head:first-child,
.rh-section > .rh-container > .rh-section-head:first-child {
	margin-top: 0;
}

.rh-section-head--card {
	margin: 0 0 1rem;
}

.rh-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 1.35rem;
	color: var(--dark-teal);
}

.rh-section-title .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-section-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	white-space: nowrap;
}

.rh-section-link:hover {
	text-decoration: underline;
}

.rh-section-link .material-icons-outlined {
	font-size: 18px;
}

.rh-section-meta {
	color: #6b7a84;
	font-size: 0.9rem;
}

.rh-card {
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.rh-card--muted {
	background: var(--soft-cream);
	box-shadow: none;
}

.rh-card-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	color: var(--dark-teal);
}

.rh-notice {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	font-size: 0.95rem;
}

.rh-notice--success {
	background: #e8f5ee;
	color: #1a6b3a;
}

.rh-notice--error {
	background: #fef0ea;
	color: #8b2500;
}

.rh-notice--info {
	background: var(--muted-teal);
	color: var(--dark-teal);
}

.rh-empty {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: 1.25rem 1.5rem;
	background: var(--soft-cream);
	border-radius: 12px;
	color: #5a6872;
}

.rh-empty .material-icons-outlined {
	font-size: 22px;
	color: var(--dark-teal);
	flex-shrink: 0;
}

.rh-small {
	font-size: 0.85rem;
	color: #6b7a84;
}

.rh-muted {
	color: #9aa5ad;
}

.rh-tz-note,
.rh-directory-note {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.75rem 0 0;
}

.rh-directory-note {
	margin-top: 2rem;
}

.rh-tz-note .material-icons-outlined,
.rh-directory-note .material-icons-outlined {
	font-size: 16px;
}

.rh-welcome {
	margin-bottom: 2rem;
	padding: 1.5rem 2rem;
	background: var(--soft-cream);
	border-radius: 14px;
}

.rh-prose p {
	line-height: 1.7;
	color: #41505a;
}

.rh-prose p:last-child {
	margin-bottom: 0;
}

.rh-prose ul,
.rh-prose ol {
	padding-left: 1.3em;
	color: #41505a;
	line-height: 1.7;
}

/* -------------------------
   Badges
   ------------------------- */
.rh-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: var(--muted-teal);
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.rh-badge .material-icons-outlined {
	font-size: 14px;
}

.rh-badge--retreat   { background: #fff1e8; color: #b23f00; }
.rh-badge--gathering { background: #e8f5ee; color: var(--sea-green); }
.rh-badge--mentoring { background: #eef2ff; color: #3b4fb3; }
.rh-badge--social    { background: #fdf0f6; color: #a2306e; }
.rh-badge--deadline  { background: #fff4d6; color: #8a5a00; }
.rh-badge--today     { background: var(--blaze-orange); color: var(--white); }
.rh-badge--past      { background: #e9ecef; color: #5a6872; }
.rh-badge--leader    { background: var(--dark-teal); color: var(--white); }

/* -------------------------
   Events
   ------------------------- */
.rh-event-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rh-event {
	display: flex;
	gap: 1.25rem;
	padding: 1.25rem;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.rh-event:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.rh-event--featured {
	padding: 2rem;
	border-left: 6px solid var(--blaze-orange);
	box-shadow: 0 12px 34px rgba(7, 80, 86, 0.1);
}

.rh-event--row {
	padding: 1rem 1.25rem;
}

.rh-event.is-past {
	opacity: 0.88;
}

.rh-date {
	display: flex;
	flex: 0 0 64px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 0.5rem 0.25rem;
	background: var(--muted-teal);
	border-radius: 12px;
	text-align: center;
	line-height: 1.1;
}

.rh-event--featured .rh-date {
	flex-basis: 84px;
	padding: 0.75rem 0.25rem;
	background: var(--dark-teal);
	color: var(--white);
}

.rh-date-month {
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.7rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--blaze-orange);
}

.rh-date-day {
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 700;
	font-size: 1.6rem;
	margin: 0.1rem 0;
}

.rh-event--featured .rh-date-day {
	font-size: 2.2rem;
}

.rh-date-dow {
	font-size: 0.7rem;
	text-transform: uppercase;
	opacity: 0.7;
}

.rh-date--tba {
	flex-basis: 64px;
	min-height: 64px;
}

.rh-event-body {
	flex: 1;
	min-width: 0;
}

.rh-event-top {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
}

.rh-event-title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
}

.rh-event--featured .rh-event-title {
	font-size: 1.6rem;
}

.rh-event-title a {
	color: var(--navy-black);
	text-decoration: none;
}

.rh-event-title a:hover {
	color: var(--dark-teal);
}

.rh-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	color: #5a6872;
	font-size: 0.9rem;
}

.rh-event-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.rh-event-meta .material-icons-outlined {
	font-size: 16px;
	color: var(--sea-green);
}

.rh-when-sep {
	margin: 0 0.3rem;
}

.rh-event-summary {
	margin: 0.9rem 0 0;
	color: #41505a;
	line-height: 1.6;
}

.rh-event-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1rem;
}

.rh-event--row .rh-event-actions {
	margin-top: 0.6rem;
}

.rh-month {
	margin: 1.75rem 0 0.75rem;
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--blaze-orange);
}

.rh-hub-main > .rh-section-head + .rh-month {
	margin-top: 0;
}

.rh-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Add to calendar menu */
.rh-cal {
	position: relative;
	display: inline-block;
}

.rh-cal-caret {
	transition: transform 0.2s ease;
}

.rh-cal-toggle[aria-expanded="true"] .rh-cal-caret {
	transform: rotate(180deg);
}

.rh-cal-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 50;
	min-width: 250px;
	margin: 0;
	padding: 0.4rem;
	list-style: none;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.rh-cal-menu[hidden] {
	display: none;
}

.rh-cal-menu a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.75rem;
	border-radius: 8px;
	color: var(--navy-black);
	font-size: 0.9rem;
	text-decoration: none;
}

.rh-cal-menu a:hover {
	background: var(--muted-teal);
}

.rh-cal-menu .material-icons-outlined {
	font-size: 18px;
	color: var(--dark-teal);
}

/* Details card (single event) */
.rh-dl {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.55rem 1rem;
	margin: 0;
	font-size: 0.92rem;
	text-align: left;
}

.rh-dl dt {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #6b7a84;
	font-weight: 500;
	white-space: nowrap;
}

.rh-dl dt .material-icons-outlined {
	font-size: 16px;
	color: var(--sea-green);
}

.rh-dl dd {
	margin: 0;
	color: var(--navy-black);
	overflow-wrap: anywhere;
}

.rh-details-actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-top: 1.25rem;
}

.rh-details-actions .btn,
.rh-details-actions .rh-cal {
	width: 100%;
	justify-content: center;
}

.rh-details-actions .rh-cal .btn {
	width: 100%;
	justify-content: center;
}

.rh-back {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 1.5rem;
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	text-decoration: none;
}

.rh-back:hover {
	text-decoration: underline;
}

.rh-facilitators {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-facilitator {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.rh-facilitator img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
}

.rh-facilitator-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.rh-facilitator-text small {
	color: #6b7a84;
	font-size: 0.8rem;
}

/* Single content blocks */
.rh-block {
	margin-bottom: 2.5rem;
}

.rh-block h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 1.35rem;
	color: var(--dark-teal);
}

.rh-block h2 .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-links li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1rem;
	background: var(--soft-cream);
	border-radius: 10px;
}

.rh-links .material-icons-outlined {
	color: var(--dark-teal);
	flex-shrink: 0;
}

.rh-links a {
	color: var(--navy-black);
	font-weight: 600;
	text-decoration: none;
}

.rh-links a:hover {
	color: var(--dark-teal);
	text-decoration: underline;
}

.rh-video {
	position: relative;
	margin-bottom: 1.25rem;
	padding-top: 56.25%;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}

.rh-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.rh-notes {
	margin-top: 1.5rem;
	padding: 1.25rem 1.5rem;
	background: var(--muted-teal);
	border-radius: 12px;
}

.rh-notes h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

/* -------------------------
   Discussion
   ------------------------- */
.rh-discussion {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.rh-prompts {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: #fff7f2;
	border-left: 4px solid var(--blaze-orange);
	border-radius: 10px;
}

.rh-prompts h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.rh-prompts ol {
	margin: 0;
	padding-left: 1.2rem;
}

.rh-prompts li {
	margin: 0.25rem 0;
	color: #41505a;
}

.rh-comment-list,
.rh-comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-comment-list .children {
	margin: 0.75rem 0 0 3.2rem;
	padding-left: 1rem;
	border-left: 2px solid var(--muted-teal);
}

.rh-comment {
	margin-bottom: 1rem;
}

.rh-comment-body {
	display: flex;
	gap: 0.9rem;
}

.rh-comment-main {
	flex: 1;
	min-width: 0;
	padding: 0.9rem 1.1rem;
	background: var(--soft-cream);
	border-radius: 12px;
}

.rh-comment-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}

.rh-comment-author {
	color: var(--navy-black);
	font-weight: 700;
	text-decoration: none;
}

.rh-comment-time {
	margin-left: auto;
	color: #8a9299;
	font-size: 0.8rem;
	text-decoration: none;
}

.rh-comment-content p {
	margin: 0 0 0.5rem;
	line-height: 1.6;
	color: #2f3d47;
}

.rh-comment-content p:last-child {
	margin-bottom: 0;
}

.rh-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-top: 0.5rem;
}

.rh-comment-actions a,
.rh-comment-action {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.3rem 0.5rem;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.8rem;
	text-decoration: none;
	cursor: pointer;
}

.rh-comment-actions a:hover,
.rh-comment-action:hover {
	background: var(--muted-teal);
}

.rh-comment-actions .material-icons-outlined {
	font-size: 16px;
}

.rh-comment-action--danger {
	color: #b23f00;
}

.rh-comment-edit textarea {
	width: 100%;
	min-height: 100px;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	resize: vertical;
}

.rh-comment-edit-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.rh-respond {
	margin-top: 2rem;
}

.rh-comment-list .rh-respond {
	margin: 0.75rem 0 1rem 3.2rem;
}

.rh-respond-title {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
}

.rh-respond-title small a {
	margin-left: 0.5rem;
	color: #b23f00;
	font-size: 0.8rem;
}

.rh-comment-form-row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}

.rh-comment-form textarea {
	flex: 1;
	min-height: 110px;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	background: var(--white);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	resize: vertical;
}

.rh-comment-form textarea:focus,
.rh-input:focus,
.rh-comment-edit textarea:focus {
	outline: none;
	border-color: var(--dark-teal);
	box-shadow: 0 0 0 3px rgba(7, 80, 86, 0.15);
}

.rh-comment-form-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
}

.rh-comment-form-note {
	color: #6b7a84;
	font-size: 0.85rem;
}

/* Activity lists (hub home, member profile) */
.rh-activity {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rh-activity-item {
	display: flex;
	gap: 0.9rem;
	padding: 1rem;
	background: var(--soft-cream);
	border-radius: 12px;
}

.rh-activity-head {
	margin: 0 0 0.25rem;
	color: #5a6872;
	font-size: 0.9rem;
}

.rh-activity-head strong {
	color: var(--navy-black);
}

.rh-activity-head a {
	color: var(--dark-teal);
}

.rh-activity-head time {
	margin-left: 0.5rem;
	color: #8a9299;
	font-size: 0.8rem;
}

.rh-activity-text {
	margin: 0;
	color: #41505a;
	line-height: 1.5;
}

/* -------------------------
   Avatars
   ------------------------- */
.rh-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--muted-teal);
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 700;
	object-fit: cover;
	overflow: hidden;
}

.rh-avatar--initials {
	background: linear-gradient(135deg, var(--dark-teal), var(--sea-green));
	color: var(--white);
}

.rh-avatar--sm { width: 40px;  height: 40px;  font-size: 0.9rem; }
.rh-avatar--md { width: 48px;  height: 48px;  font-size: 1rem; }
.rh-avatar--lg { width: 96px;  height: 96px;  font-size: 1.8rem; }
.rh-avatar--xl { width: 160px; height: 160px; font-size: 3rem; }

/* -------------------------
   Members
   ------------------------- */
.rh-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-bottom: 1.5rem;
}

.rh-search {
	position: relative;
	flex: 1 1 280px;
}

.rh-search .material-icons-outlined {
	position: absolute;
	left: 0.8rem;
	top: 50%;
	transform: translateY(-50%);
	color: #6b7a84;
	pointer-events: none;
}

.rh-search .rh-input {
	padding-left: 2.7rem;
}

.rh-input {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	background: var(--white);
	color: var(--navy-black);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
}

.rh-select {
	width: auto;
	min-width: 150px;
}

.rh-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
}

.rh-toolbar-count {
	margin-left: auto;
	color: #6b7a84;
	font-size: 0.9rem;
}

.rh-member-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.rh-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-radius: 14px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rh-member:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.rh-member[hidden] {
	display: none;
}

.rh-member--leader {
	border-top: 4px solid var(--blaze-orange);
}

.rh-member-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.rh-member-photo {
	display: block;
	margin-bottom: 0.75rem;
}

.rh-member-name {
	margin: 0.5rem 0 0.15rem;
	font-size: 1.1rem;
}

.rh-member-name a {
	color: var(--navy-black);
	text-decoration: none;
}

.rh-member-name a:hover {
	color: var(--dark-teal);
}

.rh-member-role {
	margin: 0;
	color: #5a6872;
	font-size: 0.9rem;
}

.rh-member-location {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0.25rem 0 0;
	color: #6b7a84;
	font-size: 0.85rem;
}

.rh-member-location .material-icons-outlined {
	font-size: 15px;
}

.rh-topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	margin: 0.8rem 0 0;
	padding: 0;
	list-style: none;
}

.rh-topics li {
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--muted-teal);
	color: var(--dark-teal);
	font-size: 0.75rem;
}

.rh-topics--lg {
	justify-content: flex-start;
	margin-top: 0;
}

.rh-topics--lg li {
	padding: 0.45rem 0.9rem;
	font-size: 0.9rem;
}

.rh-member-actions {
	display: flex;
	gap: 0.4rem;
	margin-top: 1rem;
}

.rh-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 50%;
	background: var(--soft-cream);
	color: var(--dark-teal);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.rh-icon-btn:hover {
	background: var(--dark-teal);
	color: var(--white);
}

.rh-icon-btn .material-icons-outlined {
	font-size: 20px;
}

.rh-people-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.rh-people p {
	margin: 0 0 1rem;
	color: #5a6872;
	font-size: 0.9rem;
}

.rh-nudge {
	display: flex;
	gap: 1rem;
	border-left: 5px solid var(--blaze-orange);
}

.rh-nudge > .material-icons-outlined {
	font-size: 32px;
	color: var(--blaze-orange);
}

.rh-nudge p {
	margin: 0.25rem 0 0.75rem;
	color: #5a6872;
	font-size: 0.9rem;
}

/* Profile view */
.rh-profile-card {
	text-align: center;
}

.rh-profile-photo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.rh-profile-card .rh-dl {
	margin-bottom: 1.25rem;
}

.rh-hero--member .rh-title {
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Profile edit (ACF front-end form) */
.rh-single-grid--profile {
	grid-template-columns: minmax(0, 1fr) 360px;
}

.rh-profile-form .acf-fields > .acf-field {
	border-top: 0;
	padding: 12px 0;
}

.rh-profile-form .acf-fields > .acf-field[data-width] {
	padding-right: 12px;
}

.rh-profile-form .acf-label label {
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--navy-black);
}

.rh-profile-form .acf-label .description,
.rh-profile-form .description {
	color: #6b7a84;
	font-size: 0.82rem;
}

.rh-profile-form .acf-input input[type="text"],
.rh-profile-form .acf-input input[type="url"],
.rh-profile-form .acf-input input[type="email"],
.rh-profile-form .acf-input input[type="number"],
.rh-profile-form .acf-input textarea,
.rh-profile-form .acf-input select {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	background: var(--white);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	box-sizing: border-box;
}

.rh-profile-form .acf-form-submit {
	padding-top: 1rem;
}

.rh-names {
	display: flex;
	flex-wrap: wrap;
}

.rh-preview-label {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.5rem;
}

.rh-preview-label .material-icons-outlined {
	font-size: 16px;
}

.rh-preview .rh-member {
	max-width: 360px;
}

.rh-inline-form {
	display: inline;
}

/* -------------------------
   Subscribe box
   ------------------------- */
.rh-subscribe {
	padding: 1.5rem;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--dark-teal), #0a3d42);
	color: var(--white);
}

.rh-subscribe h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	color: var(--white);
}

.rh-subscribe h3 .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-subscribe p {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
	opacity: 0.9;
}

.rh-subscribe-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.rh-subscribe .btn-secondary {
	background: var(--white);
	color: var(--dark-teal);
	border: 0;
}

.rh-subscribe .btn-ghost {
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
}

.rh-subscribe .btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.rh-subscribe-help {
	margin-top: 1rem;
	font-size: 0.85rem;
}

.rh-subscribe-help summary {
	cursor: pointer;
	font-weight: 600;
}

.rh-subscribe-help ul {
	margin: 0.5rem 0;
	padding-left: 1.2rem;
	line-height: 1.6;
}

.rh-subscribe-help .rh-small {
	color: rgba(255, 255, 255, 0.75);
}

/* -------------------------
   Sign-in page
   ------------------------- */
.rh-login-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.rh-login-card h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	color: var(--dark-teal);
}

.rh-login-card h2 .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-login-card > p {
	margin: 0 0 1.25rem;
	color: #5a6872;
	font-size: 0.92rem;
	line-height: 1.6;
}

.rh-login-card--secondary {
	background: var(--soft-cream);
	box-shadow: none;
}

.rh-label {
	display: block;
	margin: 0.75rem 0 0.35rem;
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
}

.rh-form .rh-label:first-of-type {
	margin-top: 0;
}

.rh-submit {
	width: 100%;
	justify-content: center;
	margin-top: 1rem;
}

.rh-honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
	opacity: 0;
}

.rh-login-help {
	text-align: center;
	color: #6b7a84;
	font-size: 0.9rem;
}

.rh-login-help a {
	color: var(--dark-teal);
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 1024px) {
	.rh-hub-grid,
	.rh-single-grid,
	.rh-single-grid--profile {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.rh-hub-side,
	.rh-single-side {
		order: 2;
	}
}

@media (max-width: 768px) {
	.rh-hero {
		padding: 7rem 0 2.25rem;
	}

	.rh-login-grid {
		grid-template-columns: 1fr;
	}

	.rh-event {
		flex-direction: column;
		gap: 0.9rem;
	}

	.rh-event--featured {
		padding: 1.5rem;
	}

	.rh-date,
	.rh-event--featured .rh-date {
		flex-direction: row;
		gap: 0.5rem;
		align-self: flex-start;
		padding: 0.4rem 0.8rem;
	}

	.rh-date-day,
	.rh-event--featured .rh-date-day {
		font-size: 1.2rem;
		margin: 0;
	}

	.rh-comment-list .children {
		margin-left: 1rem;
		padding-left: 0.75rem;
	}

	.rh-comment-list .rh-respond {
		margin-left: 0;
	}

	.rh-toolbar-count {
		margin-left: 0;
	}

	.rh-subnav a {
		padding: 0.85rem 0.8rem;
		font-size: 0.85rem;
	}

	.rh-details-actions .rh-cal-menu,
	.rh-event-actions .rh-cal-menu {
		left: 0;
		right: auto;
	}

	.rh-section-head {
		flex-wrap: wrap;
	}
}

/* ------------------------------------------------------------------
   Sign-in code (installed app)
   ------------------------------------------------------------------ */
.rh-code-input {
	font-size: 1.75rem;
	letter-spacing: 0.35em;
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.rh-code-toggle {
	margin-top: 1.25rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--muted-teal);
}

.rh-code-toggle summary {
	cursor: pointer;
	color: var(--dark-teal);
	font-weight: 600;
	font-size: 0.9375rem;
}

.rh-code-toggle[open] summary {
	margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------------
   Install page (/radiate/install/): stand-alone, no site chrome
   ------------------------------------------------------------------ */
body.rh-standalone {
	margin: 0;
	min-height: 100vh;
	background: var(--soft-cream);
	color: var(--navy-black);
}

.rh-install-head {
	background: var(--dark-teal);
	color: #fff;
	padding: 2.25rem 1.25rem 3rem;
	text-align: center;
}

.rh-install-head img {
	height: 44px;
	width: auto;
	margin: 0 auto 1.5rem;
	display: block;
}

.rh-install-head h1 {
	color: #fff;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	line-height: 1.2;
	margin: 0 0 0.6rem;
}

.rh-install-head p {
	color: rgba(255, 255, 255, 0.85);
	max-width: 36rem;
	margin: 0 auto;
	line-height: 1.55;
}

.rh-install {
	max-width: 42rem;
	margin: -1.5rem auto 3rem;
	padding: 0 1rem;
}

.rh-install .rh-card {
	margin-bottom: 1.25rem;
}

.rh-install-platforms {
	display: flex;
	flex-direction: column;
}

.rh-install--android [data-rh-platform="android"],
.rh-install--ios [data-rh-platform="ios"] {
	order: -1;
}

.rh-install h2 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	color: var(--dark-teal);
	margin: 0 0 0.85rem;
}

.rh-install h2 .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-install ol {
	margin: 0;
	padding-left: 1.4rem;
	display: grid;
	gap: 0.6rem;
}

.rh-install li {
	line-height: 1.5;
}

.rh-install p {
	line-height: 1.55;
}

.rh-install kbd {
	font-family: inherit;
	font-size: 0.95em;
	font-weight: 600;
	background: var(--muted-teal);
	color: var(--dark-teal);
	border-radius: 6px;
	padding: 0.05em 0.45em;
	white-space: nowrap;
}

.rh-install .rh-address {
	font-weight: 600;
	color: var(--dark-teal);
	white-space: nowrap;
}

.rh-install-note {
	font-size: 0.9375rem;
	color: #4a5a5c;
	margin: 0.9rem 0 0;
}

.rh-install-installed {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #e6f4ec;
	color: var(--sea-green);
	border-radius: 10px;
	padding: 0.9rem 1rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.rh-install-btn {
	width: 100%;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.rh-install-foot {
	text-align: center;
	font-size: 0.875rem;
	color: #6b7a7c;
	line-height: 1.6;
	margin: 2rem 0 0;
}

.radiate-hub [hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------
   Hubs: switcher in the hub menu, hub chooser (/radiate/)
   ------------------------------------------------------------------ */
.rh-subnav .rh-subnav-switch a {
	margin: 0.55rem 0.5rem 0.55rem 0;
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: var(--white);
}

.rh-subnav .rh-subnav-switch a:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.rh-subnav .rh-subnav-switch .material-icons-outlined {
	color: var(--blaze-orange);
}

.rh-hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.rh-hub-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.rh-hub-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.rh-hub-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--muted-teal);
	color: var(--dark-teal);
	font-size: 24px;
}

.rh-hub-card-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.25;
}

.rh-hub-card-title a {
	color: var(--dark-teal);
	text-decoration: none;
}

.rh-hub-card-title a:hover {
	text-decoration: underline;
}

.rh-hub-card-text {
	margin: 0;
	color: #4a5a63;
	line-height: 1.55;
}

.rh-hub-card-meta {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: #4a5a63;
}

.rh-hub-card-meta li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.rh-hub-card-meta .material-icons-outlined {
	font-size: 18px;
	color: var(--blaze-orange);
}

.rh-hub-card-open {
	align-self: flex-start;
	margin-top: auto;
}

.rh-hub-manage {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 2rem 0 0;
}

.rh-hub-manage .material-icons-outlined {
	font-size: 18px;
}

@media (max-width: 768px) {
	.rh-subnav .rh-subnav-switch a {
		padding: 0.35rem 0.7rem;
	}
}

/* ------------------------------------------------------------------
   Group chats (hub home, member directory)
   ------------------------------------------------------------------ */
.rh-chats {
	margin: 0 0 2.75rem;
}

.rh-chats .rh-section-head {
	margin-top: 0;
}

.rh-chat-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 1rem;
}

.rh-chat {
	--rh-chat-color: var(--dark-teal);
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem 1.15rem;
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
	color: var(--navy-black);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rh-chat:hover,
.rh-chat:focus-visible {
	border-color: var(--rh-chat-color);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
	transform: translateY(-1px);
}

.rh-chat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--rh-chat-color);
	color: var(--white);
	font-size: 22px;
}

.rh-chat-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.rh-chat-text strong {
	color: var(--dark-teal);
	font-size: 1rem;
	line-height: 1.3;
}

.rh-chat-text small {
	color: #5a6872;
	font-size: 0.85rem;
	line-height: 1.4;
}

.rh-chat-go {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	flex: none;
	color: var(--dark-teal);
	font-family: 'Funnel Sans', sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
}

.rh-chat-go .material-icons-outlined {
	font-size: 16px;
}

/* App colours, darkened where needed so the white icon stays readable. */
.rh-chat--whatsapp   { --rh-chat-color: #128c7e; }
.rh-chat--telegram   { --rh-chat-color: #0088cc; }
.rh-chat--signal     { --rh-chat-color: #3a76f0; }
.rh-chat--teams      { --rh-chat-color: #5b5fc7; }
.rh-chat--slack      { --rh-chat-color: #4a154b; }
.rh-chat--discord    { --rh-chat-color: #5865f2; }
.rh-chat--groupme    { --rh-chat-color: #0a7ec2; }
.rh-chat--messenger  { --rh-chat-color: #0866ff; }
.rh-chat--facebook   { --rh-chat-color: #1877f2; }
.rh-chat--linkedin   { --rh-chat-color: #0a66c2; }
.rh-chat--googlechat { --rh-chat-color: #1e8e3e; }
