/* Shared Peppy Thinkers header/footer for board game pages */
body.pt-boardgame-page {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pt-site-header,
.pt-site-header *,
.pt-site-footer,
.pt-site-footer * {
  box-sizing: border-box;
}

.pt-site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 231, 242, 0.9);
  color: #172033;
}

.pt-container {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.pt-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  color: #172033;
  text-decoration: none;
}

.pt-brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  background: linear-gradient(135deg, #4078ff, #6757f5);
  box-shadow: 0 12px 22px rgba(64, 120, 255, 0.22);
}

.pt-logo {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pt-tagline {
  display: block;
  margin-top: 7px;
  color: #718096;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pt-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.pt-site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #435067;
  font-size: 0.87rem;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
}

.pt-site-nav a:hover,
.pt-site-nav a.active {
  color: #fff;
  background: #6757f5;
}

.pt-game-breadcrumb {
  width: min(1120px, calc(100% - 44px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 800;
  color: #5f6b7c;
}

.pt-game-breadcrumb a {
  color: #6757f5;
  text-decoration: none;
}

.pt-game-breadcrumb a:hover {
  text-decoration: underline;
}

.pt-site-footer {
  margin-top: 36px;
  padding: 34px 0;
  color: #172033;
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(223, 231, 242, 0.92);
}

.pt-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pt-site-footer h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pt-site-footer p {
  margin: 6px 0 0;
  color: #5f6b7c;
  font-size: 0.94rem;
  line-height: 1.5;
}

.pt-footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pt-footer-nav a {
  color: #435067;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.pt-footer-nav a:hover {
  color: #6757f5;
}

/* Keep old small return links from competing with the shared header. */
.back-to-boardgames,
.back-link {
  display: none !important;
}

@media (max-width: 760px) {
  .pt-container,
  .pt-game-breadcrumb {
    width: min(100% - 28px, 1120px);
  }

  .pt-header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .pt-site-nav {
    justify-content: flex-start;
  }

  .pt-site-nav a {
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .pt-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
