/*
* Global button styling
*/
/*
* MEDIA QUERIES
* Breakpoints for responsive sites
*/
/*
* Breakpoint debugging
*/
/*
* SASS Parent append
* Useful if you want to add an append to the parent without writing it out again
* Usage: @include parent-append(":hover")
* Source: https://codepen.io/imkremen/pen/RMVBvq
*/
/*
* Skew
* Useful mixing to create skewed edges
* Usage: @include angle-edge(bottomright, 3deg, topleft, 3deg, #fff);
* Source: http://www.hongkiat.com/blog/skewed-edges-css/
*/
.block-latest-document {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: var(--wp--preset--spacing--normal) 0 4rem;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.block-latest-document .latest-document-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1em;
  height: 100%;
}
.block-latest-document .latest-document-item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.block-latest-document .latest-document-item__image {
  overflow: hidden;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.block-latest-document .latest-document-item__image--inner {
  position: relative;
  height: 100%;
  min-height: var(--min-height, 200px);
  -webkit-transition: -webkit-transform 2s ease-in-out;
  transition: -webkit-transform 2s ease-in-out;
  transition: transform 2s ease-in-out;
  transition: transform 2s ease-in-out, -webkit-transform 2s ease-in-out;
}
.block-latest-document .latest-document-item__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% var(--cover-img-y, 50%);
     object-position: 50% var(--cover-img-y, 50%);
}
.block-latest-document .latest-document-item h3 {
  font-weight: 400;
  margin: 0;
  font-size: var(--wp--preset--font-size--medium);
  margin-top: 1em;
  color: #000;
}
.block-latest-document .latest-document-item h2,
.block-latest-document .latest-document-item h3 {
  display: inline-block;
  position: relative;
  text-decoration: none;
  -webkit-transition: 200ms ease;
  transition: 200ms ease;
}
.block-latest-document .latest-document-item h2::before,
.block-latest-document .latest-document-item h3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: auto;
  right: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  -webkit-transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
}
.block-latest-document .latest-document-item__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--wp--preset--spacing--small);
  margin: auto 0 0;
}
.block-latest-document .latest-document-item__footer a:not(.wp-block-button__link) {
  font-size: var(--wp--preset--font-size--medium);
}
.block-latest-document .latest-document-item__footer a:not(.wp-block-button__link):hover h3 {
  color: var(--wp--preset--color--tertiary);
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link) h3::before,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link) h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: auto;
  right: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  -webkit-transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: width 450ms cubic-bezier(0.4, 0, 0.2, 1);
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link)::before {
  content: none;
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):active, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus {
  color: var(--wp--preset--color--tertiary);
  text-decoration: none;
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover h3,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover h2, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):active h3,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):active h2, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus h3,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus h2 {
  color: var(--wp--preset--color--tertiary);
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover h3::before,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover h2::before, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):active h3::before,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):active h2::before, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus h3::before,
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus h2::before {
  width: 100%;
  left: 0;
  right: auto;
  color: currentColor;
}
.block-latest-document .latest-document-item > a:not(.wp-block-button__link):hover .latest-document-item__image--inner, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):active .latest-document-item__image--inner, .block-latest-document .latest-document-item > a:not(.wp-block-button__link):focus .latest-document-item__image--inner {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.block-latest-document .latest-document-item span {
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--wp--preset--color--tertiary);
}