/* Indicative yacht profiles: the to-scale outline drawn where a photograph is not shown. */
.yacht-profile { margin: 0; }
.yacht-profile svg { display: block; width: 100%; height: auto; font-family: inherit; }

/* On a listing card, between the name and the length. */
.yacht-profile--card { margin: auto -6px 0; padding-top: 22px; opacity: 0.9; transition: opacity 0.25s ease; }
.card.lux-card:hover .yacht-profile--card { opacity: 1; }
.card.lux-card .yacht-profile--card + .lux-card__length { margin-top: 0; padding-top: 14px; }

/* On the yacht's own page and the compare page: a drawing sheet. */
.yacht-profile--sheet,
.yacht-profile--strip {
  background-color: #0b1220;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid #1d2840;
  padding: 12px 12px 0;
  color: #8e97a8;
}
.yacht-profile--sheet figcaption,
.yacht-profile--strip figcaption {
  margin: 8px -12px 0;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b1220;
  color: #aab4c8;
  font-size: 13px;
  line-height: 1.5;
}
.yacht-profile--strip { margin: 0 0 40px; }
.yacht-profile__title {
  margin: 12px 12px 0;
  color: #c9a96a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Each sheet is drawn twice: once for a wide page and once, with larger lettering, for a phone. */
.yacht-profile__narrow { display: none; }

@media (max-width: 700px) {
  .yacht-profile__wide { display: none; }
  .yacht-profile__narrow { display: block; }
  .yacht-profile--sheet, .yacht-profile--strip { padding: 6px 6px 0; }
  .yacht-profile--sheet figcaption, .yacht-profile--strip figcaption { margin: 6px -6px 0; padding: 12px 16px; }
  .yacht-profile__title { margin: 12px 10px 0; }
  /* Lines drawn for 600 units land under a pixel on a small card; keep them a constant weight. */
  .yacht-profile--card path, .yacht-profile__narrow path { vector-effect: non-scaling-stroke; }
}
