/* Community information pages: Team and Terms & Conditions. */
.rv-community-page {
    --rv-community-red: #ce2842;
    --rv-community-deep-red: #931226;
    --rv-community-ink: #23212a;
    --rv-community-secondary: #52505a;
    --rv-community-line: #e9dce0;
    padding-top: 100px;
    padding-bottom: 64px;
    color: var(--rv-community-ink);
}
.rv-community-page, .rv-community-page * { box-sizing: border-box; }
.rv-community-breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
    margin-bottom: 18px; font-size: .9rem; font-weight: 500;
    color: var(--rv-community-secondary);
}
.rv-community-breadcrumb a { color: #7c1527; }
.rv-community-breadcrumb a:hover, .rv-community-breadcrumb a:focus { color: var(--rv-community-red); }
.rv-community-breadcrumb [aria-current="page"] { color: var(--rv-community-ink); font-weight: 600; }
.rv-community-hero {
    padding: clamp(26px, 4vw, 50px);
    border: 1px solid #aa1c34;
    border-radius: 16px;
    background: linear-gradient(122deg, #ce2842 0%, #ae1932 63%, #8f1023 100%);
    color: #fff;
    margin-bottom: 30px;
}
.rv-community-overline { display: block; color: #ffe0e6; font-weight: 700; letter-spacing: .13em; font-size: .72rem; margin-bottom: 10px; }
.rv-community-hero h1 { color: #fff; font-size: clamp(1.95rem, 4vw, 2.75rem); line-height: 1.16; margin: 0 0 10px; }
.rv-community-hero p { color: #fff; font-size: 1rem; max-width: 640px; line-height: 1.7; margin: 0; }
.rv-community-meta { margin-top: 16px; font-size: .86rem; font-weight: 500; color: #ffe3e8; }
.rv-community-section { margin-bottom: 32px; }
.rv-community-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.rv-community-eyebrow { color: #a61a31; display: block; font-size: .71rem; font-weight: 750; letter-spacing: .1em; margin-bottom: 6px; }
.rv-community-section-head h2 { color: var(--rv-community-ink); font-size: clamp(1.27rem, 2.5vw, 1.6rem); line-height: 1.3; margin: 0 0 5px; }
.rv-community-section-head p { color: var(--rv-community-secondary); font-size: .91rem; margin: 0; line-height: 1.6; }
.rv-community-count { border: 1px solid #eacbd2; background: #fff7f8; color: #902039; padding: 7px 12px; border-radius: 7px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.rv-team-staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rv-team-staff-card {
    display: flex; align-items: center; gap: 16px; min-width: 0;
    padding: 17px; border: 1px solid var(--rv-community-line);
    border-radius: 12px; background: #fff; color: var(--rv-community-ink);
    transition: border-color .18s ease, background .18s ease;
}
.rv-team-staff-card:hover, .rv-team-staff-card:focus-visible { border-color: #ce2842; background: #fffafb; color: var(--rv-community-ink); }
.rv-team-staff-card img, .rv-team-member-card img {
    object-fit: cover; object-position: center; border-radius: 50%; flex: none; background: #f2edef;
}
.rv-team-staff-card img { width: 74px; height: 74px; }
.rv-team-staff-content { min-width: 0; flex: 1; }
.rv-team-staff-content strong { color: var(--rv-community-ink); display: block; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.rv-team-staff-content span { color: #9d2138; display: block; font-size: .84rem; margin-top: 5px; line-height: 1.45; }
.rv-team-staff-card > i { color: #9d2138; font-size: 1.4rem; }
.rv-team-member-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rv-team-member-card { display: flex; align-items: center; flex-direction: column; text-align: center; gap: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--rv-community-line); padding: 17px 8px; color: var(--rv-community-ink); transition: border-color .18s ease, background .18s ease; min-width: 0; }
.rv-team-member-card:hover, .rv-team-member-card:focus-visible { border-color: var(--rv-community-red); background: #fffafb; color: var(--rv-community-ink); }
.rv-team-member-card img { width: 64px; height: 64px; }
.rv-team-member-card span { color: var(--rv-community-ink); font-size: .84rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.rv-community-empty { border: 1px dashed #d9bcc4; color: var(--rv-community-secondary); border-radius: 10px; padding: 24px; background: #fff; margin: 0; }
.rv-community-pagination { padding-top: 20px; }
.rv-community-pagination nav > div { gap: 10px; }
.rv-community-pagination .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.rv-community-pagination .page-item:not(:first-child) .page-link { margin-left: 0; }
.rv-community-pagination .page-link { border-radius: 8px; }
.rv-community-contact { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid #e8c7cf; border-radius: 12px; background: #fff9fa; }
.rv-community-contact strong { color: #682032; font-size: 1.01rem; }
.rv-community-contact p { margin: 5px 0 0; color: var(--rv-community-secondary); max-width: 650px; font-size: .91rem; line-height: 1.65; }
.rv-community-outline-button, .rv-community-primary-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 15px; border-radius: 8px; white-space: nowrap;
    font-size: .86rem; font-weight: 700; text-align: center;
    transition: background-color .18s ease, border-color .18s ease;
}
.rv-community-outline-button { border: 1px solid #bb2841; color: #a91e35; background: #fff; }
.rv-community-outline-button:hover, .rv-community-outline-button:focus-visible { border-color: #a91e35; background: #fff0f3; color: #831529; }
.rv-community-primary-button { border: 1px solid #b11931; background: #ce2842; color: #fff; }
.rv-community-primary-button:hover, .rv-community-primary-button:focus-visible { background: #a7162c; color: #fff; }
.rv-terms-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 22px; align-items: start; }
.rv-terms-nav { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--rv-community-line); background: #fff; border-radius: 12px; padding: 18px; }
.rv-terms-nav strong { color: var(--rv-community-ink); font-size: .92rem; margin-bottom: 9px; }
.rv-terms-nav a { display: block; padding: 10px 9px; border-radius: 7px; color: var(--rv-community-secondary); font-size: .85rem; font-weight: 550; line-height: 1.35; }
.rv-terms-nav a:hover, .rv-terms-nav a:focus-visible { color: #a91932; background: #fff2f5; }
.rv-terms-article { min-width: 0; border: 1px solid var(--rv-community-line); border-radius: 12px; padding: clamp(20px, 3.5vw, 37px); background: #fff; color: var(--rv-community-ink); }
.rv-terms-article .rv-terms-intro { font-size: 1.01rem; font-weight: 500; color: #38323c; border-bottom: 1px solid var(--rv-community-line); padding-bottom: 20px; margin: 0 0 3px; }
.rv-terms-article section { padding: 22px 0; border-bottom: 1px solid #efe4e7; scroll-margin-top: 110px; }
.rv-terms-article section:last-child { padding-bottom: 0; border-bottom: none; }
.rv-terms-number { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: #aa1c34; margin-bottom: 6px; }
.rv-terms-article h2 { color: #211d25; font-size: clamp(1.16rem, 2vw, 1.38rem); line-height: 1.38; margin: 0 0 12px; }
.rv-terms-article p { color: #48434c; font-size: .96rem; line-height: 1.85; margin: 0 0 12px; }
.rv-terms-article section p:last-of-type { margin-bottom: 0; }
.rv-terms-article strong { color: #232028; }
.rv-terms-article section .rv-community-primary-button { margin-top: 17px; }
@media (max-width: 991.98px) {
    .rv-team-member-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rv-terms-layout { grid-template-columns: minmax(0, 215px) minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 767.98px) {
    .rv-community-page { padding-top: 106px; padding-bottom: 44px; }
    .rv-team-staff-grid { grid-template-columns: 1fr; }
    .rv-community-section-head { align-items: flex-start; }
    .rv-team-member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rv-terms-layout { display: flex; flex-direction: column; }
    .rv-terms-nav { position: static; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
    .rv-terms-nav strong { grid-column: 1 / -1; }
    .rv-terms-article { width: 100%; }
    .rv-community-contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
    .rv-community-section-head { flex-wrap: wrap; }
    .rv-team-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-terms-nav { display: flex; }
    .rv-community-outline-button, .rv-community-primary-button { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
    .rv-community-page a { transition: none; }
}
