/* Isolated workshop UI, no changes to existing design system */

.mt-ws-mount[hidden],
.current-workshop[hidden] {
  display: none !important;
}

.mt-ws-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  background: #1f2a18;
  color: #f8f4e9;
  min-height: 64px;
  font-family: Manrope, sans-serif;
}

.mt-ws-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #b7c5b3;
  padding: 22px 26px;
  border-right: 1px solid #475448;
  white-space: nowrap;
}

.mt-ws-window {
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 3%,
    #000 97%,
    transparent 100%
  );
}

.mt-ws-track {
  display: flex;
  width: max-content;
  animation: mt-ws-scroll 32s linear infinite;
}

.mt-ws-window:hover .mt-ws-track,
.mt-ws-window:focus-within .mt-ws-track {
  animation-play-state: paused;
}

.mt-ws-run {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}

.mt-ws-event {
  color: #fff !important;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.mt-ws-event strong {
  color: #b7c5b3;
  margin-right: 8px;
}

.mt-ws-all {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 23px 25px;
  border-left: 1px solid #475448;
  white-space: nowrap;
}

.mt-ws-all:hover {
  background: #314537;
}

@keyframes mt-ws-scroll {
  to {
    transform: translateX(-50%);
  }
}

.mt-ws-list {
  max-width: 1180px;
  margin: auto;
  padding: 42px 32px 60px;
  font-family: Manrope, sans-serif;
  color: #1e291f;
  scroll-margin-top: 90px;
}

.mt-ws-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #697969;
  margin: 0 0 12px;
}

.mt-ws-list h2 {
  font: 400 clamp(36px, 4vw, 56px)/1.05 'DM Serif Display', serif !important;
  margin: 0 0 15px;
  color: #1f2a18 !important;
}

.mt-ws-intro {
  font-size: 13px;
  line-height: 1.7;
  color: #616b61;
  margin: 0 0 25px;
}

.mt-ws-cards {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 370px), 1fr)
  );
  gap: 18px;
}

.mt-ws-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  background: #fff;
  border: 1px solid #d5d5d0;
  color: #1f2a18 !important;
  text-decoration: none !important;
}

.mt-ws-card:hover {
  border-color: #6b806b;
}

.mt-ws-card img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: contain;
  background: #eeeae3;
}

.mt-ws-copy {
  min-width: 0;
  padding: 24px 20px;
}

.mt-ws-copy small {
  font-size: 10px;
  font-weight: 800;
  color: #6b786a;
  letter-spacing: .06em;
}

.mt-ws-copy h3 {
  font: 400 28px/1.08 'DM Serif Display', serif !important;
  margin: 12px 0 !important;
  color: #1f2a18 !important;
}

.mt-ws-copy p {
  font-size: 12px;
  line-height: 1.6;
  color: #555f54;
}

.mt-ws-action {
  font-size: 10px;
  font-weight: 800;
}

.mt-bakart-cross {
  margin-top: 25px;
  padding: 20px 23px;
  border: 1px solid #d5d5d0;
  background: #fafaf8;
  font-family: Manrope, sans-serif;
}

.mt-bakart-cross p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: #4a544c;
}

.mt-bakart-cross a {
  color: #1f2a18 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #1f2a18;
  padding-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.app-where .mt-ws-list {
  padding: 22px 0 28px;
  scroll-margin-top: 18px;
}

.app-where .mt-ws-list h2 {
  font-size: 32px !important;
}

.app-where .mt-ws-cards {
  grid-template-columns: 1fr;
}

.app-where .mt-ws-card {
  grid-template-columns: 105px 1fr;
}

.app-where .mt-ws-copy {
  padding: 14px;
}

.app-where .mt-ws-copy h3 {
  font-size: 23px !important;
}

@media (max-width: 680px) {
  .mt-ws-tag {
    padding: 17px 9px;
    font-size: 9px;
  }

  .mt-ws-all {
    padding: 20px 9px;
    font-size: 9px;
  }

  .mt-ws-list {
    padding: 36px 22px;
  }

  .mt-ws-card {
    grid-template-columns: 105px 1fr;
  }

  .mt-ws-copy {
    padding: 14px;
  }

  .mt-ws-copy h3 {
    font-size: 23px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-ws-track {
    animation: none;
  }

  .mt-ws-run[aria-hidden=true] {
    display: none;
  }
}

/* App home: same website ticker, adapted to app dimensions */

.mt-ws-app-ticker .mt-ws-bar {
  grid-template-columns: auto minmax(0, 1fr) 42px;
  min-height: 46px;
}

.mt-ws-app-ticker .mt-ws-tag {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 10px;
  font-size: 9px;
  letter-spacing: .07em;
}

.mt-ws-app-ticker .mt-ws-track {
  animation-duration: 28s;
}

.mt-ws-app-ticker .mt-ws-run {
  gap: 24px;
  padding-right: 24px;
}

.mt-ws-app-ticker .mt-ws-event {
  font-size: 10px;
}

.mt-ws-app-ticker .mt-ws-all {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  padding: 0;
  font-size: 0;
}

.mt-ws-app-ticker .mt-ws-all::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
}
