/* =========================
X MOST TRENDS COMPONENT
Reusable + Premium Compact
========================= */

#x-most-trends{
  padding:14px 16px 20px;
}

.xmt-card{
  background:#f8f8f6;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  overflow:hidden;
  box-shadow:
    0 10px 24px rgba(0,0,0,.05),
    0 2px 8px rgba(0,0,0,.03);
}

.xmt-line{
  height:3px;
  background:linear-gradient(90deg,#cf2e2e,#e14b4b);
}

.xmt-head{
  padding:18px 18px 8px;
  text-align:center;
}

.xmt-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-weight:500;
  font-size:42px;
  line-height:.95;
  letter-spacing:-.03em;
  color:#111;
}

.xmt-scroll{
  max-height:420px;
  overflow-y:auto;
  padding:4px 0 6px;
}

.xmt-scroll::-webkit-scrollbar{
  width:4px;
}

.xmt-scroll::-webkit-scrollbar-thumb{
  background:#d2d2d2;
  border-radius:999px;
}

.xmt-item{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:12px;
  align-items:start;
  padding:14px 18px;
  cursor:pointer;
  transition:background .18s ease;
}

.xmt-item:hover{
  background:#f1f1ef;
}

.xmt-item:not(:last-child){
  border-bottom:1px solid rgba(0,0,0,.05);
}

.xmt-rank{
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid #c63c3c;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#c63c3c;
  font-size:17px;
  font-weight:900;
}

.xmt-text{
  font-size:16px;
  line-height:1.28;
  font-weight:800;
  letter-spacing:-.025em;
  color:#111;

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.xmt-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 18px;
  border-top:1px solid rgba(0,0,0,.05);
  background:#fafaf8;
}

.xmt-foot span{
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#777;
}

.xmt-btn{
  border:none;
  background:#111;
  color:#fff;
  height:38px;
  padding:0 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}

.xmt-state{
  padding:22px 18px;
  text-align:center;
  font-size:14px;
  color:#777;
}

@media (max-width:360px){

  .xmt-title{
    font-size:36px;
  }

  .xmt-item{
    grid-template-columns:44px 1fr;
    gap:10px;
    padding:12px 16px;
  }

  .xmt-rank{
    width:36px;
    height:36px;
    font-size:15px;
  }

  .xmt-text{
    font-size:15px;
  }
}