/* Popup styles */

.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  
  .popup.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .popup-content {
    background-color: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 100dvh;
    height: auto;
    overflow-y: auto;
    text-align: left;
    position: relative;
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.4s ease;
    outline: none;
  }
  
  .popup.show .popup-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .close {
    position: absolute !important;
    top: 0;
    right: 0;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    background: none !important;
    border: none;
    padding: 10px 20px;
  }
  
  body.no-scroll {
    overflow: hidden;
    padding-right: 15px;
  }
  
  /* Screen reader only */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

/* Post Styles */
.wp-block-media-text {
    direction: ltr;
    display: grid;
    grid-template-columns: 50% 1fr;
    grid-template-rows: auto;
	  align-items: center;
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }
	.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }
	    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }
}

#popupDesc .wp-block-media-text>.wp-block-media-text__content {
  padding: 0;
}

#popupDesc .wp-block-button__link {
  border-radius: 0;
  box-shadow: none;
  font-size: 1em;
	color: #fff;
	background-color: #ea1818;
	font-weight: 600;
}

#popupDesc .wp-block-media-text {
	gap: 1em;
}

#popupDesc .wp-block-media-text__media img {
	width: 100%;
	max-width: 250px;
}
  