.drr-tip {
  display: none;
}

.drr-tip.is-open {
  display: block;
}

.drr-tip__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99998;
  display: none;
}

.drr-tip__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;

  width: 800px;
  max-width: 92vw;
  max-height: 90vh;
  overflow: auto;

  background: #fff;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  /* UPDATED: remove padding */
  padding: 0;

  display: none;
}

.drr-tip__text ul{
	margin:0 0 1rem 0;
	padding:0;
	
}

.drr-tip__text ul li{
	display: block;
}

.drr-tip__img{
	aspect-ratio: 15 / 21;
	-o-object-fit: cover;
	object-fit: cover;
	height: auto !important;
	max-width: 100% !important;
	transition: transform .2s linear;
}

/* Mobile: popup width 90% */
@media (max-width: 767px) {
  .drr-tip__dialog {
    width: 90vw;
    max-width: 90vw;
  }
	
	.drr-tip__img{
		aspect-ratio: 16 / 10;
        
    }
}

/* The inner wrapper can add controlled spacing for text only */
.drr-tip__content {
  padding: 0;
}

/* Desktop layout: image right, text left */
.drr-tip__body {
  display: flex;
  align-items: stretch;

  /* markup order: media then text, so row-reverse => image right */
  flex-direction: row-reverse;
}

/* UPDATED: image column is 50% */
.drr-tip__media {
  position: relative;
  flex: 0 0 45%;
}

.drr-tip__text {
  flex: 0 0 55%;
  min-width: 0;

  /* add padding only for text side */
  padding: 2rem;
}

.drr-tip__title {
  margin: 0 0 12px 0;
  font-size: 24px;
  line-height: 1.2;
	text-transform: uppercase;
	font-weight: 600;
}

/* Close button sits on top of the image */
.drr-tip__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;

  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  padding: 0;
	
}

.drr-tip__img {
  display: block;
  width: 100%;
  height: auto;
}

.drr-tip__wysiwyg > :first-child {
  margin-top: 0;
}
.drr-tip__wysiwyg > :last-child {
  margin-bottom: 0;
}

.drr-tip__cta {
  margin: 2rem 0 0;
}

.drr-tip__button {
  display: inline-block;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid #111;
  color: #111;
  background: transparent;
	text-align: center;
}

/* Mobile: image on top, text under */
@media (max-width: 767px) {
	.drr-tip__body {
		flex-direction: column;
	}

	.drr-tip__media,
	.drr-tip__text {
		flex: 0 0 auto;
		width: 100%;
	}

	.drr-tip__text {
		padding: 1rem;
	}
}

body.drr-tip-open {
  overflow: hidden;
}