@use 'abstracts';

.blog-nav {
  height: var(--nav-height);
  background-color: var(--nav-bg);
  backdrop-filter: var(--nav-backdrop);
  box-shadow: var(--nav-shadow);
  border-radius: 0 0 10px 10px;
  position: sticky;
  top: 0;
  z-index: var(--z-index-sticky);

  &__inner {
    @include abstracts.container-wrapper;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  &__logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-main);
  }

  &__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: abstracts.rem(30);
    height: abstracts.rem(30);
    background-color: var(--accent);
    color: var(--text-on-accent);
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  &__logo-accent {
    color: var(--accent);
  }

  &__back {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    transition: color 0.15s ease;

    &:hover {
      color: var(--accent);
    }
  }
}
