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


@font-face {
  font-family: 'Noto Sans';
  src: url('assets/fonts/NotoSans-ExtraLight.woff2') format('woff2'),
    url('assets/fonts/NotoSans-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant';
  src: url('assets/fonts/Cormorant-Regular.woff2') format('woff2'),
    url('assets/fonts/Cormorant-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



:root {
  --stani-font-family-headings: 'Cormorant';
}

body * {
  --theme-font-family: 'Noto Sans';
}

/* headings */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  font-family: var(--stani-font-family-headings);
  font-weight: 400;
}

/* links */
body a {
  font-weight: 400;
}

/* buttons */
.wp-block-buttons .wp-block-button a {
  font-weight: 600;
}

/* buttons: CTA */
.wp-block-buttons .wp-block-button.cta a {
  background-color: var(--theme-link-initial-color);
  border-color: var(--theme-link-initial-color);
  color: var(--theme-palette-color-7);
}
.wp-block-buttons .wp-block-button.cta:hover a {
  background-color: var(--theme-text-color);
  border-color: var(--theme-text-color);
  color: var(--theme-palette-color-7);
}

/* list */
.wp-block-list {
  padding-left: 1.75em;
}
.wp-block-list li {
  margin-block-end: 0.5em;
}
.wp-block-list li::marker {
  color: var(--theme-palette-color-2);
}

/* menu */
nav[class*="menu"] .ct-menu-link {
  font-family: var(--stani-font-family-headings);
}

/* custom separator */
.entry-content .wp-block-separator.is-style-wide.logo {
  background-color: var(--theme-palette-color-6);
  color: transparent;
  height: 1px;
  margin-block-start: calc(2 * var(--theme-content-spacing));
  overflow: visible;
  opacity: 0.5;
  position: relative;
}
.entry-content .wp-block-separator.is-style-wide.logo::before {
  background-color: var(--theme-palette-color-7);
  background-image: url(https://stanidrum.de/wp-content/uploads/2025/08/stanidrum.de-logo-red.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 24px;
  content: '';
  height: 32px;
  left: calc(50% - 16px);
  padding: 3px;
  position: absolute;
  top: -15px;
  width: 32px;
  z-index: 3;
}

/* form: inputs: disable outline made by browser */
input::-moz-focus-inner,
textarea::-moz-focus-inner,
select::-moz-focus-inner {
  border: 0;
  outline: none !important;
  box-shadow: none !important;
}
input:focus,
textarea:focus,
select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border: 0;
  box-shadow: none !important;
  outline: none !important;
}