/*
Theme Name: Zahnarztpraxis-Bergedorf
Theme URI: 
Author: Aflinxh & Alexander Lechner
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: josephine
Text Domain: zpkj
Tags:
*/

/* FONT FAMILIES */
@font-face {
  font-family: "Haboro Soft";
  src: url("assets/fonts/HaboroSoft/HaboroSoft-NorReg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haboro Soft";
  src: url("assets/fonts/HaboroSoft/HaboroSoft-NorDem.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Haboro Soft";
  src: url("assets/fonts/HaboroSoft/HaboroSoft-NorBol.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --theme--mod--typography_font_family_global: "Haboro Soft", sans-serif;
  --theme--mod--typography_font_family_supplemental: "Haboro Soft", sans-serif;
  --theme--mod--typography_font_family_alternative: "Haboro Soft", sans-serif;
}

/* FONT SIZES CONFIGURATIONS */
:root {
  --fs-h1: 3.125rem; /* 50px / 16 */
  --fs-h2: 2.5rem; /* 40px / 16 */
  --fs-h3: 1.5625rem; /* 25px / 16 */
  --fs-h4: 1.375rem; /* 22px / 16 */
  --fs-p: 1.1875rem; /* 19px / 16 */
}

html.fs-large {
  --fs-h1: 3.125rem; /* 50px / 16 */
  --fs-h2: 2.8125rem; /* 45px / 16 */
  --fs-h3: 2.1875rem; /* 35px / 16 */
  --fs-h4: 1.875rem; /* 30px / 16 */
  --fs-p: 1.5625rem; /* 25px / 16 */
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 1.9375rem; /* 31px / 16 */
    --fs-h2: 1.875rem; /* 30px / 16 */
    --fs-h3: 1.5625rem; /* 25px / 16 */
    --fs-h4: 1.25rem; /* 20px / 16 */
    --fs-p: 1.0625rem; /* 17px / 16 */
  }

  html.fs-large {
    --fs-h1: 2.8125rem; /* 45px / 16 */
    --fs-h2: 2.1875rem; /* 35px / 16 */
    --fs-h3: 2.1875rem; /* 35px / 16 */
    --fs-h4: 1.75rem; /* 28px / 16 */
    --fs-p: 1.375rem; /* 22px / 16 */
  }
}

:where(h1) {
  font-size: var(--fs-h1) !important;
}
:where(h2) {
  font-size: var(--fs-h2) !important;
}
:where(h3) {
  font-size: var(--fs-h3) !important;
}
:where(p) {
  font-size: var(--fs-p) !important;
}

.has-h-1-font-size {
  font-size: var(--fs-h1) !important;
}
.has-h-2-font-size {
  font-size: var(--fs-h2) !important;
}
.has-h-3-font-size {
  font-size: var(--fs-h3) !important;
}
.has-p-font-size {
  font-size: var(--fs-p) !important;
}

.wp-site-blocks p {
  font-size: var(--fs-p) !important;
}
