/* Museums page. Uses .ct-card / .ct-form-box from contact.css for the form block. */

.mu-head { padding: 192px 48px 48px; background: var(--bg); text-align: center; }
.mu-sub { margin-top: 12px; font: 400 25px/35px var(--outfit); letter-spacing: -0.1px; color: var(--ink); }
.mu-sub strong { font-weight: 400; }
.mu-body { background: var(--bg); padding: 0 48px 192px; }

/* Video: same file, poster and controls as the original (not autoplay). */
.mu-video { height: 738px; border-radius: 50px; overflow: hidden; background: #fff; }
.mu-video video { width: 100%; height: 100%; object-fit: cover; border-radius: 50px; display: block; }

/* Panels */
.mu-panel { position: relative; margin-top: 192px; padding: 24px; border-radius: 24px; }
.mu-panel::after { content: ''; position: absolute; inset: 0; border: 1px dashed rgba(26, 26, 26, 0.1); border-radius: 24px; pointer-events: none; }
.mu-panel + .mu-panel { margin-top: 192px; }
.mu-panel-head { padding: 24px 24px 0; text-align: center; }
.mu-h2 { font: 700 54px/64.8px var(--display); letter-spacing: -1px; color: #000; }
.mu-h2 .word { display: inline-block; white-space: nowrap; }
.mu-h2 .ltr { animation: none; opacity: 0; filter: blur(10px); transition: opacity 0.4s var(--ease), filter 0.4s var(--ease); transition-delay: calc(var(--i) * 0.03s); }
.mu-h2.is-in .ltr { opacity: 1; filter: blur(0); }
.mu-panel-body { max-width: 1200px; margin: 48px auto 0; }

.mu-tabs { display: flex; gap: 24px; height: 21px; }
.mu-tab {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 16px/20.8px var(--display); letter-spacing: -0.3px; color: rgba(26, 26, 26, 0.4);
  transition: color 0.3s var(--ease);
}
.mu-tab.is-active { color: #000; }

.mu-cards { display: flex; gap: 18px; height: 520px; margin-top: 24px; }
.mu-card {
  position: relative; flex: 195 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  border-radius: 24px; background: #fff; outline: none;
}
/* Geometry animates only after the visitor has used the panel, so that a
   resize or a screenshot never catches a card half way. */
.mu-panel.is-live .mu-card { transition: flex-grow 0.4s cubic-bezier(0.44, 0, 0.56, 1); }
.mu-card.is-active { flex-grow: 562; cursor: default; }
.mu-card:focus-visible { box-shadow: 0 0 0 2px rgba(0, 153, 255, 0.6); }
.mu-stage { position: absolute; left: 0; top: 0; width: 562px; height: 520px; }
.mu-art {
  position: absolute; left: var(--cx); top: var(--cy); width: var(--cw); height: var(--ch);
}
.mu-panel.is-live .mu-art { transition: left 0.4s var(--ease), top 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease); }
.mu-card.is-active .mu-art { left: var(--ex); top: var(--ey); width: var(--ew); height: var(--eh); }
.mu-art > img { width: 100%; height: 100%; object-fit: cover; }
.mu-avatar, .mu-avatar > img { border-radius: 50%; }
.mu-avatar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 4px solid rgb(242, 217, 197); }
/* The original fades the lower part of the avatar group to white. */
.mu-fade { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(#000 196.5px, transparent 342px); mask-image: linear-gradient(#000 196.5px, transparent 342px); }
/* The audioguide paintings are clipped 395px from the top of the card. */
.mu-agclip { position: absolute; inset: 0; clip-path: inset(0 0 125px 0); }
.mu-ring { border-radius: 2000px; }
.mu-ring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 7px solid rgb(242, 217, 197); }
.mu-ring.r1 { opacity: 0.6; }
.mu-ring.r2 { opacity: 0.4; }
.mu-ring.r2::after { border-width: 6px; }
.mu-ring.r3 { opacity: 0.2; }
.mu-ring.r3::after { border-width: 5px; }
.mu-langs { overflow: hidden; --row0: 32px; }
.mu-lang {
  position: absolute; left: 0; right: 0; top: calc(var(--row0) + var(--i) * 72px); height: 64px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 24px;
  background: #fff; border-radius: 244px; font: 400 16px/19.2px var(--inter); color: #000;
}
.mu-lang::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgb(239, 241, 243); pointer-events: none; }
.mu-lang img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mu-langs { height: 312px; }
.mu-devices > img { border-radius: 32.38px; object-position: 50% 100%; }
.mu-tilt { border-radius: 25.37px; box-shadow: rgba(0, 0, 0, 0.15) 0 0.6px 0.6px -1px, rgba(0, 0, 0, 0.14) 0 2.29px 2.29px -2px, rgba(0, 0, 0, 0.1) 0 10px 10px -3px; }
.mu-tilt > img { border-radius: 25.37px; }
.mu-card.is-active .mu-tilt, .mu-card.is-active .mu-tilt > img { border-radius: 11.68% / 9.56%; }
.mu-tilt.t1 { transform: rotate(8deg); }
.mu-tilt.t2 { transform: rotate(-3deg); }
.mu-tilt.t3 { transform: rotate(-11deg); }

.mu-text {
  position: absolute; left: 36px; bottom: 36px; width: 490px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mu-card.is-active .mu-text { opacity: 1; visibility: visible; transition-delay: 0.15s; }
.mu-text h4 { font: 600 26px/33.8px var(--display); color: #000; }
.mu-text p { margin-top: 12px; font: 500 18px/21.6px var(--inter); letter-spacing: -0.1px; color: #000; }

/* Contact block */
.mu-contact { padding: 191px 48px 0; }
.mu-ct-card { min-height: 562px; height: 562px; }

/* Tablet: keep the desktop layout but let the cards shrink. */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .mu-video { height: auto; aspect-ratio: 1344 / 738; }
}

/* Phone */
@media (max-width: 809.98px) {
  .mu-head { padding: 180px 24px 0; height: 347px; }
  .mu-head .big-title { letter-spacing: -1.6px; }
  .mu-sub { font-size: 17px; line-height: 23.8px; max-width: 325px; white-space: pre-wrap; margin-left: auto; margin-right: auto; }
  .mu-body { padding: 0 12px 192px; }
  .mu-video { height: 311px; border-radius: 10px; margin: 0 -11px; }
  .mu-video video { border-radius: 10px; }
  .mu-panel { margin-top: 144px; padding: 12px; }
  .mu-panel + .mu-panel { margin-top: 144px; }
  .mu-panel-head { padding: 24px 24px 0; }
  .mu-h2 { font-size: 32px; line-height: 38.4px; }
  .mu-panel-body { margin-top: 48px; }
  .mu-tabs { display: none; }
  .mu-cards { display: flex; flex-direction: column; gap: 18.67px; height: auto; margin-top: 0; }
  .mu-card { flex: none; cursor: default; padding: 144px 24px 22.6px; }
  .mu-stage { width: 100%; height: 144px; overflow: hidden; }
  .mu-card .mu-art, .mu-card.is-active .mu-art, .mu-panel.is-live .mu-art { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); transition: none; }
  .mu-panel.is-live .mu-card { transition: none; }
  .mu-text, .mu-card.is-active .mu-text { position: static; width: auto; opacity: 1; visibility: visible; }
  .mu-text h4 { font-size: 18px; line-height: 23.4px; }
  .mu-text p { margin-top: 13px; font-size: 15px; line-height: 18px; }
  .mu-ring::after { border-width: 3px; }
  .mu-ring.r2::after, .mu-ring.r3::after { border-width: 2px; }
  .mu-avatar, .mu-avatar > img { border-radius: 21.58%; }
  .mu-avatar::after { display: none; }
  .mu-fade { -webkit-mask-image: linear-gradient(#000 84px, transparent 147px); mask-image: linear-gradient(#000 84px, transparent 147px); }
  .mu-agclip { clip-path: none; }
  .mu-langs { --row0: -35px; height: 179px; }
  .mu-stage:has(.mu-langs) { overflow: visible; }
  .mu-devices > img { border-radius: 11.93px; }
  .mu-tilt.t1, .mu-tilt.t3 { display: none; }
  .mu-tilt, .mu-tilt > img, .mu-card.is-active .mu-tilt, .mu-card.is-active .mu-tilt > img { border-radius: 9.38px; }
  .mu-contact { padding: 144px 12px 0; }
  .mu-ct-card { min-height: 0; height: auto; }
}
@media (max-width: 809.98px) { .mu-ct-card .ct-card-title { max-width: none; } }
