/* MBP HP.6.10.1 — Archive Sidebar only */

.mbp610-widget {
    min-width: 0;
    margin: 0 0 28px;
    color: var(--ink, #171717);
}

.mbp610-widget .mbp610-heading {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0 0 10px 10px;
    margin: 0 0 14px;
    border-left: 4px solid var(--accent, #cf101b);
    border-bottom: 1px solid var(--line, #e7e7e7);
}

.mbp610-widget .mbp610-heading-solid {
    padding: 11px 14px;
    border: 0;
    border-radius: 3px;
    background: var(--accent, #cf101b);
    color: #fff;
}

.mbp610-latest-list .news-card.compact {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    padding: 0 0 12px;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--line, #e7e7e7);
}

.mbp610-latest-list .news-card.compact:last-child {
    margin-bottom: 0;
}

.mbp610-latest-list .compact .thumb {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 3px;
}

.mbp610-latest-list .compact .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbp610-latest-list .compact .card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0;
}

.mbp610-latest-list .compact h3 {
    order: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.mbp610-latest-list .compact .meta {
    order: 1;
    font-size: 12px;
    color: #777;
}

.mbp610-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mbp610-popular-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line, #e7e7e7);
}

.mbp610-popular-list .mbp610-number {
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--accent, #cf101b);
}

.mbp610-popular-list a {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mbp610-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mbp610-area-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 9px 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--line, #e7e7e7);
    border-radius: 4px;
    background: #f7f7f7;
    color: var(--ink, #171717);
    overflow-wrap: anywhere;
}

.mbp610-area-grid a:hover,
.mbp610-area-grid a.is-active {
    color: #fff;
    background: var(--accent, #cf101b);
    border-color: var(--accent, #cf101b);
}

.mbp610-widget a:focus-visible {
    outline: 2px solid var(--accent, #cf101b);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    body:is(.category,.archive,.search)
    .content-wrap:not(.mbp-article-layout) > .sidebar {
        min-width: 0;
        align-self: start;
    }
}

@media (max-width: 767px) {
    .mbp610-widget {
        margin-bottom: 26px;
    }

    .mbp610-widget .mbp610-heading {
        font-size: 20px;
    }

    .mbp610-latest-list .news-card.compact {
        grid-template-columns: 105px minmax(0, 1fr);
    }
}

@media print {
    .mbp610-widget {
        display: none !important;
    }
}
