.art-typography main { font-family: Arial, Helvetica, sans-serif; color: #454545; --gallery-ink: #363636; --secondary: #585858; }
.art-typography main :is(h1,h2,h3,h4,p,dt,dd,figcaption) { font-family: inherit; }
body.art-typography main h1 { font-size: clamp(25px, 2.2vw, 36px); line-height: 1.18; font-weight: 400; letter-spacing: -.015em; }
body.art-typography main h2 { font-size: clamp(20px, 1.65vw, 27px); font-weight: 400; }
body.art-typography main h3 { font-size: 17px; font-weight: 400; }
body.art-typography main p { font-size: 16px; line-height: 1.6; }
body.art-typography main :is(dl, .work-label, .image-hint, figcaption, .work-medium, .gallery-caption, .series-heading p) { font-size: 14px; line-height: 1.5; }
body.art-typography .exhibition-work h3 { font-size: 16px; }

@media (max-width: 760px) {
  .art-typography > .header { height: 64px; padding: 6px 16px; }
  .art-typography .brand img { width: 50px; height: 50px; object-fit: contain; }
  .art-typography .actions .iconbtn { width: 44px; height: 44px; }
  .art-typography .actions svg { width: 21px; height: 21px; }
  .gallery-page:not(.gallery-overview) .breadcrumbs { display: none; }
  .art-typography .work-nav { min-height: 44px; padding-block: 4px; font: 13px/1.4 Arial, sans-serif; }
  .art-typography .work-reading { margin-top: 16px; }
  .art-typography main .work-info h1 { font-size: 23px; margin: 0 0 12px; }
  .art-typography main .work-info dl { font: 14px/1.5 Arial, sans-serif; }
  .art-typography .work-info dl div { grid-template-columns: minmax(90px, .65fr) 1fr; gap: 8px; }
  .art-typography main .image-hint { margin-top: 6px; font: 12px/1.5 Arial, sans-serif; }
}

body.art-typography main h2 { font-size:clamp(18px,1.5vw,23px); }
body.art-typography main p { font-size:15px; }
body.art-typography main .exhibition-work h3 { font-size:15px; }
body.art-typography main :is(.painting-story p,.work-info dl,.gallery-caption,.gallery-caption a,.work-label,.work-medium,.image-hint,.series-heading p,.gallery-controls output,figcaption,.work-story summary,.scale-comparison summary) { font-size:12px; line-height:1.55; color:#606060; font-weight:400; }
body.art-typography main .painting-story p { max-width:60ch; margin:0 0 .75em; }
body.art-typography main .exhibition-nav { align-items:center; gap:10px 22px; padding-block:12px; }
body.art-typography main .exhibition-nav nav { gap:0 18px; }
body.art-typography main .exhibition-nav nav a { display:inline-flex; align-items:center; min-height:36px; padding:0; font:400 13px/1.4 Arial,sans-serif; text-decoration:underline; text-decoration-color:#999; text-underline-offset:4px; }
body.art-typography main .collection-select select { min-height:36px; padding:4px 8px; border:1px solid #aaa; border-radius:4px; font:400 13px/1.4 Arial,sans-serif; color:#404040; }
body.art-typography main .painting-link h3 { text-decoration:underline; text-decoration-color:#aaa; text-underline-offset:3px; }

.gallery-overview main .exhibition { padding-top:16px; }
body.art-typography main .exhibition-nav { border:0; margin:0; padding:0; }
body.art-typography main .collection-select select { border-radius:999px; padding:8px 18px; min-height:42px; }
.gallery-overview .painting-series { padding-top:22px; }
@media(max-width:760px) {
  .gallery-overview .painting-series .slide-window { margin-inline:calc(-1 * var(--gallery-margin)); }
  .gallery-overview .painting-series .gallery-track { grid-auto-columns:100%; gap:0; padding-inline:0; scrollbar-width:none; }
  .gallery-overview .exhibition-work > :not(.painting-link), .gallery-overview .painting-link h3 { margin-inline:var(--gallery-margin); }
  .gallery-overview .slide-window .gallery-controls { justify-content:flex-end; padding:0 var(--gallery-margin); gap:0; }
}

.group-picker { width:min(100%,16rem); font:400 13px/1.45 Arial,sans-serif; color:#474747; }
.group-picker summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; padding:10px 19px; border:1px solid #c9c9c5; border-radius:99px; }
.group-picker summary::-webkit-details-marker { display:none; }
.group-picker summary::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); margin:-3px 2px 0 16px; }
.group-picker[open] summary::after { transform:rotate(225deg); margin-top:3px; }
.group-picker summary:focus-visible { outline:1px solid #446864; outline-offset:-1px; box-shadow:none; }
.group-picker > div { padding:4px 18px; }
.group-picker button { display:block; width:100%; padding:10px 0; text-align:left; color:inherit; background:transparent; border:0; font:inherit; cursor:pointer; }
.group-picker button + button { border-top:1px solid #e8e8e5; }
.group-picker button[aria-pressed=true] { color:#245d55; }
@media(max-width:760px) {
  .gallery-opening .room-track { scrollbar-width:none; }
  .gallery-opening .room-track::-webkit-scrollbar { display:none; }
  .gallery-opening .gallery-caption { padding-block:8px 2px; }
  .gallery-opening .gallery-caption a { text-decoration:none; }
  .gallery-opening .room-controls output { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .gallery-opening .gallery-heading h1 { font-size:21px; }
}

.group-picker button:is(:hover,:active,:focus-visible) { background:#f5f5f3; color:#333; }
.group-picker button[aria-pressed=true] { background:transparent; color:#333; text-decoration:underline; text-underline-offset:4px; }

.group-picker button { padding-inline:8px; }
@media(max-width:760px) {
}

body.art-typography main .exhibition-work :is(h3,.work-medium,.work-label,.work-read) { font:400 12px/1.5 Arial,sans-serif; letter-spacing:normal; }
body.art-typography main .exhibition-work h3 { color:#404040; margin-block:8px 2px; }
.exhibition-work .work-read { display:inline-block; padding-block:6px; color:#555; text-decoration:underline; text-underline-offset:3px; }

/* Eén korps voor de zaaltekst, de cataloguskaart en het bijschrift op de werkpagina. */
body.art-typography main :is(.gallery-caption,.gallery-caption strong,.gallery-caption a,.exhibition-work h3,.work-medium,.work-label,.work-read,.series-heading output,.work-info h1,.work-info dl,.work-info dt,.work-info dd,.image-hint,.view-enquiry,.detail-story p,.paint-detail figcaption,.scale-comparison summary) {
  font:400 12px/1.5 Arial,Helvetica,sans-serif; color:#555; letter-spacing:normal;
}
body.art-typography main :is(.work-info h1,.exhibition-work h3,.gallery-caption strong) { color:#333; }
body.art-typography main .work-info h1 { margin:0; }
body.art-typography main .work-info { gap:9px; }
body.art-typography main .work-info dl div { padding-block:1px; }

body.gallery-overview main .series-heading h2 { letter-spacing:.035em; line-height:1.35; }
.gallery-overview .series-heading { margin-bottom:24px; }
body.gallery-overview main .gallery-heading h1 { font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; font-size:clamp(27px,calc(2.2vw + 2px),38px); font-weight:300; letter-spacing:.012em; }
.gallery-overview .gallery-heading { padding-block:13px 18px; }
@media(max-width:760px) { body.gallery-overview main .gallery-heading h1 { font-size:23px; } }

.print-group { padding:8px 14px; border:1px solid #c9c9c5; border-radius:99px; background:white; color:#505050; font:400 13px/1.45 Arial,sans-serif; cursor:pointer; }
.print-status { font-size:12px; }
.print-catalog { display:none; }
@media print {
  @page { size:A4 portrait; margin:10mm; }
  @page flow-artwork { size:A4 portrait; margin:0; }
  body:has(.print-catalog) > :not(.print-catalog) { display:none !important; }
  .print-catalog { display:block; }

}

body.art-typography main .exhibition-nav { display:grid; grid-template-columns:minmax(0,16rem) auto; align-items:start; justify-content:start; gap:6px 8px; }
.exhibition-nav .group-picker { width:100%; }
.exhibition-nav .group-picker summary,.exhibition-nav .print-group { box-sizing:border-box; min-height:42px; font:400 13px/18px Arial,sans-serif; padding-block:10px; }
.exhibition-nav .print-group { white-space:nowrap; }
.print-status:empty { display:none; }
.print-status { grid-column:1/-1; }
.print-choice { display:flex; align-items:center; gap:6px; width:fit-content; min-height:32px; font:400 12px/1.5 Arial,sans-serif; color:#555; }
.print-choice input { margin:0; accent-color:#22665e; }

.art-heart { vertical-align:middle; display:inline-grid; place-items:center; min-width:36px; min-height:36px; padding:0; margin:0; border:0; background:transparent; color:#626262; font:19px/1 Arial,sans-serif; cursor:pointer; }
.art-heart[aria-pressed=true] { color:#26726d; }
#print-options { width:min(320px,90vw); padding:22px; border:1px solid #ccc; border-radius:12px; color:#444; }
#print-options::backdrop { background:rgb(0 0 0 / 25%); }
#print-options label { display:block; font-size:13px; margin:14px 0 4px; }
#print-options select,.print-confirm { padding:8px 12px; border:1px solid #aaa; border-radius:7px; color:inherit; background:white; }
#print-options select { width:100%; }
.print-confirm { margin-top:16px; }

#print-options { width:min(680px,94vw); max-height:88svh; overflow:auto; padding:clamp(16px,3vw,28px); }
#print-options .print-toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
#print-options .print-scope { position:relative; display:inline-block; margin:0; }
#print-options .print-scope::after { content:""; pointer-events:none; position:absolute; right:17px; top:45%; width:6px; height:6px; border:solid #555; border-width:0 1px 1px 0; transform:rotate(45deg); }
#print-options .print-scope select { appearance:none; padding-right:38px; }
#print-options select,#print-options .print-confirm,.exhibition-nav .print-group,.group-picker summary { box-sizing:border-box; margin:0; min-height:42px; border:1px solid #c9c9c5; border-radius:99px; padding:10px 16px; font:400 13px/20px Arial,sans-serif; color:#444; background:white; }
#print-options .preview-count { font:12px/1.5 Arial,sans-serif; color:#666; margin:14px 0 8px; }
#print-options h2 { line-height:1.3; }
#print-options select:focus, #print-options button:focus-visible,
.gallery-overview :is(.print-group,.group-picker summary):focus-visible {
  outline:1px solid #446864; outline-offset:-1px; box-shadow:none;
}

body.art-typography main .work-info > .button { width:fit-content; min-height:38px; padding:8px 18px; margin:12px 0 7px; border:1px solid #aaa9a4; border-radius:999px; background:white; color:#444; font:400 13px/1.45 Arial,sans-serif; }
body.art-typography main .work-info > .button:hover { background:#f5f5f2; }

.scale-room { position:relative; width:100%; max-width:820px; aspect-ratio:2/1; margin-top:14px; background:#efeae0 url("galerie/woonkamer-met-bezoekers.webp") center/100% 100% no-repeat; }
.scale-room img { position:absolute; left:38%; transform:translate(-50%,-50%); object-fit:contain; filter:drop-shadow(1px 2px 2px #493c302b); }

body.art-typography main :is(.paint-detail summary,.scale-comparison summary,.work-pagination a,.paint-detail figcaption) { font:400 12px/1.5 Arial,sans-serif; color:#555; }
body.art-typography main :is(.paint-detail,.scale-comparison) { border:0; }
body.art-typography main :is(.paint-detail,.scale-comparison) summary { display:block; width:fit-content; padding:6px 0; border:0; list-style:none; cursor:pointer; text-decoration:underline; text-decoration-color:#aaa; text-underline-offset:3px; }
body.art-typography main :is(.paint-detail,.scale-comparison) summary::-webkit-details-marker { display:none; }
body.art-typography main :is(.paint-detail,.scale-comparison) summary:focus { outline:0; box-shadow:none; }
body.art-typography main :is(.paint-detail,.scale-comparison) summary:focus-visible { text-decoration-color:#225d55; text-decoration-thickness:2px; }



#print-options :is(.density-choice,.story-choice) { display:inline-flex; align-items:center; gap:6px; margin:0; }
.catalog-preview { container-type:inline-size; }
.art-sheet {
  --mm:calc(100cqw / 210);
  box-sizing:border-box; width:calc(190 * var(--mm)); height:calc(276 * var(--mm));
  padding:calc(10 * var(--mm)); margin:calc(10 * var(--mm)) auto;
  display:flex; flex-direction:column; color:#484846; background:#fff;
}
body.art-typography .art-sheet h1 {
  flex:none; text-align:left; margin:0 0 0 calc(var(--heading-inset) * var(--mm));
  height:calc(20 * var(--mm)); font:400 calc(8.46667 * var(--mm))/1.2 Arial,sans-serif;
  letter-spacing:0; color:#444;
}
.sheet-works { display:grid; gap:calc(8 * var(--mm)); }
.sheet-row { display:flex; justify-content:center; gap:calc(8 * var(--mm)); position:relative; }
.three-columns .sheet-row { justify-content:flex-start; }
.sheet-row + .sheet-row::before {
  content:""; position:absolute; left:0; right:0; top:calc(-4 * var(--mm)); border-top:calc(.15 * var(--mm)) solid #d3d3d0;
}
.art-sheet figure { width:calc(var(--column-width) * var(--mm)); margin:0; }
.art-sheet figure img {
  display:block; height:calc(var(--row-height) * var(--mm)); width:calc(var(--image-width) * var(--mm));
  margin:0 auto; object-fit:contain;
}
body.art-typography .art-sheet figure figcaption {
  margin:calc(2 * var(--mm)) 0 0 calc((var(--column-width) - var(--image-width)) * var(--mm) / 2);
  text-align:left; font:400 calc(2.64583 * var(--mm))/1.42 Arial,sans-serif; letter-spacing:0; color:#555;
}
body.art-typography .art-sheet figcaption :is(h3,p) { font:inherit; letter-spacing:0; }
body.art-typography .art-sheet figcaption h3 { margin:0 0 .18em; font-weight:600; color:#333; }
body.art-typography .art-sheet figcaption p { margin:.75em 0 0; max-width:68ch; }
.art-sheet footer {
  margin-top:auto; padding-top:calc(10 * var(--mm)); text-align:center;
  color:#666; font:400 calc(2.65 * var(--mm))/1.3 Arial,sans-serif;
}
@media print {
  /* Place the white margins inside the sheet so the browser adds no running headers. */
  .print-catalog { page:flow-artwork; }
  .print-catalog .art-sheet {
    --mm:1mm;
    width:210mm; height:297mm; padding:20mm 20mm 21mm; margin:0;
    break-after:page; break-inside:avoid;
  }
  .print-catalog .art-sheet:last-child { break-after:auto; }
}
