/*--------------------------------------------------------------
# Most Read Widget
--------------------------------------------------------------*/
.most-read-widget {
  background-color: var(--main-blue-950);
  align-content: center;
  border-radius: 16px;
  padding: 8px 0;
  margin: 0 0 12px 0;
  height: 80%;
  max-height: 587px;
  overflow: hidden;
}

.most-read-title {
  font-size: 24px;
  color: var(--color-white);
  padding-bottom: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.most-read-cards {
  display: flex;
  flex-direction: column;
}

.most-read-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.most-read-card:last-child {
  border-bottom: none;
}

.most-read-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.most-read-card-number {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--main-yellow-400);
  line-height: 1;
  min-width: 32px;
  text-align: center;
}

.most-read-card-image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.most-read-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.most-read-card-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.most-read-card-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.most-read-card:hover .most-read-card-title {
  color: var(--main-yellow-400);
}

/* Legacy list markup (if used elsewhere) */
.most-read-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: most-read-counter;
  display: flex;
  flex-direction: column;
  justify-content: normal;
  height: 100%;
}

.most-read-list li {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  counter-increment: most-read-counter;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
}

.most-read-list li:first-child {
  padding-top: 0;
}

.most-read-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.most-read-list li::before {
  content: counter(most-read-counter);
  font-size: 3rem;
  color: var(--main-yellow-400);
  line-height: 1;
  flex-shrink: 0;
  min-width: 50px;
}

.most-read-list .most-read-card-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.most-read-list .most-read-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.most-read-list .most-read-card-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.most-read-list li a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.most-read-list li a:hover {
  color: var(--main-yellow-400);
}

@media screen and (max-width: 767px) {
  .most-read-widget {
    height: auto;
    max-height: none;
  }
}
