/* TheSexier Related Galleries v1.0.1 — scoped dark theme styles. */
.tsr-related {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  clear: both;
  margin: 32px auto;
  padding: 16px 0;
  color: #000000;
  text-align: left;
}
.tsr-related .tsr-related__heading {
  display: block;
  margin: 0 0 14px;
  color: #000000 !important;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}
.tsr-related .tsr-related__grid {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: start;
}
.tsr-related a.tsr-related__card,
.tsr-related a.tsr-related__card:link,
.tsr-related a.tsr-related__card:visited {
  display: block !important;
  float: none !important;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #000000 !important;
  text-decoration: none !important;
}
.tsr-related .tsr-related__media {
  display: block !important;
  position: relative;
  overflow: hidden;
  width: 100% !important;
  aspect-ratio: 4 / 3;
  background: #242424;
  border-radius: 5px;
}
.tsr-related img.tsr-related__image {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  object-fit: cover !important;
}
.tsr-related .tsr-related__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #2d2d2d;
}
.tsr-related .tsr-related__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 8px;
  color: #000000 !important;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tsr-related a.tsr-related__card:hover .tsr-related__name,
.tsr-related a.tsr-related__card:focus-visible .tsr-related__name {
  text-decoration: underline !important;
}
.tsr-related--category {
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #3b3b3b;
  border-bottom: 1px solid #3b3b3b;
}
@media (max-width: 600px) {
  .tsr-related { margin: 24px auto; }
  .tsr-related .tsr-related__grid { gap: 8px; }
  .tsr-related .tsr-related__heading { font-size: 18px; }
  .tsr-related .tsr-related__name { font-size: 12px; }
}
