/* ============================================================
   OAS HUB — Resources UI (resource hub redesign)
   Scoped to body.rh-page
   ============================================================ */

body.rh-page {
    background: #fff;
    color: var(--gray-700, #334155);
}

body.rh-page .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

body.rh-page [hidden] { display: none !important; }

body.rh-page .rh-visit-item a { color: inherit; transition: color .18s; }
body.rh-page .rh-visit-item a:hover { color: var(--blue, #1a56db); }

/* ---------- HERO ---------- */
.rh-hero {
    background: linear-gradient(135deg, var(--navy, #0b1e3d) 0%, #0f2b4f 100%);
    padding: 56px 0 52px;
    text-align: center;
    color: #fff;
}
.rh-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}
.rh-hero-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold, #f5a623);
    margin-bottom: 12px;
}
.rh-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    line-height: 1.18;
    letter-spacing: -.02em;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.rh-hero p {
    color: rgba(255, 255, 255, .72);
    font-size: .98rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 12px auto 0;
}
.rh-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 22px;
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .62);
}
.rh-hero-meta strong { color: #fff; font-weight: 700; }
.rh-hero-meta .rh-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    display: inline-block;
}

/* Small label (also used in visit section) */
.rh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    color: var(--blue, #1a56db);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 20px -16px rgba(11, 30, 61, .45);
}
.rh-eyebrow i { color: var(--gold, #f5a623); }

/* Search */
.rh-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--gray-100, #e2e8f0);
    border-radius: 999px;
    padding: 6px 8px 6px 18px;
    max-width: 460px;
    margin-top: 26px;
    box-shadow: 0 18px 40px -30px rgba(11, 30, 61, .45);
    transition: border-color .2s, box-shadow .2s;
}
.rh-hero .rh-search {
    max-width: 520px;
    margin: 24px auto 0;
    text-align: left;
    border-color: transparent;
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .55);
}
.rh-search:focus-within {
    border-color: #b9cdf5;
    box-shadow: 0 18px 40px -26px rgba(26, 86, 219, .4);
}
.rh-search > i { color: var(--gray-300, #94a3b8); font-size: .9rem; }
.rh-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: .92rem;
    color: var(--navy, #0b1e3d);
    padding: 10px 0;
}
.rh-search input::placeholder { color: var(--gray-300, #94a3b8); }
.rh-search kbd {
    font-family: inherit;
    font-size: .68rem;
    font-weight: 700;
    color: var(--gray-500, #64748b);
    background: var(--gray-50, #f1f5f9);
    border: 1px solid var(--gray-100, #e2e8f0);
    border-radius: 6px;
    padding: 5px 8px;
    white-space: nowrap;
}

/* ---------- CATEGORY PILL BAR ---------- */
.rh-catbar {
    position: sticky;
    top: 68px;
    z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-50, #f1f5f9);
}
.rh-catbar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}
.rh-catbar-inner::-webkit-scrollbar { display: none; }
.rh-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--gray-100, #e2e8f0);
    background: #fff;
    color: var(--gray-700, #334155);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all .18s;
}
.rh-pill > i { color: var(--blue, #1a56db); font-size: .82rem; }
.rh-pill:hover {
    border-color: #b9cdf5;
    background: var(--blue-pale, #eff6ff);
    color: var(--blue, #1a56db);
    transform: translateY(-1px);
}
.rh-pill-count {
    background: var(--gray-50, #f1f5f9);
    color: var(--gray-500, #64748b);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: .7rem;
    font-weight: 800;
}
.rh-pill:hover .rh-pill-count {
    background: #fff;
    color: var(--blue, #1a56db);
}

/* ---------- LIBRARY / CATEGORY SECTIONS ---------- */
.rh-library { padding: 44px 0 12px; }

.rh-section {
    padding: 14px 0 34px;
    scroll-margin-top: 150px;
}
.rh-section + .rh-section { border-top: 1px solid var(--gray-50, #f1f5f9); padding-top: 40px; }

.rh-cat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.rh-cat-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}
.rh-cat-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(145deg, #eef4ff, #dbe8ff);
    color: var(--blue, #1a56db);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(26, 86, 219, .08);
}
.rh-cat-heading h2 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--navy, #0b1e3d);
    line-height: 1.25;
}
.rh-cat-heading p {
    color: var(--gray-500, #64748b);
    font-size: .9rem;
    line-height: 1.6;
    margin-top: 5px;
    max-width: 640px;
}
.rh-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--gray-100, #e2e8f0);
    background: #fff;
    color: var(--gray-500, #64748b);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .18s;
}
.rh-viewall small { color: var(--gray-300, #94a3b8); font-weight: 700; }
.rh-viewall i { transition: transform .2s; }
.rh-viewall:hover {
    border-color: #b9cdf5;
    background: var(--blue-pale, #eff6ff);
    color: var(--blue, #1a56db);
}
.rh-viewall:hover i { transform: translateX(3px); }

/* ---------- RESOURCE CARDS (mobile-first) ---------- */
.rh-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}
.rh-grid > .rh-empty { grid-column: 1 / -1; }
@media (min-width: 640px) {
    .rh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

.rh-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 26px -24px rgba(11, 30, 61, .45);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    min-width: 0;
}
.rh-card:hover {
    transform: translateY(-3px);
    border-color: #c7d7f5;
    box-shadow: 0 24px 46px -32px rgba(11, 30, 61, .45);
}

.rh-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.rh-file {
    width: 48px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(160deg, #eef4ff, #dbe8ff);
    color: var(--blue, #1a56db);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
}
.rh-file i { font-size: 1.15rem; }
.rh-file span { font-size: 9px; font-weight: 800; letter-spacing: .08em; }

.rh-downloads-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--gray-50, #f1f5f9);
    border: 1px solid var(--gray-100, #e2e8f0);
    color: var(--gray-500, #64748b);
    font-size: .68rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 10px;
    white-space: nowrap;
}
.rh-downloads-chip i { font-size: .62rem; color: var(--blue, #1a56db); }

.rh-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy, #0b1e3d);
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rh-card-desc {
    font-size: .82rem;
    line-height: 1.55;
    color: var(--gray-500, #64748b);
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rh-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--gray-500, #64748b);
}
.rh-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--off-white, #f8fafc);
    border: 1px solid var(--gray-50, #f1f5f9);
    border-radius: 999px;
    padding: 4px 9px;
}
.rh-card-meta i { color: var(--gray-300, #94a3b8); }
.rh-card-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}
.rh-card-foot .rh-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    font-size: .84rem;
}

/* ---------- BUTTONS ---------- */
.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
}
.rh-btn-preview {
    background: var(--off-white, #f8fafc);
    border-color: var(--gray-100, #e2e8f0);
    color: var(--navy, #0b1e3d);
}
.rh-btn-preview:hover {
    background: var(--blue-pale, #eff6ff);
    border-color: #c7d7f5;
    color: var(--blue, #1a56db);
}
.rh-btn-download {
    background: var(--blue, #1a56db);
    border-color: var(--blue, #1a56db);
    color: #fff;
    box-shadow: 0 10px 20px -12px rgba(26, 86, 219, .75);
}
.rh-btn-download:hover {
    background: var(--navy, #0b1e3d);
    border-color: var(--navy, #0b1e3d);
    color: #fff;
}
.rh-btn-dark {
    background: var(--navy, #0b1e3d);
    border-color: var(--navy, #0b1e3d);
    color: #fff;
}
.rh-btn-dark:hover { background: var(--blue, #1a56db); border-color: var(--blue, #1a56db); }
.rh-btn-lg {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: .92rem;
}

/* ---------- EMPTY / NO RESULTS ---------- */
.rh-empty {
    text-align: center;
    padding: 54px 24px;
    background: #fff;
    border: 1px dashed var(--gray-100, #e2e8f0);
    border-radius: 20px;
    color: var(--gray-500, #64748b);
    margin-bottom: 28px;
}
.rh-empty > i {
    display: block;
    font-size: 2.4rem;
    color: #c7d3e8;
    margin-bottom: 12px;
}
.rh-empty h3 {
    color: var(--navy, #0b1e3d);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.rh-empty p { font-size: .88rem; margin: 0; }

/* ---------- PAGE HEAD (category / detail) ---------- */
.rh-pagehead {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 320px at 88% -20%, #fff3dc 0, transparent 62%),
        radial-gradient(900px 420px at 4% -30%, #e8f0ff 0, transparent 60%),
        linear-gradient(180deg, #f8fafc, #fff);
    padding: 26px 0 46px;
    border-bottom: 1px solid var(--gray-50, #f1f5f9);
}
.rh-crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--gray-300, #94a3b8);
    margin-bottom: 28px;
    min-width: 0;
}
.rh-crumbs a {
    color: var(--gray-500, #64748b);
    font-weight: 600;
    transition: color .18s;
}
.rh-crumbs a:hover { color: var(--blue, #1a56db); }
.rh-crumbs i { font-size: .5rem; color: var(--gray-300, #94a3b8); }
.rh-crumbs > span {
    color: var(--navy, #0b1e3d);
    font-weight: 600;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rh-pagehead-main {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}
.rh-pagehead-file {
    width: 76px;
    height: 94px;
    border-radius: 18px;
    background: linear-gradient(160deg, #eef4ff, #dbe8ff);
    color: var(--blue, #1a56db);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 18px 34px -26px rgba(26, 86, 219, .65);
}
.rh-pagehead-file i { font-size: 1.7rem; }
.rh-pagehead-file span { font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.rh-pagehead-copy { min-width: 0; }
.rh-pagehead-copy h1 {
    font-size: clamp(1.65rem, 3.4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--navy, #0b1e3d);
}
.rh-pagehead-copy > p {
    color: var(--gray-500, #64748b);
    font-size: .98rem;
    line-height: 1.7;
    max-width: 700px;
    margin-top: 10px;
}
.rh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.rh-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    border-radius: 999px;
    padding: 7px 13px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-500, #64748b);
    box-shadow: 0 8px 18px -16px rgba(11, 30, 61, .4);
}
.rh-chip i { color: var(--blue, #1a56db); }
.rh-chip a { color: var(--blue, #1a56db); }

/* ---------- CATEGORY PAGE TOOLBAR / PAGINATION ---------- */
.rh-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.rh-search-sm {
    margin-top: 0;
    max-width: 340px;
    box-shadow: none;
    border-color: var(--gray-100, #e2e8f0);
}
.rh-result-note {
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-300, #94a3b8);
}
.rh-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 38px;
}
.rh-pagination a,
.rh-pagination > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1.5px solid var(--gray-100, #e2e8f0);
    background: #fff;
    color: var(--navy, #0b1e3d);
    font-size: .82rem;
    font-weight: 700;
    transition: all .18s;
}
.rh-pagination a:hover {
    background: var(--blue-pale, #eff6ff);
    border-color: #b9cdf5;
    color: var(--blue, #1a56db);
}
.rh-pagination .is-active {
    background: var(--blue, #1a56db);
    border-color: var(--blue, #1a56db);
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(26, 86, 219, .8);
}
.rh-pagination .is-disabled { opacity: .45; }

/* ---------- DETAIL PAGE ---------- */
.rh-detail { padding: 44px 0 24px; }
.rh-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.rh-prose {
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    border-radius: 20px;
    padding: 36px;
    line-height: 1.85;
    color: var(--gray-700, #334155);
    min-width: 0;
}
.rh-prose h2 {
    font-size: 1.5rem;
    color: var(--navy, #0b1e3d);
    letter-spacing: -.01em;
    margin: 32px 0 14px;
}
.rh-prose h2:first-child { margin-top: 0; }
.rh-prose h3 {
    font-size: 1.15rem;
    color: var(--navy, #0b1e3d);
    margin: 26px 0 10px;
}
.rh-prose p { margin-bottom: 16px; }
.rh-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.rh-prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 16px; }
.rh-prose li { margin-bottom: 8px; }
.rh-prose img { max-width: 100%; border-radius: 12px; margin: 18px 0; }
.rh-prose a { color: var(--blue, #1a56db); font-weight: 600; }
.rh-prose blockquote {
    border-left: 4px solid var(--blue, #1a56db);
    background: var(--blue-pale, #eff6ff);
    padding: 14px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}
.rh-prose table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.rh-prose th, .rh-prose td { border: 1px solid var(--gray-100, #e2e8f0); padding: 10px 12px; text-align: left; }

.rh-detail-aside { position: sticky; top: 96px; display: grid; gap: 18px; }

.rh-download-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #10264f 0%, #0b1e3d 60%, #071529 100%);
    color: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 30px 60px -34px rgba(11, 30, 61, .8);
}
.rh-download-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(245, 166, 35, .18);
    filter: blur(40px);
    top: -70px;
    right: -70px;
    pointer-events: none;
}
.rh-download-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold, #f5a623);
}
.rh-download-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 10px 0 6px;
    color: #fff;
}
.rh-download-card > p {
    font-size: .84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 18px;
}
.rh-download-card .rh-btn { margin-top: 8px; }
.rh-download-card .rh-btn-download {
    background: #fff;
    border-color: #fff;
    color: var(--navy, #0b1e3d);
    box-shadow: none;
}
.rh-download-card .rh-btn-download:hover {
    background: var(--gold, #f5a623);
    border-color: var(--gold, #f5a623);
    color: var(--navy, #0b1e3d);
}
.rh-download-card .rh-btn-preview {
    background: transparent;
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}
.rh-download-card .rh-btn-preview:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
}
.rh-download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    font-size: .74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .62);
}
.rh-download-note i { color: #4ade80; }

.rh-help-card {
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    border-radius: 20px;
    padding: 24px;
}
.rh-help-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy, #0b1e3d);
    margin-bottom: 8px;
}
.rh-help-card h3 i { color: var(--blue, #1a56db); }
.rh-help-card p {
    font-size: .82rem;
    line-height: 1.6;
    color: var(--gray-500, #64748b);
    margin-bottom: 16px;
}

/* ---------- VISIT / MAP ---------- */
.rh-visit {
    background: var(--off-white, #f8fafc);
    border-top: 1px solid var(--gray-50, #f1f5f9);
    padding: 64px 0;
    margin-top: 44px;
}
.rh-visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
}
.rh-visit-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--navy, #0b1e3d);
    margin: 12px 0 10px;
}
.rh-visit-copy > p {
    color: var(--gray-500, #64748b);
    font-size: .94rem;
    line-height: 1.7;
    max-width: 480px;
}
.rh-visit-list {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}
.rh-visit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.rh-visit-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--gray-100, #e2e8f0);
    color: var(--blue, #1a56db);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -14px rgba(11, 30, 61, .4);
}
.rh-visit-item strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy, #0b1e3d);
    margin-bottom: 2px;
}
.rh-visit-item p {
    font-size: .84rem;
    line-height: 1.55;
    color: var(--gray-500, #64748b);
    margin: 0;
}
.rh-map-card {
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 30px 60px -40px rgba(11, 30, 61, .55);
    line-height: 0;
}
.rh-map-card iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .rh-detail-grid { grid-template-columns: 1fr; }
    .rh-detail-aside { position: static; }
    .rh-visit-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .rh-hero { padding: 42px 0 38px; }
    .rh-hero-meta { margin-top: 18px; }
    .rh-catbar { position: static; }
    .rh-library { padding-top: 32px; }
    .rh-cat-head { flex-direction: column; gap: 12px; }
    .rh-viewall { align-self: flex-start; }
    .rh-pagehead { padding: 20px 0 34px; }
    .rh-pagehead-main { flex-direction: column; gap: 16px; }
    .rh-pagehead-file { width: 60px; height: 74px; border-radius: 14px; }
    .rh-pagehead-file i { font-size: 1.35rem; }
    .rh-crumbs { margin-bottom: 20px; }
    .rh-crumbs > span { max-width: 100%; }
    .rh-prose { padding: 24px; }
    .rh-visit { padding: 44px 0; }
    .rh-map-card iframe { height: 300px; }
    .rh-toolbar { flex-direction: column; align-items: stretch; }
    .rh-search-sm { max-width: none; }
}

@media (max-width: 460px) {
    .rh-search kbd { display: none; }
    .rh-card { padding: 15px; }
}
