/*
 * Compact sidebar article widget.
 * The versioned physical filename avoids stale production caches.
 */

.widget-area .widget-articles .post-card.am-card--widget-compact {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 3px 10px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 0 12px;
    border: 0;
    border-bottom: 1px solid #eceef1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.widget-area .widget-articles .post-card.am-card--widget-compact:last-child {
    border-bottom: 0;
}

.widget-area .widget-articles .am-card--widget-compact > .post-card__thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    width: 76px;
    aspect-ratio: 1;
}

.widget-area .widget-articles .am-card--widget-compact > .post-card__body {
    display: contents;
}

.widget-area .widget-articles .am-card--widget-compact .post-card__category,
.widget-area .widget-articles .am-card--widget-compact .post-card__title,
.widget-area .widget-articles .am-card--widget-compact .am-card-facts {
    grid-column: 2;
    min-width: 0;
}

.widget-area .widget-articles .am-card--widget-compact .post-card__category {
    margin-bottom: 1px;
    font-size: 10px;
    line-height: 1.2;
}

.widget-area .widget-articles .am-card--widget-compact .post-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.widget-area .widget-articles .am-card--widget-compact .am-card-facts {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 0;
    overflow: hidden;
    color: #777;
    font-size: 9px;
    line-height: 1.25;
}

.widget-area .widget-articles .am-card--widget-compact .am-card-fact {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: baseline;
    min-width: 0;
    margin: 0;
}

.widget-area .widget-articles .am-card--widget-compact .am-card-fact + .am-card-fact::before {
    flex: 0 0 auto;
    margin: 0 4px;
    color: #aaa;
    content: "\00b7";
}

.widget-area .widget-articles .am-card--widget-compact .am-card-fact dd {
    display: block;
    min-height: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.widget-area .widget-articles .am-card--widget-compact .am-card-status--overlay {
    top: -4px;
    left: -4px;
    min-height: 17px;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(53, 53, 53, .1);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .025em;
}

.widget-area .widget-articles .am-card--widget-compact .am-card-features,
.widget-area .widget-articles .am-card--widget-compact .post-card__description,
.widget-area .widget-articles .am-card--widget-compact .post-card__meta {
    grid-column: 1 / -1;
}

.widget-area .widget-articles .post-card.am-card--widget-compact.post-card--thumbnail-no {
    grid-template-columns: minmax(0, 1fr);
}

.widget-area .widget-articles .am-card--widget-compact.post-card--thumbnail-no .post-card__category,
.widget-area .widget-articles .am-card--widget-compact.post-card--thumbnail-no .post-card__title,
.widget-area .widget-articles .am-card--widget-compact.post-card--thumbnail-no .am-card-facts,
.widget-area .widget-articles .am-card--widget-compact.post-card--thumbnail-no .am-card-status--inline {
    grid-column: 1;
}
