/* Scoped override for the ESC Volunteers Elementor page. */
html,
body.page-id-12411 {
  overflow-x: hidden;
}

body.page-id-12411 {
  --color-primary: #e8392a;
  --color-white: #fff;
  --transition-smooth: all .35s cubic-bezier(.25, .8, .25, 1);
  --esc-ink: #202024;
  --esc-muted: #65656c;
  --esc-red: #e8392a;
  --esc-orange: #f59b23;
  --esc-pink: #b53f96;
  --esc-purple: #8b5bb5;
  color: var(--esc-ink);
  font-family: "Inter", sans-serif;
  background: #fff;
}

body.page-id-12411 .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 90px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: blur(14px);
}

body.page-id-12411 .header-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 280px minmax(0, 1fr) 270px;
  width: 100%;
  max-width: 1300px;
  height: 90px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

body.page-id-12411 .site-logo {
  display: flex;
  align-items: center;
  flex: 0 0 280px;
}

body.page-id-12411 .site-header img {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

body.page-id-12411 .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  grid-column: 2;
  margin: 0;
  padding: 0;
  transform: translateX(-48px);
}

body.page-id-12411 .desktop-nav a,
body.page-id-12411 .mobile-menu a {
  position: relative;
  display: flex;
  align-items: center;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

body.page-id-12411 .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ea4335;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

body.page-id-12411 .desktop-nav a:hover,
body.page-id-12411 .desktop-nav a.active,
body.page-id-12411 .mobile-menu a:hover {
  color: #ea4335;
}

body.page-id-12411 .desktop-nav a:hover::after,
body.page-id-12411 .desktop-nav a.active::after {
  transform: scaleX(1);
}

body.page-id-12411 .btn-upcoming {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  height: 50px;
  margin-left: auto;
  padding: 14px;
  border-radius: 4px;
  color: #fff !important;
  background: var(--esc-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .5px;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  box-shadow: rgba(217, 64, 62, .2) 0 4px 15px;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

body.page-id-12411 .btn-upcoming:hover {
  background: #c92d22;
  transform: translateY(-2px);
}

body.page-id-12411 .hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: #fff1f1;
  cursor: pointer;
}

body.page-id-12411 .hamburger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--esc-ink);
  transition: transform .2s ease, opacity .2s ease;
}

body.page-id-12411 .hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.page-id-12411 .hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

body.page-id-12411 .hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.page-id-12411 .mobile-menu,
body.page-id-12411 .nav-backdrop {
  display: none;
}

body.page-id-12411 .section-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 82px 24px;
}

body.page-id-12411 .section-shell h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

body.page-id-12411 .eyebrow {
  margin: 0 0 12px;
  color: var(--esc-pink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.page-id-12411 .partnership-grid,
body.page-id-12411 .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

body.page-id-12411 .step {
  padding: 28px;
  border-radius: 8px;
  background: #fff8f8;
}

body.page-id-12411 .step h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

body.page-id-12411 .section-shell p {
  color: var(--esc-muted);
  line-height: 1.8;
}

body.page-id-12411 .partnership-grid .esciv-partnership-block {
  display: block;
  padding: 28px;
  color: inherit;
  text-decoration: none;
}

body.page-id-12411 .esciv-partnership-block h3 {
  margin: 0 0 18px;
  color: var(--esc-ink);
}

body.page-id-12411 .esciv-partnership-block span {
  color: var(--esc-red);
  font-weight: 700;
}

body.page-id-12411 .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

body.page-id-12411 .gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

body.page-id-12411 .step-number {
  display: block;
  margin-bottom: 18px;
  color: var(--esc-orange);
  font-size: 1.5rem;
  font-weight: 800;
}

body.page-id-12411 .site-footer {
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background: #111118;
  border-top: 3px solid transparent;
  border-image: linear-gradient(135deg, var(--esc-red), var(--esc-orange), var(--esc-pink), var(--esc-purple)) 1;
}

body.page-id-12411 .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 50px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

body.page-id-12411 .site-footer a {
  color: rgba(255, 255, 255, .6);
  transition: color .25s ease;
}

body.page-id-12411 .site-footer a:hover {
  color: var(--esc-red);
}

body.page-id-12411 .footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: var(--transition-smooth);
}

body.page-id-12411 .footer-logo-img {
  width: auto;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

body.page-id-12411 .footer-logo:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 0 2px rgba(232, 57, 42, .35);
}

body.page-id-12411 .footer-logo:hover .footer-logo-img {
  transform: scale(1.03);
}

body.page-id-12411 .footer-brand > p {
  max-width: 430px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
}

body.page-id-12411 .footer-contact,
body.page-id-12411 .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.page-id-12411 .footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-id-12411 .footer-contact i {
  width: 14px;
  color: var(--esc-red);
  text-align: center;
}

body.page-id-12411 .footer-contact svg {
  flex-shrink: 0;
  color: var(--esc-red);
}

body.page-id-12411 .footer-heading {
  margin: 0 0 22px;
  color: var(--esc-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.page-id-12411 .footer-links a {
  text-decoration: none;
}

body.page-id-12411 .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

body.page-id-12411 .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9) !important;
  text-decoration: none;
}

body.page-id-12411 .social-icon:hover {
  border-color: transparent;
  color: #fff !important;
}

body.page-id-12411 .social-icon[aria-label="Facebook"]:hover {
  background: #1877f2;
}

body.page-id-12411 .social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  clip-path: circle(50% at center);
}

body.page-id-12411 .social-icon[aria-label="LinkedIn"]:hover {
  background: #0a66c2;
}

body.page-id-12411 .social-icon[aria-label="TikTok"]:hover {
  border-color: #25f4ee;
  background: #111;
}

body.page-id-12411 .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

body.page-id-12411 .nl-email {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  transition: var(--transition-smooth);
}

body.page-id-12411 .nl-email::placeholder {
  color: rgba(255, 255, 255, .38);
}

body.page-id-12411 .nl-email:focus {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12);
}

body.page-id-12411 .btn-newsletter-footer {
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  box-sizing: border-box;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
}

body.page-id-12411 .btn-newsletter-footer:hover {
  border-color: var(--esc-red);
  background: var(--esc-red);
}

body.page-id-12411 .nl-msg {
  display: none;
  margin-top: 6px;
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
}

body.page-id-12411 .nl-msg.is-visible {
  display: block;
}

body.page-id-12411 .footer-bottom {
  padding: 26px 0;
  color: rgba(255, 255, 255, .35);
  font-size: 13px;
}

/* Reference Erasmus intern header */
body.page-id-12411 .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 90px;
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: blur(14px);
}

body.page-id-12411 .header-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 280px minmax(0, 1fr) 270px;
  width: 100%;
  max-width: 1300px;
  height: 90px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

body.page-id-12411 .site-logo {
  flex: 0 0 280px;
}

body.page-id-12411 .site-header .site-logo img {
  width: auto;
  height: 72px;
  object-fit: contain;
}

body.page-id-12411 .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  grid-column: 2;
  margin: 0;
  padding: 0;
  transform: translateX(-48px);
}

body.page-id-12411 .desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

body.page-id-12411 .desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ea4335;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

body.page-id-12411 .desktop-nav a:hover,
body.page-id-12411 .desktop-nav a.active {
  color: #ea4335;
}

body.page-id-12411 .desktop-nav a:hover::after,
body.page-id-12411 .desktop-nav a.active::after {
  transform: scaleX(1);
}

body.page-id-12411 .btn-upcoming {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background-color: var(--color-primary);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .5px;
  min-width: 270px;
  height: 50px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: rgba(217, 64, 62, .2) 0 4px 15px;
  color: var(--color-white) !important;
  padding: 14px;
  border-radius: 4px;
  white-space: nowrap;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

body.page-id-12411 .btn-upcoming:hover {
  background-color: var(--esc-ink);
  box-shadow: 0 6px 20px rgba(38, 38, 38, .2);
  transform: translateY(-2px);
}

@media (min-width: 992px) and (max-width: 1300px) {
  body.page-id-12411 .header-inner {
    grid-template-columns: 150px minmax(0, 1fr) 270px;
    padding: 0 16px;
  }

  body.page-id-12411 .site-header .site-logo img {
    height: 58px;
  }

  body.page-id-12411 .desktop-nav {
    gap: 12px;
  }

  body.page-id-12411 .desktop-nav a {
    font-size: 13px;
  }
}

body.page-id-12411 .hamburger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

body.page-id-12411 .hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: #111;
  transition: .25s ease;
}

body.page-id-12411 .hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.page-id-12411 .hamburger.active span:nth-child(2) {
  opacity: 0;
}

body.page-id-12411 .hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.page-id-12411 .mobile-menu {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  display: none;
  background: #fff;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #ea4335, #f9a826, #8e24aa) 1;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .09);
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

body.page-id-12411 .mobile-menu.active {
  display: flex;
  flex-direction: column;
}

body.page-id-12411 .mobile-menu a {
  padding: 17px 24px;
  border-bottom: 1px solid #f0f0f0;
  color: #171717;
  font-weight: 650;
  text-decoration: none;
}

body.page-id-12411 .mobile-menu a:hover {
  color: #ea4335;
}

body.page-id-12411 .mobile-menu .mobile-cta {
  margin-top: 6px;
  color: #171717;
  background: transparent;
}

body.page-id-12411 .nav-backdrop {
  position: fixed;
  z-index: 998;
  inset: 0;
  display: block;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

body.page-id-12411 .nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991px) {
  body.page-id-12411 .header-inner {
    display: flex;
  }

  body.page-id-12411 .desktop-nav,
  body.page-id-12411 .btn-upcoming {
    display: none;
  }

  body.page-id-12411 .hamburger {
    display: flex;
  }
}

@media (max-width: 991px) {
  body.page-id-12411 .desktop-nav,
  body.page-id-12411 .btn-upcoming {
    display: none;
  }

  body.page-id-12411 .hamburger {
    display: block;
  }

  body.page-id-12411 .mobile-menu {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 3px solid transparent;
    border-right: 1px solid rgba(181, 63, 150, .14);
    border-bottom: 1px solid rgba(181, 63, 150, .14);
    border-left: 1px solid rgba(181, 63, 150, .14);
    border-image: linear-gradient(90deg, var(--esc-red), var(--esc-orange), var(--esc-purple)) 1;
    border-radius: 0 0 4px 4px;
    background: #fff;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .09);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  body.page-id-12411 .mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.page-id-12411 .mobile-menu a {
    padding: 17px 24px;
    border-bottom: 1px solid #f0f0f0;
  }

  body.page-id-12411 .nav-backdrop.active {
    position: fixed;
    z-index: 10;
    inset: 90px 0 0;
    display: block;
    background: rgba(0, 0, 0, .35);
  }
}

body.page-id-12411 .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

body.page-id-12411 .footer-bottom p {
  margin: 0;
  color: inherit;
}

/* Match the Erasmus interns hero treatment while keeping the ESC content. */
body.page-id-12411 .hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 75px 24px 65px !important;
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(232, 57, 42, .08) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 90%, rgba(139, 91, 181, .08) 0%, transparent 52%),
    linear-gradient(180deg, #fffcfc 0%, #fff 100%) !important;
}

body.page-id-12411 .hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232, 57, 42, .15) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

body.page-id-12411 .hero-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #e8392a 0%, #f2703c 30%, #f5a623 55%, #d95090 80%, #8b5bb5 100%);
}

body.page-id-12411 .hero-shell .e-con-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

body.page-id-12411 .hero-shell .elementor-element-4ef9861,
body.page-id-12411 .hero-shell .elementor-element-025a7b4 {
  width: 100%;
  margin: 0 auto;
}

body.page-id-12411 .hero-shell .elementor-element-4ef9861 .elementor-widget-container {
  text-align: center;
}

body.page-id-12411 .hero-shell .elementor-element-4ef9861 img {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  margin: 0 auto 6px;
  object-fit: contain;
}

body.page-id-12411 .hero-shell .erasmus-hero,
body.page-id-12411 .hero-shell .erasmus-title-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
}

body.page-id-12411 .hero-shell .erasmus-title-wrapper h1 {
  max-width: 1100px;
  margin: 0 auto 20px;
  color: var(--esc-ink);
  font-size: clamp(30px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

body.page-id-12411 .hero-shell .gradient-word {
  background: linear-gradient(135deg, #e8392a 0%, #f2703c 30%, #f5a623 55%, #d95090 80%, #8b5bb5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 991px) {
  body.page-id-12411 .hero-shell .gradient-word {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: clamp(21px, 5.5vw, 54px);
  }
}

body.page-id-12411 .hero-shell .erasmus-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--esc-muted);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.65;
}
body.page-id-12411 .erasmus-join-us {
  max-width: 1100px;
  margin: 0 auto;
  padding: 78px 24px;
}

body.page-id-12411 .erasmus-join-us h2,
body.page-id-12411 .social-title {
  color: var(--esc-red);
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.page-id-12411 .erasmus-join-us p {
  color: var(--esc-muted);
  line-height: 1.8;
}

/* ESC application section uses the same card treatment as the Erasmus+ Interns page. */
body.page-id-12411 .ei-apply {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0;
  padding: 100px 24px;
  background: linear-gradient(135deg, #fff7f5 0%, #fafbff 100%);
}

body.page-id-12411 .ei-apply::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(135deg, #e8392a 0%, #f2703c 30%, #f5a623 55%, #d95090 80%, #8b5bb5 100%);
  content: "";
}

body.page-id-12411 .ei-apply-inner {
  max-width: 1100px;
  margin: 0 auto;
}

body.page-id-12411 .ei-apply .ei-section-label {
  margin-bottom: 40px;
  text-align: center;
}

body.page-id-12411 .ei-apply .ei-section-label h2 {
  margin: 0;
  color: var(--esc-red);
  font-size: clamp(24px, 3.7vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
}

body.page-id-12411 .ei-steps {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 56px;
}

body.page-id-12411 .ei-step-card {
  position: relative;
  padding: 44px 48px;
  border: 1.5px solid #ede9ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 30, 30, .07);
  transition: transform .35s cubic-bezier(.25, .8, .25, 1), box-shadow .35s cubic-bezier(.25, .8, .25, 1);
}

body.page-id-12411 .ei-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(232, 57, 42, .14);
}

body.page-id-12411 .ei-step-number {
  position: absolute;
  top: -20px;
  left: 44px;
  padding: 4px 14px;
  border-radius: 99px;
  color: #fff;
  background: linear-gradient(135deg, #e8392a 0%, #f2703c 50%, #f5a623 100%);
  box-shadow: 0 4px 14px rgba(232, 57, 42, .3);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

body.page-id-12411 .ei-step-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

body.page-id-12411 .ei-step-icon {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: var(--esc-red);
  background: rgba(232, 57, 42, .09);
  font-size: 24px;
}

body.page-id-12411 .ei-step-card h3 {
  margin: 0;
  color: var(--esc-red);
  font-size: 20px;
  font-weight: 800;
}

body.page-id-12411 .ei-step-card > p,
body.page-id-12411 .ei-step-part > p {
  margin: 0 0 20px;
  color: var(--esc-muted);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

body.page-id-12411 .ei-embed-wrap {
  width: 100%;
  height: 650px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(30, 30, 30, .07);
}

body.page-id-12411 .ei-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.page-id-12411 .ei-step-part {
  position: relative;
  margin-top: 48px;
  padding: 56px 32px 24px;
  border-top: 1.5px solid #ede9ed;
}

body.page-id-12411 .ei-step-part .ei-step-number {
  top: -18px;
  left: 32px;
}

body.page-id-12411 .ei-email-link {
  color: var(--esc-red);
  font-weight: 600;
  text-decoration: underline;
}

body.page-id-12411 .ei-form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--esc-red);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

body.page-id-12411 .ei-form-link:hover {
  background: #f2703c;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(232, 57, 42, .25);
}

body.page-id-12411 .ei-form-link:focus-visible {
  outline: 2px solid var(--esc-red);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  body.page-id-12411 .ei-apply {
    padding: 70px 18px;
  }

  body.page-id-12411 .ei-step-card {
    padding: 42px 24px 28px;
  }

  body.page-id-12411 .ei-embed-wrap {
    height: 560px;
  }
}

@media (max-width: 600px) {
  body.page-id-12411 .ei-step-heading {
    align-items: flex-start;
  }

  body.page-id-12411 .ei-step-part {
    padding: 56px 12px 12px;
  }

  body.page-id-12411 .ei-step-part .ei-step-number {
    left: 12px;
  }

  body.page-id-12411 .ei-embed-wrap {
    height: 520px;
  }
}

/* About layout follows the Erasmus+ Internships page. */
body.page-id-12411 .esc-about {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 45px 24px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 8% 12%, rgba(244, 117, 33, .12), transparent 22rem),
    radial-gradient(circle at 92% 86%, rgba(181, 63, 150, .11), transparent 24rem),
    #fafafa;
}

body.page-id-12411 .esc-about > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body.page-id-12411 .esc-about h2 {
  margin: 0 0 24px;
  color: var(--esc-red);
  font-size: clamp(24px, 3.7vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
}

body.page-id-12411 .esc-about p {
  max-width: 960px;
  margin: 0 auto 18px;
  color: var(--esc-muted);
  font-size: 16px;
  line-height: 1.72;
  text-align: justify;
}

body.page-id-12411 .esc-info-intro {
  margin-left: 0;
}

body.page-id-12411 .esc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 38px;
}

body.page-id-12411 .esc-info-card {
  position: relative;
  overflow: hidden;
  padding: 40px 34px;
  border: 1px solid #e7e7e7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(32, 32, 36, .08);
}

body.page-id-12411 .esc-info-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--esc-red), var(--esc-orange), var(--esc-pink), var(--esc-purple));
  content: "";
}

body.page-id-12411 .esc-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  border-radius: 16px;
  color: var(--esc-red);
  background: #fff0f0;
  font-size: 26px;
}

body.page-id-12411 .esc-info-card h3 {
  margin: 0 0 16px;
  color: var(--esc-ink);
  font-size: 1.1rem;
  line-height: 1.4;
}

body.page-id-12411 .esc-info-card p {
  max-width: none;
  margin: 0;
  text-align: left;
}

body.page-id-12411 .ei-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px;
}

body.page-id-12411 .ei-gallery[aria-labelledby="moments-title"] {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 70px max(24px, calc((100vw - 1100px) / 2)) 56px;
  background:
    radial-gradient(circle at 92% 14%, rgba(244, 117, 33, .12), transparent 22rem),
    radial-gradient(circle at 8% 90%, rgba(181, 63, 150, .11), transparent 24rem),
    #fafafa;
}

body.page-id-12411 .ei-gallery[aria-labelledby="moments-title"] .ei-gallery-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

body.page-id-12411 .ei-gallery[aria-label="ESC volunteering projects"] {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px max(24px, calc((100vw - 1100px) / 2)) 70px;
  background:
    radial-gradient(circle at 10% 15%, rgba(181, 63, 150, .11), transparent 22rem),
    radial-gradient(circle at 90% 85%, rgba(244, 117, 33, .12), transparent 22rem),
    #fafafa;
}

body.page-id-12411 .ei-gallery[aria-label="ESC volunteering projects"] > .eyebrow,
body.page-id-12411 .ei-gallery[aria-label="ESC volunteering projects"] > .partnership-grid {
  width: 100%;
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}

body.page-id-12411 .ei-gallery[aria-label="ESC volunteering projects"] .eyebrow {
  color: #e8392a;
}

body.page-id-12411 .ei-gallery-header h2 {
  margin: 0 10px 24px;
  color: var(--esc-red);
  font-size: clamp(24px, 3.7vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
}

body.page-id-12411 .carousel {
  overflow: hidden;
}

body.page-id-12411 .carousel-track {
  display: flex;
  width: 100%;
  gap: 16px;
  will-change: transform;
}

body.page-id-12411 .ei-gallery #intern-carousel .carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  will-change: transform;
}

body.page-id-12411 .carousel-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  margin: 0;
}

body.page-id-12411 .carousel-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 767px) {
  body.page-id-12411 .esc-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.page-id-12411 .esc-info-card {
    padding: 32px 26px;
  }

  body.page-id-12411 .carousel-slide {
    flex-basis: calc(100vw - 36px);
  }

}

body.page-id-12411 .esciv-partnership-block {
  border: 1px solid rgba(181, 63, 150, .16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(80, 32, 70, .08);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.page-id-12411 .partnership-grid .esciv-partnership-block:hover,
body.page-id-12411 .partnership-grid .esciv-partnership-block:focus-visible {
  border-color: #e8392a;
  background:#e8392a;
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(80, 32, 70, .14);
}

body.page-id-12411 .partnership-grid .esciv-partnership-block:hover h3,
body.page-id-12411 .partnership-grid .esciv-partnership-block:hover p,
body.page-id-12411 .partnership-grid .esciv-partnership-block:hover span,
body.page-id-12411 .partnership-grid .esciv-partnership-block:focus-visible h3,
body.page-id-12411 .partnership-grid .esciv-partnership-block:focus-visible p,
body.page-id-12411 .partnership-grid .esciv-partnership-block:focus-visible span {
  color: #fff;
}

@media (max-width: 767px) {
  body.page-id-12411 .header-inner {
    min-height: 74px;
    padding: 8px 18px;
  }

  body.page-id-12411 .site-header img {
    width: 88px;
    height: 50px;
  }

  body.page-id-12411 .desktop-nav,
  body.page-id-12411 .btn-upcoming {
    display: none;
  }

  body.page-id-12411 .hamburger {
    display: block;
  }

  body.page-id-12411 .mobile-menu {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(181, 63, 150, .14);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(32, 32, 36, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  body.page-id-12411 .mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.page-id-12411 .mobile-menu a {
    padding: 12px 10px;
  }

  body.page-id-12411 .mobile-menu .mobile-cta {
    margin-top: 6px;
  }

  body.page-id-12411 .nav-backdrop.active {
    position: fixed;
    z-index: 10;
    inset: 74px 0 0;
    display: block;
    background: rgba(32, 32, 36, .22);
  }

  body.page-id-12411 .hero-shell {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 18px 44px !important;
  }

  body.page-id-12411 .hero-shell .e-con-inner {
    gap: 16px;
  }

  body.page-id-12411 .hero-shell .erasmus-title-wrapper h1 {
    font-size: clamp(26px, 7.2vw, 36px);
    letter-spacing: -.8px;
    overflow-wrap: anywhere;
  }

  body.page-id-12411 .hero-shell .gradient-word {
    font-size: clamp(21px, 5.8vw, 28px);
  }

  body.page-id-12411 .esc-about,
  body.page-id-12411 .erasmus-join-us {
    padding: 52px 18px;
  }

  body.page-id-12411 .section-shell {
    padding: 58px 18px;
  }

  body.page-id-12411 .partnership-grid,
  body.page-id-12411 .steps-grid,
  body.page-id-12411 .gallery {
    grid-template-columns: 1fr;
  }

  body.page-id-12411 .site-footer {
    padding: 0;
  }

  body.page-id-12411 .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 24px 44px;
  }

  body.page-id-12411 .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 24px;
  }
}

@media (min-width: 600px) and (max-width: 850px) {
  body.page-id-12411 .esc-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
