/* =========================================================
   Fox Core Theme
   Typography System
   ========================================================= */

/* Optional local fonts:
   Lege echte Font-Dateien in /assets/fonts/ ab und aktiviere @font-face hier.
   Keine Font-Dateien sind enthalten, weil Schriften lizenziert sein können.
   Die Standard-Schrift BOZON ist in der Datei bozon.css definiert.
*/

/*
@font-face {
  font-family: 'FoxSans';
  src: url('../fonts/FoxSans.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
*/


body {
  font-family: var(--fox-font);
  font-size: 20px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--fox-text);
}

@media (max-width: 980px) {
    body {
        font-size: 18px;
    }
}


.fox-content a {
   text-decoration: none;
   transition: color 180ms ease;
   text-underline-offset: 0.2em;
   color: var(--fox-accent);
}

.fox-content a:hover,
.fox-content a:focus-visible {
    color: var(--fox-text);
    border: 1px solid var(--fox-accent);
    border-radius: 2px;
    background-color: var(--fox-accent);
}

p {
  color: var(--fox-text);
  margin: 0 0 1.45em;
  font-weight: 400;
}

.fox-hyphen p, p.fox-hyphen {
    text-align: left;
    hyphens: auto;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


h1,
h2,
h3,
h4 {
  color: var(--fox-text);
  font-family: 'Bozon', sans-serif;
  line-height: 1;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  text-wrap: balance;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-wrap: balance;
  font-weight: 300;
  color: var(--fox-accent);
  margin: 1em 0 1.5em 0;
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin: 2em 0 0.8em 0;
}

h3.fox-no-spacer {
    margin: 0em 0 0.8em 0 !important;
}

ul,
ol {
  color: var(--fox-text);
}

/* =========================================================
   Lists
   ========================================================= */

.fox-content ul li::before, .fox-section-content ul li::before {
    content: '';

    position: absolute;
    left: 0;

    width: 3.5rem;
    height: 1rem;

    background-image: url(../img/lisa-on-wht.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

.fox-content ul li::before {
    top: 0.5em;
}

.fox-content ul, .fox-section-content ul {
    list-style: none;
    padding: 0;
}

.fox-content ul li, .fox-section-content ul li {
    position: relative;
}

.fox-content ul li {
    padding-left: 2.5em;
}


::selection {
  background: var(--fox-accent);
  color: var(--fox-text);
}

/* =========================================================
   Content
   ========================================================= */

.fox-hero {
  padding: 16px 0 var(--fox-space-xl);
}

.fox-kicker {
  color: var(--fox-accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.fox-lead {
  max-width: 780px;
  color: var(--fox-text);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.96;
}

.fox-meta {
  color: var(--fox-soft);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.fox-content blockquote {
  margin: 2em 0;
  padding-left: 1.2em;
  border-left: 4px solid var(--fox-accent);
  color: var(--fox-text);
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 700;
  max-width: 42ch;
}

/* =========================================================
   Longform Article Typography
   Used for essays, reflections and Gedankenraum articles.
   ========================================================= */

.fox-single p,
.single-post p {
  margin-bottom: 1.55em;
}

.fox-single h1,
.single-post h1 {
}

.fox-single .fox-content > * + *,
.single-post .fox-content > * + * {
  margin-top: 1.55em;
}

.fox-single .fox-content h2,
.fox-single .fox-content h3,
.single-post .fox-content h2,
.single-post .fox-content h3 {
  margin-top: 2.4em;
}

.fox-single .fox-content ul,
.fox-single .fox-content ol,
.single-post .fox-content ul,
.single-post .fox-content ol {
  padding-left: 1.4em;
}

.fox-single .fox-content li,
.single-post .fox-content li {
  margin-bottom: 0.6em;
}

.fox-single .fox-content blockquote,
.single-post .fox-content blockquote {
  margin: 2.6em 0;
}

/* =========================================================
   IMPRESSUM DATENSCHUTZ
   ========================================================= */

.fox-legal-text {
        font-size: 0.8rem;
        line-height: 1.6em;
    }

.fox-legal-text ul li::before {
    padding-left: 3em;
    height: 0.8em;
    top: 0.3em;
}

.fox-legal-text h1,  .fox-legal-text h2, .fox-legal-text h3 {
    font-size: 1.1rem;
    line-height: 1.1em;
}

/* =========================================================
   Footer
   ========================================================= */

.fox-footer p, .fox-footer .fox-footer-nav a, .fox-footer .fox-footer-nav a:hover, .fox-footer .fox-footer-language a, .fox-footer .fox-footer-language a:hover {
    font-size: 0.75em;
    color: var(--fox-muted);
}

