.dh-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    text-decoration: none;
}

/*@media screen and (min-width: 1025px) {

.dh-row.crazy > .dh-row-content > .wp-block-columns > .wp-block-column:first-of-type {
padding: 20px;
flex-basis: 80% !important;
}



.dh-row.crazy > .dh-row-content > .wp-block-columns > .wp-block-column:first-of-type:before {
content: '';
height: 100%;
width: 100%;
float: right;
shape-outside: polygon(55% 0, 100% 0, 100% 100%, 55% 40%);
shape-margin: 20px;
clip-path: polygon(55% 0, 100% 0, 100% 100%, 55% 40%);
}



.dh-row.crazy > .dh-row-content > .wp-block-columns > .wp-block-column:nth-of-type(2) {
clip-path: polygon(0 0, 100% 0, 100% 100%, 65% 100%, 0 40%);
width: 50%;
padding: 40px;
margin-left: -35%;
flex-grow: 1;

}

.dh-row.crazy > .dh-row-content > .wp-block-columns {
    clear: both;
    
}

.dh-row.crazy > .dh-row-content > .wp-block-columns > .wp-block-column:nth-of-type(2):before {
content: '';
border: solid 1px red;
float: left;
width: 100%;
height: 100%;
shape-outside: polygon(0 40%, 0% 100%, 70% 100%);
shape-margin: 20px;
display: inline-block;
padding-bottom: 160%;
}

}*/

.dh-row.corner {
    min-height: 160px;
}

.dh-row.bottom_sweep {
    margin-bottom: -200px;
}

.dh-row.bottom_sweep .dh-row-content {
    padding-bottom: 200px;
}


@media screen and (max-width: 1024px) {

.dh-row.bottom_sweep {
    margin-bottom: -100px;
}

.dh-row.bottom_sweep .dh-row-content {
    padding-bottom: 100px;
}

}

.dh-row.corner .dh-row-content {

    padding: 40px 140px 20px 20px;

}

.dh-row.corner:before {
content: '';
background-color: #000000;
width: 100px;
height: 100px;
position: absolute;
right: 20px;
top: 40px;
clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 0 30%);

}


@media screen and (max-width: 1024px) {

.dh-row.corner .dh-row-content {

    padding: 40px 80px 20px 20px;

}

.dh-row.corner:before {

width: 50px;
height: 50px;


}



}

.dh-row.badge {
    min-height: 160px;
    margin-top: 20px;
    position: relative; 
}

.dh-row.badge .dh-row-content {

}
.dh-row .badge {

    position: absolute;
    top: -40px;
    right: -40px;
    height: 200px;
    width: 200px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-items: center;

}

.dh-row .badge .text {

    text-align: center;
    transform: rotate(30deg);
    color: #ffffff;
    padding: 0 40px;
    line-height: 1;
    font-size: 2em;

}

@media screen and (max-width: 1024px) {
.dh-row.badge {
    margin-left: 20px;
    margin-right: 20px;
}

.dh-row .badge {
    height: 100px;
    width: 100px;
    font-size: 1em;
    top: -50px;
    right: -30px;
}

.dh-row .badge .text {
    padding: 0 20px;
    font-size: 1em;
    }
    
    
.dh-row.badge .dh-row-content {

}

}



.dh-row h1 span, .dh-row h2 span {
  text-decoration-thickness: 0px !important;
  padding: 0 10px;
}



.dh-row.flex-start {
    align-items: flex-start;
}

.dh-row.flex-end {
    align-items: flex-end;
}

.dh-row.alignfull {
    clear: both;
}

.dh-row .overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.acf-block-preview .dh-row .overlay {
    z-index: 0;
}

.dh-row-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px 20px 20px;
}

.dh-row.narrow_content .dh-row-content {
    max-width: 800px;
}

.dh-row.min_height {
    min-height: 40vw;
}

.dh-row.background_repeat {
  background-repeat: repeat;
  background-size: auto;
}

.dh-row.bottom_margin {
  margin-bottom: 20px;
}

@media (max-width: 1024px) {

    .dh-row.reverse_mobile .dh-row-content .wp-block-columns {
       flex-wrap: wrap-reverse !important;
    }


}

.dh-row.top-align {
  font-size: 1.5em;
}

.dh-row.top-align h2 {
  font-size: 2em;
}

.dh-row.top-align .wp-block-buttons{
  font-size: 1em;
}

@media screen and (max-width:768px) {
.dh-row.min_height {
  min-height: 50vh;
}

  .dh-row.top-align {
    align-items: flex-start;
  }



.dh-row.min_height.top-align {
    min-height: 100vh;
    font-size: 1em;
}





}
