.header-wrapper {
    display: none;
}

.lfps-hero-heading-blue {
  font-family: 'Anek Latin', sans-serif;
  font-weight: bold;
  font-size: 50px;
  text-align: center;
  color: var(--tu-blue);
}

.i2c-home-heading-white {
  font-family: 'Anek Latin', sans-serif;
  font-weight: bold;
  font-size: 50px;
  text-align: center;
  color: var(--tu-white);
}

@media (max-width: 800px) {
  .i2c-home-heading-white, .i2c-home-heading-blue {
    font-size: 32px;
  }
}

/* ---------- SECTION BACKGROUND + SPACING ---------- */
.i2c-home-hero-section {
  position: relative;
  /* background: url('https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/Group-551.png')
              center/cover no-repeat; */
  overflow: hidden;
  margin-top: 130px;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  z-index: 1;
}

.i2c-home-hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}

.i2c-home-hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #006AAC;           /* fills area not covered by image */
  /* background-position: right center; */
  background-position: right;
  background-repeat: no-repeat;        /* prevent repeating */
  /* background-size: auto 100%;           */
  background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* VERTICAL (desktop) */
@keyframes pan-down {
  0%   { background-position: center top; }
  100% { background-position: center bottom; }
}

@keyframes pan-up {
  0%   { background-position: center bottom; }
  100% { background-position: center top; }
}

/* HORIZONTAL (mobile) */
@keyframes pan-right {
  0%   { background-position: left center; }
  100% { background-position: right center; }
}

@keyframes pan-left {
  0%   { background-position: right center; }
  100% { background-position: left center; }
}

/* Apply the classes */
.slide.pan-down    { animation: pan-down 12s linear; }
.slide.pan-up      { animation: pan-up 12s linear; }
/* .slide.pan-right   { animation: pan-right 12s linear; } */
.slide.pan-left    { animation: pan-left 20s linear; }


.i2c-home-hero-slideshow .slide.active {
  opacity: 1;
}

.i2c-home-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 106, 172, 0.75); /* semi-transparent TU blue */
  pointer-events: none; /* allows clicks through */
}

/* inner wrapper to constrain width */
.i2c-home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* two-column grid: left text + spacer */
.i2c-home-hero-content {
  display: grid;
  grid-template-columns: 45% 1fr;
  align-items: start;
  column-gap: 2rem;
  font-family: 'Anek Latin', sans-serif !important;
  margin-left: 40px;
}

/* remove any default centering */
.i2c-home-hero-left {
  text-align: left;
}

/* optional invisible spacer for layout */
.i2c-home-hero-spacer {
  /* empty to push nav to the right side */
}

/* subtitle */
.i2c-home-hero-subtitle {
  font-family: 'Anek Latin', sans-serif !important;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  /* color: #006AAC; */
  color: #ffffff;
  margin-bottom: 16px;
}

/* #C3EBFF */

/* main title, forced left-align */
.i2c-home-hero-title {
  font-family: 'Anek Latin', sans-serif !important;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 750;
  /* color: #006AAC; */
  color: #ffffff;
  text-align: left;
}

/* ---------- NAV PANEL ON RIGHT ---------- */
.i2c-home-hero-nav-right {
  position: absolute;
  top: 80%;
  left: 50%;
  padding: 32px 10px;
  background: #ffffff;
  display: inline-flex;
  gap: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* margin-right: 40px; */
}

/* link styling + underline indicators */
.i2c-home-hero-nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: #006AAC;
  text-decoration: none;
  padding-bottom: 4px;
  cursor: pointer;
  
}
.i2c-home-hero-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.i2c-home-hero-nav-link:hover::after,
.i2c-home-hero-nav-link.blue::after   { transform: scaleX(1); background: #006AAC; }
.i2c-home-hero-nav-link.green::after  { transform: scaleX(1); background: #34A853; }
.i2c-home-hero-nav-link.red::after    { transform: scaleX(1); background: #EA4335; }
.i2c-home-hero-nav-link.yellow::after { transform: scaleX(1); background: #FBBC05; }

.i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: none;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1255px) {
  .i2c-home-hero-section {
    margin-top: 90px;
  }

  .i2c-home-hero-nav-right {
    left: 40%;
  }
}

@media (max-width: 876px) {
  /* hide desktop panel */
  /* .i2c-home-hero-nav-right {
    display: none;
  } */

  .i2c-home-hero-nav-right {
      position: unset;
      display: flex;
      margin-right: unset;
      justify-content: space-between;
      margin-top: 30px;
      margin-left: auto;
      margin-right: auto;
      width: 80%;
  }

  .i2c-home-hero-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .i2c-home-hero-title {
    margin-left: 80px;
  }

  .i2c-home-hero-subtitle {
    margin-left: 83px;
  }

  .i2c-home-hero-content {
    grid-template-columns: 100% 1fr;
    margin-left: unset;
  }

  .i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: none;
  }
}

@media (max-width: 690px) {

  .i2c-home-hero-title {
    text-align: center;
    margin-left: 0px;
  }

  .i2c-home-hero-subtitle {
    text-align: center;
    margin-left: 0px
  }
  
  .i2c-home-hero-nav-right {
    display: none;
  }

  .i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: flex;
    padding: 32px 10px;
    background: #ffffff;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    justify-content: center;
    margin-top: 30px;
  }

  .i2c-home-hero-nav-mobile-left {
    margin-right: 40%;
    border-radius: 0 8px 8px 0;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 38%;
    border-radius: 8px 0 0 8px;
  }

  .i2c-home-hero-section{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

}

@media (max-width: 465px) {
  .i2c-home-hero-nav-mobile-left {
    margin-right: 25%;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 25%;
  }
}

@media (max-width: 380px) {
  .i2c-home-hero-nav-mobile-left {
    margin-right: 10%;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 10%;
  }
}

.i2c-phd-wrap {
  max-width: 700px !important;
  margin: auto !important;
  padding: 0 20px !important;
  font-family: 'Anek Latin', sans-serif !important;
}

.i2c-phd-sectionhead {
  margin-bottom: 24px !important;
  text-align: center !important;
}

.i2c-phd-h1 {
  margin: 0 !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #002A4E !important;
}

/* Card base */
.i2c-phd-card {
  background: #ffffff !important;
  border: 2px solid #006AAC !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06) !important;
  padding: 28px 26px 32px 26px !important;
  margin-bottom: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Title and subtitle */
.i2c-phd-header {
  border-left: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 20px !important;
}

.i2c-phd-title {
  margin: 0 0 6px 0 !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #002A4E !important;
  line-height: 1.25 !important;
}

.i2c-phd-subtitle {
  margin: 0 !important;
  font-size: 1.05rem !important;
  color: #004E8A !important;
  line-height: 1.35 !important;
}

/* Meta chips */
.i2c-phd-meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin-bottom: 26px !important;
}

.i2c-phd-chip {
  background: #EAF4FF !important;
  color: #17324D !important;
  border-radius: 14px !important;
  padding: 8px 14px !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 500px !important;
  word-wrap: break-word !important;
}

/* Button */
.i2c-phd-footer {
  text-align: center !important;
  width: 100% !important;
}

.i2c-phd-btn {
  background: #006AAC !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  display: inline-block !important;
  transition: background-color 0.2s ease !important;
}

.i2c-phd-btn:hover {
  background: #004E8A !important;
}

@media (max-width: 768px) {
    .i2c-phd-wrap {
        margin: 20px auto !important;
    }
}

/* Responsive tweaks for ultra narrow screens */
@media (max-width: 420px) {
  .i2c-phd-card {
    padding: 22px 18px 26px 18px !important;
  }
  .i2c-phd-title {
    font-size: 1.4rem !important;
  }
  .i2c-phd-subtitle {
    font-size: 1rem !important;
  }
  .i2c-phd-chip {
    font-size: 0.9rem !important;
  }
}
