/* Shared navigation treatment for authenticated module heroes. */
.module-hero {
  position: relative;
}

.module-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.module-hero-side {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: max-content;
  flex: 0 0 auto;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.module-home-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.module-home-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-home-button:hover {
  border-color: #ffffff;
  color: var(--module-on-light, #094824);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.module-home-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--module-primary, #0d6a3b) 55%, transparent);
}

@media (max-width: 700px) {
  .module-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .module-hero-side {
    width: 100%;
    min-width: 0;
    align-self: auto;
    align-items: stretch;
    gap: 12px;
  }

  .module-home-button {
    align-self: flex-end;
  }
}
