/* palicci-type: type overrides for the Mauer Bild theme (1.3.3).
   Loaded after the theme stylesheet. Selector list mirrors every
   font-family rule in the theme's style.css, so nothing falls back
   to HK Grotesk or Cormorant Garamond. */

:root {
  --pal-sans: 'Founders Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pal-serif: 'Tiempos Fine', 'Times New Roman', Times, serif;
}

/* Body and everything that inherits from it */
body {
  font-family: var(--pal-sans);
  font-weight: 400;
  letter-spacing: 0;
}

/* Sans furniture the theme set explicitly (weights re-mapped) */
span.wpcf7-not-valid-tip,
div.wpcf7-response-output,
.entry-tags a, .tagcloud a,
.comments-title, .comment-date, .comment-reply-title,
.comment-notes, .logged-in-as, .subscribe-label, label[for='wp-comment-cookies-consent'],
.form-allowed-tags, .form-allowed-tags code {
  font-family: var(--pal-sans);
}

input[type="submit"], .section-main-content input[type="submit"], button,
.ghost-button-link, .section-main-content .ghost-button-link,
.wp-block-button__link, .is-style-outline .wp-block-button__link {
  font-family: var(--pal-sans);
  font-weight: 500;
}

blockquote, .wp-block-quote:not(.is-large):not(.is-style-large) {
  font-family: var(--pal-sans);
  font-weight: 500;
}

/* Italic inside body copy: the theme swapped to a serif italic at 22px.
   Founders Italic at body size instead; sizes and leading return to inherit. */
.entry-content p em, .entry-content p i {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

/* Captions: the theme's 300 is too faint in Founders at 12px */
.mauer-bild-gallery-pswp figcaption, .wp-caption-text, .entry-thumb-caption,
.wp-block-image figcaption, .wp-block-embed figcaption {
  font-weight: 400;
}

/* Headings and display: Tiempos Fine Medium */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.entry-title, .entry-title a,
.bild-menu,
.text-logo,
.entry-tags,
.wp-block-cover,
.mauer-rsContent-text,
div.sharedaddy h3.sd-title {
  font-family: var(--pal-serif);
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.entry-title, .entry-title a,
.bild-menu {
  letter-spacing: -0.015em;
}

div.sharedaddy h3.sd-title {
  font-weight: 500 !important; /* theme uses !important here */
}

.awaiting-moderation {
  font-family: var(--pal-serif);
  font-style: italic;
}
