/*
Theme Name: Heany Park
Theme URI: https://heanyparkscouts.com.au/
Author: Heany Park Scout Group
Description: The public website theme for Heany Park Scout Group. Photo-led, in the Heany Hub navy and scarf colours, with ready-made sections for the home page, section pages and stories.
Version: 0.4.4
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heany-park
*/

/* Only what theme.json can't express lives here. Colours come from the palette. */

/* Scarf edging: yellow then blue, as on the group scarf and the Heany Hub header. */
.hp-scarf-edge {
	height: 9px;
	margin-block-start: 0 !important;
	background: linear-gradient(var(--wp--preset--color--scarf-yellow) 0 4px, var(--wp--preset--color--scarf-blue) 4px 9px);
}

/* Header: the site name stacks "Heany Park" over "SCOUT GROUP". */
.hp-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}
.hp-brand img {
	width: 46px;
	height: auto;
}
.hp-brand-name {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	font-family: var(--wp--preset--font-family--heading);
}
.hp-brand-name strong {
	font-weight: 900;
	font-size: 1.375rem;
	color: var(--wp--preset--color--white);
}
.hp-brand-name span {
	font-weight: 800;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--sky);
}

/* Main menu links on the navy bar. */
.hp-header .wp-block-navigation a {
	font-weight: 700;
}
.hp-header .wp-block-navigation a:hover {
	color: var(--wp--preset--color--scarf-yellow);
}
.hp-header .wp-block-navigation .current-menu-item > a,
.hp-header .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
	box-shadow: inset 0 -3px 0 var(--wp--preset--color--scarf-yellow);
}
/* The yellow ring is for keyboard users; a tap or click doesn't leave one behind. */
.hp-header .wp-block-navigation a:focus:not(:focus-visible),
.hp-header .wp-block-navigation button:focus:not(:focus-visible) {
	outline: none;
}

/* Sections drop-down on the navy bar. */
.hp-header .wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: 12rem;
	padding: 0.4rem 0;
	border: 0;
	border-radius: 12px;
	background-color: var(--wp--preset--color--navy-deep);
	box-shadow: 0 10px 24px rgba(22, 38, 63, 0.35);
}
.hp-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 1.1rem;
}
/* Each section in the drop-down wears its colour, like the home page cards. */
.hp-header .wp-block-navigation .wp-block-navigation__submenu-container {
	gap: 0.35rem;
	padding: 0.5rem;
}
.hp-header .wp-block-navigation .hp-nav-section > .wp-block-navigation-item__content {
	width: 100%;
	border-radius: 8px;
	background-color: var(--hp-chip);
	color: var(--wp--preset--color--ink);
}
.hp-header .wp-block-navigation .hp-chip-venturers > .wp-block-navigation-item__content,
.hp-header .wp-block-navigation .hp-chip-rovers > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
}
.hp-header .wp-block-navigation .hp-nav-section > .wp-block-navigation-item__content:hover,
.hp-header .wp-block-navigation .hp-nav-section > .wp-block-navigation-item__content:focus-visible {
	filter: brightness(1.12);
}
.hp-header .wp-block-navigation .hp-chip-joeys > .wp-block-navigation-item__content:hover,
.hp-header .wp-block-navigation .hp-chip-cubs > .wp-block-navigation-item__content:hover,
.hp-header .wp-block-navigation .hp-chip-scouts > .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--ink);
}
.hp-header .wp-block-navigation .hp-chip-venturers > .wp-block-navigation-item__content:hover,
.hp-header .wp-block-navigation .hp-chip-rovers > .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--white);
}
/* The section you're on gets a yellow ring. */
.hp-header .wp-block-navigation .hp-nav-section.current-menu-item > .wp-block-navigation-item__content {
	box-shadow: inset 0 0 0 3px var(--wp--preset--color--scarf-yellow);
}

/* Outline buttons (the "Heany Hub" members button and second buttons on photos). */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	color: inherit;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
}
.hp-hub-button .wp-block-button__link {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	gap: 8px;
	border-color: var(--wp--preset--color--trim-blue) !important;
	color: var(--wp--preset--color--white) !important;
}
.hp-hub-button .wp-block-button__link::before {
	content: "";
	width: 18px;
	height: 16px;
	background: url("assets/images/mark.svg") no-repeat center / contain;
}

/* Signed in: members have no need for the "Try" button. */
.logged-in .hp-header .wp-block-buttons {
	display: none !important;
}
/* In My Scouts and Heany Hub the public menu goes too, so the logo, Heany Hub and picture sit closer. */
.hp-member-area .hp-header .wp-block-navigation {
	display: none !important;
}
.hp-member-area .hp-header .alignwide > .wp-block-group {
	gap: 0.75rem !important;
}
/* ...and line up with the page column (My Scouts, News) instead of the screen edges. */
.hp-member-area .hp-header > .alignwide {
	max-width: var(--wp--style--global--content-size) !important;
}

/* Header menus (Heany Hub and the account picture) open below their button. */
.hp-menu summary {
	list-style: none;
	cursor: pointer;
}
.hp-menu summary::-webkit-details-marker {
	display: none;
}
.hp-hub-menu {
	position: relative;
}
.hp-hub-menu summary:focus-visible .wp-block-button__link {
	outline: 3px solid var(--wp--preset--color--scarf-yellow);
	outline-offset: 2px;
}
.hp-hub-menu[open] .wp-block-button__link {
	border-color: var(--wp--preset--color--scarf-yellow) !important;
}

/* Account menu: the signed-in person's picture opens Account settings and Log out. */
.hp-account {
	position: relative;
}
.hp-account summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
}
.hp-account summary::-webkit-details-marker {
	display: none;
}
.hp-account summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--scarf-yellow);
	outline-offset: 2px;
}
.hp-account-avatar {
	display: block;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--wp--preset--color--trim-blue);
}
.hp-account[open] .hp-account-avatar,
.hp-account summary:hover .hp-account-avatar {
	border-color: var(--wp--preset--color--scarf-yellow);
}
.hp-account-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 100;
	min-width: 200px;
	padding: 0.5rem 0;
	background: var(--wp--preset--color--white);
	border-radius: 12px;
	box-shadow: var(--wp--preset--shadow--card);
}
.hp-account-menu .hp-account-name {
	margin: 0;
	padding: 0.5rem 1rem 0.65rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.hp-account-menu a {
	display: block;
	padding: 0.65rem 1rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
}
.hp-account-menu a:hover,
.hp-account-menu a:focus-visible {
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--navy);
}
.hp-account-menu .hp-account-logout,
.hp-account-menu .hp-menu-admin {
	border-top: 1px solid var(--wp--preset--color--line);
	margin-top: 0.25rem;
}

/* Plugin pages on classic templates (My Scouts, events): breathing room under the header. */
.wp-site-blocks > .hp-classic-main {
	margin-block-start: 0;
	padding-block: 0 var(--wp--preset--spacing--50);
}

/* Cards (section cards, story cards) lift a little on hover. */
.hp-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}
.hp-card:hover,
.hp-card:focus-within {
	box-shadow: var(--wp--preset--shadow--card);
}
.hp-card .wp-block-post-featured-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Activity tiles: a photo with its label in a white chip at the bottom left. */
.hp-tile {
	border-radius: 14px;
	overflow: hidden;
}
.hp-tile .wp-block-cover__inner-container {
	align-self: flex-end;
}
.hp-chip {
	display: inline-block;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	font-weight: 800;
	padding: 6px 12px;
	border-radius: 8px;
}

/* Section and kind tags on stories. */
.hp-tag {
	display: inline-block;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 99px;
}
.wp-block-post-terms.hp-tag a {
	color: inherit;
	text-decoration: none;
}

/* Small capitals line above a heading ("WHY FAMILIES STAY"). */
.hp-eyebrow {
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--small);
}

/* "Find us" links to Google Maps (in the hero and the footer), with a map pin. */
.hp-find-us a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 44px;
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.hp-find-us a::before {
	content: "";
	flex: none;
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Big numbers in the stat strip and join steps. */
.hp-number {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 900;
	line-height: 1.1;
}

/* Hero: keep the words readable over any photo. */
.hp-hero .wp-block-cover__inner-container {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Phones: the menu becomes the overlay button; keep touch targets at least 44px. */
@media (max-width: 781px) {
	.hp-header .wp-block-buttons .wp-block-button__link {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	.hp-header-try {
		display: none !important;
	}
	.hp-header > .wp-block-group {
		gap: 0.75rem !important;
		padding-top: 0.5rem !important;
		padding-bottom: 0.5rem !important;
	}
	.hp-account summary {
		width: 40px;
		height: 40px;
	}
	.hp-account-avatar {
		width: 34px;
		height: 34px;
	}
	/* Phone menu: big, left-aligned links that are easy to tap. */
	.hp-header .wp-block-navigation__responsive-container.is-menu-open {
		padding: 1.25rem 1.5rem 2rem;
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: stretch !important;
		padding-top: 3rem;
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch !important;
		gap: 0 !important;
		width: 100%;
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		border-bottom: 1px solid rgba(201, 216, 238, 0.2);
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 1rem 0 !important;
		font-family: var(--wp--preset--font-family--heading);
		font-size: var(--wp--preset--font-size--x-large);
		font-weight: 800;
		text-align: left;
	}
	/* Section links under "Sections" on the phone menu: smaller and indented. */
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
		width: 100% !important;
		align-items: stretch !important;
		padding: 0 0 0.75rem !important;
		background: transparent;
		box-shadow: none;
	}
	/* Phone menu: the page you're on is in yellow. */
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-ancestor > .wp-block-navigation-item__content {
		color: var(--wp--preset--color--scarf-yellow);
		box-shadow: none;
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-nav-section.current-menu-item > .wp-block-navigation-item__content {
		box-shadow: inset 0 0 0 3px var(--wp--preset--color--scarf-yellow);
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-chip-joeys.current-menu-item > .wp-block-navigation-item__content,
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-chip-cubs.current-menu-item > .wp-block-navigation-item__content,
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-chip-scouts.current-menu-item > .wp-block-navigation-item__content {
		color: var(--wp--preset--color--ink);
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-chip-venturers.current-menu-item > .wp-block-navigation-item__content,
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .hp-chip-rovers.current-menu-item > .wp-block-navigation-item__content {
		color: var(--wp--preset--color--white);
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
		border-bottom: 0;
	}
	.hp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		margin-top: 0.4rem;
		padding: 0.55rem 0.9rem !important;
		font-size: var(--wp--preset--font-size--large);
		font-weight: 700;
	}
	.hp-brand {
		gap: 8px;
		min-width: 0;
	}
	.hp-brand img {
		width: 36px;
	}
	.hp-brand-name strong {
		font-size: 1.125rem;
		white-space: nowrap;
	}
	.hp-brand-name span {
		font-size: 0.6875rem;
		white-space: nowrap;
	}
	/* Heany Hub becomes a round tent button; its words stay for screen readers. */
	.hp-hub-button .wp-block-button__link {
		width: 44px;
		height: 44px;
		padding: 0 !important;
		justify-content: center;
		font-size: 0 !important;
		gap: 0;
	}
	.hp-hub-button .wp-block-button__link::before {
		width: 22px;
		height: 20px;
	}
	/* Less empty photo above the headline on a phone. */
	.hp-hero {
		min-height: 480px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-card {
		transition: none;
	}
}

/* Footer: a bush ridgeline rises out of the page, then the deep navy footer. */
.hp-footer {
	position: relative;
	margin-top: 64px;
}
.hp-footer::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: 64px;
	margin-bottom: -1px;
	background: url("assets/images/ridge.svg") no-repeat bottom / 100% 100%;
	pointer-events: none;
}
.hp-footer a {
	color: var(--wp--preset--color--sky);
	text-decoration: none;
}
.hp-footer a:hover {
	color: var(--wp--preset--color--scarf-yellow);
	text-decoration: underline;
}
.hp-footer .wp-block-button__link,
.hp-footer .wp-block-button__link:hover {
	text-decoration: none;
}
.hp-footer .wp-block-button:not(.is-style-outline):not(.hp-section-chip) .wp-block-button__link {
	color: var(--wp--preset--color--navy);
}
.hp-footer-cta {
	padding-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid rgba(201, 216, 238, 0.18);
}
.hp-footer-cta h2,
.hp-footer-cta p {
	margin: 0;
}

/* Section chips: one per section with its colour as a dot. */
.hp-section-chip .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.45rem 0.9rem !important;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(201, 216, 238, 0.25);
	color: var(--wp--preset--color--white) !important;
	font-weight: 800;
}
.hp-section-chip .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.14);
}
.hp-section-chip .wp-block-button__link::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hp-chip);
}
.hp-section-chip span {
	font-weight: 400;
	color: var(--wp--preset--color--sky);
}
.hp-chip-joeys { --hp-chip: var(--wp--preset--color--joeys); }
.hp-chip-cubs { --hp-chip: var(--wp--preset--color--cubs); }
.hp-chip-scouts { --hp-chip: var(--wp--preset--color--scouts); }
.hp-chip-venturers { --hp-chip: var(--wp--preset--color--venturers); }
.hp-chip-rovers { --hp-chip: var(--wp--preset--color--rovers); }

.hp-footer-columns {
	margin-top: var(--wp--preset--spacing--50);
}
.hp-footer .hp-brand-name strong {
	font-size: 1.125rem;
}
.hp-footer-heading {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem !important;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--scarf-yellow);
}
.hp-footer-links li {
	margin-bottom: 0.5rem;
}
.hp-footer-bottom {
	margin-top: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--30) 0 var(--wp--preset--spacing--40);
	border-top: 1px solid rgba(201, 216, 238, 0.18);
	color: #9fb2cc;
	font-size: 0.8125rem;
}
.hp-footer-member-links {
	display: none;
	margin: 0;
}

/* Signed in: a slim footer with a few useful links, no join band or link columns. */
.logged-in .hp-footer {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: 0 !important;
}
.logged-in .hp-footer::before,
.logged-in .hp-footer-cta,
.logged-in .hp-section-chips,
.logged-in .hp-footer-columns {
	display: none !important;
}
.logged-in .hp-footer-bottom {
	margin-top: 0;
	border-top: 0;
}
.logged-in .hp-footer-member-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}
.hp-footer-legal {
	margin: 0;
}
@media (max-width: 781px) {
	.hp-footer-cta .wp-block-buttons {
		width: 100%;
	}
	.hp-footer .hp-hub-button .wp-block-button__link {
		width: auto;
		height: auto;
		padding: 0.85rem 1.5rem !important;
		font-size: var(--wp--preset--font-size--medium) !important;
		gap: 8px;
	}
	.hp-footer-columns {
		gap: var(--wp--preset--spacing--40) !important;
	}
}

.is-style-hp-plain {
	list-style: none;
	padding-left: 0;
}

/* Heany Hub sign in: the WordPress login form on the navy panel. */
.hp-signin form p {
	margin: 0 0 1rem;
}
.hp-signin label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: var(--wp--preset--color--sky);
}
.hp-signin input[type="text"],
.hp-signin input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0.65rem 0.85rem;
	border: 2px solid transparent;
	border-radius: 8px;
	font-size: 1rem;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}
.hp-signin input[type="text"]:focus,
.hp-signin input[type="password"]:focus {
	outline: 3px solid var(--wp--preset--color--scarf-yellow);
	outline-offset: 1px;
}
.hp-signin .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 400;
	color: var(--wp--preset--color--white);
	cursor: pointer;
}
.hp-signin .login-remember input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--wp--preset--color--scarf-yellow);
}
.hp-signin input[type="submit"] {
	min-height: 48px;
	padding: 0.75rem 1.75rem;
	border: 0;
	border-radius: 99px;
	background: var(--wp--preset--color--scarf-yellow);
	color: var(--wp--preset--color--navy);
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
}
.hp-signin input[type="submit"]:hover {
	background: #e2b21f;
}
.hp-signin a {
	color: var(--wp--preset--color--sky);
}
.hp-signin input[type="submit"] {
	width: 100%;
}
.hp-signin .login-submit {
	margin-bottom: 0;
}

/* "or", then the Passkey and Google buttons, all the same width and shape.
   Wordfence adds the Passkey button and Nextend adds Google to the form. */
.hp-signin .wfls-passkey-container {
	margin: 0;
}
.hp-signin .wfls-passkey-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0;
	color: var(--wp--preset--color--sky);
	font-size: var(--wp--preset--font-size--small);
}
.hp-signin .wfls-passkey-divider::before,
.hp-signin .wfls-passkey-divider::after {
	content: "";
	flex: 1;
	border-top: 1px solid rgba(201, 216, 238, 0.3);
}
.hp-signin .wfls-passkey-submit {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	min-height: 48px;
	padding: 0.65rem 1.25rem !important;
	border: 0 !important;
	border-radius: 99px !important;
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--navy) !important;
	font-family: inherit;
	font-size: 1rem !important;
	font-weight: 800;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none !important;
}
.hp-signin .wfls-passkey-submit:hover {
	background: var(--wp--preset--color--mist) !important;
}
.hp-signin .wfls-passkey-icon {
	width: 20px;
	height: 20px;
	background: var(--wfls-passkey-icon-url) no-repeat center / contain;
}
.hp-signin .nsl-container {
	margin-top: 0.75rem !important;
}
.hp-signin .nsl-container-buttons,
.hp-signin .nsl-container-buttons a {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.hp-signin .nsl-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 48px;
	border: 0 !important;
	border-radius: 99px !important;
	box-shadow: none !important;
}
.hp-signin .nsl-button-label-container {
	flex: 0 1 auto !important;
	font-size: 1rem !important;
	font-weight: 700;
}
.hp-signin .nsl-button-svg-container {
	padding-left: 0 !important;
}
.hp-signin-notice {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.12);
	border-left: 4px solid var(--wp--preset--color--sky);
	color: var(--wp--preset--color--white);
}
.hp-signin-notice.is-error {
	background: rgba(163, 32, 60, 0.35);
	border-left-color: var(--wp--preset--color--scarf-yellow);
}
.hp-signin-form p {
	margin: 0 0 1rem;
}
.hp-signin .hp-signin-lost {
	margin-top: 1.25rem;
	text-align: center;
}

/* Join page: the Heany Hub join form ([heany_join_form]) on a white page. */
.hp-join-form fieldset {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}
.hp-join-form legend {
	margin-bottom: 0.75rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
	color: var(--wp--preset--color--navy);
}
.hp-join-field {
	margin: 0 0 1rem;
}
.hp-join-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
	color: var(--wp--preset--color--navy);
}
.hp-join-form input[type="text"],
.hp-join-form input[type="email"],
.hp-join-form input[type="tel"],
.hp-join-form input[type="number"],
.hp-join-form select,
.hp-join-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0.65rem 0.85rem;
	border: 2px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: 1rem;
}
.hp-join-form input[type="number"] {
	max-width: 8rem;
}
.hp-join-form input:focus,
.hp-join-form select:focus,
.hp-join-form textarea:focus {
	outline: 3px solid var(--wp--preset--color--scarf-yellow);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--navy);
}
.hp-join-self label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}
.hp-join-self input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--wp--preset--color--navy);
}
.hp-join-full-note,
.hp-join-full-pick,
.hp-join-problem {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	border-left: 4px solid var(--wp--preset--color--scarf-yellow);
	background: #fff8e1;
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}
.hp-join-full-pick[hidden] {
	display: none;
}
.hp-join-problem {
	border-left-color: var(--wp--preset--color--scarf-red);
	background: #fbeaee;
}
.hp-join-privacy {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}
.hp-join-send {
	width: 100%;
	min-height: 48px;
	font-weight: 800;
}
/* A box only robots fill in: off the screen, not just hidden. */
.hp-join-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.hp-join-done {
	padding: 1.5rem;
	border-radius: 14px;
	background: var(--wp--preset--color--mist);
}
.hp-join-done h3 {
	margin-top: 0;
}
