/* ==========================================================================
   THE ROSE GARDEN: mid-century skin (child theme rose-garden.css, enqueued in functions.php)
   Colors come from Elementor Global Colors, so edit the palette there.
   Sections: 1 tokens, 2 base, 3 focus, 4 header, 5 title bar, 6 buttons,
   7 forms, 8 home blocks, 9 footer, 10 HOA Web + plugin skins, 11 responsive
   ========================================================================== */

/* 1. TOKENS */
body {
  --rg-rose: var(--e-global-color-rg0rose, #DA5A9E);
  --rg-deep: var(--e-global-color-primary, #B4337A);
  --rg-blush: var(--e-global-color-rg0blsh, #F9E4EE);
  --rg-ink: var(--e-global-color-rg0ink0, #2B2226);
  --rg-text: var(--e-global-color-text, #4A4044);
  --rg-muted: var(--e-global-color-secondary, #6B5F64);
  --rg-sand: var(--e-global-color-rg0sand, #FBF6EF);
  --rg-line: var(--e-global-color-rg0line, #E9E0D4);
  --rg-pool: var(--e-global-color-accent, #17757C);
  --rg-sun: var(--e-global-color-rg0sun0, #E8B04A);
  --rg-head: "Jost", "Century Gothic", "Futura", sans-serif;
}

/* 2. BASE */
body, #wrap, #main, #outer-wrap { background-color: #FFF}
body h1, body h2, body h3, body h4, body h5, body h6 { font-family: var(--rg-head); color: var(--rg-ink); }
#main .entry-content a:not([class*="button"]):not([class*="btn"]):not(.rg-card),
#main .elementor-widget-text-editor a:not(.rg-card),
#main .hwf-answer a, .mwx-login-links a {
  color: var(--rg-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
#main .entry-content a:not([class*="button"]):not([class*="btn"]):not(.rg-card):hover,
#main .elementor-widget-text-editor a:not(.rg-card):hover { color: var(--rg-ink); text-decoration-thickness: 2px; }
body ::selection { background: var(--rg-rose); color: var(--rg-ink); }
body img { max-width: 100%; height: auto; }
#main .single-page-article, #main .entry-content { font-size: 1em; }
#main #content-wrap { padding-top: 48px; padding-bottom: 64px; }
body.elementor-template-full-width #main #content-wrap { padding-top: 0; padding-bottom: 0; }

/* 3. KEYBOARD FOCUS (WCAG 2.4.7 / 2.4.11) */
body a:focus-visible, body button:focus-visible, body input:focus-visible, body select:focus-visible,
body textarea:focus-visible, body summary:focus-visible, body [tabindex]:focus-visible, body [role="button"]:focus-visible {
  outline: 3px solid var(--rg-ink) !important; outline-offset: 3px !important; box-shadow: 0 0 0 6px #FFFFFF !important; border-radius: 2px;
}
.elementor-location-footer a:focus-visible, .elementor-location-footer button:focus-visible,
.rg-hero-panel a:focus-visible, #scroll-top:focus-visible {
  outline-color: #FFFFFF !important; box-shadow: 0 0 0 6px var(--rg-ink) !important;
}
body a.skip-link:focus { background: var(--rg-ink); color: #FFFFFF; padding: 14px 20px; font-family: var(--rg-head); font-weight: 600; z-index: 100000; left: 8px; top: 8px; clip: auto; clip-path: none; width: auto; height: auto; }
@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 4. HEADER + NAVIGATION */
#site-header { background-color: #FFFFFF; border-bottom: 1px solid var(--rg-line); }
#site-header.fixed-scroll, .is-sticky #site-header, #site-header-sticky-wrapper.is-sticky #site-header { opacity: 1 !important; background-color: #FFFFFF !important; }
#site-header #site-logo #site-logo-inner a img { max-height: 48px; width: auto; }
#site-navigation-wrap .dropdown-menu > li > a.menu-link {
  font-family: var(--rg-head); font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rg-ink); padding: 0 14px;
}
#site-navigation-wrap .dropdown-menu > li > a.menu-link:hover,
#site-navigation-wrap .dropdown-menu > li.sfHover > a.menu-link { color: var(--rg-deep); }
#site-navigation-wrap .dropdown-menu > li > a.menu-link > .text-wrap { padding: 6px 0; border-bottom: 3px solid transparent; }
#site-navigation-wrap .dropdown-menu > li.current-menu-item > a.menu-link > .text-wrap,
#site-navigation-wrap .dropdown-menu > li.current-menu-ancestor > a.menu-link > .text-wrap,
#site-navigation-wrap .dropdown-menu > li > a.menu-link:hover > .text-wrap { border-bottom-color: var(--rg-rose); }
#site-navigation-wrap .dropdown-menu > li.current-menu-item > a.menu-link,
#site-navigation-wrap .dropdown-menu > li.current-menu-ancestor > a.menu-link { color: var(--rg-ink); }
#site-navigation-wrap .dropdown-menu ul.sub-menu { border-top: 4px solid var(--rg-rose); border-radius: 0; min-width: 240px; box-shadow: 0 12px 28px rgba(43, 34, 38, 0.14); }
#site-navigation-wrap .dropdown-menu ul.sub-menu li a.menu-link {
  font-family: var(--rg-head); font-size: 15px; letter-spacing: 0.02em; text-transform: none; color: var(--rg-ink); padding: 11px 18px; line-height: 1.35;
}
#site-navigation-wrap .dropdown-menu ul.sub-menu li a.menu-link:hover,
#site-navigation-wrap .dropdown-menu ul.sub-menu li.current-menu-item > a.menu-link { background: var(--rg-blush); color: var(--rg-ink); }
.elementor-kit-36 #site-header button.site-search-toggle {
  background: transparent; color: var(--rg-ink); min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 2px; font-size: 16px;
}
.elementor-kit-36 #site-header button.site-search-toggle:hover { background: var(--rg-blush); color: var(--rg-ink); }
/* admin / community editor quick menu */
.elementor-kit-36 .hamburger-button { background: #FFFFFF; color: var(--rg-ink); border: 1px solid var(--rg-line); border-radius: 2px; width: 44px; height: 44px; padding: 0; }
.elementor-kit-36 .hamburger-button:hover { background: var(--rg-blush); }
.hamburger-button .fas { color: var(--rg-ink); font-size: 20px; }
.top-right-menu-container { border-radius: 0; border-top: 4px solid var(--rg-rose); }
.top-right-menu-container ul li a { font-family: var(--rg-head); font-size: 16px; color: var(--rg-ink); }
.top-right-menu-container ul li a:hover { background: var(--rg-blush); }
/* mobile menu trigger + full screen menu */
.elementor-kit-36 #site-header .oceanwp-mobile-menu-icon .mobile-menu { background: var(--rg-deep); color: #FFFFFF; width: 48px; height: 48px; min-height: 0; padding: 0 !important; line-height: 1 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; border: 0; }
.elementor-kit-36 #site-header .oceanwp-mobile-menu-icon .mobile-menu:hover { background: var(--rg-ink); }
#site-header .oceanwp-mobile-menu-icon .mobile-menu .fa-bars:before, #site-header .oceanwp-mobile-menu-icon .mobile-menu i { color: #FFFFFF; filter: none; font-size: 22px; }
#site-header .oceanwp-mobile-menu-icon .mobile-menu .oceanwp-text { display: none; }
#mobile-fullscreen { background: var(--rg-ink); }
#mobile-fullscreen ul li a { font-family: var(--rg-head); letter-spacing: 0.04em; }
#mobile-fullscreen ul > li > a { font-size: 20px; padding: 10px 0; }
#mobile-fullscreen ul ul li a { font-size: 17px; }
#mobile-fullscreen label, #mobile-fullscreen input, #mobile-fullscreen form i { color: #FFFFFF; }
#mobile-fullscreen input { border-color: #FFFFFF; font-size: 18px; }
#mobile-fullscreen ul > li > a:hover, #mobile-fullscreen ul li.current-menu-item > a { color: #F2A3C9; }
#scroll-top { background: var(--rg-ink); color: #FFFFFF; border-radius: 2px; width: 48px; height: 48px; line-height: 48px; }
#scroll-top:hover { background: var(--rg-deep); }

/* 5. PAGE TITLE BAR */
.page-header { background: #FFFFFF; padding: 44px 0 0; border: 0; position: relative; }
.page-header::after {
  content: ""; display: block; height: 22px; margin-top: 36px; background-color: var(--rg-rose);
  background-image: radial-gradient(circle at 11px 11px, #FBF6EF 0, #FBF6EF 4.5px, transparent 5px), radial-gradient(circle at 0 11px, #FBF6EF 0, #FBF6EF 2.5px, transparent 3px);
  background-size: 22px 22px;
}
body .page-header h1.page-header-title { font-family: var(--rg-head); font-weight: 600; font-size: 42px; line-height: 1.12; color: var(--rg-ink); letter-spacing: 0; }
.page-header .page-subheading { font-size: 18px; color: var(--rg-text); margin-top: 8px; }
.page-header .site-breadcrumbs { font-size: 15px; color: var(--rg-muted); }
.page-header .site-breadcrumbs a { color: var(--rg-deep); text-decoration: underline; text-underline-offset: 3px; }
.page-header .site-breadcrumbs a:hover { color: var(--rg-ink); }
body.home .page-header { display: none; }

/* 6. BUTTONS: everything that should look like the primary button */
.elementor-kit-36 .elementor-button, .elementor-kit-36 input[type="submit"], .elementor-kit-36 .gform_button,
.elementor-kit-36 .w3eden .btn-primary, .elementor-kit-36 .w3eden .btn-secondary, .elementor-kit-36 .w3eden .btn-info, .elementor-kit-36 .w3eden .btn-success,
.elementor-kit-36 .wp-block-search__button, .elementor-kit-36 .mwx-login-wrap #mwx-loginform input[type="submit"], .elementor-kit-36 .add-user-button,
.elementor-kit-36 a.button, .elementor-kit-36 .theme-button {
  background-color: var(--rg-deep) !important; border-color: var(--rg-deep) !important; color: #FFFFFF !important;
  font-family: var(--rg-head) !important; font-weight: 600 !important; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px !important; text-decoration: none !important;
  box-shadow: none !important; transition: background-color 0.15s ease;
}
.elementor-kit-36 .elementor-button:hover, .elementor-kit-36 .elementor-button:focus, .elementor-kit-36 input[type="submit"]:hover, .elementor-kit-36 .gform_button:hover,
.elementor-kit-36 .w3eden .btn-primary:hover, .elementor-kit-36 .w3eden .btn-secondary:hover, .elementor-kit-36 .w3eden .btn-info:hover, .elementor-kit-36 .w3eden .btn-success:hover,
.elementor-kit-36 .wp-block-search__button:hover, .elementor-kit-36 .mwx-login-wrap #mwx-loginform input[type="submit"]:hover,
.elementor-kit-36 a.button:hover, .elementor-kit-36 .theme-button:hover {
  background-color: var(--rg-ink) !important; border-color: var(--rg-ink) !important; color: #FFFFFF !important;
}
.elementor-kit-36 .elementor-button, .elementor-kit-36 .gform_button, .elementor-kit-36 input[type="submit"] { min-height: 48px; padding: 14px 26px; font-size: 15px !important; line-height: 1.2 !important; }
.elementor-kit-36 .w3eden .btn { font-size: 13px !important; min-height: 40px; padding: 10px 14px; }
/* hero + dark-background variants */
/* one step lighter than the logo rose so ink text clears 4.5:1 */
.elementor-kit-36 .rg-btn-rose .elementor-button { background-color: #E471AD !important; border-color: #E471AD !important; color: var(--rg-ink) !important; }
.elementor-kit-36 .rg-btn-rose .elementor-button:hover { background-color: #FFFFFF !important; border-color: #FFFFFF !important; color: var(--rg-ink) !important; }
.elementor-kit-36 .rg-btn-ghost .elementor-button { background-color: transparent !important; border: 2px solid #FFFFFF !important; color: #FFFFFF !important; padding: 12px 24px; }
.elementor-kit-36 .rg-btn-ghost .elementor-button:hover { background-color: #FFFFFF !important; color: var(--rg-ink) !important; }
/* text-style button (footer "Read more") */
.elementor-kit-36 .elementor-location-footer .elementor-element-305487f0 .elementor-button { background: transparent !important; border: 0 !important; color: #F2A3C9 !important; text-transform: none; letter-spacing: 0; padding: 12px 0; min-height: 44px; text-decoration: underline !important; text-underline-offset: 3px; font-family: inherit !important; font-style: normal; }

/* 7. FORMS (WCAG 1.4.11 control contrast, 3.3.2 visible labels, 2.5.8 target size) */
.elementor-kit-36 #main input[type="text"], .elementor-kit-36 #main input[type="email"], .elementor-kit-36 #main input[type="tel"], .elementor-kit-36 #main input[type="url"],
.elementor-kit-36 #main input[type="password"], .elementor-kit-36 #main input[type="search"], .elementor-kit-36 #main input[type="number"], .elementor-kit-36 #main input[type="date"],
.elementor-kit-36 #main select, .elementor-kit-36 #main textarea,
.elementor-kit-36 .elementor-location-footer input[type="text"], .elementor-kit-36 .elementor-location-footer input[type="email"] {
  border: 1px solid var(--rg-muted); border-radius: 2px; background-color: #FFFFFF; color: var(--rg-ink); font-size: 16px; min-height: 48px; padding: 10px 14px; box-shadow: none;
}
.elementor-kit-36 #main textarea { min-height: 140px; }
.elementor-kit-36 #main input::placeholder, .elementor-kit-36 #main textarea::placeholder { color: var(--rg-muted); opacity: 1; }
.elementor-kit-36 #main input:focus, .elementor-kit-36 #main select:focus, .elementor-kit-36 #main textarea:focus,
.elementor-kit-36 .elementor-location-footer input:focus { border-color: var(--rg-ink); }
.gform_wrapper.gform-theme--framework {
  --gf-color-primary: #B4337A !important; --gf-color-primary-rgb: 180, 51, 122 !important; --gf-color-primary-contrast: #FFFFFF !important; --gf-color-primary-darker: #2B2226 !important;
  --gf-ctrl-border-color: #6B5F64 !important; --gf-ctrl-label-color-primary: #2B2226 !important; --gf-ctrl-label-color-secondary: #4A4044 !important; --gf-ctrl-desc-color: #4A4044 !important;
  --gf-color-danger: #A6260B !important; --gf-ctrl-label-color-req: #A6260B !important;
}
.elementor-kit-36 .gform_wrapper.gform-theme--framework .gform_button { min-height: 48px !important; padding: 14px 26px !important; font-size: 15px !important; text-transform: uppercase !important; letter-spacing: 0.06em !important; line-height: 1.2 !important; }
.gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label { font-family: var(--rg-head); font-size: 16px !important; font-weight: 600 !important; }
.gform_wrapper .gform-field-label--type-sub { font-size: 14px !important; }
/* Contact form (form 1) had its labels switched off; placeholders are not labels, so show them again */
body #gform_wrapper_1 .gfield_label, body #gform_wrapper_1 .gform-field-label--type-sub { display: block !important; position: static !important; clip: auto !important; clip-path: none !important; width: auto !important; height: auto !important; overflow: visible !important; margin: 0 0 6px !important; }
body #gform_wrapper_1 .gchoice label, body #gform_wrapper_1 .gfield_consent_label { display: inline-block !important; }

/* 8. HOME BLOCKS */
.rg-hero { min-height: 560px; padding-left: max(10px, calc((100% - 1140px) / 2)) !important; }
.rg-hero-panel { background: var(--rg-ink); border-top: 6px solid var(--rg-rose); padding: 44px 48px 48px !important; max-width: 600px; }
.rg-hero-panel .elementor-heading-title { color: #FFFFFF; }
.rg-eyebrow .elementor-heading-title { font-family: var(--rg-head); font-size: 14px !important; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rg-deep); line-height: 1.4; }
.rg-hero-panel .rg-eyebrow .elementor-heading-title { color: #F2A3C9; font-weight: 500; }
.rg-breeze, .elementor-kit-36 .rg-breeze {
  min-height: 44px; padding: 0 !important; background-color: var(--rg-rose);
  background-image: radial-gradient(circle at 22px 22px, #FBF6EF 0, #FBF6EF 9px, transparent 10px), radial-gradient(circle at 0 22px, #FBF6EF 0, #FBF6EF 5px, transparent 6px);
  background-size: 44px 44px;
}
.rg-intro { padding-top: 80px !important; padding-bottom: 80px !important; gap: 56px; align-items: center; }
.rg-intro .elementor-widget-text-editor { color: var(--rg-text); }
.rg-photo-offset { position: relative; padding: 0 0 26px 26px; }
.rg-photo-offset::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--rg-pool); }
.rg-photo-offset img { position: relative; display: block; width: 100%; }
.rg-lede .elementor-heading-title { font-family: "Open Sans", sans-serif; font-size: 19px; font-weight: 400; line-height: 1.6; color: var(--rg-text); max-width: 760px; margin-left: auto; margin-right: auto; }
.rg-quick { background: #FFFFFF; border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); padding-top: 64px !important; padding-bottom: 72px !important; }
.rg-quick ul.rg-quick-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.rg-quick ul.rg-quick-grid li { margin: 0; display: flex; }
.rg-quick a.rg-card { display: block; width: 100%; background: var(--rg-sand); border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 26px 24px 28px; color: var(--rg-ink); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.rg-quick li:nth-child(2) a.rg-card { border-top-color: var(--rg-pool); }
.rg-quick li:nth-child(3) a.rg-card { border-top-color: var(--rg-sun); }
.rg-quick li:nth-child(4) a.rg-card { border-top-color: var(--rg-ink); }
.rg-quick a.rg-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43, 34, 38, 0.12); color: var(--rg-ink); }
.rg-quick .rg-card-title { display: block; font-family: var(--rg-head); font-weight: 600; font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.rg-quick .rg-card-title::after { content: " \2192"; color: var(--rg-deep); }
.rg-quick .rg-card-desc { display: block; font-size: 16px; color: var(--rg-text); line-height: 1.5; }

/* 9. FOOTER */
.elementor-location-footer .elementor-element-1d7faf74 { color: #E9E0D4; }
.elementor-location-footer .elementor-element-549ee628 { color: var(--rg-text); }
.elementor-location-footer .elementor-element-1d7faf74 .elementor-widget-divider { --divider-color: var(--rg-rose); }
.elementor-location-footer .elementor-headline { font-family: var(--rg-head); color: var(--rg-ink); }
.elementor-location-footer .elementor-element-549ee628 { border-top: 6px solid var(--rg-rose); box-shadow: 0 14px 34px rgba(43, 34, 38, 0.16); }
.elementor-location-footer .elementor-element-1d7faf74 .elementor-heading-title { font-family: var(--rg-head); letter-spacing: 0.14em; }
.elementor-location-footer .elementor-element-1d7faf74 .elementor-heading-title,
.elementor-location-footer .elementor-element-1d7faf74 p,
.elementor-location-footer .elementor-element-1d7faf74 .elementor-shortcode,
.elementor-location-footer .elementor-element-1d7faf74 .elementor-post__title a { color: #FFFFFF; }
.elementor-location-footer .elementor-element-1d7faf74 .elementor-shortcode { font-size: 16px; }
.elementor-location-footer .elementor-element-1d7faf74 a:not(.elementor-button) { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.elementor-location-footer .elementor-element-1d7faf74 a:not(.elementor-button):hover { color: #F2A3C9; }
.elementor-location-footer .elementor-element-6c5118eb a, .elementor-location-footer .elementor-element-6478689c a { display: inline-block; padding: 6px 0; }
.elementor-location-footer .elementor-element-6478689c { font-size: 14px; }
/* leftover duplicate of the management company name that sat hidden behind the sign-up card */
.elementor-location-footer .elementor-element-1574b84 { display: none; }

/* 10. HOA WEB MODULES + PLUGIN SKINS (CSS only, plugin code untouched) */
/* Elementor's global button style was leaking into module buttons; give them back their own look */
.elementor-kit-36 .hwf-question-btn, .elementor-kit-36 .hwf-readmore, .elementor-kit-36 .hwf-filter:not(.is-active) {
  background: transparent; color: var(--rg-ink); font-family: inherit; text-transform: none; letter-spacing: 0;
}
.elementor-kit-36 .hwf-question-btn { font-family: var(--rg-head); font-weight: 600; font-size: 20px; line-height: 1.3; text-align: left; padding: 6px 0; min-height: 44px; }
.elementor-kit-36 .hwf-readmore { color: var(--rg-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; min-height: 44px; }
.elementor-kit-36 .hwf-filter.is-active { background-color: var(--rg-ink); border-color: var(--rg-ink); color: #FFFFFF; }
.hwf-item { border-color: var(--rg-line); }
/* the theme title bar already prints the page H1, so drop the module duplicate */
.page-header ~ #content-wrap .hwf-title, .hwf-page .hwf-header .hwf-title { display: none; }
.hwf-search-input { border-radius: 2px !important; }
.elementor-kit-36 #main .hwe .hwe-search-input { padding-left: 42px; }
.hwe { --hwe-accent: #B4337A; --hwe-allday: #F9E4EE; --hwe-today-bg: #FDF1F6; }
.mwx-directory-table .col-name a, .mwx-login-links a { color: var(--rg-deep); text-decoration: underline; text-underline-offset: 3px; }
.mwx-directory-table thead th { background: #FFFFFF; border-bottom: 2px solid var(--rg-rose); font-family: var(--rg-head); letter-spacing: 0.06em; }
span.mwx-dir-avatar, span.mwx-dash-avatar { background: var(--rg-deep); color: #FFFFFF; }
.mwx-dash-avatar, #mwx-photo-preview-img { border-color: var(--rg-rose); }
.mwx-dash-card { border-radius: 0; border: 1px solid var(--rg-line); border-top: 5px solid var(--rg-rose); }
.mwx-dash-card:hover { border-color: var(--rg-line); border-top-color: var(--rg-deep); }
.mwx-dash-card-icon { color: var(--rg-deep); }
.mwx-dash-card-label { font-family: var(--rg-head); font-size: 1.1em; color: var(--rg-ink); }
.mwx-dash-card-desc { color: var(--rg-text); font-size: 0.88em; }
.mwx-dash-card--subtle { background: #FFFFFF; border-top-color: var(--rg-line); }
.mwx-dash-card--subtle .mwx-dash-card-icon { color: var(--rg-muted); }
.mwx-dash-card--subtle .mwx-dash-card-label { color: var(--rg-ink); }
.mwx-dash-card--admin { background: #FFFFFF; border-color: var(--rg-line); border-top-color: var(--rg-pool); }
.mwx-dash-card--admin .mwx-dash-card-icon { color: var(--rg-pool); }
.mwx-dash-card--admin:hover { border-color: var(--rg-line); border-top-color: var(--rg-pool); }
.mwx-dash-greeting p, .mwx-dir-count, .mwx-dir-empty { color: var(--rg-text); }
.mwx-dash-logout { color: var(--rg-text) !important; text-decoration: underline !important; }
.mwx-login-wrap #mwx-loginform { border-radius: 0; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); box-shadow: none; }
.mwx-login-wrap #mwx-loginform input[type="text"]:focus, .mwx-login-wrap #mwx-loginform input[type="password"]:focus, #mwx-dir-search:focus { border-color: var(--rg-ink); box-shadow: none; }
/* WP Download Manager */
.w3eden { --color-primary: #B4337A; --color-primary-rgb: 180, 51, 122; --color-primary-hover: #2B2226; --color-primary-active: #2B2226; --color-secondary: #B4337A; --color-secondary-hover: #2B2226; --color-info: #17757C; --color-info-hover: #2B2226; --color-success: #17757C; --color-success-hover: #2B2226; }
.w3eden .card { border-radius: 0; border-color: var(--rg-line); }
.w3eden .text-muted, .w3eden .text-small { color: var(--rg-muted) !important; }
.w3eden input[type="checkbox"], .w3eden input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: #B4337A; }
.w3eden a:not(.btn) { color: var(--rg-deep); }
/* sidebar widgets (news) */
#right-sidebar .widget-title, #sidebar .wp-block-heading, #sidebar .wp-block-search__label { font-family: var(--rg-head); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rg-ink); border-color: var(--rg-rose); }
#right-sidebar { font-size: 15px; }
#right-sidebar a, #sidebar a { color: var(--rg-deep); text-decoration: underline; }
.blog-entry.post .blog-entry-header .entry-title a, .single-post h1.entry-title { font-family: var(--rg-head); color: var(--rg-ink); }
.blog-entry.post .blog-entry-readmore a { border-radius: 2px; border-color: var(--rg-deep); color: var(--rg-deep); font-family: var(--rg-head); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; padding: 12px 18px; }
.blog-entry.post .blog-entry-readmore a:hover { background: var(--rg-deep); color: #FFFFFF; }
ul.meta, ul.meta li a { color: var(--rg-muted); font-size: 14px; }

/* 11. RESPONSIVE */
@media (max-width: 1200px) {
  #site-header-inner { text-align: left; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
  #site-header #site-logo { float: none; display: block; }
  #site-header-inner::before, #site-header-inner::after { display: none; }
  #site-header .oceanwp-mobile-menu-icon { margin-left: auto; }
  #site-header .oceanwp-mobile-menu-icon { position: static; float: none; }
  .hamburger-menu { top: auto; bottom: 16px; right: 76px; }
  .top-right-menu-container { top: auto; bottom: 52px; }
}
@media (max-width: 1024px) {
  .rg-hero { min-height: 460px; }
  .rg-hero-spacer { display: none !important; }
  .rg-intro { padding-top: 56px !important; padding-bottom: 56px !important; gap: 36px; }
  body .page-header h1.page-header-title { font-size: 34px; }
  .page-header .site-breadcrumbs { position: static; margin-top: 10px; transform: none; text-align: left; height: auto; line-height: 1.5; }
}
@media (max-width: 767px) {
  .rg-hero { min-height: 0; padding: 200px 0 0 !important; }
  .rg-hero-panel { max-width: none; width: 100% !important; padding: 28px 20px 32px !important; }
  .rg-hero-panel h1.elementor-heading-title { font-size: 34px !important; line-height: 1.1 !important; }
  .rg-hero-panel .elementor-widget-button, .rg-hero-panel .elementor-button { width: 100%; }
  .page-header { padding-top: 28px; }
  .page-header::after { margin-top: 24px; }
  body .page-header h1.page-header-title { font-size: 30px; }
  .rg-quick { padding-top: 44px !important; padding-bottom: 48px !important; }
  .mwx-directory-table, .user-list, #profile-bottom-table { display: block; overflow-x: auto; width: 100%; }
  #profile-bottom-table { margin: 24px 0; }
  .add-user-button { position: static; margin-bottom: 16px; }
  .w3eden .btn { min-height: 44px; }
  .w3eden .link-template-default .media { flex-wrap: wrap; }
  .w3eden .link-template-default .media > .media-body { flex: 1 1 60%; min-width: 0; }
  .w3eden .link-template-default .media > .ml-3 { margin: 12px 0 0 !important; width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
  .w3eden .link-template-default .media > .ml-3 .btn { flex: 1 1 auto; justify-content: center; }
  #main #content-wrap { padding-top: 32px; padding-bottom: 44px; }
}


/* 12. INTERIOR PAGES (About, Welcome, General Info) — added 2026-10-26 */
.rg-sec { padding-top: 88px !important; padding-bottom: 88px !important; }
.rg-sec-tight { padding-top: 56px !important; padding-bottom: 56px !important; }
.rg-sec-sand { background: var(--rg-sand); border-top: 1px solid var(--rg-line); border-bottom: 1px solid var(--rg-line); }
.rg-sec-ink { background: var(--rg-ink); border-top: 6px solid var(--rg-rose); }
.rg-h2 .elementor-heading-title { font-family: var(--rg-head); font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.12; color: var(--rg-ink); }
.rg-h2 .elementor-heading-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; background: var(--rg-rose); }
.rg-center .rg-h2 .elementor-heading-title::after, .rg-h2.rg-center .elementor-heading-title::after { margin-left: auto; margin-right: auto; }
.rg-body, .rg-body p, .rg-body li { font-size: 17px; line-height: 1.75; color: var(--rg-text); }
.rg-body p:last-child { margin-bottom: 0; }
.rg-body ul { list-style: none; margin: 0 0 1.2em; padding: 0; }
.rg-body ul li { position: relative; padding-left: 28px; margin: 0 0 10px; }
.rg-body ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; background: var(--rg-rose); transform: rotate(45deg); }
.rg-sec-ink .rg-h2 .elementor-heading-title, .rg-sec-ink .rg-body, .rg-sec-ink .rg-body p, .rg-sec-ink .rg-body strong { color: #FFFFFF; }
.rg-sec-ink .rg-eyebrow .elementor-heading-title { color: #F2A3C9; }
.rg-sec-ink .rg-body a { color: #FFFFFF !important; }
.rg-cover img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rg-cover-wide img { aspect-ratio: 3 / 2; }
.rg-cover-tall img { aspect-ratio: 4 / 5; }
/* stats band */
.rg-stat { border-left: 1px solid var(--rg-line); padding: 6px 24px !important; }
.rg-stat:first-child { border-left: 0; }
.rg-stat-num .elementor-heading-title { font-family: var(--rg-head); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--rg-deep); }
.rg-stat-label .elementor-heading-title { font-family: var(--rg-head); font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.45; color: var(--rg-text); }
/* amenity cards (Image Box widget) */
.rg-amenity, .rg-amenity > .elementor-widget-container, .rg-amenity .elementor-image-box-wrapper { height: 100%; }
.rg-amenity .elementor-image-box-wrapper { display: flex; flex-direction: column; text-align: left; background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); }
.rg-amenity.rg-top-pool .elementor-image-box-wrapper { border-top-color: var(--rg-pool); }
.rg-amenity.rg-top-sun .elementor-image-box-wrapper { border-top-color: var(--rg-sun); }
.rg-amenity .elementor-image-box-img { width: 100% !important; margin: 0 !important; }
.rg-amenity .elementor-image-box-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rg-amenity .elementor-image-box-content { padding: 24px 26px 28px; }
.rg-amenity .elementor-image-box-title { font-family: var(--rg-head); font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--rg-ink); margin: 0 0 10px; }
.rg-amenity .elementor-image-box-description { font-size: 16px; line-height: 1.65; color: var(--rg-text); margin: 0; }
/* welcome letter */
.rg-letter { background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); box-shadow: 0 14px 34px rgba(43, 34, 38, 0.08); padding: 56px 64px 60px !important; }
.rg-letter .rg-body p:first-child { font-size: 19px; line-height: 1.7; color: var(--rg-ink); }
.rg-letter .rg-body p:last-child { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rg-line); font-size: 15px; line-height: 1.7; letter-spacing: 0.02em; }
.rg-divider img { width: 220px; height: auto; }
.rg-aside { position: sticky !important; top: 110px; align-self: flex-start; }
.rg-aside-card { background: var(--rg-sand); border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-pool); padding: 28px 26px !important; }
.rg-aside-card.rg-top-sun { border-top-color: var(--rg-sun); }
.rg-aside-title .elementor-heading-title { font-family: var(--rg-head); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rg-ink); }
.rg-aside-card ul.rg-links { list-style: none; margin: 0; padding: 0; }
.rg-aside-card ul.rg-links li { margin: 0; border-top: 1px solid var(--rg-line); }
.rg-aside-card ul.rg-links li:first-child { border-top: 0; }
#main .rg-aside-card ul.rg-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; font-family: var(--rg-head); font-size: 17px; font-weight: 500; color: var(--rg-ink); text-decoration: none; }
#main .rg-aside-card ul.rg-links a::after { content: "\2192"; color: var(--rg-deep); }
#main .rg-aside-card ul.rg-links a:hover { color: var(--rg-deep); text-decoration: underline; }
.rg-aside-card .rg-body, .rg-aside-card .rg-body p { font-size: 16px; line-height: 1.65; }
@media (max-width: 1024px) {
  .rg-sec { padding-top: 64px !important; padding-bottom: 64px !important; }
  .rg-letter { padding: 40px 36px 44px !important; }
  .rg-aside { position: static !important; }
  .rg-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
  .rg-sec { padding-top: 48px !important; padding-bottom: 48px !important; }
  .rg-sec-tight { padding-top: 36px !important; padding-bottom: 36px !important; }
  .rg-letter { padding: 28px 20px 32px !important; }
  .rg-letter .rg-body p:first-child { font-size: 18px; }
  .rg-stat { padding: 14px 12px !important; }
  .rg-stat-num .elementor-heading-title { font-size: 32px; }
  .rg-body, .rg-body p, .rg-body li { font-size: 16px; }
  .rg-btn-row .elementor-widget-button, .rg-btn-row .elementor-button { width: 100%; }
}
/* END 12 */

/* 13. PHOTO GALLERIES (theme override: hoa-web-galleries/single-gallery.php) — added 2026-10-26 */
.rg-gallery-page { width: 100% !important; float: none !important; border: 0 !important; padding: 0 !important; }
.rg-gallery-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 0 0 24px; padding: 0 0 18px; border-bottom: 1px solid var(--rg-line); }
#main a.rg-gallery-back { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--rg-head); font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rg-deep); text-decoration: none; }
#main a.rg-gallery-back:hover { color: var(--rg-ink); text-decoration: underline; text-underline-offset: 4px; }
.rg-gallery-count { font-size: 15px; color: var(--rg-muted); }
.rg-gallery-desc { max-width: 760px; margin: 0 0 28px; font-size: 17px; line-height: 1.7; color: var(--rg-text); }
.rg-gallery-page .hwg-grid { --hwg-row: 260px !important; --hwg-gap: 8px !important; }
.rg-gallery-page .hwg-item { background: var(--rg-sand); }
.rg-gallery-page .hwg-item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--rg-rose); transition: box-shadow 0.15s ease; pointer-events: none; }
.rg-gallery-page .hwg-item:hover::after, .rg-gallery-page .hwg-item:focus-visible::after { box-shadow: inset 0 0 0 5px var(--rg-rose); }
.rg-gallery-more { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--rg-line); }
.rg-gallery-more-title { font-family: var(--rg-head); font-size: 30px; font-weight: 600; color: var(--rg-ink); margin: 0 0 28px; }
.rg-gallery-more-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--rg-rose); }
.rg-gallery-more .hwg-card-media { border-radius: 0; border-top: 6px solid var(--rg-rose); background: var(--rg-sand); }
.rg-gallery-more .hwg-card-title { font-family: var(--rg-head); font-size: 22px; color: var(--rg-ink); }
.rg-gallery-more .hwg-card-count { color: var(--rg-muted); opacity: 1; }
@media (max-width: 767px) {
  .rg-gallery-page .hwg-grid { --hwg-row: 200px !important; --hwg-gap: 6px !important; }
  .rg-gallery-bar { margin-bottom: 18px; }
  .rg-gallery-more { margin-top: 48px; padding-top: 36px; }
}
/* END 13 */
/* 12b. keep paired photos side by side on phones */
.rg-pair { flex-direction: row !important; flex-wrap: nowrap !important; }
.rg-pair > .elementor-widget { flex: 1 1 0 !important; width: auto !important; min-width: 0; }

/* 14. INTERIOR PAGE COMPONENTS, round 2 (HOA Information, Contact, Board, forms) — added 2026-10-26 */
/* card grids with more than four cards keep cycling the accent colours */
.rg-quick li:nth-child(4n+1) a.rg-card { border-top-color: var(--rg-rose); }
.rg-quick li:nth-child(4n+2) a.rg-card { border-top-color: var(--rg-pool); }
.rg-quick li:nth-child(4n+3) a.rg-card { border-top-color: var(--rg-sun); }
.rg-quick li:nth-child(4n) a.rg-card { border-top-color: var(--rg-ink); }
.rg-quick-sand { background: var(--rg-sand); }
.rg-quick-sand a.rg-card { background: #FFFFFF; }
/* numbered steps */
.rg-body ol.rg-steps { list-style: none; counter-reset: rgstep; margin: 0; padding: 0; }
.rg-body ol.rg-steps li { position: relative; counter-increment: rgstep; padding: 0 0 0 64px; margin: 0 0 24px; min-height: 44px; }
.rg-body ol.rg-steps li::before { content: counter(rgstep); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--rg-deep); color: #FFFFFF; font-family: var(--rg-head); font-weight: 600; font-size: 20px; line-height: 44px; text-align: center; transform: none; }
.rg-body ol.rg-steps li strong { display: block; font-family: var(--rg-head); font-size: 19px; font-weight: 600; color: var(--rg-ink); line-height: 1.3; margin-bottom: 2px; }
/* check list */
.rg-body ul.rg-check li::before { content: "\2713"; width: auto; height: auto; background: none; transform: none; top: 0; left: 0; color: var(--rg-pool); font-weight: 700; font-size: 18px; line-height: 1.6; }
.rg-body ul.rg-x li::before { content: "\2715"; width: auto; height: auto; background: none; transform: none; top: 0; left: 0; color: var(--rg-deep); font-weight: 700; font-size: 16px; line-height: 1.8; }
/* two-up comparison panels */
.rg-panel { background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-pool); padding: 28px 28px 30px !important; }
.rg-panel.rg-top-rose { border-top-color: var(--rg-rose); }
.rg-panel.rg-top-sun { border-top-color: var(--rg-sun); }
.rg-panel-title .elementor-heading-title { font-family: var(--rg-head); font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--rg-ink); }
/* hours table */
.rg-body table.rg-hours { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.rg-body table.rg-hours th, .rg-body table.rg-hours td { padding: 12px 12px 12px 0; border: 0; border-bottom: 1px solid var(--rg-line); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.55; }
.rg-body table.rg-hours th { font-family: var(--rg-head); font-weight: 600; color: var(--rg-ink); width: 38%; }
.rg-body table.rg-hours td { color: var(--rg-text); }
/* committee / definition cards */
.rg-body dl.rg-defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 0; }
.rg-body dl.rg-defs > div { background: #FFFFFF; border: 1px solid var(--rg-line); border-left: 6px solid var(--rg-rose); padding: 20px 22px; }
.rg-body dl.rg-defs > div:nth-child(4n+2) { border-left-color: var(--rg-pool); }
.rg-body dl.rg-defs > div:nth-child(4n+3) { border-left-color: var(--rg-sun); }
.rg-body dl.rg-defs > div:nth-child(4n) { border-left-color: var(--rg-ink); }
.rg-body dl.rg-defs dt { font-family: var(--rg-head); font-size: 19px; font-weight: 600; color: var(--rg-ink); line-height: 1.3; }
.rg-body dl.rg-defs dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--rg-text); }
/* small note under link lists */
.rg-note, .rg-note p { font-size: 14px !important; line-height: 1.5; color: var(--rg-muted) !important; }
/* contact info rows */
.rg-body .rg-contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--rg-line); margin: 0; }
.rg-body .rg-contact-row:first-child { border-top: 0; padding-top: 0; }
.rg-body .rg-contact-row .rg-ico { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--rg-blush); color: var(--rg-deep); font-size: 18px; line-height: 40px; text-align: center; }
.rg-body .rg-contact-row strong { display: block; font-family: var(--rg-head); font-size: 17px; color: var(--rg-ink); }
/* map + framed images */
.rg-map iframe, .rg-map .elementor-custom-embed { display: block; width: 100%; border: 1px solid var(--rg-line) !important; }
.rg-frame { background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 16px !important; }
.rg-frame img { display: block; width: 100%; height: auto; }
/* long documents (Code of Conduct) */
.rg-doc h3 { font-family: var(--rg-head); font-size: 24px; font-weight: 600; color: var(--rg-ink); margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--rg-line); scroll-margin-top: 120px; }
.rg-doc h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rg-doc h4 { font-family: var(--rg-head); font-size: 19px; color: var(--rg-ink); margin: 26px 0 10px; }
.rg-doc ol, .rg-doc ol[type] { padding-left: 1.4em; margin: 0 0 1.2em; }
.rg-doc ol li { padding-left: 4px; margin-bottom: 10px; }
.rg-doc ol li::before { display: none; }
.rg-doc ul li::before { top: 0.65em; }
#main .rg-toc ol { list-style: none; counter-reset: rgtoc; margin: 0; padding: 0; }
#main .rg-toc ol li { counter-increment: rgtoc; margin: 0; padding: 0; border-top: 1px solid var(--rg-line); }
#main .rg-toc ol li:first-child { border-top: 0; }
#main .rg-toc ol li::before { display: none; }
#main .rg-toc ol li a { display: flex; gap: 10px; min-height: 44px; align-items: center; padding: 8px 0; font-family: var(--rg-head); font-size: 16px; font-weight: 500; color: var(--rg-ink); text-decoration: none; }
#main .rg-toc ol li a::before { content: counter(rgtoc); flex: 0 0 26px; height: 26px; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--rg-line); color: var(--rg-deep); font-size: 13px; line-height: 24px; text-align: center; }
#main .rg-toc ol li a:hover { color: var(--rg-deep); text-decoration: underline; }
/* form pages */
.rg-form-card { background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 40px 44px 44px !important; }
@media (max-width: 767px) {
  .rg-form-card { padding: 24px 18px 28px !important; }
  .rg-panel { padding: 22px 20px 24px !important; }
  .rg-body table.rg-hours th { width: 44%; }
}
/* END 14 */
/* outline button for light backgrounds */
.elementor-kit-36 .rg-btn-outline .elementor-button { background-color: transparent !important; border: 2px solid var(--rg-deep) !important; color: var(--rg-deep) !important; padding: 12px 24px; }
.elementor-kit-36 .rg-btn-outline .elementor-button:hover { background-color: var(--rg-deep) !important; color: #FFFFFF !important; }
/* gallery index cards + management module */
.hwg-page-index .hwg-card-media { border-radius: 0; border-top: 6px solid var(--rg-rose); background: var(--rg-sand); }
.hwg-page-index .hwg-card:nth-child(3n+2) .hwg-card-media { border-top-color: var(--rg-pool); }
.hwg-page-index .hwg-card:nth-child(3n) .hwg-card-media { border-top-color: var(--rg-sun); }
.hwg-page-index .hwg-card-title { font-family: var(--rg-head); font-size: 22px; color: var(--rg-ink); }
.hwg-page-index .hwg-card-count { color: var(--rg-muted); opacity: 1; }
.hwd-mgmt { max-width: 760px; margin: 0 auto; text-align: center; }
.hwd-mgmt .hwd-mgmt-name { font-family: var(--rg-head); font-size: 24px; font-weight: 600; color: var(--rg-ink); margin-bottom: 20px; }
.hwd-mgmt .hwd-mgmt-company { margin-bottom: 28px; background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-pool); padding: 26px 32px 6px; text-align: left; }
.hwd-mgmt .hwd-mgmt-company .hwd-mgmt-name { margin: 0 0 20px; text-align: center; }
/* Each detail is a label over its value; two per row, ruled like a ledger. */
.hwd-mgmt .hwd-mgmt-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.hwd-mgmt .hwd-mgmt-row { display: block; padding: 16px 0 18px; border-top: 1px solid var(--rg-line); }
.hwd-mgmt .hwd-mgmt-details dt { font-family: var(--rg-head); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rg-muted); line-height: 1.4; margin: 0 0 4px; }
.hwd-mgmt .hwd-mgmt-details dd { font-size: 18px; line-height: 1.45; color: var(--rg-ink); margin: 0; }
.hwd-mgmt .hwd-mgmt-details dd a { color: var(--rg-ink); text-decoration: underline; text-decoration-color: var(--rg-rose); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hwd-mgmt .hwd-mgmt-details dd a:hover, .hwd-mgmt .hwd-mgmt-details dd a:focus { color: var(--rg-deep); }
/* Cards centre themselves whether there is one contact or several. */
.hwd-mgmt .hwd-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.hwd-mgmt .hwd-grid > .hwd-card { flex: 0 1 calc(50% - 12px); max-width: 368px; box-sizing: border-box; }
.hwd-mgmt .hwd-card { background: var(--rg-sand); border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 28px 20px; }
.hwd-mgmt .hwd-card:nth-child(2) { border-top-color: var(--rg-pool); }
.hwd-mgmt .hwd-name { font-family: var(--rg-head); font-size: 20px; font-weight: 600; color: var(--rg-ink); }
.hwd-mgmt .hwd-photo-fallback { background: var(--rg-deep); color: #FFFFFF; }
@media (max-width: 600px) { .hwd-mgmt .hwd-grid > .hwd-card { flex-basis: 100%; max-width: 420px; } }
@media (max-width: 600px) { .hwd-mgmt .hwd-mgmt-company { padding: 22px 20px 4px; } .hwd-mgmt .hwd-mgmt-details { grid-template-columns: minmax(0, 1fr); } .hwd-mgmt .hwd-mgmt-details dd { margin-bottom: 0; } }
/* Gravity Forms file-upload button was still the default blue */
.elementor-kit-36 .gform_wrapper .gform_button_select_files, .elementor-kit-36 .gform_wrapper button.gform_button_select_files {
  background-color: var(--rg-deep) !important; border: 1px solid var(--rg-deep) !important; color: #FFFFFF !important; border-radius: 2px !important; font-family: var(--rg-head) !important; font-weight: 600 !important; min-height: 44px; padding: 10px 18px !important; }
.elementor-kit-36 .gform_wrapper .gform_button_select_files:hover { background-color: var(--rg-ink) !important; border-color: var(--rg-ink) !important; }
.gform_wrapper .gform_drop_area { border-color: var(--rg-muted) !important; background: var(--rg-sand) !important; }

/* 15. ACCESSIBILITY FIXES from axe-core scan — added 2026-10-26 */
/* Gravity Forms descriptions had inline pink/grey text below 4.5:1 */
.gform_wrapper .gfield_description span[style*="ce5197"], .gform_wrapper .gfield_description span[style*="CE5197"] { color: var(--rg-deep) !important; }
.gform_wrapper .gfield_description span[style*="888"] { color: var(--rg-muted) !important; }
.gform_wrapper .gfield_description a, .gform_wrapper .gform_description a { color: var(--rg-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* document pages (child theme WPDM templates) */
.rg-doc-help, .rg-rel-card .rg-rel-meta { color: var(--rg-muted) !important; }
.rg-rel-card .rg-rel-view { color: var(--rg-deep) !important; }
/* WPDM front-end document manager table headers (11px #8d99ae) */
.w3eden .pkg-th, .w3eden .pkg-th a, .w3eden .pkg-th span, .w3eden [class*="pkg-th--"], .w3eden [class*="pkg-th--"] a span { color: var(--rg-text) !important; font-size: 13px !important; }
/* HOA Web profile button: theme link colour was leaking onto the plugin's blue button */
#main .hwp-btn, #main a.hwp-btn { background: var(--rg-deep) !important; border-color: var(--rg-deep) !important; color: #FFFFFF !important; text-decoration: none !important; }
#main .hwp-btn:hover, #main a.hwp-btn:hover { background: var(--rg-ink) !important; border-color: var(--rg-ink) !important; color: #FFFFFF !important; }
/* END 15 */
/* 15b. remaining contrast items */
body .w3eden .rg-rel-card .rg-rel-actions a.rg-rel-view, body .rg-rel-card .rg-rel-actions .rg-rel-view { color: var(--rg-deep) !important; }
body .w3eden .rg-rel-card .rg-rel-actions a.rg-rel-view:hover { color: var(--rg-ink) !important; }
body .w3eden .pkg-meta, body .w3eden .pkg-meta__item, body .w3eden .pkg-meta__item * { color: var(--rg-muted) !important; font-size: 13px !important; }
.gform_wrapper .gfield a, .gform_wrapper .gfield--type-html a { color: var(--rg-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
body .w3eden .page-numbers, body .w3eden a.page-numbers, body .w3eden .next, body .w3eden .prev { color: var(--rg-text) !important; }
body .w3eden .page-numbers.current { color: #FFFFFF !important; background: var(--rg-deep) !important; }

/* 16. MOBILE FIXES from phone-width audit — added 2026-10-26 */
/* member directory: search box grew to 260px tall when the header stacks on phones */
.hwp-directory-head .hwp-directory-search { flex: 0 0 auto !important; height: 48px !important; min-height: 48px !important; width: 100%; }
/* member directory: stack each row as a card on phones instead of a squeezed table */
@media (max-width: 600px) {
  .hwp-directory-table-wrap { overflow: visible !important; }
  .hwp-directory-table, .hwp-directory-table tbody { display: block; width: 100%; }
  .hwp-directory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hwp-directory-table tr.hwp-dir-row { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rg-line); }
  .hwp-directory-table tr.hwp-dir-row td { display: block; padding: 0 !important; border: 0 !important; font-size: 15px; color: var(--rg-text); }
  .hwp-directory-table tr.hwp-dir-row td.hwp-dir-col-photo { grid-row: 1 / span 3; align-self: start; }
  .hwp-directory-table tr.hwp-dir-row td.hwp-dir-col-name a { display: inline-block; min-height: 32px; font-family: var(--rg-head); font-size: 17px; font-weight: 600; }
  .hwp-directory-table tr.hwp-dir-row td:empty { display: none; }
}
/* document manager table: keep it readable on phones */
@media (max-width: 600px) {
  .w3eden .pkg-cell--author, .w3eden .pkg-th--author { display: none !important; }
}
/* END 16 */
/* full-screen mobile menu: consistent item style, real tap targets, room above search */
#mobile-fullscreen ul.fs-dropdown-menu > li > a { font-family: var(--rg-head) !important; font-size: 19px !important; font-weight: 500 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; line-height: 1.3 !important; padding: 10px 0 !important; color: #FFFFFF !important; }
#mobile-fullscreen ul.fs-dropdown-menu ul li a { font-family: var(--rg-head) !important; font-size: 17px !important; font-weight: 400 !important; letter-spacing: 0.02em !important; text-transform: none !important; padding: 8px 0 !important; color: #E9E0D4 !important; }
#mobile-fullscreen ul.fs-dropdown-menu li a:hover, #mobile-fullscreen ul.fs-dropdown-menu li.current-menu-item > a { color: #F2A3C9 !important; }
#mobile-fullscreen button[data-oceanwp-submenu-toggle] { min-width: 44px; min-height: 44px; font-size: 18px !important; color: #FFFFFF !important; background: transparent !important; border: 0 !important; }
#mobile-fullscreen button[data-oceanwp-submenu-toggle]:focus-visible { outline: 3px solid #FFFFFF !important; }
#mobile-fullscreen #mobile-search, #mobile-fullscreen form { margin-top: 36px !important; }
#mobile-fullscreen label, #mobile-fullscreen .mobile-search-label { display: block; margin-bottom: 8px; font-family: var(--rg-head); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
#mobile-fullscreen input[type="search"], #mobile-fullscreen input[type="text"] { color: #FFFFFF !important; font-size: 18px !important; }
#mobile-fullscreen input::placeholder { color: #D8CFD3 !important; opacity: 1; }
/* mobile menu parent toggles (buttons) match their level; overview links */
#mobile-fullscreen ul.fs-dropdown-menu > li > button.menu-link { font-family: var(--rg-head) !important; font-size: 19px !important; font-weight: 500 !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: #FFFFFF !important; min-height: 44px; padding: 10px 0 !important; background: transparent !important; border: 0 !important; }
#mobile-fullscreen ul.sub-menu > li > button.menu-link { font-family: var(--rg-head) !important; font-size: 17px !important; font-weight: 500 !important; letter-spacing: 0.02em !important; text-transform: none !important; color: #FFFFFF !important; min-height: 44px; padding: 8px 0 !important; background: transparent !important; border: 0 !important; }
#mobile-fullscreen ul.sub-menu ul.sub-menu a { color: #D8CFD3 !important; font-size: 16px !important; }
#mobile-fullscreen li.rg-overview > a { color: #F2A3C9 !important; font-weight: 500 !important; }
#mobile-fullscreen .fs-dropdown-menu { padding-top: 48px; }
#mobile-fullscreen ul.fs-dropdown-menu a.menu-link, #mobile-fullscreen ul.fs-dropdown-menu button.menu-link { display: block !important; min-height: 44px; line-height: 1.35 !important; }
#mobile-fullscreen ul.sub-menu { padding: 4px 0 10px !important; }

/* 17. NEWS (blog index), SINGLE POSTS, SEARCH RESULTS — added 2026-10-26 */
/* index intro + category chips */
.rg-news-intro { margin: 0 0 36px; padding: 0 0 24px; border-bottom: 1px solid var(--rg-line); }
.rg-news-lede { font-size: 19px; line-height: 1.6; color: var(--rg-text); margin: 0 0 18px; max-width: 760px; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
#main a.rg-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--rg-line); border-radius: 999px; background: #FFFFFF; font-family: var(--rg-head); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: var(--rg-ink); text-decoration: none; }
#main a.rg-chip:hover { border-color: var(--rg-deep); color: var(--rg-deep); }
#main a.rg-chip.is-active { background: var(--rg-ink); border-color: var(--rg-ink); color: #FFFFFF; }
/* card grid */
body.blog #blog-entries, body.archive.category #blog-entries, body.archive.tag #blog-entries, body.archive.date #blog-entries { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; margin: 0 !important; height: auto !important; }
#blog-entries::before, #blog-entries::after { display: none !important; }
#blog-entries > article.blog-entry { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; position: static !important; left: auto !important; top: auto !important; border: 0 !important; }
#blog-entries > article.blog-entry .blog-entry-inner { display: flex; flex-direction: column; height: 100%; background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 0 !important; margin: 0; box-shadow: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
#blog-entries > article.blog-entry:nth-child(3n+2) .blog-entry-inner { border-top-color: var(--rg-pool); }
#blog-entries > article.blog-entry:nth-child(3n) .blog-entry-inner { border-top-color: var(--rg-sun); }
#blog-entries > article.blog-entry .blog-entry-inner:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43, 34, 38, 0.12); }
#blog-entries .thumbnail { margin: 0 !important; background: var(--rg-sand); }
#blog-entries .thumbnail a { display: block; }
#blog-entries .thumbnail img { display: block; width: 100%; aspect-ratio: 1200 / 440; object-fit: cover; height: auto; }
#blog-entries .thumbnail .overlay { display: none !important; }
#blog-entries .blog-entry-inner > ul.meta { order: 0; margin: 22px 24px 6px !important; padding: 0 !important; border: 0 !important; }
#blog-entries .blog-entry-inner > .blog-entry-header { margin: 0 24px 10px !important; }
#blog-entries .blog-entry-inner > .blog-entry-summary { margin: 0 24px 16px !important; flex: 1 1 auto; }
#blog-entries .blog-entry-inner > .blog-entry-readmore { margin: 0 24px 24px !important; }
#blog-entries .blog-entry-title { font-family: var(--rg-head); font-size: 22px !important; font-weight: 600; line-height: 1.3 !important; margin: 0 !important; }
#main #blog-entries .blog-entry-title a { color: var(--rg-ink) !important; text-decoration: none; }
#main #blog-entries .blog-entry-title a:hover { color: var(--rg-deep) !important; text-decoration: underline; text-underline-offset: 3px; }
#blog-entries .blog-entry-summary, #blog-entries .blog-entry-summary p { font-size: 16px; line-height: 1.6; color: var(--rg-text); margin: 0; }
/* meta as an eyebrow line: DATE · CATEGORY */
body ul.meta.obem-default, body ul.meta.ospm-default { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; }
body ul.meta.obem-default li, body ul.meta.ospm-default li { margin: 0 !important; padding: 0 !important; font-family: var(--rg-head); font-size: 13px !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rg-muted); line-height: 1.6; }
body ul.meta.obem-default li::after, body ul.meta.ospm-default li::after { display: none !important; }
body ul.meta li i { display: none; }
#main ul.meta li a { color: var(--rg-deep) !important; text-decoration: none; }
#main ul.meta li a:hover { text-decoration: underline; }
body ul.meta li.meta-date { color: var(--rg-text); }
/* read more: text link with arrow (was an outline button) */
#main .blog-entry-readmore a, #main .search-entry-readmore a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 !important; border: 0 !important; background: none !important; font-family: var(--rg-head); font-size: 15px !important; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rg-deep) !important; text-decoration: none !important; }
#main .blog-entry-readmore a:hover, #main .search-entry-readmore a:hover { color: var(--rg-ink) !important; text-decoration: underline !important; }
#main .blog-entry-readmore a i, #main .search-entry-readmore a i { margin-left: 6px; }
/* pagination */
.oceanwp-pagination, .page-numbers-wrap, nav.navigation.pagination { margin-top: 48px; text-align: center; }
.oceanwp-pagination ul.page-numbers, .page-numbers-wrap ul.page-numbers { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
#main .oceanwp-pagination .page-numbers a, #main .oceanwp-pagination .page-numbers span.page-numbers, #main ul.page-numbers li a, #main ul.page-numbers li span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rg-line) !important; border-radius: 2px; background: #FFFFFF; color: var(--rg-ink) !important; font-family: var(--rg-head); font-size: 16px; text-decoration: none; }
#main ul.page-numbers li span.current { background: var(--rg-ink) !important; border-color: var(--rg-ink) !important; color: #FFFFFF !important; }
#main ul.page-numbers li a:hover { border-color: var(--rg-deep) !important; color: var(--rg-deep) !important; }
/* single post: centred reading column */
body.single-post #content article.single-post-article, body.single-post #content > article { max-width: 780px; margin-left: auto; margin-right: auto; }
body.single-post #content article .thumbnail { margin: 18px 0 32px !important; border-top: 6px solid var(--rg-rose); }
body.single-post #content article .thumbnail img { display: block; width: 100%; height: auto; }
body.single-post ul.meta.ospm-default { margin: 0 0 8px !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--rg-line) !important; }
body.single-post .entry-content, body.single-post .entry-content p, body.single-post .entry-content li { font-size: 18px; line-height: 1.8; color: var(--rg-text); }
body.single-post .entry-content h2, body.single-post .entry-content h3 { font-family: var(--rg-head); color: var(--rg-ink); margin: 1.6em 0 0.6em; }
body.single-post .entry-content img { height: auto; }
.rg-back-news { margin: 40px 0 0 !important; padding-top: 24px; border-top: 1px solid var(--rg-line); }
#main .rg-back-news a { font-family: var(--rg-head); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px !important; color: var(--rg-deep); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
#main .rg-back-news a:hover { text-decoration: underline; }
/* next / previous */
body.single-post .post-navigation, body.single-post nav.navigation.post-navigation { max-width: 780px; margin: 40px auto 0 !important; padding: 0 !important; border: 0 !important; }
body.single-post .post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.single-post .post-navigation .nav-links > div { float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
#main .post-navigation .nav-links a { display: block; height: 100%; background: var(--rg-sand); border: 1px solid var(--rg-line); padding: 18px 20px; color: var(--rg-ink) !important; text-decoration: none; }
#main .post-navigation .nav-links a:hover { border-color: var(--rg-deep); }
#main .post-navigation .nav-links .title { display: block; font-family: var(--rg-head); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rg-deep); margin-bottom: 6px; }
#main .post-navigation .nav-links .post-title { font-family: var(--rg-head); font-size: 18px; font-weight: 600; line-height: 1.35; }
#main .post-navigation .nav-links .nav-next a { text-align: right; }
/* related posts */
body.single-post #related-posts { max-width: 1140px; margin: 56px auto 0 !important; padding: 44px 0 0 !important; border-top: 1px solid var(--rg-line) !important; }
body.single-post #related-posts .theme-heading { font-family: var(--rg-head); font-size: 28px; font-weight: 600; color: var(--rg-ink); border: 0 !important; margin: 0 0 24px !important; padding: 0 !important; text-transform: none; letter-spacing: 0; }
body.single-post #related-posts .theme-heading .icon, body.single-post #related-posts .theme-heading i { display: none; }
body.single-post #related-posts .theme-heading .text::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; background: var(--rg-rose); }
body.single-post #related-posts .oceanwp-row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 !important; }
body.single-post #related-posts article { width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 18px !important; background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); text-align: left !important; }
body.single-post #related-posts article:nth-child(2) { border-top-color: var(--rg-pool); }
body.single-post #related-posts article:nth-child(3) { border-top-color: var(--rg-sun); }
body.single-post #related-posts article img { display: block; width: 100%; aspect-ratio: 1200 / 440; object-fit: cover; height: auto; margin: 0 0 14px; }
body.single-post #related-posts .related-post-title { margin: 0 18px 6px !important; font-family: var(--rg-head); font-size: 18px; line-height: 1.35; }
#main #related-posts .related-post-title a { color: var(--rg-ink) !important; text-decoration: none; }
#main #related-posts .related-post-title a:hover { color: var(--rg-deep) !important; text-decoration: underline; }
body.single-post #related-posts time { display: block; margin: 0 18px; font-family: var(--rg-head); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rg-muted); }
body.single-post #related-posts time i { display: none; }
/* comments */
body.single-post #comments { max-width: 780px; margin: 56px auto 0 !important; padding-top: 40px; border-top: 1px solid var(--rg-line); }
body.single-post #comments .comment-reply-title, body.single-post #comments .theme-heading { font-family: var(--rg-head); font-size: 24px; color: var(--rg-ink); text-transform: none; letter-spacing: 0; border: 0; }
/* search results */
.rg-search-box { background: var(--rg-sand); border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 24px 28px 26px; margin: 0 0 36px; }
.rg-search-box label { display: block; font-family: var(--rg-head); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rg-ink); margin: 0 0 10px; }
.rg-search-row { display: flex; gap: 10px; }
.elementor-kit-36 #main .rg-search-row input[type="search"] { flex: 1 1 auto; min-width: 0; }
.rg-search-row button { flex: 0 0 auto; min-height: 48px; padding: 0 24px !important; }
body.search #content article.post, body.search #content article.page, body.search #content article { margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; }
body.search .search-entry-inner { display: flex; gap: 22px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--rg-line); border-left: 6px solid var(--rg-rose); padding: 22px 24px !important; }
body.search .search-entry-inner .thumbnail { flex: 0 0 120px; width: 120px !important; margin: 0 !important; float: none !important; }
body.search .search-entry-inner .thumbnail img { display: block; width: 120px; height: 90px; object-fit: cover; }
body.search .search-entry-content { flex: 1 1 auto; min-width: 0; width: auto !important; padding: 0 !important; float: none !important; }
body.search .search-entry-title { font-family: var(--rg-head); font-size: 21px !important; line-height: 1.3; margin: 0 0 8px !important; }
#main .search-entry-title a { color: var(--rg-ink) !important; text-decoration: none; }
#main .search-entry-title a:hover { color: var(--rg-deep) !important; text-decoration: underline; text-underline-offset: 3px; }
body.search .search-entry-summary, body.search .search-entry-summary p { font-size: 16px; line-height: 1.6; color: var(--rg-text); margin: 0 0 6px; }
body.search .search-entry-readmore { margin: 0 !important; }
body.search .page-header .page-subheading { display: none; }
/* responsive */
@media (max-width: 1024px) {
  body.blog #blog-entries, body.archive.category #blog-entries, body.archive.tag #blog-entries, body.archive.date #blog-entries, body.single-post #related-posts .oceanwp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body.blog #blog-entries, body.archive.category #blog-entries, body.archive.tag #blog-entries, body.archive.date #blog-entries, body.single-post #related-posts .oceanwp-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.single-post .post-navigation .nav-links { grid-template-columns: 1fr; }
  #main .post-navigation .nav-links .nav-next a { text-align: left; }
  body.single-post .entry-content, body.single-post .entry-content p, body.single-post .entry-content li { font-size: 17px; }
  body.search .search-entry-inner { flex-direction: column; gap: 14px; padding: 18px !important; }
  body.search .search-entry-inner .thumbnail, body.search .search-entry-inner .thumbnail img { width: 100% !important; flex-basis: auto; height: auto; aspect-ratio: 16 / 9; }
  .rg-search-row { flex-direction: column; }
  .rg-news-lede { font-size: 17px; }
}
/* END 17 */
#main .oceanwp-pagination ul.page-numbers li span.page-numbers.current, #main ul.page-numbers li span.page-numbers.current { background: var(--rg-ink) !important; border-color: var(--rg-ink) !important; color: #FFFFFF !important; }

#related-posts .theme-heading .text::before, #related-posts .theme-heading > i, #related-posts .theme-heading > span:not(.text) { display: none !important; }
.elementor-kit-36 .rg-search-row button[type="submit"] { background: var(--rg-deep) !important; border: 1px solid var(--rg-deep) !important; color: #FFFFFF !important; font-family: var(--rg-head) !important; font-weight: 600 !important; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px !important; font-size: 15px !important; }
.elementor-kit-36 .rg-search-row button[type="submit"]:hover { background: var(--rg-ink) !important; border-color: var(--rg-ink) !important; }
body .w3eden .pkg-date, body .w3eden [class*="pkg-cell--"] .pkg-date, body .w3eden .pkg-cell--date, body .w3eden .pkg-cell--date * { color: var(--rg-muted) !important; }

/* 18. ACCOUNT PAGES: sign in, reset password, reset notices — added 2026-10-27
   Markup: page-login.php (.mwx-login-wrap.rg-account) and pages 57/158/160 (.rg-account in an HTML block).
   Frontend Reset Password plugin CSS is overridden here, plugin untouched. */
body:has(.rg-account) #main { background-color: var(--rg-sand); }
body .rg-account { max-width: 480px; margin: 0 auto; padding: 0; }
body .rg-account-card { background: #FFFFFF; border: 1px solid var(--rg-line); border-top: 6px solid var(--rg-rose); padding: 36px 36px 30px; box-shadow: 0 10px 30px rgba(43, 34, 38, 0.06); }
body .rg-account-eyebrow { font-family: var(--rg-head); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rg-deep); margin: 0 0 6px; }
body .rg-account .rg-account-title, body .rg-account fieldset legend { font-family: var(--rg-head); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--rg-ink); margin: 0 0 10px; padding: 0; border: 0; width: 100%; }
body .rg-account .rg-account-intro, body .rg-account .somfrp-lost-pass-form-text p { font-size: 16px; line-height: 1.55; color: var(--rg-text); margin: 0 0 24px; }
body .rg-account fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
body .rg-account label, body .mwx-login-wrap #mwx-loginform label { display: block !important; font-family: var(--rg-head); font-size: 15px; font-weight: 600; color: var(--rg-ink); margin: 0 0 6px; }
/* sign in form sits inside the card now */
body .mwx-login-wrap #mwx-loginform { border: 0; padding: 0; background: transparent; box-shadow: none; border-radius: 0; }
body .mwx-login-wrap #mwx-loginform p { margin: 0 0 18px; }
body .mwx-login-wrap #mwx-loginform p.login-submit { margin: 0; }
body .mwx-login-wrap #mwx-loginform .login-remember label { display: inline-flex !important; align-items: center; gap: 10px; font-family: inherit; font-weight: 500; font-size: 15px; color: var(--rg-text); min-height: 44px; margin: 0; cursor: pointer; }
body .mwx-login-wrap #mwx-loginform .login-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--rg-deep); }
/* full-width fields (plugin hard-codes 200px / 250px) */
body .rg-account input[type="text"], body .rg-account input[type="password"], body .rg-account #somfrp_user_info,
body .rg-account .somfrp-password-wrapper, body .rg-account .somfrp-password-wrapper input.som-password-input { width: 100%; max-width: none; box-sizing: border-box; }
body .rg-account .somfrp-password-wrapper { margin: 0 0 18px; }
body .rg-account .somfrp-password-wrapper .somfrp-password-wrapper { margin: 0; }
body .rg-account .somfrp-password-wrapper input.som-password-input { padding-right: 52px; }
body .rg-account #lostpasswordform p.no-margin { margin: 0 0 20px; }
/* show / hide password toggle: keep Elementor's button style off it */
.elementor-kit-36 .rg-account .somfrp-eye-toggle { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0; width: 44px; height: 44px; right: 2px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; }
.elementor-kit-36 .rg-account .somfrp-eye-toggle:hover { background: var(--rg-blush) !important; }
.rg-account .somfrp-eye-toggle svg { width: 20px; height: 20px; fill: var(--rg-ink); }
/* primary button, full width */
.elementor-kit-36 .rg-account button[type="submit"], .elementor-kit-36 .rg-account input[type="submit"], .elementor-kit-36 .rg-account .rg-account-btn {
  display: block; width: 100%; margin: 0; min-height: 50px; padding: 14px 26px; font-size: 15px !important; line-height: 1.2 !important; text-align: center;
  background-color: var(--rg-deep) !important; border: 0 !important; color: #FFFFFF !important; font-family: var(--rg-head) !important; font-weight: 600 !important;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px !important; text-decoration: none !important; box-shadow: none !important; cursor: pointer;
}
.elementor-kit-36 .rg-account button[type="submit"]:hover, .elementor-kit-36 .rg-account input[type="submit"]:hover, .elementor-kit-36 .rg-account .rg-account-btn:hover { background-color: var(--rg-ink) !important; color: #FFFFFF !important; }
body .rg-account .lostpassword-submit { margin: 4px 0 0; }
body .rg-account #reset-pass-submit { margin: 0; }
/* notices and errors (plugin default was solid blue) */
body .rg-account .som-password-sent-message, body .mwx-login-error {
  display: block; width: auto; margin: 0 0 22px; padding: 12px 16px; border: 0; border-left: 4px solid var(--rg-pool); border-radius: 0; background: #E8F3F3; color: var(--rg-ink); font-size: 15px; line-height: 1.5;
}
body .rg-account .som-password-error-message, body .mwx-login-error { border-left-color: #A6260B; background: #FCEBEA; }
body .rg-account .password-requirements { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }
body .rg-account .password-requirements li { color: var(--rg-muted); }
body .rg-account .password-requirements li.valid { color: var(--rg-pool); }
body .rg-account .password-requirements li.invalid { color: #A6260B; }
/* links under the form and below the card */
body .mwx-login-links { text-align: center; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--rg-line); font-size: 15px; }
body .rg-account-help { text-align: center; margin: 22px 0 0; font-size: 15px; color: var(--rg-text); }
body .rg-account-help a, body .rg-account-card p a:not(.rg-account-btn) { color: var(--rg-deep); text-decoration: underline; text-underline-offset: 3px; }
body .rg-account-help a:hover, body .rg-account-card p a:not(.rg-account-btn):hover { color: var(--rg-ink); }
@media (max-width: 767px) {
  body .rg-account-card { padding: 28px 20px 24px; }
  body .rg-account .rg-account-title, body .rg-account fieldset legend { font-size: 24px; }
}
/* END 18 */

/* 19. Account dashboard centered + profile editor field grid (2026-11-12) */
.mwx-dashboard { margin-left: auto; margin-right: auto; }

.hwp-editor .hwp-section:has(.hwp-field) {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 18px;
}
.hwp-editor .hwp-section:has(.hwp-field) > .hwp-h2 { grid-column: 1 / -1; margin-bottom: 0; }
.hwp-editor .hwp-section .hwp-field { margin: 0; grid-column: 1 / -1; }
@media (min-width: 768px) {
  .hwp-editor .hwp-field:has(#hwp-f-name_first),
  .hwp-editor .hwp-field:has(#hwp-f-name_last),
  .hwp-editor .hwp-field:has(#hwp-f-user_email_address),
  .hwp-editor .hwp-field:has(#hwp-f-local_address) { grid-column: span 6; }
  .hwp-editor .hwp-field:has(#hwp-f-home_phone),
  .hwp-editor .hwp-field:has(#hwp-f-mobile_phone),
  .hwp-editor .hwp-field:has(#hwp-f-other_phone) { grid-column: span 4; }
  .hwp-editor .hwp-field:has(#hwp-f-other_address) { grid-column: span 7; }
  .hwp-editor .hwp-field:has(#hwp-f-mailing_city_state_zip) { grid-column: span 5; }
  .hwp-editor .hwp-visibility-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 10px; }
}
/* END 19 */

/* 20. Documents page: category filter tree + Match Any/All (2026-11-12) */
.w3eden #wpdmcat-tree, .w3eden #wpdmcat-tree ul, .w3eden #wpdmcat-tree li,
#wpdmcat-tree li ul li { list-style: none !important; }
.w3eden #wpdmcat-tree li { margin: 0 0 8px !important; padding: 0 !important; }
.w3eden #wpdmcat-tree li ul {
  margin: 8px 0 4px 8px !important;
  padding: 0 0 0 16px !important;
  border-left: 2px solid var(--rg-line);
}
.w3eden #wpdmcat-tree li label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  cursor: pointer;
}
.w3eden #wpdmcat-tree li label input[type=checkbox] { flex: 0 0 auto; margin: 1px 0 0 !important; }
.wpdmap-card-filter .card-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wpdmap-card-filter .card-footer label { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; }
.wpdmap-card-filter .card-footer input[type=radio] { margin: 0 !important; }
/* END 20 */

/* 21. Footer buttons: rose hover on the dark footer (global ink hover disappeared there) (2026-11-12) */
.elementor-kit-36 .elementor-location-footer .elementor-widget-button:not(.elementor-element-305487f0) .elementor-button:hover,
.elementor-kit-36 .elementor-location-footer .elementor-widget-button:not(.elementor-element-305487f0) .elementor-button:focus {
  background-color: #E471AD !important; border-color: #E471AD !important; color: var(--rg-ink) !important;
}
/* END 21 */

/* 22. Accessibility audit fixes (2026-12-03) */
/* Resources: links inside descriptions were light rose (3.6:1) and told apart from text by color only */
#main .hwr-desc a { color: var(--rg-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#main .hwr-desc a:hover { color: var(--rg-ink); text-decoration-thickness: 2px; }
/* (the plugin fades the whole description to 75% opacity, which is what washed the links out) */
#main .hwr-desc { opacity: 1; color: var(--rg-muted); }
/* Home hero: eyebrow line was deep rose on the ink panel (2.7:1) */
.rg-hero .rg-eyebrow .elementor-heading-title { color: #F2A3C9; }
/* Download Manager "no access" notice: red text on pink was 2.8:1 */
.w3eden .alert.alert-danger, .w3eden .alert.alert-danger p { color: #8A1C2B !important; }
/* Footer phone / email links: at least 24px tall for touch (WCAG 2.5.8) */
.elementor-location-footer a[href^="tel:"], .elementor-location-footer a[href^="mailto:"] { display: inline-block; min-height: 24px; line-height: 24px; }
/* Sticky header (75px) covered links reached with the Tab key and anchor jumps (WCAG 2.4.11) */
@media (min-width: 960px) { html { scroll-padding-top: 96px; } }
/* Focus ring on buttons: the button rule "box-shadow: none !important" was removing the white halo, leaving a dark
   outline that vanished on dark panels (home hero). Restore the halo on focus, and use a white ring inside the hero. */
.elementor-kit-36 .elementor-button:focus-visible, .elementor-kit-36 input[type="submit"]:focus-visible,
.elementor-kit-36 button[type="submit"]:focus-visible, .elementor-kit-36 .gform_button:focus-visible,
.elementor-kit-36 .w3eden .btn:focus-visible, .elementor-kit-36 .button:focus-visible {
  box-shadow: 0 0 0 6px #FFFFFF !important;
}
.elementor-kit-36 .rg-hero a:focus-visible, .elementor-kit-36 .rg-hero button:focus-visible {
  outline-color: #FFFFFF !important; box-shadow: 0 0 0 6px var(--rg-ink) !important;
}
/* Small touch targets: Documents "Reset filter" link and the signature toolbar buttons (WCAG 2.5.8, 24px minimum) */
.w3eden #reset-filter { display: inline-block; min-height: 24px; }
.gfield_signature_toolbar_icons button.gform-common-icon { min-width: 24px; min-height: 24px; background-position: center !important; }
/* "Log in to see all items" notice: link was told apart by color only */
.hwu-archive-notice a { text-decoration: underline; text-underline-offset: 3px; }
/* Site Manager sign-in button: rose link color on the blue button was 1.1:1 */
.hwc-shell a.hwc-btn, a.hwc-btn { color: #FFFFFF !important; }
/* Login page: "Forgot your password?" link at least 24px tall */
.mwx-login-links a { display: inline-block; min-height: 24px; line-height: 24px; }
/* Footer: leftover phone-number widget sits hidden behind the sand card (same leftover as the hidden heading in section 9),
   but keyboard and screen-reader users still landed on it. Hide it for everyone. */
.elementor-location-footer .elementor-element-10c0b2c { display: none; }
/* Document manager (staff screens): pale grey helper text and white-on-orange button were under 3:1 */
.w3eden .drag-drop-inside p, .w3eden .drag-drop-inside small, .w3eden .wpdm-file-card__ext, .w3eden small { color: var(--rg-muted) !important; }
.w3eden .btn.btn-warning { color: var(--rg-ink) !important; }
/* END 22 */
