/* Only apply to screens wider than 768px */
@media (min-width: 769px) {
    /* Set the form container to Grid */
    #mepr_signup_form.mepr-signup-form {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        column-gap: 30px; /* Space between columns */
        row-gap: 10px;
        align-items: end;
    }

    /* Force specific rows to span across both columns */
    #mepr_signup_form .mepr_price,
    #mepr_signup_form .mepr-transaction-invoice-wrapper,
    #mepr_signup_form .mepr-payment-methods-wrapper,
    #mepr_signup_form .mepr_spacer,
    #mepr_signup_form .mepr_submit,
    #mepr_signup_form .have-coupon-link,
    #mepr_signup_form .mepr_coupon {
        grid-column: span 2;
    }

 #mepr_signup_form .have-coupon-link:hover {color:fff !important;}
    .mepr_submit {
        margin-top: 20px;
    }
    .mp-form-label label {
        display: block;
        margin-bottom: 5px;
    }
}

.memberpressproduct {padding:50px 0 !important;}

.mepr-submit {background-color: #253B6E !important;
  color: #fff;
  border: 1px solid #253B6E;
}

.mp-form-label {
  padding-bottom: 12px;
  font-weight: 600;
}

.mepr_price_cell {
    font-size: 38px;
    font-weight: bold;
}

.type-memberpressproduct .entry-title {color:#253B6E !important;
	font-weight:bold;
	font-size:36px}

.have-coupon-link , .mepr_coupon{
    padding: 12px;
    background-color: #253B6E;
    border-radius: 2px;
    color: #fff;
    text-decoration: none !important;
	text-align:center ;
	font-size: 18px;
    width: 20%;
}
#jp-relatedposts {display:none !important;}

#mepr_loginform #wp-submit { padding: 12px;
    background-color: #253B6E;
    border-radius: 2px;
    color: #fff;}

.mp_login_form {    padding: 3em;
    border: 1px solid #0003;
}

/* Fix for MemberPress Unauthorized Message Padding */
.mepr-unauthorized-message {
    padding: 40px;
    margin: 20px auto;
    max-width: 1140px; /* Matches Elementor container width */
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    line-height: 1.8;
}

/* Ensure the login form inside the message isn't cramped */
.mepr-login-form {
    padding-top: 20px;
}