.sidebar-refresh-pending [data-sidebar-refresh-widget]:not([data-sidebar-refresh-ready]) > .td_block_inner {
    visibility: hidden;
    opacity: 0;
}

/* Contain the trailing row margin before and after the height is reserved. */
[data-sidebar-refresh-widget] > .td_block_inner {
    display: flow-root;
}

[data-sidebar-refresh-widget] .entry-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

[data-sidebar-refresh-widget] .td_module_mx2 .item-details {
    min-height: 70px;
}

/* The lead image has the same footprint even when it is missing or still loading. */
[data-sidebar-refresh-widget] .td_module_mx8 .meta-info-container {
    aspect-ratio: 696 / 385;
}

[data-sidebar-refresh-widget] .td_module_mx8 .entry-thumb {
    display: block;
    aspect-ratio: 696 / 385;
    height: auto;
    object-fit: cover;
}

/* Keep the thumbnail gap outside the box reserved by the aspect ratio. */
.td_block_18[data-sidebar-refresh-widget] .td-column-1 .td_module_mx8 .meta-info-container {
    margin-bottom: 20px;
}

.td_block_18[data-sidebar-refresh-widget] .td-column-1 .td_module_mx8 .td-module-thumb {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .td_block_18[data-sidebar-refresh-widget] .td-column-1 .td_module_mx8 .meta-info-container {
        margin-bottom: 26px;
    }
}
