/*
 Theme Name: chladek Theme
 Description: Twenty Twenty-Three Child Theme
 Author: Roland Dreger
 Author URI: http://www.rolanddreger.net/
 Template: twentytwentythree
 Version: 1.0.9
*/


/* Layout */
html, body {
  min-height: 100vh;
	background-color: var(--wp--preset--color--secondary);
}

/* Cover Startseite (Template: Home) */
.home .wp-block-cover .wp-block-cover__inner-container {
	width: auto;
}
.home .wp-block-cover .wp-block-cover__background.has-background-dim:hover,
.home .wp-block-cover .wp-block-cover__background.has-background-dim:active {
  opacity: 0;
}

/* Footer */
footer {
	background-color: var(--wp--preset--color--secondary);
}
.wp-site-blocks footer.wp-block-template-part {
	margin-block-start: 0;
}

.wp-site-blocks {
	--wp--style--root--padding-bottom: 0;
	background-color: var(--wp--preset--color--base);
}

/* Site title */
.wp-block-site-title {
	font-size: clamp(0.875rem, 0.875rem + ((2.2vw - 0.48rem) * 0.24), 2rem); /* same font-size as navigation */
	line-height: 1.4;
}

/* Page title */
.page-title {
	hyphens: auto;
}

/* Typography */
body {
	--wp--preset--font-size--small: clamp(0.875rem, 0.875rem + ((1vw - 0.48rem) * 0.24), 1rem);
	--wp--preset--font-size--medium: clamp(1.2rem, 1.2rem + ((1vw - 0.48rem) * 0.9), 1.8rem);
	--wp--preset--font-size--large: clamp(1.6rem, 1.6rem + ((1vw - 0.48rem) * 1.322), 2.3rem);
	--wp--preset--font-size--x-large: clamp(2.25rem, 2.25rem + ((1vw - 0.48rem) * 2.404), 3.5rem);
	--wp--preset--font-size--xx-large: clamp(4rem, 4rem + ((1vw - 0.48rem) * 7.692), 8rem);
}

/* Images */
.aspect-ratio-3-2 img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.aspect-ratio-1-1 img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Label */
p.label strong {
	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--contrast);
	padding: 0.2em 0.5em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Links */
.wp-block-post-content a:where(:not(.wp-element-button)),
.wp-block-post-content a:where(:not(.wp-element-button)):hover,
.wp-block-post-content a:where(:not(.wp-element-button)):active {
	color: var(--wp--preset--color--contrast);
	text-decoration-thickness: 0.2rem;
	text-decoration-line: underline;
	text-decoration-color: var(--wp--preset--color--primary);
	text-decoration-skip-ink: auto;
	text-underline-offset: 0.1em;
  text-underline-position: from-font;
	font-family: inherit;
}
.wp-block-post-content a:where(:not(.wp-element-button)):hover,
.wp-block-post-content a:where(:not(.wp-element-button)):active {
	color: var(--wp--preset--color--primary);
}

/* Error/Maintenance Page */
body#error-page {
	min-height: auto;
}


/* Fonts */
@font-face{
	font-family: 'Source Sans Pro';
	font-weight: 200 900;
	font-style: normal;
	font-stretch: normal;
	src: url('./assets/fonts/source-sans-pro/SourceSans3VF-Roman.ttf.woff2') format('woff2');
}

@font-face{
	font-family: 'Source Sans Pro';
	font-weight: 200 900;
	font-style: italic;
	font-stretch: normal;
	src: url('./assets/fonts/source-sans-pro/SourceSans3VF-Italic.ttf.woff2') format('woff2');
}


