.sidebar .widget.widget-text:has(.hkg-sidebar-ad) {
    background: transparent;
    border-radius: 12px;
}

.hkg-sidebar-ad {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(35, 35, 58, .1);
}

.hkg-sidebar-ad img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 1;
    object-fit: cover;
}

.hkg-sidebar-ad-label,
.hkg-sidebar-ad-copy {
    position: absolute;
    z-index: 1;
    color: #fff;
}

.hkg-sidebar-ad-label {
    top: 8px;
    left: 9px;
    padding: 2px 6px;
    background: rgba(24, 24, 35, .72);
    border-radius: 4px;
    font-size: 9px;
    letter-spacing: .12em;
}

.hkg-sidebar-ad-copy {
    top: 50%;
    right: 12px;
    font-size: 12px;
    font-weight: 650;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
    transform: translateY(-50%);
}

.hkg-sidebar-categories {
    display: grid;
    gap: 8px;
}

.hkg-sidebar-categories a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px 12px;
    padding: 11px 12px;
    color: #292a39;
    background: #f7f8fb;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.hkg-sidebar-categories strong,
.hkg-sidebar-categories small {
    grid-column: 1;
}

.hkg-sidebar-categories strong {
    font-size: 14px;
    font-weight: 650;
}

.hkg-sidebar-categories small {
    overflow: hidden;
    color: #9092a1;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hkg-sidebar-categories span {
    grid-column: 2;
    grid-row: 1 / 3;
    color: #ff6b5e;
}

.hkg-sidebar-categories a:hover,
.hkg-sidebar-categories a:focus-visible {
    color: #292a39;
    background: #fff8f6;
    border-color: rgba(255, 107, 94, .35);
    transform: translateX(3px);
}

.hkg-sidebar-contact {
    padding: 5px 2px 3px;
}

.hkg-sidebar-contact-kicker {
    margin: 0 0 7px;
    color: #ff6b5e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .14em;
}

.hkg-sidebar-contact h2 {
    margin: 0 0 10px;
    color: #292a39;
    font-size: 19px;
    font-weight: 650;
}

.hkg-sidebar-contact > p:not(.hkg-sidebar-contact-kicker) {
    margin-bottom: 12px;
    color: #858796;
    font-size: 12px;
    line-height: 1.7;
}

.hkg-sidebar-email {
    color: #424454;
    font-size: 12px;
    text-decoration: underline;
    text-decoration-color: #d7d8df;
    text-underline-offset: 4px;
}

.hkg-sidebar-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.hkg-sidebar-socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: #343644;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 750;
}

.hkg-sidebar-socials a:hover,
.hkg-sidebar-socials a:focus-visible {
    color: #fff;
    background: #ff6b5e;
}

.hkg-sidebar-ad:focus-visible,
.hkg-sidebar-categories a:focus-visible,
.hkg-sidebar-email:focus-visible,
.hkg-sidebar-socials a:focus-visible {
    outline: 3px solid rgba(255, 107, 94, .3);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .hkg-sidebar-categories a {
        transition: none;
    }
}
