.image-holder {
    position: relative;
    z-index: 100;
    border-radius: 50px; 
    display: inline-block;
}

.image-holder img.attachment-custom-image {
    position: relative;
    z-index: 90;
    border-radius: 50px;
}

.image-holder .text {
    position: absolute;
    z-index: 300;
    color: var(--image-text-color);
    background: var(--image-text-background);
    font-size: 15px;
    line-height: 1.33;
    font-weight: 500;
    text-transform: uppercase;
    width: 140px;
    height: 170px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-style: solid;
    border-color:  var(--image-text-border-color);
}

.image-holder .text span {
    color: var(--image-text-important-color);
}

.section--primary .image-holder .text {
    color: var(--image-text-color-on-primary);
    background: var(--image-text-background-on-primary);
    border-color:  var(--image-text-border-color-on-primary);
}

.section--primary .image-holder .text span {
    color: var(--image-text-important-color-on-primary);
}

.section--secondary .image-holder .text {
    color: var(--image-text-color-on-secondary);
    background: var(--image-text-background-on-secondary);
    border-color:  var(--image-text-border-color-on-secondary);
}

.section--secondary .image-holder .text span {
    color: var(--image-text-important-color-on-secondary);
}

.text.top-right {
    top: 0;
    right: 0;
    border-left-width: 20px;
    border-bottom-width: 20px;
    border-top-right-radius: 10px;
}

.text.top-left {
    top: 0;
    left: 0;
    border-right-width: 20px;
    border-bottom-width: 20px;
    border-top-left-radius: 10px;
}

.text.bottom-right {
    bottom: 0;
    right: 0;
    border-left-width: 20px;
    border-top-width: 20px;
    border-bottom-right-radius: 10px;
}

.text.bottom-left {
    bottom: 0;
    left: 0;
    border-right-width: 20px;
    border-top-width: 20px;
    border-bottom-left-radius: 10px;
}

.image-holder .icon-holder {
    background: var(--image-icon-holder-background);
    width: 90px;
    height: 90px;
    position: absolute;
    z-index: 100;
}

.section--primary .image-holder .icon-holder,
.section--primary-paper .image-holder .icon-holder {
    background: var(--image-icon-holder-background-on-primary);
}

.section--secondary .image-holder .icon-holder {
    background: var(--image-icon-holder-background-on-secondary);
}

.icon-holder.top-right {
    top: 0;
    right: 0;
    border-top-right-radius: 10px;
}

.icon-holder.top-left {
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
}

.icon-holder.bottom-right {
    bottom: 0;
    right: 0;
    border-bottom-right-radius: 10px;
}

.icon-holder.bottom-left {
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
}

.image-holder .icon-holder span {
    background: var(--image-icon-background);
    width: 90px;
    height: 90px;
    position: absolute;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.section--primary .image-holder .icon-holder span,
.section--primary-paper .image-holder .icon-holder span {
    background: var(--image-icon-background-on-primary);
}

.section--secondary .image-holder .icon-holder span {
    background: var(--image-icon-background-on-secondary);
}

.icon-holder.top-right span {
    border-radius: 45% 0% 55% 45% / 55% 0% 45% 45% ;
    top: 20px;
    right: 20px;
}

.icon-holder.top-left span {
    border-radius: 0% 45% 45% 55% / 0% 55% 45% 45%;
    top: 20px;
    left: 20px;
}

.icon-holder.bottom-right span {
    bottom: 20px;
    right: 20px;
    border-radius: 45% 45% 0% 55% / 55% 45% 0% 45%;
}

.icon-holder.bottom-left span {
    bottom: 20px;
    left: 20px;
    border-radius: 45% 45% 55% 0% / 55% 45% 45% 0%;
}

.image-holder .icon-holder img {
    max-width: 60px;
}

@media only screen and (max-width: 991px) {

}

@media only screen and (max-width: 767px) {
    .image-holder .text {
        width: 120px;
        height: 140px;
    }
}