/*
Theme Name: Christian Lindner
Author: Monospace Design
Author URI: https://www.monospace.design/
Theme URI: 
Tags: full-site-editing
Text Domain: christian-lindner
Requires at least: 6.8
Requires PHP: 8.4
Tested up to: 6.8
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Generated on fullsiteediting.com. No code version.
*/


/* Styles intended only for the front.*/
:root {
	--global-kb-font-size-sm: clamp(0.8rem, 0.73rem + 0.217vw, 0.9rem);
	--global-kb-font-size-md: clamp(1.1rem, 0.995rem + 0.326vw, 1.25rem);
	--global-kb-font-size-lg: clamp(1.75rem, 1.576rem + 0.543vw, 2rem);
	--global-kb-font-size-xl: clamp(2.25rem, 1.728rem + 1.63vw, 3rem);
	--global-kb-font-size-xxl: clamp(2.5rem, 1.456rem + 3.26vw, 4rem);
	--global-kb-font-size-xxxl: clamp(2.75rem, 0.489rem + 7.065vw, 6rem);

    --global-kb-spacing-xxs: 0.5rem;
    --global-kb-spacing-xs: 1rem;
    --global-kb-spacing-sm: 1.5rem;
    --global-kb-spacing-md: 2rem;
    --global-kb-spacing-lg: 3rem;
    --global-kb-spacing-xl: 4rem;
    --global-kb-spacing-xxl: 5rem;
    --global-kb-spacing-3xl: 6.5rem;
    --global-kb-spacing-4xl: 8rem;
    --global-kb-spacing-5xl: 10rem;

    /* --global-row-edge-sm: 15px; */
    /* --global-row-edge-theme: var(--global-content-edge-padding); */

    --global-kb-gutter-sm: 1rem;
    --global-kb-gutter-md: 2rem;
    --global-kb-gutter-lg: 3rem;
    --global-kb-gutter-xl: 5rem;

    --global-kb-editor-admin-sidebar: 0px;
    --global-kb-editor-sidebar: 0px;
    --global-kb-editor-sidebar-secondary: 0px;
    --global-kb-editor-full-width: calc(100vw - (var(--global-kb-editor-sidebar) + var(--global-kb-editor-sidebar-secondary) + var(--global-kb-editor-admin-sidebar)));

	/* Defining WP default font sizes */
	--wp--preset--font-size--sm: var(--global-kb-font-size-sm);
	--wp--preset--font-size--md: var(--global-kb-font-size-md);
	--wp--preset--font-size--lg: var(--global-kb-font-size-lg);
	--wp--preset--font-size--xl: var(--global-kb-font-size-xl);
	--wp--preset--font-size--2-xl: var(--global-kb-font-size-xxl);
	--wp--preset--font-size--3-xl: var(--global-kb-font-size-xxxl);

	/* Defining WP default spacing scale */
	--wp--preset--spacing--10: var(--global-kb-spacing-xxs);
	--wp--preset--spacing--20: var(--global-kb-spacing-xs);
	--wp--preset--spacing--30: var(--global-kb-spacing-sm);
	--wp--preset--spacing--40: var(--global-kb-spacing-md);
	--wp--preset--spacing--50: var(--global-kb-spacing-lg);
	--wp--preset--spacing--60: var(--global-kb-spacing-xl);
	--wp--preset--spacing--70: var(--global-kb-spacing-xxl);
	--wp--preset--spacing--80: var(--global-kb-spacing-3xl);
	--wp--preset--spacing--90: var(--global-kb-spacing-4xl);
	--wp--preset--spacing--100: var(--global-kb-spacing-5xl);
}

html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	hyphens: auto;
	-webkit-hyphenate-limit-before: 5;
	-webkit-hyphenate-limit-after: 4;
	-webkit-hyphenate-limit-lines: 1;
	hyphenate-limit-chars: 9 5 5;
}

body.home {
	background-color: var(--global-palette3);
}

body * {
	box-sizing: border-box;
}

.entry-content > * {
	margin-top: 0
}

.entry-content > *:last-child {
	margin-bottom: 0
}

h1 {
	hyphens: auto;
}
h2, h3, h4, h5, h6 {
	hyphens: manual;
}

@media screen and (max-width: 767px) {
	h1, h2, h3, h4, h5, h6 {
		hyphens: auto;
	}
}


/* Header Customization */
.wp-block-kadence-header-desktop {
  transition: background .2s ease-in-out;
}
#main-nav .wp-block-site-logo {
	flex-basis: 160px;
	text-align: center;
}
#main-nav .custom-logo-link,
#main-nav .custom-logo {
	width: 100%;
}
#main-nav .wp-block-kadence-navigation-link.menu-item {
	flex-basis: 160px;
}
#main-nav .wp-block-kadence-navigation-link.menu-item .kb-link-wrap {
	display: block;
}
#main-nav .wp-block-kadence-navigation-link.menu-item .kb-link-wrap a {
	display: block;
	text-align: center;
}
/* #main-nav .wp-block-kadence-navigation-link.menu-item:first-child .kb-link-wrap a {
	text-align: left;
}
#main-nav .wp-block-kadence-navigation-link.menu-item:last-child .kb-link-wrap a {
	text-align: right;
} */
 .wp-block-kadence-off-canvas-trigger {
	position: absolute;
 }

/* Footer Customization */
footer a {
	transition: color .3s ease;
	text-decoration: none;
}

/* Accordion Customization */
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::after, .kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::before, .kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger::after, .kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger::before {
  content: "";
  height: 2px;
  position: absolute;
  transition: all ease-in-out 0.1333333333s;
  width: 0.8em;
  left: -0.4em;
  top: 50%;
}

/* Overlay Image Link */
.cl-img-link {
  position: relative;
}
.cl-img-link:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #000;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cl-img-link:hover:after {
  opacity: 0.5
}


/* Page Template: Plain Text */
body.page-template-plain-text h2 {
	font-family: var(--wp-preset--font-family--body);
	font-size: var(--wp--preset--font-size--md);
	font-weight: bold;
	margin-top: 4em;
}
body.page-template-plain-text h2:first-of-type {
	margin-top: 0;
}
/* scrolled out of top area */
body.page-template-plain-text header.child-is-fixed > .wp-block-kadence-header-desktop.kb-header-container.kb-header-sticky-wrapper.item-is-fixed.item-at-start {
	color: var(--global-palette3);
}
/* not scrolled */
body.page-template-plain-text header.wp-block-kadence-header.kb-header-placeholder-wrapper > .wp-block-kadence-header-desktop.kb-header-container.kb-header-sticky-wrapper {
	color: var(--global-palette3);
}
/* scrolled */
body.page-template-plain-text header.child-is-fixed > .wp-block-kadence-header-desktop.kb-header-container.kb-header-sticky-wrapper.item-is-fixed.item-is-stuck {
	color: var(--global-palette9);
}
