.elementor-1166 .elementor-element.elementor-element-7d8af10b:not(.elementor-motion-effects-element-type-background), .elementor-1166 .elementor-element.elementor-element-7d8af10b > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#07101A;}.elementor-1166 .elementor-element.elementor-element-7d8af10b > .elementor-container{max-width:1200px;}.elementor-1166 .elementor-element.elementor-element-7d8af10b{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:5px 0px 5px 0px;}.elementor-1166 .elementor-element.elementor-element-7d8af10b > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1166 .elementor-element.elementor-element-4be09b63{font-family:"Arial", Sans-serif;font-size:13px;font-weight:400;line-height:1.5em;color:#ED1C24;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1166 .elementor-element.elementor-element-43df1d9d .elementor-heading-title{font-family:"Arial", Sans-serif;font-size:48px;font-weight:700;line-height:1.1em;color:#FFFFFF;}.elementor-1166 .elementor-element.elementor-element-12556dd5{font-family:"Arial", Sans-serif;font-size:17px;font-weight:400;line-height:1.5em;color:#D8DEE5;}.elementor-1166 .elementor-element.elementor-element-50ad36b3:not(.elementor-motion-effects-element-type-background), .elementor-1166 .elementor-element.elementor-element-50ad36b3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F6F8FA;}.elementor-1166 .elementor-element.elementor-element-50ad36b3 > .elementor-container{max-width:1200px;}.elementor-1166 .elementor-element.elementor-element-50ad36b3{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:55px 30px 25px 30px;}.elementor-1166 .elementor-element.elementor-element-50ad36b3 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-1166 .elementor-element.elementor-element-1d01e57d > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-1166 .elementor-element.elementor-element-507c35bc .elementor-heading-title{font-family:"Arial", Sans-serif;font-size:30px;font-weight:700;line-height:1.1em;color:#07101A;}.elementor-1166 .elementor-element.elementor-element-512919db{font-family:"Arial", Sans-serif;font-size:16px;font-weight:400;line-height:1.5em;color:#66717D;}.elementor-1166 .elementor-element.elementor-element-a93ba96:not(.elementor-motion-effects-element-type-background), .elementor-1166 .elementor-element.elementor-element-a93ba96 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F6F8FA;}.elementor-1166 .elementor-element.elementor-element-a93ba96 > .elementor-container{max-width:1200px;}.elementor-1166 .elementor-element.elementor-element-a93ba96{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:25px 30px 70px 30px;}.elementor-1166 .elementor-element.elementor-element-a93ba96 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-1166 .elementor-element.elementor-element-23820557 > .elementor-element-populated{padding:0px 80px 0px 80px;}.elementor-1166 .elementor-element.elementor-element-41ab7575 .elementor-heading-title{font-family:"Arial", Sans-serif;font-size:34px;font-weight:700;line-height:1.1em;color:#07101A;}.elementor-1166 .elementor-element.elementor-element-161bef1f{font-family:"Arial", Sans-serif;font-size:16px;font-weight:400;line-height:1.5em;color:#66717D;}/* Start custom CSS for shortcode, class: .elementor-element-5657f209 *//* MyHeroID Member UI CSS v1.0.1
   Target: #emergency-profile-editor -> [mhid_profile_editor]
   Built against actual output markup captured 2026-11-01.
*/

#emergency-profile-editor {
  --mhid-dark:#07101A;
  --mhid-blue:#249FE8;
  --mhid-blue-dark:#167FBE;
  --mhid-red:#ED1C24;
  --mhid-red-dark:#C9141B;
  --mhid-text:#17202A;
  --mhid-muted:#66717D;
  --mhid-border:#DCE2E8;
  --mhid-light:#F6F8FA;
  --mhid-white:#FFFFFF;
  width:100%;
  color:var(--mhid-text);
}

/* 1. Full working area */
#emergency-profile-editor .elementor-shortcode {
  box-sizing:border-box;
  width:100% !important;
  max-width:1000px !important;
  margin:0 auto !important;
  font-size:16px;
  line-height:1.5;
}
#emergency-profile-editor .elementor-shortcode > form,
#emergency-profile-editor .elementor-shortcode > section {
  box-sizing:border-box;
  width:100% !important;
  max-width:100% !important;
}

/* Typography / section rhythm */
#emergency-profile-editor .elementor-shortcode > h2 {
  margin:38px 0 8px;
  color:var(--mhid-dark);
  font-size:30px;
  line-height:1.15;
  font-weight:700;
}
#emergency-profile-editor .elementor-shortcode > form > h3 {
  grid-column:1 / -1;
  margin:34px 0 4px;
  padding:0 0 10px;
  color:var(--mhid-dark);
  font-size:22px;
  line-height:1.2;
  font-weight:700;
  border-bottom:2px solid var(--mhid-blue);
}
#emergency-profile-editor .elementor-shortcode > form > h3:first-of-type { margin-top:18px; }
#emergency-profile-editor .elementor-shortcode p { color:var(--mhid-muted); }

/* 4 & 5. Profile Photo and Membership cards */
#emergency-profile-editor .elementor-shortcode > section,
#emergency-profile-editor .mhid-profile-card-location,
#emergency-profile-editor .hnpm-membership-card {
  background:var(--mhid-white) !important;
  border:1px solid var(--mhid-border) !important;
  border-radius:12px !important;
  box-shadow:0 4px 16px rgba(7,16,26,.045);
}
#emergency-profile-editor .elementor-shortcode > section {
  padding:28px !important;
  margin:0 0 24px !important;
}
#emergency-profile-editor .elementor-shortcode > section > h3,
#emergency-profile-editor .hnpm-membership-card > h3 {
  margin:0 0 16px;
  color:var(--mhid-dark);
  font-size:22px;
  font-weight:700;
}
#emergency-profile-editor .elementor-shortcode > section:first-child > img {
  width:150px;
  height:150px;
  object-fit:cover;
  border-radius:12px !important;
  border:3px solid var(--mhid-white);
  box-shadow:0 0 0 1px var(--mhid-border),0 5px 16px rgba(7,16,26,.10);
}
#emergency-profile-editor .hnpm-membership-card {
  padding:24px !important;
  margin:12px 0 20px !important;
}
#emergency-profile-editor .hnpm-membership-card img {
  width:100% !important;
  max-width:460px !important;
  height:auto !important;
}
#emergency-profile-editor .mhid-wallpaper-actions { margin-top:16px !important; }

/* Inputs and labels */
#emergency-profile-editor label {
  color:var(--mhid-dark);
  font-size:14px;
  font-weight:500;
  line-height:1.4;
}
#emergency-profile-editor label strong {
  display:inline-block;
  margin-bottom:6px;
  color:var(--mhid-dark);
  font-weight:700;
}
#emergency-profile-editor input[type="text"],
#emergency-profile-editor input[type="email"],
#emergency-profile-editor input[type="tel"],
#emergency-profile-editor input[type="number"],
#emergency-profile-editor input[type="date"],
#emergency-profile-editor input[type="url"],
#emergency-profile-editor input[type="password"],
#emergency-profile-editor input:not([type]),
#emergency-profile-editor select,
#emergency-profile-editor textarea {
  box-sizing:border-box;
  display:block;
  width:100% !important;
  max-width:none !important;
  min-height:46px;
  margin:0;
  padding:10px 13px;
  color:var(--mhid-text);
  background:var(--mhid-white);
  border:1px solid #BFC9D4;
  border-radius:6px;
  font-family:inherit;
  font-size:16px;
  line-height:1.4;
}
#emergency-profile-editor textarea { min-height:115px; resize:vertical; }
#emergency-profile-editor input:focus,
#emergency-profile-editor select:focus,
#emergency-profile-editor textarea:focus {
  outline:none;
  border-color:var(--mhid-blue);
  box-shadow:0 0 0 3px rgba(36,159,232,.18);
}
#emergency-profile-editor .mhid-phone-dial[readonly] {
  background:#EEF2F5;
  color:#4E5B66;
}

/* 2. Main save form becomes a two-column desktop grid.
   Exact form identified by actual hidden action field. */
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px 24px;
  width:100% !important;
  max-width:100% !important;
  margin-top:18px;
}
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > input[type="hidden"],
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > script {
  display:none;
}
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > p,
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > .mhid-phone-row {
  box-sizing:border-box;
  margin:0;
  padding:18px !important;
  background:var(--mhid-white);
  border:1px solid var(--mhid-border);
  border-radius:10px;
}
/* long narrative medical fields take the full row */
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > p:has(textarea) {
  grid-column:1 / -1;
}
/* section headings and save action span full grid */
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > h3,
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > button[type="submit"] {
  grid-column:1 / -1;
}

/* 6. Country + dial code + phone in one row */
#emergency-profile-editor .mhid-phone-row {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(260px,1.65fr) minmax(110px,.55fr) minmax(220px,1.2fr);
  gap:16px;
  align-items:end;
}
#emergency-profile-editor .mhid-phone-row > label { min-width:0; }
#emergency-profile-editor .mhid-phone-row > label:last-of-type {
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  gap:9px;
  padding-top:2px;
}

/* 7. Privacy controls */
#emergency-profile-editor input[type="checkbox"],
#emergency-profile-editor input[type="radio"] {
  width:20px;
  height:20px;
  margin:0 8px 0 0;
  vertical-align:middle;
  accent-color:var(--mhid-blue);
}
#emergency-profile-editor p > label:last-child,
#emergency-profile-editor .mhid-phone-row > label:last-child {
  color:#4E5B66;
  font-size:13px;
  font-weight:600;
}

/* 8. MyHeroID actions */
#emergency-profile-editor a.button,
#emergency-profile-editor button,
#emergency-profile-editor input[type="button"],
#emergency-profile-editor input[type="submit"] {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 20px;
  margin:6px 8px 6px 0;
  color:#fff !important;
  background:var(--mhid-blue) !important;
  border:1px solid var(--mhid-blue) !important;
  border-radius:6px !important;
  box-shadow:none !important;
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none !important;
  cursor:pointer;
}
#emergency-profile-editor a.button:hover,
#emergency-profile-editor button:hover,
#emergency-profile-editor input[type="button"]:hover {
  background:var(--mhid-blue-dark) !important;
  border-color:var(--mhid-blue-dark) !important;
}

/* 9. Main Save Emergency Profile CTA */
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > button[type="submit"] {
  width:max-content;
  min-width:240px;
  margin-top:14px;
  padding:14px 28px;
  background:var(--mhid-red) !important;
  border-color:var(--mhid-red) !important;
  font-size:16px;
}
#emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > button[type="submit"]:hover {
  background:var(--mhid-red-dark) !important;
  border-color:var(--mhid-red-dark) !important;
}

/* Hero .elementor-1166 .elementor-element.elementor-element-5657f209, separate from save form */
#emergency-profile-editor .elementor-shortcode > form[method="get"] {
  width:100%;
  max-width:620px !important;
  margin:18px 0 12px;
  padding:18px;
  background:#fff;
  border:1px solid var(--mhid-border);
  border-radius:10px;
}

/* Digital downloads in separate Elementor section */
#digital-downloads .elementor-shortcode,
#digital-downloads .hnpm-digital-assets {
  width:100%;
  max-width:1000px;
  margin:0 auto;
}
#digital-downloads .hnpm-digital-assets a.button {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin:4px 8px 4px 0;
  padding:11px 20px;
  color:#fff !important;
  background:#249FE8 !important;
  border-radius:6px;
  font-weight:700;
  text-decoration:none !important;
}
#digital-downloads .hnpm-digital-assets a.button:hover { background:#167FBE !important; }

/* 3. Tablet/mobile: collapse to one column */
@media (max-width:1024px) {
  #emergency-profile-editor .elementor-shortcode { max-width:100% !important; }
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) {
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  #emergency-profile-editor .mhid-phone-row {
    grid-template-columns:1.4fr .6fr 1fr;
  }
}

@media (max-width:767px) {
  #emergency-profile-editor .elementor-shortcode { font-size:15px; }
  #emergency-profile-editor .elementor-shortcode > section { padding:18px !important; }
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) {
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
  }
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > p,
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > h3,
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > .mhid-phone-row,
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > button[type="submit"] {
    grid-column:1;
  }
  #emergency-profile-editor .mhid-phone-row {
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }
  #emergency-profile-editor .mhid-phone-row > label:last-of-type { grid-column:1; }
  #emergency-profile-editor input[type="text"],
  #emergency-profile-editor input[type="email"],
  #emergency-profile-editor input[type="tel"],
  #emergency-profile-editor input[type="number"],
  #emergency-profile-editor input[type="date"],
  #emergency-profile-editor input[type="url"],
  #emergency-profile-editor input[type="password"],
  #emergency-profile-editor input:not([type]),
  #emergency-profile-editor select,
  #emergency-profile-editor textarea {
    font-size:16px; /* prevent iOS zoom */
  }
  #emergency-profile-editor form:has(input[name="action"][value="mhid_192d_profile_save"]) > button[type="submit"],
  #emergency-profile-editor a.button,
  #emergency-profile-editor button,
  #digital-downloads .hnpm-digital-assets a.button {
    width:100%;
    margin-right:0;
  }
  #emergency-profile-editor .hnpm-membership-card img { max-width:100% !important; }
}/* End custom CSS */