/* RetireNet public site, 2026 redesign (Bootstrap 5.3 underneath).
   Every rule is scoped to .rn (the <body> of new pages, or a preview box in Super Admin), so old pages are untouched.
   Desktop pages: body.rn.rn-d. The mobile site (/m/, views/m/) loads this file and then web/c/rn_m.css (body.rn.rn-m).
   Sizes are set explicitly (heights, paddings, gaps) so the layout doesn't depend on browser defaults. */

.rn {
    --rn-ink: #1d2b38;
    --rn-text: #33475b;
    --rn-muted: #5f7488;
    --rn-faint: #8fa1b1;
    --rn-line: #e3e9ef;
    --rn-soft: #f4f7fa;
    --rn-blue: #2f5d83;
    --rn-blue-2: #3b729f;
    --rn-blue-3: #75a6e1;
    --rn-tint: #eaf1f9;
    --rn-accent: #e8792b;
    --rn-accent-2: #d1661b;
    --rn-green: #1e7a4f;
    --rn-radius: 12px;
    --rn-shadow: 0 1px 2px rgba(16, 38, 58, .06), 0 4px 14px rgba(16, 38, 58, .06);
    --rn-shadow-hi: 0 2px 4px rgba(16, 38, 58, .08), 0 12px 28px rgba(16, 38, 58, .12);
    --rn-max: 1240px;
    color: var(--rn-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.rn { margin: 0; background: #fff; }
.rn a { color: var(--rn-blue); text-decoration: none; }
.rn a:hover { color: var(--rn-blue-2); text-decoration: underline; }
.rn h1, .rn h2, .rn h3, .rn h4 { color: var(--rn-ink); font-weight: 700; letter-spacing: -.01em; }
.rn img { max-width: 100%; }
.rn :focus-visible { outline: 3px solid rgba(117, 166, 225, .55); outline-offset: 2px; }
.rn .rn-wrap { width: 100%; max-width: var(--rn-max); margin: 0 auto; padding: 0 24px; }
.rn .rn-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rn .rn-ico { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rn .rn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none !important; }
.rn .rn-btn-main { background: var(--rn-accent); border-color: var(--rn-accent); color: #fff !important; }
.rn .rn-btn-main:hover { background: var(--rn-accent-2); border-color: var(--rn-accent-2); }
.rn .rn-btn-line { background: #fff; border-color: var(--rn-line); color: var(--rn-ink) !important; }
.rn .rn-btn-line:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-btn-ghost { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.rn .rn-btn-ghost:hover { background: rgba(255, 255, 255, .24); }

/* ---------- header (desktop) ---------- */
.rn .rn-head { position: sticky; top: 0; z-index: 1030; height: 72px; background: #fff; border-bottom: 1px solid var(--rn-line); }
.rn .rn-head .rn-wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.rn .rn-logo { display: inline-flex; align-items: center; flex: 0 0 auto; height: 72px; }
.rn .rn-logo img { display: block; width: 120px; height: 48px; }
.rn .rn-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rn .rn-nav > li { position: relative; }
.rn .rn-nav-a { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--rn-ink) !important; font-size: 15px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.rn .rn-nav-a:hover, .rn .rn-nav-a[aria-expanded="true"] { background: var(--rn-soft); }
.rn .rn-nav-a .rn-ico { width: 16px; height: 16px; }
.rn .rn-mega { width: 640px; padding: 20px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); box-shadow: var(--rn-shadow-hi); }
.rn .rn-mega.narrow { width: 420px; }
.rn .rn-mega h3 { margin: 0 0 10px; color: var(--rn-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rn .rn-mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.rn .rn-mega ul { margin: 0; padding: 0; list-style: none; }
.rn .rn-mega li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 34px; padding: 0 8px; margin: 0 -8px; border-radius: 6px; color: var(--rn-ink); font-size: 14.5px; }
.rn .rn-mega li a:hover { background: var(--rn-soft); text-decoration: none; }
.rn .rn-mega li a span { color: var(--rn-faint); font-size: 13px; }
.rn .rn-mega-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rn-line); font-size: 14px; font-weight: 600; }
.rn .rn-head-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.rn .rn-head-search { width: 300px; transition: none; }
.rn.rn-home .rn-head-search { visibility: hidden; }
.rn.rn-home.rn-scrolled .rn-head-search { visibility: visible; }
.rn .rn-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--rn-ink) !important; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.rn .rn-staff { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--rn-line); border-radius: 8px; color: var(--rn-muted) !important; font-size: 13px; }
@media (max-width: 1199px) { .rn .rn-phone span { display: none; } .rn .rn-head-search { width: 240px; } }

/* ---------- search box (hero, header, mobile sheet) ---------- */
.rn .rn-search { position: relative; }
.rn .rn-search-box { display: flex; align-items: center; height: 44px; padding: 0 4px 0 14px; border: 1px solid #cbd6e0; border-radius: 10px; background: #fff; }
.rn .rn-search-box:focus-within { border-color: var(--rn-blue-3); box-shadow: 0 0 0 3px rgba(117, 166, 225, .3); }
.rn .rn-search-box > .rn-ico { color: var(--rn-faint); }
.rn .rn-search-in { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: none; color: var(--rn-ink); font-size: 15px; outline: none; }
.rn .rn-search-in::placeholder { color: #8296a8; }
.rn .rn-search-go { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 8px; background: var(--rn-accent); color: #fff; }
.rn .rn-search-go:hover { background: var(--rn-accent-2); }
.rn .rn-search-x { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; background: none; color: var(--rn-faint); }
.rn .rn-search.has-text .rn-search-x { display: inline-flex; }
/* The browser's own clear (x) on type=search boxes: the search has its own (.rn-search-x), so only one shows */
.rn .rn-search-in::-webkit-search-cancel-button, .rn .rn-search-in::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.rn .rn-search-in::-ms-clear { display: none; width: 0; height: 0; }
.rn .rn-search-lg .rn-search-box { height: 64px; padding: 0 8px 0 20px; border: 0; border-radius: 14px; box-shadow: 0 10px 30px rgba(10, 30, 50, .28); }
.rn .rn-search-lg .rn-search-in { padding: 0 14px; font-size: 18px; }
.rn .rn-search-lg .rn-search-go { width: auto; height: 48px; padding: 0 22px; border-radius: 10px; font-size: 16px; font-weight: 600; gap: 8px; }
.rn .rn-sugg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1040; max-height: 440px; padding: 6px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow-hi); overflow-y: auto; text-align: left; }
.rn .rn-sugg[hidden] { display: none; }
.rn .rn-sugg-h { padding: 8px 10px 4px; color: var(--rn-faint); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rn .rn-sugg-i { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 8px; color: var(--rn-ink) !important; text-decoration: none !important; cursor: pointer; }
.rn .rn-sugg-i.on, .rn .rn-sugg-i:hover { background: var(--rn-tint); }
.rn .rn-sugg-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px; background: var(--rn-soft); color: var(--rn-blue); }
.rn .rn-sugg-ic .rn-ico { width: 18px; height: 18px; }
.rn .rn-sugg-i.t-brand .rn-sugg-ic { background: #fff4ea; color: var(--rn-accent-2); }
.rn .rn-sugg-t { min-width: 0; line-height: 1.3; }
.rn .rn-sugg-t strong { display: block; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rn .rn-sugg-t strong mark { padding: 0; background: none; color: var(--rn-blue); }
.rn .rn-sugg-t span { display: block; color: var(--rn-muted); font-size: 13px; }
.rn .rn-sugg-none { padding: 14px 12px; color: var(--rn-muted); font-size: 14px; }
.rn .rn-sugg-all { display: block; padding: 10px 12px; border-top: 1px solid var(--rn-line); margin-top: 4px; font-size: 14px; font-weight: 600; }

/* ---------- hero ---------- */
.rn .rn-hero { position: relative; display: flex; align-items: center; min-height: 540px; padding: 72px 0 64px; background: #23415c center / cover no-repeat; color: #fff; }
.rn .rn-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 32, 50, .82) 0%, rgba(14, 32, 50, .58) 46%, rgba(14, 32, 50, .18) 100%); }
.rn .rn-hero .rn-wrap { position: relative; }
.rn .rn-hero-in { max-width: 680px; }
.rn .rn-hero h1 { margin: 0 0 14px; color: #fff; font-size: 48px; line-height: 1.08; letter-spacing: -.02em; }
.rn .rn-hero-sub { margin: 0 0 28px; color: rgba(255, 255, 255, .92); font-size: 18px; line-height: 1.5; }
.rn .rn-hero-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; }
.rn .rn-hero-pop > span { color: rgba(255, 255, 255, .8); margin-right: 4px; }
.rn .rn-hero-pop a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; font-size: 13.5px; text-decoration: none !important; }
.rn .rn-hero-pop a:hover { background: rgba(255, 255, 255, .22); }
.rn .rn-hero-credit { position: absolute; right: 24px; bottom: 14px; max-width: 360px; color: rgba(255, 255, 255, .8) !important; font-size: 12.5px; text-align: right; }
.rn .rn-hero-credit:hover { color: #fff !important; }

/* ---------- sections ---------- */
.rn .rn-sec { padding: 56px 0; }
.rn .rn-sec.soft { background: var(--rn-soft); }
.rn .rn-sec.tight { padding: 32px 0; }
.rn .rn-sec-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.rn .rn-eyebrow { display: block; margin: 0 0 6px; color: var(--rn-accent-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rn .rn-sec h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.rn .rn-sec-sub { margin: 8px 0 0; color: var(--rn-muted); font-size: 16px; }
.rn .rn-sec-more { margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; }
.rn .rn-sec-more .rn-ico { width: 16px; height: 16px; }

/* lifestyle chips */
.rn .rn-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rn .rn-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 999px; background: #fff; color: var(--rn-ink) !important; font-size: 14.5px; font-weight: 500; text-decoration: none !important; }
.rn .rn-chip:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-chip em { color: var(--rn-faint); font-size: 13px; font-style: normal; }

/* tabs above a rail */
.rn .rn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.rn .rn-tab { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 999px; background: #fff; color: var(--rn-ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.rn .rn-tab:hover { border-color: var(--rn-blue-3); }
.rn .rn-tab.on { border-color: var(--rn-blue); background: var(--rn-blue); color: #fff; }

/* horizontal rails of cards */
.rn .rn-rail-wrap { position: relative; }
.rn .rn-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 292px; gap: 20px; margin: 0; padding: 4px 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rn .rn-rail::-webkit-scrollbar { display: none; }
.rn .rn-rail > * { scroll-snap-align: start; }
.rn .rn-rail-btn { position: absolute; top: 96px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rn-line); border-radius: 50%; background: #fff; color: var(--rn-ink); box-shadow: var(--rn-shadow); }
.rn .rn-rail-btn:hover { background: var(--rn-soft); }
.rn .rn-rail-btn[disabled] { display: none; }
.rn .rn-rail-btn.prev { left: -18px; }
.rn .rn-rail-btn.next { right: -18px; }

/* cards */
.rn .rn-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; color: var(--rn-text) !important; text-decoration: none !important; box-shadow: var(--rn-shadow); }
.rn .rn-card:hover { box-shadow: var(--rn-shadow-hi); }
.rn .rn-card:hover .rn-card-t { color: var(--rn-blue); }
.rn .rn-card[hidden] { display: none; }
.rn .rn-card-ph { position: relative; height: 196px; background: var(--rn-soft); }
.rn .rn-card-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-card-tag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: rgba(14, 32, 50, .78); color: #fff; font-size: 12px; font-weight: 600; }
.rn .rn-card-tag.feat { background: var(--rn-accent); }
.rn .rn-card-b { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.rn .rn-card-t { margin: 0; color: var(--rn-ink); font-size: 17px; font-weight: 700; line-height: 1.3; }
.rn .rn-card-place { color: var(--rn-muted); font-size: 14px; }
.rn .rn-card-price { margin-top: 6px; color: var(--rn-ink); font-size: 15px; font-weight: 600; }
.rn .rn-card-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 10px; color: var(--rn-muted); font-size: 13px; }
.rn .rn-card-meta b { color: var(--rn-ink); font-weight: 600; }
.rn .rn-card-out { display: inline-flex; align-items: center; gap: 4px; color: var(--rn-muted); font-size: 12.5px; }
.rn .rn-card-out .rn-ico { width: 13px; height: 13px; }
.rn .rn-card.home .rn-card-price { margin-top: 0; font-size: 22px; font-weight: 700; }

/* branded org showcase */
.rn .rn-brand { position: relative; overflow: hidden; border-radius: 18px; background: var(--rn-bc, #2f5d83); color: #fff; }
.rn .rn-brand-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .26; }
.rn .rn-brand-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding: 40px; }
.rn .rn-brand-label { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rn .rn-brand-logo { display: inline-flex; align-items: center; justify-content: center; height: 72px; max-width: 240px; margin: 18px 0 14px; padding: 10px 16px; border-radius: 12px; background: #fff; }
.rn .rn-brand-logo img { display: block; width: auto; max-width: 100%; height: 52px; object-fit: contain; }
.rn .rn-brand h2 { margin: 16px 0 6px; color: #fff; font-size: 34px; line-height: 1.15; }
.rn .rn-brand-tag { margin: 0 0 12px; color: rgba(255, 255, 255, .92); font-size: 18px; font-weight: 500; }
.rn .rn-brand-txt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 5; -webkit-box-orient: vertical; color: rgba(255, 255, 255, .9); font-size: 15.5px; line-height: 1.6; }
.rn .rn-brand-txt p { display: inline; }
.rn .rn-brand-txt br { display: none; }
.rn .rn-brand-txt p + p::before { content: " "; }
.rn .rn-brand-txt p { margin: 0 0 10px; }
.rn .rn-brand-txt a { color: #fff; text-decoration: underline; }
.rn .rn-brand-txt img { display: none; }
.rn .rn-brand-nums { display: flex; gap: 28px; margin: 18px 0 22px; }
.rn .rn-brand-nums b { display: block; color: #fff; font-size: 28px; line-height: 1.1; }
.rn .rn-brand-nums span { color: rgba(255, 255, 255, .8); font-size: 13px; }
.rn .rn-brand-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.rn .rn-brand-acts .rn-btn-main { background: #fff; border-color: #fff; color: var(--rn-ink) !important; }
.rn .rn-brand-acts .rn-btn-main:hover { background: #f0f4f8; }
.rn .rn-brand .rn-rail { grid-auto-columns: 248px; gap: 16px; margin: 0; padding: 4px 0; }
.rn .rn-brand .rn-card { border: 0; }
.rn .rn-brand .rn-card-ph { height: 160px; }
.rn .rn-brand .rn-rail-btn { top: 70px; }
.rn .rn-brand .rn-rail-btn.prev { left: -14px; }
.rn .rn-brand .rn-rail-btn.next { right: -14px; }

/* numbers band */
.rn .rn-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.rn .rn-num b { display: block; color: var(--rn-ink); font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.rn .rn-num span { display: block; margin-top: 6px; color: var(--rn-muted); font-size: 14.5px; }

/* places */
.rn .rn-states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rn .rn-state { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-state:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-state-ab { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; background: var(--rn-tint); color: var(--rn-blue); font-size: 14px; font-weight: 800; }
.rn .rn-state strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.rn .rn-state em { display: block; color: var(--rn-muted); font-size: 13px; font-style: normal; }
.rn .rn-more-states { margin-top: 16px; }
.rn .rn-more-states summary { display: inline-flex; align-items: center; height: 40px; color: var(--rn-blue); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.rn .rn-more-states summary::-webkit-details-marker { display: none; }
.rn .rn-more-states[open] summary { margin-bottom: 12px; }
.rn .rn-areas { display: flex; flex-wrap: wrap; gap: 10px; }

/* articles */
.rn .rn-arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rn .rn-art { display: flex; flex-direction: column; color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-art-ph { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--rn-radius); background: var(--rn-soft); }
.rn .rn-art-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rn .rn-art h3 { margin: 14px 0 6px; font-size: 18px; line-height: 1.35; }
.rn .rn-art:hover h3 { color: var(--rn-blue); }
.rn .rn-art p { margin: 0; color: var(--rn-muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rn .rn-feat-art { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-feat-art .rn-art-ph { aspect-ratio: 16 / 9; }
.rn .rn-feat-art h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.25; }
.rn .rn-feat-art:hover h3 { color: var(--rn-blue); }
.rn .rn-feat-art p { margin: 0 0 16px; color: var(--rn-muted); font-size: 16px; }
.rn .rn-read { font-size: 15px; font-weight: 600; color: var(--rn-blue); }
.rn .rn-art-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.rn .rn-art-list a { display: flex; align-items: center; gap: 14px; min-height: 72px; color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-art-list a:hover strong { color: var(--rn-blue); }
.rn .rn-art-list .th { flex: 0 0 96px; width: 96px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--rn-soft); }
.rn .rn-art-list .th img { width: 100%; height: 100%; object-fit: cover; }
.rn .rn-art-list strong { font-size: 15.5px; font-weight: 600; line-height: 1.35; }

/* page's own content block, ads, FAQ */
.rn .rn-prose { color: var(--rn-text); font-size: 16px; line-height: 1.65; }
.rn .rn-prose img { max-width: 100%; height: auto; border-radius: var(--rn-radius); }
.rn .rn-prose table { max-width: 100%; margin: 0 auto; border: 0; }
.rn .rn-prose td, .rn .rn-prose th { padding: 6px 12px; border: 0; text-align: center; vertical-align: middle; }
.rn .rn-prose > :last-child { margin-bottom: 0; }
.rn .rn-prose h2, .rn .rn-prose h3 { margin: 0 0 12px; font-size: 24px; }
/* Ad positions: web/c/rn_ads.css */
.rn .rnad-card .rn-card-tag { background: rgba(255, 255, 255, .94); color: var(--rn-muted); }
.rn .rn-card-desc { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rn .rn-faq { max-width: 860px; }
.rn .rn-faq details { border-bottom: 1px solid var(--rn-line); }
.rn .rn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; color: var(--rn-ink); font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.rn .rn-faq summary::-webkit-details-marker { display: none; }
.rn .rn-faq summary .rn-ico { color: var(--rn-faint); }
.rn .rn-faq details[open] summary .rn-ico { transform: rotate(45deg); }
.rn .rn-faq details p { margin: 0 0 18px; color: var(--rn-text); font-size: 16px; }

/* ---------- footer ---------- */
.rn .rn-foot { padding: 56px 0 28px; background: #14283a; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.rn .rn-foot a { color: rgba(255, 255, 255, .86); }
.rn .rn-foot a:hover { color: #fff; }
.rn .rn-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.rn .rn-foot-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.rn .rn-foot-about { margin: 14px 0 16px; max-width: 320px; line-height: 1.6; }
.rn .rn-foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rn .rn-foot ul { margin: 0; padding: 0; list-style: none; }
.rn .rn-foot li { margin: 0 0 8px; }
.rn .rn-foot-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-size: 18px; font-weight: 700; }
.rn .rn-foot-bot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.rn .rn-foot-bot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }

@media (max-width: 1199px) {
    .rn .rn-states { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rn .rn-brand-in { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .rn .rn-hero h1 { font-size: 38px; }
    .rn .rn-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rn .rn-arts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rn .rn-feat-art { grid-template-columns: 1fr; gap: 16px; }
    .rn .rn-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rn .rn-nav, .rn .rn-head-search { display: none; }
}

/* ======================================================================
   Inner pages (Lifestyles and the pages after it): page heading, main column + 300px sidebar
   ====================================================================== */
.rn .rn-phead { padding: 32px 0 8px; }
.rn .rn-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--rn-muted); font-size: 13.5px; line-height: 20px; }
.rn .rn-crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--rn-faint); }
.rn .rn-crumbs a { color: var(--rn-muted) !important; text-decoration: none !important; }
.rn .rn-crumbs a:hover { color: var(--rn-blue) !important; text-decoration: underline !important; }
.rn .rn-phead h1 { margin: 0 0 10px; color: var(--rn-ink); font-size: 36px; font-weight: 800; line-height: 44px; letter-spacing: -.01em; }
.rn .rn-phead-sub { max-width: 760px; margin: 0; color: var(--rn-muted); font-size: 17px; line-height: 27px; }
.rn .rn-phead-intro { max-width: 820px; margin: 16px 0 0; color: var(--rn-text); font-size: 16px; line-height: 26px; }
.rn .rn-phead-intro > :last-child { margin-bottom: 0; }
.rn .rn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 16px 0 56px; }
.rn .rn-side { position: static; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 1080px) { .rn .rn-layout { grid-template-columns: 1fr; } .rn .rn-side { position: static; } }
/* A sidebar with nothing in it (no ads running, nothing else) isn't drawn, and the page takes the full width: the sidebar
   carries its own width and the space before it, so a hidden one leaves no empty column.
   html.rn-noadph = staff previewing without the empty ad boxes (the "Ad holders" switch), the same as the public sees it. */
.rn .rn-layout { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0; }
.rn .rn-layout > .rn-side { width: 300px; margin-left: 40px; }
@media (max-width: 1080px) { .rn .rn-layout { grid-template-columns: minmax(0, 1fr); } .rn .rn-layout > .rn-side { width: auto; margin-left: 0; } }
.rn .rn-side:not(:has(*)) { display: none; }
html.rn-noadph .rn .rn-side:not(:has(> :not(.rnad-slot-empty):not(.rnad-gone))) { display: none; }

/* Lifestyle cards (/lifestyles/) */
.rn .rn-life-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rn .rn-life { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-life-ph { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rn-soft); }
.rn .rn-life-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-life-n { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--rn-ink); font-size: 13px; font-weight: 700; }
.rn .rn-life-b { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.rn .rn-life h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 26px; }
.rn .rn-life h2 a { color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-life h2 a:hover { color: var(--rn-blue) !important; }
.rn .rn-life-txt { display: -webkit-box; overflow: hidden; margin: 0; color: var(--rn-text); font-size: 15px; line-height: 23px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.rn .rn-life-states { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rn .rn-life-states li:first-child { margin-right: 2px; color: var(--rn-muted); font-size: 13px; font-weight: 600; }
.rn .rn-life-states a { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid var(--rn-line); border-radius: 999px; color: var(--rn-ink) !important; font-size: 13px; text-decoration: none !important; }
.rn .rn-life-states a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-life-states em { color: var(--rn-faint); font-size: 12px; font-style: normal; }
.rn .rn-life-go { margin-top: auto; padding-top: 4px; }
.rn .rn-life-go .rn-btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
.rn .rn-life-more { margin: 40px 0 0; }
.rn .rn-life-more h2 { margin: 0 0 14px; color: var(--rn-ink); font-size: 22px; font-weight: 700; line-height: 28px; }
.rn .rn-life-grid > .rnad-slot { grid-column: 1 / -1; }
@media (max-width: 720px) { .rn .rn-life-grid { grid-template-columns: 1fr; } }


/* ======================================================================
   List pages (region and city communities / homes for sale): views/public/region_list.tpl
   ====================================================================== */
.rn .rn-lhead { position: relative; padding-bottom: 0; }
.rn .rn-staff-edit { position: absolute; top: 32px; right: 0; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px dashed var(--rn-blue-3); border-radius: 8px; color: var(--rn-blue) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.rn .rn-ltabs { display: flex; gap: 4px; margin: 22px 0 0; border-bottom: 1px solid var(--rn-line); }
.rn .rn-ltabs a { display: inline-flex; align-items: center; height: 44px; margin-bottom: -1px; padding: 0 16px; border-bottom: 3px solid transparent; color: var(--rn-muted) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.rn .rn-ltabs a:hover { color: var(--rn-ink) !important; }
.rn .rn-ltabs a.on { border-bottom-color: var(--rn-accent); color: var(--rn-ink) !important; }

/* Filter bar */
.rn .rn-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; margin: 20px 0 0; padding: 16px 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: var(--rn-soft); }
.rn .rn-fld { display: flex; flex-direction: column; gap: 5px; margin: 0; min-width: 150px; }
.rn .rn-fld > span, .rn .rn-amens summary { color: var(--rn-muted); font-size: 12.5px; font-weight: 700; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; }
.rn .rn-fld-grow { flex: 1 1 220px; }
.rn .rn-fld select, .rn .rn-fld input[type="search"] { height: 42px; padding: 0 12px; border: 1px solid #cfd9e2; border-radius: 9px; background-color: #fff; color: var(--rn-ink); font-size: 15px; }
.rn .rn-fld select { padding-right: 32px; }
.rn .rn-fld select:focus, .rn .rn-fld input:focus { border-color: var(--rn-blue-2); outline: 0; box-shadow: 0 0 0 3px rgba(59, 114, 159, .18); }
.rn .rn-amens { position: relative; flex: 0 0 auto; }
.rn .rn-amens summary { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 34px 0 12px; border: 1px solid #cfd9e2; border-radius: 9px; background: #fff; color: var(--rn-ink); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; list-style: none; }
.rn .rn-amens summary::-webkit-details-marker { display: none; }
.rn .rn-amens summary::after { content: ""; position: absolute; right: 14px; top: 17px; width: 8px; height: 8px; border-right: 2px solid var(--rn-muted); border-bottom: 2px solid var(--rn-muted); transform: rotate(45deg); }
.rn .rn-amens summary em { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rn-blue); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.rn .rn-amens-list { position: absolute; z-index: 30; top: 48px; left: 0; display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 2px 16px; width: 440px; max-height: 340px; overflow-y: auto; padding: 12px 14px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; box-shadow: var(--rn-shadow-hi); }
.rn .rn-check { display: flex; align-items: center; gap: 9px; min-height: 34px; margin: 0; color: var(--rn-text); font-size: 14.5px; line-height: 19px; cursor: pointer; }
.rn .rn-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--rn-blue); }
.rn .rn-filter-go { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.rn .rn-filter-go .rn-btn { height: 42px; padding: 0 18px; }
.rn .rn-filter-clear { color: var(--rn-muted) !important; font-size: 14px; font-weight: 600; }

.rn .rn-lmain { min-width: 0; }
.rn .rn-lcount { min-height: 22px; margin: 0 0 14px; color: var(--rn-muted); font-size: 14.5px; line-height: 22px; }
.rn .rn-lcount b { color: var(--rn-ink); }
.rn .rn-lsec + .rn-lsec { margin-top: 36px; }
.rn .rn-lsec-h { margin: 0 0 14px; color: var(--rn-ink); font-size: 20px; font-weight: 700; line-height: 26px; }
.rn .rn-lc-list { display: flex; flex-direction: column; gap: 18px; }
.rn .rn-lc-list > .rnad-slot { margin: 0; }

/* Community card: photo left, details right */
.rn .rn-lc { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-lc:hover { box-shadow: var(--rn-shadow-hi); }
.rn .rn-lc-nophoto { grid-template-columns: minmax(0, 1fr); }
.rn .rn-lc-ph { position: relative; display: block; min-height: 210px; overflow: hidden; background: var(--rn-soft); }
.rn .rn-lc-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-lc-flag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--rn-accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.rn .rn-lc-b { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 18px 22px 18px; }
.rn .rn-lc-t { margin: 0; font-size: 20px; font-weight: 700; line-height: 26px; }
.rn .rn-lc-t a { color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-lc-t a:hover { color: var(--rn-blue) !important; }
.rn .rn-lc-place { color: var(--rn-muted); font-size: 14.5px; line-height: 20px; }
.rn .rn-lc-place span { color: var(--rn-faint); }
.rn .rn-lc-kind { color: var(--rn-blue); font-size: 13px; font-weight: 600; line-height: 18px; }
.rn .rn-lc-txt { display: -webkit-box; overflow: hidden; margin: 0; color: var(--rn-text); font-size: 15px; line-height: 23px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rn .rn-lc-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; color: var(--rn-text); font-size: 14px; line-height: 20px; }
.rn .rn-lc-price { color: var(--rn-ink); font-size: 16px; font-weight: 700; }
.rn .rn-lc-amens { color: var(--rn-muted); }
.rn .rn-lc-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.rn .rn-lc-acts .rn-btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
.rn .rn-lc-big { grid-template-columns: 380px minmax(0, 1fr); border-color: #f2c7a6; }
.rn .rn-lc-big .rn-lc-ph { min-height: 250px; }
.rn .rn-lc-big .rn-lc-t { font-size: 22px; line-height: 28px; }
.rn .rn-lc-big .rn-lc-txt { -webkit-line-clamp: 3; }
.rn .rn-lc-basic { box-shadow: none; }
.rn .rn-lc-basic .rn-lc-b { padding: 14px 18px; }
.rn .rn-lc-basic .rn-lc-t { font-size: 17px; line-height: 23px; }

/* Home for sale card */
.rn .rn-lh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rn .rn-lh-grid > .rnad-slot { grid-column: 1 / -1; margin: 0; }
.rn .rn-lh { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-lh:hover { box-shadow: var(--rn-shadow-hi); }
.rn .rn-lh-ph { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rn-soft); color: var(--rn-faint); }
.rn .rn-lh-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-lh-ph .rn-ico { width: 48px; height: 48px; }
.rn .rn-lh-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--rn-ink); font-size: 12.5px; font-weight: 700; }
.rn .rn-lh-b { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.rn .rn-lh-price { font-size: 22px; font-weight: 800; line-height: 28px; }
.rn .rn-lh-price a { color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-lh-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; color: var(--rn-text); font-size: 14.5px; line-height: 20px; }
.rn .rn-lh-t { margin: 2px 0 0; color: var(--rn-ink); font-size: 16px; font-weight: 600; line-height: 22px; }
.rn .rn-lh-place { color: var(--rn-muted); font-size: 14px; line-height: 20px; }
.rn .rn-lh-comm { display: inline-flex; align-items: center; gap: 6px; color: var(--rn-blue) !important; font-size: 14px; font-weight: 600; line-height: 20px; }
.rn .rn-lh-comm .rn-ico { width: 16px; height: 16px; }
.rn .rn-lh-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.rn .rn-lh-acts .rn-btn { height: 40px; padding: 0 14px; font-size: 14.5px; }

.rn .rn-empty { padding: 40px 28px; border: 1px dashed #cfd9e2; border-radius: var(--rn-radius); background: #fff; text-align: center; }
.rn .rn-empty h2 { margin: 0 0 6px; font-size: 20px; line-height: 26px; }
.rn .rn-empty p { margin: 0; color: var(--rn-muted); font-size: 15px; }

/* Paging */
.rn .rn-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 32px 0 0; }
.rn .rn-pg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--rn-line); border-radius: 9px; background: #fff; color: var(--rn-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
.rn a.rn-pg:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-pg.on { border-color: var(--rn-blue); background: var(--rn-blue); color: #fff !important; }
.rn .rn-pg-gap { border-color: transparent; background: none; color: var(--rn-faint) !important; min-width: 24px; padding: 0; }
.rn .rn-pg .rn-ico { width: 16px; height: 16px; }

/* Sidebar lists */
.rn .rn-sbox { padding: 18px 18px 10px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-sbox h2 { margin: 0 0 8px; color: var(--rn-ink); font-size: 16px; font-weight: 700; line-height: 22px; }
.rn .rn-slist { margin: 0; padding: 0; list-style: none; }
.rn .rn-slist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 6px 0; border-top: 1px solid #eef2f5; color: var(--rn-text) !important; font-size: 14.5px; line-height: 20px; text-decoration: none !important; }
.rn .rn-slist li:first-child a { border-top: 0; }
.rn .rn-slist a:hover { color: var(--rn-blue) !important; }
.rn .rn-slist a.on { color: var(--rn-blue) !important; font-weight: 700; }
.rn .rn-slist em { flex: 0 0 auto; color: var(--rn-faint); font-size: 13px; font-style: normal; }

/* Area guides under the list */
.rn .rn-larts { padding-top: 8px; padding-bottom: 56px; }
.rn .rn-larts h2 { margin: 0 0 16px; color: var(--rn-ink); font-size: 22px; font-weight: 700; line-height: 28px; }
.rn .rn-larts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rn .rn-lart { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-lart:hover { border-color: var(--rn-blue-3); box-shadow: var(--rn-shadow); }
.rn .rn-lart img { flex: 0 0 96px; width: 96px; height: 64px; border-radius: 8px; object-fit: cover; }
.rn .rn-lart span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rn .rn-lart b { font-size: 15px; line-height: 21px; }
.rn .rn-lart em { display: -webkit-box; overflow: hidden; color: var(--rn-muted); font-size: 13.5px; font-style: normal; line-height: 19px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 1080px) { .rn .rn-lc { grid-template-columns: 240px minmax(0, 1fr); } .rn .rn-lc-big { grid-template-columns: 280px minmax(0, 1fr); } .rn .rn-larts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .rn .rn-lc, .rn .rn-lc-big { grid-template-columns: 1fr; } .rn .rn-lc-ph { min-height: 0; aspect-ratio: 3 / 2; } .rn .rn-lh-grid, .rn .rn-larts-grid { grid-template-columns: 1fr; } .rn .rn-filter-go { margin-left: 0; } }
.rn .rn-lc-flag-show { background: var(--rn-blue); }

/* Region guide page (/florida/): views/public/region_state.tpl */
.rn .rn-gsec { margin: 0 0 36px; }
.rn .rn-gsec h2 { margin: 0 0 14px; color: var(--rn-ink); font-size: 22px; font-weight: 700; line-height: 28px; }
.rn .rn-gfirst { margin: 28px 0 8px; }
.rn .rn-gsec-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 16px; }
.rn .rn-gsec-top h2 { margin: 0; }
.rn .rn-gsec-top .rn-btn { height: 42px; padding: 0 18px; }
.rn .rn-gc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rn .rn-gc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-gc:hover { box-shadow: var(--rn-shadow-hi); }
.rn .rn-gc-ph { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rn-soft); }
.rn .rn-gc-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-gc-b { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.rn .rn-gc-t { color: var(--rn-ink); font-size: 16.5px; font-weight: 700; line-height: 22px; }
.rn .rn-gc:hover .rn-gc-t { color: var(--rn-blue); }
.rn .rn-gc-place { color: var(--rn-muted); font-size: 14px; line-height: 20px; }
.rn .rn-gc-kind { color: var(--rn-blue); font-size: 13px; font-weight: 600; line-height: 18px; }
.rn .rn-gc-kind b { color: var(--rn-green); font-weight: 600; }
.rn .rn-gc-price { margin-top: auto; padding-top: 4px; color: var(--rn-ink); font-size: 15px; font-weight: 700; }
.rn .rn-gc-out { display: inline-flex; align-items: center; gap: 5px; color: var(--rn-muted); font-size: 13px; }
.rn .rn-gc-out .rn-ico { width: 14px; height: 14px; }
.rn .rn-gstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 8px 0 8px; }
.rn .rn-gstats a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; color: var(--rn-muted) !important; font-size: 14px; text-decoration: none !important; }
.rn .rn-gstats a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-gstats b { color: var(--rn-ink); font-size: 26px; line-height: 32px; }
.rn .rn-gtext { max-width: 820px; color: var(--rn-text); font-size: 16px; line-height: 26px; }
.rn .rn-gtext p { margin: 0 0 14px; }
.rn .rn-gtext img { max-width: 100%; height: auto; border-radius: 10px; }
.rn .rn-gsec .rn-chip em { color: var(--rn-faint); font-size: 12.5px; font-style: normal; }
.rn .rn-gcities { columns: 3; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.rn .rn-gcities li { break-inside: avoid; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef2f5; font-size: 15px; line-height: 21px; }
.rn .rn-gcities em { color: var(--rn-faint); font-size: 13px; font-style: normal; }
.rn .rn-adhere { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border: 1px dashed var(--rn-blue-3); border-radius: var(--rn-radius); background: var(--rn-tint); color: var(--rn-text) !important; font-size: 14.5px; line-height: 21px; text-decoration: none !important; }
.rn .rn-adhere b { color: var(--rn-ink); font-size: 17px; }
.rn .rn-gband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 8px 0 56px; padding: 26px 28px; border-radius: var(--rn-radius); background: var(--rn-blue); color: #fff; }
.rn .rn-gband b { max-width: 640px; font-size: 19px; line-height: 27px; }
@media (max-width: 1080px) { .rn .rn-gc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .rn .rn-gc-grid, .rn .rn-gstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rn .rn-gcities { columns: 2; } }

/* Lifestyle and article topic pages (views/public/category_page.tpl) */
.rn .rn-gc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rn .rn-ar-list { display: flex; flex-direction: column; gap: 16px; }
.rn .rn-ar { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-ar:not(:has(.rn-ar-ph)) { grid-template-columns: minmax(0, 1fr); }
.rn .rn-ar-ph { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 8px; background: var(--rn-soft); }
.rn .rn-ar-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-ar-b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rn .rn-ar-t { margin: 0; font-size: 19px; font-weight: 700; line-height: 25px; }
.rn .rn-ar-t a { color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-ar-t a:hover { color: var(--rn-blue) !important; }
.rn .rn-ar-meta { color: var(--rn-faint); font-size: 13.5px; line-height: 19px; }
.rn .rn-ar-txt { display: -webkit-box; overflow: hidden; margin: 0; color: var(--rn-text); font-size: 15px; line-height: 23px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.rn .rn-arsearch { display: flex; gap: 8px; }
.rn .rn-arsearch input { width: 260px; height: 42px; padding: 0 12px; border: 1px solid #cfd9e2; border-radius: 9px; font-size: 15px; }
.rn .rn-arsearch input:focus { border-color: var(--rn-blue-2); outline: 0; box-shadow: 0 0 0 3px rgba(59, 114, 159, .18); }
.rn .rn-arsearch .rn-btn { height: 42px; padding: 0 14px; }
.rn .rn-arsearch .rn-ico { width: 16px; height: 16px; }
@media (max-width: 800px) { .rn .rn-gc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rn .rn-ar { grid-template-columns: 140px minmax(0, 1fr); } }

/* Article page (views/public/article_page.tpl) */
.rn .rn-art-layout { padding-top: 28px; }
.rn .rn-art-edit { position: static; margin: 0 0 12px; }
.rn .rn-art { min-width: 0; }
.rn .rn-art-h { margin: 0 0 24px; }
.rn .rn-art-topic { display: inline-flex; align-items: center; height: 28px; margin: 0 0 12px; padding: 0 12px; border-radius: 999px; background: var(--rn-tint); color: var(--rn-blue) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.rn .rn-art-h h1 { margin: 0 0 12px; color: var(--rn-ink); font-size: 38px; font-weight: 800; line-height: 46px; letter-spacing: -.015em; }
.rn .rn-art-sub { margin: 0 0 14px; color: var(--rn-muted); font-size: 19px; line-height: 29px; }
.rn .rn-art-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--rn-muted); font-size: 14.5px; line-height: 21px; }
.rn .rn-art-meta span + span::before { content: "\00B7"; margin-right: 18px; color: var(--rn-faint); }
.rn .rn-art-fig { margin: 0 0 28px; }
.rn .rn-art-fig img { display: block; width: 100%; height: auto; border-radius: var(--rn-radius); }
.rn .rn-art-fig figcaption { margin: 8px 0 0; color: var(--rn-muted); font-size: 14px; line-height: 20px; }
.rn .rn-art-body { max-width: 760px; color: var(--rn-text); font-size: 18px; line-height: 30px; overflow-wrap: break-word; }
.rn .rn-art-body p, .rn .rn-art-body ul, .rn .rn-art-body ol { margin: 0 0 20px; }
.rn .rn-art-body h2 { margin: 36px 0 14px; font-size: 26px; line-height: 33px; }
.rn .rn-art-body h3 { margin: 28px 0 12px; font-size: 21px; line-height: 28px; }
.rn .rn-art-body img { max-width: 100%; height: auto; border-radius: 8px; }
.rn .rn-art-body table { width: 100%; margin: 0 0 20px; border-collapse: collapse; font-size: 16px; }
.rn .rn-art-body th, .rn .rn-art-body td { padding: 8px 10px; border: 1px solid var(--rn-line); }
.rn .rn-art-body blockquote { margin: 0 0 20px; padding: 4px 0 4px 18px; border-left: 4px solid var(--rn-blue-3); color: var(--rn-muted); }
.rn .rn-art-att, .rn .rn-art-com { max-width: 760px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rn-line); }
.rn .rn-art-att h2, .rn .rn-art-com h2 { margin: 0 0 12px; font-size: 20px; line-height: 26px; }
.rn .rn-art-att ul { margin: 0; padding: 0 0 0 18px; }
.rn .rn-art-att em, .rn .rn-art-com h2 em { color: var(--rn-faint); font-size: 14px; font-style: normal; }
.rn .rn-art-c { padding: 14px 0; border-bottom: 1px solid #eef2f5; }
.rn .rn-art-c b { color: var(--rn-ink); font-size: 15px; }
.rn .rn-art-c p { margin: 4px 0 0; font-size: 15.5px; line-height: 24px; }
.rn .rn-art-ad { margin: 32px 0 0; }
.rn .rn-art-more .rn-slist a { justify-content: flex-start; }
.rn .rn-art-all { display: inline-block; margin: 8px 0 8px; font-size: 14px; font-weight: 600; }
.rn.rn-article .rn-layout { padding-bottom: 56px; }

/* Articles home page (views/public/reference_page.tpl) */
.rn .rn-reftopics { margin: 4px 0 28px; }
.rn .rn-reffeat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; margin: 0 0 40px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-reffeat:hover { box-shadow: var(--rn-shadow-hi); }
.rn .rn-reffeat-ph { display: block; min-height: 280px; background: var(--rn-soft); }
.rn .rn-reffeat-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-reffeat-b { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 32px; }
.rn .rn-reffeat-b em { align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--rn-accent); color: #fff; font-size: 12.5px; font-style: normal; font-weight: 700; }
.rn .rn-reffeat-b b { color: var(--rn-ink); font-size: 28px; line-height: 35px; }
.rn .rn-reffeat:hover .rn-reffeat-b b { color: var(--rn-blue); }
.rn .rn-reffeat-b span { font-size: 16px; line-height: 25px; }
@media (max-width: 800px) { .rn .rn-reffeat { grid-template-columns: 1fr; } .rn .rn-reffeat-ph { min-height: 0; aspect-ratio: 16 / 10; } }

/* Community pages (views/public/showcase_page.tpl) */
.rn .rn-sc-layout { padding-top: 24px; }
.rn .rn-sc-h { margin: 0 0 18px; }
.rn .rn-sc-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--rn-blue) !important; font-size: 14px; font-weight: 600; }
.rn .rn-sc-back .rn-ico { width: 16px; height: 16px; }
.rn .rn-sc-h h1 { margin: 0 0 8px; color: var(--rn-ink); font-size: 36px; font-weight: 800; line-height: 44px; letter-spacing: -.01em; }
.rn .rn-sc-place { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; color: var(--rn-muted); font-size: 16px; line-height: 22px; }
.rn .rn-sc-place .rn-ico { flex: 0 0 18px; width: 18px; height: 18px; color: var(--rn-faint); }
.rn .rn-sc-life { margin: 0 0 16px; color: var(--rn-muted); font-size: 14.5px; line-height: 22px; }
.rn .rn-sc-life a { font-weight: 600; }
.rn .rn-sc-life span { color: var(--rn-faint); }
.rn .rn-sc-facts { display: flex; flex-wrap: wrap; gap: 12px; }
.rn .rn-sc-facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 150px; padding: 12px 16px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; }
.rn .rn-sc-facts b { color: var(--rn-ink); font-size: 19px; line-height: 25px; }
.rn .rn-sc-facts span { color: var(--rn-muted); font-size: 13.5px; line-height: 18px; }
.rn .rn-sc-tabs { margin: 0 0 24px; }
.rn .rn-gal { margin: 0 0 28px; }
.rn .rn-gal-main { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--rn-radius); background: var(--rn-soft); }
.rn .rn-gal-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-gal-strip { display: flex; gap: 8px; margin: 10px 0 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.rn .rn-gal-th { flex: 0 0 104px; width: 104px; height: 70px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: var(--rn-soft); cursor: pointer; }
.rn .rn-gal-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-gal-th.on { border-color: var(--rn-accent); }
.rn .rn-sc-amens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; margin: 0 0 16px; padding: 0; list-style: none; }
.rn .rn-sc-amens li { position: relative; padding: 6px 0 6px 24px; color: var(--rn-text); font-size: 15px; line-height: 21px; }
.rn .rn-sc-amens li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2px solid var(--rn-green); border-bottom: 2px solid var(--rn-green); transform: rotate(-45deg); }
.rn .rn-sc-amens-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rn .rn-sc-amens-full li { display: flex; flex-direction: column; gap: 2px; }
.rn .rn-sc-amens-full li span { color: var(--rn-muted); font-size: 14px; }
.rn .rn-sc-cta { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-sc-cta-t { color: var(--rn-ink); font-size: 19px; line-height: 25px; }
.rn .rn-sc-cta p { margin: 0 0 4px; color: var(--rn-muted); font-size: 14.5px; line-height: 21px; }
.rn .rn-sc-cta .rn-btn { width: 100%; height: 46px; }
.rn .rn-sc-cta .rn-ico { width: 18px; height: 18px; }
.rn .rn-sc-social { display: flex; gap: 16px; justify-content: center; font-size: 14px; font-weight: 600; }
.rn .rn-sc-org { display: block; text-align: center; font-size: 14px; font-weight: 600; }
.rn .rn-sc-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rn .rn-sc-person { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-sc-person:hover { border-color: var(--rn-blue-3); }
.rn .rn-sc-person img, .rn .rn-sc-avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.rn .rn-sc-avatar { display: flex; align-items: center; justify-content: center; background: var(--rn-tint); color: var(--rn-blue); font-size: 26px; font-weight: 700; }
.rn .rn-sc-person span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rn .rn-sc-person b { color: var(--rn-ink); font-size: 16px; }
.rn .rn-sc-person em { color: var(--rn-muted); font-size: 14px; font-style: normal; }
.rn .rn-sc-person small { color: var(--rn-text); font-size: 13.5px; line-height: 19px; }
.rn .rn-sc-loc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 28px; padding: 20px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-sc-loc div { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.rn .rn-sc-loc b { color: var(--rn-ink); font-size: 18px; }
.rn .rn-sc-loc .rn-btn { height: 44px; }
.rn .rn-sc-loc .rn-ico { width: 18px; height: 18px; }
.rn .rn-sc-body .rn-lh-grid { margin-bottom: 8px; }
.rn.rn-showcase .rn-layout { padding-bottom: 56px; }
@media (max-width: 900px) { .rn .rn-sc-amens { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rn .rn-sc-people { grid-template-columns: 1fr; } }
/* Showcase Videos and Articles tabs (views/public/list/_showcase_body.tpl) */
.rn .rn-sc-videos { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 0 0 28px; }
.rn .rn-sc-video { margin: 0; }
.rn .rn-sc-video-f { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--rn-radius); background: #0f1a24; }
.rn .rn-sc-video-f iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rn .rn-sc-video figcaption { margin: 10px 0 0; color: var(--rn-ink); font-size: 17px; font-weight: 700; line-height: 23px; }
.rn .rn-sc-arts { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; }
.rn .rn-sc-art { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-sc-art:hover { border-color: var(--rn-blue-3); box-shadow: var(--rn-shadow); }
.rn .rn-sc-art-ph { display: block; width: 240px; height: 160px; overflow: hidden; border-radius: 10px; background: var(--rn-soft); }
.rn .rn-sc-art-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rn .rn-sc-art-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rn .rn-sc-art-t b { color: var(--rn-ink); font-size: 19px; line-height: 26px; }
.rn .rn-sc-art:hover .rn-sc-art-t b { color: var(--rn-blue); }
.rn .rn-sc-art-t span { font-size: 15px; line-height: 23px; }
.rn .rn-sc-art-t small { color: var(--rn-faint); font-size: 13px; line-height: 18px; }
.rn .rn-sc-art-full { padding: 20px 22px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-sc-art-full h3 { margin: 0 0 10px; font-size: 21px; line-height: 28px; }
.rn .rn-sc-art-full h3 a { color: var(--rn-ink) !important; }
.rn-m .rn-sc-videos { gap: 22px; }
.rn-m .rn-sc-video-f { margin: 0 -16px; border-radius: 0; }
.rn-m .rn-sc-video figcaption { font-size: 16px; }
.rn-m .rn-sc-art { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
.rn-m .rn-sc-art-ph { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.rn-m .rn-sc-art-t b { font-size: 18px; line-height: 24px; }
.rn-m .rn-sc-art-full { padding: 16px; }

/* Company pages (views/public/org_page.tpl) */
.rn .rn-lsec-n { margin-left: 6px; color: var(--rn-faint); font-size: 15px; font-style: normal; font-weight: 600; }
.rn.rn-org .rn-lsec { scroll-margin-top: 92px; }

/* Communities / homes by region (views/public/places_page.tpl) */
.rn .rn-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rn .rn-place { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-place-t { color: var(--rn-ink) !important; font-size: 17px; font-weight: 700; line-height: 23px; }
.rn .rn-place-t:hover { color: var(--rn-blue) !important; }
.rn .rn-place ul { margin: 0; padding: 0; list-style: none; }
.rn .rn-place li a { display: block; padding: 3px 0; color: var(--rn-text) !important; font-size: 14.5px; line-height: 20px; }
.rn .rn-place li a:hover { color: var(--rn-blue) !important; }
.rn .rn-place-g { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .rn .rn-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rn-m .rn-places { grid-template-columns: 1fr; gap: 10px; }
.rn-m .rn-place li a { padding: 8px 0; font-size: 16px; }

/* Site map (views/public/site_map_page.tpl, views/m/site_map_page.tpl; sections in views/public/list/_sitemap_body.tpl) */
.rn .rn-smap { padding: 8px 24px 56px; }
.rn .rn-smap-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.rn .rn-smap-jump a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 18px; background: #fff; color: var(--rn-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.rn .rn-smap-jump a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-smap-sec { scroll-margin-top: 92px; }
.rn .rn-smap-h3 { margin: 22px 0 12px; color: var(--rn-muted); font-size: 13px; font-weight: 700; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; }
.rn .rn-smap-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rn .rn-smap-main a { display: flex; align-items: center; height: 48px; padding: 0 16px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; color: var(--rn-ink) !important; font-size: 15.5px; font-weight: 600; text-decoration: none !important; }
.rn .rn-smap-main a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-smap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rn .rn-smap-life { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rn .rn-smap-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; }
.rn .rn-smap-t { color: var(--rn-ink) !important; font-size: 17px; font-weight: 700; line-height: 23px; text-decoration: none !important; }
.rn .rn-smap-t:hover { color: var(--rn-blue) !important; }
.rn .rn-smap-do { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--rn-line); list-style: none; }
.rn .rn-smap-do:last-child { padding-bottom: 0; border-bottom: 0; }
.rn .rn-smap-do a { font-size: 14px; font-weight: 600; line-height: 22px; }
.rn .rn-smap-subs { margin: 0; padding: 0; list-style: none; }
.rn .rn-smap-subs a { display: block; padding: 3px 0; color: var(--rn-text) !important; font-size: 14.5px; line-height: 20px; }
.rn .rn-smap-subs a:hover { color: var(--rn-blue) !important; }
.rn .rn-smap-areas { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14.5px; line-height: 21px; }
.rn .rn-smap-areas dt { margin: 0; font-weight: 700; }
.rn .rn-smap-areas dt a { color: var(--rn-ink) !important; }
.rn .rn-smap-areas dd { margin: 0; }
.rn .rn-smap-areas dd a { color: var(--rn-text) !important; }
.rn .rn-smap-areas a:hover { color: var(--rn-blue) !important; }
.rn .rn-smap-areas i { color: var(--rn-faint); font-style: normal; }
@media (max-width: 900px) { .rn .rn-smap-main, .rn .rn-smap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rn .rn-smap-life { grid-template-columns: 1fr; } }
.rn-m .rn-smap { padding: 4px 16px 32px; }
.rn-m .rn-smap-jump { flex-wrap: nowrap; margin: 0 -16px 24px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.rn-m .rn-smap-jump::-webkit-scrollbar { display: none; }
.rn-m .rn-smap-jump a { flex: 0 0 auto; height: 40px; }
.rn-m .rn-smap-main { grid-template-columns: 1fr; gap: 8px; }
.rn-m .rn-smap-main a { height: 50px; font-size: 16px; }
.rn-m .rn-smap-grid, .rn-m .rn-smap-life { grid-template-columns: 1fr; gap: 8px; }
.rn-m details.rn-smap-card { gap: 0; padding: 0; }
.rn-m details.rn-smap-card > summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 44px 0 16px; position: relative; color: var(--rn-ink); font-size: 16.5px; font-weight: 700; list-style: none; cursor: pointer; }
.rn-m details.rn-smap-card > summary::-webkit-details-marker { display: none; }
.rn-m details.rn-smap-card > summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--rn-muted); border-bottom: 2px solid var(--rn-muted); transform: rotate(45deg); }
.rn-m details.rn-smap-card[open] > summary::after { margin-top: -2px; transform: rotate(-135deg); }
.rn-m details.rn-smap-card > summary small { color: var(--rn-faint); font-size: 13.5px; font-weight: 600; }
.rn-m details.rn-smap-card > :not(summary) { margin-right: 16px; margin-left: 16px; }
.rn-m details.rn-smap-card > :last-child { margin-bottom: 14px; }
.rn-m .rn-smap-guide { display: block; padding: 6px 0 10px; font-size: 15px; font-weight: 700; }
.rn-m .rn-smap-do { gap: 0 16px; padding-bottom: 10px; margin-bottom: 4px; }
.rn-m .rn-smap-do a { display: inline-block; padding: 8px 0; font-size: 15px; }
.rn-m .rn-smap-subs a { padding: 9px 0; font-size: 16px; }
.rn-m .rn-smap-areas { grid-template-columns: 1fr; gap: 2px; font-size: 15.5px; line-height: 26px; }
.rn-m .rn-smap-areas dt { margin-top: 8px; }

/* A state's cities (views/public/region_cities_page.tpl, views/m/region_cities_page.tpl; list in views/public/list/_cities_body.tpl) */
.rn.rn-cities-pg .rn-layout { padding-bottom: 56px; }
.rn .rn-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 24px; }
.rn .rn-az a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rn-line); border-radius: 8px; background: #fff; color: var(--rn-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.rn .rn-az a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-az-sec { margin: 0 0 24px; scroll-margin-top: 92px; }
.rn .rn-az-sec:first-child { margin-top: 24px; }
.rn .rn-az-h { margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid var(--rn-line); color: var(--rn-ink); font-size: 20px; font-weight: 800; line-height: 26px; }
.rn .rn-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rn .rn-cities a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: 8px 14px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; text-decoration: none !important; }
.rn .rn-cities a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-cities span { color: var(--rn-ink); font-size: 15.5px; font-weight: 700; line-height: 21px; }
.rn .rn-cities b { color: var(--rn-muted); font-size: 13px; font-weight: 600; line-height: 18px; }
.rn .rn-empty .rn-btn { margin-top: 16px; }
@media (max-width: 900px) { .rn .rn-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rn-m .rn-az { flex-wrap: nowrap; margin: 16px -16px 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.rn-m .rn-az::-webkit-scrollbar { display: none; }
.rn-m .rn-az a { flex: 0 0 40px; width: 40px; height: 40px; }
.rn-m .rn-az-sec { scroll-margin-top: 72px; }
.rn-m .rn-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rn-m .rn-cities a { min-height: 64px; padding: 8px 12px; }

/* Page not found (views/errors/error.tpl) */
.rn .rn-404 { max-width: 880px; padding-top: 56px; padding-bottom: 72px; }
.rn .rn-404-code { margin: 0 0 6px; color: var(--rn-accent); font-size: 15px; font-weight: 800; line-height: 20px; letter-spacing: .08em; }
.rn .rn-404 h1 { margin: 0 0 12px; color: var(--rn-ink); font-size: 40px; font-weight: 800; line-height: 48px; letter-spacing: -.01em; }
.rn .rn-404-sub { max-width: 640px; margin: 0 0 24px; color: var(--rn-muted); font-size: 17px; line-height: 27px; }
.rn .rn-404-search { max-width: 640px; margin: 0 0 32px; }
.rn .rn-404-go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 36px; padding: 0; list-style: none; }
.rn .rn-404-go a { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 76px; padding: 12px 18px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; text-decoration: none !important; }
.rn .rn-404-go a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-404-go b { color: var(--rn-ink); font-size: 17px; line-height: 23px; }
.rn .rn-404-go span { color: var(--rn-muted); font-size: 14px; line-height: 20px; }
.rn .rn-404-h2 { margin: 0 0 12px; color: var(--rn-ink); font-size: 20px; font-weight: 700; line-height: 26px; }
.rn .rn-404-states { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.rn .rn-404-states a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 18px; background: #fff; color: var(--rn-ink) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.rn .rn-404-states a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-404-more { margin: 0; color: var(--rn-faint); font-size: 15px; }
.rn .rn-404-more a { font-weight: 600; }
.rn-m .rn-404 { padding-top: 28px; padding-bottom: 32px; }
.rn-m .rn-404 h1 { font-size: 28px; line-height: 35px; }
.rn-m .rn-404-sub { font-size: 15.5px; line-height: 24px; margin-bottom: 18px; }
.rn-m .rn-404-search { margin-bottom: 24px; }
.rn-m .rn-404-go { grid-template-columns: 1fr; gap: 8px; margin-bottom: 28px; }
.rn-m .rn-404-go a { min-height: 64px; padding: 10px 14px; }
.rn-m .rn-404-states a { height: 40px; }

/* Search results (views/public/search_page.tpl) */
.rn .rn-ssearch { margin: 4px 0 24px; max-width: 640px; }
.rn .rn-ssearch input { flex: 1; width: auto; height: 48px; font-size: 16px; }
.rn .rn-ssearch .rn-btn { height: 48px; padding: 0 18px; }
.rn .rn-splaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rn .rn-splaces a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid var(--rn-line); border-radius: 10px; background: #fff; text-decoration: none !important; }
.rn .rn-splaces a:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-splaces b { color: var(--rn-ink); font-size: 16px; }
.rn .rn-splaces span { color: var(--rn-muted); font-size: 13.5px; }
.rn-m .rn-splaces { grid-template-columns: 1fr; }
.rn-m .rn-ssearch { margin: 0 0 18px; }

/* Experts (views/public/experts_page.tpl, expert_page.tpl) */
.rn .rn-xp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rn .rn-xp-one { display: flex; gap: 24px; align-items: flex-start; margin: 0 0 32px; }
.rn .rn-xp-ph { flex: 0 0 180px; width: 180px; height: 180px; border-radius: 50%; object-fit: cover; }
.rn .rn-mstack { display: block; }
@media (max-width: 720px) { .rn .rn-xp-grid { grid-template-columns: 1fr; } .rn .rn-xp-one { flex-direction: column; } }
.rn-m .rn-xp-grid { grid-template-columns: 1fr; }
.rn-m .rn-xp-one { flex-direction: column; align-items: center; }
.rn-m .rn-xp-ph { width: 140px; height: 140px; flex-basis: 140px; }

/* A home for sale / rental (views/public/showcase_page.tpl, home and rental pages) */
.rn .rn-hd { margin: 4px 0 18px; padding: 20px 22px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-hd-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.rn .rn-hd-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: #e8f4ee; color: var(--rn-green); font-size: 12.5px; font-weight: 700; }
.rn .rn-hd-t { margin: 8px 0 4px; color: var(--rn-ink); font-size: 24px; font-weight: 800; line-height: 30px; }
.rn .rn-hd-place { color: var(--rn-muted); font-size: 15px; line-height: 21px; }
.rn .rn-hd-price { color: var(--rn-ink); font-size: 30px; font-weight: 800; line-height: 36px; white-space: nowrap; }
.rn .rn-hd-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #eef2f5; list-style: none; }
.rn .rn-hd-facts li { display: flex; flex-direction: column; gap: 1px; }
.rn .rn-hd-facts b { color: var(--rn-ink); font-size: 20px; line-height: 26px; }
.rn .rn-hd-facts span { color: var(--rn-muted); font-size: 13.5px; }
.rn .rn-hd-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.rn .rn-hd-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eef2f5; font-size: 15px; line-height: 21px; }
.rn .rn-hd-dl dt { flex: 0 0 auto; color: var(--rn-muted); font-weight: 500; }
.rn .rn-hd-dl dd { margin: 0; color: var(--rn-ink); text-align: right; }
.rn .rn-sc-staff { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--rn-text) !important; text-decoration: none !important; }
.rn .rn-sc-staff img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.rn .rn-sc-staff span { display: flex; flex-direction: column; font-size: 14px; }
.rn .rn-sc-staff b { color: var(--rn-ink); font-size: 15px; }
.rn .rn-sc-staff em { color: var(--rn-muted); font-style: normal; }
.rn .rn-sc-who { margin: 0; font-size: 14.5px; }
@media (max-width: 720px) { .rn .rn-hd-dl { grid-template-columns: 1fr; } }
.rn-m .rn-hd { padding: 16px; }
.rn-m .rn-hd-t { font-size: 21px; line-height: 27px; }
.rn-m .rn-hd-price { font-size: 25px; line-height: 31px; }
.rn-m .rn-hd-facts { gap: 10px 20px; }
.rn-m .rn-hd-dl { grid-template-columns: 1fr; }
.rn-m .rn-hd-dl div { font-size: 15.5px; }
.rn .rn-hd-feat { background: #fdeee2; color: var(--rn-accent-2); }
.rn .rn-hd-hl { margin-top: 8px; }
.rn .rn-hd-vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rn .rn-hd-vid { margin: 0; }
.rn .rn-hd-vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.rn .rn-hd-vid figcaption { margin: 6px 0 0; color: var(--rn-muted); font-size: 14px; }
.rn-m .rn-hd-vids { grid-template-columns: 1fr; }

/* ---------- request-information form (/{region}/community/info/{slug}/: home packet, community report, questions) ---------- */
.rn .rn-rq { margin: 0 0 28px; padding: 24px 28px 28px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #fff; box-shadow: var(--rn-shadow); }
.rn .rn-rq-h { margin: 0 0 20px; }
.rn .rn-rq-h h2 { margin: 0 0 8px; font-size: 24px; line-height: 30px; }
.rn .rn-rq-item { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--rn-ink); font-size: 16px; line-height: 22px; }
.rn .rn-rq-item .rn-ico { width: 18px; height: 18px; color: var(--rn-accent); }
.rn .rn-rq-item b { margin-left: 6px; color: var(--rn-green); font-weight: 700; }
.rn .rn-rq-in { margin: 0; color: var(--rn-muted); font-size: 15px; line-height: 22px; }
.rn .rn-rq-err { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #f2c9c9; border-radius: 10px; background: #fdf0f0; color: #9b1c1c; font-size: 14.5px; line-height: 20px; }
.rn .rn-rq-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rn .rn-rq-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.rn .rn-rq-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rn .rn-rq-half { grid-column: span 3; }
.rn .rn-rq-third { grid-column: span 2; }
.rn .rn-rq-full { grid-column: 1 / -1; }
.rn .rn-rq-f > label { margin: 0; color: var(--rn-ink); font-size: 14px; font-weight: 600; line-height: 18px; }
.rn .rn-rq-f > label i { margin-left: 4px; color: var(--rn-faint); font-size: 12.5px; font-style: normal; font-weight: 500; }
.rn .rn-rq-f input[type="text"], .rn .rn-rq-f input[type="email"], .rn .rn-rq-f input[type="tel"], .rn .rn-rq-f select, .rn .rn-rq-f textarea { width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid #cfd9e2; border-radius: 9px; background-color: #fff; color: var(--rn-ink); font-size: 16px; line-height: 22px; }
.rn .rn-rq-f select { padding-right: 32px; }
.rn .rn-rq-f textarea { height: 112px; padding: 10px 12px; resize: vertical; }
.rn .rn-rq-f input:focus, .rn .rn-rq-f select:focus, .rn .rn-rq-f textarea:focus { border-color: var(--rn-blue-2); outline: 0; box-shadow: 0 0 0 3px rgba(59, 114, 159, .18); }
.rn .rn-rq-f.bad input, .rn .rn-rq-f.bad select, .rn .rn-rq-f.bad textarea { border-color: #d64545; }
.rn .rn-rq-e { color: #b3261e; font-size: 13px; line-height: 18px; }
.rn .rn-rq-check { display: flex; align-items: center; gap: 10px; min-height: 24px; color: var(--rn-ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.rn .rn-rq-caprow { display: flex; align-items: center; gap: 12px; }
.rn .rn-rq-caprow img { flex: 0 0 120px; width: 120px; height: 40px; border: 1px solid var(--rn-line); border-radius: 6px; }
.rn .rn-rq-caprow input { max-width: 200px; }
.rn .rn-rq-hint { color: var(--rn-muted); font-size: 13px; line-height: 18px; }
.rn .rn-rq-foot { display: flex; align-items: center; gap: 20px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rn-line); }
.rn .rn-rq-foot .rn-btn { flex: 0 0 auto; height: 48px; padding: 0 24px; font-size: 16px; }
.rn .rn-rq-foot p { margin: 0; color: var(--rn-muted); font-size: 13px; line-height: 18px; }
.rn .rn-rq-done { padding: 12px 0 4px; text-align: center; }
.rn .rn-rq-tick { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #e6f4ea; }
.rn .rn-rq-tick::after { content: ""; position: absolute; left: 19px; top: 17px; width: 18px; height: 10px; border-left: 3px solid var(--rn-green); border-bottom: 3px solid var(--rn-green); transform: rotate(-45deg); }
.rn .rn-rq-done h3 { margin: 0 0 6px; font-size: 22px; line-height: 28px; }
.rn .rn-rq-done p { max-width: 520px; margin: 0 auto 20px; color: var(--rn-text); font-size: 16px; line-height: 24px; }
.rn .rn-rq-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rn .rn-rq-acts .rn-btn { height: 46px; }
.rn .rn-rq-side .rn-rq-ph { display: block; width: 100%; height: 180px; margin: 0 0 4px; border-radius: 8px; object-fit: cover; }
.rn-m .rn-rq { padding: 18px 16px 20px; }
.rn-m .rn-rq-h h2 { font-size: 21px; line-height: 27px; }
.rn-m .rn-rq-grid { grid-template-columns: 1fr; gap: 14px; }
.rn-m .rn-rq-half, .rn-m .rn-rq-third { grid-column: 1 / -1; }
.rn-m .rn-rq-foot { flex-direction: column; align-items: stretch; gap: 12px; }
.rn-m .rn-rq-foot .rn-btn { width: 100%; }
.rn-m .rn-rq-acts .rn-btn { width: 100%; }
@media (max-width: 767px) { .rn .rn-rq-half, .rn .rn-rq-third { grid-column: 1 / -1; } }

/* ---------- a photo that failed to load: the "Photo coming soon" placeholder (set in public/layout/_head.tpl) ---------- */
.rn img.rn-img-ph { background: #eef2f6; object-fit: cover; object-position: center; }


/* ---------- community Location tab: the map (rn.js loads Leaflet + OpenStreetMap when it scrolls into view) ---------- */
.rn .rn-sc-mapbox { margin: -12px 0 28px; }
.rn .rn-sc-map { position: relative; z-index: 0; height: 420px; overflow: hidden; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: #eef2f6; }
.rn .rn-sc-map-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--rn-muted); font-size: 14px; }
.rn .rn-sc-map .leaflet-popup-content { margin: 10px 12px; font-family: inherit; font-size: 14px; line-height: 20px; }
.rn .rn-sc-map .leaflet-popup-content b { display: block; color: var(--rn-ink); font-size: 14.5px; }
.rn .rn-sc-map .leaflet-popup-content span { color: var(--rn-green); font-weight: 700; }
.rn .rn-sc-map .leaflet-popup-content a { display: inline-block; margin-top: 4px; font-weight: 600; }
.rn .rn-sc-map .leaflet-container a.leaflet-popup-close-button { width: 24px; height: 24px; }
.rn .rn-sc-pin { width: 30px; height: 30px; }
.rn .rn-sc-pin svg { display: block; width: 30px; height: 30px; filter: drop-shadow(0 1px 2px rgba(16, 38, 58, .35)); }
.rn .rn-sc-map-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 0; color: var(--rn-muted); font-size: 13.5px; line-height: 20px; }
.rn .rn-sc-map-key span { display: inline-flex; align-items: center; gap: 8px; }
.rn .rn-sc-map-key i { display: inline-block; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 50%; }
.rn .rn-key-c { background: var(--rn-blue); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rn-blue); }
.rn .rn-key-h { background: var(--rn-accent); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--rn-accent); }
.rn-m .rn-sc-map { height: 320px; }
.rn-m .rn-sc-mapbox { margin-top: -8px; }

/* ---------- photo gallery: arrows and count on the big photo, and the full-screen viewer (web/s/rn.js) ---------- */
.rn .rn-gal-frame { position: relative; }
.rn .rn-gal-main { cursor: zoom-in; }
.rn .rn-gal-nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(16, 38, 58, .25); color: var(--rn-ink); cursor: pointer; }
.rn .rn-gal-nav:hover { background: #fff; }
.rn .rn-gal-nav .rn-ico { width: 22px; height: 22px; stroke-width: 2.4; }
.rn .rn-gal-prev { left: 12px; }
.rn .rn-gal-next { right: 12px; }
.rn .rn-gal-n { position: absolute; top: 12px; right: 12px; z-index: 2; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(16, 26, 36, .7); color: #fff; font-size: 13px; font-weight: 600; line-height: 28px; pointer-events: none; }
html.rn-lb-open, html.rn-lb-open body { overflow: hidden; }
.rn-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 16, 24, .97); }
.rn-lb[hidden] { display: none; }
.rn-lb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 12px 0 20px; color: #fff; font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.rn-lb-x { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 32px; line-height: 44px; cursor: pointer; }
.rn-lb-x:hover { background: rgba(255, 255, 255, .12); }
.rn-lb-stage { position: absolute; top: 56px; bottom: 56px; left: 72px; right: 72px; display: flex; align-items: center; justify-content: center; }
.rn-lb-stage img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.rn-lb-nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.rn-lb-nav:hover { background: rgba(255, 255, 255, .26); }
.rn-lb-nav .rn-ico { width: 26px; height: 26px; stroke-width: 2.4; }
.rn-lb-prev { left: 12px; }
.rn-lb-next { right: 12px; }
.rn-lb-one .rn-lb-nav { display: none; }
.rn-lb-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; padding: 0 20px; overflow: hidden; color: rgba(255, 255, 255, .85); font: 400 14px/56px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.rn-lb-nav .rn-ico, .rn-gal-nav .rn-ico { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
    .rn-lb-stage { left: 0; right: 0; }
    .rn-lb-nav { top: auto; bottom: 6px; margin-top: 0; width: 44px; height: 44px; }
    .rn-lb-cap { padding: 0 64px; }
    .rn .rn-gal-nav { width: 38px; height: 38px; margin-top: -19px; }
}

/* ======================================================================
   Restored features from the old pages (2026-11-28): member actions, account menu, email-to-a-friend dialog, pet badge,
   street address, sidebar promos / Top 100 badge / featured communities, compare homes, company state links, featured region
   ====================================================================== */
/* account (header) */
.rn .rn-signin, .rn .rn-acct-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--rn-line); border-radius: 8px; background: #fff; color: var(--rn-ink) !important; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none !important; cursor: pointer; }
.rn .rn-signin:hover, .rn .rn-acct-btn:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-signin .rn-ico, .rn .rn-acct-btn .rn-ico { width: 16px; height: 16px; flex: 0 0 16px; }
.rn .rn-acct-menu { min-width: 230px; padding: 6px 0; border: 1px solid var(--rn-line); border-radius: 10px; box-shadow: var(--rn-shadow); font-size: 14px; }
.rn .rn-acct-menu .dropdown-item { padding: 8px 16px; color: var(--rn-text); line-height: 20px; }
.rn .rn-acct-menu .dropdown-item:hover { background: var(--rn-tint); color: var(--rn-ink); }
.rn .rn-acct-who { padding: 6px 16px 8px; color: var(--rn-muted); font-size: 13px; line-height: 18px; }
.rn .rn-acct-who b { color: var(--rn-ink); }
@media (max-width: 1199px) { .rn .rn-signin span, .rn .rn-acct-btn span { display: none; } .rn .rn-signin, .rn .rn-acct-btn { width: 36px; padding: 0; justify-content: center; } .rn .rn-acct-btn .rn-ico + span + .rn-ico { display: none; } }

/* save / favorite / email / recommend buttons */
.rn .rn-act { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--rn-line); border-radius: 8px; background: #fff; color: var(--rn-ink); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; }
.rn .rn-act:hover { border-color: var(--rn-blue-3); background: var(--rn-tint); }
.rn .rn-act .rn-ico { width: 17px; height: 17px; flex: 0 0 17px; color: var(--rn-blue); }
.rn .rn-act.on { border-color: #b9dcc8; background: #eef8f2; color: var(--rn-green); cursor: default; }
.rn .rn-act.on .rn-ico { color: var(--rn-green); fill: currentColor; }
.rn .rn-act:disabled { opacity: .6; }
.rn .rn-sc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rn .rn-art-acts { margin: 14px 0 0; }
.rn .rn-lhead-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.rn .rn-lhead-acts .rn-staff-edit { position: static; }
.rn .rn-mtools .rn-act-ic { height: 40px; padding: 0 12px; }

/* street address and pets on community cards */
.rn .rn-lc-place .rn-lc-street { color: var(--rn-text); }
.rn .rn-pet { margin: 2px 0 0; color: var(--rn-green); font-size: 13.5px; font-weight: 600; line-height: 20px; }
.rn .rn-pet .rn-ico { width: 16px; height: 16px; margin: -2px 6px 0 0; vertical-align: middle; }
.rn .rn-pet summary { display: inline-flex; align-items: center; list-style: none; cursor: pointer; }
.rn .rn-pet summary::-webkit-details-marker { display: none; }
.rn .rn-pet summary span { margin-left: 8px; color: var(--rn-blue); font-weight: 500; text-decoration: underline; }
.rn .rn-pet[open] summary span { text-decoration: none; }
.rn .rn-pet p { max-width: 520px; margin: 6px 0 4px; padding: 10px 12px; border: 1px solid #cfe6d9; border-radius: 8px; background: #f4faf6; color: var(--rn-text); font-size: 13.5px; font-weight: 400; line-height: 20px; }

/* sidebar: branded org promo, Top 100 badge, featured communities, recommend an expert */
.rn .rn-promo { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border: 2px solid var(--rn-promo, var(--rn-blue)); border-radius: var(--rn-radius); background: #fff; text-align: center; text-decoration: none !important; }
.rn .rn-promo:hover { background: var(--rn-soft); }
.rn .rn-promo img { max-width: 200px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.rn .rn-promo-t { color: var(--rn-ink); font-size: 15px; font-weight: 700; line-height: 21px; }
.rn .rn-promo-go { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; background: var(--rn-promo, var(--rn-blue)); color: #fff; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.rn .rn-promo-go .rn-ico { width: 15px; height: 15px; }
.rn .rn-top100 { display: block; border-radius: var(--rn-radius); overflow: hidden; }
.rn .rn-top100 img { display: block; width: 100%; height: auto; }
.rn .rn-sfeat { padding-bottom: 6px; }
.rn .rn-sfc { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rn-line); }
.rn .rn-sfc:first-of-type { border-top: 0; padding-top: 4px; }
.rn .rn-sfc-ph img { display: block; width: 96px; height: 72px; border-radius: 8px; object-fit: cover; background: var(--rn-soft); }
.rn .rn-sfc h3 { margin: 0 0 2px; font-size: 14.5px; font-weight: 700; line-height: 19px; }
.rn .rn-sfc h3 a { color: var(--rn-ink) !important; text-decoration: none !important; }
.rn .rn-sfc h3 a:hover { color: var(--rn-blue) !important; }
.rn .rn-sfc-at { color: var(--rn-muted); font-size: 12.5px; line-height: 17px; }
.rn .rn-sfc-n { margin-top: 3px; color: var(--rn-text); font-size: 12.5px; line-height: 17px; }
.rn .rn-recx p { margin: 0 0 12px; color: var(--rn-text); font-size: 14px; line-height: 21px; }
.rn .rn-recx .rn-btn { height: 38px; margin-bottom: 8px; padding: 0 14px; font-size: 14px; }
.rn .rn-mside > * + * { margin-top: 16px; }

/* company pages: per-state links */
.rn .rn-org-all { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: -4px 0 14px; font-size: 14.5px; font-weight: 600; line-height: 20px; }
.rn .rn-org-all a { display: inline-flex; align-items: center; gap: 5px; color: var(--rn-blue) !important; }
.rn .rn-org-all .rn-ico { width: 15px; height: 15px; }

/* places: featured region, popular areas, all cities */
.rn .rn-pfeat { padding: 18px 20px; border: 1px solid var(--rn-line); border-radius: var(--rn-radius); background: var(--rn-soft); }
.rn .rn-pfeat-k { display: block; margin-bottom: 2px; color: var(--rn-accent); font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; }
.rn .rn-pfeat h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 28px; }
.rn .rn-pfeat h2 a { color: var(--rn-ink) !important; }
.rn .rn-pfeat-b p { max-width: 820px; margin: 0 0 10px; color: var(--rn-text); font-size: 15px; line-height: 23px; }
.rn .rn-pfeat-go { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }
.rn .rn-pfeat-go a { display: inline-flex; align-items: center; gap: 5px; }
.rn .rn-pfeat-go .rn-ico { width: 15px; height: 15px; }
.rn .rn-pfeat-pop { margin-top: 12px; color: var(--rn-text); font-size: 14.5px; line-height: 22px; }
.rn .rn-pfeat-b + .rn-pfeat-pop { padding-top: 12px; border-top: 1px solid var(--rn-line); }
.rn .rn-place-more { display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* compare homes */
.rn .rn-cmp { display: inline-flex; align-items: center; gap: 6px; height: 40px; margin: 0; color: var(--rn-text); font-size: 14px; font-weight: 600; cursor: pointer; }
.rn .rn-cmp input { width: 17px; height: 17px; margin: 0; accent-color: var(--rn-blue); }
.rn .rn-cmpbar { position: fixed; left: 50%; bottom: 18px; z-index: 1040; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px); padding: 10px 12px 10px 18px; border: 1px solid var(--rn-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(16, 38, 58, .18); transform: translateX(-50%); }
.rn .rn-cmpbar[hidden] { display: none; }
.rn .rn-cmpbar form { margin: 0; }
.rn .rn-cmpbar .rn-btn { height: 40px; padding: 0 16px; font-size: 14px; }
.rn .rn-cmpbar-t { color: var(--rn-ink); font-size: 14px; font-weight: 600; line-height: 20px; }
@media (max-width: 767px) { .rn .rn-cmpbar { bottom: 74px; flex-wrap: wrap; justify-content: center; text-align: center; } }

/* email-to-a-friend dialog (light dialog, dimmed page behind it, opens at once) */
.rn .rn-modal .modal-content { border: 0; border-radius: 14px; box-shadow: 0 12px 40px rgba(16, 38, 58, .25); }
.rn .rn-modal .modal-header { padding: 18px 22px 10px; border-bottom: 0; }
.rn .rn-modal .modal-title { margin: 0; color: var(--rn-ink); font-size: 20px; font-weight: 800; line-height: 26px; }
.rn .rn-modal .modal-body { padding: 4px 22px 8px; }
.rn .rn-modal .modal-footer { gap: 8px; padding: 10px 22px 18px; border-top: 0; }
.rn .rn-modal .modal-footer .rn-btn { height: 42px; margin: 0; }
.rn .rn-tell-what { margin: 0 0 14px; color: var(--rn-text); font-size: 14.5px; line-height: 21px; }
.rn .rn-field { margin: 0 0 12px; }
.rn .rn-field label { display: block; margin: 0 0 5px; color: var(--rn-ink); font-size: 14px; font-weight: 600; line-height: 18px; }
.rn .rn-field label span { color: var(--rn-faint); font-weight: 400; }
.rn .rn-field .form-control { height: 42px; border-color: var(--rn-line); border-radius: 8px; font-size: 15px; }
.rn .rn-field textarea.form-control { height: auto; min-height: 84px; }
.rn .rn-field .form-control:focus { border-color: var(--rn-blue-3); box-shadow: 0 0 0 3px var(--rn-tint); }
.rn .rn-ferr { color: #b3261e; font-size: 13px; line-height: 18px; }
.rn .rn-ferr:empty { display: none; }
.rn .rn-tell-done { padding: 10px 12px; border-radius: 8px; background: #eef8f2; color: var(--rn-green); font-size: 14px; font-weight: 600; }
.rn .rn-tell-bad { padding: 10px 12px; border-radius: 8px; background: #fdf0f0; color: #b3261e; font-size: 14px; }
.rn .rn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header: "List your community" (the sign-up, /advertise/) next to Sign in */
.rn .rn-list-cta { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; color: var(--rn-blue) !important; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none !important; }
.rn .rn-list-cta:hover { background: var(--rn-tint); }
/* Up to 1519px wide there isn't room for all four: the phone shows as its icon and the search is narrower (measured: 143px short at 1366) */
@media (min-width: 1200px) and (max-width: 1519px) { .rn .rn-head-right:has(.rn-list-cta) .rn-phone span { display: none; } .rn .rn-head-right:has(.rn-list-cta) .rn-head-search { width: 240px; } }
@media (max-width: 1199px) { .rn .rn-list-cta { display: none; } }

/* Profile picture in the account button (set on /account/profile/) */
.rn-acct-btn .rn-acct-pic { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; object-fit: cover; }
