/* Three boat-type sections; inherit the site's Sora font and existing palette. */
.mf-boat-types {
  min-width: 0;
  padding-block: 12px 80px;
  color: var(--ink);
}

.mf-boat-types > .boat-type-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  margin-bottom: 12px;
  padding-block: 12px;
  border-block: 1px solid var(--line);
}

.mf-boat-types > .boat-type-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.mf-boat-types > .boat-type-nav > a:hover {
  border-bottom-color: var(--ink);
}

.mf-boat-types > .boat-type {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  margin: 0;
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 32px;
}

.mf-boat-types .boat-type-image,
.mf-boat-types .boat-type-copy {
  min-width: 0;
}

.mf-boat-types .boat-type-image {
  margin: 0;
  background: var(--mist);
}

.mf-boat-types .boat-type-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.mf-boat-types .boat-type-image > figcaption {
  margin: 0;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
}

.mf-boat-types .boat-type-image > figcaption:empty {
  display: none;
}

.mf-boat-types .boat-type-copy > .eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.6;
}

.mf-boat-types .boat-type-copy > h2 {
  margin: 0;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.12;
  font-weight: 500;
}

.mf-boat-types .boat-type-copy > .lead {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.mf-boat-types .boat-type-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: 20px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

.mf-boat-types .boat-type-specs > div {
  display: contents;
}

.mf-boat-types .boat-type-specs :is(dt, dd) {
  min-width: 0;
  margin: 0;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: break-word;
}

.mf-boat-types .boat-type-specs dd {
  text-align: right;
  font-weight: 500;
}

.mf-boat-types .boat-type-copy > .resource-price {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
}

.mf-boat-types .resource-price .resource-price-amount {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.mf-boat-types .resource-price .resource-price-note,
.mf-boat-types .boat-type-copy > .boat-type-price-note {
  max-width: 58ch;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.75;
}

.mf-boat-types .boat-type-copy > .button {
  max-width: 100%;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

@media (max-width: 850px) {
  .mf-boat-types > .boat-type {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding-block: 40px;
  }

  .mf-boat-types .boat-type-copy > .lead {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .mf-boat-types {
    padding-bottom: 48px;
  }

  .mf-boat-types > .boat-type-nav {
    column-gap: 22px;
    margin-bottom: 0;
  }

  .mf-boat-types > .boat-type {
    padding-block: 32px;
  }

  .mf-boat-types .boat-type-copy > .lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .mf-boat-types .boat-type-specs {
    column-gap: 16px;
    font-size: 13px;
  }

  .mf-boat-types .boat-type-copy > .button {
    width: 100%;
    justify-content: space-between;
  }
}
