:root {
    --rx-primary: #2563eb;
    --rx-primary-dark: #1d4ed8;
    --rx-navy: #0f2a5f;
    --rx-text: #132441;
    --rx-muted: #5d6b84;
    --rx-background: #f7f9fd;
    --rx-surface: #ffffff;
    --rx-border: #dfe7f3;
    --rx-border-strong: #c9d7eb;
    --rx-soft-blue: #eef5ff;
    --rx-success: #16845b;
    --rx-shadow-sm: 0 12px 35px -26px rgba(15, 42, 95, .36);
    --rx-shadow-lg: 0 30px 70px -42px rgba(15, 42, 95, .46);
}

.ri-explore-page {
    min-height: 100vh;
    background: var(--rx-background) !important;
    color: var(--rx-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ri-explore-page,
.ri-explore-page button,
.ri-explore-page input,
.ri-explore-page select {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ri-explore-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ri-explore-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ri-skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--rx-navy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: top .18s ease;
}

.ri-skip-link:focus {
    top: 16px;
}

/* Header */
.ri-explore-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(223, 231, 243, .86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ri-explore-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ri-explore-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ri-explore-brand img {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
}

.ri-explore-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ri-explore-navigation a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    color: #40506d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.ri-explore-navigation a:hover,
.ri-explore-navigation a[aria-current="page"] {
    background: var(--rx-soft-blue);
    color: var(--rx-primary);
}

.ri-explore-navigation .ri-explore-nav-button {
    margin-left: 6px;
    padding-inline: 18px;
    background: var(--rx-primary);
    color: #fff;
    box-shadow: 0 14px 28px -17px rgba(37, 99, 235, .78);
}

.ri-explore-navigation .ri-explore-nav-button:hover {
    background: var(--rx-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.ri-explore-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--rx-border);
    border-radius: 12px;
    background: #fff;
    color: var(--rx-navy);
    cursor: pointer;
}

.ri-explore-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.ri-explore-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.ri-explore-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.ri-explore-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.ri-explore-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 66px;
    background:
        radial-gradient(circle at 10% 6%, rgba(96, 165, 250, .22), transparent 31%),
        radial-gradient(circle at 92% 20%, rgba(37, 99, 235, .11), transparent 27%),
        linear-gradient(180deg, #eff5ff 0%, #f7f9fd 100%);
    border-bottom: 1px solid rgba(223, 231, 243, .8);
}

.ri-explore-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -250px;
    top: -300px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(37, 99, 235, .025), 0 0 0 160px rgba(37, 99, 235, .018);
    pointer-events: none;
}

.ri-explore-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: center;
}

.ri-explore-eyebrow,
.ri-explore-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rx-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ri-explore-eyebrow {
    padding: 8px 12px;
    border: 1px solid #c8dcff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
}

.ri-explore-eyebrow svg {
    width: 17px;
    height: 17px;
}

.ri-explore-hero h1 {
    max-width: 800px;
    margin: 22px 0 18px;
    color: var(--rx-navy);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(42px, 5.5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.048em;
}

.ri-explore-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: var(--rx-muted);
    font-size: 18px;
    line-height: 1.72;
}

.ri-explore-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
}

.ri-explore-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #40506d;
    font-size: 13px;
    font-weight: 650;
}

.ri-explore-trust-list svg {
    width: 18px;
    height: 18px;
    color: var(--rx-primary);
}

.ri-explore-hero-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(201, 215, 235, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--rx-shadow-lg);
    backdrop-filter: blur(14px);
}

.ri-explore-hero-stat {
    padding: 17px;
    border: 1px solid var(--rx-border);
    border-radius: 17px;
    background: #fff;
}

.ri-explore-stat-value {
    display: block;
    color: var(--rx-navy);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
}

.ri-explore-stat-label {
    display: block;
    margin-top: 7px;
    color: var(--rx-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ri-explore-safe-note {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d5e4fb;
    border-radius: 17px;
    background: #f1f6ff;
}

.ri-explore-safe-note > svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: var(--rx-primary);
}

.ri-explore-safe-note strong,
.ri-explore-safe-note span {
    display: block;
}

.ri-explore-safe-note strong {
    color: var(--rx-navy);
    font-size: 13px;
}

.ri-explore-safe-note span {
    margin-top: 4px;
    color: var(--rx-muted);
    font-size: 11px;
    line-height: 1.55;
}

/* Search and filters */
.ri-explore-discovery {
    padding-top: 56px;
}

.ri-explore-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.ri-explore-section-heading h2 {
    margin: 7px 0 0;
    color: var(--rx-navy);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.14;
    letter-spacing: -.035em;
}

.ri-explore-section-heading > p {
    margin: 0 0 5px;
    color: var(--rx-muted);
    font-size: 13px;
}

.ri-explore-search {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 210px 220px auto;
    gap: 13px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--rx-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--rx-shadow-sm);
}

.ri-explore-field {
    min-width: 0;
}

.ri-explore-field label {
    display: block;
    margin-bottom: 8px;
    color: #3f4f6b;
    font-size: 12px;
    font-weight: 750;
}

.ri-explore-field input,
.ri-explore-field select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--rx-border);
    border-radius: 13px;
    background: #fff;
    color: var(--rx-text);
    font-size: 14px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.ri-explore-field input {
    padding: 0 48px 0 43px;
}

.ri-explore-field select {
    padding: 0 38px 0 13px;
    cursor: pointer;
}

.ri-explore-field input:hover,
.ri-explore-field select:hover {
    border-color: var(--rx-border-strong);
}

.ri-explore-field input:focus,
.ri-explore-field select:focus {
    border-color: var(--rx-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.ri-explore-input-wrap {
    position: relative;
}

.ri-explore-input-wrap > svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    color: #8492a8;
    transform: translateY(-50%);
    pointer-events: none;
}

.ri-explore-input-wrap kbd {
    position: absolute;
    right: 12px;
    top: 50%;
    min-width: 25px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid var(--rx-border);
    border-bottom-width: 2px;
    border-radius: 7px;
    background: #f8faff;
    color: #738098;
    font: 600 11px/1 Inter, sans-serif;
    transform: translateY(-50%);
    pointer-events: none;
}

.ri-explore-search-actions {
    display: flex;
    gap: 8px;
}

.ri-explore-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ri-explore-button:hover {
    transform: translateY(-1px);
}

.ri-explore-button:focus-visible,
.ri-explore-navigation a:focus-visible,
.ri-explore-category-row a:focus-visible,
.ri-explore-menu-button:focus-visible,
.ri-explore-card a:focus-visible {
    outline: 4px solid rgba(37, 99, 235, .18);
    outline-offset: 2px;
}

.ri-explore-button svg {
    width: 18px;
    height: 18px;
}

.ri-explore-button-primary {
    background: var(--rx-primary);
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(37, 99, 235, .86);
}

.ri-explore-button-primary:hover {
    background: var(--rx-primary-dark);
    color: #fff;
}

.ri-explore-button-primary:disabled {
    background: #91b0ef;
    box-shadow: none;
    cursor: wait;
    transform: none;
}

.ri-explore-button-secondary {
    border-color: var(--rx-border);
    background: #fff;
    color: var(--rx-navy);
}

.ri-explore-button-secondary:hover {
    border-color: #b9cbea;
    background: #f7faff;
    color: var(--rx-primary);
}

.ri-explore-button-light {
    border-color: rgba(255, 255, 255, .22);
    background: #fff;
    color: var(--rx-primary-dark);
    box-shadow: 0 16px 30px -20px rgba(3, 20, 54, .7);
}

.ri-explore-category-row {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ri-explore-category-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--rx-border);
    border-radius: 999px;
    background: #fff;
    color: #53627c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.ri-explore-category-row a:hover,
.ri-explore-category-row a.is-active {
    border-color: #bed3fa;
    background: var(--rx-soft-blue);
    color: var(--rx-primary);
}

.ri-explore-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--rx-muted);
    font-size: 12px;
}

.ri-explore-active-filters > span:first-child {
    font-weight: 700;
}

.ri-explore-filter-chip {
    padding: 7px 10px;
    border: 1px solid #d2e1f7;
    border-radius: 999px;
    background: #f2f7ff;
    color: #425a80;
    font-weight: 650;
}

/* Results */
.ri-explore-results {
    min-height: 310px;
    padding-top: 34px;
    padding-bottom: 82px;
}

.ri-explore-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
    color: var(--rx-muted);
    font-size: 13px;
}

.ri-explore-results-bar p,
.ri-explore-results-bar span {
    margin: 0;
}

.ri-explore-results-bar strong {
    color: var(--rx-text);
}

.ri-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ri-explore-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rx-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 38px -31px rgba(15, 42, 95, .48);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ri-explore-card:hover {
    transform: translateY(-4px);
    border-color: #c3d6f5;
    box-shadow: var(--rx-shadow-lg);
}

.ri-explore-card-cover {
    position: relative;
    height: 200px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #e3edff, #f7faff 56%, #e7f8ff);
    text-decoration: none;
}

.ri-explore-card-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ri-explore-card:hover .ri-explore-card-cover > img {
    transform: scale(1.025);
}

.ri-explore-cover-pattern {
    position: absolute;
    inset: 0;
    opacity: .62;
    background-image:
        linear-gradient(rgba(37, 99, 235, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, .055) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, #000 20%, transparent 100%);
}

.ri-explore-cover-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--rx-primary), #3b82f6);
    color: #fff;
    box-shadow: 0 22px 35px -22px rgba(37, 99, 235, .92);
}

.ri-explore-cover-icon svg {
    width: 38px;
    height: 38px;
}

.ri-explore-readonly-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #34517d;
    font-size: 11px;
    font-weight: 750;
    box-shadow: 0 8px 20px -16px rgba(15, 42, 95, .7);
    backdrop-filter: blur(10px);
}

.ri-explore-readonly-badge svg {
    width: 14px;
    height: 14px;
}

.ri-explore-card-body {
    padding: 21px;
}

.ri-explore-card-category {
    width: max-content;
    max-width: 100%;
    margin-bottom: 11px;
    padding: 6px 9px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--rx-soft-blue);
    color: var(--rx-primary);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ri-explore-card h3 {
    margin: 0 0 9px;
    color: var(--rx-navy);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: 20px;
    line-height: 1.32;
    letter-spacing: -.02em;
}

.ri-explore-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ri-explore-card h3 a:hover {
    color: var(--rx-primary);
}

.ri-explore-card-body > p {
    min-height: 68px;
    margin: 0 0 18px;
    color: var(--rx-muted);
    font-size: 13.5px;
    line-height: 1.68;
}

.ri-explore-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 15px;
    border-top: 1px solid #edf1f7;
    color: #7b889d;
    font-size: 11.5px;
}

.ri-explore-card-stats,
.ri-explore-card-stats > span {
    display: inline-flex;
    align-items: center;
}

.ri-explore-card-stats {
    gap: 12px;
}

.ri-explore-card-stats > span {
    gap: 5px;
}

.ri-explore-card-stats svg {
    width: 15px;
    height: 15px;
}

/* Empty states */
.ri-explore-empty {
    position: relative;
    overflow: hidden;
    padding: 58px 34px;
    border: 1px solid var(--rx-border);
    border-radius: 26px;
    background: #fff;
    text-align: center;
    box-shadow: var(--rx-shadow-sm);
}

.ri-explore-empty::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    left: 50%;
    top: -260px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .07);
    transform: translateX(-50%);
    pointer-events: none;
}

.ri-explore-empty > * {
    position: relative;
}

.ri-explore-empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: var(--rx-soft-blue);
    color: var(--rx-primary);
}

.ri-explore-empty-icon svg {
    width: 37px;
    height: 37px;
}

.ri-explore-empty-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--rx-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ri-explore-empty h2 {
    margin: 0;
    color: var(--rx-navy);
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.ri-explore-empty > p {
    max-width: 660px;
    margin: 14px auto 0;
    color: var(--rx-muted);
    font-size: 15px;
    line-height: 1.72;
}

.ri-explore-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.ri-explore-empty-visual {
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 30px;
}

.ri-explore-device-node {
    min-width: 104px;
    padding: 15px 12px;
    border: 1px solid #d4e2f7;
    border-radius: 17px;
    background: #f6f9ff;
    color: var(--rx-primary);
}

.ri-explore-device-node.is-cloud {
    background: linear-gradient(145deg, var(--rx-primary), #3b82f6);
    color: #fff;
    box-shadow: 0 18px 30px -20px rgba(37, 99, 235, .85);
}

.ri-explore-device-node svg {
    width: 28px;
    height: 28px;
}

.ri-explore-device-node span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 750;
}

.ri-explore-flow-line {
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, #9ebcf2 50%, transparent 50%);
    background-size: 9px 2px;
}

.ri-explore-empty-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin-top: 28px;
    color: #56647c;
    font-size: 12px;
    font-weight: 650;
}

.ri-explore-empty-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ri-explore-empty-features svg {
    width: 16px;
    height: 16px;
    color: var(--rx-success);
}

/* Pagination */
.ri-explore-pagination {
    display: flex;
    justify-content: center;
    padding-bottom: 78px;
}

.ri-explore-pagination nav > div:first-child {
    display: none;
}

.ri-explore-pagination nav > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ri-explore-pagination nav > div:last-child > div:first-child p {
    margin: 0;
    color: var(--rx-muted);
    font-size: 12px;
}

.ri-explore-pagination span[aria-current="page"] > span,
.ri-explore-pagination a,
.ri-explore-pagination span[aria-disabled="true"] > span {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px !important;
    border: 1px solid var(--rx-border) !important;
    background: #fff !important;
    color: var(--rx-text) !important;
    font-size: 13px;
    text-decoration: none;
    box-shadow: none !important;
}

.ri-explore-pagination span[aria-current="page"] > span {
    border-color: var(--rx-primary) !important;
    background: var(--rx-primary) !important;
    color: #fff !important;
}

.ri-explore-pagination svg {
    width: 17px;
    height: 17px;
}

/* Community CTA */
.ri-explore-community-cta {
    padding: 0 0 72px;
}

.ri-explore-community-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 0, rgba(96, 165, 250, .35), transparent 32%),
        linear-gradient(145deg, #0f2a5f, #17458d 58%, #2563eb);
    color: #fff;
    box-shadow: 0 34px 70px -42px rgba(15, 42, 95, .72);
}

.ri-explore-community-inner::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -150px;
    bottom: -190px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .035);
}

.ri-explore-community-inner > * {
    position: relative;
    z-index: 1;
}

.ri-explore-community-inner .ri-explore-section-kicker {
    color: #a9c7ff;
}

.ri-explore-community-inner h2 {
    margin: 7px 0 8px;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -.035em;
}

.ri-explore-community-inner p {
    max-width: 670px;
    margin: 0;
    color: #d5e1fa;
    font-size: 14px;
    line-height: 1.7;
}

/* Footer */
.ri-explore-footer {
    border-top: 1px solid var(--rx-border);
    background: #fff;
}

.ri-explore-footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    padding-top: 42px;
    padding-bottom: 34px;
}

.ri-explore-footer-brand img {
    width: auto;
    height: 35px;
}

.ri-explore-footer-brand p {
    max-width: 470px;
    margin: 14px 0 0;
    color: var(--rx-muted);
    font-size: 13px;
    line-height: 1.65;
}

.ri-explore-footer-main nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 20px;
}

.ri-explore-footer-main nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: #465571;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.ri-explore-footer-main nav a:hover {
    color: var(--rx-primary);
}

.ri-explore-footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #edf1f7;
    color: #7a879c;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1040px) {
    .ri-explore-hero-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 38px;
    }

    .ri-explore-search {
        grid-template-columns: minmax(260px, 1fr) 190px 200px;
    }

    .ri-explore-search-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 900px) {
    .ri-explore-hero {
        padding-top: 58px;
    }

    .ri-explore-hero-grid {
        grid-template-columns: 1fr;
    }

    .ri-explore-hero-panel {
        max-width: 620px;
    }

    .ri-explore-search {
        grid-template-columns: 1fr 1fr;
    }

    .ri-explore-search-field {
        grid-column: 1 / -1;
    }

    .ri-explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ri-explore-community-inner {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .ri-explore-header-inner {
        min-height: 68px;
    }

    .ri-explore-brand img {
        height: 34px;
    }

    .ri-explore-menu-button {
        display: block;
    }

    .ri-explore-navigation {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 8px);
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
        padding: 12px;
        border: 1px solid var(--rx-border);
        border-radius: 17px;
        background: #fff;
        box-shadow: var(--rx-shadow-lg);
    }

    .ri-explore-navigation.is-open {
        display: flex;
    }

    .ri-explore-navigation a {
        justify-content: flex-start;
        padding-inline: 14px;
    }

    .ri-explore-navigation .ri-explore-nav-button {
        justify-content: center;
        margin: 4px 0 0;
    }

    .ri-explore-hero h1 {
        font-size: clamp(38px, 11vw, 54px);
    }

    .ri-explore-hero-copy > p {
        font-size: 16px;
    }

    .ri-explore-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .ri-explore-community-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 28px;
    }

    .ri-explore-footer-main,
    .ri-explore-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ri-explore-footer-main nav {
        justify-content: flex-start;
    }

    .ri-explore-footer-bottom {
        justify-content: center;
        padding: 18px 0;
    }
}

@media (max-width: 620px) {
    .ri-explore-shell {
        width: min(100% - 24px, 1180px);
    }

    .ri-explore-hero {
        padding: 46px 0 48px;
    }

    .ri-explore-hero h1 {
        margin-top: 18px;
    }

    .ri-explore-trust-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .ri-explore-hero-panel {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
        border-radius: 20px;
    }

    .ri-explore-search {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 18px;
    }

    .ri-explore-search-field,
    .ri-explore-search-actions {
        grid-column: auto;
    }

    .ri-explore-search-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ri-explore-search-actions .ri-explore-button {
        width: 100%;
    }

    .ri-explore-input-wrap kbd {
        display: none;
    }

    .ri-explore-field input {
        padding-right: 13px;
    }

    .ri-explore-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .ri-explore-grid {
        grid-template-columns: 1fr;
    }

    .ri-explore-card-cover {
        height: 185px;
    }

    .ri-explore-empty {
        padding: 44px 18px;
        border-radius: 21px;
    }

    .ri-explore-empty-visual {
        gap: 7px;
    }

    .ri-explore-device-node {
        min-width: 82px;
        padding: 12px 8px;
    }

    .ri-explore-flow-line {
        width: 25px;
    }

    .ri-explore-empty-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ri-explore-empty-actions .ri-explore-button {
        width: 100%;
    }

    .ri-explore-community-cta {
        padding-bottom: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .ri-explore-header,
    .ri-explore-search,
    .ri-explore-category-row,
    .ri-explore-active-filters,
    .ri-explore-community-cta,
    .ri-explore-footer,
    .ri-explore-pagination {
        display: none !important;
    }

    .ri-explore-hero {
        padding: 30px 0;
        background: #fff;
        border-bottom: 1px solid #ddd;
    }

    .ri-explore-hero-panel {
        box-shadow: none;
    }

    .ri-explore-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
