/**
 * Frontend styles: events listing, event detail, registration form,
 * payment form, success/failed states (Section 28: responsive on desktop,
 * laptop, tablet, and mobile).
 */


.has-global-padding:has(.escr-events-listing){
	/* padding-left: 0px;
	padding-right: 0px; */
	overflow: hidden;
}
.escr-events-listing {
	max-width: 1340px;
	margin: 0 auto;
	padding: 0px;
}

.escr-events-empty {
	text-align: center;
	padding: 40px 16px;
	color: #555;
}

.escr-events-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

@media(max-width: 1399px) {
	.escr-events-listing {
		max-width: 1100px;
	}
}
@media (max-width: 1199px) {
	.escr-events-listing {
		max-width: 910px;
	}
	.escr-events-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 991px) {
	.escr-events-listing {
		max-width: 740px;
	}
	.escr-events-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.escr-events-listing {
		max-width: 575px;
		padding: 0px 15px;
	}
	.escr-events-grid {
		grid-template-columns: 1fr;
	}
}

.escr-event-card {
	border: none;
	border-radius: 8px;
	overflow: hidden;
	background: #f5f7fcd6;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	display: flex;
	color: #023991;
}

.escr-event-card:hover .escr-event-card-title{
	color: #023991;
}
.escr-event-card:hover .escr-event-card-cta svg {
	transform: rotate(0deg);
}
.escr-event-card:hover .escr-event-card-image img{
	transform: scale(1.1);
}

.escr-event-card-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	color: inherit;
	text-decoration: none;
}
.escr-event-card-image{
	overflow: hidden;
}

.escr-event-card-image img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: all 0.3s ease-in-out;
}

.escr-event-card-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.escr-event-card-title {
	margin: 0 0 15px;
    font-size: 20px;
    line-height: 124%;
	flex: 1 1 auto;
	transition: all 0.3s ease-in-out;
}

.escr-event-card-dates {
	display: flex;
    gap: 10px;
    margin: 0 0 13px;
	min-height: 47px;
    font-size: 0.85rem;
    color: #555;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #00000012;
    padding-bottom: 13px;
}

.escr-event-card-dates-list{
	display: flex;
	gap: 10px;
}
.escr-event-card-dates-list .icon{
	height: 20px;
	width: 20px;
	min-width: 20px;
	background: #e2edff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.escr-event-card-dates-list svg{
	height: 12px;
	width: 12px;
}
.escr-event-card-dates-list svg path, .escr-event-card-dates-list svg circle{
	fill: #1d2327;
}
.escr-event-card-dates-list dl{
	margin: 0px;
	display: flex;
	flex-direction: column;
}
.escr-event-card-dates dt {
	font-weight: 600;
	line-height: 100%;
	display: inline;
	font-size: 12px;
}

.escr-event-card-dates dd {
	display: inline;
	margin: 0;
	font-size: 12px;
}

.escr-event-card-price {
	background-color: transparent;
    color: #1a7d3c;
    padding: 0px;
    font-size: 18px;
	width: fit-content;
	font-weight: 700;
}

.escr-event-card-price-free {
	font-weight: 400;
	border-radius: 20px;
    font-size: 14px;	
	background-color: #023991;
    color: #fff;
    padding: 4px 16px;
}

.escr-event-card-price-paid {
	color: #023991;
    padding: 0px;
}

.escr-event-card-excerpt {
	font-size: 0.9rem;
	color: #4c4646b5;
	margin-bottom: 14px;
	min-height: calc(2 * 1.5em);
	display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	margin-top: 5px;
}

.escr-event-card-cta {
	display: inline-flex;
	align-items: center;
	padding: 0px;
	color: #023991;
	font-size: 0.85rem;
	background: transparent;
	gap: 6px;
}
.escr-event-card-cta svg{
	height: 12px;
	width: 12px;
	transform: rotate(-45deg);
	transition: all 0.3s ease-in-out;
}
.escr-event-card-cta svg path{
	fill: #023991;
}

.escr-events-pagination {
	margin-top: 32px;
	text-align: center;
}

.escr-events-pagination .page-numbers {
	display: inline-block;
	margin: 0 4px;
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #1d2327;
}

.escr-events-pagination .page-numbers.current {
	background: #1d2327;
	color: #fff;
}

/* Single event page — follows the Bail & Jail detail page layout while
   keeping every selector scoped to this plugin. */

.escr-event-single-wrap {
	max-width: 1120px;
	margin-inline: auto;
	padding: 100px 16px;
}

.escr-event-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: clamp(1.5rem, 4vw, 2.5rem);
	align-items: start;
}

.escr-event-single-header {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #d8d8d8;
}

.escr-event-single-eyebrow {
	margin: 0 0 10px;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.65;
}

.escr-event-single-title {
	margin: 0;
	font-size: 60px;
}

.escr-event-single-image {
	position: relative;
	margin: 20px 0;
	border-radius: 20px;
	overflow: hidden;
	background: #f5f7fcd6;
}

.escr-event-single-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 14 / 9;
	object-fit: contain;
	object-position: top;
}

.escr-event-single-meta {
	display: grid;
	gap: 20px;
	margin: 0 0 25px;
}

.escr-event-single-meta dt {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #666;
	margin: 0 0 4px;
}

.escr-event-single-meta dd {
	margin: 0;
	font-weight: 600;
}

.escr-event-single-description {
	line-height: 1.7;
}

.escr-event-single-description > :first-child {
	margin-top: 0;
}

.escr-event-single-sidebar {
	position: sticky;
	top: 10px;
	border: 1px solid #d8d8d8;
	border-radius: 20px;
	padding: 30px 25px;
}

.escr-event-single-sidebar-actions {
	display: grid;
	gap: .5em;
}

.escr-event-register-button {
	display: block;
	padding: .75em 1em;
	border-radius: 999px;
	background: #023991;
	color: #fff;
	font-size: .9em;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.escr-event-register-button:hover,
.escr-event-register-button:focus-visible {
	background: #1d2327;
	color: #fff;
}

.escr-event-register-button:focus-visible {
	outline: 2px solid #023991;
	outline-offset: 3px;
}

@media (max-width: 1399px) {
	.escr-event-single-wrap {
		padding: 80px 0;
	}

	.escr-event-single-title {
		font-size: 55px;
	}
}

@media (max-width: 1199px) {
	.escr-event-single-wrap {
		max-width: 992px;
		padding: 60px 25px;
	}

	.escr-event-single-title {
		font-size: 50px;
	}
}

@media (max-width: 991px) {
	.escr-event-single-wrap {
		max-width: 768px;
		padding: 50px 25px;
	}

	.escr-event-single-title {
		font-size: 45px;
	}

	.escr-event-single-layout {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.escr-event-single-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.escr-event-single-wrap {
		max-width: 576px;
		padding: 40px 25px;
	}

	.escr-event-single-title {
		font-size: 35px;
	}
}

@media (max-width: 575px) {
	.escr-event-single-wrap {
		max-width: 576px;
		padding: 30px 25px;
	}

	.escr-event-single-title {
		font-size: 26px;
	}

	.escr-event-single-eyebrow {
		font-size: 14px;
	}

	.escr-event-single-sidebar {
		padding: 25px 20px;
	}
}

/* Registration form. */

.escr-registration-form-wrap {
	margin: 40px 0 0;
	padding: 30px 25px;
	border: 1px solid #e2e2e2;
	border-radius: 20px;
	background: #fff;
}

.escr-registration-form-wrap > h2 {
	text-align: center;
}

.escr-registration-form-wrap input,
.escr-registration-form-wrap textarea,
.escr-registration-form-wrap select {
	border: 1px solid #d8d8d8 !important;
}

.escr-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.escr-form-section-title {
	margin: 28px 0 14px;
	font-size: 1.1rem;
	color: #023991;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.escr-form-section-title:first-of-type {
	border-top: none;
	padding-top: 0;
}

.escr-field {
	margin-bottom: 25px;
}

.escr-select {
	position: relative;
	display: block;
}

.escr-select select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 100%;
	box-sizing: border-box;
	background-color: var(--wp--custom--input-background, var(--wp--preset--color--theme-1, #fff));
	border: 1px solid currentColor;
	border-radius: 6px;
	box-shadow: none;
	color: currentColor;
	cursor: pointer;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small, 0.9rem);
	font-weight: inherit;
	line-height: 1.5;
	min-height: 42px;
	padding: 0.8rem 2.25rem 0.8rem 1rem;
}

.escr-select::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 0;
	height: 0;
	margin-top: -3px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	pointer-events: none;
}

.escr-select select:focus {
	outline: 1px solid currentColor;
}

.escr-select select:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.escr-field-group {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 var(--wp--preset--spacing--20, 1em);
}

.escr-field-group-card-meta {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
	.escr-field-group,
	.escr-field-group-card-meta {
		grid-template-columns: 1fr;
	}
}

.escr-required {
	color: #b32d2e;
}

.escr-field-attendees-count label {
	display: block;
	margin-bottom: 8px;
}

.escr-attendees-stepper {
	display: inline-flex;
	align-items: stretch;
	max-width: 160px;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	overflow: hidden;
}

.escr-attendees-stepper-btn {
	flex: 0 0 auto;
	width: 42px;
	min-height: 42px;
	border: none;
	background: #fff;
	color: #023991;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.escr-attendees-stepper-btn.escr-attendees-decrement {
	border-right: 1px solid #d8d8d8;
}

.escr-attendees-stepper-btn.escr-attendees-increment {
	border-left: 1px solid #d8d8d8;
}

.escr-attendees-stepper-btn:hover:not(:disabled) {
	background: #f5f7fc;
}

.escr-attendees-stepper-btn:disabled {
	background: #f5f5f5;
	color: #023991;
	cursor: not-allowed;
	opacity: 0.6;
}

.escr-attendees-stepper input[type="number"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	border: none !important;
	text-align: center;
	-moz-appearance: textfield;
}

.escr-attendees-stepper input[type="number"]::-webkit-outer-spin-button,
.escr-attendees-stepper input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.escr-additional-attendees {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.escr-additional-attendees:not(:empty) {
	margin-bottom: 16px;
}

.escr-attendee-fieldset {
	padding: 16px;
	border: 1px solid #d8d8d8;
	border-radius: 8px;
	background: #f9f9f9;
}

.escr-attendee-title {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #023991;
}

.escr-field-label {
	display: block;
	margin-bottom: 0.6em;
	font-weight: 600;
	font-size: 0.9rem;
}

.escr-currency-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
}

.escr-currency-option {
	position: relative;
}

.escr-currency-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.escr-currency-option label {
	display: inline-block;
	margin: 0;
	padding: 0.6em 1.25em;
	background-color: #fff;
	border: 2px solid #d8d8d8;
	border-radius: 8px;
	color: currentColor;
	font-size: 1.05em;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.escr-currency-option label:hover {
	background-color: rgba(2, 57, 145, 0.1);
}

.escr-currency-option input:checked + label {
	background-color: #023991;
	border-color: #023991;
	color: #fff;
}

.escr-currency-option input:focus-visible + label {
	outline: 2px solid #023991;
	outline-offset: 2px;
}

.escr-payment-summary-currency {
	font-weight: 600;
	margin-right: 0.2em;
}

.escr-payment-summary-operator {
	margin: 0 0.3em;
	font-weight: 400;
}
.escr-radio-stack{
	padding: 0;
	border: none;
	margin: 0;
}
.escr-radio-stack label {
	display: block;
	font-weight: 400;
	margin-bottom: 6px;
}
.escr-radio-stack input{
	margin-left: 0px;
}

.escr-field-error {
	color: #b32d2e;
	font-size: 0.82rem;
	margin-top: 4px;
}

.escr-invalid {
	border-color: #b32d2e !important;
}

.escr-card-number-wrap {
	position: relative;
}

.escr-card-type-icon {
	position: absolute;
	top: 50%;
	right: 0.75em;
	transform: translateY(-50%);
	pointer-events: none;
}

.escr-card-icon {
	display: inline-block;
	padding: 0.15em 0.5em;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	white-space: nowrap;
}

.escr-card-icon-visa {
	background-color: #1a1f71;
}

.escr-card-icon-mastercard {
	background-color: #eb001b;
}

.escr-card-icon-amex {
	background-color: #2e77bc;
}

.escr-card-icon-discover {
	background-color: #ff6000;
}

.escr-payment-summary {
	background: #f7f7f7;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.escr-payment-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 4px 0;
	font-size: 0.95rem;
}

.escr-payment-summary-total {
	border-top: 1px solid #ddd;
	margin-top: 8px;
	padding-top: 10px;
}

/* display:flex above would otherwise override the hidden attribute. */
.escr-payment-summary-row[hidden],
.escr-card-details[hidden] {
	display: none;
}

/* Event Discount: the rule label "(Group Discount - 10%)" and its amount in brand blue. */
.escr-payment-summary-discount #escr-summary-discount-title,
.escr-payment-summary-discount > span:last-child {
	color: #023991;
}

/* Grand Total (Event Price − Discount): a sub-total, lighter than Total. */
.escr-payment-summary-grand-total {
	margin-top: 4px;
	padding-top: 6px;
	border-top: 1px dashed #ddd;
	font-weight: 600;
}

.escr-payment-summary-note {
	margin: 10px 0 0;
	font-size: 0.78rem;
	color: #777;
}

.escr-form-footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 24px;
}

.escr-field-recaptcha {
	max-width: 100%;
	overflow-x: auto;
}

.escr-field-recaptcha .g-recaptcha {
	display: inline-block;
}

.escr-field-submit {
	margin-left: auto;
}

.escr-submit-button {
	width: auto;
	text-align: center;
	cursor: pointer;
}

.escr-submit-button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.escr-form-footer {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.escr-field-submit {
		margin-left: unset;
	}

	.escr-submit-button {
		width: 100%;
	}
}

.escr-form-messages {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 0.9rem;
}

.escr-message-success {
	background: #eaf7ec;
	color: #1a7d3c;
	border: 1px solid #b6e3c0;
}

.escr-message-error {
	background: #fdecea;
	color: #b32d2e;
	border: 1px solid #f3b8b4;
}

/* Success / Failed status pages — ported design-for-design from the Online
   Membership Payment plugin's own .omp-status-* rules (the compact card
   variant, not its two-column .omp-status-full/.omp-status-layout — this
   plugin's own status-details.php is a single flat summary list, not a
   Membership-Details-beside-Payment-Summary layout). */

.escr-status {
	max-width: 600px;
	margin: 40px auto;
	padding: 32px 28px;
	border: 1px solid #e2e2e2;
	border-radius: 20px;
	background: #fff;
	box-sizing: border-box;
	text-align: center;
}

.escr-status h1 {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	line-height: 1.2;
}

/* :where() keeps this default at 0-0-1 so classed paragraphs (.escr-status-note,
   .escr-status-actions) keep their own margins. */
:where(.escr-status) p {
	margin: 0 0 20px;
}

.escr-status > :last-child {
	margin-bottom: 0;
}

.escr-status-success h1 {
	color: #023991;
}

.escr-status-failed h1 {
	color: #b32d2e;
}

.escr-status-pending h1 {
	color: #8a6d00;
}

.escr-status-header {
	margin: 0 0 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #eee;
}

.escr-status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 0 12px;
	border-radius: 50%;
	background: #aac4ed;
	color: #023991;
}

.escr-status-failed .escr-status-icon {
	background: #fdecea;
	color: #b32d2e;
}

.escr-status-references {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
}

.escr-status-reference {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	margin: 0 !important;
	padding: 12px 24px;
	border-radius: 8px;
	background: #f5f7fc;
}

.escr-status-reference span {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #666;
}

.escr-status-reference strong {
	font-size: 0.95rem;
	color: #1d2327;
	word-break: break-all;
}

.escr-status-reference .escr-status-badge {
	text-transform: none;
	letter-spacing: 0;
}

.escr-status-badge {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	background: #aac4ed;
	color: #023991;
	font-size: 0.85rem;
	font-weight: 700;
}

.escr-status-badge-failed {
	background: #fdecea;
	color: #b32d2e;
}

@media (max-width: 600px) {
	.escr-status-references .escr-status-reference {
		flex: 1 1 100%;
	}
}

.escr-status-section-title {
	margin: 0 0 12px;
	font-size: 1.1rem;
	line-height: 1.3;
	color: #023991;
}

.escr-status-summary {
	text-align: left;
	display: grid;
	grid-template-columns: minmax(110px, 200px) minmax(0, 1fr);
	gap: 8px 16px;
	margin: 0 0 20px;
	padding: 20px;
	background: #f7f7f7;
	border-radius: 8px;
}

.escr-status-summary dt {
	font-weight: 600;
	color: #666;
}

.escr-status-summary dd {
	margin: 0;
}

@media (max-width: 480px) {
	.escr-status-summary {
		grid-template-columns: 1fr;
	}
}

.escr-status-note {
	box-sizing: border-box;
	margin: 28px 0 0;
	padding: 14px 18px;
	border: 1px solid #e3e8f4;
	border-left: 3px solid #023991;
	border-radius: 8px;
	background: #f5f7fc;
	color: #3c434a;
	font-size: 0.9rem;
}

.escr-status-actions {
	margin: 20px 0 0;
}

.escr-status-button {
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

@media (max-width: 480px) {
	.escr-status-button {
		display: block;
		width: 100%;
	}
}

.escr-status-help-block {
	margin-top: 28px;
	text-align: left;
}

.escr-status-help {
	margin: 0;
	padding: 0;
	list-style: none;
}

.escr-status-help li {
	position: relative;
	margin: 0 0 12px;
	padding: 0 0 0 28px;
	line-height: 1.6;
}

.escr-status-help li::before {
	content: '';
	position: absolute;
	top: 0.55em;
	left: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #023991;
}

@media (max-width: 480px) {
	.escr-status {
		padding: 24px 16px;
	}
}

/* Success/Failed "full page" layout (.escr-status-full modifier) — the
   edge-to-edge, two-column variant ported from the Online Membership
   Payment plugin's own .omp-status-full/.omp-status-layout, using its exact
   breakpoint steps (1399/1199/991/767px). */

.escr-status.escr-status-full {
	width: 100%;
	max-width: 1340px !important;
	margin: 40px auto 0;
	padding: 36px 0;
	border: none;
	border-radius: 0;
	background: none;
	text-align: left;
}

@media (max-width: 1399px) {
	.escr-status.escr-status-full {
		max-width: 1100px !important;
	}
}

@media (max-width: 1199px) {
	.escr-status.escr-status-full {
		max-width: 910px !important;
	}
}

@media (max-width: 991px) {
	.escr-status.escr-status-full {
		max-width: 740px !important;
	}
}

@media (max-width: 767px) {
	.escr-status.escr-status-full {
		max-width: 575px !important;
		padding: 28px 0;
	}
}

.escr-status-full .escr-status-header {
	text-align: center;
}

.escr-status-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
	gap: 0 40px;
	align-items: start;
}

.escr-status-main,
.escr-status-aside {
	min-width: 0;
}

.escr-status-aside {
	position: sticky;
	top: 24px;
	padding: 24px;
	border: 1px solid #e2e2e2;
	border-radius: 16px;
	background: #fafbfd;
}

.escr-status-payment-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	font-size: 0.95rem;
}

.escr-status-payment-total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid #ddd;
	font-size: 1.05rem;
}

.escr-status-payment-discount > span {
	color: #023991;
}

.escr-status-payment-grand-total {
	margin-top: 4px;
	padding-top: 8px;
	border-top: 1px dashed #ddd;
	font-weight: 600;
}

@media (max-width: 991px) {
	.escr-status-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.escr-status-aside {
		position: static;
	}
}

@media (max-width: 480px) {
	.escr-status-full .escr-status-aside {
		padding: 18px;
	}

	.escr-status-full .escr-status-summary {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

/* Related Events slider (event detail page) — ported design-for-design
   from the Bail & Jail Fundraising plugin's own .fundraising-related-*
   rules (assets/css/fundraising.css). */

.escr-related-events {
	margin: 48px 0 0;
}

.escr-events-slider {
	margin: 24px 0;
	width:100%;
}

.escr-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.escr-related-header h2 {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.escr-related-controls {
	display: flex;
	gap: 8px;
}

.escr-related-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid #d8d8d8;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	line-height: 1;
	transition: all 0.3s ease-in-out;
}

.escr-related-button:nth-child(odd) {
	transform: rotate(-180deg);
}

.escr-related-button svg {
	height: 14px;
	width: 14px;
}

.escr-related-button svg path {
	fill: #1e1e1e;
	transition: all 0.3s ease-in-out;
}

.escr-related-button:hover svg path {
	fill: #fff;
}

.escr-related-button:hover:not(:disabled),
.escr-related-button:focus-visible {
	border-color: #023991;
	background: #023991;
	color: #fff;
}

.escr-related-button:focus-visible {
	outline: 2px solid #023991;
	outline-offset: 3px;
}

.escr-related-button:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.escr-related-controls:has(.escr-related-prev:disabled):has(.escr-related-next:disabled) {
	display: none;
}

.escr-related-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 4px 2px 16px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.escr-related-track::-webkit-scrollbar {
	display: none;
}

.escr-related-slide {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
	scroll-snap-align: start;
}

.escr-related-slide .escr-event-card {
	height: 100%;
}

@media (max-width: 991px) {
	.escr-related-slide {
		flex-basis: calc((100% - 20px) / 2);
	}
}

@media (max-width: 575px) {
	.escr-related-slide {
		flex-basis: 100%;
	}
}
