/* Shared MosaicAsset cards and subpage navigation */
.mosaic-card-v2 {
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #303733;
    border-radius: 8px;
    background: #101411;
    color: #f5f7f6;
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(0, 0, 0, .18);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mosaic-card-v2:hover,
.mosaic-card-v2:focus-within {
    border-color: #548267;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

.mosaic-card-v2.related-asset-card {
    width: 310px;
    min-width: 310px;
    flex: 0 0 310px;
}

.mosaic-card-v2 .mosaic-card-preview {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    background-color: #202622;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mosaic-card-v2 .mosaic-card-preview::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 58%;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(7, 10, 8, .74));
}

.mosaic-card-type-icon {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 7px;
    background: rgba(226, 232, 228, .96);
    color: #121713;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.mosaic-card-type-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
}

.mosaic-card-type-icon svg,
.mosaic-card-type-icon svg * {
    fill: currentColor !important;
    stroke: none !important;
}

.mosaic-card-origin,
.mosaic-card-details,
.mosaic-card-select {
    position: absolute;
    z-index: 2;
}

.mosaic-card-origin {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 124px);
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 15px;
    background: rgba(18, 23, 20, .86);
    color: #d1d9d4;
    font: 700 8px/1.1 OpenSansBold, sans-serif;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.mosaic-card-origin.is-imported { color: #c7d6cd; }
.mosaic-card-origin.is-processed { color: #9ee0b8; }

.mosaic-card-details {
    right: 12px;
    bottom: 11px;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 15px;
    background: rgba(15, 20, 17, .9);
    color: #fff !important;
    font: 700 9px/1 OpenSansBold, sans-serif;
    text-decoration: none !important;
    white-space: nowrap;
}

.mosaic-card-details:hover,
.mosaic-card-details:focus { border-color: #8ed2aa; background: #266746; }

.mosaic-card-select {
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(12, 17, 14, .8);
}

.mosaic-card-select input { width: 17px; height: 17px; margin: 0; accent-color: #99CC00; }

.mosaic-card-v2 .mosaic-card-body {
    display: flex;
    min-height: 152px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 15px 16px 14px;
}

.mosaic-card-v2 .mosaic-card-title,
.mosaic-card-v2 .product-title {
    display: -webkit-box;
    min-height: 38px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font: 600 14px/1.35 OpenSansSemiBold, sans-serif;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.mosaic-card-creator {
    margin: 5px 0 0;
    overflow: hidden;
    color: #9fa9a3;
    font: 10px/1.35 OpenSansRegular, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mosaic-card-date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin: 13px 0 0;
    color: #7f8b84;
    font-size: 9px;
}

.mosaic-card-date span { text-transform: uppercase; }
.mosaic-card-date strong { color: #c8d0cb; font-weight: 600; white-space: nowrap; }

.mosaic-card-footer {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #29302c;
}

.mosaic-card-download {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 6px;
    color: #849087;
    font: 700 8px/1 OpenSansBold, sans-serif;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.mosaic-card-download strong {
    overflow: hidden;
    color: #d7dfda;
    font-size: 10px;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mosaic-card-price {
    margin-left: auto;
    color: #9bd37b;
    font: 700 10px/1 OpenSansBold, sans-serif;
    white-space: nowrap;
}

.subpage-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #91a098 !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
}

.subpage-nav::before {
    content: "";
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid currentColor;
    border-left: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.subpage-nav:hover,
.subpage-nav:focus { color: #9fd8b5 !important; }

.subpage-current { color: #fff; font-size: 15px; }
.import-page-heading { display: flex; align-items: center; gap: 14px; }

@media (max-width: 767px) {
    .mosaic-card-v2 .mosaic-card-preview { min-height: 200px; }
    .mosaic-card-v2 .mosaic-card-body { min-height: 145px; }
    .mosaic-card-v2.related-asset-card { width: 270px; min-width: 270px; flex-basis: 270px; }
}
