/* Shared site header/footer styles for non-tool pages */
body.page {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #000;
  background: #fff;
  overflow: auto;
}

.site-header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 2px solid #000;
}
.site-header .logo { height: 32px; }
.site-nav a {
  margin-left: 14px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.site-nav a:hover { text-decoration: underline; }

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  line-height: 1.6;
}
.page-content h1 { font-size: 28px; }
.page-content h2 { font-size: 20px; margin-top: 28px; }

.ad-slot {
  border: 2px dashed #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin: 20px auto;
  min-height: 90px;
}
.ad-slot.leaderboard { max-width: 728px; height: 90px; }
.ad-slot.in-content  { max-width: 336px; height: 280px; }

.product-card {
  display: flex;
  gap: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px;
  margin: 16px 0;
  align-items: center;
}
.product-card img { width: 90px; height: 90px; object-fit: contain; }
.product-card .product-info { flex: 1; }
.product-card .btn-amazon {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 16px;
  background: #ff9900;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
}

.site-footer {
  background: #fff;
  border-top: 2px solid #000;
  padding: 16px;
  text-align: center;
  font-size: 12px;
  color: #444;
}
.site-footer a { color: #444; }
.footer-disclosure { font-size: 11px; color: #777; margin: 8px 0; }

/* MOBILE */
@media (max-width: 600px) {
  .site-header {
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .site-header .logo { height: 26px; }
  .site-nav a {
    margin-left: 0;
    margin-right: 12px;
    font-size: 13px;
  }
  .page-content {
    padding: 16px 12px 32px;
  }
  .page-content h1 { font-size: 22px; }
  .page-content h2 { font-size: 17px; }

  .ad-slot.leaderboard,
  .ad-slot.in-content {
    max-width: 100%;
    width: 100%;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
  }
  .product-card img {
    width: 100%;
    max-width: 160px;
    height: auto;
  }

  .footer-links a {
    display: inline-block;
    margin: 2px 4px;
  }
}
