/**
 * 2026 Tricore Info Tech - Product Pattern Design Styles
 * v1.4.0
 */

/* ============================================================
   TECHNICAL FEATURES SECTION (above accordions)
   ============================================================ */
.tc-section {
  margin-bottom: 24px;
}

.tc-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 8px;
}

.tc-section-icon {
  font-size: 8px;
  color: #999;
}

.tc-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #111;
  margin: 0;
  line-height: 1;
}

.tc-section-body {
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

/* Inline feature bullets */
.tc-features-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.tc-features-inline li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #444;
}

.tc-features-inline li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #888;
}

/* ============================================================
   TECHNICAL PERFORMANCE BARS
   ============================================================ */
.tc-performance-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tc-perf-row {
  display: grid;
  grid-template-columns: 130px 1fr 40px;
  align-items: center;
  gap: 10px;
}

@media (max-width: 575px) {
  .tc-perf-row {
    grid-template-columns: 110px 1fr 36px;
    gap: 7px;
  }
}

.tc-perf-label {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-perf-track {
  width: 100%;
  height: 3px;
  background: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.tc-perf-fill {
  height: 100%;
  width: 0;
  background: #111;
  border-radius: 2px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-perf-pct {
  font-size: 11px;
  font-weight: 700;
  color: #111;
  text-align: right;
}

/* ============================================================
   RACE LEGS CONTENT INSIDE ACCORDION BODY
   ============================================================ */
.tc-leg-block {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eaeaea;
}

.tc-leg-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tc-leg-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.tc-leg-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.tc-leg-tagline {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
}

.tc-leg-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-leg-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 5px;
}

.tc-leg-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #333;
  line-height: 1.6;
}

/* ============================================================
   CATEGORY-BASED RACE LEG VISIBILITY
   ============================================================ */
.show-only-swim .tc-leg-bike,
.show-only-swim .tc-leg-run {
  display: none;
}

.show-only-bike .tc-leg-swim,
.show-only-bike .tc-leg-run {
  display: none;
}

.show-only-run .tc-leg-swim,
.show-only-run .tc-leg-bike {
  display: none;
}
