/* ==========================================================================
   NeurotechEU Front Page — Brand Styling
   Matches https://theneurotech.eu design language
   ========================================================================== */

/* ── Variables ── */
:root {
  --nteu-purple: #260387;
  --nteu-purple-dark: #1a025e;
  --nteu-purple-light: #5e5afe;
  --nteu-mint: #82fec8;
  --nteu-cream: #fef6e8;
  --nteu-white: #ffffff;
  --nteu-gray-50: #f9fafb;
  --nteu-gray-100: #f3f4f6;
  --nteu-gray-600: #4b5563;
  --nteu-gray-800: #1f2937;
  --nteu-radius: 12px;
  --nteu-radius-lg: 30px;
  --nteu-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --nteu-shadow-lg: 0 12px 40px rgba(38, 3, 135, 0.15);
  --nteu-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── NeurotechEU theme overrides (scoped to front page) ── */

/* Make header transparent and overlay on hero — breadcrumb hidden */
.page-admission-front .header-v1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.page-admission-front .header-main {
  background: transparent;
  border-bottom: none;
}

/* Hide site name/slogan on front page — logo only */
.page-admission-front .site-branding .site-identity {
  display: none;
}

/* Hide page title block on front page (hero has its own h1) */
.page-admission-front #block-neurotecheu-page-title {
  display: none;
}

.page-admission-front .topbar {
  background: transparent;
  position: relative;
  z-index: 1001;
}

/* Blend Drupal admin toolbar with the purple hero when logged in */
.page-admission-front #toolbar-administration,
.page-admission-front #toolbar-bar {
  background: var(--nteu-purple-dark);
}

/**
 * Make the front-page overlay header click-through in its empty/transparent
 * areas, so the Drupal admin toolbar trays and contextual-link popovers
 * beneath it remain clickable.
 *
 * Why: .header-v1 is `position: absolute; width: 100%; z-index: 1000` with a
 * transparent background. Its bounding box covers large empty regions (the
 * topbar row, the gap to the right of the logo, and the area between the
 * header rows). Those empty regions were swallowing clicks meant for the
 * admin toolbar dropdowns unfolding underneath.
 *
 * `pointer-events: none` on the header itself disables hit-testing across the
 * whole overlay, then we re-enable it on the actual interactive descendants
 * (links, buttons, menu list items, contextual triggers) so the site's own
 * header UI stays functional.
 */
.page-admission-front .header-v1 {
  pointer-events: none;
  z-index: 500;
}

.page-admission-front .header-v1 a,
.page-admission-front .header-v1 button,
.page-admission-front .header-v1 ul,
.page-admission-front .header-v1 li,
.page-admission-front .header-v1 .site-branding,
.page-admission-front .header-v1 .site-logo,
.page-admission-front .header-v1 .contextual,
.page-admission-front .header-v1 .contextual-links,
.page-admission-front .header-v1 .menu-bar,
.page-admission-front .header-v1 .trigger {
  pointer-events: auto;
}

/**
 * Drupal status/warning/error messages render inside `.highlighted`, which
 * sits in the normal flow at the top of the body. On the front page the
 * overlay header is `position: absolute; top: 0`, so without this rule the
 * topbar (My account / Log out) paints on top of the message text.
 *
 * Float the message as an absolutely-positioned centered pill that sits
 * below the header and on top of the hero. The .highlighted region doesn't
 * paint a full-width strip, so the hero shows through on both sides; the
 * header stays in normal position and remains fully visible.
 */
.page-admission-front .body-page {
  position: relative;
}

.page-admission-front .highlighted:has(.messages) {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 501;
  padding: 0;
  pointer-events: none;
}

.page-admission-front .highlighted:has(.messages) .container {
  max-width: 640px;
  pointer-events: auto;
}

.page-admission-front .highlighted .messages,
.page-admission-front .highlighted [data-drupal-messages] {
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Keep Drupal admin toolbar and trays above the site header in any case. */
.page-admission-front #toolbar-administration,
.page-admission-front #toolbar-bar,
.page-admission-front .toolbar-tray,
.page-admission-front .toolbar-tray-horizontal,
.page-admission-front .toolbar-tray-vertical,
.page-admission-front .toolbar-menu,
.page-admission-front #toolbar-item-administration-tray,
.page-admission-front .contextual,
.page-admission-front .contextual-links {
  z-index: 1502;
}

.page-admission-front .toolbar-bar .toolbar-tab > .toolbar-item {
  color: rgba(255, 255, 255, 0.85);
}

.page-admission-front .toolbar-bar .toolbar-tab > .toolbar-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-admission-front .main-menu ul.menu > li > a {
  color: rgba(255, 255, 255, 0.85);
}

.page-admission-front .main-menu ul.menu > li > a:hover,
.page-admission-front .main-menu ul.menu > li.is-active > a {
  color: var(--nteu-mint);
}

.page-admission-front .menu-bar span {
  background: #fff;
}

.page-admission-front .breadcrumb-wrapper {
  display: none;
}

/* Remove default page padding so hero goes edge-to-edge */
.page-admission-front .main.main-page {
  padding: 0;
}

.page-admission-front .content-full .container {
  max-width: 100%;
  padding: 0;
}

.page-admission-front .main-content-inner {
  padding: 0;
}

/* ── Global front page typography ── */
.page-admission-front,
.page-admission-front * {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Container ── */
.nteu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section ── */
.nteu-hero {
  position: relative;
  background: linear-gradient(135deg, var(--nteu-purple) 0%, var(--nteu-purple-dark) 50%, #0d0033 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 120px;
}

.nteu-hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(94, 90, 254, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(130, 254, 200, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated subtle grid pattern */
.nteu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.nteu-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

/* ── Split hero: copy on the left, banner image on the right ── */
.nteu-hero__content--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  width: 100%;
  text-align: left;
}

.nteu-hero__copy {
  min-width: 0;
}

/* Left-align the copy elements that are centered in the original layout.
   Keep generous top space so the badge breathes below the header/logo. */
.nteu-hero__content--split .nteu-hero__badge {
  margin-top: 48px;
}

.nteu-hero__content--split .nteu-hero__subtitle {
  margin-left: 0;
  margin-right: 0;
}

/* The CTA row is centered in the original; left-align it within the copy
   column so it lines up under the title. */
.nteu-hero__content--split .nteu-hero__actions {
  justify-content: flex-start;
}

/* Dev notice spans the full hero width below both columns. */
.nteu-hero__content--split .nteu-dev-banner {
  grid-column: 1 / -1;
  max-width: none;
  width: 100%;
  margin: 8px 0 0;
}

.nteu-hero__visual {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nteu-hero__image {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--nteu-radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Stack on tablet/mobile: image moves below the copy, everything recenters. */
@media (max-width: 900px) {
  .nteu-hero__content--split {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    max-width: 800px;
  }
  .nteu-hero__content--split .nteu-dev-banner {
    margin-left: auto;
    margin-right: auto;
  }
  .nteu-hero__content--split .nteu-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .nteu-hero__content--split .nteu-hero__actions {
    justify-content: center;
  }
  .nteu-hero__visual {
    order: 2;
  }
  .nteu-hero__image {
    max-width: 380px;
  }
}

/* ── Temporary development banner — sits inside the hero, above the CTA buttons ── */
@keyframes nteu-dev-banner-pulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25),
                0 0 0 0 rgba(255, 193, 7, 0.55);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25),
                0 0 0 10px rgba(255, 193, 7, 0);
  }
}

.nteu-dev-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 18px 22px;
  background: rgba(255, 193, 7, 0.18);
  border: 1px solid rgba(255, 193, 7, 0.5);
  border-radius: var(--nteu-radius-lg);
  color: #ffe38a;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: left;
  animation: nteu-dev-banner-pulse 2.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nteu-dev-banner {
    animation: none;
  }
}

.nteu-dev-banner__badge {
  flex: none;
  display: inline-block;
  padding: 7px 14px;
  background: #ffc107;
  color: #3a2a00;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 999px;
  white-space: nowrap;
}

.nteu-dev-banner__text {
  flex: 1;
  margin: 0;
  color: #fff5d1;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.nteu-dev-banner__close {
  flex: none;
  background: transparent;
  border: 1px solid rgba(255, 227, 138, 0.4);
  color: #ffe38a;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nteu-dev-banner__close:hover,
.nteu-dev-banner__close:focus {
  background: rgba(255, 227, 138, 0.18);
  border-color: #ffe38a;
  outline: none;
}

@media (max-width: 640px) {
  .nteu-dev-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px;
  }
  .nteu-dev-banner__badge {
    align-self: center;
  }
  .nteu-dev-banner__close {
    align-self: flex-end;
  }
}

.nteu-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--nteu-mint);
  padding: 6px 20px;
  border-radius: var(--nteu-radius-lg);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 40px 0 24px;
  border: 1px solid rgba(130, 254, 200, 0.2);
}

.nteu-hero__title {
  color: var(--nteu-white);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}

.nteu-hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 600px;
}

.nteu-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.nteu-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.nteu-hero__wave svg {
  width: 100%;
  height: 80px;
}

/* ── Buttons ── */
.nteu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--nteu-radius-lg);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--nteu-transition);
  border: 2px solid transparent;
}

.nteu-btn--primary {
  background: var(--nteu-mint);
  color: var(--nteu-purple);
  border-color: var(--nteu-mint);
}

.nteu-btn--primary:hover {
  background: #6aedb5;
  border-color: #6aedb5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(130, 254, 200, 0.35);
}

.nteu-btn--outline {
  background: transparent;
  color: var(--nteu-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.nteu-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--nteu-white);
  color: var(--nteu-white);
}

.nteu-btn--mint {
  background: var(--nteu-purple);
  color: var(--nteu-white);
  border-color: var(--nteu-purple);
  padding: 16px 44px;
  font-size: 1.1rem;
}

.nteu-btn--mint:hover,
.nteu-btn--mint:focus {
  background: var(--nteu-purple-dark);
  border-color: var(--nteu-purple-dark);
  color: var(--nteu-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--nteu-shadow-lg);
  text-decoration: none;
}

/* ── Sections ── */
.nteu-section {
  padding: 80px 0;
}

.nteu-section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nteu-gray-800);
  text-align: center;
  margin: 0 0 12px;
}

.nteu-section__title--left {
  text-align: left;
}

.nteu-section__subtitle {
  font-size: 1.05rem;
  color: var(--nteu-gray-600);
  text-align: center;
  margin: 0 auto 48px;
  max-width: 560px;
  font-weight: 300;
}

/* ── Feature Cards ── */
.nteu-features {
  background: var(--nteu-gray-50);
}

.nteu-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.nteu-card {
  background: var(--nteu-white);
  border-radius: var(--nteu-radius);
  padding: 40px 32px;
  box-shadow: var(--nteu-shadow);
  transition: all var(--nteu-transition);
  text-align: center;
}

.nteu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nteu-shadow-lg);
}

.nteu-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nteu-purple), var(--nteu-purple-light));
  color: var(--nteu-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.nteu-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--nteu-gray-800);
  margin: 0 0 12px;
}

.nteu-card__text {
  font-size: 0.95rem;
  color: var(--nteu-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── Programme Section ── */
.nteu-programme {
  background: var(--nteu-white);
}

.nteu-programme__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.nteu-programme__text h2 {
  margin-bottom: 20px;
}

.nteu-programme__text p {
  font-size: 1rem;
  color: var(--nteu-gray-600);
  line-height: 1.8;
  margin: 0 0 16px;
}

.nteu-programme__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.nteu-stat {
  background: var(--nteu-gray-50);
  border-radius: var(--nteu-radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--nteu-gray-100);
}

.nteu-stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--nteu-purple);
  line-height: 1;
  margin-bottom: 8px;
}

.nteu-stat__label {
  font-size: 0.9rem;
  color: var(--nteu-gray-600);
  font-weight: 400;
}

/* ── Curriculum Domains ── */
.nteu-domains {
  background: linear-gradient(135deg, #f0f0ff 0%, #e8eaf6 100%);
}

.nteu-domains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.nteu-domain {
  background: var(--nteu-white);
  border-radius: var(--nteu-radius);
  padding: 32px 28px;
  border-left: 4px solid var(--nteu-purple);
  box-shadow: var(--nteu-shadow);
  transition: all var(--nteu-transition);
}

.nteu-domain:hover {
  box-shadow: var(--nteu-shadow-lg);
  transform: translateY(-2px);
}

.nteu-domain__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(38, 3, 135, 0.1), rgba(94, 90, 254, 0.1));
  color: var(--nteu-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.nteu-domain__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nteu-gray-800);
  margin: 0 0 10px;
}

.nteu-domain__text {
  font-size: 0.92rem;
  color: var(--nteu-gray-600);
  line-height: 1.7;
  margin: 0;
}

.nteu-domain__unis {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--nteu-gray-200, #e5e7eb);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
}

.nteu-domain__uni {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nteu-domain__uni a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nteu-domain__uni img {
  display: block;
  max-height: 38px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: filter var(--nteu-transition), opacity var(--nteu-transition);
}

.nteu-domain__uni a:hover img,
.nteu-domain__uni a:focus img {
  filter: none;
  opacity: 1;
}

/* ── ELSA Underlying Layer ── */
.nteu-elsa {
  margin-top: 32px;
}

.nteu-elsa__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: var(--nteu-radius, 8px);
  padding: 24px 28px;
}

.nteu-elsa__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(38, 3, 135, 0.08);
  color: #3a4e7a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nteu-elsa__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e6b;
  margin: 0 0 6px;
}

.nteu-elsa__text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Partner Institutions ── */
.nteu-partners {
  background: var(--nteu-gray-50);
}

/* Row layout: 4 on top, 3 centered below */
.nteu-partners__row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.nteu-partners__row:last-child {
  margin-bottom: 0;
}

.nteu-partners__row--top .nteu-partner {
  flex: 0 1 calc(25% - 18px);
  max-width: 240px;
}

.nteu-partners__row--bottom .nteu-partner {
  flex: 0 1 calc(25% - 18px);
  max-width: 240px;
}

.nteu-partner {
  background: var(--nteu-white);
  border-radius: var(--nteu-radius);
  padding: 28px 20px 20px;
  text-align: center;
  box-shadow: var(--nteu-shadow);
  transition: all var(--nteu-transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nteu-partner:hover {
  border-color: var(--nteu-purple-light);
  transform: translateY(-3px);
  box-shadow: var(--nteu-shadow-lg);
}

.nteu-partner__logo {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  height: 70px;
  object-fit: contain;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.nteu-partner__name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nteu-gray-800);
  line-height: 1.3;
  margin-top: auto;
}

/* Linked partner logos + names: preserve existing design, no underline / blue. */
.nteu-partner__link,
.nteu-partner__name-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nteu-partner__link:hover,
.nteu-partner__name-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.nteu-partner__name-link:hover .nteu-partner__name {
  color: var(--nteu-purple);
}

/* ── CTA Section ── */
.nteu-cta {
  background: linear-gradient(135deg, var(--nteu-cream) 0%, #fff7ed 100%);
  padding: 80px 0;
  text-align: center;
}

.nteu-cta__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--nteu-gray-800);
  margin: 0 0 12px;
}

.nteu-cta__text {
  font-size: 1.1rem;
  color: var(--nteu-gray-600);
  margin: 0 0 32px;
  font-weight: 300;
}

/* ── Footer ── */
.nteu-footer {
  background: var(--nteu-purple-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 32px;
}

.nteu-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nteu-footer__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nteu-white);
  margin-bottom: 8px;
}

.nteu-footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}

.nteu-footer__eu-logo {
  display: block;
  max-width: 240px;
  height: auto;
}

.nteu-footer__social {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nteu-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nteu-footer__social a:hover,
.nteu-footer__social a:focus {
  background: var(--nteu-mint);
  color: var(--nteu-purple-dark);
  transform: translateY(-2px);
}

.nteu-footer__social svg {
  width: 18px;
  height: 18px;
}

.nteu-footer__links h4,
.nteu-footer__links h2,
.nteu-footer__links h3 {
  color: var(--nteu-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.nteu-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nteu-footer__links li {
  margin-bottom: 10px;
}

.nteu-footer__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--nteu-transition);
}

.nteu-footer__links a:hover {
  color: var(--nteu-mint);
}

/* Drupal menu block output inside the footer region */
.nteu-footer__links nav.block,
.nteu-footer__links .menu-block-wrapper {
  margin: 0;
  padding: 0;
}

.nteu-footer__eu {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nteu-footer__eu p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0;
  max-width: 800px;
}

.nteu-footer__copy {
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nteu-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nteu-domains__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nteu-partners__row {
    flex-wrap: wrap;
  }

  .nteu-partners__row--top .nteu-partner,
  .nteu-partners__row--bottom .nteu-partner {
    flex: 0 1 calc(33.333% - 16px);
  }

  .nteu-hero__title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .nteu-hero {
    min-height: 500px;
    padding: 80px 20px 100px;
  }

  .nteu-hero__title {
    font-size: 2rem;
  }

  .nteu-hero__subtitle {
    font-size: 1rem;
  }

  .nteu-section {
    padding: 60px 0;
  }

  .nteu-section__title {
    font-size: 1.6rem;
  }

  .nteu-features__grid {
    grid-template-columns: 1fr;
  }

  .nteu-domains__grid {
    grid-template-columns: 1fr;
  }

  .nteu-programme__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nteu-programme__text h2 {
    text-align: center;
  }

  .nteu-partners__row--top .nteu-partner,
  .nteu-partners__row--bottom .nteu-partner {
    flex: 0 1 calc(50% - 12px);
  }

  .nteu-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nteu-cta__title {
    font-size: 1.5rem;
  }

  .nteu-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .nteu-btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .nteu-partners__row {
    flex-direction: column;
    align-items: center;
  }

  .nteu-partners__row--top .nteu-partner,
  .nteu-partners__row--bottom .nteu-partner {
    flex: 0 1 100%;
    max-width: 280px;
    width: 100%;
  }

  .nteu-programme__stats {
    grid-template-columns: 1fr 1fr;
  }
}
