/**
 * BMHM Provider Directory — Form Styles
 *
 * Shared styles for registration, profile form, and dashboard.
 * Mobile-first, uses brand tokens from provider-profile.css.
 */

/* --- Page / Container --- */
.bmhm-form-page {
	padding: 2rem 1rem;
	min-height: 60vh;
}

.bmhm-form-container {
	max-width: 800px;
	margin: 0 auto;
}

.bmhm-form-container--narrow {
	max-width: 500px;
}

/* --- Title --- */
.bmhm-form__title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.75rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.bmhm-form__subtitle {
	color: #555;
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
}

/* --- Notices --- */
.bmhm-notice {
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
}

.bmhm-notice--success {
	background: #e8f5e9;
	border: 1px solid #4caf50;
	color: #2e7d32;
}

.bmhm-notice--error {
	background: #fce4ec;
	border: 1px solid #e57373;
	color: #c62828;
}

/* Read-only while the first review is pending (ADR-0015). */
.bmhm-notice--info {
	background: #e3f2fd;
	border: 1px solid #64b5f6;
	color: #0d47a1;
}

.bmhm-form__section--locked {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
	opacity: 0.75;
}

.bmhm-notice--warning {
	background: #fff8e1;
	border: 1px solid #f9a825;
	color: #7a5200;
}

.bmhm-form__error-summary p {
	margin: 0 0 0.5rem;
}

.bmhm-form__error-summary p:last-of-type {
	margin-bottom: 0.75rem;
}

.bmhm-form__error-summary ul {
	margin: 0;
	padding-left: 1.25rem;
}

.bmhm-form__error-summary li {
	margin: 0.25rem 0;
}

/* --- Form --- */
.bmhm-form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* --- Sections (fieldsets) --- */
.bmhm-form__section {
	border: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.bmhm-form__section-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--bmhm-secondary, #017d7f);
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--bmhm-primary, #69c186);
}

/* --- Fields --- */
.bmhm-form__field {
	margin-bottom: 1rem;
}

.bmhm-form__field--error .bmhm-form__input,
.bmhm-form__field--error .bmhm-form__select,
.bmhm-form__field--error .bmhm-form__textarea {
	border-color: #e57373;
}

.bmhm-form__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.375rem;
}

.bmhm-form__label .required,
.bmhm-form__section-title .required {
	color: var(--bmhm-red, #ec3748);
}

.bmhm-form__input,
.bmhm-form__select,
.bmhm-form__textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: var(--bmhm-base, #fff);
	color: var(--bmhm-contrast, #000);
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.bmhm-password-field {
	position: relative;
}

.bmhm-password-field .bmhm-form__input {
	min-width: 0;
	min-height: 40px;
	padding-right: 3.25rem;
}

.bmhm-password-toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	width: 40px;
	height: 40px;
	padding: 0;
	place-items: center;
	color: var(--bmhm-secondary-dark, #015c5e);
	background: transparent;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

.bmhm-password-toggle[hidden] {
	display: none !important;
}

.bmhm-password-toggle__icon {
	width: 20px;
	height: 20px;
}

.bmhm-password-toggle__icon--hide,
.bmhm-password-toggle[aria-pressed='true'] .bmhm-password-toggle__icon--show {
	display: none;
}

.bmhm-password-toggle[aria-pressed='true'] .bmhm-password-toggle__icon--hide {
	display: block;
}

.bmhm-password-toggle:hover {
	color: var(--bmhm-secondary, #017d7f);
	background: #e8f4f4;
}

.bmhm-password-toggle:focus-visible {
	outline: 2px solid var(--bmhm-secondary, #017d7f);
	outline-offset: -3px;
}

.bmhm-form__input:focus,
.bmhm-form__select:focus,
.bmhm-form__textarea:focus {
	outline: none;
	border-color: var(--bmhm-secondary, #017d7f);
	box-shadow: 0 0 0 2px rgba(1, 125, 127, 0.15);
}

.bmhm-form__textarea {
	resize: vertical;
	min-height: 80px;
}

.bmhm-form__select[multiple] {
	height: auto;
}

/* --- Row (side-by-side fields) --- */
.bmhm-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 600px) {
	.bmhm-form__row {
		grid-template-columns: 1fr;
	}
}

/* --- Help text / Error --- */
.bmhm-form__help {
	font-size: 0.75rem;
	color: #777;
	margin: 0.25rem 0 0;
}

.bmhm-form__error {
	font-size: 0.75rem;
	color: #c62828;
	margin: 0.25rem 0 0;
	font-weight: 500;
}

/* --- Character counter (issue #36): under the textarea's resize handle --- */
.bmhm-form__char-count {
	font-size: 0.75rem;
	color: #6b7280;
	text-align: right;
	margin: 0.25rem 0 0;
	font-variant-numeric: tabular-nums;
}

/* Warning at 90% of the limit; dark amber keeps 4.5:1 contrast on white. */
.bmhm-form__char-count--near {
	color: #92400e;
	font-weight: 600;
}

.bmhm-form__char-count--over {
	color: #c62828;
	font-weight: 600;
}

/* Threshold announcements are for screen readers only. */
.bmhm-form__char-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Checkboxes & Radios --- */
.bmhm-form__checkbox,
.bmhm-form__radio {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.8125rem;
	color: #333;
	cursor: pointer;
	line-height: 1.4;
}

.bmhm-form__checkbox input[type="checkbox"],
.bmhm-form__radio input[type="radio"] {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.125rem;
	accent-color: var(--bmhm-secondary, #017d7f);
	cursor: pointer;
}

.bmhm-form__checkbox-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.5rem 1rem;
	transition: opacity 0.2s;
}

/* Type-to-filter input sitting above a checkbox grid. */
.bmhm-form__filter-input {
	margin-bottom: 0.5rem;
}

/* --- Language rows (one language + its proficiency per row) --- */
.bmhm-language-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.bmhm-language-row__lang {
	flex: 1 1 60%;
	min-width: 0;
}

.bmhm-language-row__level {
	flex: 0 0 38%;
	min-width: 0;
}

.bmhm-language-row__remove {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	border: 1px solid #d9e0e5;
	border-radius: var(--bmhm-radius, 8px);
	background: #fff;
	color: #888;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bmhm-language-row__remove:hover {
	background: #fdecef;
	color: #c0392b;
	border-color: #f0b4bd;
}

.bmhm-form__add-row {
	display: inline-block;
	margin: 0.25rem 0 0.5rem;
	padding: 0.5rem 0.9rem;
	background: #e0f2f1;
	color: #017d7f;
	border: 1px solid rgba(1, 125, 127, 0.25);
	border-radius: var(--bmhm-radius, 8px);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.15s;
}

.bmhm-form__add-row:hover {
	background: #c8e9e7;
}

/* --- Licenses: a state and its number, side by side, one row per license --- */
.bmhm-licenses {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.bmhm-license-row {
	display: grid;
	grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1.2fr) 2rem;
	align-items: center;
	gap: 0.5rem;
}

.bmhm-license-row__remove {
	width: 2rem;
	height: 2rem;
	border: 1px solid #d9e0e5;
	border-radius: var(--bmhm-radius, 8px);
	background: #fff;
	color: #888;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bmhm-license-row__remove:hover {
	background: #fdecef;
	color: #c0392b;
	border-color: #f0b4bd;
}

@media (max-width: 700px) {
	/* The remove button keeps its own column so it stays beside the number. */
	.bmhm-license-row {
		grid-template-columns: 1fr 2rem;
	}

	.bmhm-license-row__state {
		grid-column: 1 / -1;
	}
}

/* --- Professional Links --- */
.bmhm-professional-links {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.bmhm-professional-link-row {
	display: grid;
	grid-template-columns: minmax(10rem, 0.9fr) minmax(12rem, 1.35fr) minmax(10rem, 1fr);
	gap: 0.5rem;
}

@media (max-width: 700px) {
	.bmhm-professional-link-row {
		grid-template-columns: 1fr;
	}
}

/* "No Insurance" prominent checkbox — sits above grid */
.bmhm-form__checkbox--prominent {
	font-weight: 600;
	padding: 0.5rem 0.75rem;
	background: #f3e5f5;
	border-radius: var(--bmhm-radius, 8px);
	margin-bottom: 0.5rem;
}

/* A checkbox that is itself a question ("I offer sliding scale fees"); same weight as field labels. */
.bmhm-form__checkbox--bold {
	font-weight: 600;
}

/* --- Searchable Multi-Select Widget --- */
.bmhm-multiselect {
	position: relative;
	margin-bottom: 1rem;
	max-width: 400px;
}

#bmhm-insurance-grid {
	margin-bottom: 1rem;
}

#bmhm-insurance-extras {
	margin-bottom: 0.5rem;
}

.bmhm-form__section:has(#bmhm-no-insurance:checked) #bmhm-insurance-grid {
	opacity: 0.4;
	pointer-events: none;
}

.bmhm-form__section:has(#bmhm-no-insurance:checked) #bmhm-insurance-extras {
	display: none;
}

/* --- Multi-select combobox (chips + floating searchable popover) — insurance --- */
.bmhm-combobox {
	position: relative;
	margin-bottom: 0.5rem;
}

/* Control bar matches .bmhm-form__input so it lines up with the other fields. */
.bmhm-combobox__control {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: var(--bmhm-base, #fff);
	color: var(--bmhm-contrast, #000);
	box-sizing: border-box;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bmhm-combobox__control:hover {
	border-color: #b9c4cd;
}

.bmhm-combobox--open .bmhm-combobox__control,
.bmhm-combobox__control:focus-visible {
	border-color: var(--bmhm-secondary, #017d7f);
	box-shadow: 0 0 0 2px rgba(1, 125, 127, 0.15);
	outline: none;
}

.bmhm-combobox__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	flex: 1 1 auto;
	min-width: 0;
}

.bmhm-combobox__placeholder {
	color: #8a99a8;
}

.bmhm-combobox__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	max-width: 100%;
	padding: 0.1rem 0.25rem 0.1rem 0.55rem;
	background: #e0f2f1;
	color: #017d7f;
	border: 1px solid rgba(1, 125, 127, 0.2);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.bmhm-combobox__chip-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bmhm-combobox__chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: #017d7f;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s;
}

.bmhm-combobox__chip-remove:hover {
	background: rgba(1, 125, 127, 0.18);
}

.bmhm-combobox__caret {
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.15rem;
	border-right: 2px solid #8a99a8;
	border-bottom: 2px solid #8a99a8;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.bmhm-combobox--open .bmhm-combobox__caret {
	transform: rotate(-135deg);
}

.bmhm-combobox__popover {
	margin-top: 0.5rem;
	border: 1px solid #e0e0e0;
	border-radius: var(--bmhm-radius, 8px);
	background: #fff;
	overflow: hidden;
}

/* When JS is active the popover floats over content instead of pushing it down. */
.bmhm-combobox--js .bmhm-combobox__popover {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 50;
	margin-top: 0;
	display: none;
	box-shadow: 0 8px 24px rgba(16, 33, 47, 0.16);
}

.bmhm-combobox--js.bmhm-combobox--open .bmhm-combobox__popover {
	display: block;
}

.bmhm-combobox__search {
	padding: 0.6rem;
	border-bottom: 1px solid #eef1f3;
}

.bmhm-combobox__search-input {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #d9e0e5;
	border-radius: var(--bmhm-radius, 8px);
	font-size: 0.9rem;
}

.bmhm-combobox__search-input:focus {
	outline: none;
	border-color: var(--bmhm-primary, #017d7f);
	box-shadow: 0 0 0 3px rgba(1, 125, 127, 0.12);
}

.bmhm-combobox__options {
	max-height: 260px;
	overflow-y: auto;
	padding: 0.35rem;
}

.bmhm-combobox__option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 0.6rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	color: #2c3e50;
	transition: background 0.12s;
}

.bmhm-combobox__option:hover {
	background: #f3f7f7;
}

/* Hide the native checkbox; the custom box reflects state via :has(). */
.bmhm-combobox__option input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.bmhm-combobox__box {
	position: relative;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid #c2ccd4;
	border-radius: 5px;
	background: #fff;
	transition: background 0.12s, border-color 0.12s;
}

.bmhm-combobox__option:has(input:checked) .bmhm-combobox__box {
	background: var(--bmhm-primary, #017d7f);
	border-color: var(--bmhm-primary, #017d7f);
}

.bmhm-combobox__option:has(input:checked) .bmhm-combobox__box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bmhm-combobox__option:has(input:checked) {
	color: #11343a;
	font-weight: 600;
}

.bmhm-combobox__option-label {
	flex: 1 1 auto;
	min-width: 0;
}

.bmhm-combobox__empty {
	margin: 0;
	padding: 0.85rem 0.75rem;
	color: #6b7a89;
	font-size: 0.85rem;
}

.bmhm-multiselect__selected {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-bottom: 0.5rem;
}

.bmhm-multiselect__selected:empty {
	display: none;
}

.bmhm-multiselect__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	background: #e0f2f1;
	color: #017d7f;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 100px;
	border: 1px solid rgba(1, 125, 127, 0.18);
	line-height: 1.3;
}

.bmhm-multiselect__pill-remove {
	background: none;
	border: none;
	color: #017d7f;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 0 0.125rem;
	opacity: 0.6;
}

.bmhm-multiselect__pill-remove:hover {
	opacity: 1;
}

.bmhm-multiselect__search {
	width: 100%;
	padding: 0.625rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: var(--bmhm-radius, 8px);
	font-size: 0.9375rem;
	background: #fff;
	transition: border-color 0.15s;
}

.bmhm-multiselect__search:focus {
	outline: none;
	border-color: var(--bmhm-secondary, #017d7f);
	box-shadow: 0 0 0 2px rgba(1, 125, 127, 0.15);
}

.bmhm-multiselect__dropdown {
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 240px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 var(--bmhm-radius, 8px) var(--bmhm-radius, 8px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	list-style: none;
	margin: 0;
	padding: 0;
}

.bmhm-multiselect__option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.1s;
}

.bmhm-multiselect__option:hover {
	background: #f0f6fc;
}

.bmhm-multiselect__option--selected {
	background: #e0f2f1;
	font-weight: 600;
}

.bmhm-multiselect__option--selected:hover {
	background: #c8e6c9;
}

.bmhm-multiselect__check {
	color: #017d7f;
	font-weight: 700;
	font-size: 0.875rem;
	min-width: 1rem;
	text-align: right;
}

/* --- File Upload Area --- */
.bmhm-form__file-area {
	border: 2px dashed #ccc;
	border-radius: var(--bmhm-radius, 8px);
	padding: 1.25rem;
	text-align: center;
	background: var(--bmhm-tertiary, #f6f6f6);
	transition: border-color 0.15s, background-color 0.15s;
	cursor: pointer;
}

.bmhm-form__file-area:hover {
	border-color: var(--bmhm-secondary, #017d7f);
	background: #eef8f8;
}

.bmhm-form__file-area input[type="file"] {
	display: block;
	margin: 0.5rem auto 0;
	font-size: 0.8125rem;
}

.bmhm-form__hint {
	font-size: 0.8125rem;
	color: #666;
	margin-top: 0.375rem;
}

.bmhm-policy-documents {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
}

.bmhm-policy-document {
	color: var(--bmhm-secondary, #017d7f);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.bmhm-policy-document:hover {
	color: #015f61;
}

.bmhm-policy-document:focus-visible {
	border-radius: 2px;
	outline: 2px solid var(--bmhm-secondary, #017d7f);
	outline-offset: 2px;
}

.bmhm-policy-acknowledgement {
	margin-bottom: 0.75rem;
}

.bmhm-policy-acknowledgement__copy {
	min-width: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.bmhm-policy-acknowledgement__heading {
	display: inline;
}

/* "Policies and Directory" sits above its documents rather than inside its checkbox;
   the size comes from __copy, so it matches the other acknowledgement headings. */
.bmhm-policy-acknowledgement__title {
	margin: 0 0 0.375rem;
	color: #333;
}

.bmhm-policy-acknowledgement .required {
	color: var(--bmhm-red, #ec3748);
}

.bmhm-policy-modal {
	width: min(760px, calc(100% - 2rem));
	height: min(85vh, 760px);
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	border-radius: var(--bmhm-radius, 10px);
	background: var(--bmhm-base, #fff);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	color: var(--bmhm-contrast, #1a1a1a);
	overflow: hidden;
}

.bmhm-policy-modal::backdrop {
	background: rgba(17, 24, 39, 0.55);
}

.bmhm-policy-modal__dialog {
	display: grid;
	grid-template-rows: auto auto minmax(0, 1fr);
	height: 100%;
}

.bmhm-policy-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.5rem 0.875rem;
	border-top: 4px solid var(--bmhm-secondary, #017d7f);
	border-bottom: 2px solid var(--bmhm-primary, #69c186);
}

/* The dialog sits inside page content, so the theme's heading and text styles
   reach it; the doubled class outranks rules like `.entry-content h2`. */
.bmhm-policy-modal .bmhm-policy-modal__header h2 {
	margin: 0;
	padding: 0;
	color: var(--bmhm-secondary, #017d7f);
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', Georgia, serif);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
}

.bmhm-policy-modal__close {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--bmhm-border, #e8e8e8);
	border-radius: 50%;
	background: var(--bmhm-base, #fff);
	color: var(--bmhm-secondary, #017d7f);
	cursor: pointer;
	font-family: inherit;
	font-size: 1.375rem;
	line-height: 1;
}

.bmhm-policy-modal__close:hover {
	border-color: var(--bmhm-secondary, #017d7f);
	background: #eef8f8;
}

.bmhm-policy-modal__close:focus-visible {
	outline: 2px solid var(--bmhm-secondary, #017d7f);
	outline-offset: 2px;
}

.bmhm-policy-modal .bmhm-policy-modal__status {
	margin: 0;
	padding: 0.5rem 1.5rem;
	background: #eef8f8;
	color: var(--bmhm-secondary-dark, #015c5e);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.bmhm-policy-modal__content {
	min-height: 0;
	overflow: auto;
	padding: 1.5rem 1.5rem 2rem;
	color: #333;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.bmhm-policy-modal .bmhm-policy-modal__content h2 {
	margin: 1.75rem 0 0.5rem;
	padding: 0;
	color: var(--bmhm-secondary, #017d7f);
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', Georgia, serif);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: normal;
	text-transform: none;
}

/* Each document opens with its own full title. */
.bmhm-policy-modal .bmhm-policy-modal__content > h2:first-child {
	margin-top: 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--bmhm-border, #e8e8e8);
	color: var(--bmhm-contrast, #1a1a1a);
	font-size: 1.375rem;
}

.bmhm-policy-modal .bmhm-policy-modal__content h3,
.bmhm-policy-modal .bmhm-policy-modal__content h4 {
	margin: 1.25rem 0 0.375rem;
	padding: 0;
	color: var(--bmhm-contrast, #1a1a1a);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.bmhm-policy-modal .bmhm-policy-modal__content p,
.bmhm-policy-modal .bmhm-policy-modal__content li {
	font-size: inherit;
	line-height: inherit;
}

.bmhm-policy-modal .bmhm-policy-modal__content p {
	margin: 0 0 0.875rem;
}

.bmhm-policy-modal .bmhm-policy-modal__content ul,
.bmhm-policy-modal .bmhm-policy-modal__content ol {
	margin: 0 0 1rem;
	padding-left: 1.375rem;
}

.bmhm-policy-modal .bmhm-policy-modal__content li {
	margin: 0 0 0.375rem;
}

.bmhm-policy-modal .bmhm-policy-modal__content li::marker {
	color: var(--bmhm-primary, #69c186);
}

.bmhm-policy-modal .bmhm-policy-modal__content a {
	color: var(--bmhm-secondary, #017d7f);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

.bmhm-policy-modal .bmhm-policy-modal__content a:hover {
	color: var(--bmhm-secondary-dark, #015c5e);
}

.bmhm-policy-modal .bmhm-policy-modal__content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 600px) {
	.bmhm-policy-modal {
		width: calc(100% - 1rem);
		height: 90vh;
	}

	.bmhm-policy-modal__header,
	.bmhm-policy-modal .bmhm-policy-modal__status {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.bmhm-policy-modal__content {
		padding: 1.25rem 1rem 1.5rem;
	}
}

.bmhm-form__file-hint {
	font-size: 0.75rem;
	color: #777;
	margin-top: 0.375rem;
}

/* --- Photo preview --- */
.bmhm-form__current-photo {
	margin-bottom: 0.5rem;
}

.bmhm-form__current-photo img {
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bmhm-primary, #69c186);
}

/* --- Actions --- */
.bmhm-form__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.bmhm-form__submit,
a.bmhm-form__submit,
a.bmhm-form__submit:visited,
a.bmhm-form__submit:hover {
	padding: 0.75rem 2rem;
	background: var(--bmhm-secondary, #017d7f);
	color: var(--bmhm-base, #fff) !important;
	border: none;
	border-radius: 6px;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s;
}

.bmhm-form__submit:hover,
a.bmhm-form__submit:hover {
	background: var(--bmhm-secondary-dark, #015c5e);
}

.bmhm-form__submit:disabled {
	background: #ccc;
	color: #777;
	cursor: not-allowed;
}

.bmhm-form__submit--secondary {
	background: transparent !important;
	color: var(--bmhm-secondary, #017d7f) !important;
	border: 2px solid var(--bmhm-secondary, #017d7f);
}

.bmhm-form__submit--secondary:hover:not(:disabled) {
	background: var(--bmhm-secondary, #017d7f) !important;
	color: #fff !important;
}

.bmhm-form__submit--secondary:disabled {
	background: transparent !important;
	color: #aaa !important;
	border-color: #ddd;
	cursor: not-allowed;
}

.bmhm-form__submit--destructive {
	background: transparent !important;
	color: #b32d2e !important;
	border: 2px solid #b32d2e;
}

.bmhm-form__submit--destructive:hover:not(:disabled) {
	background: #b32d2e !important;
	color: #fff !important;
}

.bmhm-form__submit--destructive:disabled {
	background: transparent !important;
	color: #caa !important;
	border-color: #dcc;
	cursor: not-allowed;
}

.bmhm-form__cancel {
	color: #555;
	text-decoration: none;
	font-size: 0.875rem;
}

.bmhm-form__cancel:hover {
	color: var(--bmhm-secondary, #017d7f);
}

/* --- Footer (login link on register) --- */
.bmhm-form__footer {
	text-align: center;
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: #555;
}

.bmhm-form__footer a {
	color: var(--bmhm-secondary, #017d7f);
	font-weight: 600;
}

/* --- Dashboard --- */
.bmhm-dashboard__card {
	background: var(--bmhm-tertiary, #f6f6f6);
	border-radius: var(--bmhm-radius, 8px);
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.25rem;
}

.bmhm-dashboard__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.bmhm-dashboard__sidebar {
	order: -1;
}

@media (min-width: 900px) {
	.bmhm-form-container--dashboard {
		max-width: 760px;
	}

	.bmhm-dashboard__layout {
		grid-template-columns: minmax(0, 1fr) 220px;
		align-items: start;
	}

	.bmhm-dashboard__sidebar {
		order: 0;
		position: sticky;
		top: 1.5rem;
	}
}

.bmhm-dashboard__profile-card {
	background: var(--bmhm-tertiary, #f6f6f6);
	border-radius: var(--bmhm-radius, 8px);
	padding: 1.25rem;
	text-align: center;
}

.bmhm-dashboard__profile-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	margin: 0 auto 0.75rem;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--bmhm-primary, #69c186);
}

.bmhm-dashboard__profile-photo--placeholder {
	background: #e0f2f1;
	color: var(--bmhm-secondary, #017d7f);
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 2.25rem;
	font-weight: 700;
}

.bmhm-dashboard__profile-name {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.375rem;
}

.bmhm-dashboard__profile-note {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #555;
	margin: 0 0 0.75rem;
}

.bmhm-dashboard__profile-link {
	color: var(--bmhm-secondary, #017d7f);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.bmhm-dashboard__profile-link:hover {
	text-decoration: underline;
}

.bmhm-dashboard__card-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
}

.bmhm-dashboard__status-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.bmhm-dashboard__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 100px;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.bmhm-dashboard__approved {
	font-size: 0.8125rem;
	color: #0a7e0a;
	font-weight: 600;
}

.bmhm-dashboard__note {
	font-size: 0.8125rem;
	color: #555;
	font-style: italic;
}

.bmhm-dashboard__table {
	width: 100%;
	font-size: 0.875rem;
	border-collapse: collapse;
}

.bmhm-dashboard__table th {
	text-align: left;
	font-weight: 600;
	padding: 0.375rem 1rem 0.375rem 0;
	color: #555;
	width: 120px;
}

.bmhm-dashboard__table td {
	padding: 0.375rem 0;
}

.bmhm-dashboard__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.bmhm-dashboard__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bmhm-dashboard__links li {
	padding: 0.375rem 0;
}

.bmhm-dashboard__links a {
	color: var(--bmhm-secondary, #017d7f);
	font-weight: 500;
	text-decoration: none;
}

.bmhm-dashboard__links a:hover {
	text-decoration: underline;
}

/* --- Dashboard Status Banners --- */
.bmhm-dashboard__status-banner {
	border-radius: var(--bmhm-radius, 8px);
	padding: 1rem 1.25rem;
	margin-bottom: 0.5rem;
}

.bmhm-dashboard__status-banner .bmhm-dashboard__badge {
	margin-bottom: 0.5rem;
}

.bmhm-dashboard__status-banner p {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.bmhm-dashboard__status-banner--success {
	background: #e8f5e9;
	border-left: 4px solid #0a7e0a;
}

.bmhm-dashboard__status-banner--pending {
	background: #fff8e1;
	border-left: 4px solid #826e00;
}

.bmhm-dashboard__status-banner--error {
	background: #fbe9e7;
	border-left: 4px solid #b32d2e;
}

.bmhm-dashboard__status-banner--draft {
	background: #eceff1;
	border-left: 4px solid #37474f;
	color: #1d2327;
}

.bmhm-dashboard__rejection-reason {
	background: #fff;
	border: 1px solid #e0c3c3;
	border-radius: 6px;
	padding: 0.75rem 1rem;
	margin: 0.75rem 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.bmhm-dashboard__rejection-reason strong {
	display: block;
	color: #b32d2e;
	margin-bottom: 0.25rem;
}

/* --- Membership checkout page --- */
/* The introduction and the card authorization have to be read before a card
   is saved, so this page runs its body text at full size. The small print
   under the plan cards sets its own size inline and is unaffected. */
.bmhm-form-page--membership .bmhm-form__subtitle,
.bmhm-form-page--membership .bmhm-form__checkbox,
.bmhm-form-page--membership .bmhm-notice {
	font-size: 1rem;
	line-height: 1.6;
}

/* --- Plan Selection Cards (Tier 5 — membership checkout) --- */
.bmhm-plan-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
	.bmhm-plan-cards {
		grid-template-columns: 1fr;
	}
}

.bmhm-plan-card {
	border: 2px solid #ddd;
	border-radius: var(--bmhm-radius, 8px);
	padding: 1.25rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
	position: relative;
}

.bmhm-plan-card:hover {
	border-color: var(--bmhm-secondary, #017d7f);
}

.bmhm-plan-card.is-selected {
	border-color: var(--bmhm-secondary, #017d7f);
	box-shadow: 0 0 0 2px rgba(1, 125, 127, 0.2);
	background: #f0fafa;
}

.bmhm-plan-card__name {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.375rem;
}

.bmhm-plan-card__price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bmhm-secondary, #017d7f);
	margin: 0 0 0.25rem;
}

.bmhm-plan-card__interval {
	font-size: 0.8125rem;
	color: #777;
}

.bmhm-plan-card__badge {
	position: absolute;
	top: -0.625rem;
	right: 1rem;
	background: var(--bmhm-primary, #69c186);
	color: var(--bmhm-base, #fff);
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.125rem 0.5rem;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* --- Focus Visible (accessibility) --- */
.bmhm-form__input:focus-visible,
.bmhm-form__select:focus-visible,
.bmhm-form__textarea:focus-visible,
.bmhm-form__submit:focus-visible {
	outline: 2px solid var(--bmhm-secondary, #017d7f);
	outline-offset: 2px;
}

/* ==========================================================================
   Step Indicator — 3-step onboarding progress bar
   ========================================================================== */

.bmhm-steps {
	max-width: 600px;
	margin: 0 auto 2rem;
}

.bmhm-steps__list {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: step;
}

.bmhm-steps__item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	text-align: center;
}

/* Completed steps wrap the number+label in an <a> so users can navigate back.
 * The link inherits the column layout from its parent item; we add hover/focus
 * affordances so it's clear the step is interactive. Current and upcoming
 * steps render as plain spans (no link wrapper) and aren't affected. */
.bmhm-steps__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: inherit;
	text-decoration: none;
	color: inherit;
	border-radius: 8px;
	padding: 4px 8px;
	margin: -4px -8px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.bmhm-steps__link:hover,
.bmhm-steps__link:focus-visible {
	background-color: rgba(105, 193, 134, 0.12);
	outline: none;
}

.bmhm-steps__link:focus-visible {
	box-shadow: 0 0 0 2px var(--bmhm-primary, #69c186);
}

.bmhm-steps__link:active {
	transform: translateY(1px);
}

/* Connecting line between steps */
.bmhm-steps__item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 14px;
	left: calc(50% + 18px);
	width: calc(100% - 36px);
	height: 2px;
	background: #ddd;
}

.bmhm-steps__item--completed:not(:last-child)::after {
	background: var(--bmhm-primary, #69c186);
}

/* Step number circle */
.bmhm-steps__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 700;
	margin-bottom: 0.375rem;
	position: relative;
	z-index: 1;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

/* States */
.bmhm-steps__item--upcoming .bmhm-steps__number {
	background: var(--bmhm-base, #fff);
	color: #999;
	border: 2px solid #ddd;
}

.bmhm-steps__item--current .bmhm-steps__number {
	background: var(--bmhm-secondary, #017d7f);
	color: var(--bmhm-base, #fff);
	border: 2px solid var(--bmhm-secondary, #017d7f);
}

.bmhm-steps__item--completed .bmhm-steps__number {
	background: var(--bmhm-primary, #69c186);
	color: var(--bmhm-base, #fff);
	border: 2px solid var(--bmhm-primary, #69c186);
}

/* Step label */
.bmhm-steps__label {
	font-size: 0.75rem;
	font-weight: 500;
	color: #999;
}

.bmhm-steps__item--current .bmhm-steps__label {
	color: var(--bmhm-secondary, #017d7f);
	font-weight: 700;
}

.bmhm-steps__item--completed .bmhm-steps__label {
	color: #555;
}

@media (max-width: 480px) {
	.bmhm-steps__label {
		font-size: 0.625rem;
	}

	.bmhm-steps__number {
		width: 26px;
		height: 26px;
		font-size: 0.75rem;
	}

	.bmhm-steps__item:not(:last-child)::after {
		top: 12px;
		left: calc(50% + 15px);
		width: calc(100% - 30px);
	}
}

/* ==========================================================================
   "For Providers" Marketing Landing Page
   ========================================================================== */

.bmhm-landing {
	font-family: var(--bmhm-font-body, 'Cabin', sans-serif);
	color: var(--bmhm-contrast, #000);
	line-height: 1.6;
	/* Break out of theme content container — same technique as directory */
	max-width: none !important;
	width: 100% !important;
}

.entry-content .bmhm-landing,
.wp-block-post-content .bmhm-landing,
.is-layout-constrained .bmhm-landing {
	max-width: none !important;
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
	margin-top: 0 !important;
	overflow-x: hidden;
}

/* ── Hero ── */
.bmhm-landing__hero {
	background: var(--bmhm-secondary, #017d7f);
	color: var(--bmhm-base, #fff);
	padding: 4rem 2rem;
	text-align: center;
}

.bmhm-landing__hero-inner {
	max-width: 700px;
	margin: 0 auto;
}

.bmhm-landing__hero-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 2.25rem;
	font-weight: 700;
	margin: 0 0 1rem;
	line-height: 1.25;
	color: var(--bmhm-base, #fff);
}

.bmhm-landing__hero-subtitle {
	font-size: 1.125rem;
	margin: 0 0 2rem;
	opacity: 0.92;
	line-height: 1.6;
}

.bmhm-landing__hero-proof {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	opacity: 0.8;
}

/* ── Buttons ── */
.bmhm-landing__btn {
	display: inline-block;
	padding: 0.875rem 2.5rem;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
	cursor: pointer;
	border: none;
}

.bmhm-landing__btn--primary {
	background: var(--bmhm-base, #fff);
	color: var(--bmhm-secondary, #017d7f);
}

.bmhm-landing__btn--primary:hover {
	background: #e8f5f5;
	transform: translateY(-1px);
}

/* ── Sections ── */
.bmhm-landing__section {
	padding: 3.5rem 1.5rem;
	max-width: 900px;
	margin: 0 auto;
}

.bmhm-landing__section--alt {
	background: var(--bmhm-tertiary, #f6f6f6);
	max-width: none;
}

.bmhm-landing__section--alt > * {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.bmhm-landing__section-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.625rem;
	font-weight: 700;
	text-align: center;
	margin: 0 0 0.5rem;
}

.bmhm-landing__section-subtitle {
	text-align: center;
	color: #555;
	margin: 0 0 2rem;
	font-size: 0.9375rem;
}

/* ── Benefits Grid ── */
.bmhm-landing__benefits {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.bmhm-landing__benefit {
	text-align: center;
	padding: 1.5rem 1rem;
}

.bmhm-landing__benefit-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.bmhm-landing__benefit-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
}

.bmhm-landing__benefit-text {
	font-size: 0.875rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 700px) {
	.bmhm-landing__benefits {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

/* ── How It Works Steps ── */
.bmhm-landing__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: 2rem;
}

.bmhm-landing__step {
	text-align: center;
}

.bmhm-landing__step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bmhm-secondary, #017d7f);
	color: var(--bmhm-base, #fff);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.bmhm-landing__step-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.375rem;
}

.bmhm-landing__step-text {
	font-size: 0.875rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 700px) {
	.bmhm-landing__steps {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* ── Pricing Cards ── */
.bmhm-landing__pricing {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	max-width: 500px;
	margin: 2rem auto 0;
}

.bmhm-landing__price-card {
	border: 2px solid #ddd;
	border-radius: var(--bmhm-radius, 8px);
	padding: 1.5rem;
	text-align: center;
	background: var(--bmhm-base, #fff);
	position: relative;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bmhm-landing__price-card:hover {
	border-color: var(--bmhm-secondary, #017d7f);
	box-shadow: var(--bmhm-shadow-hover, 0 4px 16px rgba(0, 0, 0, 0.12));
}

.bmhm-landing__price-badge {
	position: absolute;
	top: -0.625rem;
	right: 1rem;
	background: var(--bmhm-primary, #69c186);
	color: var(--bmhm-base, #fff);
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 0.125rem 0.5rem;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bmhm-landing__price-name {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.375rem;
}

.bmhm-landing__price-amount {
	font-size: 2rem;
	font-weight: 700;
	color: var(--bmhm-secondary, #017d7f);
}

.bmhm-landing__price-interval {
	font-size: 0.8125rem;
	color: #777;
	margin-bottom: 0.5rem;
}

.bmhm-landing__price-trial {
	font-size: 0.8125rem;
	color: #555;
	margin: 0;
}

@media (max-width: 500px) {
	.bmhm-landing__pricing {
		grid-template-columns: 1fr;
	}
}

/* ── Testimonial ── */
.bmhm-landing__testimonial {
	text-align: center;
	max-width: 600px;
}

.bmhm-landing__quote {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
	color: #333;
	margin: 0 0 1rem;
	border: none;
	padding: 0;
}

.bmhm-landing__quote-author {
	font-size: 0.875rem;
	color: #777;
	margin: 0;
}

.bmhm-landing__community-note {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.125rem;
	line-height: 1.7;
	color: #333;
	margin: 0;
}

/* ── Bottom CTA ── */
.bmhm-landing__cta {
	background: var(--bmhm-secondary, #017d7f);
	color: var(--bmhm-base, #fff);
	text-align: center;
	padding: 3.5rem 1.5rem;
}

.bmhm-landing__cta-title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 1.625rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--bmhm-base, #fff);
}

.bmhm-landing__cta-subtitle {
	font-size: 1rem;
	margin: 0 0 1.5rem;
	opacity: 0.92;
}

.bmhm-landing__cta-login {
	margin-top: 1rem;
	font-size: 0.875rem;
	opacity: 0.85;
}

.bmhm-landing__cta-login a {
	color: var(--bmhm-base, #fff);
	font-weight: 600;
	text-decoration: underline;
}

/* ── Hero responsive ── */
@media (max-width: 600px) {
	.bmhm-landing__hero {
		padding: 2.5rem 1rem;
	}

	.bmhm-landing__hero-title {
		font-size: 1.625rem;
	}

	.bmhm-landing__hero-subtitle {
		font-size: 1rem;
	}

	.bmhm-landing__section {
		padding: 2.5rem 1rem;
	}

	.bmhm-landing__section-title {
		font-size: 1.375rem;
	}

	.bmhm-landing__cta {
		padding: 2.5rem 1rem;
	}
}

/* --- Multi-language picker (provider form) ---
 * Each row pairs a language checkbox with an inline proficiency dropdown.
 * Layout: checkbox + label on the left, proficiency select on the right.
 */
.bmhm-form__language-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem 1rem;
	margin: 0.5rem 0;
}

@media (min-width: 720px) {
	.bmhm-form__language-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.bmhm-form__language-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	justify-content: space-between;
}

.bmhm-form__language-row .bmhm-form__checkbox {
	flex: 1 1 auto;
	margin: 0;
}

.bmhm-form__select--inline {
	flex: 0 0 auto;
	width: auto;
	min-width: 11rem;
	padding: 0.35rem 0.5rem;
	font-size: 0.875rem;
}

.bmhm-form__select--inline:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* ── Eligibility note (register + profile forms) ── */
.bmhm-form__eligibility {
	background: #f0f7f7;
	border-left: 4px solid var(--bmhm-secondary, #017d7f);
	border-radius: 0 8px 8px 0;
	padding: 0.9rem 1.15rem;
	margin: 0 0 1.5rem;
}

.bmhm-form__eligibility p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #374151;
}

/* ── Crisis Resources page ── */
.bmhm-crisis {
	padding: 1.5rem 1rem 3rem;
}

.bmhm-crisis__inner {
	max-width: 760px;
	margin: 0 auto;
}

.bmhm-crisis__alert {
	background: #fdecef;
	border-left: 4px solid var(--bmhm-red, #ec3748);
	border-radius: 0 8px 8px 0;
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
}

.bmhm-crisis__alert p {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.6;
	color: #8a1c2b;
}

.bmhm-crisis__header {
	margin-bottom: 2rem;
}

.bmhm-crisis__title {
	font-family: var(--bmhm-font-heading, 'Libre Baskerville', serif);
	font-size: 2rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 0.75rem;
}

.bmhm-crisis__intro {
	font-size: 1rem;
	line-height: 1.7;
	color: #374151;
	margin: 0;
}

.bmhm-crisis__group {
	margin-bottom: 2rem;
}

.bmhm-crisis__group-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: #017d7f;
	margin: 0 0 0.85rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #e0f2f1;
}

.bmhm-crisis__paragraph {
	font-size: 1rem;
	line-height: 1.7;
	color: #374151;
	margin: 0 0 0.85rem;
}

.bmhm-crisis__paragraph:last-child {
	margin-bottom: 0;
}

.bmhm-crisis__link {
	font-weight: 700;
	color: #017d7f;
	text-decoration: none;
}

.bmhm-crisis__link:hover {
	text-decoration: underline;
}

.bmhm-crisis__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.bmhm-crisis__resource {
	background: #fff;
	border: 1px solid #e6ebef;
	border-radius: 10px;
	padding: 1rem 1.15rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bmhm-crisis__resource-name {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: #172033;
}

.bmhm-crisis__resource-contact {
	display: inline-block;
	margin: 0.25rem 0;
	font-weight: 700;
	color: #017d7f;
	text-decoration: none;
	font-size: 1.0625rem;
}

.bmhm-crisis__resource-contact:hover {
	text-decoration: underline;
}

.bmhm-crisis__resource-desc {
	display: block;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #555;
}
