/*
Theme Name: Faenstersimsziit
Theme URI: https://wordpress.org/themes/manisha/
Description: Child theme for Manisha
Author: jt
Author URI: https://picture-planet.ch
Template: manisha
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faenstersimsziit
*/

/* Add your custom styles below this line */

/*
Theme Name: Faenstersimsziit
Theme URI: https://wordpress.org/themes/manisha/
Description: Child theme for Manisha
Author: jt
Author URI: https://picture-planet.ch
Template: manisha
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: faenstersimsziit
*/

/* Add your custom styles below this line */

/* --------------------------------------------------------
  Variables
-------------------------------------------------------- */

:root {
  /* Fonts */
  --font-body: 500 "Poppins-Regular", sans-serif;
  --font-header: 900 "Poppins-Black", sans-serif;
  --font-medium: 500 "Poppins-Medium", sans-serif;
  --font-light: 300 "Poppins-Light", sans-serif;

  /* Colors */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-primary: #fffc9b;
  --color-accent-1: #ff69d8;
  --color-accent-2: #7fdfe0;

  /* Space / Margins / Paddings */
  --space-big: 2em;
  --space-normal: 1em;
  --space-small: 0.5em;
  --space-mini: 0.25em;

  /* Border Radius */
  --radius-big: 30px;
  --radius-normal: 20px;
  --radius-small: 10px;
}

/* --------------------------------------------------------
  Fonts
-------------------------------------------------------- */
@font-face {
  font-family: "Poppins-Black";
  src:
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Black.woff2") format("woff2"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Black.woff") format("woff"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Medium";
  src:
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Medium.woff2") format("woff2"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Medium.woff") format("woff"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Regular";
  src:
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Regular.woff2") format("woff2"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Regular.woff") format("woff"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-Light";
  src:
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Light.woff2") format("woff2"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Light.woff") format("woff"),
    url("wp-content/themes/faenstersimsziit/fonts/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------
  Layout
-------------------------------------------------------- */
body {
  border: none !important;
}

body,
html {
  height: 100%;
  background-color: var(--color-white);
  background-image: url("/wp-content/uploads/2026/03/bg-1-50.png") !important;
  background-repeat: repeat;
  background-size: 20px !important;
}

html {
  scroll-behavior: smooth;
}

body.custom-background {
  height: 100%;
  background-color: var(--color-white);
  background-image: url("/wp-content/uploads/2026/03/bg-1-50.png") !important;
  background-repeat: repeat;
  background-size: 20px !important;
}

.manisha-body-padding-content {
  width: 100vw;
  margin: 0 !important;
}

.site-content {
  width: 90vw;
  margin: auto;
}

/* --------------------------------------------------------
  Header
-------------------------------------------------------- */

header {
  width: 90vw;
  margin: auto;
}

.inside-header {
  padding: 2rem 0 !important;
}

.main-navigation .inside-navigation {
  padding: var(--space-normal);
}

.navWrapper {
  box-shadow: none !important;
  border: none !important;
  margin: var(--space-big) 0 0 0 !important;
  margin-top: 0 !important;
  width: 100vw;
}

#site-navigation {
  background-color: transparent !important;
}

#site-navigat .site-tagline {
  padding: var(--space-normal) var(--space-big);
  font-size: 1.2em !important;
}

.main-navigation .main-nav ul li a {
  background-color: transparent !important;
  font-weight: normal !important;
  font-size: 1rem !important;
}

.strange_dots_bg {
  display: none;
  /* background-color: white !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23222222'/%3E%3C/svg%3E") !important;
  background-repeat: repeat;
  padding: 12px;
  height: 24px;
  border-radius: 0 0 var(--radius-big) 0 !important; */
}

/* --------------------------------------------------------
  Texts Body & Headings
-------------------------------------------------------- */
h1 {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 6rem);
  text-transform: uppercase;
  line-height: 1em;
  color: var(--color-black);
  margin-top: var(--space-small) !important;
}

h2 {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 5vw;
  text-transform: uppercase;
  line-height: 1em;
  color: var(--color-black);
}

h3 {
  font-family: var(--font-header);
  font-weight: 900;
  font-size: 2.5vw;
  text-transform: uppercase;
  line-height: 1em;
  color: var(--color-black);
}

.event-grid h3 {
  line-height: 0;
}

/* --------------------------------------------------------
  Events Cards
-------------------------------------------------------- */
.wave-border {
  width: 100%;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16'%3E%3Cpath d='M0 8 Q5 2 10 8 T20 8 T30 8 T40 8 T50 8 T60 8 T70 8 T80 8 T90 8 T100 8 T110 8 T120 8' stroke='%23000' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 120px 16px;
}

.wave-border + p:empty {
  display: none;
}

.event-row {
  display: flex;
  align-items: center;
}

.event-button {
  margin-left: auto;
}

.eventday_inline {
  font-weight: 700;
  font-size: 1.1em;
}

p.location_paragraph {
  padding: 0;
  line-height: 0;
  margin: 0;
}

li.kb-query-item {
  background: var(--color-primary) !important;
  border-radius: var(--radius-big) !important;
  border: 2px solid black;
}

li.kb-query-item img {
  border-radius: var(--radius-normal) !important;
  width: calc(100% - 40px) !important;
  border: 2px solid black;
  object-fit: fill;
  object-position: center;
}

.kt-inside-inner-col {
  margin-top: var(--space-normal);
}

.wp-block-kadence-image .kb-image-ratio-square {
  padding-bottom: 60% !important;
}

.filter_pills .kb-button {
  box-shadow: none !important;
  margin-right: 8px !important;
}

.bordered-container {
  border: 2px solid var(--color-black);
  border-radius: var(--radius-big);
}

#page .wp-block-post-title {
  display: none;
}

.home .buttons-options.filter-refresh-container {
  display: none;
}

.single-event-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 400px;

  gap: 24px;
}

.single-event-wrapper h1 {
  font-size: 4vw;
  font-weight: 900;
  text-transform: uppercase;
}

.single-event-wrapper .single-event-box-wrapper {
  flex: 1 1 0;
  min-height: 400px;
}

.single-event-wrapper .single-event-box-wrapper .single-event-box {
  position: relative;
  height: 100%;
  padding: 4vw 2vw;
  box-sizing: border-box;
  background-color: var(--color-accent-1);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.single-event-wrapper .single-event-box-wrapper:nth-child(2) .single-event-box {
  background-color: #7fdfe0;
}

.theme_button_wrapper_button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-width: 250px;
  width: auto;
  padding: 0 12px;
  border: 2px solid var(--color-black);
  cursor: pointer;
  color: var(--color-black);
  border-radius: var(--radius-small);
  font-size: var(--manisha--buttons-font-size);
  font-weight: var(--manisha--buttons-font-weight);
  text-transform: var(--manisha--buttons-font-transform);
}

/* Background Layer */
.theme_button_wrapper_button::before,
.theme_button_wrapper_button::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.theme_button_wrapper_button::before {
  background: var(--color-primary);
  opacity: 1;
}

.theme_button_wrapper_button::after {
  background: var(--color-black);
  opacity: 0;
  color: var(--color-white);
}

.theme_button_wrapper_button:hover::before {
  opacity: 0;
}

.theme_button_wrapper_button:hover::after {
  opacity: 1;
}

/* Text States */
.theme_button_first_state,
.theme_button_second_state {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 1;
}

/* State One */
.theme_button_first_state {
  transform: translate(-50%, -50%);
}

/* State Two (links ausserhalb) */
.theme_button_second_state {
  transform: translate(-500%, -50%);
  color: var(--color-white);
}

/* Hover */
.theme_button_wrapper_button:hover .theme_button_first_state {
  transform: translate(-50%, 150%);
}

.theme_button_wrapper_button:hover .theme_button_second_state {
  transform: translate(-50%, -50%);
}

.info-boxes-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.info-boxes-wrapper .info-box {
  flex: 1 1 0;
  padding: 64px 32px 0 32px;
  background-color: var(--color-white);
}

.info-boxes-wrapper .info-box a {
  display: block;
}

.info-boxes-wrapper .info-box .info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.info-boxes-wrapper .info-box .info .info-icon {
  width: 30px;
  height: 30px;
}

.creativity-wrapper {
  padding: 8vh 0 4vh 0;
  text-align: center;
}

.creativity-wrapper h2 {
  padding: 0;
  margin: 0;
}

.no-margin {
  margin-bottom: 0 !important;
}

.half-box {
  flex: 0 0 calc(50% - 10px) !important;
}

@media (max-width: 1024px) {
  .single-event-wrapper {
    gap: 16px;
  }

  .single-event-wrapper h1 {
    font-size: 6vw;
  }

  .single-event-wrapper .single-event-box-wrapper .single-event-box {
    padding: 6vw 4vw;
  }
}

@media (max-width: 768px) {
  .single-event-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .single-event-wrapper .single-event-box-wrapper {
    min-height: auto;
  }

  .single-event-wrapper .single-event-box-wrapper .single-event-box {
    height: auto;
    min-height: 250px;
    padding: 8vw 5vw;
  }

  .single-event-wrapper h1 {
    font-size: 8vw;
  }
}

@media (max-width: 480px) {
  .single-event-wrapper {
    gap: 12px;
  }

  .single-event-wrapper h1 {
    font-size: 9vw;
  }

  .single-event-wrapper .single-event-box-wrapper .single-event-box {
    padding: 10vw 6vw;
    border-radius: var(--radius-normal);
  }
}

.star-icon-list svg path {
  fill: #fce208;
  stroke: #000;
  stroke-width: 24px;
  paint-order: stroke fill;
}

.custom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 40px;
}

.custom-footer__copyright {
  flex: 1;
  text-align: left;
}

.custom-footer__center {
  flex: 1;
  text-align: center;
}

.custom-footer__logos {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.footer-logo a {
  display: block;
  width: 180px;
}

.footer-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-logo svg path:not([style]),
.footer-logo svg polygon:not([style]) {
  fill: #fff;
}

.faenster-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.faenster-logo svg {
  width: 100%;
  max-width: 75px;
  height: auto;
  display: block;
}

.faenster-logo p {
  margin: 0;
  white-space: nowrap;
  text-align: center;
  font-size: 0.5em;
}

.main-navigation .main-nav ul li a {
  border: 3px solid black;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .custom-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-footer__copyright,
  .custom-footer__center {
    text-align: left;
  }

  .custom-footer__logos {
    justify-content: flex-start;
  }
}

.wp-block-kadence-query-filter-buttons363_b9c49d-77 .buttons-options .kb-button.kb-query-filter-filter-button {
  border-radius: 1000px;
}
