/* The rent pages (/rent, /rent/<slug>, /rent/<slug>/<band>) — loaded after
   style.css and areas.css, built only from their tokens. A card is one
   link: one photo, the rent, the size, the value badge (green = below). */

.rent-updated { font-size: var(--t-small); color: var(--ink-soft); margin: 0 0 24px; }

.rent-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: 14px;
}
.rent-card { min-width: 0; }
.rent-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 44px;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    overflow: hidden;
}
.rent-card-link:hover { border-color: var(--ink-soft); }
.rent-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--paper);
}
.rent-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px 14px;
}
.rent-rent b { font-size: 1.25rem; }
.rent-spec, .rent-size { font-size: var(--t-small); }
.rent-spec { color: var(--ink-soft); }
.rent-value { font-size: var(--t-small); color: var(--value); font-weight: 600; }
.rent-age { font-size: var(--t-small); color: var(--ink-soft); }
.rent-pick { font-size: var(--t-small); color: var(--ink); }

.rent-more p { margin: 0 0 10px; }
.rent-more a:not(.btn), .rent-more-link a, .rent-links a {
    color: var(--ink);
    text-underline-offset: 2px;
}
.rent-more .btn { text-decoration: none; }
.rent-more-link { margin: 12px 0 0; }
.rent-more-link a, .rent-more a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.rent-links {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
}
.rent-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.rent-page h3 {
    font-size: var(--t-body);
    font-weight: 600;
    margin: 12px 0 0;
}

/* A long button label wraps on a phone; every link is a 44px target. */
.rent-more .btn {
    white-space: normal;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
@media (hover: none) {
    .rent-more .btn { line-height: 1.3; padding-top: 8px; padding-bottom: 8px; }
}
.rent-page .area-crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

/* The page's own alert button, in the content: two lines in one button as
   in the top bar, a 44px target, and a long label wraps on a phone. */
.rent-cta { align-items: center; gap: 6px 16px; margin: 0 0 28px; }
.rent-cta .btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
@media (hover: none) {
    /* Its two lines set their own heights: no padding from .area-actions. */
    .rent-cta .btn { padding-top: 0; padding-bottom: 0; }
}
.rent-cta .cta-main { line-height: 1.4; }
.rent-cta .cta-sub {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: none;
    opacity: 0.85;
}
.rent-cta .alt-tg { display: inline-flex; align-items: center; min-height: 44px; }
