/* EVE Theme — WordPress-specific overrides and additions */
/* Loaded after eve-webflow.css */

/* =========================================================
   Sticky navbars — ensure both bars stay fixed at the top
   ========================================================= */
.navbar-2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 2000;
  transition: transform 0.25s ease;
  will-change: transform;
}

body.navbar-2-hidden .navbar-2 {
  transform: translateY(-100%);
}

.navbar-2 .wide-container.extra-wide-container {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 60px;
  background-color: transparent;
  vertical-align: middle;
}

/* Reorder: paragraph-11 and image-24 visually come before brand */
.navbar-2 .paragraph-11 {
  order: 1;
  align-self: center;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
}

.navbar-2 .image-24 {
  order: 2;
  align-self: center;
  display: block;
  vertical-align: middle;
  height: 100%;
  object-fit: contain;
  float: none !important;
  margin-top: 0 !important;
}

/* Brand pushed to the right */
.navbar-2 .brand {
  order: 3;
  margin-left: auto;
  align-self: center;
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 0;
}

.navbar-2 .brand .image-23 {
  width: auto !important;
  height: 49px !important;
  max-width: none;
  display: block;
  margin: 0 10px 0 0 !important;
}

.navbar-2 .nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 11px 4px 25px;
  align-self: center;
  margin: 0;
}

.navbar-4 {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 1000;
  background-color: rgba(0, 50, 71, 0.55);
}

body.navbar-2-hidden .navbar-4 {
  top: 0;
}

/* Match live site's .container-7 geometry: max-width 1500px, anchored to the
   left edge so on wide viewports the nav menu sits inside that 1500px band
   rather than being pushed to the viewport edge. Webflow's
   .wide-container.extra-wide-container is position:fixed; inset:0 0 auto and
   max-width:2000px centered — both undone here. */
.navbar-4 .wide-container.extra-wide-container {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  max-width: 1500px;
  margin-top: 0;
  margin-left: 0;
  margin-right: auto;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 10px;
  background-color: transparent;
}

/* Brand sits at the container's left padding edge — same position as the
   hamburger in navbar-2, so they line up vertically at every resolution. */
.navbar-4 .w-nav-brand {
  float: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-4 .image-28 {
  display: block;
  height: 41px;
  width: auto;
  max-width: none;
  margin: 0 !important;
  position: static;
}

/* Logged-in WordPress admin bar offsets */
.admin-bar .navbar-2 { top: 32px; }
.admin-bar .navbar-4 { top: calc(60px + 32px); }
.admin-bar .nav-mobile-menu { top: calc(60px + 32px); }

body.admin-bar.navbar-2-hidden .navbar-4 { top: 32px; }
body.admin-bar.navbar-2-hidden .nav-mobile-menu {
  top: 32px;
  height: calc(100vh - 32px);
}

/* =========================================================
   Reset WordPress default styles that conflict
   ========================================================= */
.site-content a { color: inherit; text-decoration: none; }
.site-content a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* =========================================================
   Body & layout
   ========================================================= */
html, body { height: 100%; }
body {
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Page content offset for two fixed navbars (60px + 100px = 160px) */
.page-content-wrap {
  padding-top: 160px;
}

/* Shared nav stack height used by top-of-page sections under fixed navbars */
:root {
  --eve-fixed-nav-offset: 160px;
}

/* Full-height hero — no padding-top override needed */
.front-page-hero {
  padding-top: 0;
}

/* Hero overlay: fill hero, title at bottom-left, button floated right */
.front-page-hero .hero-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.front-page-hero .header-button-news.header-button {
  position: absolute;
  left: 50.8%;
  bottom: 20%;
  transform: translateX(-50%);
}
.front-page-hero .title-container {
  padding-bottom: 80px;
}
@media (max-width: 991px) {
  .front-page-hero .header-button-news.header-button {
    position: static;
    transform: none;
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
  }
}

/* =========================================================
   Navigation — main nav links in navbar-4
   ========================================================= */
.eve-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.eve-nav-links a {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 18px;
  padding: 20px;
  text-decoration: none;
  transition: color 0.2s;
}
.eve-nav-links a:hover {
  color: #00ae9d;
}
.eve-nav-links a.current,
.normal-nav-link.current {
  color: #b7c1ca;
}
.eve-nav-links .register-btn {
  background-color: #003247;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 8px 18px;
  margin-left: 10px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.eve-nav-links .register-btn:hover {
  background-color: #fff;
  color: #003247;
}

/* Mobile hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: 10px 18px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Keep hamburger visible on all breakpoints to match the live site */

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  right: auto;
  width: clamp(220px, 12vw, 320px);
  height: calc(100vh - 60px);
  background-color: #003247;
  z-index: 1001;
  padding: 20px;
  border-top: 1px solid #335e6f;
  overflow-y: auto;
}

body.navbar-2-hidden .nav-mobile-menu {
  top: 0;
  height: 100vh;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #335e6f;
  text-decoration: none;
}
.nav-mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 991px) {
  .eve-nav-links { display: none; }
}

@media (max-width: 767px) {
  .navbar-2 .paragraph-11,
  .navbar-2 .image-24 {
    display: none !important;
  }
}

/* =========================================================
   Hero section
   ========================================================= */
.eve-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../img/hero-bg.avif"), linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  background-position: 100% 100%, 0 0;
  background-size: cover, auto;
  background-repeat: no-repeat, repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.eve-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.eve-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  padding: 180px 40px 80px;
}
.eve-hero-title {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 70px;
  font-weight: 400;
  line-height: 1em;
  letter-spacing: 0.5px;
  margin: 0 auto 20px;
  max-width: 900px;
  text-shadow: 1px 1px 16px rgba(0,0,0,0.2);
}
.eve-hero-subtitle {
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 30px;
  display: block;
}
.eve-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.eve-hero-btn {
  display: inline-block;
  color: #fff;
  background-color: #003247;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 10px 30px;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.eve-hero-btn:hover {
  background-color: #fff;
  color: #003247;
}
.eve-hero-btn.secondary {
  background-color: transparent;
  border-color: rgba(255,255,255,0.6);
}

/* Contact Us button — preserve Webflow's transparent/outline style */
.contact-button.eve-hero-btn {
  background-color: transparent;
}
.eve-hero-btn.secondary:hover {
  background-color: rgba(255,255,255,0.15);
}

@media (max-width: 767px) {
  .eve-hero { min-height: 25vh; }
  .eve-hero-title { font-size: 40px; }
  .eve-hero-subtitle { font-size: 1rem; }
}
@media (max-width: 479px) {
  .eve-hero-title { font-size: 24px; line-height: 25px; }
}

/* =========================================================
   Wide container
   ========================================================= */
.wide-container {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 50px;
  padding-right: 50px;
}
@media (max-width: 991px) {
  .wide-container { padding-left: 30px; padding-right: 30px; }
}
@media (max-width: 767px) {
  .wide-container { padding-left: 20px; padding-right: 20px; }
}

/* =========================================================
   Section headings
   ========================================================= */
.subheadings {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 35px;
  color: #000;
  text-align: center;
}
.subheadings.white { color: #fff; text-align: left; }
.subheadings.dark { color: #fff; }
.line-divider {
  width: 100px;
  height: 2px;
  background-color: #003247;
  margin: 10px auto 20px;
}
.line-divider.white { background-color: #fff; margin-left: 0; }
.line-divider.centered { margin-left: auto; margin-right: auto; }

/* =========================================================
   Consortium container — flex row so "Find out more" sits
   top-right and heading/logos fill the left
   ========================================================= */
.wide-container--consortium-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.wide-container--consortium-container .button-hover-line {
  order: 2;
  align-self: flex-start;
  margin-top: 6px;
  flex-shrink: 0;
}
.wide-container--consortium-container .consortium-heading,
.wide-container--consortium-container .line-divider,
.wide-container--consortium-container .funding-label,
.wide-container--consortium-container .consortium-logos {
  order: 1;
  flex: 0 0 100%;
}

/* =========================================================
   Consortium / Partners section
   ========================================================= */
.eve-consortium-section {
  padding: 80px 0;
  text-align: center;
}
.eve-consortium-section .subheadings {
  color: #0b1d26;
  text-align: left;
}
.eve-consortium-section .paragraph-22 > p {
  margin: 0;
}

/* Hover-reveal underline for .button-hover-line links (matches live, which
   sets inline style width:0 and animates to width:100% on hover via JS).
   The hero's "Find out more" keeps width:100% via its own rule further down. */
.button-hover-line .underline {
  width: 0;
  transition: width 0.3s;
}
.button-hover-line:hover .underline {
  width: 100%;
}
.consortium-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.consortium-logos img {
  height: 55px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.consortium-logos img:hover { opacity: 1; }
.funding-label {
  color: rgba(255,255,255,0.6);
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* =========================================================
   Homepage objectives — icon list grid (matches original)
   ========================================================= */
.objectives-icon-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  padding: 0 !important;
  margin-top: 50px;
  clear: both;
}
@media (max-width: 991px) {
  .objectives-icon-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 479px) {
  .objectives-icon-grid { grid-template-columns: 1fr !important; }
}
.objectives-icon-grid .w-layout-cell { display: block !important; }
.objectives-list { display: block; }
.objectives-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  padding: 20px 0;
}
.objectives-link:hover { color: #00ae9d; }
.heading-43 {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s;
}
.objectives-link:hover .heading-43 { color: #00ae9d; }
.objectives-link img { opacity: 0.9; }

/* =========================================================
   Objectives section
   ========================================================= */
.eve-objectives-section {
  background-color: #003247;
  padding: 100px 0;
  border-bottom: 1px solid rgba(185,201,238,0.26);
}

/* New 3-column objectives grid matching the live homepage */
.eve-objectives-section .objectives-grid-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  padding: 0;
  margin-top: 60px;
}
@media (max-width: 991px) {
  .eve-objectives-section .objectives-grid-stack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .eve-objectives-section .objectives-grid-stack { grid-template-columns: 1fr; }
}
.eve-objectives-section .w-layout-cell {
  display: block;
  width: 100%;
}
.eve-objectives-section .objectives-link {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  padding: 30px 16px;
  box-sizing: border-box;
}
.eve-objectives-section .objectives-list .heading-43 {
  margin: 0 0 30px;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  min-height: 60px;
}
.eve-objectives-section .objectives-list img {
  display: inline-block;
  width: 129px;
  height: 129px;
  max-width: 80%;
}

/* Override the w-layout-layout defaults for objectives grid */
.objectives-grid.quick-stack-12 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-column-gap: 20px !important;
  grid-row-gap: 20px !important;
  padding: 0 !important;
  margin-top: 60px;
}
@media (max-width: 991px) {
  .objectives-grid.quick-stack-12 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 479px) {
  .objectives-grid.quick-stack-12 { grid-template-columns: 1fr !important; }
}

/* Cell: block container */
.objectives-grid .w-layout-cell {
  display: block !important;
  width: 100%;
}

/* Intro paragraph spans the full container width (matches live) — the
   shared 900px reading width is only for long-form pages. */
.eve-objectives-section .page-body-content {
  max-width: none;
  margin: 0;
  line-height: 1.5;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* ---- Objective card wrapper ---- */
.eve-obj-card {
  display: block;
  text-decoration: none;
  width: 100%;
  cursor: pointer;
}

/* ---- Image block: the full card tile ---- */
.eve-obj-card .category-image-block {
  position: relative !important;
  width: 100% !important;
  height: 270px !important;
  display: block !important;
  border-radius: 9px !important;
  box-sizing: border-box;
}

/* ---- Overlay fills the image block, darkens on hover ---- */
.eve-obj-card .category-block-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 9px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: transparent;       /* live: transparent at rest */
  transition: background-color 0.35s;
}

.eve-obj-card:hover .category-block-overlay {
  background-color: rgba(22, 29, 54, 0.87) !important;
}

/* ---- Title: lower-middle at rest (pushed down via transform),
         slides up to the top on hover. Always visible.          ---- */
.eve-obj-card .category-title {
  position: absolute !important;
  bottom: 190px !important;
  top: auto !important;
  left: 30px !important;
  right: 30px !important;
  transform: translateY(130px) !important;
  opacity: 1 !important;
  transition: transform 0.35s ease !important;
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  z-index: 2;
  margin: 0;
}

.eve-obj-card:hover .category-title {
  transform: translateY(0) !important;
}

/* ---- Description: anchored at bottom, fades in on hover ---- */
.eve-obj-card .category-description {
  position: absolute !important;
  bottom: 30px !important;
  left: 30px !important;
  right: 30px !important;
  top: auto !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease 0.1s !important;
  color: #dce3e9;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19px;
  z-index: 2;
  margin: 0;
}

.eve-obj-card:hover .category-description {
  opacity: 1 !important;
}

/* ---- READ MORE: shown at the bottom at rest, fades out on hover ---- */
.eve-obj-card .read-more {
  position: absolute !important;
  bottom: 18px !important;
  left: 30px !important;
  right: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 12px;
  opacity: 1 !important;
  transition: opacity 0.25s ease !important;
  z-index: 2;
}

.eve-obj-card:hover .read-more {
  opacity: 0 !important;
}

/* =========================================================
   Use Cases section
   ========================================================= */
.eve-use-cases-section {
  background-color: #fff;
  padding: 100px 0;
}

/* 3-column grid of use-case cards matching the live homepage.
   Inherits webflow's .w-layout-layout { padding: 20px } so the
   inner cells render at the same 420px width as live. */
.eve-use-cases-section .uc-grid-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 991px) {
  .eve-use-cases-section .uc-grid-stack { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .eve-use-cases-section .uc-grid-stack { grid-template-columns: 1fr; }
}
.eve-use-cases-section .w-layout-cell {
  display: block;
  width: 100%;
}
.eve-use-cases-section .uc-links {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.use-case-box {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  height: 400px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Hover overlay: transparent at rest (inline-style gradient already
   provides the base 40% darkening to match live); on hover, layer
   on a 50% black to reach live's ~70% darkened hover state. */
.use-case-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.2s;
  pointer-events: none;
}
.use-case-box:hover::before { background: rgba(0,0,0,0.5); }
.use-case-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px;
  z-index: 1;
}
.use-case-tag {
  color: #fff;
  text-transform: uppercase;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
/* Title slides up on hover to reveal description (matches live).
   Font inherits from body (Lato 700) — live does not set its own. */
.use-case-title {
  color: #fdfdfd;
  font-size: 32px;
  line-height: 36px;
  font-weight: 700;
  margin: 20px 0 10px;
  transform: translateY(41px);
  transition: transform 0.3s ease;
}
.use-case-box:hover .use-case-title {
  transform: translateY(0);
}
.use-case-description {
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.use-case-box:hover .use-case-description {
  opacity: 1;
}

/* =========================================================
   News section (homepage)
   ========================================================= */
.eve-news-section {
  background-color: #f1efef;
  padding: 100px 0 40px;
}
.eve-news-section .subheadings { color: #000; text-align: left; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.news-card:hover { transform: translateY(-3px); }
.news-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: transparent;
}
.news-card-date {
  color: #666;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.news-card-title {
  color: #1a1a1a;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}
.news-card-excerpt {
  color: #555;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.read-more-link {
  color: #003247;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.read-more-link::after {
  content: '→';
  transition: transform 0.2s;
}
.news-card:hover .read-more-link::after { transform: translateX(4px); }
.news-view-all {
  text-align: left;
  margin-top: 30px;
}
.btn-view-all {
  display: inline-block;
  color: #003247;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #003247;
  padding-bottom: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-view-all:hover { color: #00ae9d; border-color: #00ae9d; }

/* =========================================================
   Newsletter CTA section
   ========================================================= */
.eve-newsletter-cta {
  background-color: #0b1d26;
  padding: 80px 0;
  text-align: center;
}
.eve-newsletter-cta h2 {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 35px;
  font-weight: 400;
  margin-bottom: 16px;
}
.eve-newsletter-cta p {
  color: rgba(255,255,255,0.8);
  font-family: Lato, sans-serif;
  font-size: 16px;
  margin-bottom: 30px;
}
.eve-newsletter-cta .eve-hero-btn {
  margin-top: 0;
}

/* =========================================================
   Footer — styling lives in eve-webflow.css
   (.consortium-section.footer / .footer-column / .footer-link /
    .image-27 / .social-media-icon / .contact-button / .bottom-footer-block)

   One override: live sets the .quick-stack-2 grid columns via a
   webflow-generated #w-node-... id rule that we don't ship. Set
   3 horizontal columns explicitly here so the social icons sit
   side-by-side instead of stacking vertically.
   ========================================================= */
footer .quick-stack-2 {
  grid-template-columns: repeat(3, 1fr);
}

/* =========================================================
   Static page templates
   ========================================================= */
.page-header {
  background-color: #003247;
  padding: 80px 0 60px;
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 70px;
  font-weight: 400;
  margin: 0 0 16px;
}
@media (max-width: 991px) {
  .page-header h1 { font-size: 35px; }
}
@media (max-width: 479px) {
  .page-header h1 { font-size: 24px; }
}
.page-header-subtitle {
  color: rgba(255,255,255,0.8);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Let Webflow's page-header variants handle their own background,
   padding and alignment; .page-title drives the top spacing */
.page-header.about,
.page-header.news-header,
.page-header.objectives,
.page-header.use-cases-header,
.page-header.technical {
  padding: 0;
  text-align: left;
}

/* Cookie/Privacy tables */
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.legal-content th {
  background-color: #003247;
  color: #fff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 600;
}
.legal-content td {
  border: 1px solid #d0d7de;
  padding: 9px 14px;
  vertical-align: top;
  color: #333;
  line-height: 1.5;
}
.legal-content tr:nth-child(even) td {
  background-color: #f6f8fa;
}

.page-body {
  background-color: #fff;
  padding: 80px 0;
}
.page-body-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.page-body-content h2 {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #003247;
  margin-top: 40px;
  margin-bottom: 16px;
}
.page-body-content h3 {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #003247;
  margin-top: 30px;
}
.page-body-content a { color: #3f69ee; }
.page-body-content a:hover { color: #00ae9d; }

/* =========================================================
   Partners grid (About page .div-block-49)
   ========================================================= */
.div-block-49 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .div-block-49 { grid-template-columns: 1fr; }
}

/* Responsive 2-column grid utility (replaces inline styles) */
.responsive-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .responsive-2col-grid { grid-template-columns: 1fr; }
}

/* About: Team & Imperative use asymmetric columns (image narrower) and
   stretch the image cell to the full row height — matches the live site. */
.pi-school .partners-info {
  grid-template-columns: 4fr 5fr;
  align-items: stretch;
  margin-top: 150px;
}
/* Team heading: less space above, more below — matches the live site. */
.pi-school { padding-top: 60px; }
.pi-school .partners { margin-top: 0; }
.pi-school .heading-34 { margin: 0; }
.imperative-space .partners-info {
  grid-template-columns: 5fr 4fr;
  align-items: stretch;
}
@media (max-width: 767px) {
  .pi-school .partners-info,
  .imperative-space .partners-info {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   About page sections
   ========================================================= */
.team-section {
  padding: 80px 0;
}
.team-section.grey { background-color: #f1efef; }
.team-section.dark { background-color: #010517; color: #fff; }
.team-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}
.team-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.team-stat-item {
  text-align: center;
}
.team-stat-number {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 36px;
  color: #003247;
}
.team-stat-label {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================================
   News archive (index.php / page-news)
   ========================================================= */
.archive-header {
  background-color: #003247;
  padding: 80px 0 60px;
}
.archive-header .wide-container {
  max-width: 1080px;
}
.archive-header h1 {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 50px;
  font-weight: 400;
  margin: 0;
}
.news-archive-body {
  background-color: #fff;
  padding: 80px 0 0;
}
/* Featured banner sits on white; the grey .news-section follows it. */
.news-archive-body .news-featured-wrap {
  margin-bottom: 60px;
}
.news-archive-body .news-section {
  margin-bottom: 0;
}
/* Pagination: light-grey Prev/Next buttons (Webflow .w-pagination-*),
   text turns teal on hover — matches live. */
.news-archive-body .news-pagination {
  justify-content: flex-start;   /* left-aligned under the grid, like live */
  margin-top: 40px;
}
.news-archive-body .news-pagination a {
  display: flex;
  align-items: center;
  border-radius: 9px;
  text-decoration: none;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  transition: color 0.2s ease;
}
.news-archive-body .news-pagination a:hover {
  color: #00ae9d;
}
/* Article-card hover (matches live): the card lifts 7px and the image
   zooms 1.05x (clipped by the overflow-hidden wrap). The footer arrow is a
   Lottie animation played on hover by news-lottie.js. */
.news-archive-body .article-card {
  transition: transform 0.25s ease;
}
.news-archive-body .article-card:hover {
  transform: translateY(-7px);
}
.news-archive-body .article-card .image-21 {
  transition: transform 0.4s ease;
}
.news-archive-body .article-card:hover .image-21 {
  transform: scale(1.05);
}
/* Featured banner zooms slightly on hover (matches live's link-block-6). */
.news-archive-body .hero-heading-right-2 {
  transition: transform 0.3s ease;
}
.news-archive-body .hero-heading-right-2:hover {
  transform: scale(1.03);
}

/* Featured / highlighted first news item */
.news-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  margin-bottom: 50px;
  transition: box-shadow 0.25s ease;
}
.news-featured-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}
.news-featured-img-wrap {
  height: 420px;
  overflow: hidden;
}
.news-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-featured-body {
  padding: 40px 40px 40px 0;
}
.news-featured-title {
  font-family: 'Notes Esa bold', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #003247;
  margin: 10px 0 16px;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .news-featured-card { grid-template-columns: 1fr; }
  .news-featured-img-wrap { height: 240px; }
  .news-featured-body { padding: 24px; }
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
@media (max-width: 991px) {
  .news-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .news-archive-grid { grid-template-columns: 1fr; }
}

/* "More Articles" heading in news archive */
.news-more-heading {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #003247;
  margin: 50px 0 24px;
}

/* WP pagination */
.wp-pagenavi, .pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.wp-pagenavi a, .wp-pagenavi span {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 8px 14px;
  font-size: 14px;
  color: #003247;
  text-decoration: none;
  transition: background-color 0.2s;
}
.wp-pagenavi a:hover, .wp-pagenavi .current {
  background-color: #003247;
  color: #fff;
  border-color: #003247;
}

/* =========================================================
   Single post
   ========================================================= */
.single-post-header {
  background-color: #003247;
  padding: calc(var(--eve-fixed-nav-offset) + 20px) 0 20px;
}
body.single-post .section-6 {
  background-color: #003247;
  padding: calc(var(--eve-fixed-nav-offset) + 20px) 0 20px;
}
.single-post-header .wide-container,
.single-post-body .wide-container {
  max-width: 900px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
body.single-post .container-wide {
  max-width: 900px;
  padding-left: 10px;
  padding-right: 10px;
}
.single-post-header .single-post-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.single-post-header .single-post-breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.single-post-header .single-post-breadcrumb a:hover {
  color: #00ae9d;
}
.single-post-header .single-post-breadcrumb-current {
  color: rgba(255,255,255,0.9);
}
.single-post-header .post-meta {
  color: rgba(255,255,255,0.6);
  font-family: "Notes Esa regular", sans-serif;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 10px;
  margin-top: 16px;
  margin-bottom: 0;
}
.single-post-header h1 {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 60px;
  max-width: 880px;
  margin: 0;
}
.single-post-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}
.new-image-wrap {
  width: 100%;
  height: 500px;
  margin-top: 40px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  bottom: -28px;
}
.single-post-body {
  padding: 40px 0;
}
body.single-post .section-7 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.single-post-content {
  max-width: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.single-post-recent {
  margin-top: 60px;
}
.single-post-recent-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.single-post-recent .subheadings.news {
  text-align: left;
  margin-bottom: 20px;
}
.single-post-recent .news-grid.news-homepage {
  gap: 34px;
}
.single-post-recent .news-card-img {
  width: 100%;
  height: 230px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
.single-post-recent .news-card,
.single-post-recent .news-card-body {
  background-color: #003247;
}
.single-post-recent .news-card-title,
.single-post-recent .news-card-excerpt,
.single-post-recent .read-more-link {
  color: #fff;
}
.single-post-recent .news-card-date {
  color: rgba(255,255,255,0.75);
}
.post-navigation {
  border-top: 1px solid #e2e2e2;
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.post-navigation-link {
  color: #003247;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
.post-navigation-next {
  margin-left: auto;
}
.post-navigation-link:hover {
  color: #00ae9d;
}
.single-post-content h2, .single-post-content h3 {
  font-family: "Notes Esa bold", sans-serif;
  color: #003247;
  font-weight: 400;
  margin-top: 40px;
}
.single-post-content a { color: #3f69ee; }
.single-post-content a:hover { color: #00ae9d; }
.single-post-content img { border-radius: 4px; margin: 20px 0; }
.back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #003247;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-bottom: 30px;
  padding: 10px 0;
  transition: color 0.2s;
}
.back-to-news::before { content: '←'; }
.back-to-news:hover { color: #00ae9d; }

.admin-bar .single-post-header {
  padding-top: calc(var(--eve-fixed-nav-offset) + 32px + 20px);
}

@media (max-width: 782px) {
  .admin-bar .navbar-2 { top: 46px; }
  .admin-bar .navbar-4 { top: calc(60px + 46px); }
  .admin-bar .nav-mobile-menu { top: calc(60px + 46px); }

  body.admin-bar.navbar-2-hidden .navbar-4 { top: 46px; }
  body.admin-bar.navbar-2-hidden .nav-mobile-menu {
    top: 46px;
    height: calc(100vh - 46px);
  }

  .admin-bar .single-post-header {
    padding-top: calc(var(--eve-fixed-nav-offset) + 46px + 20px);
  }
}


/* =========================================================
   Contact page — checkbox consent label
   ========================================================= */
.checkbox-field {
  margin-top: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}
.checkbox-label {
  color: rgba(255,255,255,0.85);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  margin-left: 8px;
}
.checkbox-label a {
  color: #fff;
  text-decoration: underline;
}

/* =========================================================
   Contact & Newsletter pages
   ========================================================= */
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form textarea {
  width: 100%;
  border: 1px solid #d9dadd;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: Lato, sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
}
.contact-form-wrap .wpcf7-form input[type="submit"] {
  background-color: #003247;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 35px;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-form-wrap .wpcf7-form input[type="submit"]:hover {
  background-color: #00ae9d;
}

/* =========================================================
   Objectives page — full page layout
   ========================================================= */
.objectives-page-section {
  background-color: #003247;
  padding: 80px 0;
}
.objectives-text-list {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.objectives-text-item {
  display: block;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s;
}
.objectives-text-item:last-child { border-bottom: none; }
.objectives-text-item:hover { background-color: rgba(255,255,255,0.04); padding-left: 8px; }
.objectives-text-title {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
}
.objectives-text-desc {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin: 0 0 14px;
  max-width: 800px;
}
.objectives-read-more {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00ae9d;
}

/* =========================================================
   Use Cases page — full page layout
   ========================================================= */
.use-cases-page {
  padding: 60px 0;
  background-color: #fff;
}
/* Alternating full-width bands + inner cards (matches live):
   odd rows (UC2/UC4) = grey band + white card; even rows = white band + grey card. */
.use-case-band { padding: 40px 0; }
.use-case-band.is-grey { background-color: #f1efef; }

.use-case-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;          /* image fills the full row height, like live */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;            /* text inset, matching the live quick-stack */
  border-radius: 9px;
}
.use-case-full-card.card-grey { background-color: #f1efef; }
.use-case-full-card.card-white { background-color: #fff; }
.use-case-full-card.reverse { direction: rtl; }
.use-case-full-card.reverse > * { direction: ltr; }
.use-case-full-img-wrap {
  position: relative;
  border-radius: 0 9px 9px 0;    /* only the outer (right) corners rounded, like live */
  overflow: hidden;
}
.use-case-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Label (.use-case-number), title (.use-cases-titles) and body (.text)
   are styled by the Webflow classes, matching the live site. */
@media (max-width: 767px) {
  .use-case-full-card { grid-template-columns: 1fr; }
  .use-case-full-card.reverse { direction: ltr; }
}

/* =========================================================
   Scrolled navbar style
   ========================================================= */
.navbar-4 {
  transition: top 0.25s ease, background-color 0.3s ease;
}
.navbar-4.scrolled {
  background-color: #003247 !important;
}

/* =========================================================
   404 page
   ========================================================= */
.error-404-wrap {
  background-color: #003247;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.error-404-wrap h1 {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 120px;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  opacity: 0.3;
}
.error-404-wrap h2 {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 30px;
  font-weight: 400;
  margin: 10px 0 20px;
}
.error-404-wrap p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* =============================================================
   TECHNOLOGY PAGE — Webflow auto-generated class overrides
   ============================================================= */
.heading-44 {
  font-family: "Notes Esa regular", sans-serif;
  font-size: 28px;
  color: #1a1a1a;
  font-weight: 400;
  margin: 30px 0 16px;
  line-height: 1.3;
}
.paper_names {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-bottom: 24px;
}
.heading-9 {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 22px;
  color: #003247;
  font-weight: 400;
  margin: 40px 0 12px;
}
.subheading-left-justified {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 30px;
  color: #333;
  font-weight: 700;
  line-height: 30px;
  margin: 40px 0 16px;
  display: block;
}
.text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}
.heading-3 {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 24px;
  color: #333;
  font-weight: 400;
  line-height: 32px;
  margin: 40px 0 16px;
}

/* =============================================================
   TECHNOLOGY / PAPER PAGE
   ============================================================= */

/* Video header: ensure it is tall enough for the video and
   positions the title content at the bottom of the frame.      */
.page-header.technical {
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

/* The Webflow background-video-3 is position:absolute; we keep
   it covering the full header height.                           */
.page-header.technical .background-video-3 {
  height: 100%;
  min-height: 550px;
}

.page-header.technical video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Webflow's .w-background-video > video sets z-index:-100, which hides it
     behind the header's navy fallback background. Lift it above the fill
     (but below the title overlay at z-index:1). */
  z-index: 0;
}

/* Overlay: transparent, sits above the video, holds the title. */
.page-header.technical .page-header-overlay.with-bottom-content {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 50px;
}

/* Title block inside the overlay */
.page-header.technical .page-title {
  padding-top: 0;
}

/* Constrain the heading-large to fit within our wide container */
.page-header.technical .heading-large {
  width: auto;
  max-width: 800px;
}

/* Section-24: ensure container centres content correctly */
.section-24 .container-11,
.section-24 .container-13 {
  width: 100%;
}

/* Gallery wrapper spans full width */
.section-24 .gallery-overview {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* Buttons wrapper: shrink-wrap to the 4 buttons so they cluster together */
.section-24 .buttons-wrapper {
  margin-top: 40px;
  margin-bottom: 10px;
}
.section-24 .buttons-grid {
  display: inline-grid;
  grid-template-columns: repeat(4, 150px);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}

/* Partner logos: use contain so aspect ratios are preserved */
.section-24 .gallery-image {
  max-height: 55px;
  object-fit: contain;
  width: auto;
  max-width: 100%;
}

/* Research link buttons: flex-direction column (text above icon),
   constrain icon height so ArXiv and others all render at 25px. */
.section-24 .link-button,
.section-24-header .link-button {
  flex-direction: column;
  width: 150px;
}
.section-24 .link-button img,
.section-24-header .link-button img {
  height: 25px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Technology page research links: compact centered row of buttons with the
   icon beside the label (matches live), not a full-width stacked grid. */
.section-24-header .buttons-grid {
  display: inline-grid;
  grid-template-columns: repeat(4, 150px);
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}
.section-24-header .link-button {
  flex-direction: row;
}

/* Content section containers: use our site's standard padding */
.section-25 .container-12,
.section-26 .w-container,
.section-27 .w-container,
.section-28 .w-container,
.section-30 .w-container,
.section-31 .w-container,
.section-32 .w-container {
  padding-left: 20px;
  padding-right: 20px;
}

/* w-richtext images should scale to full container width */
.w-richtext .w-richtext-figure-type-image img,
.w-richtext .w-richtext-align-fullwidth img {
  width: 100%;
  height: auto;
  margin-top: 40px;
  margin-bottom: 10px;
}

/* code block */
.w-code-block {
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .section-24 .buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-24 .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-header.technical { min-height: 420px; }
  .page-header.technical .background-video-3 { min-height: 420px; }
  .section-24 .buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   FIX #1 — Contact page: background image
   ========================================================= */
.section-19 {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('../img/contact-bg.jpg');
  background-size: auto, cover;
  background-position: 0 0, 0 0;
  min-height: 100vh;
}

/* =========================================================
   ESA top bar: ensure SVG title shows on desktop (≥768px)
   paragraph-11 (text fallback) stays hidden — image-24 is the SVG version
   ========================================================= */
@media (min-width: 768px) {
  .image-24 {
    display: block !important;
  }
}

/* =========================================================
   FIX #16 — Contact form: match Webflow styling
   ========================================================= */
.contact-form-wrap,
.contact-form.w-form {
  max-width: 600px;
}
.contact-form.w-form .field,
.contact-form.w-form input[type="text"],
.contact-form.w-form input[type="email"],
.contact-form.w-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 12px 16px;
  font-family: Lato, sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
  background: #fff;
  color: #333;
  display: block;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.contact-form.w-form .field:hover,
.contact-form.w-form input[type="text"]:hover,
.contact-form.w-form input[type="email"]:hover,
.contact-form.w-form textarea:hover {
  background: #ebeff3;
  border-color: #ebeff3;
}
.contact-form.w-form .field::placeholder,
.contact-form.w-form input::placeholder,
.contact-form.w-form textarea::placeholder {
  color: #757575;
}
.contact-form.w-form .field:focus,
.contact-form.w-form input:focus,
.contact-form.w-form textarea:focus {
  outline: none;
  border-color: #3f69ee;
  background: #fff;
}
.contact-form.w-form .area {
  min-height: 140px;
  resize: vertical;
}
.contact-form.w-form .button.submit {
  background-color: #3f69ee;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  padding: 12px 35px;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-form.w-form .button.submit:hover {
  background-color: #3fa1ee;
  border-color: #fff;
}
.contact-form.w-form .checkbox-label {
  color: #fff;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}
.contact-form.w-form .checkbox-label a {
  color: #3f69ee;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-form.w-form .checkbox-label a:hover {
  color: #00ae9d;
}
/* Contact page hero content */
.section-19 .hero-title.subtitle {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 25px;
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 900px;
}
.section-19 .heading-large {
  color: #fff;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 70px;
  line-height: 70px;
  font-weight: 400;
}
.section-19 .page-header-overlay {
  background: transparent;
}
/* Dark overlay over the world background, like live. */
.section-19 .page-header-overlay.contact {
  background: rgba(0, 0, 0, 0.45);
}
.section-19 .hero-container {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* =========================================================
   FIX #5 — Hero "Find out more" link styling
   ========================================================= */
.eve-hero-find-more {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  text-decoration: none;
}
.eve-hero-find-more .paragraph-20 {
  color: #fff;
  font-family: "Notes Esa regular", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 4px;
}
.eve-hero-find-more .underline {
  height: 1px;
  background: #fff;
  width: 100%;
}
.eve-hero-find-more:hover .underline {
  background: rgba(255,255,255,0.6);
}

/* =========================================================
   FIX #9 — Technology page: logo gallery sizing
   ========================================================= */
.gallery-wrapper .gallery-image {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}
/* Technology page partner logos: larger, uniform cells matching live. */
.section-24-header .gallery-wrapper .gallery-image {
  max-height: none;
  width: 100%;
  height: 98px;
  object-fit: contain;
}
/* Title, abstract and authors in section-24-header */
.section-24-header .heading-44 {
  text-align: center;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 44px;
  color: #333;
  margin-top: 40px;
  margin-bottom: 40px;
}
.section-24-header .paper_names {
  color: #2c3555;
  margin-left: 40px;
  margin-right: 40px;
  padding-left: 40px;
  padding-right: 40px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 24px;
}
.section-24-header .paragraph-34 {
  color: #2c3555;
  text-align: center;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 20px;
  margin-top: -14px;
  margin-bottom: 24px;
}
.section-24-header .heading-9 {
  color: #000;
  font-family: "Notes Esa bold", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 60px;
  margin-bottom: 8px;
}
.section-24-header .text {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 24px;
  color: #2c3555;
}

.section-24-header .gallery-wrapper {
  align-items: center;
  margin: 30px auto;
  max-width: 900px;
}

/* =========================================================
   FIX #12 — Use case box link wrapper
   ========================================================= */
.use-case-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   FIX #15 — Technology page: Deployment section styling
   ========================================================= */
.tech-deployment-section {
  margin: 40px 0;
  padding: 30px 0;
  border-top: 1px solid #e2e2e2;
}
.tech-deployment-section h3 {
  font-family: "Notes Esa bold", sans-serif;
  font-size: 22px;
  color: #003247;
  font-weight: 400;
  margin: 0 0 20px;
}
.tech-deployment-section ul {
  margin: 8px 0 16px 0;
  padding-left: 20px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.tech-deployment-section p {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}
