.r20-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin: 24px 0;
}

.r20-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    background: #fff;
    transition: box-shadow 0.22s, transform 0.22s;
}

.r20-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    transform: translateY(-3px);
    text-decoration: none !important;
    color: inherit !important;
}

/* ── Photo ── */

.r20-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.r20-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.r20-card:hover .r20-card-image img {
    transform: scale(1.04);
}

/* ── Body ── */

.r20-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.r20-card-avail {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.5;
    color: inherit;
}

.r20-card-address {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: inherit;
}

.r20-card-city {
    font-size: 0.95rem;
    margin: 0 0 8px;
    opacity: 0.55;
    color: inherit;
}

/* ── Meta row ── */

.r20-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    flex-wrap: wrap;
}

.r20-card-meta span {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit !important;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 13px;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
}

.r20-card-price {
    margin-left: auto;
    background: transparent !important;
    padding: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
}

.r20-card-cta {
    display: block;
    margin-top: 14px;
    padding: 10px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid currentColor;
    border-radius: 6px;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.r20-card:hover .r20-card-cta {
    opacity: 1;
}

@media (max-width: 600px) {
    .r20-featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Skeleton loader ── */

@keyframes r20Shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

.r20-card-skeleton {
    pointer-events: none;
    cursor: default;
    box-shadow: none;
}

.r20-card-skeleton:hover {
    transform: none;
    box-shadow: none;
}

.r20-skeleton-img,
.r20-skeleton-line,
.r20-skeleton-meta {
    background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%);
    background-size: 800px 100%;
    animation: r20Shimmer 1.4s infinite linear;
    border-radius: 4px;
}

.r20-skeleton-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0;
}

.r20-skeleton-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.r20-skeleton-line {
    height: 14px;
    width: 100%;
}

.r20-skeleton-line--sm {
    height: 10px;
    width: 55%;
}

.r20-skeleton-meta {
    height: 28px;
    width: 70%;
    margin-top: 6px;
}

/* ── Error message ── */

.r20-error {
    padding: 20px;
    opacity: 0.5;
    font-style: italic;
    text-align: center;
}

/* ── Scroll / carousel mode ── */

.r20-featured-grid--scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 24px;
    padding-bottom: 4px;
}

.r20-featured-grid--scroll::-webkit-scrollbar {
    display: none;
}

.r20-featured-grid--scroll .r20-card {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

@media (max-width: 860px) {
    .r20-featured-grid--scroll .r20-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 560px) {
    .r20-featured-grid--scroll .r20-card {
        flex: 0 0 100%;
    }
}

.r20-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.r20-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
    color: inherit;
}

.r20-nav-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.r20-nav-btn:disabled {
    opacity: 0.25;
    cursor: default;
}
