.top-most-viewed.top-most-wrapper {
  counter-reset: topmost;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.top-most-viewed.top-most-wrapper li {
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  counter-increment: topmost;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-left: 2.5em;
  position: relative;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.top-most-viewed.top-most-wrapper li:hover {
  background-color: #f5faff;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
}

.top-most-viewed.top-most-wrapper li::before {
  content: counter(topmost) ".";
  position: absolute;
  left: 0;
  top: 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: #0073aa;
  width: 2em;
  text-align: right;
}

.top-most-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  text-decoration: none;
}

.top-most-thumb {
  width: 125px;
  height: 125px;
  object-fit: cover;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75em;
  color: #666;
  border-radius: 4px;
  flex-shrink: 0;
}

.fallback-thumb {
  background: #fff;
  border: 1px solid #ccc;
}

.top-most-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  line-height: 1.2;
  flex-grow: 1;
}

.top-most-item:hover .top-most-title {
  color: #0073aa;
  text-decoration: underline;
}

.top-most-intro {
  max-height: 0;
  overflow: hidden;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  padding-left: 140px;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.top-most-entry.expanded .top-most-intro {
  max-height: 300px;
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-most-toggle {
    display: inline-block;
    background-color: #007cba;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.95em;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 4px;
}

.top-most-toggle:hover {
    background-color: #005177;
}

.top-most-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background-color: #66FF33;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.top-most-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
