/* Ảnh thật theo từng ngành giúp thẻ demo có cảm giác như một website đang vận hành. */
.theme-library-preview {
    height: 240px;
    isolation: isolate;
    background: var(--preview-bg);
}

.theme-library-preview::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--preview-bg) 95%, transparent) 0%, color-mix(in srgb, var(--preview-bg) 72%, transparent) 47%, rgba(5, 16, 28, .14) 100%);
    content: "";
}

.theme-library-preview-photo {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) contrast(1.04);
    transition: transform .5s ease;
}

.theme-library-card:hover .theme-library-preview-photo { transform: scale(1.055); }

.theme-library-browser {
    background: rgba(6, 16, 29, .24);
    border-bottom-color: rgba(255, 255, 255, .18);
    backdrop-filter: blur(9px);
}

.theme-library-browser span { background: rgba(255, 255, 255, .75); }
.theme-library-preview-copy { top: 67px; }

.theme-library-preview-copy small {
    max-width: 172px;
    color: #fff;
    font-weight: 850;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .38);
}

.theme-library-preview-copy strong { text-shadow: 0 2px 15px rgba(0, 0, 0, .35); }

.theme-library-preview-copy i {
    box-shadow: 0 2px 15px color-mix(in srgb, var(--preview-accent) 65%, transparent);
}

.theme-library-preview-art span {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .21);
    backdrop-filter: blur(8px);
}
