.nrg-masthead {
  position: relative;
  z-index: 20;
  box-sizing: border-box;
  display: block;
  width: min(100%, 1138px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  text-align: left;
  font: 400 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #142d42;
}
.nrg-masthead *, .nrg-masthead *::before, .nrg-masthead *::after { box-sizing: border-box; }
.nrg-masthead a { text-decoration: none; }
.nrg-masthead :is(a, summary, button, input):focus-visible {
  outline: 3px solid #38c8da !important;
  outline-offset: 2px;
}
.nrg-masthead .nrg-top {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: 210px auto / minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 12px 22px 10px;
  border-bottom: 1px solid #304858;
  background: #0b1725;
}
body.home > .nrg-masthead ~ .elementor-868 > .elementor-element-4cbcc9de > .e-con-inner {
  padding-top: 0 !important;
}
.nrg-masthead .nrg-header-film,
.nrg-masthead .nrg-hero__media,
.nrg-masthead .nrg-hero__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nrg-masthead .nrg-header-film { z-index: 0; overflow: hidden; }
.nrg-masthead .nrg-hero__media {
  overflow: hidden;
  background: #0b1725 url("/wp-content/uploads/2026/10/nair-journal-poster.webp") right center / auto 100% no-repeat;
}
.nrg-masthead .nrg-hero__media::after {
  content: "";
  background: linear-gradient(0deg, #0b17253d, transparent 24%);
}
.nrg-masthead .nrg-header-film video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0;
}
.nrg-masthead .nrg-header-film video:is(.is-on, [data-nr-poster-ready]) { opacity: 1; }
.nrg-masthead .nrg-top > button[data-nr-home-film-toggle] {
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #6991a4;
  border-radius: 8px;
  background: #102a3b;
  color: #fff;
  font: 600 13px/1 system-ui, sans-serif;
  cursor: pointer;
}
.nrg-masthead [hidden] { display: none !important; }
.nrg-masthead .nrg-brand {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  place-self: center;
  display: flex;
  width: min(760px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #eff8ff;
}
.nrg-masthead .nrg-brand > b, .nrg-masthead .nrg-wordmark-fallback { display: none; }
.nrg-masthead .nrg-brand-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.nrg-masthead .nrg-wordmark-shell {
  display: block;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 4.5;
  overflow: hidden;
  line-height: 0;
}
.nrg-masthead .nrg-brand-name, .nrg-masthead .nrg-metal-title {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center;
}
.nrg-masthead .nrg-brand-tagline {
  display: block;
  margin: 5px 0 0;
  color: #e7f2f7;
  font: 500 clamp(14px, 1.8vw, 23px)/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-shadow: 0 2px 9px #000a;
}
.nrg-masthead .nrg-nair-home-button {
  position: absolute;
  z-index: 4;
  top: 65.7%;
  left: 18px;
  display: grid;
  place-items: center;
  width: 62px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 10px;
  line-height: 0;
  transform: translateY(-50%);
}
.nrg-masthead .nrg-nav-nair { display: block; width: 100%; height: auto; margin: 0; object-fit: contain; }
.nrg-masthead .nrg-top > nav {
  position: relative;
  z-index: 3;
  grid-area: 2 / 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px 4px;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border-top: 1px solid #d4e8f033;
}
.nrg-masthead .nrg-header-tools, .nrg-masthead [data-nrg-languages] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nrg-masthead .nrg-header-tools { order: -2; flex-basis: 100%; }
.nrg-masthead [data-nrg-languages] { order: -1; }
.nrg-masthead .nrg-top > nav > a,
.nrg-masthead .nrg-header-tools summary,
.nrg-masthead [data-nrg-languages] > :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  margin: 0;
  padding: 4px 6px;
  border: 1px solid #adcbd940;
  border-radius: 6px;
  background: #0c1e2bd6;
  color: #d2e0e7;
  font: 550 12px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
  text-transform: none;
  text-shadow: none;
  cursor: pointer;
}
.nrg-masthead .nrg-top > nav > a {
  padding: 4px 8px;
  border: 1px solid #a5c4d280;
  border-radius: 12px;
  background: #163745db;
  color: #edf7fa;
  font-weight: 650;
}
.nrg-masthead .nrg-top > nav > a:is(:hover, [aria-current="page"]), .nrg-masthead .nrg-header-tools summary:hover {
  border-color: #91b9c5;
  background: #284958;
  color: #fff;
}
.nrg-masthead .nrg-header-tools details { display: block; position: static; margin: 0; padding: 0; }
.nrg-masthead .nrg-header-tools summary { list-style: none; }
.nrg-masthead .nrg-header-tools summary::marker { content: ""; }
.nrg-masthead .nrg-header-tools summary::-webkit-details-marker { display: none; }
.nrg-masthead .nrg-top > nav > a > svg, .nrg-masthead .nrg-header-tools summary > svg { display: none; }
.nrg-masthead [data-nrg-languages] > :is(a, span) {
  min-width: 24px;
  padding: 2px 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #e8f5ff;
  font-weight: 600;
}
.nrg-masthead [data-nrg-languages] > [aria-current] { border-bottom-color: currentColor; }
.nrg-masthead [data-nrg-languages] a:hover { color: #9aebf2; }
.nrg-masthead .nrg-site-panel, .nrg-masthead .nrg-site-search form {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 100%);
  max-height: min(70vh, 640px);
  margin: 0;
  padding: 22px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #c9d9e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 35px #06132240;
  color: #142d42;
}
.nrg-masthead details:not([open]) > :not(summary) { display: none !important; }
.nrg-masthead .nrg-site-panel nav { display: grid; gap: 16px; margin: 0; padding: 0; }
.nrg-masthead .nrg-site-panel nav > div { padding: 12px; border: 1px solid #d9e5e9; border-radius: 10px; }
.nrg-masthead .nrg-site-panel strong {
  display: block;
  margin: 0 0 8px;
  color: #183e54;
  font: 700 11px/1.75 system-ui, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.nrg-masthead .nrg-site-panel :is(a, button), .nrg-masthead .nrg-site-search button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  margin: 6px 0;
  padding: 6px 10px;
  border: 1px solid #9eb7c1;
  border-radius: 5px;
  background: linear-gradient(135deg, #fff, #e7f1f3);
  color: #102c40;
  box-shadow: 0 2px 5px #087f8933;
  font: 500 14px/1.45 system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.nrg-masthead .nrg-site-panel :is(a, button):hover, .nrg-masthead .nrg-site-search button:hover { background: #d8ebf0; color: #07374b; }
.nrg-masthead .nrg-site-search form {
  top: calc(100% + 12px);
  width: min(540px, 100%);
  padding: 18px;
  border: 1px solid #6ba3b6;
  border-radius: 10px;
  background: #102b3ff5;
  color: #edf8fc;
}
.nrg-masthead .nrg-site-search label { display: block; margin: 0 0 9px; color: inherit; font: 600 14px/1.5 system-ui, sans-serif; }
.nrg-masthead .nrg-search-fields { display: flex; gap: 10px; align-items: stretch; }
.nrg-masthead .nrg-site-search input[type="search"] {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #8faebc;
  border-radius: 5px;
  background: #f7fbfd;
  color: #173449;
  font: 400 16px/1.5 system-ui, sans-serif;
}
.nrg-masthead .nrg-site-search button { width: auto; justify-content: center; margin: 0; padding: 9px 16px; font-weight: 650; }
@media (max-width: 1199px), (hover: none), (pointer: coarse) {
  .nrg-masthead .nrg-header-film:not([data-played]) { display: none; }
  .nrg-masthead .nrg-header-film[data-played] .nrg-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 20%, #071420b3 42%, #071420b3 60%, transparent 82%);
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .nrg-masthead .nrg-top { grid-template-rows: 180px auto; padding: 10px 16px; }
  .nrg-masthead .nrg-wordmark-shell { max-width: min(100%, 675px); }
}
@media (max-width: 600px) {
  .nrg-masthead .nrg-top { grid-template-rows: auto auto; padding: 8px 10px 10px; }
  .nrg-masthead .nrg-brand { width: 100%; }
  .nrg-masthead .nrg-wordmark-shell { width: min(256px, calc(100% - 84px)); }
  .nrg-masthead .nrg-brand-tagline { width: 100%; margin: 0; padding: 0 48px; font-size: 12px; line-height: 15px; }
  .nrg-masthead .nrg-top > nav { flex-wrap: nowrap; padding: 0 46px 0 0; }
  .nrg-masthead .nrg-top > nav > a { display: none; }
  .nrg-masthead .nrg-header-tools { flex-basis: auto; }
  .nrg-masthead .nrg-header-tools summary { min-height: 44px; padding: 5px 10px; }
  .nrg-masthead [data-nrg-languages] { margin-left: 4px; }
  .nrg-masthead [data-nrg-languages] > :is(a, span) { min-width: 32px; min-height: 44px; }
  .nrg-masthead .nrg-nair-home-button { top: auto; bottom: 10px; right: 10px; left: auto; width: 44px; height: 44px; transform: none; }
  .nrg-masthead .nrg-site-panel { width: min(100%, 348px); padding: 18px; }
  .nrg-masthead .nrg-site-search form { width: min(100%, 350px); padding: 14px; }
  .nrg-masthead .nrg-search-fields { flex-direction: column; }
}
@media (max-width: 345px) {
  .nrg-masthead .nrg-brand-tagline { padding: 0 25px; }
  .nrg-masthead .nrg-header-tools summary { padding-inline: 5px; }
  .nrg-masthead [data-nrg-languages] { margin-left: 0; }
  .nrg-masthead [data-nrg-languages] > :is(a, span) { min-width: 26px; }
}
@media (forced-colors: active) {
  .nrg-masthead .nrg-metal-title { display: none; }
  .nrg-masthead .nrg-wordmark-fallback { display: block; color: CanvasText; font: 750 clamp(22px, 5vw, 70px)/1.2 system-ui; }
}
