/*
 * SHARK page - 3. Technical specifications: photo and table.
 */

.shark .specs-grid {
  max-width: var(--sd-wide);
  margin: 0 auto;
  display: grid;
  gap: 56px;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.shark .specs-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shark .specs-photo {
  width: auto !important;
  max-width: min(100%, 400px) !important;
  max-height: calc(var(--sd-vh) - 2 * var(--sd-pad) - 210px);
}

.shark .downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shark .specs-table {
  overflow-x: auto;
}

.shark .specs-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.shark .specs-table tr {
  border-bottom: 1px solid var(--sd-mist);
}

.shark .specs-table tr:last-child {
  border-bottom: 0;
}

.shark .specs-table th,
.shark .specs-table td {
  padding: clamp(6px, calc(var(--sd-vh) * 0.011), 9px) 0;
  line-height: 1.35;
  vertical-align: top;
}

.shark .specs-table th {
  text-align: left;
  padding-right: 16px;
  font-weight: 500;
  width: 32%;
}

.shark .specs-table td {
  color: var(--sd-grey);
}

.shark .specs-table td b {
  font-weight: 500;
  color: var(--sd-ink);
}

@media (max-width: 599px) {
  .shark .specs-photo {
    max-height: 220px;
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .shark .specs-grid {
    grid-template-columns: minmax(0, clamp(280px, calc(var(--sd-vh) * 0.9 - 220px), 50%)) minmax(0, 1fr);
    gap: 40px;
  }
}

/* ---- Brochure ---------------------------------------------------------------------- */

/* Specifications: photo beside the table */
.brochure-mode .shark .specs-grid {
  grid-template-columns: 48mm minmax(0, 1fr);
  gap: 7mm;
}

.brochure-mode .shark .specs-side {
  gap: 4mm;
}

.brochure-mode .shark .specs-photo {
  max-width: 100% !important;
  max-height: none;
}

.brochure-mode .shark .specs-table table {
  font-size: 8.5pt;
}

.brochure-mode .shark .specs-table th,
.brochure-mode .shark .specs-table td {
  padding: 1.6mm 0;
}

.brochure-mode .shark .specs-table th {
  padding-right: 3mm;
}

.brochure-mode .shark .specs-table tr {
  break-inside: avoid;
}
