/* customizations to blocks.  this gets included in editor as well */

.block-editor-block-list__block[data-type="core\/spacer"] {
  border: 1px dashed #ccc;
  content: "spacer block";
}

.block-editor-block-list__block[data-type="core\/spacer"] > div:before {
  content: "spacer block";
  text-align: center;
  font-style: italic;
  position: relative;
  display: block;
  font-size: 0.75em;
}

/* designer highlight cover block */
.designer-highlight {
  padding: 2em !important;
  position: relative;
  width: 95%;
  max-width: 1280px !important;
  align-items: stretch !important;
  background: transparent;
  margin: 1em auto 5em auto;
}

.designer-highlight .wp-block-cover__inner-container {
  width: calc(100%);
  z-index: 1;
  color: #000;
  position: relative;
}

.designer-highlight .wp-block-columns {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 !important;
  width: 100%;
  height: 100%;
}

.designer-highlight .white-bg {
  background: #fff;
  padding: 1em;
  height: 100%;
  position: relative;
}

.designer-highlight .white-bg * {
  color: #000;
  font-family: "Baskerville";
}

.designer-highlight .white-bg h4 {
  font-family: "MyAvenir", sans-serif;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 1em 0;
  font-size: 1.13em;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.designer-highlight .white-bg h2 {
  font-family: "Baskerville";
  margin: 0 0 1em 0;
  padding: 0 0 0 0.7em;
  font-size: 2.2em;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.03em;
  line-height: 1em;
}

.designer-highlight .white-bg p {
  margin: 0 0 1em 0;
  padding: 0 3em 0 3em !important;
  letter-spacing: 0.1em;
  line-height: 1.25em;
  font-size: 1.2em;
}

.designer-highlight .white-bg p:last-child {
  margin: 0;
}

.designer-highlight .white-bg p a {
  border-bottom: 1px solid #000;
  text-decoration: none;
  color: #000;
  font-family: "MyAvenir";
  position: absolute;
  bottom: 1em;
  right: 4em;
  font-size: 0.875em;
}

@media only screen and (min-width: 1350px) {
  .designer-highlight .white-bg {
    font-size: 16px;
  }
}

@media only screen and (min-width: 1170px) and (max-width: 1349px) {
  .designer-highlight .white-bg {
    font-size: 15px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1169px) {
  .designer-highlight .white-bg h2 {
    font-size: 1.75em;
  }

  .designer-highlight .white-bg {
    font-size: 14px;
  }

  .designer-highlight .white-bg p {
    padding: 0 2.5em 0 2.5em !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 995px) {
  .designer-highlight {
    padding: 93% 2em 2em 2em !important;
    background-size: 200% auto !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat;
    overflow: visible;
    max-width: 95% !important;
    margin: 0 auto 1em auto;
  }

  .designer-highlight .wp-block-columns {
    position: relative;
    flex-wrap: wrap !important;
  }

  .designer-highlight .white-bg {
    width: 100% !important;
    flex-basis: auto !important;
    margin-left: 0;
    padding: 0;
    height: 150%;
  }

  .designer-highlight .white-bg p a {
    position: relative;
    right: auto;
    bottom: auto;
  }
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
  .designer-highlight {
    padding: 100% 0em 2em 0em !important;
    background-size: 200% auto !important;
    background-repeat: no-repeat;
    overflow: visible;
    height: auto !important;
    max-height: auto !important;
  }

  .designer-highlight .white-bg {
    padding: 0;
  }

  .designer-highlight .white-bg h2 {
    padding: 0 0 0 0;
  }

  .designer-highlight .white-bg p {
    padding: 0 0em 0 0em !important;
  }
}

/* END designer highlight cover block */
