/*
Theme Name: Salient Child
Template: salient
*/


/* 1. Spoof Light */
@font-face {
  font-family: 'spoof-light';
  src: url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-light.woff2') format('woff2'),
       url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* 2. Spoof Bold */
@font-face {
  font-family: 'spoof-bold';
  src: url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-bold.woff2') format('woff2'),
       url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 3. Spoof Medium */
@font-face {
  font-family: 'spoof-medium';
  src: url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-medium.woff2') format('woff2'),
       url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 4. Spoof Light Slanted */
@font-face {
  font-family: 'spoof-light-slanted';
  src: url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-light-slanted.woff2') format('woff2'),
       url('https://ccfo.berlin/wp-content/uploads/fonts/spoof-light-slanted.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* === Font-Zuweisungen laut deiner Plugin-Einstellung === 

h1, h2, h4, body {
  font-family: 'spoof-light', sans-serif !important;
}

h3, strong, b, .widget-title {
  font-family: 'spoof-bold', sans-serif !important;
}

h5, h6, body.category .entry-title {
  font-family: 'spoof-medium', sans-serif !important;
}

em {
  font-family: 'spoof-light-slanted', sans-serif !important;
}

/* === Font-Zuweisungen laut deiner Plugin-Einstellung === */ 

h1, h4, body {
  font-family: 'spoof-light', sans-serif !important;
  font-weight: 300 !important;
}

h3, strong, b, .widget-title {
  font-family: 'spoof-bold', sans-serif !important;
  font-weight: 700 !important;
}

h2, h5, h6, body.category .entry-title {
  font-family: 'spoof-medium', sans-serif !important;
  font-weight: 400 !important;
}

em {
  font-family: 'spoof-light-slanted', sans-serif !important;
  font-weight: 300 !important;
  font-style: italic !important;
}

/* Feinjustierung für h2 auf iPad/iOS */
/* @media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1024px) {
  h2 {
    font-family: 'spoof-light', sans-serif !important;
    font-weight: 300 !important;
    -webkit-font-smoothing: antialiased;
    font-style: normal !important;
  }
} */




/* === Mobile Anpassung === */
@media (max-width: 768px) {
  h1, h4, body {
    font-family: 'spoof-light', sans-serif !important;
    font-weight: 300 !important;
  }

  h3, strong, b, .widget-title {
    font-family: 'spoof-bold', sans-serif !important;
    font-weight: 700 !important;
  }

  h2, h5, h6, body.category .entry-title {
    font-family: 'spoof-medium', sans-serif !important;
    font-weight: 400 !important;
  }

  em {
    font-family: 'spoof-light-slanted', sans-serif !important;
    font-weight: 300 !important;
    font-style: italic !important;
  }
}


/* === Scroll-Fix (unverändert) === */
body {
  overflow-y: auto !important;
}

.n8n-chat-widget-window .messages {
  height: 100% !important;
  max-height: none !important;
  overflow-y: auto !important;
}



