/**
 * Theme Name: ViSK
 * Template:   twentytwentyfive
 * ...other header fields
 */

html {
  background-color: transparent;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

.wp-block-cover mark {
  display: inline-block;
  margin-block: 0.25rem;
  padding: 0.5rem;
}

.wp-block-navigation .wp-block-navigation__submenu-icon {
  margin-block-end: 0.5em;
}
.wp-block-navigation .wp-block-navigation__submenu-icon path {
  stroke-width: 4;
}

footer {
  margin-top: 0;
}

form {
  font-size: 1rem;
  padding: 0;
  font-family: var(--wp--preset--font-family--roboto);
}

form input {
  border: 1px solid var(--wp--preset--color--contrast);
  display: block;
  font-size: 1.25em;
  line-height: 1.33;
  padding: 0.5em;
  width: 100%;
  font-family: var(--wp--preset--font-family--roboto);
}
form textarea {
  width: 100%;
  border: 1px solid var(--wp--preset--color--contrast);
  display: block;
  font-size: 1.25em;
  line-height: 1.33;
  padding: 0.5em;
  font-family: var(--wp--preset--font-family--roboto);
}

form input[type="submit"] {
  background-color: var(--wp--preset--color--red);
  color: var(--wp--preset--color--base);
  font-weight: 700;
  border: none;
  border-radius: 3em;
  width: auto;
  padding: 1rem 2.25rem;
  margin-inline: auto;
}

.visk-days-to-election {
  width: 8em;
  height: 8em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5em;
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--contrast);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
  rotate: 12deg;
}
.visk-days-to-election > * {
  margin: 0;
  text-align: center;
  line-height: 1;
}
.visk-days-to-election span {
  display: block;
}
.visk-days-to-election-number {
  font-size: 2em;
  color: var(--wp--preset--color--base);
  filter: drop-shadow(0 0.25rem 0.25rem rgba(0, 0, 0, 0.25));
}

/* Mobile menu left align hack */
@media (max-width: 599px) {
  ul.wp-block-navigation,
  li.wp-block-navigation-item {
    align-items: flex-start !important;
    width: 100%;
  }
}

.wp-block-cover .wp-block-heading {
  display: inline;
  -webkit-box-decoration-break: clone;
  -ms-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
}
