
    /* ══════════════════════════════════════════════════════════
       SEARCH RESULTS PAGE — scoped styles only
       (header/footer/base tokens come from styles.css)
       ══════════════════════════════════════════════════════════ */

    /* ── Hero band ─────────────────────────────────────────── */
    .sr-hero {
      background: linear-gradient(135deg, var(--rrc-navy) 0%, var(--rrc-navy-mid) 60%, #2A0A12 100%);
      padding: 3rem 0 2.5rem;
      position: relative;
      overflow: hidden;
    }
    .sr-hero::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 340px; height: 340px;
      background: radial-gradient(circle, rgba(200,16,46,.22) 0%, transparent 70%);
      pointer-events: none;
    }

    .sr-eyebrow {
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255,255,255,.5);
      margin-bottom: .6rem;
    }

    .sr-heading {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(1.6rem, 4vw, 2.2rem);
      font-weight: 700;
      color: #fff;
      margin: 0 0 .3rem;
      line-height: 1.2;
    }
    .sr-heading .sr-query-highlight {
      color: var(--rrc-red-mid);
      font-style: italic;
    }

    .sr-count-badge {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      background: rgba(200,16,46,.18);
      border: 1px solid rgba(200,16,46,.35);
      color: #ffb0bc;
      font-size: .78rem;
      font-weight: 700;
      padding: .28rem .8rem;
      border-radius: 100px;
      margin-top: .65rem;
    }

    /* ── Hero search bar ───────────────────────────────────── */
    .sr-search-bar {
      display: flex;
      align-items: center;
      background: rgba(255,255,255,.07);
      border: 1.5px solid rgba(255,255,255,.18);
      border-radius: 8px;
      overflow: hidden;
      max-width: 540px;
      transition: border-color .2s, box-shadow .2s;
      margin-top: 1.5rem;
    }
    .sr-search-bar:focus-within {
      border-color: var(--rrc-red);
      box-shadow: 0 0 0 3px rgba(200,16,46,.2);
      background: rgba(255,255,255,.1);
    }
    .sr-search-bar input {
      flex: 1;
      border: none;
      background: transparent;
      padding: .8rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: .92rem;
      color: #fff;
      outline: none;
    }
    .sr-search-bar input::placeholder { color: rgba(255,255,255,.4); }
    .sr-search-bar input::-webkit-search-decoration,
    .sr-search-bar input::-webkit-search-cancel-button { display: none; }
    .sr-search-bar button {
      flex-shrink: 0;
      border: none;
      background: var(--rrc-red);
      color: #fff;
      width: 46px;
      height: 46px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .2s;
      padding: 0;
    }
    .sr-search-bar button:hover { background: var(--rrc-red-dark); }
    .sr-search-bar button svg { fill: currentColor; }

    /* ── Breadcrumb ────────────────────────────────────────── */
    .sr-breadcrumb {
      padding: .85rem 0;
      border-bottom: 1px solid var(--rrc-gray-200);
      background: var(--rrc-off-white);
    }
    [data-theme="dark"] .sr-breadcrumb {
      background: #111d2a;
      border-color: #243447;
    }
    .sr-breadcrumb ol {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: .1rem;
      font-size: .8rem;
    }
    .sr-breadcrumb li { display: flex; align-items: center; gap: .1rem; color: var(--rrc-gray-400); }
    .sr-breadcrumb li + li::before { content: '/'; margin: 0 .3rem; color: var(--rrc-gray-400); }
    .sr-breadcrumb a { color: var(--rrc-red); text-decoration: none; font-weight: 600; }
    .sr-breadcrumb a:hover { color: var(--rrc-red-dark); text-decoration: underline; }
    .sr-breadcrumb .active { color: var(--rrc-gray-600); font-weight: 500; }

    /* ── Main layout ───────────────────────────────────────── */
    .sr-main { padding: 2.5rem 0 4rem; }

    /* ── Toolbar (sort / filter row) ───────────────────────── */
    .sr-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .75rem;
      margin-bottom: 1.75rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--rrc-gray-200);
    }
    [data-theme="dark"] .sr-toolbar { border-color: #243447; }
    .sr-toolbar-label {
      font-size: .82rem;
      color: var(--rrc-gray-600);
    }
    .sr-toolbar-label strong { color: var(--rrc-gray-800); }
    [data-theme="dark"] .sr-toolbar-label strong { color: #c8d8e8; }
    .sr-view-toggle { display: flex; gap: .3rem; }
    .sr-view-btn {
      width: 32px; height: 32px;
      border: 1.5px solid var(--rrc-gray-200);
      background: transparent;
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--rrc-gray-400);
      cursor: pointer;
      transition: var(--trans);
      padding: 0;
    }
    .sr-view-btn.active,
    .sr-view-btn:hover { border-color: var(--rrc-red); color: var(--rrc-red); background: var(--rrc-red-light); }
    [data-theme="dark"] .sr-view-btn { border-color: #243447; color: #5d7a96; }
    [data-theme="dark"] .sr-view-btn.active,
    [data-theme="dark"] .sr-view-btn:hover { background: rgba(200,16,46,.15); color: #ff8080; border-color: var(--rrc-red); }

    /* ── Results grid / list ───────────────────────────────── */
    #sr-results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.25rem;
      transition: all .2s;
    }
    #sr-results-grid.list-view {
      grid-template-columns: 1fr;
    }

    /* ── Result card ───────────────────────────────────────── */
    .sr-card {
      background: var(--rrc-white);
      border: 1px solid var(--rrc-gray-200);
      border-radius: var(--card-radius);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
      animation: srCardIn .35s ease both;
    }
    .sr-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
      border-color: rgba(200,16,46,.3);
    }
    [data-theme="dark"] .sr-card {
      background: #162030;
      border-color: #243447;
    }
    [data-theme="dark"] .sr-card:hover { border-color: rgba(200,16,46,.4); }

    @keyframes srCardIn {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    /* Stagger children */
    .sr-card:nth-child(1)  { animation-delay: .04s; }
    .sr-card:nth-child(2)  { animation-delay: .08s; }
    .sr-card:nth-child(3)  { animation-delay: .12s; }
    .sr-card:nth-child(4)  { animation-delay: .16s; }
    .sr-card:nth-child(5)  { animation-delay: .20s; }
    .sr-card:nth-child(6)  { animation-delay: .24s; }

    /* Icon band */
    .sr-card-icon-band {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 90px;
      background: linear-gradient(135deg, var(--rrc-navy) 0%, var(--rrc-navy-mid) 100%);
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
    }
    .sr-card-icon-band::after {
      content: '';
      position: absolute;
      bottom: -20px; right: -20px;
      width: 80px; height: 80px;
      background: radial-gradient(circle, rgba(200,16,46,.25) 0%, transparent 70%);
    }
    .sr-card-icon-band .band-icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      background: rgba(200,16,46,.2);
      border: 1px solid rgba(200,16,46,.35);
      display: flex; align-items: center; justify-content: center;
      color: #ffb0bc;
      font-size: 1.3rem;
      position: relative; z-index: 1;
    }
    .sr-card-icon-band .band-tag {
      position: absolute;
      top: .6rem; right: .6rem;
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      background: rgba(200,16,46,.25);
      border: 1px solid rgba(200,16,46,.4);
      color: #ffb0bc;
      padding: .15rem .5rem;
      border-radius: 100px;
    }

    /* Card body */
    .sr-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }

    .sr-card-category {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rrc-red);
      margin-bottom: .4rem;
    }

    .sr-card-title {
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 1rem;
      color: var(--rrc-navy);
      margin: 0 0 .6rem;
      line-height: 1.3;
    }
    [data-theme="dark"] .sr-card-title { color: #dde8f2; }

    .sr-card-title mark {
      background: rgba(200,16,46,.15);
      color: var(--rrc-red);
      border-radius: 3px;
      padding: 0 2px;
    }

    .sr-card-desc {
      font-size: .87rem;
      color: var(--rrc-gray-600);
      line-height: 1.65;
      margin-bottom: 1.1rem;
      flex: 1;
    }
    [data-theme="dark"] .sr-card-desc { color: #8fa3b8; }

    .sr-card-desc mark {
      background: rgba(200,16,46,.12);
      color: var(--rrc-red);
      border-radius: 2px;
      padding: 0 2px;
    }

    .sr-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: .85rem;
      border-top: 1px solid var(--rrc-gray-100);
      gap: .5rem;
    }
    [data-theme="dark"] .sr-card-footer { border-color: #243447; }

    .sr-card-url {
      font-size: .72rem;
      color: var(--rrc-gray-400);
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 140px;
    }

    .sr-btn-view {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      background: var(--rrc-red);
      color: #fff !important;
      border: none;
      border-radius: var(--btn-radius);
      font-family: 'DM Sans', sans-serif;
      font-size: .8rem;
      font-weight: 700;
      padding: .45rem 1rem;
      text-decoration: none;
      transition: background .2s, transform .15s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .sr-btn-view:hover { background: var(--rrc-red-dark); transform: translateX(2px); color: #fff !important; }
    .sr-btn-view i { font-size: .75rem; }

    /* ── List view overrides ────────────────────────────────── */
    #sr-results-grid.list-view .sr-card {
      flex-direction: row;
    }
    #sr-results-grid.list-view .sr-card-icon-band {
      width: 80px;
      height: auto;
      min-height: 100px;
      flex-shrink: 0;
    }
    #sr-results-grid.list-view .sr-card-body {
      padding: 1rem 1.25rem;
    }
    #sr-results-grid.list-view .sr-card-desc {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: .75rem;
    }
    @media (max-width: 575.98px) {
      #sr-results-grid.list-view .sr-card { flex-direction: column; }
      #sr-results-grid.list-view .sr-card-icon-band { height: 70px; width: 100%; }
    }

    /* ── No results state ──────────────────────────────────── */
    .sr-empty {
      text-align: center;
      padding: 4rem 1rem;
    }
    .sr-empty-icon {
      width: 80px; height: 80px;
      margin: 0 auto 1.5rem;
      border-radius: 50%;
      background: var(--rrc-gray-100);
      display: flex; align-items: center; justify-content: center;
      font-size: 2.2rem;
      color: var(--rrc-gray-400);
    }
    [data-theme="dark"] .sr-empty-icon { background: #162030; color: #3d5570; }
    .sr-empty h2 {
      font-family: 'DM Sans', sans-serif;
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--rrc-gray-800);
      margin-bottom: .5rem;
    }
    [data-theme="dark"] .sr-empty h2 { color: #c8d8e8; }
    .sr-empty p { font-size: .9rem; color: var(--rrc-gray-600); max-width: 38ch; margin: 0 auto 1.5rem; }
    .sr-suggestions { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 1rem; }
    .sr-suggest-chip {
      background: var(--rrc-gray-100);
      border: 1px solid var(--rrc-gray-200);
      border-radius: 100px;
      padding: .3rem .85rem;
      font-size: .8rem;
      font-weight: 600;
      color: var(--rrc-gray-600);
      cursor: pointer;
      transition: var(--trans);
      text-decoration: none;
    }
    .sr-suggest-chip:hover { background: var(--rrc-red-light); border-color: var(--rrc-red); color: var(--rrc-red); }
    [data-theme="dark"] .sr-suggest-chip { background: #162030; border-color: #243447; color: #8fa3b8; }
    [data-theme="dark"] .sr-suggest-chip:hover { background: rgba(200,16,46,.15); border-color: rgba(200,16,46,.4); color: #ff8080; }

    /* ── Skeleton loader ───────────────────────────────────── */
    .sr-skeleton {
      background: linear-gradient(90deg, var(--rrc-gray-100) 25%, var(--rrc-gray-200) 50%, var(--rrc-gray-100) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: 6px;
    }
    @keyframes shimmer { to { background-position: -200% 0; } }
    [data-theme="dark"] .sr-skeleton {
      background: linear-gradient(90deg, #162030 25%, #243447 50%, #162030 75%);
      background-size: 200% 100%;
    }

    .sr-skeleton-card {
      background: var(--rrc-white);
      border: 1px solid var(--rrc-gray-200);
      border-radius: var(--card-radius);
      overflow: hidden;
    }
    [data-theme="dark"] .sr-skeleton-card { background: #162030; border-color: #243447; }
    .sr-skeleton-band { height: 90px; }
    .sr-skeleton-body { padding: 1.25rem; }
    .sr-skeleton-line { height: 12px; margin-bottom: .6rem; }
    .sr-skeleton-line.w-40 { width: 40%; }
    .sr-skeleton-line.w-70 { width: 70%; }
    .sr-skeleton-line.w-90 { width: 90%; }
    .sr-skeleton-line.w-100 { width: 100%; }
    .sr-skeleton-line.h-btn { height: 34px; width: 100px; margin-top: .5rem; border-radius: var(--btn-radius); }

    /* ── Pagination ────────────────────────────────────────── */
    .sr-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: .4rem;
      margin-top: 2.5rem;
      flex-wrap: wrap;
    }
    .sr-page-btn {
      min-width: 38px;
      height: 38px;
      border: 1.5px solid var(--rrc-gray-200);
      background: var(--rrc-white);
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: .85rem;
      font-weight: 600;
      color: var(--rrc-gray-600);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: var(--trans);
      padding: 0 .5rem;
    }
    .sr-page-btn:hover:not(:disabled) { border-color: var(--rrc-red); color: var(--rrc-red); background: var(--rrc-red-light); }
    .sr-page-btn.active { background: var(--rrc-red); border-color: var(--rrc-red); color: #fff; }
    .sr-page-btn:disabled { opacity: .35; cursor: not-allowed; }
    [data-theme="dark"] .sr-page-btn { background: #162030; border-color: #243447; color: #8fa3b8; }
    [data-theme="dark"] .sr-page-btn:hover:not(:disabled) { background: rgba(200,16,46,.15); border-color: var(--rrc-red); color: #ff8080; }
    [data-theme="dark"] .sr-page-btn.active { background: var(--rrc-red); color: #fff; }

    /* ── Sidebar ───────────────────────────────────────────── */
    .sr-sidebar { position: sticky; top: 80px; }
    .sr-sidebar-card {
      background: var(--rrc-white);
      border: 1px solid var(--rrc-gray-200);
      border-radius: var(--card-radius);
      padding: 1.25rem;
      margin-bottom: 1rem;
    }
    [data-theme="dark"] .sr-sidebar-card { background: #162030; border-color: #243447; }
    .sr-sidebar-title {
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rrc-gray-400);
      margin-bottom: .85rem;
      display: flex; align-items: center; gap: .4rem;
    }
    .sr-filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
    .sr-filter-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .45rem .6rem;
      border-radius: 6px;
      cursor: pointer;
      transition: background .15s;
      font-size: .85rem;
      color: var(--rrc-gray-600);
      font-weight: 500;
    }
    .sr-filter-item:hover,
    .sr-filter-item.active { background: var(--rrc-red-light); color: var(--rrc-red); }
    [data-theme="dark"] .sr-filter-item:hover,
    [data-theme="dark"] .sr-filter-item.active { background: rgba(200,16,46,.15); color: #ff8080; }
    .sr-filter-count {
      background: var(--rrc-gray-100);
      border-radius: 100px;
      font-size: .68rem;
      font-weight: 700;
      padding: .1rem .45rem;
      color: var(--rrc-gray-400);
    }
    .sr-filter-item.active .sr-filter-count,
    .sr-filter-item:hover .sr-filter-count {
      background: rgba(200,16,46,.15);
      color: var(--rrc-red);
    }

    /* ── Quick links sidebar ─────────────────────────────── */
    .sr-quick-link {
      display: flex;
      align-items: center;
      gap: .5rem;
      padding: .45rem .1rem;
      text-decoration: none;
      font-size: .85rem;
      font-weight: 600;
      color: var(--rrc-gray-600);
      border-bottom: 1px solid var(--rrc-gray-100);
      transition: color .15s;
    }
    .sr-quick-link:last-child { border-bottom: none; }
    .sr-quick-link:hover { color: var(--rrc-red); }
    .sr-quick-link i { color: var(--rrc-red); font-size: .8rem; }
    [data-theme="dark"] .sr-quick-link { color: #8fa3b8; border-color: #243447; }
    [data-theme="dark"] .sr-quick-link:hover { color: #ff8080; }

    /* ── Responsive ─────────────────────────────────────────── */
    @media (max-width: 767.98px) {
      .sr-hero { padding: 2rem 0 2rem; }
      .sr-main  { padding: 1.5rem 0 3rem; }
      #sr-results-grid { grid-template-columns: 1fr; }
    }
  