/* ===== PROJEKTE (Project pages) ===== */

/* Sidebar navigation — solid magenta panel (mirrors Bereiche nav) */
.projekt-nav__panel {
  background-color: rgb(226, 0, 116);
  border-radius: 6px;
  padding: 20px 18px;
}

.projekt-nav__panel ul {
  border-left: 0 !important;
}

/* Arbeitsbereich dropdown */
.projekt-nav__dropdown-wrap {
  position: relative;
  margin-bottom: 0;
}

.projekt-nav__dropdown {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Funnel Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  border: 0;
  border-radius: 4px;
  padding: 6px 32px 6px 8px;
  cursor: pointer;
  outline: none;
}

.projekt-nav__dropdown:focus {
  background: rgba(255, 255, 255, 0.25);
}

.projekt-nav__dropdown option {
  color: #1a1a1a;
  background: #fff;
  font-weight: 400;
}

.projekt-nav__dropdown-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #fff;
  pointer-events: none;
}

/* Single heading (when only one bereich) */
.projekt-nav__heading {
  color: #fff;
  font-family: 'Funnel Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  padding: 2px 0 6px;
}

/* Divider */
.projekt-nav__divider {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 10px 0;
}

/* Project links */
.projekt-nav__link {
  color: #fff !important;
  font-family: 'Funnel Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  padding: 4px 0 !important;
  display: block;
  transition: opacity 0.15s;
  border: 0 !important;
  background: none !important;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.projekt-nav__link:hover {
  opacity: 0.75;
  color: #fff !important;
}

.projekt-nav__link--active {
  opacity: 1 !important;
  color: #fff !important;
  text-decoration: none !important;
  background-color: rgba(0, 0, 0, 0.15) !important;
  border-radius: 3px;
  margin: 0 -6px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Project links — arrow on right (these are real links, not scroll anchors) */
.projekt-nav__link--project {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
}

.projekt-nav__link--project::after {
  content: '→';
  margin-left: 8px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* Hide duplicate page title on projekte pages — hero replaces it */
.page--projekte .block-page-title-block,
.page--projekte #block-tw-page-title {
  display: none !important;
}
