/* Hero preview shell, measured against Fora's public App component.
   Scope keeps the footer preview independent. Border overlays match the
   source geometry without consuming an extra pixel of interior spacing. */
.hero .workspace {
  aspect-ratio: 1.4210526315789473;
  align-items: stretch;
  padding: 6px;
  gap: 6px;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: rgba(23, 23, 23, .85);
  box-shadow: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: clip;
}

.hero .workspace::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: inherit;
  pointer-events: none;
}

.hero .workspace::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  height: 1px;
  background: #fff3f0;
  opacity: .75;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50.02754820936639%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50.02754820936639%, transparent 100%);
  pointer-events: none;
}

.hero .workspace-sidebar {
  width: 220px;
  padding: 16px;
  gap: 24px;
  align-items: flex-start;
  border-radius: 18px;
  background: transparent;
  overflow: clip;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .8);
}

.hero .workspace-title {
  width: 100%;
  height: 18px;
  flex: none;
}

.hero .workspace-title-placeholder {
  width: 61px;
  height: 16px;
  flex: none;
  border-radius: 6px;
  background: #fff;
  opacity: .1;
}

.hero .workspace-title .workspace-search {
  width: 18px;
  height: 18px;
  flex: none;
  color: #fff;
  opacity: .5;
}

.hero .workspace-sidebar nav {
  width: 100%;
  gap: 12px;
}

.hero .workspace-sidebar nav a {
  min-height: 21px;
  padding: 0;
  gap: 10px;
  border-radius: 0;
}

.hero .workspace-sidebar nav .active,
.hero .workspace-sidebar nav a:hover {
  background: transparent;
  color: inherit;
}

.hero .workspace-sidebar nav .icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.hero .workspace-cover {
  border-radius: 18px;
}

@media (max-width: 809.98px) {
  .hero .workspace {
    aspect-ratio: .7563218390804598;
  }

  .hero .workspace-sidebar {
    width: 42px;
    padding: 12px;
  }

  .hero .workspace-title {
    width: 18px;
    justify-content: center;
  }

  .hero .workspace-sidebar nav {
    width: 15px;
    align-items: flex-start;
  }

  .hero .workspace-sidebar nav a {
    min-height: 15px;
    padding: 0;
  }
}
