/* R67: full-width application artwork with concise captions and text selectors.
   Scope is limited to the home-page exhibit; R60 state and controls stay intact. */
.r41-applications.r67-applications {
  width: calc(100% - 40px);
  max-width: 1740px;
  padding: clamp(18px, 1.7vw, 28px);
}
.r67-applications .r41-exhibit-shell { padding: 0; }
.r67-applications .r41-section-heading { margin-bottom: 20px; }
.r67-applications .r41-exhibit-toolbar { gap: 14px; margin-bottom: 16px; }
.r67-applications .r41-scene-tabs { max-width: 440px; }
.r67-applications .r41-scene-tabs button { min-height: 48px; padding: 10px 16px; }
.r67-applications .r41-playback-controls { gap: 7px; }
.r67-applications .r41-playback-controls > button { min-width: 44px; min-height: 44px; }
.r67-applications .r60-speed-control { margin-right: 3px; }

.r67-applications .r41-exhibit-stage {
  border-radius: 18px;
  border-color: #ded9f4;
  background: #fff;
  box-shadow: 0 8px 28px #51409408;
}
.r67-applications .r41-exhibit-slide {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
}
.r67-applications .r41-exhibit-picture {
  align-self: start;
  width: 100%;
  min-width: 0;
  background: #fff;
}
.r67-applications .r41-exhibit-picture img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}
.r67-applications .r41-exhibit-slide figcaption {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 24px;
  padding: 17px 22px;
  min-height: 0;
  border-left: 0;
  border-top: 1px solid #e8e3f7;
  background: linear-gradient(100deg, #fcfbff, #f7fcfe);
}
.r67-applications .r41-exhibit-slide figcaption h3 {
  flex: 0 1 auto;
  min-width: 0;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.4;
  overflow-wrap: break-word;
}
.r67-applications .r41-exhibit-slide figcaption p {
  flex: 1 1 320px;
  max-width: none;
  min-width: 0;
  margin: 0;
  color: #696480;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.r67-applications .r41-slide-kicker,
.r67-applications .r41-slide-decoration,
.r67-applications .r41-exhibit-slide figcaption small { display: none; }

.r67-applications .r41-thumb-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  padding: 12px 1px 1px;
  overflow: visible;
  scroll-snap-type: none;
  overscroll-behavior: auto;
}
.r67-applications .r41-scene-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  flex: none;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 11px;
  text-align: center;
  color: #655b83;
  background: #ffffffb8;
}
.r67-applications .r41-scene-thumb img { display: none; }
.r67-applications .r41-scene-thumb span {
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.r67-applications .r41-scene-thumb.is-active,
.r67-applications .r41-scene-thumb[aria-pressed="true"] {
  color: #4932ae;
  border-color: #a491eb;
  background: #eee8ff;
  box-shadow: 0 2px 9px #6851c510;
}
.r67-applications .r41-scene-thumb:hover {
  color: #4932ae;
  border-color: #a491eb;
  background: #f7f3ff;
}
.r67-applications .r41-scene-thumb i { left: 10px; right: 10px; }
/* These original state nodes remain in the DOM for the carousel controller. */
.r67-applications .r41-exhibit-footer { display: none; }

@media (max-width: 800px) {
  .r41-applications.r67-applications { width: calc(100% - 28px); padding: 16px; }
  .r67-applications .r41-scene-tabs { max-width: none; }
  .r67-applications .r41-exhibit-slide figcaption { gap: 6px 16px; padding: 15px 18px; }
  .r67-applications .r41-exhibit-slide figcaption h3 { font-size: 21px; }
  .r67-applications .r41-exhibit-slide figcaption p { font-size: 14px; }
  .r67-applications .r41-thumb-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 480px) {
  .r41-applications.r67-applications { width: calc(100% - 20px); padding: 12px; border-radius: 20px; }
  .r67-applications .r41-section-heading { margin-bottom: 16px; }
  .r67-applications .r41-scene-note { position: static; margin-top: 8px; font-size: 10px; }
  .r67-applications .r41-eyebrow { max-width: none; }
  .r67-applications .r41-exhibit-toolbar { gap: 10px; margin-bottom: 12px; }
  .r67-applications .r41-scene-tabs button { min-height: 46px; padding: 9px 8px; font-size: 14px; }
  .r67-applications .r41-playback-controls { gap: 7px; }
  .r67-applications .r60-speed-control { gap: 10px; margin: 0; }
  .r67-applications .r41-exhibit-stage { border-radius: 13px; }
  .r67-applications .r41-exhibit-slide figcaption { flex-direction: column; align-items: flex-start; gap: 5px; padding: 13px; }
  .r67-applications .r41-exhibit-slide figcaption h3 { flex: none; width: 100%; font-size: 19px; line-height: 1.4; }
  .r67-applications .r41-exhibit-slide figcaption p { flex: none; width: 100%; font-size: 13px; line-height: 1.6; }
  .r67-applications .r41-thumb-track { padding-top: 10px; gap: 7px; }
  .r67-applications .r41-scene-thumb { min-height: 44px; padding: 9px 8px; border-radius: 9px; }
  .r67-applications .r41-scene-thumb span { font-size: 13px; line-height: 1.45; }
}
