/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* mulish-regular (400) */
@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/mulish-v13-latin_latin-ext-regular.woff2') format('woff2');
}

/* mulish-500 */
@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/mulish-v13-latin_latin-ext-500.woff2') format('woff2');
}

/* mulish-600 */
@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/mulish-v13-latin_latin-ext-600.woff2') format('woff2');
}

/* mulish-700 */
@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/mulish-v13-latin_latin-ext-700.woff2') format('woff2');
}
/* mulish-italic (400) */
@font-face {
    font-display: swap;
    font-family: 'Mulish';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/mulish-v13-latin_latin-ext-italic.woff2') format('woff2');
}

/* Globale Blocksy-Variablen mit Mulish überschreiben */
:root {
    --theme-font-family: 'Mulish', sans-serif;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Mulish', sans-serif;
}


 b, strong {
	 font-weight: 600;
 }
.ct-container a:not(:where(header *)), .entry-content a:not(:where(.stk-block-background *)) {
	text-decoration: none;
	text-underline-offset: 0.3em;
}
.ct-container a:not(:where(header *)):hover, .ct-container a:not(:where(header *)):focus, .ct-container a:not(:where(header *)):active, 
.entry-content a:not(:where(.stk-block-background *)):hover, .entry-content a:not(:where(.stk-block-background *)):focus, .entry-content a:not(:where(.stk-block-background *)):active {
	text-decoration: underline;
}
a[target="_blank"]::after {
  content: "\f504";
	font-family: dashicons;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  text-rendering: auto;
  font-size: 20px;
  text-align: center;
	display: inline-block;
	position: relative;
  top: 0.15em;
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] .widget-title, 
[data-footer*="type-1"] .ct-footer [data-row*="middle"] .widgettitle {
  --theme-font-size: 1.2rem;
  margin-bottom: 0;
}

/* Erzeugt einen gut sichtbaren, barrierefreien Rahmen um fokussierte Elemente und Slides */
a:focus-visible, button:focus-visible, button:focus, 
.stk-carousel [role="button"]:focus-visible,
.wp-block-stackable-carousel [role="button"]:focus-visible {
    outline: 2px solid var(--theme-palette-color-1) !important;
    outline-offset: 2px; 
    border-radius: 4px; 
}
.ct-header nav[class*="menu"] li > .ct-menu-link:focus-visible, .ct-header nav[class*="menu"] li:focus-visible > .ct-sub-menu-parent {
  color: var(--theme-palette-color-2);
}
#offcanvas a:focus-visible {
   outline: 2px solid var(--theme-palette-color-2) !important;
}
[class*="ct-toggle-close"]:focus-visible {
  --toggle-icon-transform: rotate(90deg);
}
[data-header*="type-1"] #offcanvas .ct-toggle-close:focus-visible {
    --theme-icon-color: var(--theme-palette-color-2);
  }

/*********************************************************************
******************* Content ******************************************
*********************************************************************/

.blog-container .stk-block-posts__items .stk-container:not(.stk--no-padding) {
	 margin: 0 12px 12px 0;
}
.events-blog .stk-block-posts__items {
  justify-content: center;
}
.events .stk-block-posts__items .stk-block-posts__image-link, .events-blog .stk-block-posts__items .stk-block-posts__image-link {
	margin-bottom: 0;
}
.events .stk-block-posts__readmore {
color: #000; background-color: #22B5B7; padding: 0.5em 1em;
}
.events-blog .stk-block-posts__readmore {
color: #fff; background-color: #1D7072; padding: 0.5em 1em;
}
.events .stk-block-posts__readmore:hover, .events .stk-block-posts__readmore:focus, .events .stk-block-posts__readmore:active,
.events-blog .stk-block-posts__readmore:hover, .events-blog .stk-block-posts__readmore:focus, .events-blog .stk-block-posts__readmore:active  {
color: #000; background-color: #F3DA83;
}



@media only screen and (min-width: 690px) and (max-width: 999px) {
	.small-column {
	  max-width: calc(100%/2 - 20px);
	  margin: 0 auto;
	}
	.personas .stk-row {
	  justify-content: center;
	}
}
@media only screen and (min-width: 768px) {
	.blog-container .stk-block-posts__item .stk-container article {
  		display: flex !important;
  		flex-direction: column !important;
  		height: 100%;
	}
	.blog-container .stk-block-posts__readmore.has-text-align-right.has-text-color {
  		margin-top: auto;
	}
}
@media only screen and (min-width: 1000px) {
	[data-footer*="type-1"] .ct-footer [data-row*="middle"] .ct-container {
		grid-template-columns: 1fr 1.5fr 1fr auto;
	}
}
@media only screen and (min-width: 1000px) and (max-width: 1280px) {
	[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
		--theme-font-size: 1.05rem;
		--menu-items-spacing: 40px;
	}

}

/*@media only screen and (min-width: 1400px) {
	.hero-textbox.stk-b00c843 {
	  z-index: 10;
	  max-width: 1290px;
	  margin: -600px auto !important;
	  justify-content: flex-end;
	}
	.hero-textbox .stk-container {
	  max-width: 500px;
	  height: 600px;
	}
}*/