/* Public property listings (Views/Listings, _ListingsLayout)
   Colour system: one brand green (from the logo) in a few steps, one cool neutral scale,
   and a single warm accent that is only used for "Reserved". */

:root {
    /* brand: emerald green */
    --re-brand-950: #062b1d;
    --re-brand-900: #0a3a28;
    --re-brand-700: #0f6b45;
    --re-brand-600: #12804f;
    --re-brand-500: #1a9a5f;
    --re-brand-100: #dcf1e5;
    --re-brand-50: #eff8f2;

    /* neutrals: cool grey */
    --re-ink: #101828;
    --re-ink-2: #475467;
    --re-ink-3: #667085;
    --re-ink-4: #98a2b3;
    --re-line: #e4e7ec;
    --re-line-2: #f0f2f5;
    --re-surface: #ffffff;
    --re-page: #f6f7f9;

    /* accent: amber, only for reserved */
    --re-amber-700: #a15c07;
    --re-amber-50: #fef6e7;

    --re-radius: 14px;
    --re-radius-sm: 10px;
    --re-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --re-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
    --re-shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .16), 0 4px 8px -4px rgba(16, 24, 40, .06);
    --re-ring: 0 0 0 4px rgba(18, 128, 79, .14);
    --re-header-h: 68px;
}

body.re-site {
    font-family: 'Kantumruy Pro', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--re-ink);
    background: var(--re-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.re-site a { color: inherit; }
.re-site ::selection { background: var(--re-brand-100); }
.re-site .text-secondary { color: var(--re-ink-3) !important; }

/* ---------- buttons & fields ---------- */
.re-site .btn { border-radius: var(--re-radius-sm); font-weight: 600; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
.re-site .btn:focus-visible { box-shadow: var(--re-ring); }
.re-site .btn-brand { background: var(--re-brand-600); border: 1px solid var(--re-brand-600); color: #fff; box-shadow: var(--re-shadow-sm); }
.re-site .btn-brand:hover, .re-site .btn-brand:focus { background: var(--re-brand-700); border-color: var(--re-brand-700); color: #fff; }
/* secondary actions: quiet white button, green only on hover */
.re-site .btn-outline-brand, .re-site .btn-outline-secondary, .re-site .btn-light {
    background: var(--re-surface); border: 1px solid var(--re-line); color: var(--re-ink-2); box-shadow: var(--re-shadow-sm);
}
.re-site .btn-outline-brand:hover, .re-site .btn-outline-secondary:hover, .re-site .btn-light:hover {
    border-color: var(--re-brand-500); color: var(--re-brand-700); background: var(--re-brand-50);
}
.re-site .form-control, .re-site .form-select {
    border: 1px solid var(--re-line); border-radius: var(--re-radius-sm); color: var(--re-ink); background-color: var(--re-surface);
    box-shadow: var(--re-shadow-sm);
}
.re-site .form-control::placeholder { color: var(--re-ink-4); }
.re-site .form-control:focus, .re-site .form-select:focus { border-color: var(--re-brand-500); box-shadow: var(--re-ring); }
.re-site .form-label { color: var(--re-ink-2); font-weight: 500; }
.re-site .alert-success { background: var(--re-brand-50); border-color: var(--re-brand-100); color: var(--re-brand-900); }

/* ---------- header ---------- */
.re-header {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--re-line);
    min-height: var(--re-header-h);
    z-index: 1030;
}
.re-header .navbar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--re-ink); letter-spacing: -.01em; }
.re-header .navbar-brand img { height: 38px; width: auto; }
.re-header.navbar .nav-link { color: var(--re-ink-2); font-weight: 500; padding: .45rem .9rem !important; border-radius: 8px; }
.re-header.navbar .nav-link:hover { color: var(--re-ink); background: var(--re-line-2); }
.re-header.navbar .nav-link.active { color: var(--re-brand-700); background: var(--re-brand-50); }
.re-header .re-phone { color: var(--re-ink-2); font-weight: 500; text-decoration: none; }
.re-header .re-phone i { color: var(--re-brand-600); }
.re-header .dropdown-menu { border: 1px solid var(--re-line); border-radius: 12px; box-shadow: var(--re-shadow-lg); padding: 6px; }
.re-header .dropdown-item { border-radius: 8px; padding: 8px 12px; }
.re-header .dropdown-item.active, .re-header .dropdown-item:active { background: var(--re-brand-50); color: var(--re-brand-700); }

/* ---------- hero ---------- */
.re-hero {
    position: relative;
    color: #fff;
    padding: 80px 0 128px;
    background-color: var(--re-brand-950);
    background-image:
        linear-gradient(100deg, rgba(6, 43, 29, .94) 0%, rgba(6, 43, 29, .82) 45%, rgba(6, 43, 29, .45) 100%),
        var(--re-hero-image, linear-gradient(135deg, var(--re-brand-900), var(--re-brand-950)));
    background-size: cover;
    background-position: center;
}
.re-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
    color: var(--re-brand-100); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.re-hero h1 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.re-hero p.lead { color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 680px; text-wrap: balance; }

.re-search {
    position: relative; z-index: 2;
    margin-top: -88px;
    background: var(--re-surface);
    border: 1px solid var(--re-line);
    border-radius: 18px;
    box-shadow: var(--re-shadow-lg);
    padding: 20px;
}
.re-tabs { display: inline-flex; gap: 2px; background: var(--re-line-2); padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.re-tabs input { display: none; }
.re-tabs label {
    padding: 7px 22px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--re-ink-3); margin: 0;
    transition: background .15s, color .15s, box-shadow .15s;
}
.re-tabs label:hover { color: var(--re-ink); }
.re-tabs input:checked + label { background: var(--re-surface); color: var(--re-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .1); }
.re-search .input-icon { position: relative; }
.re-search .input-icon i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--re-ink-4); }
.re-search .input-icon .form-control { padding-left: 44px; }
.re-search .form-control, .re-search .form-select, .re-search .btn { height: 52px; }

/* ---------- results toolbar ---------- */
.re-toolbar {
    position: sticky; top: var(--re-header-h); z-index: 1020;
    background: rgba(246, 247, 249, .92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--re-line);
    padding: 14px 0;
}
.re-toolbar .form-select, .re-toolbar .form-control { height: 40px; font-size: .9rem; }
.re-count { font-weight: 700; font-size: 1.1rem; color: var(--re-ink); }
.re-count small { font-weight: 400; color: var(--re-ink-3); font-size: .95rem; margin-left: 2px; }
.re-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px;
    background: var(--re-surface); border: 1px solid var(--re-line); color: var(--re-ink-2);
    font-size: .85rem; font-weight: 500; text-decoration: none; box-shadow: var(--re-shadow-sm);
}
.re-chip i {
    width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: .6rem; background: var(--re-line-2); color: var(--re-ink-3);
}
.re-chip:hover { border-color: var(--re-brand-500); color: var(--re-ink); }
.re-chip:hover i { background: var(--re-brand-100); color: var(--re-brand-700); }
.re-clear { color: var(--re-ink-3); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.re-clear:hover { color: var(--re-brand-700); }

/* ---------- cards ---------- */
.re-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); }
.re-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); overflow: hidden;
    box-shadow: var(--re-shadow); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.re-card:hover { box-shadow: var(--re-shadow-lg); transform: translateY(-3px); border-color: #d0d5dd; }
.re-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--re-line-2); }
.re-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.re-card:hover .re-card-media img { transform: scale(1.06); }
.re-card-media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 35%;
    background: linear-gradient(to top, rgba(16, 24, 40, .35), transparent);
}

/* badges: one neutral style for the listing type, colour only for status */
.re-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; flex-wrap: wrap; }
.re-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .74rem; font-weight: 600; letter-spacing: .01em; padding: 4px 10px; border-radius: 999px;
    background: rgba(16, 24, 40, .62); color: #fff; backdrop-filter: blur(6px);
}
.re-badge.sale::before, .re-badge.rent::before, .re-badge.both::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8;
}
.re-badge.new { background: var(--re-brand-600); color: #fff; }
.re-badge.reserved { background: var(--re-amber-50); color: var(--re-amber-700); }
/* on a white background (detail page) the type badge becomes an outlined pill */
.re-detail-title .re-badge.sale, .re-detail-title .re-badge.rent, .re-detail-title .re-badge.both {
    background: var(--re-brand-50); color: var(--re-brand-700); backdrop-filter: none;
}
.re-detail-title .re-badge::before { background: var(--re-brand-500); }

.re-photo-count {
    position: absolute; right: 12px; bottom: 12px; z-index: 1; color: #fff; font-size: .78rem; font-weight: 600;
    background: rgba(16, 24, 40, .55); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 999px;
}
.re-card-body { padding: 16px 18px 4px; flex: 1; }
.re-price { font-size: 1.3rem; font-weight: 700; color: var(--re-ink); line-height: 1.25; letter-spacing: -.01em; }
.re-price small { font-size: .85rem; font-weight: 500; color: var(--re-ink-3); letter-spacing: 0; }
.re-price-alt { font-size: .85rem; color: var(--re-ink-3); margin-top: 2px; }
.re-card-title {
    font-size: 1rem; font-weight: 600; margin: 8px 0 4px; line-height: 1.45; color: var(--re-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.re-card-title a { text-decoration: none; }
.re-card-title a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.re-card-title a:focus-visible { outline: none; }
.re-card:focus-within { box-shadow: var(--re-shadow-lg), var(--re-ring); }
.re-location { color: var(--re-ink-3); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-location i { color: var(--re-ink-4); margin-right: 5px; }
.re-specs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--re-ink-2); font-size: .88rem; }
.re-specs span { display: inline-flex; align-items: center; gap: 6px; }
.re-specs i { color: var(--re-ink-4); width: 16px; text-align: center; }
.re-card-footer {
    display: flex; justify-content: space-between; align-items: center; padding: 12px 18px;
    border-top: 1px solid var(--re-line-2); margin-top: 14px; font-size: .82rem; color: var(--re-ink-3);
}
.re-card-footer .re-more { color: var(--re-brand-700); font-weight: 600; }
.re-card-footer .re-more i { transition: transform .2s; }
.re-card:hover .re-more i { transform: translateX(3px); }

/* ---------- empty state / pagination ---------- */
.re-empty { text-align: center; padding: 64px 16px; background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); }
.re-empty .icon {
    width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--re-brand-50); color: var(--re-brand-600); font-size: 1.6rem; margin-bottom: 16px;
}
.re-pagination .page-link {
    border: 1px solid transparent; margin: 0 3px; border-radius: 10px !important; color: var(--re-ink-2);
    min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: transparent;
}
.re-pagination .page-link:hover { background: var(--re-surface); border-color: var(--re-line); color: var(--re-ink); }
.re-pagination .page-item.active .page-link { background: var(--re-ink); border-color: var(--re-ink); color: #fff; }
.re-pagination .page-item.disabled .page-link { color: var(--re-ink-4); }

/* ---------- details ---------- */
.re-breadcrumb { font-size: .85rem; color: var(--re-ink-4); }
.re-breadcrumb a { color: var(--re-ink-3); text-decoration: none; }
.re-breadcrumb a:hover { color: var(--re-brand-700); }
.re-detail-title h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin: 10px 0 6px; letter-spacing: -.02em; }
.re-detail-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; }

.re-gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: 18px; overflow: hidden; }
.re-gallery button { position: relative; border: 0; padding: 0; overflow: hidden; background: var(--re-line-2); cursor: zoom-in; }
.re-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.re-gallery button:hover img { transform: scale(1.04); filter: brightness(.94); }
.re-gallery .main { grid-row: span 2; }
.re-gallery.count-1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.re-gallery.count-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 460px; }
.re-gallery.count-2 .main, .re-gallery.count-1 .main { grid-row: auto; }
.re-gallery.count-3 { grid-template-columns: 2fr 1fr; }
.re-gallery.count-4 button:nth-child(4) { grid-column: span 2; }
.re-gallery .more {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(16, 24, 40, .5); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.re-gallery-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }

.re-panel { background: var(--re-surface); border: 1px solid var(--re-line); border-radius: var(--re-radius); padding: 24px; }
.re-panel h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.01em; }
.re-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.re-fact { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--re-page); border-radius: 12px; }
.re-fact .icon {
    width: 40px; height: 40px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center;
    background: var(--re-surface); color: var(--re-brand-600); box-shadow: var(--re-shadow-sm); border: 1px solid var(--re-line);
}
.re-fact .label { font-size: .78rem; color: var(--re-ink-3); }
.re-fact .value { font-weight: 600; color: var(--re-ink); }
.re-description { white-space: pre-line; color: var(--re-ink-2); line-height: 1.8; }
.re-map { border: 0; width: 100%; height: 320px; border-radius: 12px; background: var(--re-line-2); }

.re-contact { position: sticky; top: calc(var(--re-header-h) + 16px); box-shadow: var(--re-shadow); }
.re-contact .re-contact-price { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--re-line-2); }
.re-contact .re-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.re-contact .re-agent .avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--re-brand-50); color: var(--re-brand-600);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.re-contact textarea { resize: vertical; }
.re-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.re-section-link { color: var(--re-brand-700); font-weight: 600; text-decoration: none; }
.re-section-link:hover { color: var(--re-brand-600); }

.re-mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--re-line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(16, 24, 40, .06);
}

/* ---------- footer ---------- */
.re-footer { background: var(--re-brand-950); color: rgba(255, 255, 255, .68); padding: 56px 0 24px; margin-top: 72px; }
.re-footer h6 { color: #fff; font-weight: 600; margin-bottom: 16px; font-size: .95rem; }
.re-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .15s; }
.re-footer a:hover { color: #fff; }
.re-footer ul { list-style: none; padding: 0; margin: 0; }
.re-footer li { margin-bottom: 10px; }
.re-footer li i { color: #6ee7a8; width: 18px; }
.re-footer .brand img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.re-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* ---------- map of all properties (Listings/Map) ---------- */
.re-map-layout { display: grid; grid-template-columns: 340px 1fr; gap: 16px; height: calc(100vh - var(--re-header-h) - 110px); min-height: 560px; }
.re-map-canvas { border: 1px solid var(--re-line); border-radius: var(--re-radius); box-shadow: var(--re-shadow); z-index: 0; }
.re-map-list { overflow-y: auto; padding: 16px; }
.re-map-list ul { list-style: none; padding: 0; margin: 0; }
/* the list can grow to thousands of rows: the browser skips laying out the ones scrolled out of view */
.re-map-list li { content-visibility: auto; contain-intrinsic-size: auto 64px; }
.re-map-more { display: flex; justify-content: center; padding: 12px 0; min-height: 44px; color: var(--re-brand-600); }
.re-map-list li a { display: flex; gap: 12px; padding: 8px; border-radius: var(--re-radius-sm); text-decoration: none; }
.re-map-list li a:hover { background: var(--re-line-2); }
.re-map-list li a.active { background: var(--re-brand-50); box-shadow: inset 3px 0 0 var(--re-brand-600); }
.re-map-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--re-line-2); }
.re-map-list li span { display: flex; flex-direction: column; min-width: 0; }
.re-map-list strong { font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-map-list small { color: var(--re-ink-3); font-size: .8rem; }
.re-map-list .re-map-off { color: var(--re-ink-4); }
.re-map-popup { display: flex; flex-direction: column; gap: 3px; width: 240px; font-family: 'Kantumruy Pro', 'Noto Sans SC', system-ui, sans-serif; color: var(--re-ink); }
.re-map-popup a { text-decoration: none; }
.re-map-popup img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.re-map-popup strong { color: var(--re-brand-700); font-size: 1rem; }
.re-map-popup .title { color: var(--re-ink) !important; font-weight: 600; }
.re-map-popup small { color: var(--re-ink-3); }
.re-map-popup small i { color: var(--re-brand-600); }
.re-map-popup .actions { display: flex; gap: 6px; margin-top: 8px; }
.re-map-popup .actions .btn { flex: 1; font-size: .8rem; padding: 5px 8px; white-space: nowrap; }
.re-map-popup .actions .btn-brand { color: #fff !important; }
.re-map-group { width: 260px; max-height: 300px; overflow-y: auto; font-family: 'Kantumruy Pro', 'Noto Sans SC', system-ui, sans-serif; }
.re-map-group-head { font-weight: 700; color: var(--re-ink); padding: 0 4px 8px; border-bottom: 1px solid var(--re-line); margin-bottom: 4px; }
.re-map-group-item { display: flex; gap: 10px; padding: 6px 4px; border-radius: 8px; text-decoration: none; color: var(--re-ink) !important; }
.re-map-group-item:hover { background: var(--re-line-2); }
.re-map-group-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.re-map-group-item span { display: flex; flex-direction: column; min-width: 0; }
.re-map-group-item strong { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-map-group-item small { color: var(--re-brand-700); font-weight: 600; }
.re-map-canvas .leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--re-shadow-lg); }
.re-map-canvas .leaflet-popup-content { margin: 12px; }
.re-pin { background: none; border: 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
/* several nearby properties: a green circle with how many */
.re-cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(18, 128, 79, .25); }
.re-cluster span {
    display: flex; align-items: center; justify-content: center; width: calc(100% - 8px); height: calc(100% - 8px);
    border-radius: 50%; background: var(--re-brand-600); color: #fff; font-weight: 700; font-size: .8rem; box-shadow: var(--re-shadow);
}

@media (max-width: 991.98px) {
    .re-map-layout { grid-template-columns: 1fr; height: auto; }
    .re-map-canvas { order: -1; height: 70vh; min-height: 400px; }
    .re-map-list { overflow: visible; }
    .re-gallery, .re-gallery.count-2, .re-gallery.count-3 { grid-template-columns: 1fr; grid-template-rows: 280px; }
    .re-gallery button:not(.main) { display: none; }
    .re-gallery .main { grid-row: auto; }
    .re-contact { position: static; }
    body.re-has-cta { padding-bottom: 76px; }
    .re-header .navbar-collapse { padding: 8px 0 16px; }
}
@media (max-width: 575.98px) {
    .re-hero { padding: 48px 0 108px; }
    .re-search { padding: 14px; border-radius: 14px; }
    .re-tabs { display: flex; }
    .re-tabs label { flex: 1; text-align: center; padding: 8px 6px; }
    .re-grid { grid-template-columns: 1fr; gap: 18px; }
    .re-toolbar { position: static; }
    .re-panel { padding: 18px; }
    .re-gallery { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .re-card, .re-card-media img, .re-gallery img, .re-more i { transition: none; }
}
