.tcwd-page-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.tcwd-page-popup-overlay.is-visible {
    display: flex;
}

.tcwd-page-popup-dialog {
    background: #ffffff;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 30px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.tcwd-page-popup-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 2rem;
}

.tcwd-page-popup-body {
    font-size: 1rem;
}

.tcwd-page-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.tcwd-page-popup-overlay {
    cursor: pointer;
}

.tcwd-page-popup-dialog {
    cursor: auto;
}

.cta-bar .wp-block-button__link {
    min-width: 300px;
    border-radius: 10px;
}

.tcwd-page-popup-body .wp-block-button__link {
    min-width: 300px;
    border-radius: 10px;
	margin-top: 20px;
}

/* Under 900px → button goes full width */
@media (max-width: 900px) {
    .tcwd-page-popup-body .wp-block-button__link {
        min-width: 200px;
        width: 100%;
        text-align: center; /* keep the text centered */
		padding: calc(.667em + 2px) 15px;
		font-size: 1em;
    }
}