/*****************************************************************************************************
ZK2024 Child Theme
*****************************************************************************************************/

/* @import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities"; */

/* temp */

#primary-menu {
  /* display: none; */
}

h1,
.h1-like {

  font-family: "LibreBaskerville", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  font-size: clamp(2.6rem, 4vw ,3.75rem);

  line-height: 1.05em;

  --tw-text-opacity: 1;

  color: rgb(0 0 0 / var(--tw-text-opacity))
}

@media (min-width: 1024px) {

  h1,
.h1-like {

    font-size: clamp(2.6rem, 4vw ,3.75rem)
  }
}

h1,
.h1-like {

  padding-top: 1.5rem
}

h2,
.h2-like {

  font-family: "LibreBaskerville", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  font-size: 1.25rem;

  --tw-text-opacity: 1;

  color: rgb(0 0 0 / var(--tw-text-opacity))
}

@media (min-width: 1024px) {

  h2,
.h2-like {

    font-size: clamp(2.6rem, 4vw ,3.75rem)
  }
}

h3,
.h3-like {

  font-family: "SourceSansPro", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  font-size: 1.25rem;

  font-weight: 700;

  text-transform: uppercase;

  --tw-text-opacity: 1;

  color: rgb(0 0 0 / var(--tw-text-opacity))
}

main.base-grid a {

  text-decoration-line: underline
}

/*****************************************************************************************************
Search Form
*****************************************************************************************************/

#search-form {

  --tw-bg-opacity: 1 !important;

  background-color: rgb(22 22 22 / var(--tw-bg-opacity)) !important
}

#search-form input.search-field {

  --tw-border-opacity: 1 !important;

  border-color: rgb(249 249 249 / var(--tw-border-opacity)) !important;

  --tw-text-opacity: 1 !important;

  color: rgb(249 249 249 / var(--tw-text-opacity)) !important
}

#search-form input[type='submit'] {

  --tw-bg-opacity: 1 !important;

  background-color: rgb(249 249 249 / var(--tw-bg-opacity)) !important;

  --tw-text-opacity: 1 !important;

  color: rgb(22 22 22 / var(--tw-text-opacity)) !important
}

#search-form input[type='submit']:focus-visible {

  outline-color: #F9F9F9
}

#search-form #close-search-form:focus-visible {

  outline-color: #F9F9F9 !important
}

#search-form .fill-primary {

  fill: #F9F9F9
}

#open-search-form .fill-primary {

  fill: #161616
}

/*****************************************************************************************************
Navigation
*****************************************************************************************************/

#primary-menu ul {

  justify-content: center;

  gap: 3rem;

  padding-left: 2rem;

  padding-right: 2rem;

  transition-property: all;

  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

  transition-duration: 150ms
}

#primary-menu li a {

  white-space: nowrap;

  --tw-text-opacity: 1 !important;

  color: rgb(22 22 22 / var(--tw-text-opacity)) !important;

  text-decoration-line: none !important;

  transition-property: all;

  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);

  transition-duration: 150ms
}

@media (min-width: 1280px) {
  .body--scrolled #primary-menu {

    position: relative;

    margin-top: 0.5rem;

    max-width: -moz-max-content;

    max-width: max-content
  }

    .body--scrolled #primary-menu ul {

    justify-content: center;

    gap: 2rem;

    --tw-backdrop-blur: blur(4px);

    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);

            backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
  }

    .body--scrolled #primary-menu ul::before {

    position: absolute;

    inset: 0px;

    z-index: -1;

    border-radius: 9999px;

    --tw-bg-opacity: 1;

    background-color: rgb(22 22 22 / var(--tw-bg-opacity));

    opacity: 0.5;

    --tw-content: '';

    content: var(--tw-content)
  }
    .body--scrolled #primary-menu li a {

    white-space: nowrap;

    --tw-text-opacity: 1 !important;

    color: rgb(249 249 249 / var(--tw-text-opacity)) !important;

    text-decoration-line: none !important
  }
    .body--scrolled #primary-menu li a:hover {

    --tw-text-opacity: 1 !important;

    color: rgb(22 22 22 / var(--tw-text-opacity)) !important
  }
}

/*****************************************************************************************************
Footer
*****************************************************************************************************/

footer.site-footer * {

  font-size: 0.875rem
}

/*****************************************************************************************************
Buttons
*****************************************************************************************************/

.wp-block-button__link,
.wp-block-file__button {

  --tw-bg-opacity: 1;

  background-color: rgb(22 22 22 / var(--tw-bg-opacity));

  --tw-text-opacity: 1;

  color: rgb(255 255 255 / var(--tw-text-opacity));

  text-decoration-line: none !important
}

.wp-block-button__link:hover,
.wp-block-file__button:hover {

  --tw-bg-opacity: 1;

  background-color: rgb(217 217 217 / var(--tw-bg-opacity));

  --tw-text-opacity: 1;

  color: rgb(0 0 0 / var(--tw-text-opacity))
}

