/* Candidate title view only. Shared B assets remain unchanged. */
body.museum-profile-native-page .mm-site-header,
body.museum-profile-native-page .mm-site-nav { position:relative!important; inset:auto!important; transform:none!important; }
.museum-profile-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(15rem,1fr); gap:2rem; align-items:start; }
.museum-profile-story,.museum-profile-practical { min-width:0; }
.museum-profile-map { grid-column:1/-1; min-width:0; }
.museum-profile-sources { font-size:.9rem; }
@media(max-width:767px) { .museum-profile-grid { grid-template-columns:minmax(0,1fr); gap:1.25rem; } }

/* Actual768px repair: wrap complete practical values, do not hide or truncate them. */
.museum-profile-practical :is(table,dl,dt,dd,th,td,a,p) { min-width:0; max-width:100%; overflow-wrap:normal; word-break:normal; }
.museum-profile-practical table { width:100%; table-layout:fixed; }
.museum-profile-practical :is(th,td) { overflow-wrap:normal; word-break:normal; }
.museum-profile-practical a:is([href^="https://"],[href^="http://"],[href^="mailto:"]) { overflow-wrap:anywhere; word-break:normal; }
/* Match the profile main top gap; generic site section padding is not profile content. */
body.museum-profile-native-page .museum-profile-source-v2 { padding-block:0!important; margin-block-start:0!important; }

/* Source view is outside .edition-article: give it the SAME shared left-line shield. */
body.mm-native-page .museum-profile-source-v2,
body.mm-native-page .museum-profile-source-v2 .concept-heading,
body.mm-native-page .museum-profile-source-v2 h1 { margin-inline:0!important; padding-inline:0!important; text-align:left!important; }

/* Actual768px readability: the narrow practical column now stacks, without truncation. */
@media(max-width:900px) { .museum-profile-grid { grid-template-columns:minmax(0,1fr); } }

/* R1 15589: use the document language dictionary, never an arbitrary letter break in headings. */
body.museum-profile-native-page .museum-profile-story :is(h1,h2,h3,h4,h5,h6),
body.museum-profile-native-page .museum-profile-practical :is(h1,h2,h3,h4,h5,h6),
body.museum-profile-native-page .museum-profile-source-v2 :is(h1,h2,h3,h4,h5,h6) { overflow-wrap:normal; word-break:normal; hyphens:auto; }

/* R1 15528: practical labels and values stack on mobile and the narrow desktop aside; ordinary words remain whole. */
@media(max-width:700px), (min-width:901px) {
 .museum-profile-practical :is(table,tbody,tr,th,td) { display:block; width:100%; max-width:100%; box-sizing:border-box; }
 .museum-profile-practical :is(th,td) { border:0; text-align:left; padding-inline:0; }
 .museum-profile-practical tr { padding-block:.5rem; }
 .museum-profile-practical tr > :first-child { font-weight:600; padding-block-end:.15rem; }
 .museum-profile-practical tr > :last-child { padding-block-start:0; }
 .museum-profile-practical :is(dt,dd) { display:block; width:100%; margin-inline:0; }
}

/* R1 15589: mobile title cap derived from the observed unhyphenated DE compound width. */
@layer museum-typography {
@media(max-width:480px) {
 body.mm-native-page.museum-profile-native-page #main .museum-profile-story .concept-heading h1,
 body.mm-native-page.museum-profile-native-page #main .museum-profile-source-v2 h1 { font-size:min(2rem,6.5vw)!important; }
}
}

/* R1 #15701: practical table shares the heading left line. */
.museum-profile-practical figure.wp-block-table{margin-inline:0}

/* Confirmed #15734/#15735: profile headings keep their full text within their column.
   Preserve R1 #15589 dictionary hyphenation: no arbitrary letter-breaking fallback. */
body.mm-native-page.museum-profile-native-page #main :is(.museum-profile-story,.museum-profile-practical,.museum-profile-source-v2) :is(h1,h2,h3,h4,h5,h6) {
 min-inline-size:0; max-inline-size:100%; box-sizing:border-box; white-space:normal;
 overflow-wrap:normal; word-break:normal; hyphens:auto;
}
/* Match the existing mobile h1 cap for h2 compounds such as Theaterinformationen. */
@media(max-width:480px) {
 body.mm-native-page.museum-profile-native-page #main :is(.museum-profile-story,.museum-profile-practical,.museum-profile-source-v2) h2 { font-size:min(2rem,6.5vw)!important; }
}
