/* Heritage theme (Design A) — base overrides for the legacy inner pages (body.jr-site).
   Loaded after every other stylesheet on non-home pages. */

/* Page ground: drop the red patterned backgrounds */
body.jr-site.login-reg-main, body.jr-site.body-banner1 { background: var(--jr-cream) !important; height: auto !important; min-height: 100vh; }
.jr-site .login-reg-main { background-image: none !important; background-color: transparent !important; height: auto !important; min-height: 0; }
.jr-site { color: var(--jr-ink); }
.jr-site a { color: var(--jr-maroon); }
.jr-site a:hover, .jr-site a:focus { color: var(--jr-maroon-dark); }
.jr-site h1, .jr-site h2, .jr-site .mega-n3, .jr-site .new-event { font-family: var(--jr-serif) !important; font-weight: 600 !important; letter-spacing: -0.01em; color: var(--jr-ink); }
.jr-site .mega-n4, .jr-site .color-d { color: var(--jr-maroon) !important; }

/* Form controls */
.jr-site .form-control, .jr-site .cstm-form, .jr-site .reg_input, .jr-site input[type=text], .jr-site input[type=email],
.jr-site input[type=password], .jr-site input[type=number], .jr-site input[type=tel], .jr-site select, .jr-site textarea {
	border: 1px solid var(--jr-field) !important; border-radius: 10px !important; background-color: var(--jr-paper) !important;
	color: var(--jr-ink) !important; font-family: var(--jr-sans) !important; font-size: 16px; box-shadow: none !important;
}
.jr-site .form-control, .jr-site .cstm-form, .jr-site .reg_input, .jr-site input[type=text], .jr-site input[type=email],
.jr-site input[type=password], .jr-site input[type=number], .jr-site input[type=tel], .jr-site select { min-height: 44px; }
.jr-site .form-control:focus, .jr-site input:focus, .jr-site select:focus, .jr-site textarea:focus { border-color: var(--jr-maroon) !important; box-shadow: 0 0 0 3px rgba(122, 31, 43, .12) !important; outline: none; }
.jr-site ::placeholder { color: #8F7B6F; }
.jr-site .select2-container--default .select2-selection--single,
.jr-site .select2-container--default .select2-selection--multiple,
.jr-site .chosen-container-single .chosen-single, .jr-site .chosen-container-multi .chosen-choices {
	border: 1px solid var(--jr-field) !important; border-radius: 10px !important; background: var(--jr-paper) !important; box-shadow: none !important; min-height: 44px;
}
.jr-site .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px !important; color: var(--jr-ink) !important; }
.jr-site .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px !important; }
.jr-site .select2-container--default .select2-results__option--highlighted[aria-selected],
.jr-site .chosen-container .chosen-results li.highlighted { background: var(--jr-maroon) !important; color: #fff !important; }
.jr-site input[type=checkbox], .jr-site input[type=radio] { accent-color: var(--jr-maroon); }

/* Buttons */
.jr-site .btn-primary, .jr-site .btn-danger, .jr-site .btn-success, .jr-site .reg-btn, .jr-site .btn-join, .jr-site .searchnow,
.jr-site .mega-n-btn1, .jr-site .add-w-btn, .jr-site .exp_int_send_btn, .jr-site .btn-reg, .jr-site .login-btn {
	background: var(--jr-maroon) !important; border-color: var(--jr-maroon) !important; color: var(--jr-paper) !important;
	border-radius: 999px !important; font-family: var(--jr-sans) !important; font-weight: 600 !important; min-height: 44px;
}
.jr-site .btn-primary:hover, .jr-site .btn-danger:hover, .jr-site .btn-success:hover, .jr-site .reg-btn:hover, .jr-site .btn-join:hover,
.jr-site .searchnow:hover, .jr-site .mega-n-btn1:hover, .jr-site .add-w-btn:hover { background: var(--jr-maroon-dark) !important; border-color: var(--jr-maroon-dark) !important; color: #fff !important; }
.jr-site .btn-default { border-radius: 999px !important; border-color: var(--jr-field) !important; background: transparent !important; color: var(--jr-ink) !important; }

/* Cards and panels */
.jr-site .panel, .jr-site .well, .jr-site .modal-content { border-color: var(--jr-line) !important; border-radius: var(--jr-radius) !important; background-color: var(--jr-paper); box-shadow: none; }
.jr-site .panel-heading { border-top-left-radius: var(--jr-radius); border-top-right-radius: var(--jr-radius); }
.jr-site .alert { border-radius: 12px; }
.jr-site .pagination > .active > a, .jr-site .pagination > .active > span { background: var(--jr-maroon) !important; border-color: var(--jr-maroon) !important; }
.jr-site .pagination > li > a { color: var(--jr-maroon); }

.jr-site .select2-container, .jr-site .select2-dropdown, .jr-site .select2-results__option, .jr-site .chosen-container { font-family: var(--jr-sans) !important; font-size: 16px; }
.jr-site .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #8F7B6F; }
.jr-site .select2-selection__rendered, .jr-site .select2-search__field, .jr-site .select2-selection__choice { font-family: var(--jr-sans) !important; }
.jr-site .jr-main input[type=checkbox], .jr-site .jr-main input[type=radio] { -webkit-appearance: auto; appearance: auto; opacity: 1 !important; position: static !important; visibility: visible !important; display: inline-block !important; width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; flex: none; }
.jr-site .jr-main .jr-seg input[type=radio] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; }
