/* Popular cards on the Manga Select front page. */
.msab-home-v2 .ms-home-search-form { width: 100%; max-width: 440px; margin: 0; }
.msab-home-v2 .ms-home-search-form .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 4px;
  background: #fff;
  border: 1px solid #bddbd5;
  border-radius: 11px;
  box-shadow: none;
}
.msab-home-v2 .ms-home-search-form .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 1px;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0;
  padding: 9px 12px;
  color: #17283b;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: .88rem;
  line-height: 1.4;
}
.msab-home-v2 .ms-home-search-form .wp-block-search__button {
  flex: 0 0 auto;
  min-width: 64px;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0;
  padding: 8px 13px;
  color: #fff !important;
  background: #17545b !important;
  border: 1px solid #17545b;
  border-radius: 8px;
  box-shadow: none;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}
.msab-home-v2 .ms-home-search-form :is(input, button):focus-visible { outline: 3px solid #267c75; outline-offset: 3px; }
.msab-home-v2 .msab-popular-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: stretch;
  gap: 12px;
}
.msab-home-v2 .msab-popular-featured-card { min-width: 0; }
.msab-home-v2 .msab-popular-featured-card > a {
  display: grid;
  grid-template-columns: minmax(90px, 38%) minmax(0, 1fr);
  gap: 11px;
  min-height: 136px;
  height: 100%;
  overflow: hidden;
  color: #17283b;
  background: #fff;
  border: 1px solid #dceae7;
  border-radius: 16px;
  text-decoration: none;
}
.msab-home-v2 .msab-popular-featured-image {
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #e8f0f1;
}
.msab-home-v2 .msab-popular-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.msab-home-v2 .msab-popular-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  color: #20766f;
  font-size: .8rem;
  font-weight: 800;
}
.msab-home-v2 .msab-popular-featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 12px 12px 12px 0;
}
.msab-home-v2 .msab-popular-category {
  color: #216e68;
  padding: 3px 7px;
  background: #e9f7f3;
  border-radius: 99px;
  font-size: .62rem;
  font-weight: 800;
}
.msab-home-v2 .msab-popular-category-anime { color: #486b9c; background: #edf4ff; }
.msab-home-v2 .msab-popular-featured-body strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: #17283b;
  font-size: clamp(.81rem, 1.1vw, .94rem);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.msab-home-v2 .msab-popular-link-text {
  margin-top: auto;
  padding-top: 8px;
  color: #217a70;
  font-size: .7rem;
  font-weight: 800;
}
.msab-home-v2 .msab-popular-empty { margin: 0; padding: 20px; color: #526373; font-size: .82rem; }
.msab-home-v2 .msab-popular-featured-card a:focus-visible { outline: 3px solid #267c75; outline-offset: 3px; }
