.trider {
  width: 100%;
  box-sizing: border-box;
  color: #171717;
}

.trider__download-row {
  display: flex;
  margin: 0 0 18px;
}

.trider__download-row--right {
  justify-content: flex-end;
}

.trider__download-row--left {
  justify-content: flex-start;
}

.trider--bottom-left .trider__download-row,
.trider--bottom-right .trider__download-row {
  margin: 20px 0 0;
}

.trider__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 var(--trider-btn-padding, 16px);
  border-radius: var(--trider-btn-radius, 8px);
  background: var(--trider-btn-bg, #111);
  color: var(--trider-btn-text, #fff) !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.trider__download:hover,
.trider__download:focus {
  background: var(--trider-btn-hover, #b20d30);
  color: var(--trider-btn-text, #fff) !important;
  transform: translateY(-1px);
}

.trider__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--trider-tab-active-bg, #171717);
}

.trider__tab {
  min-width: 150px;
  padding: 13px 20px;
  border: 1px solid #cfcfcf;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--trider-tab-bg, #f1f1f1);
  color: var(--trider-tab-text, #222);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.trider__tab.is-active {
  border-color: var(--trider-tab-active-bg, #171717);
  background: var(--trider-tab-active-bg, #171717);
  color: var(--trider-tab-active-text, #fff);
}

.trider__panel {
  padding: 28px 0;
}

.trider__panel[hidden] {
  display: none;
}

.trider-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.trider-channel-card {
  border: 0;
  background: #fff;
}

.trider-channel-card h3 {
	margin: 0;
	padding: 12px 15px;
	background: var(--trider-accent, #b20d30);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.trider-channel-card ol {
  margin: 0;
  padding: 12px 16px 12px 48px;
}

.trider-channel-card li {
  padding: 7px 4px;
  border-bottom: 1px solid #e8e8e8;
}

.trider-channel-card li:last-child {
  border-bottom: 0;
}

.trider-channel-card li::marker {
  color: var(--trider-accent, #b20d30);
  font-weight: 800;
}

.trider-channel-card li span {
  display: inline;
}

.trider-channel-card li strong {
  float: right;
  margin-left: 12px;
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76em;
}

.trider-instruments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.trider-instrument {
  min-width: 0;
  background: #fff;
}

.trider-instrument > h2 {
  margin: 0;
  padding: 14px 17px;
  border-bottom: 1px solid #d3d3d3;
  text-transform: uppercase;
}

.trider-instrument__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  background: var(--trider-photo-bg, #fff);
}

.trider-instrument__photos--1 {
  grid-template-columns: 1fr;
}

.trider-instrument__photos img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.trider-instrument__photos--3 img:first-child,
.trider-instrument__photos--5 img:first-child {
  grid-column: span 2;
}

.trider-instrument__description,
.trider-instrument__specs {
  padding: 16px 18px;
}

.trider-instrument__description > :first-child {
  margin-top: 0;
}

.trider-instrument__description > :last-child {
  margin-bottom: 0;
}

.trider-instrument__specs {
  border-top: 1px solid #e4e4e4;
}

.trider-instrument__specs h3 {
  margin: 0 0 9px;
  text-transform: uppercase;
}

.trider-instrument__specs ul {
  margin: 0;
  padding-left: 20px;
}

.trider-instrument__specs li {
  margin: 5px 0;
}

.trider__empty {
  grid-column: 1 / -1;
  padding: 20px;
  background: #f3f3f3;
}

@media (max-width: 760px) {
  .trider__tab {
    min-width: 0;
    flex: 1;
    padding: 11px 8px;
    font-size: 0.86em;
  }

  .trider-channels,
  .trider-instruments {
    grid-template-columns: 1fr;
  }

  .trider-instrument__photos img {
    height: 150px;
  }
}
