/* v5-training.css — V5 Training & Resources page (internal agent knowledge base).
 *
 * Follows ATLAS design tokens (var(--*)) and the v5-listings / v5-showings page
 * pattern. No scroll at 1920×1080: the outer .tr5-page never scrolls; .tr5-body
 * handles internal overflow. Both light and dark themes covered via CSS
 * variables. Luxury real-estate direction: champagne accents, layered shadow on
 * hover, editorial card hierarchy, hand-crafted hover/focus states.
 *
 * Namespace: .tr5-* (distinct from the legacy .tc-* Training Center).
 */

/* ── Page wrapper ─────────────────────────────────────────────────────────── */
.tr5-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.tr5-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 14px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.07));
  flex-shrink: 0;
}
.tr5-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--champagne, var(--gold));
  margin-bottom: 4px;
}
.tr5-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink, #e8e6e1);
  margin: 0 0 3px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.tr5-sub {
  font-size: 12px;
  color: var(--muted, rgba(232,230,225,0.5));
}
.tr5-head-right { flex-shrink: 0; }
.tr5-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a1408;
  background: linear-gradient(180deg, var(--champagne, var(--gold)), #c9963a);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--champagne, var(--gold)) 25%, transparent);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.tr5-add-btn svg { width: 15px; height: 15px; }
.tr5-add-btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 4px 16px color-mix(in srgb, var(--champagne, var(--gold)) 35%, transparent); }
.tr5-add-btn:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }

/* ── Controls: search + category tabs ─────────────────────────────────────── */
.tr5-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.07));
  flex-shrink: 0;
}
.tr5-search-wrap {
  position: relative;
  max-width: 460px;
}
.tr5-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted, rgba(232,230,225,0.5));
  pointer-events: none;
}
.tr5-search {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px 9px 36px;
  font-size: 13px;
  color: var(--ink, #e8e6e1);
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.1));
  border-radius: 9px;
  transition: border-color 140ms ease;
}
.tr5-search::placeholder { color: var(--muted, rgba(232,230,225,0.42)); }
.tr5-search:focus { outline: none; border-color: var(--champagne, var(--gold)); }

.tr5-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tr5-tab {
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, rgba(232,230,225,0.62));
  background: transparent;
  border: 1px solid var(--line, rgba(255,255,255,0.12));
  border-radius: 999px;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
  white-space: nowrap;
}
.tr5-tab:hover { color: var(--ink, #e8e6e1); border-color: color-mix(in srgb, var(--champagne, var(--gold)) 40%, transparent); }
.tr5-tab:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-tab.is-active {
  color: #1a1408;
  background: var(--champagne, var(--gold));
  border-color: var(--champagne, var(--gold));
}

/* ── Scrollable body ──────────────────────────────────────────────────────── */
.tr5-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 28px 40px;
  min-height: 0;
}
.tr5-section { margin-bottom: 30px; }
.tr5-section.is-hidden { display: none; }
.tr5-section-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, rgba(232,230,225,0.62));
  margin: 0 0 12px;
}
.tr5-section-note {
  font-size: 11.5px;
  color: var(--muted, rgba(232,230,225,0.45));
  margin: -6px 0 12px;
}

/* ── Featured strip (horizontal scroll on mobile) ─────────────────────────── */
.tr5-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tr5-feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(155deg, var(--surface-2, rgba(255,255,255,0.06)), var(--surface-1, rgba(255,255,255,0.02)));
  border: 1px solid var(--line, rgba(255,255,255,0.09));
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.tr5-feat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--champagne, var(--gold)), transparent);
}
.tr5-feat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 38%, transparent);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.tr5-feat-card:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-feat-icon { font-size: 26px; line-height: 1; }
.tr5-feat-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #e8e6e1);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.tr5-feat-desc {
  font-size: 12px;
  color: var(--muted, rgba(232,230,225,0.6));
  line-height: 1.4;
  flex: 1 1 auto;
}
.tr5-feat-updated {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--champagne, var(--gold));
  opacity: 0.85;
}

/* ── Main grid: quick cards (left) + checklists (right) ───────────────────── */
.tr5-maingrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: start;
}
.tr5-col { min-width: 0; }

/* Quick-reference cards */
.tr5-card {
  display: block;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.09));
  border-left: 3px solid color-mix(in srgb, var(--champagne, var(--gold)) 55%, transparent);
  border-radius: 12px;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.tr5-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  border-left-color: var(--champagne, var(--gold));
}
.tr5-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.tr5-card-icon { font-size: 20px; line-height: 1; }
.tr5-card-title {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink, #e8e6e1);
}
.tr5-card-when {
  font-size: 12px;
  color: var(--muted, rgba(232,230,225,0.62));
  margin-bottom: 5px;
}
.tr5-card-when b { color: var(--ink, rgba(232,230,225,0.82)); font-weight: 600; }
.tr5-card-preview {
  font-size: 12px;
  color: var(--muted, rgba(232,230,225,0.55));
  line-height: 1.45;
  margin-bottom: 12px;
}
.tr5-card-stats {
  font-size: 11px;
  color: var(--muted, rgba(232,230,225,0.5));
  margin-bottom: 12px;
}
.tr5-card-stats span:not(:last-child)::after { content: " · "; opacity: 0.5; }
.tr5-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tr5-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink, #e8e6e1);
  background: var(--surface-1, rgba(255,255,255,0.04));
  border: 1px solid var(--line, rgba(255,255,255,0.14));
  border-radius: 8px;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.tr5-act:hover {
  color: var(--champagne, var(--gold));
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 50%, transparent);
  background: color-mix(in srgb, var(--champagne, var(--gold)) 8%, transparent);
}
.tr5-act:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-act-primary {
  color: #1a1408;
  background: linear-gradient(180deg, var(--champagne, var(--gold)), #c9963a);
  border-color: transparent;
}
.tr5-act-primary:hover { color: #1a1408; filter: brightness(1.05); }
.tr5-act svg { width: 13px; height: 13px; }

/* Checklists & forms list (right column) */
.tr5-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tr5-cl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 15px;
  text-align: left;
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.09));
  border-radius: 10px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}
.tr5-cl-item:hover {
  transform: translateX(2px);
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 38%, transparent);
  background: color-mix(in srgb, var(--champagne, var(--gold)) 5%, transparent);
}
.tr5-cl-item:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-cl-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--champagne, var(--gold)) 55%, transparent);
  border-radius: 5px;
}
.tr5-cl-main { flex: 1 1 auto; min-width: 0; }
.tr5-cl-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #e8e6e1);
}
.tr5-cl-count {
  font-size: 11px;
  color: var(--muted, rgba(232,230,225,0.5));
}
.tr5-cl-arrow {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--muted, rgba(232,230,225,0.4));
}

/* ── Tech guides ──────────────────────────────────────────────────────────── */
.tr5-techgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tr5-tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  text-align: left;
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.09));
  border-radius: 11px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
}
.tr5-tech-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 38%, transparent);
}
.tr5-tech-item:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-tech-arrow {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--champagne, var(--gold));
}
.tr5-tech-main { flex: 1 1 auto; min-width: 0; }
.tr5-tech-title { font-size: 13.5px; font-weight: 700; color: var(--ink, #e8e6e1); }
.tr5-tech-desc { font-size: 11.5px; color: var(--muted, rgba(232,230,225,0.55)); margin-top: 2px; }

/* ── Video library ────────────────────────────────────────────────────────── */
.tr5-videogrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tr5-video {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line, rgba(255,255,255,0.09));
  background: var(--surface-2, rgba(255,255,255,0.05));
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}
.tr5-video:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 35%, transparent);
}
.tr5-video:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tr5-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
}
.tr5-video-play {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,14,20,0.55);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, background 150ms ease;
}
.tr5-video:hover .tr5-video-play { transform: scale(1.08); background: var(--champagne, var(--gold)); }
.tr5-video-play svg { width: 18px; height: 18px; margin-left: 2px; }
.tr5-video:hover .tr5-video-play svg { color: #1a1408; }
.tr5-video-dur {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  right: 8px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.62);
  border-radius: 5px;
}
.tr5-video-meta { padding: 12px 14px; }
.tr5-video-title { font-size: 13.5px; font-weight: 700; color: var(--ink, #e8e6e1); line-height: 1.3; }
.tr5-video-sub { font-size: 11.5px; color: var(--muted, rgba(232,230,225,0.55)); margin-top: 3px; }

.tr5-empty {
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted, rgba(232,230,225,0.5));
}

/* ── Slide-in resource viewer ─────────────────────────────────────────────── */
.tr5-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(1.5px);
  z-index: 40;
  animation: tr5-fade 180ms ease;
}
@keyframes tr5-fade { from { opacity: 0; } to { opacity: 1; } }
.tr5-viewer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 600px;
  max-width: 92vw;
  z-index: 41;
  display: flex;
  flex-direction: column;
  background: var(--surface-1, #11161f);
  border-left: 1px solid var(--line, rgba(255,255,255,0.1));
  box-shadow: -16px 0 48px rgba(0,0,0,0.4);
  animation: tr5-slide 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes tr5-slide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.tr5-viewer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.08));
  flex-shrink: 0;
}
.tr5-viewer-titles { display: flex; align-items: center; gap: 12px; }
.tr5-viewer-icon { font-size: 26px; line-height: 1; }
.tr5-viewer-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink, #e8e6e1);
  margin: 0;
  letter-spacing: -0.01em;
}
.tr5-viewer-meta { font-size: 11.5px; color: var(--muted, rgba(232,230,225,0.55)); }
.tr5-viewer-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, rgba(232,230,225,0.6));
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.1));
  border-radius: 8px;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease;
}
.tr5-viewer-close:hover { color: var(--ink, #e8e6e1); border-color: color-mix(in srgb, var(--champagne, var(--gold)) 40%, transparent); }
.tr5-viewer-close:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-viewer-close svg { width: 16px; height: 16px; }

/* Progress bar (checklists only) */
.tr5-viewer-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,0.08));
  flex-shrink: 0;
}
.tr5-viewer-progress-bar {
  flex: 1 1 auto;
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2, rgba(255,255,255,0.08));
  overflow: hidden;
}
.tr5-viewer-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--champagne, var(--gold)), #c9963a);
  transition: width 220ms ease;
}
.tr5-viewer-progress-lab {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--champagne, var(--gold));
  white-space: nowrap;
}

/* Viewer body — prose */
.tr5-viewer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px 24px;
  min-height: 0;
}
.tr5-prose-group { margin-bottom: 22px; }
.tr5-prose-group:last-child { margin-bottom: 0; }
.tr5-prose-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--champagne, var(--gold));
  margin: 0 0 9px;
}
.tr5-prose-line {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink, rgba(232,230,225,0.88));
  margin: 0 0 9px;
}
/* Champagne call-to-action / spoken phrases in scripts */
.tr5-quote {
  display: block;
  padding: 11px 15px;
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink, #e8e6e1);
  background: color-mix(in srgb, var(--champagne, var(--gold)) 9%, transparent);
  border-left: 3px solid var(--champagne, var(--gold));
  border-radius: 0 8px 8px 0;
}

/* Numbered / checklist steps inside the viewer */
.tr5-steps { list-style: none; margin: 0; padding: 0; counter-reset: tr5step; }
.tr5-steps li {
  position: relative;
  padding: 11px 12px 11px 44px;
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink, rgba(232,230,225,0.88));
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid var(--line, rgba(255,255,255,0.07));
  border-radius: 9px;
  counter-increment: tr5step;
}
.tr5-steps li::before {
  content: counter(tr5step);
  position: absolute;
  left: 11px;
  top: 11px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--champagne, var(--gold));
  background: color-mix(in srgb, var(--champagne, var(--gold)) 12%, transparent);
  border-radius: 6px;
}

/* Checkable checklist items */
.tr5-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 13px;
  margin-bottom: 7px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink, rgba(232,230,225,0.88));
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid var(--line, rgba(255,255,255,0.07));
  border-radius: 9px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
  text-align: left;
  width: 100%;
}
.tr5-check:hover { border-color: color-mix(in srgb, var(--champagne, var(--gold)) 30%, transparent); }
.tr5-check:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid color-mix(in srgb, var(--champagne, var(--gold)) 55%, transparent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 140ms ease, border-color 140ms ease;
}
.tr5-check-box svg { width: 13px; height: 13px; color: #1a1408; opacity: 0; transition: opacity 120ms ease; }
.tr5-check.is-checked .tr5-check-box {
  background: var(--champagne, var(--gold));
  border-color: var(--champagne, var(--gold));
}
.tr5-check.is-checked .tr5-check-box svg { opacity: 1; }
.tr5-check.is-checked .tr5-check-text {
  text-decoration: line-through;
  color: var(--muted, rgba(232,230,225,0.45));
}
.tr5-check-text { flex: 1 1 auto; }

/* Viewer footer actions */
.tr5-viewer-foot {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--line, rgba(255,255,255,0.08));
  flex-shrink: 0;
}
.tr5-viewer-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink, #e8e6e1);
  background: var(--surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--line, rgba(255,255,255,0.12));
  border-radius: 9px;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}
.tr5-viewer-act:hover {
  color: var(--champagne, var(--gold));
  border-color: color-mix(in srgb, var(--champagne, var(--gold)) 45%, transparent);
  background: color-mix(in srgb, var(--champagne, var(--gold)) 8%, transparent);
}
.tr5-viewer-act:focus-visible { outline: 2px solid var(--champagne, var(--gold)); outline-offset: 2px; }
.tr5-viewer-act svg { width: 14px; height: 14px; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tr5-maingrid { grid-template-columns: 1fr; }
  .tr5-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .tr5-head { padding: 16px 18px 12px; }
  .tr5-controls { padding: 12px 18px; }
  .tr5-body { padding: 16px 18px 32px; }
  .tr5-featured {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .tr5-feat-card { flex: 0 0 78%; scroll-snap-align: start; }
  .tr5-techgrid, .tr5-videogrid { grid-template-columns: 1fr; }
  .tr5-viewer { width: 100%; max-width: 100%; }
}
