/**
 * Theme Name: Angels of Freedom Kz
 * Template: twentytwentyfive
 * Author: Angels of Freedom Kz
 * Text domain: aof_kz
 * Version: 1.0.2
 */

a:where(:not(.wp-element-button)) {
 color: inherit;
}

.wp-block-query-pagination {
  .page-numbers,
  .wp-block-query-pagination-next,
  .wp-block-query-pagination-previous {
    padding-left: .5em;
    padding-right: .5em;
    display: inline-block;
    transition: transform 0.1s ease-in-out;

    &:hover,
    &.current {
      transform: scale(1.4);
    }
  }
}

.aof-donate__wrapper {
  .aof-donate__input-wrapper {
    position: relative;
    font-size: 2rem;
    margin-bottom: .25em;

    input {
      padding-right: 1em;
      font-size: inherit;
      padding: .1em 1.5em;
      border-radius: 1em;
      border: 1px solid var(--wp--preset--color--accent-1);
      text-align: center;
      outline-color: var(--wp--preset--color--accent-1);
      outline-width: 1px;
      width: 5em;
    }
  }

  .aof-donate__currency {
   position: absolute;
   bottom: 0;
   right: 0;
   padding: 0 .5em .03em 0;
  }

  a {
    transition: scale 0.1s ease-in-out;

    &:hover {
      scale: 1.1;
    }
  }

  .aof-donate__notify {
    font-size: .75em;
    margin-top: 2em;
    padding: 1em 2em;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    &._error {
      border-color: var(--wp--preset--color--vivid-red);
      background-color: color-mix(in srgb, var(--wp--preset--color--vivid-red) 10%, transparent);
    }
  }
}

.wp-child-theme-aof_kz {
  h2, h3, h4, h5, h6 {
    margin-block-start: 2em;
  }
}
