.vg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--vg-surface);
    border: 1px solid var(--vg-border);
    border-radius: var(--vg-radius-lg);
    box-shadow: var(--vg-shadow-sm);
}

.vg-card--pad,
.vg-card__body {
    padding: clamp(18px, 3vw, 28px);
}

.vg-card--hover {
    transition: transform .25s var(--vg-ease), box-shadow .25s var(--vg-ease), border-color .25s ease;
}

.vg-card--hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--vg-shadow);
    border-color: var(--vg-primary-line);
}

.vg-card--flat {
    box-shadow: none;
}

.vg-card--muted {
    background: var(--vg-surface-2);
}

.vg-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 16px clamp(18px, 3vw, 28px);
    border-bottom: 1px solid var(--vg-border);
}

.vg-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vg-heading);
}

.vg-card__title .vg-ico {
    color: var(--vg-primary);
}

.vg-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px clamp(18px, 3vw, 28px);
    border-top: 1px solid var(--vg-border);
    background: var(--vg-surface-2);
    border-radius: 0 0 var(--vg-radius-lg) var(--vg-radius-lg);
}

.vg-card__text {
    color: var(--vg-muted);
}

.vg-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: var(--vg-radius);
    background: var(--vg-primary-soft);
    color: var(--vg-primary);
}

.vg-icon-box .vg-ico {
    width: 26px;
    height: 26px;
}

.vg-icon-box--sm {
    width: 40px;
    height: 40px;
}

.vg-icon-box--sm .vg-ico {
    width: 20px;
    height: 20px;
}

.vg-icon-box--navy {
    background: var(--vg-secondary);
    color: #fff;
}

.vg-icon-box--accent {
    background: var(--vg-accent-soft);
    color: color-mix(in srgb, var(--vg-accent) 70%, #000);
}

.vg-icon-box--ok {
    background: var(--vg-ok-soft);
    color: var(--vg-ok);
}

.vg-icon-box--info {
    background: var(--vg-info-soft);
    color: var(--vg-info);
}

.vg-feature {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
}

.vg-feature__title {
    font-size: 1.08rem;
}

.vg-feature__text {
    color: var(--vg-muted);
    font-size: .95rem;
}

.vg-dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
}

.vg-dl__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--vg-border);
}

.vg-dl__row:last-child {
    border-bottom: 0;
}

.vg-dl dt {
    color: var(--vg-muted);
    font-size: .9rem;
}

.vg-dl dd {
    color: var(--vg-heading);
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.vg-stat-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    border-radius: var(--vg-radius-lg);
    color: #fff;
    overflow: hidden;
    background: var(--vg-secondary);
    min-height: 116px;
}

.vg-stat-tile::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.vg-stat-tile__value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--vg-font-head);
}

.vg-stat-tile__label {
    font-size: .9rem;
    opacity: .9;
}

.vg-stat-tile__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: .85;
}

.vg-stat-tile__icon .vg-ico {
    width: 26px;
    height: 26px;
}

.vg-stat-tile__link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 10px;
    font-size: .82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, .9);
}

.vg-stat-tile__link:hover {
    color: #fff;
}

.vg-stat-tile--green {
    background: #12855A;
}

.vg-stat-tile--blue {
    background: #2257CF;
}

.vg-stat-tile--primary {
    background: var(--vg-primary);
}

.vg-stat-tile--amber {
    background: #C77C09;
}

.vg-stat-tile--navy {
    background: var(--vg-secondary);
}

.vg-stat-tile--purple {
    background: #17181B;
}

.vg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 44px 20px;
    text-align: center;
}

.vg-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--vg-secondary-soft);
    color: var(--vg-muted);
}

.vg-empty__icon .vg-ico {
    width: 30px;
    height: 30px;
}

.vg-empty__title {
    font-weight: 700;
    color: var(--vg-heading);
    font-size: 1.05rem;
}

.vg-empty__text {
    color: var(--vg-muted);
    max-width: 46ch;
}

.vg-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--vg-radius-lg);
    background: var(--vg-bg-alt);
    aspect-ratio: 16 / 10;
}

.vg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--vg-ease);
}

.vg-media__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--vg-border-strong);
    font-family: var(--vg-font-head);
}

.vg-card--hover:hover .vg-media img {
    transform: scale(1.04);
}

.vg-list-check {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vg-list-check li {
    position: relative;
    padding-left: 28px;
}

.vg-list-check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--vg-ok-soft);
}

.vg-list-check li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: calc(.2em + 4px);
    width: 6px;
    height: 9px;
    border: solid var(--vg-ok);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.vg-list-check li.is-off {
    color: var(--vg-muted);
    text-decoration: line-through;
}

.vg-list-check li.is-off::before {
    background: var(--vg-err-soft);
}

.vg-list-check li.is-off::after {
    border-color: var(--vg-err);
    width: 0;
    height: 10px;
    left: 8px;
    border-width: 0 2px 0 0;
}
