/* Homepage hot-search widget: presentation only; keep the original tag links. */
#sidebar .hot-search-widget {
    box-sizing: border-box; position: relative; isolation: isolate; overflow: hidden;
    padding: 20px 16px 18px; border: 1px solid #344465; border-radius: 18px;
    background: radial-gradient(ellipse at 100% 0, rgba(114, 76, 223, .23), transparent 45%),
                radial-gradient(ellipse at 0 15%, rgba(17, 190, 180, .13), transparent 40%), #121d30;
    box-shadow: 0 8px 26px rgba(20, 32, 56, .16); color: #e6efff;
}
#sidebar .hot-search-widget::before {
    content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px;
    background: linear-gradient(90deg, transparent, #45ddc7, #a693ff, transparent);
}
#sidebar .hot-search-widget > .arrow-right { display: none; }
#sidebar .hot-search-widget > h3.title {
    display: flex; align-items: center; gap: 9px; margin: 0 0 17px; padding: 0 0 15px;
    height: auto; line-height: 28px; border: 0; border-bottom: 1px solid rgba(176, 200, 238, .14);
    background: none; color: #f1f6ff; font-size: 17px; font-weight: 700;
}
#sidebar .hot-search-widget > h3.title::before {
    content: "#"; display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px;
    background: linear-gradient(135deg, #39cfb8, #8077e6); color: #fff;
    font-size: 20px; font-weight: 700; box-shadow: 0 3px 13px rgba(83, 203, 201, .25);
}
#sidebar .hot-search-widget > h3.title > span { padding: 0; color: inherit; background: none; border: 0; }
#sidebar .hot-search-widget > h3.title::after {
    content: "HOT"; margin-left: auto; padding: 0 7px; border: 1px solid rgba(143, 128, 245, .38);
    border-radius: 5px; background: rgba(132, 111, 234, .13); color: #c4b9ff;
    font-size: 10px; font-weight: 600; letter-spacing: 1px; line-height: 20px;
}
#sidebar .hot-search-widget .zz-list { padding: 0; line-height: 1.5; }
#sidebar .hot-search-widget .wp-block-tag-cloud {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0;
}
#sidebar .hot-search-widget .tag-cloud-link {
    --tag-ink: #91e8db; --tag-edge: rgba(94, 211, 191, .24); --tag-fill: rgba(41, 168, 152, .11);
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    max-width: 100%; min-height: 32px; margin: 0; padding: 5px 10px;
    border: 1px solid var(--tag-edge); border-radius: 8px; background: var(--tag-fill);
    color: var(--tag-ink) !important; font-size: 13px !important; font-weight: 500;
    line-height: 20px; text-decoration: none; overflow-wrap: anywhere;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
#sidebar .hot-search-widget .tag-cloud-link:nth-child(4n+2) {
    --tag-ink: #c7b8ff; --tag-edge: rgba(158, 129, 231, .3); --tag-fill: rgba(131, 94, 211, .13);
}
#sidebar .hot-search-widget .tag-cloud-link:nth-child(4n+3) {
    --tag-ink: #9bcaff; --tag-edge: rgba(108, 170, 237, .27); --tag-fill: rgba(69, 136, 221, .12);
}
#sidebar .hot-search-widget .tag-cloud-link:nth-child(4n) {
    --tag-ink: #efcea0; --tag-edge: rgba(216, 166, 98, .27); --tag-fill: rgba(194, 139, 69, .1);
}
@media (hover: hover) {
    #sidebar .hot-search-widget .tag-cloud-link:hover {
        transform: translateY(-2px); border-color: var(--tag-ink);
        background: rgba(180, 207, 255, .12); box-shadow: 0 4px 13px rgba(101, 156, 238, .16);
    }
}
#sidebar .hot-search-widget .tag-cloud-link:focus-visible {
    outline: 2px solid #8de8d9; outline-offset: 2px; background: rgba(180, 207, 255, .15);
}
@media (prefers-reduced-motion: reduce) {
    #sidebar .hot-search-widget .tag-cloud-link { transition: none; }
    #sidebar .hot-search-widget .tag-cloud-link:hover { transform: none; }
}
