/* ===================================== */
/* MBQ CategoryTable (mockup vibe)        */
/* ===================================== */

.mbqCatTable{margin-top:6px}

/* card */
.mbqCatCard{
  background:#fff;
  border:1px solid rgba(17,24,39,.06);
  border-radius:22px;
  box-shadow:0 10px 28px rgba(0,0,0,.06);
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative;
}

.mbqCatCard:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 55px rgba(0,0,0,.10);
  border-color:rgba(139,47,163,.24);
}

.mbqCatCard:focus-within{
  box-shadow:0 18px 55px rgba(0,0,0,.12);
  border-color:rgba(139,47,163,.35);
}

/* unread accent */
.mbqCatCard_unread{
  border-color:rgba(139,47,163,.22);
}
.mbqCatCard_unread:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background:linear-gradient(180deg,#8b2fa3,#ff4fd8);
  opacity:.85;
}

/* media */
.mbqCatMedia{
  display:block;
  position:relative;
  height:220px;
  overflow:hidden;
  background:#111;
}

.mbqCatMedia_img{
  position:absolute; inset:-2px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform:scale(1.02);
  filter:saturate(1.05) contrast(1.05);
  transition:transform .35s ease, filter .35s ease;
}

.mbqCatMedia_glow{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 360px at 18% 15%, rgba(255,255,255,.14), rgba(0,0,0,0) 58%),
    linear-gradient(to bottom, rgba(0,0,0,.06), rgba(0,0,0,.55) 65%, rgba(0,0,0,.78));
  pointer-events:none;
}

.mbqCatCard:hover .mbqCatMedia_img{
  transform:scale(1.07);
  filter:saturate(1.12) contrast(1.08);
}

/* fallback (sin imagen) */
.mbqCatMedia_empty .mbqCatMedia_img{
  background:
    radial-gradient(700px 280px at 20% 25%, rgba(139,47,163,.35), rgba(0,0,0,0) 55%),
    radial-gradient(700px 280px at 70% 30%, rgba(255,79,216,.25), rgba(0,0,0,0) 55%),
    linear-gradient(135deg, rgba(17,24,39,.92), rgba(17,24,39,.78));
}
.mbqCatMedia_fallback{
  position:absolute;
  left:16px; bottom:14px;
  width:42px; height:42px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* body */
.mbqCatBody{
  padding:16px 18px 10px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mbqCatKickerRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.mbqCatPill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(139,47,163,.08);
  border:1px solid rgba(139,47,163,.14);
  color:#2b1034;
  font-weight:700;
  text-decoration:none !important;
  transition:all .2s ease;
}
.mbqCatPill:hover{
  background:rgba(139,47,163,.12);
  border-color:rgba(139,47,163,.22);
  transform:translateY(-1px);
}

.mbqCatDot{
  width:4px; height:4px;
  border-radius:99px;
  background:rgba(17,24,39,.25);
}

.mbqCatMeta{
  color:rgba(17,24,39,.58);
  font-weight:600;
  font-size:12px;
}

/* title */
.mbqCatTitle{
  margin:0;
  font-weight:900;
  letter-spacing:-.02em;
  line-height:1.15;
  font-size:20px;
}
.mbqCatTitle a{
  color:#120817 !important;
  text-decoration:none !important;
}
.mbqCatTitle a:hover{
  color:#8b2fa3 !important;
}

/* desc */
.mbqCatDesc{
  color:rgba(17,24,39,.72);
  font-size:13.5px;
  line-height:1.45;
}
.mbqCatDesc p{margin:0 0 8px 0}
.mbqCatDesc p:last-child{margin-bottom:0}

/* footer */
.mbqCatFooter{
  margin-top:auto;
  padding:12px 16px 16px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.mbqCatAuthor{
  margin:0 !important;
  min-width:0;
}
.mbqCatAvatar .ipsUserPhoto,
.mbqCatAuthor .ipsUserPhoto{
  border-radius:14px !important;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  overflow:hidden;
}

.mbqCatAuthorMeta{min-width:0}
.mbqCatAuthorName{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
  color:#1b1022;
}
.mbqCatAuthorSub{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
  font-size:12px;
}

.mbqCatGo{
  width:42px; height:42px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none !important;
  background:linear-gradient(135deg, rgba(139,47,163,.14), rgba(255,79,216,.12));
  border:1px solid rgba(139,47,163,.20);
  color:#2b1034;
  transition:all .2s ease;
}
.mbqCatGo:hover{
  transform:translateY(-2px);
  border-color:rgba(139,47,163,.30);
  box-shadow:0 12px 30px rgba(139,47,163,.16);
  color:#8b2fa3;
}

/* responsive */
@media (max-width: 979px){
  .mbqCatMedia{height:200px}
  .mbqCatTitle{font-size:19px}
}

@media (max-width: 767px){
  .mbqCatMedia{height:190px}
  .mbqCatBody{padding:14px 14px 8px 14px}
  .mbqCatFooter{padding:10px 14px 14px 14px}
  .mbqCatAuthorName,.mbqCatAuthorSub{max-width:190px}
}