.nfmhp {
  position: relative;
  width: 100%;
  color: #111827;
}

.nfmhp__sticky {
  position: sticky;
  top: 0;
  z-index: 99;
}

.nfmhp__bar {
  display: grid;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  backdrop-filter: blur(10px);
  min-height: 64px;
  grid-template-columns: 42px minmax(0, 1fr);
}

.nfmhp__bar--2 { grid-template-columns: 42px minmax(0, 1fr); }
.nfmhp__bar--3 { grid-template-columns: 42px minmax(0, 1fr) 42px; }
.nfmhp__bar--4 { grid-template-columns: 42px minmax(0, 1fr) 42px 42px; }

.nfmhp__toggle,
.nfmhp__icon-btn,
.nfmhp__close,
.nfmhp__social-close,
.nfmhp__search-close,
.nfmhp__voice-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d1d5db;
  background: #f8fafc;
  color: #111827;
  cursor: pointer;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: none;
}

.nfmhp__toggle,
.nfmhp__icon-btn { width: 42px; height: 42px; padding: 0; }
.nfmhp__close,
.nfmhp__social-close,
.nfmhp__search-close,
.nfmhp__voice-button { width: 46px; height: 46px; padding: 0; }

.nfmhp__toggle:hover,
.nfmhp__icon-btn:hover,
.nfmhp__close:hover,
.nfmhp__social-close:hover,
.nfmhp__search-close:hover,
.nfmhp__voice-button:hover {
  background: #fff;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.nfmhp__toggle:focus-visible,
.nfmhp__icon-btn:focus-visible,
.nfmhp__close:focus-visible,
.nfmhp__social-close:focus-visible,
.nfmhp__search-close:focus-visible,
.nfmhp__voice-button:focus-visible,
.nfmhp__menu-link:focus-visible,
.nfmhp__submenu-toggle:focus-visible,
.nfmhp__columnist-button:focus-visible,
.nfmhp__cta-button:focus-visible,
.nfmhp__social-link:focus-visible,
.nfmhp__search-input:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 2px;
}

.nfmhp__logo {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.nfmhp__logo--left { justify-content: flex-start; text-align: left; }
.nfmhp__logo--center { justify-content: center; text-align: center; }
.nfmhp__logo--right { justify-content: flex-end; text-align: right; }

.nfmhp__logo-image {
  display: block;
  width: auto;
  max-width: min(100%, 170px);
  max-height: 42px;
  height: auto;
  object-fit: contain;
}

.nfmhp__drawer .nfmhp__logo-image {
  max-width: min(100%, 190px);
  max-height: 52px;
}

.nfmhp__logo-text {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nfmhp__hamburger,
.nfmhp__hamburger::before,
.nfmhp__hamburger::after {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nfmhp__hamburger::before { position: absolute; top: -6px; left: 0; }
.nfmhp__hamburger::after { position: absolute; top: 6px; left: 0; }

.nfmhp__search-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.nfmhp__search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -7px;
  bottom: -3px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.nfmhp__search-icon--field {
  color: #475569;
  margin-left: 2px;
}

.nfmhp__icon-star {
  font-size: 15px;
  line-height: 1;
}

.nfmhp__voice-icon {
  width: 14px;
  height: 22px;
  border-radius: 999px 999px 8px 8px;
  background: currentColor;
  position: relative;
  display: block;
}

.nfmhp__voice-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 2px;
  height: 8px;
  background: currentColor;
  transform: translateX(-50%);
}

.nfmhp__voice-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 12px;
  height: 6px;
  border: 2px solid currentColor;
  border-top: none;
  border-radius: 0 0 12px 12px;
  transform: translateX(-50%);
  background: transparent;
}

.nfmhp__overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999998;
}

.nfmhp__drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(88vw, 360px);
  max-width: 360px;
  background: #fff;
  z-index: 999999;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .22);
  display: flex;
  flex-direction: column;
  transition: transform .28s ease;
}

.nfmhp__drawer--left { left: 0; transform: translateX(-100%); }
.nfmhp__drawer--right { right: 0; transform: translateX(100%); }

.nfmhp.is-open-left .nfmhp__drawer--left,
.nfmhp.is-open-right .nfmhp__drawer--right { transform: translateX(0); }

.nfmhp.is-open-left .nfmhp__overlay,
.nfmhp.is-open-right .nfmhp__overlay,
.nfmhp.is-social-open .nfmhp__overlay,
.nfmhp.is-search-open .nfmhp__overlay {
  opacity: 1;
  pointer-events: auto;
}

.nfmhp__drawer-head,
.nfmhp__social-head,
.nfmhp__search-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.nfmhp__drawer-head .nfmhp__logo {
  width: 100%;
}

.nfmhp__drawer-head .nfmhp__close,
.nfmhp__social-close,
.nfmhp__search-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.nfmhp__drawer-body {
  padding: 16px;
  overflow-y: auto;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.nfmhp__menu,
.nfmhp__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nfmhp__menu-item { margin-bottom: 10px; }

.nfmhp__menu-link,
.nfmhp__submenu-toggle,
.nfmhp__empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.nfmhp__submenu-toggle {
  cursor: pointer;
  text-align: left;
}

.nfmhp__menu-link:hover,
.nfmhp__submenu-toggle:hover {
  background: #f8fafc;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.nfmhp__submenu {
  display: none;
  padding-top: 10px;
  padding-left: 12px;
}

.nfmhp__menu-item.is-open > .nfmhp__submenu { display: block; }

.nfmhp__chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #9ca3af;
  border-right: 2px solid #9ca3af;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.nfmhp__submenu-toggle .nfmhp__chevron {
  transform: rotate(135deg);
  transition: transform .2s ease;
}

.nfmhp__menu-item.is-open > .nfmhp__submenu-toggle .nfmhp__chevron {
  transform: rotate(-45deg);
}

.nfmhp__columnist,
.nfmhp__cta {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 14px;
}

.nfmhp__columnist-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nfmhp__columnist-title,
.nfmhp__cta-title,
.nfmhp__social-title,
.nfmhp__search-title {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}

.nfmhp__columnist-text,
.nfmhp__cta-text,
.nfmhp__social-text,
.nfmhp__search-text,
.nfmhp__voice-status {
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}

.nfmhp__columnist-text,
.nfmhp__cta-text { margin-top: 8px; }

.nfmhp__columnist-button,
.nfmhp__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 16px;
  margin-top: 14px;
}

.nfmhp__columnist-button:hover,
.nfmhp__cta-button:hover { background: #111827; }

.nfmhp__social-modal,
.nfmhp__search-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  z-index: 1000000;
  transition: opacity .22s ease;
}

.nfmhp.is-social-open .nfmhp__social-modal,
.nfmhp.is-search-open .nfmhp__search-modal {
  opacity: 1;
  pointer-events: auto;
}

.nfmhp__social-card,
.nfmhp__search-card {
  width: min(92vw, 520px);
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
  overflow: hidden;
}

.nfmhp__social-head,
.nfmhp__search-head {
  align-items: flex-start;
  justify-content: flex-start;
  padding-right: 84px;
}

.nfmhp__search-head-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nfmhp__search-body,
.nfmhp__social-body {
  padding: 18px;
}

.nfmhp__search--popup {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 18px 18px;
  margin: 0;
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: inset 0 0 0 4px #f8fafc;
}

.nfmhp__search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #0f172a;
}

.nfmhp__search-input::placeholder { color: #64748b; }

.nfmhp__search--popup:focus-within {
  border-color: #2563eb;
  box-shadow: inset 0 0 0 4px rgba(37, 99, 235, .08), 0 0 0 5px rgba(37, 99, 235, .10);
}

.nfmhp__voice-button {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.nfmhp__voice-button.is-listening {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
  animation: nfmhpPulse 1.2s infinite;
}

@keyframes nfmhpPulse {
  0% { box-shadow: 0 0 0 0 rgba(185, 28, 28, .22); }
  70% { box-shadow: 0 0 0 10px rgba(185, 28, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
}

.nfmhp__voice-status {
  min-height: 24px;
  margin-top: 12px;
}

.nfmhp__social-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.nfmhp__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 12px;
  text-decoration: none;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nfmhp__social-link:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #d1d5db;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.nfmhp__social-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  flex: 0 0 auto;
  font-size: 0;
}

.nfmhp__social-badge i,
.nfmhp__social-badge svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.nfmhp__social-badge svg { max-width: 20px; }
.nfmhp__social-label { display: none; }

.nfmhp__social-link--instagram .nfmhp__social-badge { background: #c13584; }
.nfmhp__social-link--facebook .nfmhp__social-badge { background: #1877f2; }
.nfmhp__social-link--youtube .nfmhp__social-badge { background: #ff0000; }
.nfmhp__social-link--tiktok .nfmhp__social-badge { background: #111827; }
.nfmhp__social-link--whatsapp .nfmhp__social-badge { background: #25d366; }
.nfmhp__social-link--x .nfmhp__social-badge { background: #0f172a; }

.nfmhp-screen-reader {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.elementor-editor-active .nfmhp--editor-preview {
  min-height: 620px;
  overflow: hidden;
}

.elementor-editor-active .nfmhp--editor-preview .nfmhp__overlay,
.elementor-editor-active .nfmhp--editor-preview .nfmhp__drawer,
.elementor-editor-active .nfmhp--editor-preview .nfmhp__social-modal,
.elementor-editor-active .nfmhp--editor-preview .nfmhp__search-modal {
  position: absolute;
}

.elementor-editor-active .nfmhp--editor-preview .nfmhp__overlay,
.elementor-editor-active .nfmhp--editor-preview .nfmhp__social-modal,
.elementor-editor-active .nfmhp--editor-preview .nfmhp__search-modal {
  inset: 0;
}

.elementor-editor-active .nfmhp--editor-preview .nfmhp__drawer {
  top: 74px;
  bottom: 0;
  max-width: 320px;
}

.elementor-editor-active .nfmhp--editor-preview .nfmhp__drawer--left { left: 0; }
.elementor-editor-active .nfmhp--editor-preview .nfmhp__drawer--right { right: 0; }

@media (min-width: 1025px) {
  .nfmhp--mobile-only {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .nfmhp__bar { gap: 10px; }
  .nfmhp__logo-image { max-width: min(100%, 150px); max-height: 38px; }
  .nfmhp__drawer .nfmhp__logo-image { max-width: min(100%, 170px); }
  .nfmhp__menu-link,
  .nfmhp__submenu-toggle,
  .nfmhp__empty { font-size: 16px; padding: 14px; }
  .nfmhp__search-card,
  .nfmhp__social-card { width: min(94vw, 520px); }
  .nfmhp__search--popup { min-height: 72px; padding: 16px; }
  .nfmhp__search-input { font-size: 18px; }
}


/* Premium polish v0.7.0 */

.nfmhp {
  --nfmhp-surface: rgba(255, 255, 255, .92);
  --nfmhp-surface-strong: #ffffff;
  --nfmhp-border: rgba(203, 213, 225, .9);
  --nfmhp-text: #0f172a;
  --nfmhp-muted: #64748b;
  --nfmhp-accent: #2563eb;
  --nfmhp-shadow-soft: 0 14px 40px rgba(15, 23, 42, .10);
  --nfmhp-shadow-strong: 0 28px 80px rgba(15, 23, 42, .24);
}

.nfmhp__bar {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.94) 100%);
  border-color: rgba(226, 232, 240, .92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.nfmhp__toggle,
.nfmhp__icon-btn,
.nfmhp__close,
.nfmhp__social-close,
.nfmhp__search-close,
.nfmhp__voice-button {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border-color: rgba(203, 213, 225, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 16px rgba(15, 23, 42, .06);
}

.nfmhp__toggle:hover,
.nfmhp__icon-btn:hover,
.nfmhp__close:hover,
.nfmhp__social-close:hover,
.nfmhp__search-close:hover,
.nfmhp__voice-button:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 14px 22px rgba(15, 23, 42, .08);
}

.nfmhp__toggle:active,
.nfmhp__icon-btn:active,
.nfmhp__close:active,
.nfmhp__social-close:active,
.nfmhp__search-close:active,
.nfmhp__voice-button:active {
  transform: translateY(0) scale(.98);
}

.nfmhp__drawer {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, #f8fafc 100%);
  box-shadow: 0 30px 80px rgba(2, 6, 23, .26);
}

.nfmhp__drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.92) 100%);
}

.nfmhp__menu-link,
.nfmhp__submenu-toggle,
.nfmhp__empty {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(226, 232, 240, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}

.nfmhp__menu-link:hover,
.nfmhp__submenu-toggle:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255,255,255,.95);
}

.nfmhp__columnist,
.nfmhp__cta {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(226, 232, 240, .95);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .05);
}

.nfmhp__columnist-button,
.nfmhp__cta-button {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, .18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.nfmhp__columnist-button:hover,
.nfmhp__cta-button:hover {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  transform: translateY(-1px);
  box-shadow: 0 22px 34px rgba(15, 23, 42, .22);
}

.nfmhp__social-modal,
.nfmhp__search-modal {
  backdrop-filter: blur(6px);
}

.nfmhp__social-card,
.nfmhp__search-card {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.98) 100%);
  border-color: rgba(226, 232, 240, .98);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
  transform: translateY(18px) scale(.96);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
}

.nfmhp.is-social-open .nfmhp__social-card,
.nfmhp.is-search-open .nfmhp__search-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nfmhp__social-head,
.nfmhp__search-head {
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(248,250,252,.78) 100%);
}

.nfmhp__search-body,
.nfmhp__social-body {
  background: linear-gradient(180deg, rgba(255,255,255,.46) 0%, rgba(248,250,252,.18) 100%);
}

.nfmhp__search--popup {
  min-height: 86px;
  border-color: rgba(191, 219, 254, .85);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 0 0 5px #f8fafc, 0 18px 38px rgba(37, 99, 235, .08);
}

.nfmhp__search-input {
  letter-spacing: -.01em;
}

.nfmhp__search-input::placeholder {
  color: #475569;
}

.nfmhp__voice-status {
  min-height: 24px;
  margin-top: 12px;
  font-weight: 600;
}

.nfmhp__social-grid {
  width: 100%;
  box-sizing: border-box;
}

.nfmhp__social-link {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(226, 232, 240, .95);
  min-height: 90px;
}

.nfmhp__social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.nfmhp__social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, .08);
}

.nfmhp__social-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 14px 22px rgba(15, 23, 42, .14);
}

.nfmhp__social-link--instagram .nfmhp__social-badge { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%); }
.nfmhp__social-link--facebook .nfmhp__social-badge { background: linear-gradient(135deg, #1877f2 0%, #1d4ed8 100%); }
.nfmhp__social-link--youtube .nfmhp__social-badge { background: linear-gradient(135deg, #ff0000 0%, #dc2626 100%); }
.nfmhp__social-link--tiktok .nfmhp__social-badge { background: linear-gradient(135deg, #111827 0%, #0f172a 100%); }
.nfmhp__social-link--whatsapp .nfmhp__social-badge { background: linear-gradient(135deg, #25d366 0%, #16a34a 100%); }
.nfmhp__social-link--x .nfmhp__social-badge { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); }

.nfmhp__drawer-body::-webkit-scrollbar {
  width: 10px;
}

.nfmhp__drawer-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .46);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

@media (max-width: 480px) {
  .nfmhp__social-card,
  .nfmhp__search-card {
    border-radius: 22px;
  }

  .nfmhp__search--popup {
    min-height: 78px;
    gap: 12px;
  }

  .nfmhp__social-link {
    min-height: 82px;
  }

  .nfmhp__social-badge {
    width: 48px;
    height: 48px;
  }
}
