/* Cards of the demo list (docs/_includes/demo_cards.html). */
.demo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    margin: 1rem 0 1.5rem;
}
.demo-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.demo-card:hover {
    border-color: #7253ed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}
.demo-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid #eaeef2;
}
.demo-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.85rem 0.85rem;
}
.demo-card-title {
    font-weight: 600;
    color: #7253ed;
}
.demo-card-open {
    margin-left: 0.35rem;
    font-size: 0.85em;
}
.demo-card-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444d56;
}
