/* ============================================================
   ARCHETYPE: realtorcards  (prefix: rc-)
   Agent / profile-card directory — avatar-led cards, badges,
   contact-style buttons, soft shadows, trustworthy & friendly.
   Accent comes from palette tokens: --one / --one-hover /
   --one-border / --one-shadow-rgb. Neutrals are archetype-owned.
   ============================================================ */

:root{
  --rc-ink:#1f2733;
  --rc-ink-soft:#5b6573;
  --rc-muted:#8b94a3;
  --rc-line:#e7ebf1;
  --rc-bg:#f4f6fb;
  --rc-surface:#ffffff;
  --rc-surface-2:#fbfcfe;
  --rc-radius:18px;
  --rc-radius-sm:12px;
  --rc-radius-pill:999px;
  --rc-shadow:0 10px 30px rgba(31,39,51,.07);
  --rc-shadow-sm:0 4px 14px rgba(31,39,51,.06);
  --rc-shadow-hover:0 18px 44px rgba(31,39,51,.13);
}

*{box-sizing:border-box;}

.rc-body{
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--rc-ink);
  background:var(--rc-bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  font-weight:400;
}

.rc-main{display:block;min-height:60vh;}

.rc-container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 22px;
}

a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}

/* ===================== BUTTONS ===================== */
.rc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  font-family:inherit;
  font-weight:600;
  font-size:.92rem;
  line-height:1;
  padding:.72em 1.25em;
  border-radius:var(--rc-radius-pill);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.rc-btn:hover{transform:translateY(-2px);}
.rc-btn-primary{
  background:var(--one);
  color:#fff;
  box-shadow:0 8px 20px rgba(var(--one-shadow-rgb),.28);
}
.rc-btn-primary:hover{background:var(--one-hover);box-shadow:0 12px 26px rgba(var(--one-shadow-rgb),.36);}
.rc-btn-ghost{
  background:var(--rc-surface);
  color:var(--rc-ink);
  border-color:var(--rc-line);
}
.rc-btn-ghost:hover{border-color:var(--one-border);color:var(--one);}
.rc-btn-soft{
  background:rgba(var(--one-shadow-rgb),.08);
  color:var(--one);
}
.rc-btn-soft:hover{background:rgba(var(--one-shadow-rgb),.14);}
.rc-btn-sm{padding:.58em 1em;font-size:.82rem;}
.rc-btn-lg{padding:.92em 1.6em;font-size:1rem;}
.rc-btn-block{display:flex;width:100%;}

/* ===================== HEADER / NAV ===================== */
.rc-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--rc-line);
}
.rc-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:74px;
}
.rc-brand{display:flex;align-items:center;gap:12px;}
.rc-brand-mark{
  display:grid;place-items:center;
  width:46px;height:46px;
  border-radius:14px;
  background:var(--one);
  color:#fff;
  font-size:1.15rem;
  box-shadow:0 8px 18px rgba(var(--one-shadow-rgb),.3);
}
.rc-brand-text{display:flex;flex-direction:column;line-height:1.15;}
.rc-brand-name{font-weight:700;font-size:1.12rem;color:var(--rc-ink);}
.rc-brand-sub{font-size:.74rem;color:var(--rc-muted);font-weight:500;}

.rc-burger{
  display:none;
  background:var(--rc-surface);
  border:1.5px solid var(--rc-line);
  border-radius:12px;
  width:46px;height:46px;
  font-size:1.1rem;
  color:var(--rc-ink);
  cursor:pointer;
}

.rc-nav-list{
  display:flex;
  align-items:center;
  gap:6px;
  list-style:none;
  margin:0;padding:0;
}
.rc-nav-link{
  display:inline-flex;
  align-items:center;
  gap:.45em;
  padding:.55em .85em;
  border-radius:10px;
  font-size:.92rem;
  font-weight:500;
  color:var(--rc-ink-soft);
  transition:background .2s ease, color .2s ease;
}
.rc-nav-link:hover{background:var(--rc-bg);color:var(--rc-ink);}
.rc-nav-cta{
  background:var(--one);
  color:#fff;
  font-weight:600;
  padding:.6em 1.05em;
  border-radius:var(--rc-radius-pill);
  box-shadow:0 8px 18px rgba(var(--one-shadow-rgb),.28);
}
.rc-nav-cta:hover{background:var(--one-hover);color:#fff;}

/* ===================== HERO ===================== */
.rc-hero{
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(var(--one-shadow-rgb),.10), transparent 60%),
    linear-gradient(180deg,#ffffff 0%, var(--rc-bg) 100%);
  border-bottom:1px solid var(--rc-line);
  padding:56px 0 64px;
}
.rc-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:46px;
  align-items:center;
}
.rc-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--one);
  background:rgba(var(--one-shadow-rgb),.08);
  padding:.4em .85em;
  border-radius:var(--rc-radius-pill);
}
.rc-hero-title{
  margin:18px 0 12px;
  font-size:clamp(2rem,4.4vw,3.15rem);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--rc-ink);
}
.rc-hero-lead{
  margin:0 0 26px;
  font-size:1.08rem;
  color:var(--rc-ink-soft);
  max-width:33em;
}
.rc-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px;}
.rc-hero-trust{
  display:flex;flex-wrap:wrap;gap:18px;
  font-size:.86rem;font-weight:500;color:var(--rc-ink-soft);
}
.rc-hero-trust i{color:var(--one);margin-right:.35em;}

.rc-hero-side{display:flex;flex-direction:column;gap:18px;}
.rc-hero-feature{
  position:relative;
  display:block;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  box-shadow:var(--rc-shadow);
  padding-bottom:22px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .25s ease;
}
.rc-hero-feature:hover{transform:translateY(-4px);box-shadow:var(--rc-shadow-hover);}
.rc-hero-feature-cover{display:block;height:190px;overflow:hidden;background:var(--rc-bg);}
.rc-hero-feature-cover img{width:100%;height:100%;object-fit:cover;}
.rc-hero-feature-av{
  display:block;
  width:84px;height:84px;
  margin:-44px auto 12px;
  border-radius:50%;
  border:4px solid var(--rc-surface);
  overflow:hidden;
  background:var(--rc-bg);
  box-shadow:var(--rc-shadow-sm);
}
.rc-hero-feature-av img{width:100%;height:100%;object-fit:cover;}
.rc-hero-feature-name{display:block;text-align:center;font-weight:700;font-size:1.1rem;color:var(--rc-ink);}
.rc-hero-feature-tag{
  display:flex;align-items:center;justify-content:center;gap:.4em;
  margin-top:4px;font-size:.8rem;font-weight:600;color:var(--one);
}
.rc-hero-feature-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  min-height:280px;color:var(--rc-muted);
}
.rc-hero-feature-empty i{font-size:2.6rem;color:var(--rc-line);}

.rc-hero-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.rc-count{
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius-sm);
  padding:14px 10px;
  text-align:center;
  box-shadow:var(--rc-shadow-sm);
}
.rc-count-num{display:block;font-size:1.5rem;font-weight:800;color:var(--one);line-height:1;}
.rc-count-label{display:block;margin-top:4px;font-size:.74rem;color:var(--rc-muted);font-weight:500;}

/* ===================== SECTIONS ===================== */
.rc-section{padding:46px 0 8px;}
.rc-section-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin-bottom:26px;
}
.rc-section-title{
  margin:8px 0 0;
  font-size:clamp(1.4rem,2.6vw,1.9rem);
  font-weight:700;
  letter-spacing:-.01em;
  color:var(--rc-ink);
}
.rc-section-note{font-size:.85rem;color:var(--rc-muted);font-weight:500;white-space:nowrap;}

/* ===================== CATEGORIES ===================== */
.rc-cats{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
  gap:16px;
}
.rc-cat{
  display:flex;align-items:center;gap:14px;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  padding:16px 18px;
  box-shadow:var(--rc-shadow-sm);
  transition:transform .18s ease, box-shadow .22s ease, border-color .2s ease;
}
.rc-cat:hover{transform:translateY(-3px);box-shadow:var(--rc-shadow-hover);border-color:rgba(var(--one-shadow-rgb),.35);}
.rc-cat-icon{
  flex:none;
  display:grid;place-items:center;
  width:52px;height:52px;
  border-radius:14px;
  background:rgba(var(--one-shadow-rgb),.10);
  color:var(--one);
  font-size:1.25rem;
}
.rc-cat-body{display:flex;flex-direction:column;min-width:0;flex:1;}
.rc-cat-name{font-weight:700;font-size:1.02rem;color:var(--rc-ink);}
.rc-cat-subs{
  font-size:.82rem;color:var(--rc-muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rc-cat-count{
  flex:none;
  min-width:34px;height:34px;
  display:grid;place-items:center;
  padding:0 8px;
  border-radius:var(--rc-radius-pill);
  background:var(--rc-bg);
  color:var(--rc-ink-soft);
  font-size:.82rem;font-weight:700;
}

/* ===================== PROFILE GRID + CARD ===================== */
.rc-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:24px;
}
.rc-card{
  position:relative;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  box-shadow:var(--rc-shadow-sm);
  overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .2s ease, box-shadow .25s ease;
}
.rc-card:hover{transform:translateY(-5px);box-shadow:var(--rc-shadow-hover);}
.rc-card-cover{
  display:block;
  position:relative;
  height:150px;
  overflow:hidden;
  background:var(--rc-bg);
}
.rc-card-cover img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .4s ease;
}
.rc-card:hover .rc-card-cover img{transform:scale(1.06);}
.rc-badge{
  display:inline-flex;align-items:center;gap:.4em;
  font-size:.72rem;font-weight:700;
  padding:.4em .7em;
  border-radius:var(--rc-radius-pill);
}
.rc-badge-premium{
  position:absolute;top:12px;right:12px;
  background:rgba(255,255,255,.95);
  color:var(--one);
  box-shadow:var(--rc-shadow-sm);
  backdrop-filter:blur(4px);
}
.rc-card-avatar{
  display:flex;justify-content:center;
  margin-top:-44px;
}
.rc-card-avatar a{
  display:block;
  width:84px;height:84px;
  border-radius:50%;
  border:4px solid var(--rc-surface);
  overflow:hidden;
  background:var(--rc-bg);
  box-shadow:var(--rc-shadow-sm);
}
.rc-card-avatar img{width:100%;height:100%;object-fit:cover;}
.rc-card-body{
  padding:10px 20px 22px;
  text-align:center;
  display:flex;flex-direction:column;flex:1;
}
.rc-card-name{margin:6px 0 2px;font-size:1.12rem;font-weight:700;}
.rc-card-name a{color:var(--rc-ink);transition:color .2s ease;}
.rc-card-name a:hover{color:var(--one);}
.rc-card-handle{
  display:inline-flex;align-items:center;gap:.4em;justify-content:center;
  font-size:.82rem;font-weight:500;color:var(--one);
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rc-card-handle:hover{text-decoration:underline;}
.rc-card-bio{
  margin:12px 0 18px;
  font-size:.9rem;
  color:var(--rc-ink-soft);
  flex:1;
}
.rc-card-actions{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
}

/* ===================== PAGER ===================== */
.rc-pager{
  display:flex;align-items:center;justify-content:center;gap:14px;
  margin:38px 0 8px;
  flex-wrap:wrap;
}
.rc-pager-link{
  display:inline-flex;align-items:center;gap:.5em;
  padding:.66em 1.2em;
  border-radius:var(--rc-radius-pill);
  border:1.5px solid var(--rc-line);
  background:var(--rc-surface);
  font-size:.88rem;font-weight:600;color:var(--rc-ink);
  transition:border-color .2s ease, color .2s ease, transform .15s ease;
}
.rc-pager-link:hover{border-color:var(--one-border);color:var(--one);transform:translateY(-2px);}
.rc-pager-link.is-disabled{opacity:.45;pointer-events:none;}
.rc-pager-status{font-size:.85rem;font-weight:600;color:var(--rc-ink-soft);}

/* ===================== EMPTY STATE ===================== */
.rc-empty{
  text-align:center;
  padding:64px 20px;
  background:var(--rc-surface);
  border:1px dashed var(--rc-line);
  border-radius:var(--rc-radius);
}
.rc-empty i{font-size:2.6rem;color:var(--rc-line);}
.rc-empty h3{margin:14px 0 6px;font-size:1.25rem;font-weight:700;color:var(--rc-ink);}
.rc-empty p{margin:0 0 18px;color:var(--rc-muted);}

/* ===================== PARTNERS / MY LIST ===================== */
.rc-partners{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:16px;
}
.rc-partner{
  display:flex;flex-direction:column;gap:6px;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius-sm);
  padding:18px;
  box-shadow:var(--rc-shadow-sm);
  transition:transform .18s ease, box-shadow .22s ease;
}
.rc-partner:hover{transform:translateY(-3px);box-shadow:var(--rc-shadow-hover);}
.rc-partner-name{font-weight:700;color:var(--rc-ink);}
.rc-partner-name i{color:var(--one);margin-right:.4em;font-size:.8em;}
.rc-partner-desc{font-size:.86rem;color:var(--rc-muted);}

.rc-mylist{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.rc-mylist-item{
  display:flex;flex-direction:column;gap:2px;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-left:4px solid var(--one);
  border-radius:var(--rc-radius-sm);
  padding:14px 18px;
}
.rc-mylist-name{font-weight:600;color:var(--rc-ink);}
.rc-mylist-name:hover{color:var(--one);}
.rc-mylist-desc{font-size:.84rem;color:var(--rc-muted);}

/* ===================== BREADCRUMB + PAGE HEAD ===================== */
.rc-breadcrumb{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  font-size:.85rem;color:var(--rc-muted);
  padding:24px 0 4px;
}
.rc-breadcrumb a{color:var(--rc-ink-soft);font-weight:500;}
.rc-breadcrumb a:hover{color:var(--one);}
.rc-breadcrumb .rc-sep{color:var(--rc-line);}
.rc-breadcrumb .rc-current{color:var(--rc-ink);font-weight:600;}

.rc-page-head{
  display:flex;align-items:center;gap:20px;
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  padding:26px;
  margin:14px 0 26px;
  box-shadow:var(--rc-shadow-sm);
}
.rc-page-head-icon{
  flex:none;
  display:grid;place-items:center;
  width:66px;height:66px;
  border-radius:18px;
  background:var(--one);
  color:#fff;
  font-size:1.6rem;
  box-shadow:0 10px 22px rgba(var(--one-shadow-rgb),.3);
}
.rc-page-title{margin:6px 0 6px;font-size:clamp(1.5rem,3vw,2.1rem);font-weight:800;letter-spacing:-.01em;color:var(--rc-ink);}
.rc-page-desc{font-size:.95rem;color:var(--rc-ink-soft);max-width:60em;}

/* ===================== CHIPS (subcategories) ===================== */
.rc-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:8px;}
.rc-chip{
  display:inline-flex;align-items:center;gap:.5em;
  padding:.55em 1em;
  border-radius:var(--rc-radius-pill);
  background:var(--rc-surface);
  border:1.5px solid var(--rc-line);
  font-size:.86rem;font-weight:500;color:var(--rc-ink-soft);
  transition:border-color .2s ease, color .2s ease, transform .15s ease;
}
.rc-chip i{color:var(--one);}
.rc-chip:hover{border-color:var(--one-border);color:var(--one);transform:translateY(-2px);}

/* ===================== PROFILE (detail page) ===================== */
.rc-profile{margin:6px 0 50px;}
.rc-profile-head{
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  overflow:hidden;
  box-shadow:var(--rc-shadow);
}
.rc-profile-cover{height:240px;overflow:hidden;background:var(--rc-bg);}
.rc-profile-cover img{width:100%;height:100%;object-fit:cover;}
.rc-profile-id{
  display:flex;align-items:flex-end;gap:22px;
  padding:0 30px 26px;
  margin-top:-56px;
}
.rc-profile-avatar{
  flex:none;
  width:128px;height:128px;
  border-radius:50%;
  border:5px solid var(--rc-surface);
  overflow:hidden;
  background:var(--rc-bg);
  box-shadow:var(--rc-shadow-sm);
}
.rc-profile-avatar img{width:100%;height:100%;object-fit:cover;}
.rc-profile-id-text{padding-bottom:6px;}
.rc-profile-name{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  margin:0 0 6px;
  font-size:clamp(1.5rem,3vw,2.1rem);
  font-weight:800;letter-spacing:-.01em;color:var(--rc-ink);
}
.rc-profile-name .rc-badge-premium{
  position:static;
  background:rgba(var(--one-shadow-rgb),.10);
  font-size:.78rem;
}
.rc-profile-role{display:block;font-size:.9rem;color:var(--rc-muted);font-weight:500;margin-bottom:4px;}
.rc-profile-handle{
  display:inline-flex;align-items:center;gap:.4em;
  font-size:.9rem;font-weight:600;color:var(--one);
}
.rc-profile-handle:hover{text-decoration:underline;}

.rc-profile-grid{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:26px;
  margin-top:26px;
}
.rc-profile-main{
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  padding:28px;
  box-shadow:var(--rc-shadow-sm);
}
.rc-profile-facts{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px;}
.rc-fact{
  display:inline-flex;align-items:center;gap:.5em;
  padding:.5em .9em;
  border-radius:var(--rc-radius-pill);
  background:var(--rc-bg);
  font-size:.84rem;font-weight:500;color:var(--rc-ink-soft);
}
.rc-fact i{color:var(--one);}
.rc-profile-subtitle{margin:0 0 10px;font-size:1.15rem;font-weight:700;color:var(--rc-ink);}
.rc-profile-bio p{margin:0;color:var(--rc-ink-soft);white-space:pre-line;}

.rc-profile-aside{align-self:start;position:sticky;top:96px;}
.rc-panel{
  background:var(--rc-surface);
  border:1px solid var(--rc-line);
  border-radius:var(--rc-radius);
  padding:24px;
  box-shadow:var(--rc-shadow);
  display:flex;flex-direction:column;gap:12px;
}
.rc-panel-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:var(--rc-muted);}
.rc-panel-url{
  display:flex;align-items:center;gap:.5em;
  font-weight:600;color:var(--rc-ink);
  word-break:break-word;
}
.rc-panel-url i{color:var(--one);}

/* ===================== ALERTS ===================== */
.rc-alerts{padding-top:18px;display:flex;flex-direction:column;gap:10px;}
.rc-alert{
  display:flex;align-items:flex-start;gap:.7em;
  padding:14px 18px;
  border-radius:var(--rc-radius-sm);
  font-size:.92rem;
  border:1px solid transparent;
}
.rc-alert i{margin-top:.15em;}
.rc-alert-success{background:#ecfdf5;border-color:#bbf7d0;color:#166534;}
.rc-alert-error{background:#fef2f2;border-color:#fecaca;color:#991b1b;}

/* ===================== FOOTER ===================== */
.rc-footer{
  margin-top:60px;
  background:#11161f;
  color:#c7cfdc;
}
.rc-footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:34px;
  padding:48px 22px 34px;
}
.rc-footer-brand{
  display:inline-flex;align-items:center;gap:12px;
  font-size:1.18rem;font-weight:700;color:#fff;
}
.rc-footer-brand .rc-brand-mark{box-shadow:none;}
.rc-footer-tag{margin:14px 0 0;font-size:.9rem;color:#8a93a3;max-width:38em;}
.rc-footer-links{display:flex;flex-direction:column;gap:10px;}
.rc-footer-heading{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#6b7588;font-weight:700;margin-bottom:4px;}
.rc-footer-link{color:#c7cfdc;font-size:.92rem;transition:color .2s ease;}
.rc-footer-link:hover{color:#fff;}
.rc-footer-bottom{border-top:1px solid rgba(255,255,255,.08);}
.rc-footer-bottom .rc-container{padding-top:18px;padding-bottom:18px;font-size:.82rem;color:#7a8499;}

/* ===================== SEARCH BAR ===================== */
.rc-search{
  position:relative;
  display:flex;align-items:center;
  flex:1;
  max-width:360px;
  background:var(--rc-surface);
  border:1.5px solid var(--rc-line);
  border-radius:var(--rc-radius-pill);
  padding:4px 4px 4px 40px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.rc-search:focus-within{
  border-color:var(--one-border);
  box-shadow:0 0 0 4px rgba(var(--one-shadow-rgb),.10);
}
.rc-search .rc-search-icon{
  position:absolute;left:15px;top:50%;transform:translateY(-50%);
  color:var(--rc-muted);font-size:.9rem;pointer-events:none;
}
.rc-search input[type="search"]{
  flex:1;min-width:0;
  border:none;outline:none;background:transparent;
  font-family:inherit;font-size:.9rem;color:var(--rc-ink);
  padding:.45em .2em;
}
.rc-search input[type="search"]::placeholder{color:var(--rc-muted);}
.rc-search input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
.rc-search button{
  flex:none;
  display:inline-flex;align-items:center;gap:.4em;
  border:none;cursor:pointer;
  background:var(--one);color:#fff;
  font-family:inherit;font-weight:600;font-size:.85rem;
  padding:.55em .9em;
  border-radius:var(--rc-radius-pill);
  transition:background .2s ease;
}
.rc-search button:hover{background:var(--one-hover);}

.rc-search-lg{
  max-width:100%;
  margin:18px 0 4px;
  padding:6px 6px 6px 48px;
}
.rc-search-lg .rc-search-icon{left:18px;font-size:1.05rem;}
.rc-search-lg input[type="search"]{font-size:1.02rem;padding:.6em .2em;}
.rc-search-lg button{padding:.7em 1.4em;font-size:.92rem;}

/* ===================== TOOLBAR / SORT ===================== */
.rc-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:14px;
  margin-bottom:26px;
}
.rc-toolbar-left{display:flex;align-items:center;flex-wrap:wrap;gap:14px;}
.rc-toolbar-right{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.rc-sort{display:inline-flex;align-items:center;gap:.55em;}
.rc-sort label{
  font-size:.78rem;font-weight:600;color:var(--rc-muted);
  text-transform:uppercase;letter-spacing:.04em;
}
.rc-sort select{
  appearance:none;-webkit-appearance:none;
  font-family:inherit;font-size:.86rem;font-weight:600;color:var(--rc-ink);
  background:var(--rc-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b94a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right .85em center;
  border:1.5px solid var(--rc-line);
  border-radius:var(--rc-radius-pill);
  padding:.55em 2.2em .55em 1em;
  cursor:pointer;
  transition:border-color .2s ease, color .2s ease;
}
.rc-sort select:hover{border-color:var(--one-border);}
.rc-sort select:focus{outline:none;border-color:var(--one-border);box-shadow:0 0 0 4px rgba(var(--one-shadow-rgb),.10);}

/* ===================== FILTER CHIPS (active state) ===================== */
.rc-chips-filter{margin:0 0 4px;}
.rc-chip.is-active{
  background:var(--one);
  border-color:var(--one);
  color:#fff;
}
.rc-chip.is-active i{color:#fff;}
.rc-chip.is-active:hover{background:var(--one-hover);border-color:var(--one-hover);color:#fff;transform:translateY(-2px);}
.rc-chip-premium i{color:var(--one);}

/* ===================== RESPONSIVE ===================== */
@media (max-width:960px){
  .rc-hero-grid{grid-template-columns:1fr;gap:32px;}
  .rc-profile-grid{grid-template-columns:1fr;}
  .rc-profile-aside{position:static;}
}
@media (max-width:760px){
  .rc-burger{display:inline-flex;}
  .rc-header-inner{flex-wrap:wrap;padding-bottom:12px;}
  .rc-search{order:3;flex:1 0 100%;max-width:100%;}
  .rc-nav-list{
    position:absolute;
    top:100%;left:0;right:0;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:var(--rc-surface);
    border-bottom:1px solid var(--rc-line);
    box-shadow:var(--rc-shadow);
    padding:14px 22px 22px;
    display:none;
  }
  .rc-nav-list.is-open{display:flex;}
  .rc-nav-link{padding:.7em .9em;}
  .rc-nav-cta{justify-content:center;}
  .rc-section-head{flex-direction:column;align-items:flex-start;gap:6px;}
  .rc-page-head{flex-direction:column;text-align:center;align-items:center;}
  .rc-profile-id{flex-direction:column;align-items:center;text-align:center;gap:12px;}
  .rc-profile-name{justify-content:center;}
  .rc-profile-id-text{padding-bottom:0;}
}
@media (max-width:420px){
  .rc-hero-counts{grid-template-columns:1fr;}
  .rc-card-actions{flex-direction:column;}
  .rc-card-actions .rc-btn{width:100%;}
}
