/* ==========================================================================
   j5-compat.css  —  Bootstrap 2 (template design)  <->  Bootstrap 5 (Joomla 4/5, Kunena …)

   The template look is built on Bootstrap 2 (css/bootstrap.css). Joomla 5 and its
   extensions (Kunena 6, com_users, com_finder …) drive their widgets with the
   Bootstrap 5 JavaScript, which toggles different class names than Bootstrap 2 CSS
   expects. Result without this file: forum categories stay collapsed forever,
   dropdowns / modals / tooltips never show.

   Selectors here are deliberately a bit more specific than the old rules so the
   result does not depend on stylesheet order. Loaded LAST.
   ========================================================================== */

/* ---------- 1. Collapse (forum categories, accordions, "+" buttons) -------- */
.collapse:not(.nav-collapse):not(.navbar-collapse) {
	position: static;
	height: auto;
	overflow: visible;
	-webkit-transition: none;
	transition: none;
}
.collapse:not(.show):not(.in):not(.nav-collapse):not(.navbar-collapse) {
	display: none;
}
.collapse.show,
.collapse.in:not(.nav-collapse) {
	display: block;
	height: auto;
}
.collapse.collapse-horizontal.show { display: block; }
.collapsing {
	position: relative;
	height: 0;
	overflow: hidden;
	display: block;
	-webkit-transition: height .35s ease;
	transition: height .35s ease;
}
@media (prefers-reduced-motion: reduce) {
	.collapsing { -webkit-transition: none; transition: none; }
}
/* table rows / list items that Kunena collapses */
tr.collapse.show { display: table-row; }
tbody.collapse.show { display: table-row-group; }

/* ---------- 2. Fade / show ------------------------------------------------- */
.fade:not(.show):not(.in) { opacity: 0; }
.fade.show { opacity: 1; }

/* ---------- 3. Dropdowns --------------------------------------------------- */
.dropdown-menu.show { display: block; }
.dropdown-menu[data-bs-popper] { top: 100%; left: 0; margin-top: 2px; }
.dropdown-menu-end[data-bs-popper] { right: 0; left: auto; }
.dropdown-item {
	display: block; width: 100%; padding: 3px 20px; clear: both; font-weight: normal;
	line-height: 20px; color: #333; white-space: nowrap; background: none; border: 0; text-align: inherit;
}
.dropdown-item:hover, .dropdown-item:focus { color: #fff; text-decoration: none; background-color: #08c; }
.dropdown-divider { height: 1px; margin: 9px 1px; overflow: hidden; background-color: #e5e5e5; border-bottom: 1px solid #fff; }

/* ---------- 4. Modals ------------------------------------------------------ */
.modal.fade.show { top: 10%; display: block; }
.modal-backdrop.show { opacity: .5; }
.modal-dialog { position: relative; margin: 0 auto; max-width: 600px; }
.modal.show .modal-dialog { transform: none; }
.modal-content { background: #fff; border: 1px solid rgba(0,0,0,.3); border-radius: 6px; box-shadow: 0 3px 7px rgba(0,0,0,.3); }
.modal-title { margin: 0; line-height: 30px; }
.modal-footer { text-align: right; }

/* ---------- 5. Tooltips / popovers ---------------------------------------- */
.tooltip.show { opacity: .8; filter: alpha(opacity=80); }
.popover.show { display: block; }
.tooltip-inner { max-width: 200px; padding: 3px 8px; color: #fff; text-align: center; background: #000; border-radius: 4px; }

/* ---------- 6. Tabs / pills / buttons / alerts ----------------------------- */
.nav-link { display: block; }
.tab-content > .tab-pane { display: none; }
.tab-content > .tab-pane.active,
.tab-content > .active { display: block; }
.btn-close {
	float: right; font-size: 20px; font-weight: bold; line-height: 20px; color: #000;
	text-shadow: 0 1px 0 #fff; opacity: .2; background: none; border: 0; padding: 0; cursor: pointer;
}
.btn-close:hover { opacity: .5; }
.btn-close::before { content: "\00d7"; }
.btn-sm { padding: 2px 10px; font-size: 11.9px; }
.btn-lg { padding: 9px 14px; font-size: 15.5px; }
.btn-secondary, .btn-light { color: #333; text-shadow: 0 1px 1px rgba(255,255,255,.75); background-color: #f5f5f5; border: 1px solid #ccc; }
.btn-dark { color: #fff; background-color: #363636; border: 1px solid #222; }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-success, .btn-outline-danger,
.btn-outline-warning, .btn-outline-info, .btn-outline-dark, .btn-outline-light { background: transparent; border: 1px solid currentColor; }
.btn-outline-primary { color: #0088cc; }  .btn-outline-secondary { color: #6c757d; }
.btn-outline-success { color: #51a351; }  .btn-outline-danger  { color: #bd362f; }
.btn-outline-warning { color: #f89406; }  .btn-outline-info    { color: #2f96b4; }
.btn-outline-dark    { color: #363636; }
.btn.disabled, .btn:disabled { opacity: .65; cursor: default; }
.alert-danger { color: #b94a48; background-color: #f2dede; border-color: #eed3d7; }
.alert-warning { color: #c09853; background-color: #fcf8e3; border-color: #fbeed5; }
.alert-primary, .alert-secondary, .alert-light, .alert-dark { color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1; }
.alert-dismissible .btn-close { position: relative; top: -2px; right: -21px; }
.badge.bg-primary, .bg-primary { background-color: #0088cc !important; color: #fff; }
.badge.bg-secondary, .bg-secondary { background-color: #6c757d !important; color: #fff; }
.badge.bg-success, .bg-success { background-color: #51a351 !important; color: #fff; }
.badge.bg-danger, .bg-danger { background-color: #bd362f !important; color: #fff; }
.badge.bg-warning, .bg-warning { background-color: #f89406 !important; color: #fff; }
.badge.bg-info, .bg-info { background-color: #2f96b4 !important; color: #fff; }
.badge.bg-light, .bg-light { background-color: #f5f5f5 !important; color: #333; }
.badge.bg-dark, .bg-dark { background-color: #363636 !important; color: #fff; }

/* ---------- 7. Forms (Joomla 5 core + Kunena markup) ---------------------- */
.form-control, .form-select {
	display: block; width: 100%; box-sizing: border-box; min-height: 30px; padding: 4px 6px;
	font-size: inherit; line-height: 20px; color: #555; background-color: #fff;
	border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}
.form-control:focus, .form-select:focus { outline: 0; border-color: rgba(82,168,236,.8); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); }
.form-control-sm, .form-select-sm { min-height: 26px; padding: 2px 6px; font-size: 12px; }
.form-label { display: inline-block; margin-bottom: 4px; }
.form-text { display: block; margin-top: 2px; font-size: 90%; color: #999; }
.form-check { display: block; min-height: 20px; padding-left: 20px; }
.form-check-input { float: left; margin-left: -20px; }
.form-check-inline { display: inline-block; margin-right: 10px; }
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group-text { display: flex; align-items: center; padding: 4px 8px; background: #eee; border: 1px solid #ccc; }
.invalid-feedback { display: none; color: #b94a48; }
.is-invalid ~ .invalid-feedback { display: block; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #b94a48; }

/* ---------- 8. Cards / lists / tables (Kunena Aurelia) -------------------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; margin-bottom: 15px; word-wrap: break-word; background: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 4px; }
.card-header { padding: 8px 14px; background: rgba(0,0,0,.03); border-bottom: 1px solid rgba(0,0,0,.125); }
.card-body { flex: 1 1 auto; padding: 14px; }
.card-footer { padding: 8px 14px; background: rgba(0,0,0,.03); border-top: 1px solid rgba(0,0,0,.125); }
.list-unstyled { padding-left: 0; list-style: none; background-image: none; }
.list-unstyled > li { background-image: none; padding-left: 0; }
.list-inline { padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; margin-right: 8px; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; padding: 0 5px; color: #ccc; }
.pagination .page-item { display: inline; }
.pagination .page-link { float: left; padding: 0 14px; line-height: 38px; text-decoration: none; }
.pagination .page-item.active .page-link { cursor: default; }
.pagination .page-item.disabled .page-link { color: #999; cursor: default; }

/* ---------- 9. Grid: Bootstrap 5 .row / .col-* (only where it is really used) */
.row:has(> [class*="col-"]), .row:has(> .col) {
	display: flex; flex-wrap: wrap; margin-left: -10px; margin-right: -10px;
}
.row:has(> [class*="col-"])::before, .row:has(> [class*="col-"])::after,
.row:has(> .col)::before, .row:has(> .col)::after { display: none; }
.row > .col, .row > [class*="col-"] {
	box-sizing: border-box; float: none; margin-left: 0; padding-left: 10px; padding-right: 10px; width: 100%; max-width: 100%;
}
.row > .col { flex: 1 0 0%; width: auto; }
.row > .col-auto { flex: 0 0 auto; width: auto; max-width: none; }
.g-0 { margin-left: 0 !important; margin-right: 0 !important; }
.g-0 > [class*="col"] { padding-left: 0; padding-right: 0; }
/* col-1 … col-12 (all widths) */
.row > .col-1 { flex: 0 0 auto; width: 8.333333%; max-width: 8.333333%; }
.row > .col-2 { flex: 0 0 auto; width: 16.666667%; max-width: 16.666667%; }
.row > .col-3 { flex: 0 0 auto; width: 25.0%; max-width: 25.0%; }
.row > .col-4 { flex: 0 0 auto; width: 33.333333%; max-width: 33.333333%; }
.row > .col-5 { flex: 0 0 auto; width: 41.666667%; max-width: 41.666667%; }
.row > .col-6 { flex: 0 0 auto; width: 50.0%; max-width: 50.0%; }
.row > .col-7 { flex: 0 0 auto; width: 58.333333%; max-width: 58.333333%; }
.row > .col-8 { flex: 0 0 auto; width: 66.666667%; max-width: 66.666667%; }
.row > .col-9 { flex: 0 0 auto; width: 75.0%; max-width: 75.0%; }
.row > .col-10 { flex: 0 0 auto; width: 83.333333%; max-width: 83.333333%; }
.row > .col-11 { flex: 0 0 auto; width: 91.666667%; max-width: 91.666667%; }
.row > .col-12 { flex: 0 0 auto; width: 100.0%; max-width: 100.0%; }
/* ≥576 */
@media (min-width: 576px) {
	.row > .col-sm-1 { flex: 0 0 auto; width: 8.333333%; max-width: 8.333333%; }
	.row > .col-sm-2 { flex: 0 0 auto; width: 16.666667%; max-width: 16.666667%; }
	.row > .col-sm-3 { flex: 0 0 auto; width: 25.0%; max-width: 25.0%; }
	.row > .col-sm-4 { flex: 0 0 auto; width: 33.333333%; max-width: 33.333333%; }
	.row > .col-sm-5 { flex: 0 0 auto; width: 41.666667%; max-width: 41.666667%; }
	.row > .col-sm-6 { flex: 0 0 auto; width: 50.0%; max-width: 50.0%; }
	.row > .col-sm-7 { flex: 0 0 auto; width: 58.333333%; max-width: 58.333333%; }
	.row > .col-sm-8 { flex: 0 0 auto; width: 66.666667%; max-width: 66.666667%; }
	.row > .col-sm-9 { flex: 0 0 auto; width: 75.0%; max-width: 75.0%; }
	.row > .col-sm-10 { flex: 0 0 auto; width: 83.333333%; max-width: 83.333333%; }
	.row > .col-sm-11 { flex: 0 0 auto; width: 91.666667%; max-width: 91.666667%; }
	.row > .col-sm-12 { flex: 0 0 auto; width: 100.0%; max-width: 100.0%; }
	.row > .col-sm { flex: 1 0 0%; width: auto; max-width: 100%; }
}
/* ≥768 */
@media (min-width: 768px) {
	.row > .col-md-1 { flex: 0 0 auto; width: 8.333333%; max-width: 8.333333%; }
	.row > .col-md-2 { flex: 0 0 auto; width: 16.666667%; max-width: 16.666667%; }
	.row > .col-md-3 { flex: 0 0 auto; width: 25.0%; max-width: 25.0%; }
	.row > .col-md-4 { flex: 0 0 auto; width: 33.333333%; max-width: 33.333333%; }
	.row > .col-md-5 { flex: 0 0 auto; width: 41.666667%; max-width: 41.666667%; }
	.row > .col-md-6 { flex: 0 0 auto; width: 50.0%; max-width: 50.0%; }
	.row > .col-md-7 { flex: 0 0 auto; width: 58.333333%; max-width: 58.333333%; }
	.row > .col-md-8 { flex: 0 0 auto; width: 66.666667%; max-width: 66.666667%; }
	.row > .col-md-9 { flex: 0 0 auto; width: 75.0%; max-width: 75.0%; }
	.row > .col-md-10 { flex: 0 0 auto; width: 83.333333%; max-width: 83.333333%; }
	.row > .col-md-11 { flex: 0 0 auto; width: 91.666667%; max-width: 91.666667%; }
	.row > .col-md-12 { flex: 0 0 auto; width: 100.0%; max-width: 100.0%; }
	.row > .col-md { flex: 1 0 0%; width: auto; max-width: 100%; }
}
/* ≥992 */
@media (min-width: 992px) {
	.row > .col-lg-1 { flex: 0 0 auto; width: 8.333333%; max-width: 8.333333%; }
	.row > .col-lg-2 { flex: 0 0 auto; width: 16.666667%; max-width: 16.666667%; }
	.row > .col-lg-3 { flex: 0 0 auto; width: 25.0%; max-width: 25.0%; }
	.row > .col-lg-4 { flex: 0 0 auto; width: 33.333333%; max-width: 33.333333%; }
	.row > .col-lg-5 { flex: 0 0 auto; width: 41.666667%; max-width: 41.666667%; }
	.row > .col-lg-6 { flex: 0 0 auto; width: 50.0%; max-width: 50.0%; }
	.row > .col-lg-7 { flex: 0 0 auto; width: 58.333333%; max-width: 58.333333%; }
	.row > .col-lg-8 { flex: 0 0 auto; width: 66.666667%; max-width: 66.666667%; }
	.row > .col-lg-9 { flex: 0 0 auto; width: 75.0%; max-width: 75.0%; }
	.row > .col-lg-10 { flex: 0 0 auto; width: 83.333333%; max-width: 83.333333%; }
	.row > .col-lg-11 { flex: 0 0 auto; width: 91.666667%; max-width: 91.666667%; }
	.row > .col-lg-12 { flex: 0 0 auto; width: 100.0%; max-width: 100.0%; }
	.row > .col-lg { flex: 1 0 0%; width: auto; max-width: 100%; }
}
/* ≥1200 */
@media (min-width: 1200px) {
	.row > .col-xl-1 { flex: 0 0 auto; width: 8.333333%; max-width: 8.333333%; }
	.row > .col-xl-2 { flex: 0 0 auto; width: 16.666667%; max-width: 16.666667%; }
	.row > .col-xl-3 { flex: 0 0 auto; width: 25.0%; max-width: 25.0%; }
	.row > .col-xl-4 { flex: 0 0 auto; width: 33.333333%; max-width: 33.333333%; }
	.row > .col-xl-5 { flex: 0 0 auto; width: 41.666667%; max-width: 41.666667%; }
	.row > .col-xl-6 { flex: 0 0 auto; width: 50.0%; max-width: 50.0%; }
	.row > .col-xl-7 { flex: 0 0 auto; width: 58.333333%; max-width: 58.333333%; }
	.row > .col-xl-8 { flex: 0 0 auto; width: 66.666667%; max-width: 66.666667%; }
	.row > .col-xl-9 { flex: 0 0 auto; width: 75.0%; max-width: 75.0%; }
	.row > .col-xl-10 { flex: 0 0 auto; width: 83.333333%; max-width: 83.333333%; }
	.row > .col-xl-11 { flex: 0 0 auto; width: 91.666667%; max-width: 91.666667%; }
	.row > .col-xl-12 { flex: 0 0 auto; width: 100.0%; max-width: 100.0%; }
	.row > .col-xl { flex: 1 0 0%; width: auto; max-width: 100%; }
}

/* ---------- 10. Small utility set used by Joomla 5 / Kunena markup --------- */
.visually-hidden, .visually-hidden-focusable:not(:focus) {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.d-none { display: none !important; }  .d-block { display: block !important; }
.d-inline { display: inline !important; } .d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }  .d-inline-flex { display: inline-flex !important; }
.d-table { display: table !important; } .d-grid { display: grid !important; }
@media (min-width: 576px)  { .d-sm-none { display: none !important; } .d-sm-block { display: block !important; } .d-sm-flex { display: flex !important; } .d-sm-inline { display: inline !important; } }
@media (min-width: 768px)  { .d-md-none { display: none !important; } .d-md-block { display: block !important; } .d-md-flex { display: flex !important; } .d-md-inline { display: inline !important; } }
@media (min-width: 992px)  { .d-lg-none { display: none !important; } .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; } .d-lg-inline { display: inline !important; } }
@media (min-width: 1200px) { .d-xl-none { display: none !important; } .d-xl-block { display: block !important; } .d-xl-flex { display: flex !important; } }
.flex-row { flex-direction: row !important; } .flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; } .flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-1 { flex-grow: 1 !important; } .flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-start { justify-content: flex-start !important; } .justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; } .justify-content-between { justify-content: space-between !important; }
.align-items-start { align-items: flex-start !important; } .align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-self-center { align-self: center !important; }
.float-start { float: left !important; } .float-end { float: right !important; } .float-none { float: none !important; }
.text-start { text-align: left !important; } .text-end { text-align: right !important; } .text-center { text-align: center !important; }
.text-nowrap { white-space: nowrap !important; } .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-muted, .text-body-secondary { color: #999 !important; }
.text-danger { color: #b94a48 !important; } .text-success { color: #468847 !important; }
.text-warning { color: #c09853 !important; } .text-info { color: #3a87ad !important; }
.text-primary { color: #0088cc !important; } .text-white { color: #fff !important; }
.fw-bold, .fw-bolder { font-weight: bold !important; } .fw-normal { font-weight: normal !important; }
.small, small { font-size: 85%; }
.border { border: 1px solid #ddd !important; } .border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #ddd !important; } .border-bottom { border-bottom: 1px solid #ddd !important; }
.rounded { border-radius: 4px !important; } .rounded-circle { border-radius: 50% !important; }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.1) !important; }
.w-100 { width: 100% !important; } .w-auto { width: auto !important; } .h-100 { height: 100% !important; }
.position-relative { position: relative !important; } .position-absolute { position: absolute !important; }
.overflow-hidden { overflow: hidden !important; }
.clearfix::after { display: block; clear: both; content: ""; }
/* ---------- 11. Spacing utilities (m*/p*/gap-0…5) ------------------------- */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ms-0 { margin-left: 0 !important; }
.me-0 { margin-right: 0 !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.ps-0 { padding-left: 0 !important; }
.pe-0 { padding-right: 0 !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.gap-0 { gap: 0 !important; }
.m-1 { margin: .25rem !important; }
.mt-1 { margin-top: .25rem !important; }
.mb-1 { margin-bottom: .25rem !important; }
.ms-1 { margin-left: .25rem !important; }
.me-1 { margin-right: .25rem !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.p-1 { padding: .25rem !important; }
.pt-1 { padding-top: .25rem !important; }
.pb-1 { padding-bottom: .25rem !important; }
.ps-1 { padding-left: .25rem !important; }
.pe-1 { padding-right: .25rem !important; }
.px-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.gap-1 { gap: .25rem !important; }
.m-2 { margin: .5rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.ms-2 { margin-left: .5rem !important; }
.me-2 { margin-right: .5rem !important; }
.mx-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.p-2 { padding: .5rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.ps-2 { padding-left: .5rem !important; }
.pe-2 { padding-right: .5rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.gap-2 { gap: .5rem !important; }
.m-3 { margin: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.ms-3 { margin-left: 1rem !important; }
.me-3 { margin-right: 1rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.p-3 { padding: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.ps-3 { padding-left: 1rem !important; }
.pe-3 { padding-right: 1rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.gap-3 { gap: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.gap-4 { gap: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-5 { margin-left: 3rem !important; }
.me-5 { margin-right: 3rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.p-5 { padding: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.ps-5 { padding-left: 3rem !important; }
.pe-5 { padding-right: 3rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.gap-5 { gap: 3rem !important; }
.ms-auto { margin-left: auto !important; } .me-auto { margin-right: auto !important; } .mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* ---------- 12. Keep the old Bootstrap-2 .hide helper working next to BS5 --- */
.hide { display: none; }
.hidden { display: none !important; }
