/**
  * Custom styles for core/file Block
  * We have registered all custom block styles using JSON 
  *
  * @link https://fullsiteediting.com/lessons/custom-block-styles/
  *
  */
.wp-block-file {
  /*!
   * Name  : Common Styles for "Style 1" & "Style 2"
   * Slug  : moe-style-1-file & moe-style-2-file
  **/
  /*!
   * Name  : Style 2
   * Slug  : moe-style-2-file
  **/
  /*!
   * Name  : Only Button
   * Slug  : moe-style-3-file
  **/
}
.wp-block-file.is-style-moe-style-1-file,
.wp-block-file.is-style-moe-style-2-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wp-block-file.is-style-moe-style-1-file a,
.wp-block-file.is-style-moe-style-2-file a {
  font-size: 0.9rem;
  transition: 300ms;
}
.wp-block-file.is-style-moe-style-1-file a:hover,
.wp-block-file.is-style-moe-style-2-file a:hover {
  text-decoration: none;
}
.wp-block-file.is-style-moe-style-1-file .wp-element-button,
.wp-block-file.is-style-moe-style-2-file .wp-element-button {
  font-size: 0;
  width: 30px;
  height: 30px;
  color: var(--wp--preset--color--text-body-color);
  background: var(--wp--preset--color--text-body-color-lighter);
  border-radius: 50%;
  line-height: 26px;
  text-align: center;
  transition: 300ms;
}
.wp-block-file.is-style-moe-style-1-file .wp-element-button:after,
.wp-block-file.is-style-moe-style-2-file .wp-element-button:after {
  content: "\f019";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 15px;
  color: #555;
}
.wp-block-file.is-style-moe-style-1-file .wp-element-button:hover,
.wp-block-file.is-style-moe-style-2-file .wp-element-button:hover {
  background: var(--wp--preset--color--primary-light);
}
.wp-block-file.is-style-moe-style-1-file .wp-element-button:hover:after,
.wp-block-file.is-style-moe-style-2-file .wp-element-button:hover:after {
  color: var(--wp--preset--color--text-primary);
}
.wp-block-file.is-style-moe-style-2-file {
  border: 2px solid var(--wp--preset--color--primary-light);
  padding: 10px 15px;
  border-radius: 6px;
}
.wp-block-file.is-style-moe-style-3-file a:first-child {
  display: none;
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button {
  background: transparent;
  margin: 0;
  border: 1px solid var(--wp--preset--color--text-body-color);
  color: var(--wp--preset--color--text-body-color);
  font-size: 1.2em;
  font-weight: 700;
  padding: 6px 40px 8px 40px;
  border-radius: 20px;
  box-shadow: none;
  position: relative;
  transition: all 0.5s linear;
  overflow: hidden;
  z-index: 1;
  min-width: 150px;
  text-align: center;
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button:before {
  position: absolute;
  content: "";
  background-color: var(--wp--preset--color--black);
  width: 120%;
  height: 0;
  padding-bottom: 120%;
  top: -110%;
  left: -10%;
  border-radius: 50%;
  transform: translate3d(0, 68%, 0) scale3d(0, 0, 0);
  z-index: -1;
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button:after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: var(--wp--preset--color--black);
  transform: translate3d(0, -100%, 0);
  transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
  z-index: -1;
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button:hover {
  border-color: transparent;
  color: #fff;
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button:hover:before {
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
  transition: transform 0.4s cubic-bezier(0.1, 0, 0.3, 1);
}
.wp-block-file.is-style-moe-style-3-file .wp-block-file__button:hover:after {
  transform: translate3d(0, 0, 0);
  transition-duration: 0.05s;
  transition-delay: 0.4s;
  transition-timing-function: linear;
}
