/* Painter's Theme 3.0 — static presentation for managed typography and rhythm.
 * All editable values are defined as sanitized custom properties by
 * inc/design-controls.php. Keep title selectors aligned with actual templates.
 */

/* Post titles: single, journal and archive. */
body .post-header .post-title,body .post-single .post-title,body .exhibition-single .exhibition-heading .post-title,body .editorial-single .editorial-heading .post-title,body .journal-entry .post-title,body .journal-entry .entry-title,body.archive .entry-title,body.search .entry-title,body.blog .entry-title,body .journal-entry.exhibition-journal-entry .exhibition-heading .post-title,body .journal-entry.editorial-journal-entry .editorial-heading .post-title {
  font-size: var(--lf-post-title-desktop-size, 2.75rem) !important;
  font-weight: var(--lf-post-title-weight, 500) !important;
  letter-spacing: var(--lf-post-title-spacing, -.025em) !important;
  line-height: var(--lf-post-title-line, 1.06) !important;
}
@media (max-width: 760px) {
  body .post-header .post-title,body .post-single .post-title,body .exhibition-single .exhibition-heading .post-title,body .editorial-single .editorial-heading .post-title,body .journal-entry .post-title,body .journal-entry .entry-title,body.archive .entry-title,body.search .entry-title,body.blog .entry-title,body .journal-entry.exhibition-journal-entry .exhibition-heading .post-title,body .journal-entry.editorial-journal-entry .editorial-heading .post-title { font-size: var(--lf-post-title-mobile-size, 2.25rem) !important; }
}
@media (max-width: 440px) {
  body .post-header .post-title,body .post-single .post-title,body .exhibition-single .exhibition-heading .post-title,body .editorial-single .editorial-heading .post-title,body .journal-entry .post-title,body .journal-entry .entry-title,body.archive .entry-title,body.search .entry-title,body.blog .entry-title,body .journal-entry.exhibition-journal-entry .exhibition-heading .post-title,body .journal-entry.editorial-journal-entry .editorial-heading .post-title { font-size: var(--lf-post-title-small-mobile-size, 1.8125rem) !important; }
}

.exhibition-text .exhibition-subtitle {
  font-size: var(--lf-exhibition-subtitle-size, 1.25rem) !important;
  font-weight: var(--lf-exhibition-subtitle-weight, 300) !important;
  letter-spacing: var(--lf-exhibition-subtitle-spacing, .02em) !important;
  line-height: var(--lf-exhibition-subtitle-line, 1.16) !important;
}
body .lf-managed-section-heading {
  font-size: var(--lf-section-label-size, .8125rem) !important;
  font-weight: var(--lf-section-label-weight, 500) !important;
  letter-spacing: var(--lf-section-label-spacing, .03em) !important;
  line-height: var(--lf-section-label-line, 1.25) !important;
  text-transform: var(--lf-section-label-transform, capitalize) !important;
  font-family: inherit !important;
}
.exhibition-events {
  margin-top: var(--lf-exhibition-events-top, 46px) !important;
  gap: var(--lf-exhibition-events-gap, 28px) !important;
}
@media (max-width: 760px) {
  .exhibition-events { margin-top: 0 !important; gap: var(--lf-exhibition-events-mobile-gap, 22px) !important; }
}
.exhibition-events .exhibition-event > .lf-managed-section-heading {
  margin-bottom: var(--lf-exhibition-event-heading-gap, 9px) !important;
}
body .work-single .work-specs { line-height: var(--lf-work-specs-line, 1.55) !important; }
body .work-single .work-specs .work-availability {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  display: block;
  margin-top: 1px;
}

/* Keep header alignment consistent across Works and content templates. */
.site-header { align-items: center !important; }
.site-header .site-brand { align-self: center !important; display: inline-flex; align-items: center; line-height: 1 !important; margin: 0; }
.site-brand img { display: block; }
.site-brand-picture { display: block; line-height: 0; }
.site-brand-text { display: inline-block; vertical-align: middle; }
.site-header--works { align-items: center !important; }
.site-header--works .site-brand,
.site-header--works .site-nav,
.site-header--works .work-filters-header { align-self: center !important; }
