/* Every feature page: the feature table and the "what talks to what" map.
   Reuses the site's light table look (.rome-swap) and dark sections. */

.rf-wrap { width: 100%; box-sizing: border-box; padding: 120px max(40px, calc((100vw - 1120px) / 2)); }
.rf-wrap--light { background: #fafbfc; color: #14181f; }
.rf-wrap h2 { margin: 0 0 16px; text-align: center; }
.rf-wrap--light h2 .el-text:first-child { --el-text-color: #14181f !important; }
.rf-wrap--light h2 .el-text:last-child { --el-text-color: rgba(20,24,31, 0.5) !important; }
.rf-lead { max-width: 560px; margin: 0 auto 40px; text-align: center; font: 400 17px/1.55 "Google Sans", sans-serif; color: rgba(20,24,31, 0.6); }

/* filter row */
.rf-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rf-chip { height: 36px; padding: 0 16px; border-radius: 100px; border: 1px solid rgba(0, 0, 0, 0.08); background: #fff; color: #2c3340; font: 500 14px/1 "Google Sans", sans-serif; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.rf-chip:hover { border-color: rgba(0, 0, 0, 0.2); }
.rf-chip[aria-pressed="true"] { background: #1b1b1d; border-color: #1b1b1d; color: #fff; }
.rf-chip span { margin-left: 6px; opacity: 0.5; font-variant-numeric: tabular-nums; }
.rf-search { flex: 0 1 260px; height: 40px; padding: 0 16px; border-radius: 100px; border: 1px solid rgba(0, 0, 0, 0.08); background: #fff; color: #14181f; font: 400 15px/1 "Google Sans", sans-serif; outline: none; }
.rf-search:focus { border-color: #fe6819; }

/* feature table: see all-table.css */
.rf-empty { padding: 40px 20px; text-align: center; color: #6c727f; font: 400 15px/1.5 "Google Sans", sans-serif; }

@media (max-width: 1100px) {
  .rf-wrap { padding: 96px 32px; }
}
@media (max-width: 809px) {
  .rf-wrap { padding: 80px 20px; }
  .rf-tools { flex-direction: column; align-items: stretch; }
  .rf-search { flex: none; }
}
