/* -------------------------
   POPUP BACKDROP
   ------------------------- */
.praxis-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.praxis-popup-backdrop.is-active {
    opacity: 1;
    pointer-events: all;
}

/* -------------------------
   POPUP PANEL
   ------------------------- */
.praxis-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 700px;
    height: auto;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1201;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
	justify-content: center;
}

.praxis-popup.is-active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

/* -------------------------
   CLOSE BUTTON
   ------------------------- */
.praxis-popup__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #150502;;
    z-index: 2;
    padding: 4px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.praxis-popup__close:hover {
    opacity: 1;
}

/* -------------------------
   IMAGE — upper half
   ------------------------- */
.praxis-popup__image-wrap {
    flex: 0 0 50%;
    min-height: 0;
    overflow: hidden;
}

.praxis-popup__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* -------------------------
   BODY — lower half
   ------------------------- */
.praxis-popup__body {
    flex: 0 0 50%;
    min-height: 0;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
}


/* -------------------------
   MOBILE
   ------------------------- */
@media (max-width: 768px) {
    .praxis-popup {
        width: 72vw;
        height: auto;
    }
	
  .praxis-popup__image-wrap {
    flex: 0 0 40%;
   }
  .praxis-popup__title{
    font-size: 24px;
	}
	.praxis-popup__text{
	font-size: 14px;
	}
	.praxis-popup__body{
	 padding:var(--spacing-md);
	}
	
}