.promo-display--sticky_corner {
  bottom: 20px;
  right: 20px;
  width: 350px;
  max-width: 90%;
  border-radius: 8px;
}

.promo-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
}

.promo-image { background: #dfdfcf; }


/* --- Sticky Corner Position Styles --- */

.promo-pos--right {
    right: 20px;
    left: auto;
}

.promo-pos--left {
    left: 20px;
    right: auto;
}

.promo-display--slide_in.promo-pos--left {
    transform: translateX(calc(-100% - 30px));
}

.promo-display--slide_in.promo-pos--right {
    transform: translateX(calc(100% + 30px));
}

/* Sticky Bar Styles */
.promo-display--sticky_bar {
    bottom: 10px;
left: 1.5%;
    width: 97%;
        border-radius: 0;
    border-top: 1px solid #ccc;
}


.promo-display--sticky_bar .promo-image { border-radius: 10px 0px 0px 10px; max-width:50%; max-height: min-content; }
.promo-display--sticky_bar .promo-text { width: 46%; margin-left:4%; }
.promo-display--sticky_bar .promo-content { display:flex; }



/* Off-canvas Modal Styles */
.promo-display--off_canvas {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}

/* Slide-in Styles */
.promo-display--slide_in {
  bottom: 20px;
  left: 20px;
  width: 350px;
  border-radius: 8px;
  transform: translateX(calc(-100% - 30px));
  transition: transform 0.4s ease-in-out;
}

.promo-display--slide_in .promo-image {
    width:100%; border-radius: 10px 10px 0px 0px; margin-bottom:15px;
}

.promo-display--slide_in .promo-cta { float:right; }


.promo-wrapper.is-visible {
  transform: translateX(0);
}
/* Image Only */
.promo-layout--image_only_linked {
    padding: 0; 
    line-height: 0; 
    overflow: visible !important; 
    background: transparent;
    box-shadow: none;
}

.promo-layout--image_only_linked .promo-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); 
}

.promo-layout--image_only_linked .promo-close {
    top: -15px; 
    right: -15px;
    z-index: 9999; 
    opacity: 1;
    visibility: visible;
}

.promo-wrapper {
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    border-radius: 10px;
    border: 1px solid #dddde0;
    background:white;
    padding: 12px;
}


.promo-content {
    position: relative;
}



/***** INLINE ARTICLE STYLES ****/
.promo-display--content_banner.promo-wrapper { position:relative; margin-bottom: 15px; }
.promo-display--content_banner .promo-close { display:none; }
.promo-display--content_banner .promo-content { display:flex; }
.promo-display--content_banner .promo-image { width:40%; border-radius: 10px 0px 0px 10px; display:inline-block; }
.promo-display--content_banner .promo-text { width: 55%; margin-left:5%; display:inline-block; }

body .promo-text h2 { font-size: 24px !important; }
.promo-text p { line-height: 1.3; }
.promo-text .promo-cta { font-size:18px; margin-bottom:0px; }



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

    body .promo-text h2 { font-size: 20px !important; }
    .promo-cta.button { font-size:16px; }

    /***** INLINE ARTICLE STYLES ****/
    .promo-display--content_banner .promo-content { display:block; }
    .promo-display--content_banner .promo-image { width:100%; border-radius: 10px 10px 0px 0px; display:block; margin-bottom:15px; }
    .promo-display--content_banner .promo-text { width: 100%; margin-left:0; display:block; text-align:center; }
}



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

.promo-display--sticky_bar .promo-image { max-width:38%;  }
.promo-display--sticky_bar .promo-text { width: 60%; margin-left:2%; }

}

@media only screen and (max-width:599px){
.promo-display--sticky_bar .promo-content { display:block; }
.promo-display--sticky_bar .promo-image { max-width:100%; border-radius: 10px 10px 0px 0px; margin-bottom:15px; }
.promo-display--sticky_bar .promo-text { width: 100%; margin-left:0%; text-align:center; }
.promo-display--sticky_bar.promo-wrapper {
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    border: none; }

}