.mth-related-trailers {
  --mth-related-trailer-accent: var(--by-navy, #222a75);
  --mth-related-trailer-surface: var(--by-surface, #f4f6fa);
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #d9dee3;
  border-radius: 6px;
  background: #fff;
}

.mth-related-trailers-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mth-related-trailers-heading h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.mth-related-trailers-heading span {
  color: #6a7178;
  font-size: 12px;
}

.mth-related-trailer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mth-related-trailer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 92px;
  margin: 0;
  padding: 10px 42px 10px 12px;
  overflow: hidden;
  border: 1px solid #d9dee3;
  border-radius: 5px;
  background: #fff;
  color: #30363b;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.mth-related-trailer-card.has-image {
  grid-template-columns: 112px minmax(0, 1fr);
}

.mth-related-trailer-card:hover,
.mth-related-trailer-card.is-selected {
  border-color: var(--mth-related-trailer-accent);
  box-shadow: 0 0 0 1px var(--mth-related-trailer-accent);
  background: var(--mth-related-trailer-surface);
}

.mth-related-trailer-card:focus-within {
  outline: 3px solid var(--mth-related-trailer-accent);
  outline-offset: 2px;
}

.mth-related-trailer-card.is-unavailable {
  cursor: default;
  background: #f7f8f9;
}

.mth-related-trailer-card.is-unavailable:hover {
  border-color: #d9dee3;
  box-shadow: none;
}

.mth-related-trailer-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.mth-related-trailer-select {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #aeb6bd;
  border-radius: 50%;
  background: #fff;
}

.mth-related-trailer-card.is-selected .mth-related-trailer-select {
  border: 6px solid var(--mth-related-trailer-accent);
}

.mth-related-trailer-card img {
  grid-column: 1;
  width: 112px;
  height: 76px;
  object-fit: contain;
  background: #fff;
}

.mth-related-trailer-card img + .mth-related-trailer-copy {
  grid-column: 2;
}

.mth-related-trailer-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.mth-related-trailer-name {
  line-height: 1.3;
}

.mth-related-trailer-copy small {
  color: #6a7178;
}

.mth-related-trailer-price {
  color: var(--mth-related-trailer-accent);
  font-weight: 700;
}

.mth-related-trailer-inquiry {
  color: #8a4b12;
  font-weight: 600;
}

.mth-related-trailer-none {
  min-height: 58px;
}

@media (max-width: 767px) {
  .mth-related-trailer-grid {
    grid-template-columns: 1fr;
  }

  .mth-related-trailers-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
