/* Creator shell styles v1. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--studio-border);
  background: var(--erh-surface);

}

.site-header__inner,
.site-footer__inner {
  width: min(var(--studio-max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-brand__logo { display:block; width:160px; height:46px; object-fit:cover; object-position:center 52%; }

.site-brand__copy {
  display: grid;
  gap: 2px;
}

.site-brand__copy strong {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--studio-text);
}

.site-brand__copy small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--studio-text-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--studio-radius-pill);
  color: var(--erh-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--studio-bg-soft);
}

.site-nav a.is-active {
  background: var(--studio-primary-soft);
  color: var(--erh-link);
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--studio-border);
  background: var(--studio-surface);
}

.site-footer__inner {
  padding: 16px 0;
}

.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--studio-text-muted); }

.site-footer__copyright {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--studio-text-muted);
}

.studio-footer {
  background: var(--studio-surface);
  border: 0;
  border-radius: 0;
  box-shadow: var(--studio-shadow-sm);
}

.studio-footer {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  padding: 24px 28px;
}

.studio-footer__brand strong {
  display: block;
  margin-bottom: 8px;
  color: var(--studio-text);
}

.studio-footer__brand p {
  margin: 0;
  color: var(--studio-text-muted);
}

.studio-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.studio-footer__links a {
  color: var(--erh-link);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1023px) {
.site-header__inner,
.site-footer__inner {
    width: min(var(--studio-max), calc(100% - 48px));
  }
}

@media (max-width: 767px) {
.site-brand__logo { width:132px; height:40px; }
.site-header__inner,
.site-footer__inner {
    width: calc(100% - 32px);
  }
.site-header__inner {
    min-height: 64px;
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }
.site-nav {
    justify-content: flex-start;
  }
.site-footer__grid {
    grid-template-columns: 1fr;
  }
.studio-footer {
    padding: 20px 0;
    border-radius: 0;
  }
}
