/* pi-links1.css — "Related guides" block on article pages.
 * Internal-linking build, 2026-11-07. Serve-time injected by
 * routes/publicPages.js (renderRelatedBlock) on /blog/<slug> only.
 * One font: Plus Jakarta Sans (the owner's landing rule). Palette
 * matches the article template family: ink #171114, soft red
 * #fff2f3, border #ffd1d8, Pinterest red #e60023.
 * Layout is fluid with min-width:0 everywhere it matters — no
 * fixed widths, so nothing can overflow at 412px or 360px. */
.pi-related {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  margin: 44px 0 8px;
  padding: 28px 0 4px;
  border-top: 2px solid #f2f4f7;
  color: #171114;
}
.pi-related h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #171114;
}
.pi-related-tool {
  display: block;
  background: #fff2f3;
  border: 1px solid #ffd1d8;
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  margin: 0 0 14px;
  min-width: 0;
}
.pi-related-tool:hover { border-color: #e60023; }
.pi-related-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e60023;
  margin-bottom: 5px;
}
.pi-related-tool strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: #171114;
  overflow-wrap: break-word;
}
.pi-related-tool em {
  display: block;
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  color: #5c5560;
  margin-top: 4px;
}
.pi-related-secondary {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5c5560;
  margin: 0 0 14px;
}
.pi-related-secondary a { color: #c8001e; font-weight: 700; text-decoration: none; }
.pi-related-secondary a:hover { text-decoration: underline; }
.pi-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pi-related-list li { margin: 0; min-width: 0; }
.pi-related-list a {
  display: block;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #171114;
  text-decoration: none;
  overflow-wrap: break-word;
}
.pi-related-list a:hover { border-color: #e60023; color: #c8001e; }
.pi-related-hub {
  font-size: 14px;
  line-height: 1.55;
  color: #5c5560;
  margin: 16px 0 0;
}
.pi-related-hub a { color: #c8001e; font-weight: 700; text-decoration: none; }
.pi-related-hub a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .pi-related { margin-top: 34px; padding-top: 22px; }
  .pi-related h2 { font-size: 20px; }
  .pi-related-tool { padding: 14px 15px; }
  .pi-related-tool strong { font-size: 16px; }
  .pi-related-list a { font-size: 15px; padding: 12px 14px; }
}
/* Perch Ads slot (2026-11-07): 300x250 space at the end of every
 * article, above Related guides. Centered, fluid, no fixed height —
 * the embed sizes itself; an empty slot collapses to the label. */
.pi-perch {
  margin: 40px auto 0;
  max-width: 300px;
  min-width: 0;
  text-align: center;
}
.pi-perch-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a929c;
  margin: 0 0 6px;
}
