.mobile-visit-links { display: none; }
.museum-map { margin: 24px 0; }
.museum-map img, .tourism-cards img { display: block; width: 100%; height: auto; }
.museum-map a:focus-visible { outline: 3px solid currentColor; }
.access-google-map { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.access-info .access-overview-map { margin: 16px 0 0; max-width: 210px; }
.access-info .access-overview-map img { display: block; }
.guide-disclosure { min-width: 0; background: #fff; border-block-end: 1px solid #cfc9c1; }
.guide-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 16px 10px; font-weight: 700; line-height: 1.6; }
.guide-disclosure summary::-webkit-details-marker { display: none; }
.guide-disclosure summary::after { content: '+'; font: 24px/1 sans-serif; }
.guide-disclosure[open] > summary::after { content: '−'; }
.guide-disclosure summary:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.guide-disclosure__body { padding: 0 12px 20px; }
.route-grid.route-grid--detailed, .guide-rental .rental-area-grid { display: block; }
.guide-rental .rental-area-grid { margin-top: 18px; }
.museum-services.service-card-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,225px),1fr)); }
.museum-services a { text-decoration: underline; }
.tourism-guide .museum-map { max-width: 760px; margin: 36px auto; }
.tourism-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; margin: 32px 0 56px; }
.tourism-cards img { aspect-ratio: 3 / 2; object-fit: cover; }
.tourism-cards a { display: inline-block; padding-block: 8px; text-decoration: underline; }
.tourism-stop { display: flow-root; padding-block: 14px; border-block-end: 1px solid #ddd; }
.tourism-stop h5 { margin: 0 0 8px; font-size: 1rem; }
.tourism-stop img { float: right; width: min(35%, 180px); height: auto; margin: 0 0 8px 16px; }
.tourism-stop p { margin: 6px 0; }
.detail-hero__visual a { display: block; width: 100%; height: 100%; }
.home-closing--video { position: relative; }
.film-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); border: 2px solid #fff; background: #141414ce; color: #fff; border-radius: 50%; width: 64px; height: 64px; cursor: pointer; display: grid; place-items: center; }
.film-play::after { content: ''; border-block: 10px solid transparent; border-left: 16px solid white; margin-left: 5px; }
.film-play[hidden] { display: none; }
.film-play:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.home-slow__body > a { height: auto; max-height: none; align-self: start; }
.home-slow__body > a img { display: block; width: 100%; height: auto; }
html:root .home-dali { width: min(16vw,240px); bottom: 0; clip-path: inset(0 0 14% 22%); transform: translate(-22%,14%); }
.home-slow { overflow: hidden; }
.about-revised .profile-name { display: block; font: 700 clamp(20px,2.6vw,30px)/1.45 "Noto Sans JP","Yu Gothic",Meiryo,sans-serif; }
.profile-name small { font-size: .65em; font-weight: 400; }
.home-footer__social img { filter: contrast(3); mix-blend-mode: screen; }
main:is(.wp-exhibition-page,.collection-revised), main:has(.detail-hero,.work-detail-hero,.collection-list-hero,.collection-contact-sheet) {
  --display-serif: "Lato","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
}
main:is(.wp-exhibition-page,.collection-revised) :is(h1,h2,h3,h4),
main:has(.detail-hero,.work-detail-hero,.collection-list-hero,.collection-contact-sheet) :is(h1,h2,h3,h4) { font-family: var(--display-serif); }
@media (max-width: 760px) {
  html:root { --museum-header-height: 102px; }
  .mobile-visit-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: #171717; border-bottom: 1px solid #555; }
  .mobile-visit-links a { display: grid; min-height: 44px; place-items: center; color: #fff; font-size: 13px; font-weight: 600; }
  .mobile-visit-links a + a { border-inline-start: 1px solid #424242; }
  html:root .museum-header--home .museum-header__row { height: 57px; gap: 8px; }
  html:root .museum-header--home .museum-logo { width: min(42vw,225px); }
  .museum-header__tools .mmt-language-select-wrap { min-width: 0; }
  .museum-header__tools .mmt-language-select-wrap svg { display: none; }
  .museum-header .mmt-language-select, .mobile-language .mmt-language-select { min-width: 0; max-width: 100%; padding: 6px 2px; color: inherit; background: transparent; border: 0; }
  .museum-header__tools .mmt-language-select { font-size: 12px; }
  html:root .museum-header .mobile-language .mmt-language-select-wrap { align-items: center; justify-content: center; flex-direction: row; gap: 8px; }
  html:root .museum-header .mobile-language .mmt-language-select { width: auto; }
  :is(.about-section-nav,.facility-section-nav,.guide-local-nav) { position: static; display: grid; height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; align-items: stretch; gap: 0; overflow: visible; padding: 0; white-space: normal; }
  :is(.about-section-nav,.facility-section-nav,.guide-local-nav) > a { display: flex; align-items: center; justify-content: center; height: auto; min-height: 44px; min-width: 0; padding: 10px 7px; border: 0; border-right: 1px solid #d6d2ca; border-bottom: 1px solid #d6d2ca; font: 600 13px/1.5 "Noto Sans JP","Yu Gothic",Meiryo,sans-serif; text-align: center; white-space: normal; }
  .access-google-map { min-height: 260px; }
  .tourism-cards { grid-template-columns: 1fr; gap: 24px; }
  html:root .home-dali { width: 25%; }
}

/* November 12 internal review */
.faq-list h3 { margin: 2rem 0 .5rem; }
.faq-list h3:first-child { margin-top: 0; }
.faq-list a, a.work-status { text-decoration: underline; text-underline-offset: .2em; }
#work-commentary { scroll-margin-top: calc(var(--museum-header-height, 90px) + 16px); }
.staff-blog-section { max-width: 850px; margin: 0 auto 3rem; }
.staff-blog-posts { list-style: none; margin: 1rem 0; padding: 0; }
.staff-blog-posts li { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #ccc; }
.staff-blog-posts time { flex: none; font-variant-numeric: tabular-nums; }
.staff-blog-posts a { text-decoration: underline; }
.collection-masterpieces__image { height: 202px; aspect-ratio: auto; }
.other-works { scroll-margin-top: var(--museum-header-height, 90px); }
.other-work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.other-work-grid > a {
  display: grid;
  grid-template-rows: min(180px, 38vw) auto 1fr;
  align-items: start;
  min-width: 0;
  padding-top: 12px;
  overflow-wrap: anywhere;
}
.collection-masterpieces .collection-masterpieces__image img,
.other-work-grid > a > img {
  display: block; width: auto; height: auto; max-width: min(100%, 180px); max-height: 180px;
  object-fit: contain; aspect-ratio: auto; margin-inline: auto; background: transparent;
}
.other-work-grid > a > img { align-self: center; max-height: 100%; }
@media (max-width: 900px) {
  .other-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 24px); }
}
@media (max-width: 600px) {
  .other-work-grid :is(span, small) { padding-inline: 10px; }
  .other-work-grid span { padding-top: 12px; font-size: 15px; }
}
.tourism-cards--intro { align-items: start; }
.tourism-guide .tourism-cards--intro .museum-map { margin: 0; width: 100%; }
.tourism-cards--areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tourism-cards--courses > article > img { max-width: 220px; }
.detail-hero.detail-hero--reopening {
  grid-template-columns: minmax(0, 680px) 210px;
  justify-content: center;
  align-items: center;
  column-gap: clamp(32px, 4vw, 56px);
  padding: clamp(36px, 4.5vw, 68px) max(5vw, 20px);
}
.detail-hero--reopening .detail-hero__copy { min-width: 0; padding: 0; }
.detail-hero--reopening .breadcrumb { margin: 0 0 24px; color: #bcbcbc; }
.detail-hero--reopening .detail-labels { margin-bottom: 16px; }
.detail-hero--reopening .detail-labels span { color: #dfb37c; border-color: #987346; }
.detail-hero--reopening h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 3.65vw, 50px);
  line-height: 1.32;
  letter-spacing: -.015em;
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: anywhere;
}
.reopening-title__intro { display: block; margin-bottom: .35em; font-size: .64em; line-height: 1.4; }
.reopening-title__qualifier { display: inline-block; font-size: max(12px, .46em); font-weight: 500; white-space: nowrap; }
.detail-hero--reopening .detail-date { margin: 0; }
.detail-hero.detail-hero--reopening .detail-hero__visual { display: grid; place-items: center; min-height: 0; margin: 0; width: 100%; height: auto; aspect-ratio: auto; }
.detail-hero.detail-hero--reopening .detail-hero__visual img { width: min(100%, 210px); height: auto; max-height: 300px; object-fit: contain; box-shadow: none; }
@media (max-width: 760px) {
  .mobile-visit-links { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .mobile-visit-links > a { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 3px; text-align: center; line-height: 1.2; }
  .mobile-visit-links .museum-status { display: inline; border: 0; padding: 0; font: inherit; white-space: normal; }
  .mobile-visit-links img { display: block; flex: none; object-fit: contain; }
  .mobile-calendar-icon { display: inline-block; flex: none; width: 17px; height: 16px; border: 1px solid currentColor; border-radius: 2px; position: relative; }
  .mobile-calendar-icon::before { content: ''; position: absolute; inset: 3px 0 auto; border-top: 1px solid currentColor; }
  .mobile-calendar-icon::after { content: ''; position: absolute; width: 7px; height: 4px; top: -3px; left: 3px; border-inline: 1px solid currentColor; }
  .detail-hero.detail-hero--exhibition { grid-template-columns: minmax(0,1fr); padding-inline: max(16px, 5vw); gap: 20px; }
  .detail-hero--exhibition .detail-hero__copy { width: 100%; min-width: 0; padding: 16px; }
  .detail-hero.detail-hero--reopening { grid-template-columns: minmax(0, 520px); gap: 24px; padding: 28px max(5vw, 16px) 32px; }
  .detail-hero--reopening .detail-hero__copy { padding: 0; }
  .detail-hero--reopening .breadcrumb { margin-bottom: 16px; }
  .detail-hero--reopening h1 { margin-bottom: 16px; font-size: clamp(22px, 6.8vw, 36px); }
  .detail-hero.detail-hero--reopening .detail-hero__visual img { width: min(100%, 150px); }
  .tourism-cards--areas { grid-template-columns: 1fr; }
  .staff-blog-posts li { display: grid; gap: .2rem; }
}

.staff-archive-year { border-bottom: 1px solid #ccc; }
.staff-archive-year summary { padding: .8rem 0; font-weight: 700; cursor: pointer; }
.content-detail-body--column img { max-width: 100%; height: auto; }
