/*
Theme Name: N-Life Gateway Version 3.2
Theme URI: https://n-life.co.za/
Author: New Life
Description: A focused N-Life gateway theme with a simplified homepage, unified content sections, original photography, newsletter, learning and support pathways.
Version: 3.2.1
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: nlife
*/

:root {
  --nlg-navy-950: #050c22;
  --nlg-navy-900: #091432;
  --nlg-navy-800: #10245a;
  --nlg-blue: #173f9f;
  --nlg-sky: #dce9ff;
  --nlg-green: #77c96b;
  --nlg-green-dark: #2d7a37;
  --nlg-amber: #f1a34b;
  --nlg-cream: #f7f4ed;
  --nlg-white: #ffffff;
  --nlg-ink: #151a25;
  --nlg-muted: #5e6676;
  --nlg-line: #dfe3eb;
  --nlg-shadow: 0 28px 80px rgba(5, 12, 34, 0.14);
  --nlg-radius: 22px;
  --nlife-blue: var(--nlg-navy-800);
  --nlife-green: var(--nlg-green);
  --nlife-white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body.nlife-site {
  margin: 0;
  background: var(--nlg-white);
  color: var(--nlg-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .nlg-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-underline-offset: 0.18em;
}

.nlife-main {
  min-height: 45vh;
}

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

.screen-reader-text:focus {
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #fff;
  color: #111;
}

.skip-link {
  position: fixed;
}

/* Header */
.nlg-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1050;
  background: rgba(5, 12, 34, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.nlg-header.is-scrolled,
body:not(.home) .nlg-header {
  background: rgba(5, 12, 34, 0.97);
  box-shadow: 0 10px 34px rgba(5, 12, 34, 0.18);
}

.nlg-header .navbar {
  min-height: 84px;
  padding: 0;
}

.nlg-nav-inner {
  gap: 1.4rem;
}

.nlg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
}

.nlg-brand:hover,
.nlg-brand:focus {
  color: #fff;
}

.nlg-brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nlg-brand-copy {
  display: grid;
  line-height: 1.05;
}

.nlg-brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}

.nlg-brand-copy small {
  margin-top: 0.34rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-nav-list {
  gap: 0.25rem;
}

.nlg-header .nav-link {
  position: relative;
  padding: 0.8rem 0.72rem !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.nlg-header .nav-link:hover,
.nlg-header .nav-link:focus,
.nlg-header .nav-link.is-current {
  color: #fff !important;
}

.nlg-header .nav-link::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  bottom: 0.48rem;
  left: 0.72rem;
  height: 2px;
  background: var(--nlg-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.nlg-header .nav-link:hover::after,
.nlg-header .nav-link:focus::after,
.nlg-header .nav-link.is-current::after {
  transform: scaleX(1);
}

.nlg-nav-cta {
  margin-left: 0.45rem;
}

.nlg-menu-toggle {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
}

.nlg-menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* Buttons and common type */
.nlg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.82rem 1.35rem;
  border: 1px solid var(--nlg-green);
  border-radius: 999px;
  background: var(--nlg-green);
  color: var(--nlg-navy-950);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nlg-button:hover,
.nlg-button:focus {
  color: var(--nlg-navy-950);
  background: #91dd85;
  border-color: #91dd85;
  box-shadow: 0 14px 34px rgba(119, 201, 107, 0.24);
  transform: translateY(-2px);
}

.nlg-button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.nlg-button-secondary:hover,
.nlg-button-secondary:focus {
  border-color: #fff;
  background: #fff;
  color: var(--nlg-navy-950);
}

.nlg-button-small {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  font-size: 0.78rem;
}

.nlg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.nlg-section-heading {
  max-width: 720px;
}

.nlg-section-heading-centred {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nlg-section-heading h2,
.nlg-ambassador h2,
.nlg-education h2,
.nlg-newsletter h2,
.nlg-closing h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.3vw, 3.65rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.nlg-section-heading p {
  margin: 1.2rem 0 0;
  color: var(--nlg-muted);
  font-size: 1.08rem;
}

.nlg-text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--nlg-blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.nlg-text-link:hover,
.nlg-text-link:focus {
  color: var(--nlg-green-dark);
}

.nlg-text-link-light {
  color: var(--nlg-green);
}

.nlg-text-link-light:hover,
.nlg-text-link-light:focus {
  color: #fff;
}

/* Hero */
.nlg-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--nlg-navy-950);
  color: #fff;
}

.nlg-hero-media,
.nlg-hero-shade {
  position: absolute;
  inset: 0;
}

.nlg-hero-media {
  background-image: url("assets/images/img-5774-2000x1333.jpeg");
  background-position: center center;
  background-size: cover;
  transform: scale(1.015);
}

.nlg-hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.94) 0%, rgba(5, 12, 34, 0.75) 43%, rgba(5, 12, 34, 0.2) 74%, rgba(5, 12, 34, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 12, 34, 0.7) 0%, rgba(5, 12, 34, 0.02) 55%);
}

.nlg-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.55fr);
  gap: 6rem;
  align-items: end;
  padding-top: 180px;
  padding-bottom: 92px;
}

.nlg-hero-copy {
  max-width: 760px;
}

.nlg-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.nlg-hero-copy > p {
  max-width: 720px;
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.nlg-hero-note {
  max-width: 340px;
  padding: 1.4rem 0 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.44);
  border-left: 3px solid var(--nlg-green);
}

.nlg-hero-note span,
.nlg-hero-note strong {
  display: block;
}

.nlg-hero-note span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-hero-note strong {
  margin-top: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.4;
}

/* Offer section */
.nlg-intro {
  padding: 120px 0;
  background: #fff;
}

.nlg-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4.5rem;
  overflow: hidden;
  border: 1px solid var(--nlg-line);
  border-radius: var(--nlg-radius);
  background: var(--nlg-line);
}

.nlg-offer {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 1.2rem;
  min-height: 285px;
  padding: 2.4rem;
  background: #fff;
}

.nlg-offer-wide {
  grid-column: 1 / -1;
  grid-template-columns: 90px minmax(0, 760px);
  min-height: 250px;
  align-items: center;
  background: var(--nlg-cream);
}

.nlg-offer-accent {
  background: var(--nlg-navy-900);
  color: #fff;
}

.nlg-offer-number {
  color: var(--nlg-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.nlg-offer-accent .nlg-offer-number {
  color: var(--nlg-green);
}

.nlg-offer h3 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.3;
}

.nlg-offer-accent h3 {
  color: #fff;
}

.nlg-offer p {
  margin: 1rem 0 0;
  color: var(--nlg-muted);
}

.nlg-offer-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.nlg-offer-accent .nlg-text-link {
  color: var(--nlg-green);
}

/* Pathways */
.nlg-pathways {
  padding: 0 0 120px;
  background: #fff;
}

.nlg-pathways-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.nlg-pathways-image {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--nlg-radius);
  box-shadow: var(--nlg-shadow);
}

.nlg-pathways-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 12, 34, 0.36));
}

.nlg-pathways-image img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.nlg-path-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--nlg-line);
}

.nlg-path-list a {
  display: grid;
  grid-template-columns: 90px 1fr 28px;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--nlg-line);
  color: var(--nlg-ink);
  text-decoration: none;
}

.nlg-path-list a:hover,
.nlg-path-list a:focus {
  color: var(--nlg-blue);
}

.nlg-path-list span {
  color: var(--nlg-muted);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-path-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.nlg-path-list svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.nlg-path-list a:hover svg,
.nlg-path-list a:focus svg {
  transform: translateX(5px);
}

/* Ambassador */
.nlg-ambassador {
  padding: 110px 0;
  background: var(--nlg-navy-950);
  color: #fff;
}

.nlg-ambassador-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.nlg-ambassador-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 201, 107, 0.15), transparent 68%);
}

.nlg-ambassador-mark img {
  width: 72%;
  border-radius: 50%;
}

.nlg-ambassador h2 {
  color: #fff;
}

.nlg-ambassador p {
  max-width: 830px;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

/* Education */
.nlg-education {
  padding: 120px 0;
  background: var(--nlg-cream);
}

.nlg-education-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--nlg-shadow);
}

.nlg-education-copy > p {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: var(--nlg-muted);
}

.nlg-check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0 2rem;
  padding: 0;
  list-style: none;
}

.nlg-check-list li {
  position: relative;
  padding-left: 2rem;
}

.nlg-check-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--nlg-green);
  box-shadow: 0 0 0 5px rgba(119, 201, 107, 0.18);
}

.nlg-education-visual {
  position: relative;
  min-height: 470px;
}

.nlg-course-sheet {
  position: absolute;
  inset: 20px 0 0 35px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(155deg, #0f2255, #050c22 68%);
  color: #fff;
  box-shadow: 0 32px 75px rgba(5, 12, 34, 0.28);
  transform: rotate(2deg);
}

.nlg-course-sheet-back {
  inset: 0 35px 35px 0;
  z-index: 1;
  background: var(--nlg-amber);
  transform: rotate(-5deg);
}

.nlg-course-sheet img {
  width: 82px;
  height: 82px;
  margin-bottom: auto;
  border-radius: 50%;
}

.nlg-course-sheet span {
  color: var(--nlg-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nlg-course-sheet strong {
  margin-top: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.25;
}

.nlg-course-sheet small {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
}

.nlg-progress {
  height: 6px;
  margin-top: 1.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.nlg-progress span {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--nlg-green);
}

/* Service pool */
.nlg-service {
  padding: 120px 0;
  background: #fff;
}

.nlg-service-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.nlg-service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.nlg-service-columns article {
  padding: 2.2rem;
  border: 1px solid var(--nlg-line);
  border-radius: var(--nlg-radius);
  background: #fff;
}

.nlg-service-columns article:first-child {
  background: var(--nlg-sky);
}

.nlg-service-columns article:last-child {
  background: var(--nlg-cream);
}

.nlg-service-columns span {
  color: var(--nlg-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-service-columns h3 {
  margin: 0.8rem 0 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.3;
}

.nlg-service-columns p {
  color: var(--nlg-muted);
}

/* Newsletter */
.nlg-newsletter {
  padding: 105px 0;
  background: var(--nlg-navy-800);
  color: #fff;
}

.nlg-newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.nlg-newsletter h2 {
  color: #fff;
}

.nlg-newsletter p {
  color: rgba(255, 255, 255, 0.72);
}

.nlg-newsletter-form {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--nlg-radius);
  background: rgba(255, 255, 255, 0.06);
}

.nlg-newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1rem;
}

.nlg-newsletter-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.nlg-newsletter-form label span {
  font-weight: 400;
}

.nlg-newsletter-form input[type="text"],
.nlg-newsletter-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--nlg-ink);
  font: inherit;
}

.nlg-newsletter-consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 0.75rem !important;
  align-items: start;
  margin: 1.2rem 0;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

.nlg-newsletter-consent input {
  margin-top: 0.25rem;
}

.nlg-newsletter-consent a {
  color: var(--nlg-green);
}

.nlife-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Closing */
.nlg-closing {
  padding: 110px 0;
  background: var(--nlg-green);
  color: var(--nlg-navy-950);
  text-align: center;
}

.nlg-closing p {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nlg-closing h2 {
  max-width: 1020px;
  margin-right: auto;
  margin-left: auto;
  color: var(--nlg-navy-950);
  font-size: clamp(2rem, 4.2vw, 4rem);
}

/* Footer */
.nlg-footer {
  padding: 78px 0 28px;
  background: var(--nlg-navy-950);
  color: rgba(255, 255, 255, 0.7);
}

.nlg-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 0.8fr);
  gap: 3rem;
}

.nlg-brand-footer {
  margin-bottom: 1.2rem;
}

.nlg-footer-brand p {
  max-width: 360px;
}

.nlg-footer h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nlg-footer p,
.nlg-footer li,
.nlg-footer a {
  font-size: 0.88rem;
}

.nlg-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nlg-footer li + li {
  margin-top: 0.55rem;
}

.nlg-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.nlg-footer a:hover,
.nlg-footer a:focus {
  color: var(--nlg-green);
}

.nlg-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nlg-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

/* Legacy page support */
body:not(.home) .nlife-main {
  padding-top: 84px;
}

.nlife-site .navbar-logo img {
  width: auto;
}

.nlife-site .nav-link[aria-current="page"] {
  color: var(--nlg-green) !important;
}

.nlife-newsletter {
  width: min(760px, 100%);
  margin: 0 auto 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
}

.nlife-newsletter h2,
.nlife-newsletter p {
  color: #fff;
}

.nlife-newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 0.75rem;
  align-items: stretch;
}

.nlife-newsletter input[type="text"],
.nlife-newsletter input[type="email"] {
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d7dbe0;
  border-radius: 0.25rem;
  background: #fff;
  color: #1f2933;
}

.nlife-newsletter button {
  border: 0;
  border-radius: 0.25rem;
  padding: 0.75rem 1.15rem;
  background: var(--nlg-green);
  color: #001055;
  font-weight: 700;
  cursor: pointer;
}

.nlife-newsletter-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  text-align: left;
  font-size: 0.9rem;
}

.nlife-contact-status {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.25rem;
}

.nlife-contact-status.is-success {
  background: #dff6e4;
  color: #143c1e;
}

.nlife-contact-status.is-error {
  background: #ffe5e5;
  color: #651717;
}

.nlife-contact-form .form-control {
  width: 100%;
}

.nlife-contact-form textarea.form-control {
  min-height: 170px;
}

.nlife-contact-form .gdpr-block {
  display: block;
  margin-top: 1rem;
}

.nlife-contact-form .textGDPR a {
  color: var(--nlg-green);
  text-decoration: underline;
}

.nlife-404 {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 10rem 1.5rem 6rem;
  background: var(--nlg-navy-900);
  color: #fff;
  text-align: center;
}

.nlife-404 a {
  color: var(--nlg-green);
}

/* Responsive */
@media (max-width: 1199px) {
  .nlg-header .nav-link {
    padding-right: 0.48rem !important;
    padding-left: 0.48rem !important;
    font-size: 0.78rem;
  }

  .nlg-header .nav-link::after {
    right: 0.48rem;
    left: 0.48rem;
  }

  .nlg-hero-inner {
    gap: 3rem;
  }

  .nlg-footer-grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  body.admin-bar .nlg-header {
    top: 32px;
  }

  .nlg-header .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: var(--nlg-navy-950);
  }

  .nlg-header .nav-link {
    padding: 0.7rem 0.35rem !important;
    font-size: 0.9rem;
  }

  .nlg-header .nav-link::after {
    right: auto;
    left: 0.35rem;
    width: 32px;
  }

  .nlg-nav-cta {
    margin: 0.8rem 0 0;
  }

  .nlg-hero {
    min-height: 760px;
  }

  .nlg-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 170px;
  }

  .nlg-hero-note {
    max-width: 480px;
  }

  .nlg-pathways-grid,
  .nlg-education-panel,
  .nlg-service-grid,
  .nlg-newsletter-grid {
    grid-template-columns: 1fr;
  }

  .nlg-pathways-image,
  .nlg-pathways-image img {
    min-height: 520px;
  }

  .nlg-education-visual {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }

  .nlg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .nlg-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  body.nlife-site {
    font-size: 16px;
  }

  .nlg-header .navbar {
    min-height: 74px;
  }

  .nlg-brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .nlg-brand-copy strong {
    font-size: 1rem;
  }

  .nlg-brand-copy small {
    font-size: 0.62rem;
  }

  .nlg-hero {
    min-height: 720px;
  }

  .nlg-hero-media {
    background-position: 65% center;
  }

  .nlg-hero-shade {
    background: linear-gradient(90deg, rgba(5, 12, 34, 0.95) 0%, rgba(5, 12, 34, 0.72) 75%, rgba(5, 12, 34, 0.45));
  }

  .nlg-hero-inner {
    gap: 2.5rem;
    padding-top: 145px;
    padding-bottom: 55px;
  }

  .nlg-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.5rem);
  }

  .nlg-actions {
    display: grid;
  }

  .nlg-button {
    width: 100%;
  }

  .nlg-intro,
  .nlg-education,
  .nlg-service {
    padding: 80px 0;
  }

  .nlg-pathways {
    padding-bottom: 80px;
  }

  .nlg-ambassador,
  .nlg-newsletter,
  .nlg-closing {
    padding: 75px 0;
  }

  .nlg-offer-grid,
  .nlg-service-columns {
    grid-template-columns: 1fr;
  }

  .nlg-offer-wide {
    grid-column: auto;
    grid-template-columns: 54px 1fr;
  }

  .nlg-offer {
    grid-template-columns: 44px 1fr;
    min-height: auto;
    padding: 1.6rem;
  }

  .nlg-pathways-image,
  .nlg-pathways-image img {
    min-height: 420px;
  }

  .nlg-path-list a {
    grid-template-columns: 66px 1fr 24px;
  }

  .nlg-ambassador-grid {
    grid-template-columns: 1fr;
  }

  .nlg-ambassador-mark {
    max-width: 260px;
  }

  .nlg-education-panel {
    padding: 1.5rem;
  }

  .nlg-education-visual {
    min-height: 400px;
  }

  .nlg-course-sheet {
    inset: 20px 0 0 16px;
    min-height: 360px;
    padding: 1.5rem;
  }

  .nlg-course-sheet-back {
    inset: 0 18px 35px 0;
  }

  .nlg-newsletter-fields {
    grid-template-columns: 1fr;
  }

  .nlg-footer-grid {
    grid-template-columns: 1fr;
  }

  .nlg-footer-bottom {
    flex-direction: column;
  }

  .nlife-newsletter-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nlg-brand-copy small {
    display: none;
  }

  .nlg-hero h1 {
    font-size: 2.65rem;
  }

  .nlg-path-list a {
    grid-template-columns: 1fr 24px;
  }

  .nlg-path-list span {
    grid-column: 1 / -1;
  }

  .nlg-path-list strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* New Gateway inner pages */
.nlg-inner-hero {
  padding: 190px 0 95px;
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.95), rgba(5, 12, 34, 0.66)),
    url("assets/images/img-6607-50-2000x1333.webp") center / cover no-repeat;
  color: #fff;
}

.nlg-inner-hero-copy {
  max-width: 860px;
}

.nlg-inner-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.nlg-inner-hero p {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.18rem;
}

.nlg-inner-section {
  padding: 95px 0;
  background: #fff;
}

.nlg-inner-section-soft {
  background: var(--nlg-cream);
}

.nlg-inner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 5rem;
  align-items: start;
}

.nlg-inner-section h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.nlg-inner-section p {
  color: var(--nlg-muted);
}

.nlg-inner-note {
  padding: 1.7rem;
  border-left: 4px solid var(--nlg-amber);
  border-radius: 0 16px 16px 0;
  background: var(--nlg-cream);
}

.nlg-inner-note strong {
  color: var(--nlg-navy-950);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nlg-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.nlg-request-card {
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: var(--nlg-radius);
  background: #fff;
  box-shadow: var(--nlg-shadow);
}

.nlg-request-card-dark {
  background: var(--nlg-navy-900);
  color: #fff;
}

.nlg-request-card > span {
  color: var(--nlg-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-request-card-dark > span {
  color: var(--nlg-green);
}

.nlg-request-card h2 {
  margin-top: 0.9rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.nlg-request-card-dark h2 {
  color: #fff;
}

.nlg-request-card-dark p,
.nlg-request-card-dark li {
  color: rgba(255, 255, 255, 0.73);
}

.nlg-request-card ul {
  margin: 1.5rem 0 2rem;
  padding-left: 1.2rem;
}

.nlg-process {
  max-width: 980px;
}

.nlg-process ol {
  display: grid;
  gap: 0;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: nlg-process;
}

.nlg-process li {
  counter-increment: nlg-process;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--nlg-line);
  color: var(--nlg-muted);
}

.nlg-process li::before {
  content: counter(nlg-process, decimal-leading-zero);
  color: var(--nlg-green-dark);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.nlg-process li strong {
  color: var(--nlg-navy-950);
}

@media (max-width: 991px) {
  .nlg-inner-grid,
  .nlg-request-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .nlg-inner-hero {
    padding: 145px 0 70px;
  }

  .nlg-inner-section {
    padding: 70px 0;
  }
}

/* N-Life Gateway Revised 2.1 additions */
.nlg-header .dropdown-toggle::after {
  position: static;
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  vertical-align: 0.16em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transform: none;
  background: none;
}

.nlg-dropdown {
  min-width: 240px;
  padding: 0.65rem;
  border: 1px solid rgba(5, 12, 34, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(5, 12, 34, 0.18);
}

.nlg-dropdown .dropdown-item {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--nlg-ink);
  font-size: 0.88rem;
  font-weight: 650;
}

.nlg-dropdown .dropdown-item:hover,
.nlg-dropdown .dropdown-item:focus {
  background: var(--nlg-sky);
  color: var(--nlg-navy-950);
}

.nlg-nav-cta button {
  white-space: nowrap;
}

/* Original photography */
.nlg-photo-story {
  padding: 120px 0;
  background: var(--nlg-cream);
}

.nlg-photo-story-head {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.nlg-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

.nlg-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--nlg-navy-900);
  box-shadow: 0 16px 44px rgba(5, 12, 34, 0.12);
}

.nlg-photo-tall {
  grid-row: 1 / span 2;
}

.nlg-photo-wide {
  grid-column: span 2;
}

.nlg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.nlg-photo:hover img {
  transform: scale(1.025);
}

/* People and original story pathways */
.nlg-influences {
  padding: 120px 0;
  background: #fff;
}

.nlg-influence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 3.8rem;
}

.nlg-influence-card {
  overflow: hidden;
  border: 1px solid var(--nlg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(5, 12, 34, 0.07);
}

.nlg-influence-image {
  display: block;
  height: 190px;
  overflow: hidden;
  background: var(--nlg-navy-900);
}

.nlg-influence-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.nlg-influence-image:hover img,
.nlg-influence-image:focus img {
  transform: scale(1.04);
}

.nlg-influence-card > div {
  padding: 1.45rem;
}

.nlg-influence-card span {
  color: var(--nlg-green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nlg-influence-card h3 {
  margin: 0.6rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1.28;
}

.nlg-influence-card h3 a {
  color: var(--nlg-navy-950);
  text-decoration: none;
}

.nlg-influence-card h3 a:hover,
.nlg-influence-card h3 a:focus {
  color: var(--nlg-green-dark);
}

.nlg-influence-card p {
  margin: 0.9rem 0 0;
  color: var(--nlg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Support */
.nlg-support {
  padding: 100px 0;
  background: var(--nlg-navy-900);
  color: #fff;
}

.nlg-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 5rem;
  align-items: center;
}

.nlg-support h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.nlg-support p {
  max-width: 800px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.nlg-support-note {
  padding-left: 1rem;
  border-left: 3px solid var(--nlg-green);
  font-size: 0.9rem;
}

.nlg-support-actions {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

/* Newsletter invite, modal and permanent page */
.nlg-letter-invite {
  padding: 90px 0;
  background: var(--nlg-sky);
}

.nlg-letter-invite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 4rem;
  align-items: center;
}

.nlg-letter-invite h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.nlg-letter-invite p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--nlg-muted);
}

.nlg-letter-actions {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.nlg-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  place-items: center;
  padding: 1.2rem;
}

.nlg-modal.is-open {
  display: grid;
}

.nlg-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 34, 0.78);
  backdrop-filter: blur(6px);
}

.nlg-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 2.4rem);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border-radius: 24px;
  background: #fff;
  color: var(--nlg-ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.nlg-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--nlg-cream);
  color: var(--nlg-navy-950);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.nlg-modal-copy {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding-right: 2rem;
}

.nlg-modal-copy img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.nlg-modal-copy h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.1;
}

.nlg-modal-copy p {
  margin: 0.55rem 0 0;
  color: var(--nlg-muted);
  font-size: 0.98rem;
}

.nlg-modal-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.7rem;
}

.nlg-modal-form label:not(.nlg-modal-consent) {
  margin-top: 0.45rem;
  color: var(--nlg-navy-950);
  font-size: 0.82rem;
  font-weight: 800;
}

.nlg-modal-form label span {
  font-weight: 500;
}

.nlg-modal-form input[type="text"],
.nlg-modal-form input[type="email"],
.nlg-page-form input[type="text"],
.nlg-page-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd2de;
  border-radius: 12px;
  background: #fff;
  color: var(--nlg-ink);
  font: inherit;
}

.nlg-modal-form input:focus,
.nlg-page-form input:focus {
  outline: 3px solid rgba(119, 201, 107, 0.26);
  border-color: var(--nlg-green-dark);
}

.nlg-modal-consent,
.nlg-page-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0.75rem 0;
  color: var(--nlg-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.nlg-modal-consent input,
.nlg-page-consent input {
  margin-top: 0.22rem;
}

.nlg-modal-permanent {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--nlg-line);
  color: var(--nlg-muted);
  font-size: 0.78rem;
}

.nlg-modal-permanent a {
  color: var(--nlg-blue);
}

body.nlg-modal-open {
  overflow: hidden;
}

/* Dedicated content pages added by the revised theme */
.nlg-page-shell {
  padding: 150px 0 100px;
  background: #fff;
}

.nlg-page-shell-dark {
  background: var(--nlg-navy-900);
  color: #fff;
}

.nlg-page-container {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.nlg-page-intro {
  max-width: 820px;
}

.nlg-page-intro h1 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.nlg-page-shell-dark .nlg-page-intro h1 {
  color: #fff;
}

.nlg-page-intro > p {
  margin: 1.3rem 0 0;
  color: var(--nlg-muted);
  font-size: 1.08rem;
}

.nlg-page-shell-dark .nlg-page-intro > p {
  color: rgba(255, 255, 255, 0.74);
}

.nlg-page-panel {
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 2.7rem);
  border: 1px solid var(--nlg-line);
  border-radius: 22px;
  background: var(--nlg-cream);
}

.nlg-page-shell-dark .nlg-page-panel {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
}

.nlg-page-panel h2,
.nlg-project-card h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.nlg-page-shell-dark .nlg-page-panel h2 {
  color: #fff;
}

.nlg-page-panel p,
.nlg-page-panel li {
  color: var(--nlg-muted);
}

.nlg-page-shell-dark .nlg-page-panel p,
.nlg-page-shell-dark .nlg-page-panel li {
  color: rgba(255, 255, 255, 0.74);
}

.nlg-page-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.nlg-page-form > label:not(.nlg-page-consent) {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.nlg-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.nlg-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.nlg-project-card {
  padding: 1.7rem;
  border: 1px solid var(--nlg-line);
  border-radius: 18px;
  background: #fff;
}

.nlg-project-card p {
  color: var(--nlg-muted);
}

.nlg-project-card a {
  color: var(--nlg-blue);
  font-weight: 800;
}

.nlg-footer-grid {
  grid-template-columns: 1.3fr repeat(4, minmax(0, 0.75fr));
  gap: 2rem;
}

.nlg-footer-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.nlg-footer-button:hover,
.nlg-footer-button:focus {
  color: var(--nlg-green);
}

@media (max-width: 1199px) {
  .nlg-influence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nlg-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nlg-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .nlg-dropdown {
    margin: 0.2rem 0 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .nlg-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.84);
  }

  .nlg-dropdown .dropdown-item:hover,
  .nlg-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .nlg-photo-story-head,
  .nlg-support-grid,
  .nlg-letter-invite-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 2rem;
    align-items: start;
  }

  .nlg-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 230px);
  }

  .nlg-photo-tall {
    grid-row: span 2;
  }

  .nlg-photo-wide {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .nlg-photo-story,
  .nlg-influences {
    padding: 84px 0;
  }

  .nlg-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .nlg-photo,
  .nlg-photo-tall,
  .nlg-photo-wide {
    grid-column: auto;
    grid-row: auto;
    height: 230px;
  }

  .nlg-influence-grid,
  .nlg-project-grid {
    grid-template-columns: 1fr;
  }

  .nlg-support,
  .nlg-letter-invite {
    padding: 72px 0;
  }

  .nlg-modal-copy {
    grid-template-columns: 54px 1fr;
  }

  .nlg-modal-copy img {
    width: 54px;
    height: 54px;
  }

  .nlg-footer-grid {
    grid-template-columns: 1fr;
  }

  .nlg-footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nlg-photo img,
  .nlg-influence-image img {
    transition: none;
  }
}

/* N-Life Gateway Version 3 */
.nlg-v3-home .nlg-hero {
  min-height: 760px;
}

.nlg-v3-hero-inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.5fr);
}

.nlg-v3-offers {
  padding: 110px 0;
}

.nlg-v3-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.5rem;
}

.nlg-v3-path-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--nlg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(5, 12, 34, 0.07);
}

.nlg-v3-path-card > span,
.nlg-v3-feature-copy > span,
.nlg-collection-hero-copy > span,
.nlg-content-card span,
.nlg-voice-row span,
.nlg-steps-grid span,
.nlg-learning-panel span,
.nlg-article-hero span {
  color: var(--nlg-green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-v3-path-card h3 {
  margin: 1.2rem 0 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.nlg-v3-path-card p {
  margin: 1rem 0 1.5rem;
  color: var(--nlg-muted);
  font-size: 0.96rem;
}

.nlg-v3-path-card a {
  margin-top: auto;
  color: var(--nlg-blue);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.nlg-v3-feature {
  padding: 110px 0;
  background: var(--nlg-navy-900);
  color: #fff;
}

.nlg-v3-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.nlg-v3-feature-image {
  overflow: hidden;
  min-height: 500px;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.nlg-v3-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.nlg-v3-feature-copy > span {
  color: var(--nlg-green);
}

.nlg-v3-feature-copy h2 {
  margin: 1rem 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.nlg-v3-feature-copy p {
  margin: 1.4rem 0 2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.nlg-v3-journey {
  padding: 110px 0;
}

.nlg-v3-photo-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 1fr;
  gap: 1rem;
}

.nlg-v3-photo-strip figure {
  height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--nlg-navy-900);
  box-shadow: 0 16px 48px rgba(5, 12, 34, 0.12);
}

.nlg-v3-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nlg-v3-closing {
  padding: 95px 0;
  background: var(--nlg-navy-950);
  color: #fff;
}

.nlg-v3-closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.nlg-v3-closing-grid > div {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.nlg-v3-closing-grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nlg-v3-closing h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12;
}

.nlg-v3-closing p {
  color: rgba(255, 255, 255, 0.7);
}

/* Version 3 content collections */
.nlg-collection-hero,
.nlg-article-hero {
  padding: 185px 0 95px;
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.96), rgba(5, 12, 34, 0.62)),
    url("assets/images/img-6607-50-2000x1333.webp") center / cover no-repeat;
  color: #fff;
}

.nlg-collection-hero-stories {
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.96), rgba(5, 12, 34, 0.55)),
    url("assets/images/img-4561-696x464.webp") center / cover no-repeat;
}

.nlg-collection-hero-voices {
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.97), rgba(5, 12, 34, 0.58)),
    url("assets/images/img-3946-3546x2364.jpg") center / cover no-repeat;
}

.nlg-collection-hero-steps {
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.96), rgba(5, 12, 34, 0.56)),
    url("assets/images/img-3201-696x464.webp") center / cover no-repeat;
}

.nlg-collection-hero-wisdom {
  background:
    linear-gradient(90deg, rgba(5, 12, 34, 0.97), rgba(5, 12, 34, 0.6)),
    url("assets/images/img-3830-2576x1717.webp") center / cover no-repeat;
}

.nlg-collection-hero-copy {
  max-width: 800px;
}

.nlg-collection-hero-copy > span,
.nlg-article-hero span {
  color: var(--nlg-green);
}

.nlg-collection-hero h1,
.nlg-article-hero h1 {
  margin: 1rem 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.nlg-collection-hero p,
.nlg-article-hero p {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
}

.nlg-collection-section,
.nlg-article-section {
  padding: 100px 0;
  background: #fff;
}

.nlg-collection-intro {
  max-width: 800px;
  margin-bottom: 3rem;
}

.nlg-collection-intro h2,
.nlg-coming-note h2,
.nlg-learning-panel h2,
.nlg-article-section h2 {
  margin: 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.nlg-collection-intro p,
.nlg-coming-note p,
.nlg-learning-panel p,
.nlg-article-section p {
  color: var(--nlg-muted);
}

.nlg-content-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.nlg-content-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nlg-content-card {
  overflow: hidden;
  border: 1px solid var(--nlg-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(5, 12, 34, 0.08);
}

.nlg-content-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.nlg-content-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.nlg-content-card-featured img {
  height: 100%;
  min-height: 420px;
}

.nlg-content-card > div {
  padding: clamp(1.5rem, 4vw, 2.7rem);
}

.nlg-content-card h2,
.nlg-voice-row h2,
.nlg-steps-grid h2 {
  margin: 0.8rem 0 0;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.nlg-content-card p,
.nlg-voice-row p,
.nlg-steps-grid p {
  color: var(--nlg-muted);
}

.nlg-content-card-book {
  display: flex;
  align-items: center;
  background: var(--nlg-cream);
}

.nlg-voice-list {
  display: grid;
  gap: 1.2rem;
}

.nlg-voice-row {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--nlg-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(5, 12, 34, 0.08);
}

.nlg-voice-row img {
  width: 100%;
  min-height: 300px;
  border-radius: 16px;
  object-fit: cover;
}

.nlg-coming-note {
  margin-top: 2rem;
  padding: 2rem;
  border-left: 4px solid var(--nlg-green);
  background: var(--nlg-cream);
}

.nlg-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nlg-steps-grid article {
  padding: 2rem;
  border: 1px solid var(--nlg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(5, 12, 34, 0.07);
}

.nlg-learning-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 24px;
  background: var(--nlg-sky);
}

.nlg-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.5fr);
  gap: 4rem;
  align-items: center;
}

.nlg-article-hero img {
  width: 100%;
  max-height: 360px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.nlg-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 5rem;
  align-items: start;
}

.nlg-article-section article h2 + p {
  margin-top: 1rem;
}

.nlg-article-section article h2:not(:first-child) {
  margin-top: 2.8rem;
}

.nlg-article-aside {
  position: sticky;
  top: 120px;
  padding: 1.8rem;
  border-left: 4px solid var(--nlg-amber);
  border-radius: 0 18px 18px 0;
  background: var(--nlg-cream);
}

.nlg-article-aside strong {
  color: var(--nlg-green-dark);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Unify legacy individual pages without altering their stored content */
body:not(.home) .nlife-main > section[data-bs-version] {
  padding-top: 90px;
  padding-bottom: 90px;
  background-color: #fff;
}

body:not(.home) .nlife-main > section[data-bs-version]:nth-of-type(even) {
  background-color: var(--nlg-cream);
}

body:not(.home) .nlife-main > section[data-bs-version] > .container,
body:not(.home) .nlife-main > section[data-bs-version] > .container-fluid {
  width: min(1140px, calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

body:not(.home) .nlife-main .mbr-section-title,
body:not(.home) .nlife-main .mbr-section-subtitle,
body:not(.home) .nlife-main .item-title,
body:not(.home) .nlife-main .card-title {
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
}

body:not(.home) .nlife-main .item-wrapper,
body:not(.home) .nlife-main .card-box {
  border-radius: 18px;
}

body:not(.home) .nlife-main .features-image .item-wrapper,
body:not(.home) .nlife-main .gallery3 .item-wrapper,
body:not(.home) .nlife-main .team2 .item-wrapper {
  overflow: hidden;
  border: 1px solid var(--nlg-line);
  background: #fff;
  box-shadow: 0 12px 38px rgba(5, 12, 34, 0.08);
}

body:not(.home) .nlife-main .features-image .item-content,
body:not(.home) .nlife-main .gallery3 .item-content,
body:not(.home) .nlife-main .team2 .card-box {
  padding: 1.5rem;
}

body:not(.home) .nlife-main .item-img img,
body:not(.home) .nlife-main .image-wrapper img {
  width: 100%;
  object-fit: cover;
}

body:not(.home) .nlife-main .btn-primary {
  border-color: var(--nlg-green);
  background: var(--nlg-green);
  color: var(--nlg-navy-950);
}

.countdown1,
.countdown-cont {
  display: none !important;
}

@media (max-width: 1199px) {
  .nlg-v3-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .nlg-v3-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .nlg-v3-hero-inner > * {
    width: 100%;
    min-width: 0;
  }

  .nlg-v3-feature-grid,
  .nlg-content-card-featured,
  .nlg-voice-row,
  .nlg-article-hero-grid,
  .nlg-article-layout,
  .nlg-learning-panel {
    grid-template-columns: 1fr;
  }

  .nlg-article-aside {
    position: static;
  }

  .nlg-v3-photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nlg-v3-photo-strip figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .nlg-v3-home .nlg-hero {
    min-height: auto;
  }

  .nlg-v3-hero-inner {
    padding-top: 132px;
    padding-bottom: 64px;
  }

  .nlg-v3-hero-inner .nlg-hero-copy,
  .nlg-v3-hero-inner .nlg-hero-copy > p,
  .nlg-v3-hero-inner .nlg-hero-note,
  .nlg-v3-hero-inner .nlg-actions {
    width: 100%;
    max-width: none;
  }

  .nlg-v3-hero-inner h1,
  .nlg-v3-hero-inner p,
  .nlg-v3-hero-inner a,
  .nlg-v3-hero-inner button,
  .nlg-content-card h2,
  .nlg-content-card p {
    word-break: normal;
    overflow-wrap: break-word;
  }

  body:not(.home) .nlife-main > section[data-bs-version] > .container,
  body:not(.home) .nlife-main > section[data-bs-version] > .container-fluid {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  body:not(.home) .nlife-main .row > .item.features-image {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .nlg-v3-offers,
  .nlg-v3-feature,
  .nlg-v3-journey,
  .nlg-collection-section,
  .nlg-article-section {
    padding: 76px 0;
  }

  .nlg-v3-path-grid,
  .nlg-content-card-grid,
  .nlg-content-card-grid-two,
  .nlg-steps-grid,
  .nlg-v3-closing-grid,
  .nlg-v3-photo-strip {
    grid-template-columns: 1fr;
  }

  .nlg-v3-path-card {
    min-height: auto;
  }

  .nlg-v3-feature-image,
  .nlg-v3-feature-image img {
    min-height: 350px;
  }

  .nlg-v3-photo-strip figure,
  .nlg-v3-photo-strip figure:last-child {
    grid-column: auto;
    height: 260px;
  }

  .nlg-v3-closing-grid > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .nlg-collection-hero,
  .nlg-article-hero {
    padding: 145px 0 72px;
  }
}

@media (max-width: 1399px) {
  .nlg-header .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: var(--nlg-navy-950);
  }

  .nlg-header .nav-link {
    padding: 0.7rem 0.35rem !important;
    font-size: 0.9rem;
  }

  .nlg-header .nav-link::after {
    right: auto;
    left: 0.35rem;
    width: 32px;
  }

  .nlg-nav-cta {
    margin: 0.8rem 0 0;
  }
}


/* Version 3.2 content and contrast refinements */
.nlg-content-card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nlg-steps-intro {
  max-width: 860px;
}

.nlg-steps-method-intro {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.nlg-step-method {
  max-width: 980px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--nlg-line);
}

.nlg-step-method-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--nlg-line);
}

.nlg-step-method-item > span {
  color: var(--nlg-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.nlg-step-method-item h2 {
  margin: 0 0 0.45rem;
  color: var(--nlg-navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.nlg-step-method-item p {
  margin: 0;
  color: var(--nlg-muted);
}

.nlg-steps-direction {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: center;
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--nlg-radius);
  background: var(--nlg-navy-950);
  color: #fff;
  box-shadow: var(--nlg-shadow);
}

.nlg-steps-direction > div > span {
  color: var(--nlg-green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nlg-steps-direction h2 {
  margin: 0.55rem 0 0.7rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}

.nlg-steps-direction p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.nlg-steps-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.nlg-steps-direction .nlg-button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

.nlg-steps-direction .nlg-button-secondary:hover,
.nlg-steps-direction .nlg-button-secondary:focus {
  border-color: #fff;
  background: #fff;
  color: var(--nlg-navy-950);
}

.nlg-article-hero-watts {
  background: linear-gradient(110deg, rgba(5, 12, 34, 0.98), rgba(16, 36, 90, 0.92));
}

/* The imported Mobirise pages used white text on dark backgrounds. Version 3 uses light page surfaces, so force readable legacy text. */
body:not(.home) .nlife-main > section[data-bs-version],
body:not(.home) .nlife-main > section[data-bs-version] p,
body:not(.home) .nlife-main > section[data-bs-version] li,
body:not(.home) .nlife-main > section[data-bs-version] .mbr-text,
body:not(.home) .nlife-main > section[data-bs-version] .text-white,
body:not(.home) .nlife-main > section[data-bs-version] .mbr-white,
body:not(.home) .nlife-main > section[data-bs-version] .textGDPR {
  color: var(--nlg-ink) !important;
}

body:not(.home) .nlife-main > section[data-bs-version] a:not(.nlg-button):not(.btn) {
  color: var(--nlg-blue) !important;
}

body:not(.home) .nlife-main > section[data-bs-version] a:not(.nlg-button):not(.btn):hover,
body:not(.home) .nlife-main > section[data-bs-version] a:not(.nlg-button):not(.btn):focus {
  color: var(--nlg-green-dark) !important;
}

/* Light content surfaces must never inherit the white type used by the original dark Mobirise screens. */
.nlg-collection-section .nlg-collection-intro h2,
.nlg-collection-section .nlg-collection-intro p,
.nlg-collection-section .nlg-content-card h2,
.nlg-collection-section .nlg-content-card p,
.nlg-collection-section .nlg-voice-row h2,
.nlg-collection-section .nlg-voice-row p,
.nlg-collection-section .nlg-coming-note h2,
.nlg-collection-section .nlg-coming-note p,
.nlg-collection-section .nlg-step-method-item h2,
.nlg-collection-section .nlg-step-method-item p {
  color: var(--nlg-ink) !important;
}

@media (max-width: 991px) {
  .nlg-content-card-grid-three,
  .nlg-steps-direction {
    grid-template-columns: 1fr;
  }

  .nlg-steps-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .nlg-v3-hero-inner h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    line-height: 1.03;
  }

  .nlg-v3-hero-inner .nlg-hero-copy > p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .nlg-content-card > div,
  .nlg-voice-row,
  .nlg-coming-note {
    padding: 1.35rem;
  }

  .nlg-step-method-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.85rem;
  }
}
