/* Healing Hope - styling for the plugin screens that core's wp-login.php carries (login, join, events, directory,
   Healing Wall, contact, member search, profile, kindness). The theme wraps them in the shared masthead, <main>
   and footer (inc/shell.php); main.css supplies the shell, this file only styles the screen content.
   Tokens come from main.css (loaded first), with fallbacks for the unlikely case it is missing. */
body.login { background: var(--hh-bg, #b4b4b3); color: var(--hh-text, #222); font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; margin: 0; }
/* The white 950 px sheet shared with theme pages. */
.hh-shell__main {
	background: var(--hh-surface); margin-inline: auto; max-width: var(--wp--custom--layout--sheet-width, 59.375rem); padding: var(--hh-space-l, 2.5rem) var(--hh-gutter, 1.25rem); width: 100%;
}
/* Core's logo heading is removed in inc/shell.php (the masthead carries the logo); core's screen-reader h1 is the visible screen title. */
.hh-shell__main > h1.screen-reader-text {
	clip: auto; clip-path: none; text-align: start; font-size: var(--wp--preset--font-size--x-large, 1.75rem); height: auto; line-height: 1.2; margin: 0 auto 1rem;
	overflow: visible; padding: 0 0 .4rem; position: static; width: auto; color: var(--hh-primary); border-block-end: 3px solid var(--hh-primary);
}
/* Forms stay compact and centred; listing screens use the whole sheet. */
.hh-shell__main #login { margin: 0 auto; max-width: 100%; padding: 0; width: 26rem; }
.hh-shell__main > h1.screen-reader-text { max-width: 26rem; }
body.login-action-hh_events #login, body.login-action-hh_directory #login, body.login-action-hh_wall #login,
body.login-action-hh_member_search #login, body.login-action-hh_profile #login, body.login-action-hh_directory_listing #login { width: 100%; }
body.login-action-hh_events .hh-shell__main > h1.screen-reader-text, body.login-action-hh_directory .hh-shell__main > h1.screen-reader-text, body.login-action-hh_wall .hh-shell__main > h1.screen-reader-text,
body.login-action-hh_member_search .hh-shell__main > h1.screen-reader-text, body.login-action-hh_profile .hh-shell__main > h1.screen-reader-text, body.login-action-hh_directory_listing .hh-shell__main > h1.screen-reader-text { max-width: none; margin-inline: 0; }
.hh-shell__main a:focus-visible, .hh-shell__main .button:focus-visible, .hh-shell__main input:focus-visible, .hh-shell__main select:focus-visible, .hh-shell__main textarea:focus-visible {
	box-shadow: none; outline: 3px solid var(--hh-primary); outline-offset: 2px;
}
.hh-shell__main form { background: var(--hh-surface); border: 1px solid var(--hh-border); border-radius: .625rem; box-shadow: 0 1px 2px rgba(51, 48, 44, .08); margin-top: 1rem; padding: 1.5rem; }
.hh-shell__main label { color: var(--hh-text); font-size: 1rem; font-weight: 600; }
.hh-shell__main form .input, .hh-shell__main input[type="text"], .hh-shell__main input[type="password"], .hh-shell__main input[type="email"], .hh-shell__main input[type="search"], .hh-shell__main input[type="url"], .hh-shell__main select, .hh-shell__main textarea {
	background: var(--hh-surface); border: 1.5px solid var(--hh-control-border); border-radius: .375rem; box-shadow: none; color: var(--hh-text);
	font-size: 1rem; min-height: 2.75rem; padding: .5rem .75rem; width: 100%;
}
.hh-shell__main textarea { min-height: 8rem; }
.hh-shell__main select, .hh-shell__main textarea { display: block; }
.hh-shell__main button:not(.button):not(.wp-hide-pw) { background: transparent; border: 1.5px solid var(--hh-primary); border-radius: var(--hh-radius-sm, .375rem); color: var(--hh-primary); cursor: pointer; font: inherit; font-weight: 600; min-height: 2.75rem; padding: .35rem 1.25rem; }
.hh-shell__main button:not(.button):not(.wp-hide-pw):hover { background: var(--hh-surface-alt); }
.hh-shell__main button:focus-visible { outline: 3px solid var(--hh-primary); outline-offset: 2px; }
.hh-shell__main input[type="checkbox"], .hh-shell__main input[type="radio"] { accent-color: var(--hh-primary); border-color: var(--hh-control-border); }
.hh-shell__main .button, .hh-shell__main .button-primary, .hh-shell__main input[type="submit"] {
	background: var(--hh-primary); border: 1.5px solid var(--hh-primary); border-radius: var(--hh-radius-sm, .375rem); box-shadow: none; color: #fff; font-weight: 600; min-height: 2.75rem; padding: .35rem 1.5rem; text-shadow: none;
}
.hh-shell__main .button:hover, .hh-shell__main .button-primary:hover, .hh-shell__main input[type="submit"]:hover { background: var(--hh-primary-hover); border-color: var(--hh-primary-hover); color: #fff; }
.hh-shell__main a, .hh-shell__main #nav a, .hh-shell__main #backtoblog a { color: var(--hh-primary); text-decoration: underline; text-underline-offset: .18em; }
.hh-shell__main a:hover, .hh-shell__main #nav a:hover, .hh-shell__main #backtoblog a:hover { color: var(--hh-primary-hover); }
.hh-shell__main #nav, .hh-shell__main #backtoblog { font-size: 1rem; padding: 0; }
.hh-shell__main #nav a, .hh-shell__main #backtoblog a { align-items: center; display: inline-flex; min-height: 2.75rem; }
.hh-shell__main .message, .hh-shell__main .success, .hh-shell__main #login_error, .hh-shell__main .notice {
	background: var(--hh-surface-alt); border: 0; border-inline-start: 4px solid var(--hh-primary); border-radius: .375rem; box-shadow: none; color: var(--hh-text); padding: 1rem;
}
.hh-shell__main #login_error, .hh-shell__main .notice-error { border-inline-start-color: var(--hh-error); }
.hh-shell__main #login_error::before { content: "Error: "; font-weight: 700; }
.hh-shell__main .hh-field-error { color: var(--hh-error); display: block; margin-block: -.75rem 1.25rem; }
.hh-shell__main [aria-invalid="true"] { border-color: var(--hh-error); }
.hh-shell__main .privacy-policy-page-link { margin: 1.5rem 0 0; }
/* Plugin listing blocks */
.hh-shell__main .hh-event, .hh-shell__main .hh-listing, .hh-shell__main .hh-wall-message, .hh-shell__main #login > div[class^="hh-"] {
	background: var(--hh-surface); border: 1px solid var(--hh-border); border-radius: .625rem; margin-block: 0 1rem; padding: 1rem 1.25rem;
}
.hh-shell__main .hh-event h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.hh-shell__main #login p { overflow-wrap: anywhere; }
.hh-shell__main .language-switcher { display: none; }
.hh-shell__main #backtoblog { display: none; } /* the masthead already links home */
@media (max-width: 30em) { .hh-shell__main form { padding: 1.25rem 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Core's login stylesheet targets every `.login form`, label and input; keep the shared masthead looking like it does on theme pages. */
.hh-shell .site-header form { background: none; border: 0; box-shadow: none; margin: 0; padding: 0; }
.hh-shell .site-header .search-form { gap: .5rem; }
.hh-shell .site-header input[type="search"] { font-size: 1rem; line-height: 1.5; padding: .5rem .75rem; width: 100%; }
.hh-shell .site-header .search-submit { font-size: 1rem; padding: .6rem 1.25rem; }
.hh-shell .site-header label { font-size: 1rem; margin: 0; }

/* FB-026: practitioner-type badge (legacy icon) beside the type label. */
.hh-type-badge { height: auto; margin-left: .4rem; vertical-align: middle; }

/* Directory screen: intro with the join button, and the "More filters" disclosure (native <details>, no script). */
.hh-shell__main .hh-directory-intro { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-block: 1rem 0; }
.hh-shell__main .hh-directory-intro p { margin: 0; }
.hh-shell__main .hh-directory-join { align-items: center; display: inline-flex; justify-content: center; text-decoration: none; }
.hh-shell__main .hh-more-filters { margin-block: 0 1rem; }
.hh-shell__main .hh-more-filters summary { align-items: center; color: var(--hh-primary); cursor: pointer; display: flex; font-weight: 600; min-height: 2.75rem; }
.hh-shell__main .hh-more-filters summary:focus-visible { outline: 3px solid var(--hh-primary); outline-offset: 2px; }
.hh-shell__main .hh-more-filters[open] summary { margin-block-end: .5rem; }
.hh-shell__main .hh-empty-action a { align-items: center; display: inline-flex; min-height: 2.75rem; }
@media (max-width: 30em) { .hh-shell__main .hh-directory-join { width: 100%; } }

/* Directory listings (21 Oct 2026 redesign): a classic card with a small photo column, grouped facts and a quiet action row.
   The photo is the listing's own thumbnail; without one a neutral outline drawn from the theme's "users" icon stands in. */
.hh-shell__main .hh-listing {
	background: var(--hh-surface); border: 1px solid var(--hh-border); border-inline-start: 4px solid var(--hh-primary); border-radius: var(--hh-radius-md, .625rem);
	box-shadow: 0 1px 2px rgb(51 48 44 / .08); display: grid; gap: 0 1.25rem; grid-template-columns: 5.5rem minmax(0, 1fr); margin-block: 0 1rem; padding: 1.1rem 1.25rem;
}
.hh-shell__main .hh-listing:hover, .hh-shell__main .hh-listing:focus-within { border-color: var(--hh-primary); box-shadow: 0 2px 8px rgb(0 0 0 / .1); }
.hh-listing__media { align-self: start; }
.hh-listing__img, .hh-listing__avatar { aspect-ratio: 1; border: 1px solid var(--hh-border); border-radius: var(--hh-radius-sm, .375rem); display: block; height: auto; object-fit: cover; width: 5.5rem; }
.hh-listing__avatar { background: var(--hh-surface-alt); position: relative; }
.hh-listing__avatar::before {
	background: var(--hh-muted); content: ""; inset: 22%; mask: url("../img/icons/users.svg") center / contain no-repeat; position: absolute;
	-webkit-mask: url("../img/icons/users.svg") center / contain no-repeat;
}
.hh-listing__body { min-width: 0; }
.hh-shell__main .hh-listing__headline { color: var(--hh-primary); font-size: 1.2rem; line-height: 1.25; margin: 0 0 .35rem; overflow-wrap: anywhere; }
.hh-shell__main .hh-listing p { margin: 0 0 .5rem; }
.hh-shell__main .hh-listing-type { color: var(--hh-muted); font-size: .9rem; }
.hh-shell__main .hh-listing__name { font-size: 1.05rem; }
.hh-listing__facts { border-block: 1px solid var(--hh-border); margin: .5rem 0; padding: .5rem 0 .1rem; }
.hh-listing__facts > div { display: grid; gap: .1rem 1rem; grid-template-columns: 6.5rem minmax(0, 1fr); margin-block-end: .4rem; }
.hh-listing__facts dt { color: var(--hh-muted); font-size: .9rem; font-weight: 700; }
.hh-listing__facts dd { margin: 0; overflow-wrap: anywhere; }
.hh-shell__main .hh-listing__about { line-height: 1.55; }
.hh-shell__main .hh-listing__offer { background: var(--hh-surface-alt); border-radius: var(--hh-radius-sm, .375rem); padding: .4rem .7rem; }
.hh-listing__offer-label { font-weight: 700; }
.hh-shell__main .hh-listing__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: .25rem 0 0; }
.hh-shell__main .hh-listing__actions a { align-items: center; display: inline-flex; font-weight: 600; min-height: 2.75rem; }
.hh-shell__main .hh-empty { background: var(--hh-surface-alt); border-inline-start: 4px solid var(--hh-primary); border-radius: var(--hh-radius-sm, .375rem); margin-block: 1rem; padding: 1rem 1.25rem; }
.hh-shell__main .hh-empty p { margin: 0 0 .5rem; }
.hh-shell__main .hh-empty-action { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
/* Search panel: a tidy two-column grid of filters on wide screens. */
body.login-action-hh_directory .hh-shell__main form[name="directoryform"] { background: var(--hh-surface-alt); border-color: var(--hh-border); margin-block: 1rem 1.5rem; }
body.login-action-hh_directory .hh-shell__main .hh-directory-intro { margin-block: .5rem 0; }
@media (min-width: 40em) {
	body.login-action-hh_directory form[name="directoryform"] { column-gap: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.login-action-hh_directory form[name="directoryform"] > p { margin-block: 0 .75rem; }
	body.login-action-hh_directory form[name="directoryform"] > .hh-more-filters, body.login-action-hh_directory form[name="directoryform"] > .submit, body.login-action-hh_directory form[name="directoryform"] > .hh-field-error { grid-column: 1 / -1; }
}
@media (max-width: 30em) {
	.hh-shell__main .hh-listing { grid-template-columns: 4rem minmax(0, 1fr); padding: 1rem; }
	.hh-listing__img, .hh-listing__avatar { width: 4rem; }
	.hh-listing__facts > div { grid-template-columns: 1fr; }
}

/* Directory category index (Doctor, Therapist, Healer, Product): four columns on wide screens, fewer as the width shrinks. */
.hh-category-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.hh-category-index__col h2 { font-size: 1.1rem; margin: 0 0 .4rem; color: var(--hh-green, #22511b); }
.hh-category-index ul { list-style: none; margin: 0; padding: 0; }
.hh-category-index li { overflow-wrap: anywhere; padding: .15rem 0; }
.hh-category-index__empty { color: var(--hh-muted); margin: 0; }

/* Join the Healing Directory: numbered steps stay inside the page gutter; the account form sits under its own heading. */
body.login-action-hh_directory_listing .hh-join-steps { margin-block: 1rem; padding-inline-start: 1.5rem; }
body.login-action-hh_directory_listing .hh-shell__main h2 { font-size: 1.35rem; margin-block: 1.25rem .5rem; }

/* Local CAPTCHA question (no third party). */
.hh-shell__main .hh-captcha__hint { font-weight: 400; font-size: .9em; color: var(--hh-muted, inherit); }
