/* ABBM accessibility fixes: contrast, focus visibility, touch target size. */

/* Visible keyboard focus on controls made operable by a11y.js */
.eb-popup-button-anchor:focus-visible,
.eb-popup-close-icon:focus-visible,
.eb-modal-container:focus-visible,
.eb-popup-content:focus-visible,
.wp-block-themeisle-blocks-tabs__header_item:focus-visible,
.wp-block-themeisle-blocks-tabs-item__header:focus-visible {
	outline: 3px solid #fff !important;
	outline-offset: 0;
	box-shadow: 0 0 0 6px #00008f !important;
}
.eb-popup-button-anchor { cursor: pointer; }

/* Popup close "x": larger tap area without moving the icon */
.eb-popup-close-icon {
	min-width: 44px;
	min-height: 44px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* Contrast: share buttons (WhatsApp 1.98:1, Email 4.08:1 -> 5.3:1+) */
a.social-icon.is-whatsapp { background-color: #087a5b !important; }
a.social-icon.is-email { background-color: #c0392b !important; }

/* Contrast: Exhibits "Explore" labels (3.9:1 -> 5.8:1) */
#gspb_text-id-gsbp-9a6e2713-a824,
#gspb_text-id-gsbp-6f31f61,
#gspb_text-id-gsbp-e0b022f,
#gspb_text-id-gsbp-4439650 { color: #0b5ed7 !important; }

/* Contrast: History page inactive tabs were white on near-white (1.09:1) */
[id^="gspb-tab-item-btn-gsbp-faba4ac-"]:not(.active) .tabtitlelabel { color: #00008f !important; }

/* Touch targets */
.gspb_tabs .t-btn,
button.t-btn[role="tab"] { min-height: 44px; }
.a11y-toolbar .a11y-toggle { min-width: 44px; min-height: 44px; }
.ast-custom-button-link .ast-custom-button { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.custom-logo-link { display: inline-block; }

/* Enlarge the hit area of small icon links without changing their look or layout */
.ast-builder-social-element,
.wp-block-social-link-anchor { position: relative; }
.ast-builder-social-element::after,
.wp-block-social-link-anchor::after,
.lightbox-trigger::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
}
