/* Content only: branding, navigation, widgets from other plugins and embedded maps retain their own UI typography. */
body.nk-content-type{
  --nkt-title:32px;
  --nkt-section:23px;
  --nkt-entry:18px;
  --nkt-news:18px;
  --nkt-body:16px;
  --nkt-meta:13px;
  --nkt-ink:#082c4c;
  --nkt-muted:#65758a;
}
body.nk-type-aligned .site-main{
  font-family:Arial,Helvetica,sans-serif;
  font-size:var(--nkt-body);
  line-height:1.6;
  color:#3e4b56;
}
body.nk-type-aligned .site-main :is(.entry-content,.nl-detail-description,.wp-block-latest-posts__post-excerpt){font-family:Arial,Helvetica,sans-serif;font-size:var(--nkt-body)!important;line-height:1.6!important}
body.nk-type-aligned .site-main :is(p,li){font-size:var(--nkt-body)!important;line-height:1.6}
body.nk-content-type .site-main :is(h1,h2,h3){font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;color:var(--nkt-ink)!important;line-height:1.3!important;letter-spacing:-.25px!important;text-transform:none!important;overflow-wrap:anywhere}
body.nk-content-type .site-main h1{font-size:var(--nkt-title)!important;line-height:1.25!important;letter-spacing:-.7px!important;margin:0 0 12px!important}
body.nk-content-type .site-main h2{font-size:var(--nkt-section)!important;margin:16px 0 8px!important}
body.nk-content-type .site-main h3{font-size:var(--nkt-entry)!important;margin:12px 0 6px!important}
body.nk-content-type .site-main :is(h1,h2,h3) a{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit!important}
/* Regional feed remains denser than a long-form page, without tiny teaser copy. */
body.nk-type-news .site-main h3.se-news-title{font-size:var(--nkt-news)!important;line-height:1.35!important;margin:10px 0 0!important;letter-spacing:0!important}
body.nk-type-news .site-main p.se-news-excerpt{font-size:var(--nkt-body)!important;line-height:1.5!important;color:#3e4b56!important;margin:6px 0 0!important}
body.nk-type-news .site-main p.se-news-meta{font-size:var(--nkt-meta)!important;line-height:1.45!important;color:var(--nkt-muted)!important;margin:6px 0 0!important}
/* Local entry titles are links, not heading elements. */
body.nk-type-aligned .site-main .wp-block-latest-posts__post-title{font-family:Arial,Helvetica,sans-serif!important;font-size:var(--nkt-entry)!important;font-weight:700!important;line-height:1.35!important;color:var(--nkt-ink)!important;overflow-wrap:anywhere}
body.nk-type-aligned .site-main :is(.wp-block-latest-posts__post-date,.wp-block-latest-posts__post-author,.entry-meta){font-size:var(--nkt-meta)!important;line-height:1.5!important;color:var(--nkt-muted)!important}
body.nk-type-aligned .site-main .nk-event-meta{font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.5!important;color:#465a6d!important}
/* Keep the sidebar event card in the same entry-title hierarchy. */
body.nk-type-news .widget-area .wp-block-latest-posts__post-title{font-family:Arial,Helvetica,sans-serif!important;font-size:var(--nkt-entry)!important;line-height:1.35!important;font-weight:700!important;color:#082c4c!important}
body.nk-type-news .widget-area .nk-event-meta{font-size:14px!important;line-height:1.5!important}
body.nk-type-events .site-main .nk-terminuebersicht{margin-block:12px 20px}
/* Event list: headings and metadata have stable sizes independent of theme rem values. */
body.nk-type-events .site-main .nk-terminuebersicht__intro h2{margin:0 0 8px!important}
body.nk-type-events .site-main .nk-terminuebersicht__body h3{margin:0 0 7px!important;line-height:1.35!important}
body.nk-type-events .site-main .nk-terminuebersicht__meta{font-size:14px!important;line-height:1.5!important;color:#58667a!important}
body.nk-type-events .site-main p.nk-terminuebersicht__description{font-size:16px!important;line-height:1.6!important}
/* Location descriptions and compact contact panels share legible body typography. */
body.nk-type-place .site-main .nl-detail-description{color:#3e4b56!important}
body.nk-type-place .site-main :is(.nl-contact-card,.nl-street-view-section,.nl-hours-section,.nl-contact-section) h2{font-size:var(--nkt-entry)!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 10px!important}
body.nk-type-place .site-main .nl-contact-card p{font-size:16px!important;line-height:1.5!important}
body.nk-type-place .site-main .nl-contact-card strong{font-size:13px!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;color:#65758a!important}
body.nk-type-place .site-main .nl-hours-table{font-family:Arial,Helvetica,sans-serif!important;font-size:16px!important;line-height:1.5!important}
body.nk-type-place .site-main :is(.nl-back-btn,.nl-map-link){font-size:14px!important;line-height:1.5!important}
@media(max-width:720px){
  body.nk-content-type{--nkt-title:27px;--nkt-section:21px}
  body.nk-content-type .site-main h1{letter-spacing:-.5px!important;margin-bottom:10px!important}
}
/* Longer, readable titles must not be squeezed beside a floated 150 px image on phones. */
@media(max-width:720px){
  body.nk-type-local .site-main .wp-block-latest-posts{padding-left:0!important;margin-left:0!important;list-style:none}
  body.nk-type-local .site-main .wp-block-latest-posts>li{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}
  body.nk-type-local .site-main .wp-block-latest-posts__featured-image{grid-column:1;grid-row:1;float:none!important;width:96px!important;max-width:96px!important;margin:0!important}
  body.nk-type-local .site-main .wp-block-latest-posts__featured-image img{display:block;width:96px!important;height:96px!important;object-fit:cover}
  body.nk-type-local .site-main .wp-block-latest-posts__post-title{grid-column:1;grid-row:2;min-width:0;width:auto!important;margin:0!important}
  body.nk-type-local .site-main .wp-block-latest-posts__post-excerpt{grid-column:1/-1;margin-top:0!important}
  body.nk-type-local .site-main .wp-block-latest-posts>li:not(:has(.wp-block-latest-posts__featured-image)){grid-template-columns:minmax(0,1fr)}
  body.nk-type-local .site-main .wp-block-latest-posts>li:not(:has(.wp-block-latest-posts__featured-image)) .wp-block-latest-posts__post-title{grid-column:1}
}
