/*
Theme Name: Heidi Kunzli
Theme URI: https://heidikunzli.com/
Author: Hannah Wool
Author URI: https://hannahwool.com/
Description: Block theme for Heidi Kunzli.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heidi-kunzli
*/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400..700&family=Playfair+Display:wght@400..700&display=swap");
:root {
  --wp--preset--font-size--medium: 1.375rem;
  --wp--preset--font-size--large: 1.875rem;
  --wp--preset--font-size--x-large: 3.125rem;
}

.is-style-prehead {
  font-weight: 400;
  font-size: var(--wp--preset--font-size--semi);
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--wp--preset--color--accent-4);
  text-transform: uppercase;
}
.is-style-prehead + .wp-block-heading {
  margin-block-start: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (max-width: 1120px) {
  .main-header > .is-layout-constrained > :where(:not(.alignleft, .alignright, .alignfull)),
  .main-footer > .is-layout-constrained > :where(:not(.alignleft, .alignright, .alignfull)),
  .main-content > :where(:not(.alignleft, .alignright, .alignfull, .alignwide, .em-view-container)),
  .main-content > .em-view-container > .em-item > :where(:not(.alignleft, .alignright, .alignfull)) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .main-content > :where(.alignfull.has-background:not(.wp-block-gallery)) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
  }
}
.main-content {
  margin: 0;
}

@media (max-width: 781px) {
  .is-style-hidden-on-mobile {
    display: none !important;
  }
}

@media (min-width: 782px) {
  .is-style-visible-on-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .is-style-column-reverse {
    flex-direction: column-reverse !important;
  }
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  transition: all 0.3s ease-in-out;
}
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--accent-5);
}

.wp-block-quote {
  margin: 0;
}
.wp-block-quote.is-style-plain {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 4rem;
}
@media (max-width: 767.98px) {
  .wp-block-quote.is-style-plain {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.wp-block-media-text > .wp-block-media-text__content {
  padding: 8%;
}

.wp-block-media-text > .wp-block-media-text__media {
  align-self: stretch;
  height: 100%;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video {
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767.98px) {
  .wp-block-cover {
    padding: 0;
    background-color: black;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0 !important;
  }
  .wp-block-cover .wp-block-cover__image-background {
    position: relative;
  }
  .wp-block-cover .wp-block-cover__inner-container {
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .main-content {
    overflow-x: clip;
  }
  .js .is-style-fade-in,
  .js .is-style-fade-up,
  .js .is-style-dissolve,
  .js .is-style-offset-left,
  .js .is-style-fade-in-elements > *,
  .js .is-style-fade-up-elements > * {
    visibility: hidden;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:root {
  --main-header-height: 110px;
}

.main-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  height: var(--main-header-height);
  z-index: 100;
  background: var(--wp--preset--color--white);
  transition: all 0.3s ease-in-out;
}
.main-header > .wp-block-group {
  height: 100%;
}
.main-header .main-nav {
  gap: 0;
  height: 100%;
}
.main-header .main-nav .wp-block-site-logo {
  grid-row: 1/span 2;
  align-self: center;
}
.main-header .main-nav .announcement {
  grid-column: 2/span 1;
  align-self: center;
  padding-bottom: 1rem;
}
@media screen and (max-width: 768px) {
  .main-header .main-nav {
    grid-template-rows: 1fr auto;
    row-gap: 0;
  }
  .main-header .main-nav .wp-block-navigation {
    row-gap: 0.5rem;
  }
  .main-header .main-nav .wp-block-site-logo {
    grid-row: 1;
    width: 200px;
  }
  .main-header .main-nav .announcement {
    grid-column: 1/span 2;
    grid-row: 2;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 4px 26px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(90deg, var(--wp--preset--color--accent-2) 0%, #009db3 100%);
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-header .main-nav .announcement * {
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 11px !important;
  }
}

.main-footer {
  margin-block: 0;
}
.main-footer a {
  text-decoration: none;
}
@media (max-width: 781px) {
  .main-footer .wp-block-columns .wp-block-column:last-child {
    order: 2;
  }
  .main-footer .wp-block-columns .wp-block-column:nth-child(2) {
    order: 3;
  }
  .main-footer .has-text-align-right,
  .main-footer .copyright {
    text-align: left;
  }
}

.wp-block-button__link,
.wp-element-button {
  transition: all 0.5s ease-in-out;
}

.is-style-mail-button > a,
.is-style-mail-button .wp-block-button__link {
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 50px;
  height: 50px;
  text-indent: -1000px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%0A%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.3125 3.08008L7 6.99023L12.6875 3.08008V2.01367H1.3125V3.08008ZM12.6875 4.66602L7 8.57617L1.3125 4.66602V9.88867H12.6875V4.66602ZM0 9.88867V3.76367V2.01367V0.701172H1.3125H12.6875H14V2.01367V3.76367V9.88867V11.2012H12.6875H1.3125H0V9.88867Z' fill='%239DCDDA'/%3E%3C/svg%3E%0A");
  background-size: 15px;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid var(--wp--preset--color--accent-4);
}
.is-style-mail-button > a:hover,
.is-style-mail-button .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--accent-4);
  background-image: url("data:image/svg+xml,%0A%3Csvg width='14' height='12' viewBox='0 0 14 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.3125 3.08008L7 6.99023L12.6875 3.08008V2.01367H1.3125V3.08008ZM12.6875 4.66602L7 8.57617L1.3125 4.66602V9.88867H12.6875V4.66602ZM0 9.88867V3.76367V2.01367V0.701172H1.3125H12.6875H14V2.01367V3.76367V9.88867V11.2012H12.6875H1.3125H0V9.88867Z' fill='%23000000'/%3E%3C/svg%3E%0A");
}

.is-style-append-arrow-underline .wp-element-button,
.is-style-append-arrow-underline .wp-block-button__link, .is-style-append-arrow-underline.wp-block-read-more {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 13px;
  gap: 0.75rem;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease-in-out;
}
.is-style-append-arrow-underline .wp-element-button:before,
.is-style-append-arrow-underline .wp-block-button__link:before, .is-style-append-arrow-underline.wp-block-read-more:before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--wp--preset--color--accent-3);
  transition: all 0.3s ease-in-out;
}
.is-style-append-arrow-underline .wp-element-button::after,
.is-style-append-arrow-underline .wp-block-button__link::after, .is-style-append-arrow-underline.wp-block-read-more::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 0.28125L13.75 5.53125C13.9062 5.6875 14 5.875 14 6.09375C14 6.28125 13.9062 6.46875 13.75 6.625L8.25 11.875C7.96875 12.1562 7.46875 12.1562 7.1875 11.8438C6.90625 11.5625 6.90625 11.0625 7.21875 10.7812L11.375 6.84375H0.75C0.3125 6.84375 0 6.5 0 6.09375C0 5.65625 0.3125 5.34375 0.75 5.34375H11.375L7.21875 1.375C6.90625 1.09375 6.90625 0.59375 7.1875 0.3125C7.46875 0 7.9375 0 8.25 0.28125Z' fill='%2353919D'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: contain;
  flex: 1 0 13px;
  width: 13px;
  height: 12px;
  transition: all 0.3s ease-in-out;
}
.is-style-append-arrow-underline .wp-element-button:hover,
.is-style-append-arrow-underline .wp-block-button__link:hover, .is-style-append-arrow-underline.wp-block-read-more:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  color: var(--wp--preset--color--white) !important;
}
.is-style-append-arrow-underline .wp-element-button:hover:before,
.is-style-append-arrow-underline .wp-block-button__link:hover:before, .is-style-append-arrow-underline.wp-block-read-more:hover:before {
  height: 100%;
}
.is-style-append-arrow-underline .wp-element-button:hover::after,
.is-style-append-arrow-underline .wp-block-button__link:hover::after, .is-style-append-arrow-underline.wp-block-read-more:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 0.28125L13.75 5.53125C13.9062 5.6875 14 5.875 14 6.09375C14 6.28125 13.9062 6.46875 13.75 6.625L8.25 11.875C7.96875 12.1562 7.46875 12.1562 7.1875 11.8438C6.90625 11.5625 6.90625 11.0625 7.21875 10.7812L11.375 6.84375H0.75C0.3125 6.84375 0 6.5 0 6.09375C0 5.65625 0.3125 5.34375 0.75 5.34375H11.375L7.21875 1.375C6.90625 1.09375 6.90625 0.59375 7.1875 0.3125C7.46875 0 7.9375 0 8.25 0.28125Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
}
.is-style-append-arrow-underline .wp-element-button.has-white-color:before,
.is-style-append-arrow-underline .wp-block-button__link.has-white-color:before, .is-style-append-arrow-underline.wp-block-read-more.has-white-color:before {
  background-color: var(--wp--preset--color--accent-4);
}
.is-style-append-arrow-underline .wp-element-button.has-white-color::after,
.is-style-append-arrow-underline .wp-block-button__link.has-white-color::after, .is-style-append-arrow-underline.wp-block-read-more.has-white-color::after {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 0.28125L13.75 5.53125C13.9062 5.6875 14 5.875 14 6.09375C14 6.28125 13.9062 6.46875 13.75 6.625L8.25 11.875C7.96875 12.1562 7.46875 12.1562 7.1875 11.8438C6.90625 11.5625 6.90625 11.0625 7.21875 10.7812L11.375 6.84375H0.75C0.3125 6.84375 0 6.5 0 6.09375C0 5.65625 0.3125 5.34375 0.75 5.34375H11.375L7.21875 1.375C6.90625 1.09375 6.90625 0.59375 7.1875 0.3125C7.46875 0 7.9375 0 8.25 0.28125Z' fill='%239DCDDA'/%3E%3C/svg%3E%0A");
}
.is-style-append-arrow-underline .wp-element-button.has-white-color:hover,
.is-style-append-arrow-underline .wp-block-button__link.has-white-color:hover, .is-style-append-arrow-underline.wp-block-read-more.has-white-color:hover {
  color: var(--wp--preset--color--black) !important;
}
.is-style-append-arrow-underline .wp-element-button.has-white-color:hover::after,
.is-style-append-arrow-underline .wp-block-button__link.has-white-color:hover::after, .is-style-append-arrow-underline.wp-block-read-more.has-white-color:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='13' viewBox='0 0 14 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.25 0.28125L13.75 5.53125C13.9062 5.6875 14 5.875 14 6.09375C14 6.28125 13.9062 6.46875 13.75 6.625L8.25 11.875C7.96875 12.1562 7.46875 12.1562 7.1875 11.8438C6.90625 11.5625 6.90625 11.0625 7.21875 10.7812L11.375 6.84375H0.75C0.3125 6.84375 0 6.5 0 6.09375C0 5.65625 0.3125 5.34375 0.75 5.34375H11.375L7.21875 1.375C6.90625 1.09375 6.90625 0.59375 7.1875 0.3125C7.46875 0 7.9375 0 8.25 0.28125Z' fill='%23000000'/%3E%3C/svg%3E%0A");
}

input[type=text],
input[type=email],
input[type=search],
input[type=tel],
input[type=url],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--wp--preset--color--accent-5);
  background: var(--wp--preset--color--white);
  font: inherit;
}
