/* ===== Base ===== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ===== Shared site shell ===== */
.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav-top {
  flex-shrink: 0;
  width: 100%;
}

.page-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
  width: 100%;
}

/* ===== Shared container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 20px;
}
/* ===== TOP NAV ===== */
.nav-top {
  /* responsive width without hard-coding 1800px */
  max-width: clamp(320px, 92vw, 1800px);
  height: 64px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  pointer-events: auto; /* re-enable interaction inside the bar */
}
@media (min-width: 1280px) {
  .nav-top {
    height: 72px;

    gap: 16px;
  }
}
@media (max-width: 768px) {
  .nav-top {
    height: 56px;
    padding: 0 10px;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .nav-top {
    height: 52px;
    padding: 0 8px;
  }
}
