.post-type-archive-tb_best .mc {
    background: #fcfdff;
}

.bl-page {
    gap: 18px;
}

.bl-head {
    display: grid;
    gap: 9px;
}

.bl-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px 24px;
    flex-wrap: wrap;
}

.bl-intro h1 {
    margin: 0 0 4px;
    font-size: clamp(30px, 2.55vw, 43px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.25;
    color: #10203b;
}

.bl-intro p {
    margin: 0;
    font-size: clamp(14px, 1.16vw, 18px);
    color: var(--ink2);
}

.bl-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(100%, 310px);
    min-height: 44px;
    padding-left: 13px;
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 10px;
    color: var(--ink3);
}

.bl-search svg {
    flex-shrink: 0;
}

.bl-search input {
    flex: 1;
    width: 0;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ink);
}

.bl-search button {
    align-self: stretch;
    border: none;
    border-left: 1px solid #dce5f2;
    border-radius: 0 9px 9px 0;
    padding: 0 13px;
    background: #f1f6ff;
    color: #1b52c4;
    font-weight: 650;
    cursor: pointer;
}

.bl-search button:hover {
    background: #e6efff;
}

.bl-filterbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    border-bottom: 1px solid #e2e9f3;
    padding-bottom: 9px;
}

.bl-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.bl-filter {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 17px;
    border-radius: 24px;
    color: var(--ink2);
    white-space: nowrap;
    font-weight: 650;
}

.bl-filter:hover {
    color: #1b52c4;
    background: #eef4ff;
}

.bl-filter[aria-current] {
    color: #fff;
    background: #2358db;
}

.bl-page :is(a, button, input):focus-visible {
    outline: 2px solid #1450c9;
    outline-offset: 3px;
}

.bl-total {
    flex: none;
    color: var(--ink3);
    font-variant-numeric: tabular-nums;
}

.bl-summary {
    margin: 12px 0 -5px;
    font-size: 13px;
    color: var(--ink2);
}

.bl-summary a {
    display: inline-block;
    margin-left: 8px;
    padding-block: 6px;
    color: #2358db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.bl-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e9f4;
    border-radius: 14px;
    background: #fff;
    scroll-margin-top: 76px;
}

.bl-card:hover, .bl-card:focus-within {
    border-color: #b8ccef;
    box-shadow: 0 5px 15px #1a3a7210;
}

.bl-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px;
    min-height: 128px;
    padding: 10px 12px 10px 17px;
    background: linear-gradient(108deg, #f9fbfe, #ecf3fe);
}

.bl-card-intro {
    min-width: 0;
}

.bl-category {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 7px;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #455874;
}

.bl-category a {
    color: inherit;
}

.bl-category a:hover {
    color: #2358db;
}

.bl-category svg {
    flex: none;
    color: #2358db;
}

.bl-card-head h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 5px;
    font-size: clamp(17px, 1.3vw, 22px);
    line-height: 1.36;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.bl-card-head h2 a {
    color: #10203b;
}

.bl-card-head h2 a:hover, .bl-card-head h2 a:focus-visible {
    color: #2358db;
}

.bl-card-head p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--ink2);
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.bl-art {
    width: clamp(76px, 6.35vw, 112px);
    aspect-ratio: 1;
    background: url("illustrations.webp") no-repeat;
    background-size: 300% 200%;
}

.bl-art-legal { background-position: 0 0; }
.bl-art-commerce { background-position: 50% 0; }
.bl-art-server { background-position: 100% 0; }
.bl-art-mail { background-position: 0 100%; }
.bl-art-store { background-position: 50% 100%; }
.bl-art-social { background-position: 100% 100%; }

.bl-tools {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 3px 16px;
}

.bl-tools li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border-bottom: 1px solid #edf1f7;
}

.bl-tools li:last-child {
    border-bottom: 0;
}

.bl-tools strong, .bl-tool-role {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bl-tool-role {
    font-size: 12px;
    color: var(--ink3);
}

.bl-logo {
    position: relative;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 650;
    overflow: hidden;
}

.bl-logo img {
    position: absolute;
    inset: 0;
    background: #fff;
    padding: 2px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bl-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: auto 16px 0;
    border-top: 1px solid #e8eef7;
}

.bl-card-foot a, .bl-page-links a, .bl-empty a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #2358db;
    font-weight: 650;
}

.bl-card-foot a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    padding-block: 5px;
    color: var(--ink3);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.bl-meta time {
    white-space: nowrap;
}

.bl-empty {
    margin-top: 20px;
    padding: 42px 16px;
    border: 1px solid #e2e9f3;
    border-radius: 14px;
    background: #f7faff;
    text-align: center;
    color: #3863ad;
}

.bl-empty h2 {
    margin: 6px 0 3px;
}

.bl-empty p {
    margin: 0 0 12px;
    color: var(--ink2);
}

.bl-paging {
    margin: 20px 0 0;
    text-align: center;
}

.bl-paging[data-best-auto] {
    min-height: 1px;
    margin: 0;
}

.bl-paging[data-best-auto] .bl-page-links {
    display: none;
}

.bl-page-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bl-page-links a, .bl-empty a {
    justify-content: center;
    padding: 7px 17px;
    border: 1px solid #c6d6f2;
    border-radius: 9px;
    background: #fff;
}

.bl-page-links a:hover, .bl-empty a:hover {
    background: #eef4ff;
}

.bl-load-error {
    margin: 8px 0 0;
    text-align: center;
    font-size: 13px;
    color: #a33722;
}

@media (min-width: 1400px) {
    .bl-card-head p {
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 1259px) {
    .bl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bl-page {
        gap: 13px;
    }

    .bl-search {
        width: 100%;
    }

    .bl-filterbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .bl-filter {
        padding-inline: 12px;
        font-size: 13px;
    }

    .bl-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        margin-top: 15px;
    }

    .bl-card-head {
        padding-left: 15px;
    }

    .bl-art {
        width: 101px;
    }
}

@media (max-width: 374px) {
    .bl-art {
        width: 78px;
    }

    .bl-tools li {
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .bl-tool-role {
        display: none;
    }
}
