﻿.technology-page .technology-section {
  padding: clamp(20px, 8vw, 20px) 0;
}

.technology-page .technology-section {
  margin-top: 2%;
}

.wwa-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  border-radius: 0 !important;
}

.wwa-hero__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg,
      rgba(10, 38, 70, 0.86) 0%,
      rgba(10, 38, 70, 0.65) 100%);
  display: flex;
  align-items: center;
  border-radius: 0 !important;
}

.wwa-hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 10vh, 140px);
  padding-bottom: clamp(72px, 10vh, 140px);
}

.technology-page,
.technology-page #primary,
.technology-page .content-area,
.technology-page .site-main {
  border-radius: 0 !important;
  overflow: visible;
}

.wwa-hero__eyebrow {
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #ffffff;
  font-weight: 600;
  padding-left: 5%;
}

.wwa-hero__title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 18px;
  line-height: 1.2;
  padding-top: 0;
  padding-left: 5%;
}

.technology-page .wwa-hero__title {
  padding-top: 30% !important;
}

.wwa-hero__description {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 5%;
}

.technology-page .technology-intro__body {
  max-width: 880px;
  margin: 0 auto clamp(8px, 2vw, 16px);
  padding: 0 clamp(16px, 4vw, 40px);
  font-size: 1rem;
  line-height: 1.7;
  color: #1b1b1b;
}

.technology-page .technology-intro__body h2 {
  margin-bottom: clamp(16px, 3vw, 24px);
  font-size: clamp(1.75rem, 2.6vw, 2.125rem);
  line-height: 1.15;
  font-weight: 700;
  color: #00263e;
  text-align: left;
  padding: 0;
}

.technology-page .technology-intro__body p {
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.technology-intro__diagram {
  margin-top: clamp(10px, 3.5vw, 10px);
  margin-bottom: clamp(10px, 3.5vw, 10px);
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
  padding: 0 clamp(16px, 4vw, 40px);
  text-align: center;
  overflow: hidden;
}

.technology-intro__diagram img {
  width: min(100%, 720px);
  height: auto;
  display: block;
  clip-path: inset(4% 0 4% 0);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .technology-intro__diagram img {
    clip-path: inset(2% 0 2% 0);
  }
}

.technology-reaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: clamp(20px, 4vw, 40px) auto;
  max-width: 880px;
  padding: 0 clamp(16px, 4vw, 40px);
}

.technology-reaction-card {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 18px);
  align-items: flex-start;
}

.technology-reaction-card__label {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #00263e;
}

.technology-reaction-card__content {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 38, 62, 0.12);
  border-radius: 16px;
  padding: clamp(15px, 3.5vw, 15px);
  box-shadow: 0 4px 12px rgba(10, 38, 70, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.technology-reaction-card__content p {
  margin: 0;
  font-size: clamp(1.15rem, 2.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.45;
  color: #1b1b1b;
  font-size: 16px;
}

.technology-section--flows .section-heading {
  padding-top: 2%;
  text-align: left;
  margin-bottom: clamp(32px, 6vw, 48px);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.technology-section--flows .section-heading h2 {
  margin-bottom: clamp(12px, 2vw, 18px);
  padding-top: 2%;
  text-align: left;
}

.technology-section--flows .section-heading p {
  max-width: 100%;
  margin: 0;
}

.technology-flows__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
}

/* FLOW CHARTS - FIXED SIZING AND POSITIONING */
.flowchart-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(10, 94, 163, 0.1);
  box-shadow: 0 24px 60px rgba(10, 94, 163, 0.08);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.flowchart-card__header {
  text-align: center;
}

.flowchart-card__header h3 {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 26px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0a5ea3;
}

.flowchart-card__subheading {
  margin: clamp(4px, 1vw, 10px) 0 0;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f7991;
}

.flowchart-card__body {
  width: 100%;
  position: relative;
}

.technology-flows__stack .flowchart-card {
  max-width: clamp(640px, 85vw, 850px);
  border-radius: 22px;
}

.technology-flows__stack .flowchart-card__body {
  display: flex;
  justify-content: center;
}

.flowchart-card__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.technology-page .flowchart-card__image,
.technology-page .technology-intro__diagram img {
  image-rendering: auto !important;
  -ms-interpolation-mode: bicubic;
}

/* FLOW 1 - SODIUM SULFATE FLOW */
.sodium-flow {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(220px, 0.44fr) minmax(160px,
      0.28fr);
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 360px;
  padding: clamp(8px, 2vw, 16px);
}

.sodium-flow__column--sources {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 3vw, 26px) clamp(10px, 2vw, 18px);
}

.sodium-flow__frame {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.sodium-flow__column--sources .flowchart-node {
  position: relative;
  transform: none;
  width: min(100%, 220px);
  z-index: 2;
}

.sodium-flow__column--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  width: 100%;
}

.flowchart-node--sodium-sulfate {
  width: min(100%, 260px);
}

.flowchart-node--norscand {
  width: 100%;
  max-width: 420px;
}

.sodium-flow__column--outputs {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  width: 100%;
}

.sodium-flow__column--outputs .flowchart-node {
  width: min(100%, 220px);
}

/* FLOW 2 - LITHIUM LIFECYCLE */
.lithium-flow {
  width: 100%;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px);
  overflow: hidden;
}

.lithium-flow__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  position: relative;
  padding: clamp(8px, 2vw, 20px) 0;
}

.flowchart-node--li-mines {
  grid-column: 1;
  grid-row: 1;
}

.flowchart-node--ecp-extraction {
  grid-column: 2;
  grid-row: 1;
}

.flowchart-node--midstream-refining {
  grid-column: 3 / 5;
  grid-row: 1;
  width: 100%;
  max-width: clamp(280px, 38vw, 420px);
  justify-self: center;
}

.flowchart-node--lbc-manufacturing {
  grid-column: 4;
  grid-row: 2;
  justify-self: end;
}

.flowchart-node--evc-manufacturing {
  grid-column: 3;
  grid-row: 2;
  justify-self: center;
}

.flowchart-node--repurposing {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
}

.flowchart-node--lb-recycling-two {
  grid-column: 1;
  grid-row: 2;
}

.lithium-flow__grid .flowchart-node {
  width: min(100%, 220px);
}

/* FLOWCHART NODE STYLES */
.flowchart-node {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  border-radius: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  position: relative;
}

.flowchart-node img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  pointer-events: none;
}

.flowchart-node:focus-visible {
  outline: 3px solid #0069a7;
  outline-offset: 6px;
}

.flowchart-node.is-active {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(10, 94, 163, 0.25));
  z-index: 10;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1200px) {
  .flowchart-card {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  .flowchart-card {
    padding: 24px 16px;
  }

  .flowchart-card__body {
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .flowchart-card {
    padding: 18px 12px;
  }

  .sodium-flow {
    padding: 4px 0;
  }

  .lithium-flow__grid {
    gap: clamp(8px, 4vw, 16px);
  }

  .lithium-flow__grid .flowchart-node {
    width: clamp(90px, 20vw, 150px);
  }

  .flowchart-node--midstream-refining {
    max-width: clamp(220px, 60vw, 320px);
  }
}

.technology-section--features .section-heading,
.technology-section--applications .section-heading {
  text-align: left;
  margin-bottom: clamp(24px, 4vw, 32px);
  padding-top: 2%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.technology-features__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: clamp(18px, 3.2vw, 30px);
  max-width: 880px;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.technology-features__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.technology-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #0078ba;
  flex-shrink: 0;
}

.technology-features__icon svg {
  width: 100%;
  height: 100%;
}

.technology-features__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #1b1b1b;
}

.technology-features__label {
  display: inline-block;
  font-weight: 700;
  margin-right: 6px;
}

.technology-features__description {
  display: inline;
}

.technology-applications__list {
  margin: 0 auto;
  padding-left: 1.2em;
  display: grid;
  gap: clamp(12px, 2.5vw, 18px);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 880px;
  padding-right: clamp(16px, 4vw, 40px);
}

.technology-section--cta {
  margin: 0;
}

.applications-discuss {
  position: relative;
  margin: clamp(72px, 8vw, 120px) 0 clamp(32px, 6vw, 80px);
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
  border-radius: 0 !important;
}

.applications-discuss__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 !important;
}

.applications-discuss .container {
  position: relative;
  z-index: 1;
}

.applications-discuss__content {
  padding: clamp(48px, 8vw, 96px) 0;
  max-width: 520px;
}

.applications-discuss__content h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
  margin-bottom: 16px;
}

.applications-discuss__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.applications-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 182px;
  min-height: 59px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.applications-cta__label {
  display: inline-block;
}

.applications-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.applications-cta__icon svg {
  display: block;
  transition: transform 0.3s ease;
}

.applications-cta--outline {
  border: 2px solid #f7fd7b;
  color: #f7fd7b;
  background: transparent;
}

.applications-cta--outline:hover,
.applications-cta--outline:focus {
  background: rgba(247, 253, 123, 0.15);
  color: #ffffff;
}

.applications-cta--outline .applications-cta__icon {
  color: #f7fd7b;
}

.applications-cta--outline:hover .applications-cta__icon svg,
.applications-cta--outline:focus .applications-cta__icon svg {
  transform: translate(2px, -2px);
}

@media (max-width: 767px) {
  .applications-cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .technology-features__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .technology-features__icon {
    margin-bottom: 8px;
  }
}
