/*
Theme Name: FIT Parking
Description: A Full-Site Editing theme for FIT Parking.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
Text Domain: fitparking
Update URI: false
*/

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

b,
strong {
  font-weight: var(--wp--custom--font-weight--semi-bold);
}

ol,
ul {
  padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
  padding-inline-start: var(--wp--preset--spacing--medium);
}

div[class*="wp-block-"] figcaption {
  color: var(--wp--preset--color--secondary);
  font-size: var(--wp--preset--font-size--x-small);
  margin-bottom: 0;
  margin-top: 20px;
  text-align: center;
}

img,
figure {
  max-width: 100%;
  height: auto;
}

a:where(:not(.wp-element-button, .wp-block-social-link-anchor)) {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  color: var(--wp--preset--color--primary-500);
}

a:where(:not(.wp-element-button, .wp-block-social-link-anchor)):hover {
  color: var(--wp--preset--color--primary-500);
}

.wp-block-safe-svg-svg-icon {
  line-height: 0;
}

/* Utility classes
--------------------------------------------- */
@media (max-width: 960px) {
  .hide-on-mobile {
    display: none !important;
  }
}
/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
  font: inherit;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
  -webkit-appearance: none;
  appearance: none;
}

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
  color: var(--wp--preset--color--gray-800);
  border-radius: 5px;
  border: solid 1px var(--wp--preset--color--gray-200);
  padding: 0.5em 1em;
  font-size: var(--wp--preset--font-size--small);
  background-color: #fff;
}

input:focus-visible,
textarea:focus-visible {
  outline-color: var(--wp--preset--color--primary-500);
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

label {
  width: 100%;
  display: block;
}

::placeholder {
  color: var(--wp--preset--color--gray-800);
  font-size: var(--wp--preset--font-size--small);
  opacity: 0.75;
}

/* Map
--------------------------------------------- */
.map iframe {
  width: 100%;
  height: 450px;
}

/* Logo
--------------------------------------------- */
@media (min-width: 960px) {
  .site-header .wp-block-site-logo img {
    width: 64px !important;
  }
}

/* Site footer
--------------------------------------------- */
.site-footer
  a:where(:not(.wp-element-button, .wp-block-social-link-anchor)):hover {
  color: var(--wp--preset--color--primary-500) !important;
}
