/* ============================
   RIGHT SIDEBAR (KIT)
   — как на 2ip.ua
============================ */

/* контейнер сайдбара */
.right-menu {
  position: sticky;
  top: 148px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* мини-карточки */
.mini-card {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);

  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-card i {
  width: 18px;
  height: 18px;
  color: #e2e8f0;
}

.mini-card span {
  font-size: 14px;
  color: #e2e8f0;
  user-select: none;
}

.mini-card:hover {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(148, 163, 184, 0.4);
  transform: translateY(-2px);
}


/* ===============================
   MOBILE: drawer при открытии
================================ */

@media (max-width: 992px) {
  body.sidebar-open .site-sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    z-index: 1000;
    margin: 0;
    padding: 24px 16px;
    background: #0f172a;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
}

/* ===============================
   DESKTOP: скрыть сайдбар-колонку
================================ */

@media (min-width: 993px) {
  body.sidebar-open .site-sidebar {
    display: none;
  }

  body.sidebar-open .site-layout {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   ДЕСКТОП САЙДБАР: Medium Rectangle 300×250
================================ */

.sidebar-ad-wrap {
  margin-top: 16px;
  position: relative;
}

/* подпись "Реклама" */
.sidebar-ad-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.45);
  text-align: right;
  margin-bottom: 4px;
  user-select: none;
}


