/**
 * 메인 셸·히어로 — Tailwind 번들보다 먼저 로드 (layout.tsx에서 link 최우선).
 * :root 레이아웃 숫자는 src/app/globals.css 과 동기화할 것.
 */
:root {
  --layout-sidebar-w: 300px;
  --layout-two-col-gap: 2.5rem;
  --layout-shell-max-width: none;
  --header-height-md: 68px;
  --header-sticky-offset: calc(3px + var(--header-height-md));
}

#main-content .app-shell {
  display: flex;
  flex-direction: column;
  max-width: var(--layout-shell-max-width);
  margin-left: auto;
  margin-right: auto;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

#main-content .app-shell__main,
#main-content .app-shell__aside {
  min-width: 0;
}

@media (min-width: 1024px) {
  #main-content .app-shell {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--layout-two-col-gap);
  }

  #main-content .app-shell__main {
    flex: 1 1 0;
    min-width: 0;
  }

  #main-content .app-shell__aside {
    flex: 0 0 var(--layout-sidebar-w);
    max-width: var(--layout-sidebar-w);
    position: sticky;
    top: var(--header-sticky-offset);
    align-self: flex-start;
  }
}

/* HomePageV0 히어로 */
.hero-v0-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 380px;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-v0-inner {
    min-height: 420px;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-v0-inner {
    grid-template-columns: minmax(0, 1fr) min(420px, 42%);
    gap: 2.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.hero-v0-right {
  display: none;
  position: relative;
  min-height: 280px;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-v0-right {
    display: flex;
  }
}
