/* Public welcome and recovery pages. Member pages keep their own layout. */
.wf-guest { background:#f6f8f6; }
.wf-guest .wf-public-header { background:#fff; }
.wf-guest .wf-public-header-inner { max-width:1240px; min-height:88px; padding:14px 36px; }
.wf-guest .wf-public-header .wf-brand img { width:218px; height:56px; }
.wf-guest .wf-header-note { font-size:12px; }
.wf-guest .wf-public-header .wf-language-switcher summary { border-radius:24px; padding-inline:16px; }
.wf-guest .wf-welcome { max-width:1240px; padding:48px 36px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:start; gap:40px; }
.wf-guest .wf-welcome-story { min-width:0; padding:42px 38px 32px; background:#eaf0ea; border:1px solid #dfe7dd; border-radius:26px; }
.wf-guest .wf-welcome-copy { padding:0; }
.wf-guest .wf-welcome-copy .wf-eyebrow { gap:10px; font-size:10px; letter-spacing:.085em; }
.wf-guest .wf-welcome-copy .wf-eyebrow>span { width:22px; }
.wf-guest .wf-welcome-copy h1 { font-size:clamp(40px,4.1vw,55px); line-height:1.12; letter-spacing:-.045em; margin:24px 0; }
.wf-guest .wf-welcome-copy h1 em { color:#58765f; }
.wf-guest .wf-welcome-lead { font-size:17px; line-height:1.6; margin:0 0 12px; }
.wf-guest .wf-welcome-description { font-size:14px; line-height:1.8; margin:0; }
.wf-guest .wf-family-emblem { gap:14px; min-height:54px; margin:26px 0; }
.wf-guest .wf-family-emblem img { width:46px; height:46px; }
.wf-guest .wf-emblem-orbit { display:none; }
.wf-guest .wf-emblem-caption { font:inherit; font-size:12px; line-height:1.7; max-width:220px; }
.wf-guest .wf-feature-list { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; padding:25px 0 0; border-top:1px solid #cfdccc; }
.wf-guest .wf-feature-list>div { display:flex; align-items:center; gap:14px; }
.wf-guest .wf-feature-icon { width:42px; height:42px; margin:0; border:0; background:#fff9; border-radius:12px; color:#4f7665; }
.wf-guest .wf-feature-list strong { margin:0 0 2px; font-size:13px; }
.wf-guest .wf-feature-list small { font-size:12px; }
.wf-guest .wf-login-panel { max-width:none; width:100%; }
.wf-guest .wf-login-card { padding:32px; border:1px solid #dbe5de; border-radius:26px; box-shadow:0 12px 32px #24463806; }
.wf-guest .wf-login-icon { display:grid; width:42px; height:42px; border-radius:13px; margin:0 0 20px; background:#edf3ee; }
.wf-guest .wf-login-card>.wf-eyebrow { display:none; }
.wf-guest .wf-login-card>h2 { font-family:inherit; font-size:29px; font-weight:600; line-height:1.25; letter-spacing:-.035em; margin:0 0 8px; }
.wf-guest .wf-login-intro { font-size:14px; line-height:1.6; margin:0 0 26px; }
.wf-guest .wf-invitation-note { margin-top:20px; padding-top:20px; font-size:12px; line-height:1.75; }
.wf-guest .wf-belonging-note { margin-top:16px; font-size:12px; }
.wf-guest .wf-public-footer { max-width:1168px; margin:auto; padding:20px 0 26px; border-color:#dce5dc; font-size:11px; }

/* Native Joomla and EasySocial fields have the same sizing and clear labels. */
.wf-guest .wf-auth-component form { margin:0; padding:0; border:0; background:none; box-shadow:none; }
.wf-guest .wf-auth-component .wf-native-login .control-group { display:block; margin:0 0 18px; }
.wf-guest .wf-auth-component .control-label { float:none; width:auto; padding:0; text-align:start; margin:0 0 7px; }
.wf-guest .wf-auth-component .controls { margin:0; min-width:0; }
.wf-guest .wf-auth-component :is(.control-label>label,.wari-login-field>label) { color:#365b60; font-size:13px; line-height:1.5; font-weight:600; }
.wf-guest .wf-auth-component :is(input[type=text],input[type=email],input[type=password]) { width:100%; min-width:0; min-height:50px; height:auto; border:1px solid #ccdad2; border-radius:12px; padding:12px 14px; background:#fbfcfb; color:#25424a; font-size:16px!important; line-height:1.5; box-shadow:none; }
.wf-guest .wf-auth-component #es .wari-family-login input.o-form-control { min-height:50px!important; border-radius:12px; border-color:#ccdad2; background:#fbfcfb; }
.wf-guest .wf-auth-component input:focus { border-color:#578579; background:#fff; box-shadow:0 0 0 3px #5e887c18; }
.wf-guest .wf-auth-component .password-group .input-group { position:relative; display:flex; align-items:stretch; }
.wf-guest .wf-auth-component .password-group input { padding-inline-end:54px; }
.wf-guest .wf-auth-component .input-password-toggle { display:grid; place-items:center; position:absolute; inset-inline-end:3px; top:3px; bottom:3px; width:44px; min-height:44px; padding:10px; border:0; border-radius:10px; background:transparent; color:#577369; }
.wf-guest .wf-auth-component .input-password-toggle:hover { background:#ecf2ed; }
.wf-guest .wf-auth-component .input-password-toggle .icon-fw { display:block; width:22px; height:22px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center/contain no-repeat; }
.wf-guest .wf-auth-component .input-password-toggle .icon-fw:before { content:none; }
.wf-guest .wf-auth-component .input-password-toggle .icon-eye-slash { opacity:.6; }
.wf-guest .wf-auth-component .visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.wf-guest .wf-auth-component .form-control-feedback { display:block; font-size:12px; font-weight:400; color:#a43e35; }
.wf-guest .wf-auth-component input[aria-invalid=true] { border-color:#b94d42; }
.wf-guest .com-users-login__remember { display:flex; align-items:center; gap:9px; min-height:44px; margin:-4px 0 12px; }
.wf-guest .com-users-login__remember input { width:18px; height:18px; margin:0; accent-color:#1c5360; }
.wf-guest .com-users-login__remember label { display:flex; align-items:center; min-height:44px; font-size:13px; cursor:pointer; }
.wf-guest .wf-auth-component button.wf-auth-submit,
.wf-guest .wf-auth-component #es .wari-family-login [data-login-submit] { display:flex; align-items:center; justify-content:center; width:100%; min-height:50px; padding:12px 18px; border:1px solid #1c5360; border-radius:12px; background:#1c5360; color:#fff; font-size:15px; font-weight:600; line-height:1.5; }
.wf-guest .wf-auth-component button.wf-auth-submit:hover { background:#163f48; }
.wf-guest .wf-auth-alternatives { margin-top:16px; }
.wf-guest .wf-auth-divider { display:flex; align-items:center; gap:12px; margin:0 0 16px; color:#7c8b83; font-size:12px; }
.wf-guest .wf-auth-divider:before,.wf-guest .wf-auth-divider:after { content:""; height:1px; background:#e2e9e3; flex:1; }
.wf-guest .wf-auth-component .wf-auth-method { display:flex; align-items:center; justify-content:center; gap:10px; min-height:50px; width:100%; padding:12px 16px; border:1px solid #bfcfc6; border-radius:12px; background:#f6f9f6; color:#254f4d; font:inherit; font-size:14px; font-weight:600; line-height:1.55; }
.wf-guest .wf-auth-component .wf-auth-method:hover { background:#eaf2eb; border-color:#90b1a1; }
.wf-guest .wf-auth-method :is(svg,img) { display:block; width:22px; height:22px; min-width:22px; max-width:22px; max-height:22px; flex:0 0 22px; }
.wf-guest .wf-auth-method-hint { color:#5f756b; font-size:12px; line-height:1.7; margin:9px 0 0; }
.wf-guest .wf-auth-setup-hint,.wf-guest .wf-auth-secure { color:#6c7d72; font-size:12px; line-height:1.7; margin:10px 0 0; }
.wf-guest .wf-auth-component #es .wf-auth-method-hint { margin:9px 0 0; }
.wf-guest .wf-auth-component #es .wf-auth-setup-hint { margin:10px 0 0; }
.wf-guest .wf-auth-secure a { text-decoration:underline; text-underline-offset:3px; }
.wf-guest :is(.wf-auth-recovery,#es .wari-login-recovery) { display:flex; flex-wrap:wrap; justify-content:space-between; gap:0 12px; margin-top:14px; padding:0; }
.wf-guest :is(.wf-auth-recovery a,#es .wari-login-recovery a) { display:inline-flex; align-items:center; min-height:44px; padding:9px 0; color:#315d56; font-size:12px; line-height:1.5; text-align:start; }
.wf-guest :is(.wf-auth-recovery a,#es .wari-login-recovery a):hover { text-decoration:underline; text-underline-offset:3px; }
.wf-guest #es .wari-login-recovery__separator { display:none; }
.wf-guest #system-message-container { margin-bottom:16px; overflow-wrap:anywhere; }
.wf-guest #system-message-container:empty { display:none; }
.wf-guest #system-message-container .alert { padding:14px 16px; margin:0 0 12px; border:1px solid #eacfc9; border-radius:12px; background:#fff3f0; color:#923e32; font-size:13px; }
.wf-guest #system-message-container .alert-heading { font-size:14px; }
.wf-guest #system-message-container .alert p:last-child { margin-bottom:0; }
[dir=rtl] .wf-guest .wf-welcome-copy h1,[dir=rtl] .wf-guest .wf-login-card>h2 { letter-spacing:0; }

@media(max-width:1250px) { .wf-guest .wf-public-footer { margin-inline:36px; } }
@media(max-width:1000px) and (min-width:901px) {
  .wf-guest .wf-welcome { padding-inline:28px; gap:24px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .wf-guest .wf-welcome-story { padding:34px 26px 28px; }
  .wf-guest .wf-login-card { padding:28px 24px; }
}
@media(max-width:900px) {
  .wf-guest .wf-welcome { max-width:600px; padding:30px 24px; grid-template-columns:minmax(0,1fr); gap:26px; }
  .wf-guest .wf-welcome-story { display:contents; }
  .wf-guest .wf-welcome-copy { order:1; text-align:center; padding:0 12px; }
  .wf-guest .wf-welcome-copy .wf-eyebrow { justify-content:center; font-size:9px; }
  .wf-guest .wf-welcome-copy h1 { margin:16px 0 12px; font-size:40px; }
  .wf-guest .wf-welcome-lead { margin:0; font-size:15px; }
  .wf-guest .wf-login-panel { order:2; }
  .wf-guest .wf-login-card { padding:28px; border-radius:22px; }
  .wf-guest .wf-feature-list { order:3; gap:18px; padding:24px; border:1px solid #dfe7dd; border-radius:20px; background:#eaf0ea; }
  .wf-guest .wf-public-footer { margin-inline:24px; }
}
@media(max-width:700px) {
  .wf-guest .wf-public-header-inner { padding:10px 18px; gap:8px; min-height:0; }
  .wf-guest .wf-public-header .wf-brand img { width:188px; height:46px; }
  .wf-guest .wf-public-header .wf-language-switcher summary { padding-inline:13px; border-radius:24px; }
  .wf-guest .wf-header-note { font-size:10px; }
  .wf-guest .wf-public-header .wf-header-signin { padding:9px 13px; min-height:44px; border-radius:22px; font-size:11px; }
  .wf-guest .wf-login-panel { scroll-margin-top:138px; }
  .wf-guest .wf-language-options { max-height:calc(100dvh - 85px); }
}
@media(max-width:480px) {
  .wf-guest .wf-welcome { padding:26px 16px; gap:24px; }
  .wf-guest .wf-welcome-copy { padding:0; }
  .wf-guest .wf-welcome-copy h1 { font-size:34px; line-height:1.12; margin-block:14px 12px; }
  .wf-guest .wf-welcome-copy .wf-eyebrow { font-size:8px; letter-spacing:.06em; gap:8px; }
  .wf-guest .wf-welcome-lead { font-size:13px; }
  .wf-guest .wf-login-card { padding:24px 20px; border-radius:22px; }
  .wf-guest .wf-login-icon { display:none; }
  .wf-guest .wf-login-card>h2 { font-size:26px; }
  .wf-guest .wf-login-intro { margin-bottom:22px; font-size:13px; }
  .wf-guest .wf-feature-list { padding:22px; }
  .wf-guest .wf-public-footer { margin-inline:18px; flex-wrap:wrap; font-size:10px; gap:8px; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
  .wf-guest :is(.wf-auth-recovery,#es .wari-login-recovery) { gap:0 8px; }
}
@media(max-width:360px) {
  .wf-guest .wf-public-header-inner { padding-inline:14px; }
  .wf-guest .wf-public-header .wf-brand img { width:168px; height:44px; }
  .wf-guest .wf-welcome-copy h1 { font-size:30px; }
  .wf-guest .wf-login-card { padding-inline:18px; }
}
