.theme-sidebar {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.theme-sidebar__social-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}

.theme-sidebar__social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    border-radius: 8px;
    background: var(--social-color, #111);
    color: #fff;
    text-align: center;
    padding: 10px 8px;
}

.theme-sidebar__social-card i {
    margin-bottom: 7px;
    font-size: 15px;
}

.theme-sidebar__social-card strong {
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.theme-sidebar__social-card span {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.1;
    opacity: 0.96;
}

.theme-sidebar__block {
    min-width: 0;
}

.theme-sidebar__heading {
    margin: 0 0 16px;
    color: #101010;
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.theme-sidebar__mini-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.theme-sidebar__mini-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 14px;
    align-items: center;
}

.theme-sidebar__mini-copy {
    min-width: 0;
}

.theme-sidebar__mini-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--sidebar-tag, #111);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
}

.theme-sidebar__mini-title,
.theme-sidebar__exclusive-title {
    margin: 10px 0 6px;
    font-size: 15px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.theme-sidebar__mini-title a,
.theme-sidebar__exclusive-title a {
    color: inherit;
    text-decoration: none;
}

.theme-sidebar__mini-date {
    color: #7a7a7a;
    font-size: 12px;
    line-height: 1.4;
}

.theme-sidebar__mini-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.theme-sidebar__mini-image,
.theme-sidebar__mini-image--placeholder,
.theme-sidebar__exclusive-image,
.theme-sidebar__exclusive-image--placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-sidebar__mini-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.theme-sidebar__mini-image--placeholder {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #ede2cf 0%, #d9bf9e 100%);
}

body[data-theme="dark"] .theme-sidebar__heading,
body[data-theme="dark"] .theme-sidebar__mini-title,
body[data-theme="dark"] .theme-sidebar__exclusive-title,
body[data-theme="dark"] .theme-sidebar__mini-title a,
body[data-theme="dark"] .theme-sidebar__exclusive-title a {
    color: #f8fafc;
}

body[data-theme="dark"] .theme-sidebar__mini-date,
body[data-theme="dark"] .theme-sidebar__exclusive-meta,
body[data-theme="dark"] .theme-sidebar__exclusive-author {
    color: #a9b3c3;
}

.theme-sidebar__category-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-sidebar__category-band {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 66px;
    border-radius: 18px;
    overflow: hidden;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, color-mix(in srgb, var(--band-color, #111) 94%, #fff 6%) 0%, color-mix(in srgb, var(--band-color, #111) 72%, #fff 28%) 100%);
}

.theme-sidebar__category-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.42;
}

.theme-sidebar__category-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--band-color, #111) 92%, transparent 8%) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.theme-sidebar__category-name,
.theme-sidebar__category-count {
    position: relative;
    z-index: 1;
}

.theme-sidebar__category-name {
    font-size: 18px;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-transform: lowercase;
}

.theme-sidebar__category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

body[data-theme="dark"] .theme-sidebar__category-count {
    background: rgba(36, 48, 65, 0.94);
    color: #eef3fb;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.theme-sidebar__exclusive-slider {
    position: relative;
}

.theme-sidebar__exclusive-track {
    position: relative;
}

.theme-sidebar__exclusive-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    min-height: 184px;
    transform: translate3d(18px, 0, 0) scale(1.01);
    transition: opacity .5s cubic-bezier(0.22, 1, 0.36, 1), visibility .5s ease, transform .56s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.theme-sidebar__exclusive-card:not(.is-active) {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(18px, 0, 0) scale(1.01);
    pointer-events: none;
}

.theme-sidebar__exclusive-card.is-active {
    transform: translate3d(0, 0, 0) scale(1);
}

.theme-sidebar__exclusive-card.is-prev {
    transform: translate3d(-18px, 0, 0) scale(1.01);
}

.theme-sidebar__exclusive-media {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-sidebar__exclusive-image {
    aspect-ratio: 1.58;
    object-fit: cover;
}

.theme-sidebar__exclusive-image--placeholder {
    aspect-ratio: 1.58;
    background: radial-gradient(circle at 24% 28%, rgba(254, 214, 93, 0.78) 0%, rgba(254, 214, 93, 0) 14%), linear-gradient(135deg, #2c845a 0%, #0c213f 100%);
}

.theme-sidebar__exclusive-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 16, 0.08) 0%, rgba(8, 9, 16, 0.82) 100%);
}

.theme-sidebar__exclusive-nav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.theme-sidebar__exclusive-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    font-size: 12px;
    cursor: pointer;
}

body[data-theme="dark"] .theme-sidebar__exclusive-arrow {
    background: rgba(36, 48, 65, 0.94);
    color: #eef3fb;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .theme-sidebar__exclusive-arrow:hover {
    background: #30415a;
}

.theme-sidebar__exclusive-copy {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
}

.theme-sidebar__exclusive-title {
    max-width: 250px;
    margin-bottom: 10px;
    font-size: 17px;
}

.theme-sidebar__exclusive-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    flex-wrap: wrap;
}

.theme-sidebar__exclusive-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.theme-sidebar__exclusive-avatar {
    width: 22px;
    height: 22px;
    border-radius: 999px;
}

.theme-sidebar__empty {
    color: #6f6f76;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .theme-sidebar__social-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .theme-sidebar__mini-item {
        grid-template-columns: minmax(0, 1fr) 88px;
    }
}

@media (max-width: 767px) {
    .theme-sidebar {
        gap: 22px;
    }

    .theme-sidebar__social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-sidebar__mini-item {
        grid-template-columns: minmax(0, 1fr) 84px;
        gap: 12px;
    }

    .theme-sidebar__mini-title {
        font-size: 14px;
    }

    .theme-sidebar__category-band {
        min-height: 58px;
        padding: 0 18px;
        border-radius: 16px;
    }

    .theme-sidebar__category-name {
        font-size: 16px;
    }

    .theme-sidebar__category-count {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
