/* Home-only sizing. Values remain responsive to the carousel width set in the main palette CSS. */
html[data-color-policy="light-only"] .home-card-carousel {
    --showcase-ratio: .47;
    --uniform-width: min(var(--card-width), calc(var(--art-height) * var(--showcase-ratio)));
    --uniform-height: calc(var(--uniform-width) / var(--showcase-ratio));
}
.home-card-viewport { height: calc(var(--uniform-height) + 18px); }
.home-design-card {
    width: var(--uniform-width); height: var(--uniform-height);
    filter: drop-shadow(0 9px 10px rgb(32 35 65 / 12%));
}
.home-design-art { position: relative; overflow: hidden; }
.home-design-art img { width: 100%; max-width: none; height: 100%; filter: none; }
.home-design-art img[data-media-normalized] {
    position: absolute; object-fit: fill;
    width: var(--media-width); height: var(--media-height);
    left: var(--media-left); top: var(--media-top);
}
.home-card-auto {
    min-width: 60px; min-height: 42px; padding: 0 12px;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--primary-soft); color: var(--primary); cursor: pointer;
    font: inherit; font-size: 11px; font-weight: 700;
}
.home-card-auto[hidden] { display: none; }
