/* SPP View Counter — badge + shortcode styling. Mirrors the 2026-05-28 mockup.
   STATUS: DRAFT v1 (2026-05-28). Staged for owner approval — NOT yet deployed. */

.spp-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #66737b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.spp-views svg { width: 15px; height: 15px; opacity: .7; }

.spp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px)  { .spp-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .spp-archive-grid { grid-template-columns: 1fr; } }

.spp-card {
  border: 1px solid #d8dee2;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 248px;
}
.spp-card .spp-meta {
  color: #66737b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.spp-card h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.18; }
.spp-card h3 a { color: #2d3940; text-decoration: none; }
.spp-card p { color: #66737b; margin: 0; font-size: 15px; }
.spp-card-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.spp-read { color: #066aab; text-decoration: none; font-weight: 800; font-size: 13px; }

.spp-mostread {
  border: 1px solid #d8dee2;
  border-radius: 8px;
  background: #fff;
  padding: 22px 24px;
}
.spp-mostread h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #2d3940;
  margin: 0 0 14px;
}
.spp-mostread ol { margin: 0; padding-left: 0; list-style: none; counter-reset: mr; }
.spp-mostread li {
  counter-increment: mr;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #d8dee2;
}
.spp-mostread li:last-child { border-bottom: 0; }
.spp-mostread li::before {
  content: counter(mr);
  font-weight: 700;
  color: #066aab;
  width: 18px;
  flex: none;
}
.spp-mostread .spp-t { color: #243036; font-weight: 700; font-size: 15px; text-decoration: none; }
.spp-mostread .spp-views { display: block; margin-top: 2px; }

.spp-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.spp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  justify-content: center;
  border: 1px solid #d8dee2;
  border-radius: 6px;
  color: #2d3940;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.spp-pagination .page-numbers.current {
  background: #066aab;
  border-color: #066aab;
  color: #fff;
}
.spp-pagination .page-numbers.dots { border-color: transparent; }

/* [spp_insights] homepage band */
.spp-insights { margin: 8px 0; }
.spp-insights-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: #2d3940;
  margin: 0 0 6px;
}
.spp-insights-head p { color: #66737b; margin: 0 0 22px; max-width: 640px; }
.spp-insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .spp-insights-grid { grid-template-columns: 1fr; } }
.spp-insight-card {
  border: 1px solid #d8dee2;
  border-radius: 10px;
  background: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.spp-insight-card .spp-kicker {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: #054f80; margin-bottom: 8px;
}
.spp-insight-card.tech .spp-kicker { color: #5b3fae; }
.spp-insight-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 24px; margin: 0 0 8px; }
.spp-insight-card h3 a { color: #2d3940; text-decoration: none; }
.spp-badge-count {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: #054f80; background: #eef6fb; border-radius: 999px; padding: 5px 11px; margin-bottom: 14px;
  align-self: flex-start;
}
.spp-insight-card.tech .spp-badge-count { color: #5b3fae; background: #f0ecfb; }
.spp-insight-card .spp-desc { color: #66737b; margin: 0 0 16px; }
.spp-latest { border-top: 1px solid #d8dee2; padding-top: 14px; margin-top: auto; }
.spp-latest .spp-meta { margin-bottom: 6px; }
.spp-latest-link { color: #243036; font-weight: 700; font-size: 16px; text-decoration: none; }
.spp-insight-card .spp-read { margin-top: 16px; }
.spp-read.tech { color: #5b3fae; }
