/* Community Post delayed media composer and published media viewer. */

body.sba-media-dialog-open {
	overflow: hidden;
}

body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="bold"],
body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="italic"],
body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="code"],
body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="quote"] {
	display: none !important;
}

body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="image"],
body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="link"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.page-id-2119 .sba-community-post .jt-editor-bar [data-cmd="video"] {
	display: none !important;
}

body.page-id-2119 .sba-community-post .jt-editor.sba-media-dragover {
	border-color: var(--sba-post-green);
	box-shadow: 0 0 0 4px rgb(47 123 68 / 16%);
}

body.page-id-2119 .sba-media-dialog {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(16 28 19 / 62%);
}

body.page-id-2119 .sba-media-dialog[hidden] {
	display: none;
}

body.page-id-2119 .sba-media-dialog__panel {
	width: min(100%, 560px);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	border: 1px solid var(--sba-post-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 80px rgb(16 28 19 / 24%);
}

body.page-id-2119 .sba-media-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--sba-post-border);
}

body.page-id-2119 .sba-media-dialog__header h2 {
	margin: 0;
	color: var(--sba-post-ink);
	font-size: 20px;
	line-height: 1.25;
}

body.page-id-2119 .sba-media-dialog__close,
body.page-id-2119 .sba-media-item__remove {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--sba-post-ink);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

body.page-id-2119 .sba-media-dialog__close:hover,
body.page-id-2119 .sba-media-dialog__close:focus-visible,
body.page-id-2119 .sba-media-item__remove:hover,
body.page-id-2119 .sba-media-item__remove:focus-visible {
	background: var(--sba-post-green-soft);
	color: var(--sba-post-green-dark);
}

body.page-id-2119 .sba-media-dialog__dropzone {
	display: grid;
	justify-items: center;
	gap: 9px;
	margin: 20px;
	padding: 36px 24px 28px;
	border: 2px dashed #b8cbb9;
	border-radius: 12px;
	background: #fbfdf9;
	color: var(--sba-post-muted);
	text-align: center;
	transition: border-color .15s ease, background-color .15s ease;
}

body.page-id-2119 .sba-media-dialog__dropzone.is-dragover,
body.page-id-2119 .sba-media-dialog__dropzone:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2119 .sba-media-dialog__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background: var(--sba-post-green);
	color: #fff;
	font-size: 31px;
	line-height: 1;
}

body.page-id-2119 .sba-media-dialog__dropzone p {
	margin: 8px 0 0;
	color: var(--sba-post-ink);
	font-size: 16px;
	font-weight: 700;
}

body.page-id-2119 .sba-media-dialog__dropzone > span {
	font-size: 13px;
}

body.page-id-2119 .sba-media-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
}

body.page-id-2119 .sba-media-dialog__choose {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sba-post-green);
	border-radius: 8px;
	background: #fff;
	color: var(--sba-post-green-dark);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

body.page-id-2119 .sba-media-dialog__choose--primary {
	background: var(--sba-post-green);
	color: #fff;
}

body.page-id-2119 .sba-media-dialog__choose:hover,
body.page-id-2119 .sba-media-dialog__choose:focus-visible {
	border-color: var(--sba-post-green-dark);
	background: var(--sba-post-green-dark);
	color: #fff;
}

body.page-id-2119 .sba-media-dialog__choose:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2119 .sba-media-dialog__dropzone small {
	max-width: 390px;
	margin-top: 8px;
	color: var(--sba-post-muted);
	font-size: 12px;
	line-height: 1.5;
}

body.page-id-2119 .sba-media-dialog__availability {
	margin-top: 5px;
	color: #1f9fca;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

body.page-id-2119 .sba-community-post .sba-media-stage {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid var(--sba-post-border);
	border-radius: 12px;
	background: #fbfdf9;
}

body.page-id-2119 .sba-community-post .sba-media-stage__header {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--sba-post-green-dark);
	font-size: 12px;
}

body.page-id-2119 .sba-community-post .sba-media-stage__header h3 {
	margin: 0;
	font-size: 16px;
}

body.page-id-2119 .sba-community-post .sba-media-stage__count {
	color: var(--sba-post-ink);
	font-weight: 700;
}

body.page-id-2119 .sba-community-post .sba-media-stage__header span {
	color: var(--sba-post-muted);
}

body.page-id-2119 .sba-community-post .sba-media-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
}

body.page-id-2119 .sba-community-post .sba-media-item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sba-post-border);
	border-radius: 10px;
	background: #fff;
}

body.page-id-2119 .sba-community-post .sba-media-item[draggable="true"] {
	cursor: grab;
}

body.page-id-2119 .sba-community-post .sba-media-item.is-error {
	border-color: #b42318;
}

body.page-id-2119 .sba-community-post .sba-media-item__preview {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #edf3ed;
}

body.page-id-2119 .sba-community-post .sba-media-item__preview img,
body.page-id-2119 .sba-community-post .sba-media-item__preview video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-2119 .sba-community-post .sba-media-item__preview video {
	object-fit: contain;
	background: #18231b;
}

body.page-id-2119 .sba-community-post .sba-media-item__remove {
	position: absolute;
	top: 7px;
	right: 7px;
	min-width: 34px;
	min-height: 34px;
	background: rgb(255 255 255 / 92%);
	font-size: 22px;
	z-index: 1;
}

body.page-id-2119 .sba-community-post .sba-media-item__details {
	display: grid;
	gap: 6px;
	padding: 9px;
}

body.page-id-2119 .sba-community-post .sba-media-item__name,
body.page-id-2119 .sba-community-post .sba-media-item__status {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.page-id-2119 .sba-community-post .sba-media-item__type {
	color: var(--sba-post-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.page-id-2119 .sba-community-post .sba-media-item__name {
	color: var(--sba-post-ink);
	font-size: 12px;
	font-weight: 700;
}

body.page-id-2119 .sba-community-post .sba-media-item__status {
	color: var(--sba-post-muted);
	font-size: 11px;
}

body.page-id-2119 .sba-community-post .sba-media-item.is-error .sba-media-item__status {
	color: #b42318;
}

body.page-id-2119 .sba-community-post .sba-media-item__controls {
	display: flex;
	align-items: center;
	gap: 4px;
}

body.page-id-2119 .sba-community-post .sba-media-item__control {
	min-width: 34px;
	min-height: 34px;
	padding: 4px 7px;
	border: 1px solid var(--sba-post-border);
	border-radius: 7px;
	background: #fff;
	color: var(--sba-post-green-dark);
	font-size: 12px;
	cursor: pointer;
}

body.page-id-2119 .sba-community-post .sba-media-item__control:last-child {
	margin-inline-start: 0;
}

body.page-id-2119 .sba-community-post .sba-media-item__control:hover,
body.page-id-2119 .sba-community-post .sba-media-item__control:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
}

body.page-id-2119 .sba-community-post .sba-media-item__control:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2119 .sba-community-post .sba-media-review-add {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	min-height: 150px;
	padding: 14px;
	border: 1px dashed #a7bda9;
	border-radius: 10px;
	background: #fff;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2119 .sba-community-post .sba-media-review-add span {
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}

body.page-id-2119 .sba-community-post .sba-media-review-add:hover,
body.page-id-2119 .sba-community-post .sba-media-review-add:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2119 .sba-community-post .sba-media-review__footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 14px;
	color: var(--sba-post-muted);
	font-size: 12px;
}

.sba-media-progress {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(16 28 19 / 62%);
}

.sba-media-progress__box {
	width: min(100%, 440px);
	padding: 26px;
	border: 1px solid #dce9dc;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 50px rgb(16 28 19 / 20%);
}

.sba-media-progress__box h2 {
	margin: 0;
	color: #24422d;
	font-size: 21px;
	line-height: 1.3;
}

.sba-media-progress__message {
	margin: 10px 0 16px;
	color: #69776d;
	font-size: 14px;
	line-height: 1.55;
}

.sba-media-progress__box progress {
	display: block;
	width: 100%;
	height: 10px;
	accent-color: #2f7b44;
}

/* Community colors for detail-page UI and its body-mounted media dialogs. */
body.page-id-2119 .sba-media-dialog,
body.page-id-2074 .sba-media-dialog,
body.page-id-2074 .sba-community-content {
	--sba-post-ink: #24422d;
	--sba-post-green: #2f7b44;
	--sba-post-green-dark: #205c32;
	--sba-post-green-soft: #eef7e8;
	--sba-post-muted: #69776d;
	--sba-post-border: #e2eadf;
	--sba-post-surface: #ffffff;
}

body.page-id-2074 .sba-community-content .sba-community-edit {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 24px;
	padding: clamp(16px, 3vw, 28px);
	border: 1px solid var(--sba-post-border);
	border-radius: 16px;
	background: var(--sba-post-surface);
	color: var(--sba-post-ink);
	box-shadow: 0 10px 30px rgb(16 28 19 / 8%);
}

body.page-id-2074 .sba-community-content .sba-community-edit,
body.page-id-2074 .sba-community-content .sba-community-edit * {
	box-sizing: border-box;
}

body.page-id-2074 .sba-community-content .sba-community-edit__heading {
	margin: 0 0 20px;
	color: var(--sba-post-ink);
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
}

body.page-id-2074 .sba-community-content .sba-community-edit__label {
	display: grid;
	gap: 7px;
	margin: 0 0 18px;
	color: var(--sba-post-green-dark);
	font-size: 13px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .sba-community-edit__title,
body.page-id-2074 .sba-community-content .sba-community-edit__body {
	width: 100%;
	border: 1px solid #b8cbb9;
	border-radius: 9px;
	background: #fff;
	color: var(--sba-post-ink);
	font: inherit;
}

body.page-id-2074 .sba-community-content .sba-community-edit__title {
	min-height: 46px;
	padding: 10px 13px;
	font-size: 17px;
}

body.page-id-2074 .sba-community-content .sba-community-edit__title:focus,
body.page-id-2074 .sba-community-content .sba-community-edit__body:focus {
	border-color: var(--sba-post-green);
	box-shadow: 0 0 0 3px rgb(47 123 68 / 16%);
	outline: none;
}

body.page-id-2074 .sba-community-content .sba-community-edit__editor {
	overflow: hidden;
	border: 1px solid #b8cbb9;
	border-radius: 10px;
	background: #fff;
}

body.page-id-2074 .sba-community-content .sba-community-edit__toolbar {
	display: flex;
	align-items: center;
	gap: 3px;
	min-height: 44px;
	padding: 4px 8px;
	border-bottom: 1px solid var(--sba-post-border);
	background: #fbfdf9;
}

body.page-id-2074 .sba-community-content .sba-community-edit__toolbar .jt-editor-bar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 36px;
	padding: 6px 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-community-edit__toolbar .jt-editor-bar-btn:hover,
body.page-id-2074 .sba-community-content .sba-community-edit__toolbar .jt-editor-bar-btn:focus-visible {
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-content .sba-community-edit__body {
	min-height: 150px;
	padding: 14px;
	border: 0;
	border-radius: 0;
	line-height: 1.6;
}

body.page-id-2074 .sba-community-content .sba-community-edit__body:empty::before {
	content: attr(data-placeholder);
	color: #829187;
	pointer-events: none;
}

body.page-id-2074 .sba-community-content .sba-community-edit__feedback {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid #efb3ad;
	border-radius: 8px;
	background: #fff5f4;
	color: #9f2d24;
	font-size: 13px;
	line-height: 1.45;
}

body.page-id-2074 .sba-community-content .sba-community-edit__feedback[hidden] {
	display: none !important;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sba-post-green);
	border-radius: 8px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn-ghost {
	background: #fff;
	color: var(--sba-post-green-dark);
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn-fill {
	background: var(--sba-post-green);
	color: #fff;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn:hover,
body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn:focus-visible {
	border-color: var(--sba-post-green-dark);
	background: var(--sba-post-green-soft);
	color: var(--sba-post-green-dark);
	outline: none;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn-fill:hover,
body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn-fill:focus-visible {
	background: var(--sba-post-green-dark);
	color: #fff;
}

body.page-id-2074 .sba-community-content .sba-community-edit__actions .jt-btn:disabled {
	opacity: .55;
	cursor: not-allowed;
}

body.page-id-2074 .sba-community-content .sba-community-edit__stage {
	margin-top: 18px;
	padding: 14px;
	border: 1px solid var(--sba-post-border);
	border-radius: 12px;
	background: #fbfdf9;
}

body.page-id-2074 .sba-community-content .sba-community-edit__stage .sba-media-stage__header {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--sba-post-muted);
	font-size: 12px;
}

body.page-id-2074 .sba-community-content .sba-community-edit__stage .sba-media-stage__header h3 {
	margin: 0;
	color: var(--sba-post-green-dark);
	font-size: 17px;
}

body.page-id-2074 .sba-community-content .sba-community-edit__stage .sba-media-stage__count {
	color: var(--sba-post-ink);
	font-weight: 700;
font-variant-numeric: tabular-nums;
}

body.page-id-2074 .sba-community-content .sba-media-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
}

body.page-id-2074 .sba-community-content .sba-media-item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sba-post-border);
	border-radius: 10px;
	background: #fff;
}

body.page-id-2074 .sba-community-content .sba-media-item[draggable="true"] {
	cursor: grab;
}

body.page-id-2074 .sba-community-content .sba-media-item.is-pending-remove {
	opacity: .55;
}

body.page-id-2074 .sba-community-content .sba-media-item.is-error {
	border-color: #b42318;
}

body.page-id-2074 .sba-community-content .sba-media-item__preview {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #18231b;
}

body.page-id-2074 .sba-community-content .sba-media-item__preview img,
body.page-id-2074 .sba-community-content .sba-media-item__preview video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-2074 .sba-community-content .sba-media-item__preview video {
	object-fit: contain;
}

body.page-id-2074 .sba-community-content .sba-media-item__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	min-width: 34px;
	min-height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / 94%);
	color: var(--sba-post-green-dark);
	font-size: 21px;
	line-height: 1;
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-media-item__remove:hover,
body.page-id-2074 .sba-community-content .sba-media-item__remove:focus-visible {
	background: var(--sba-post-green-soft);
	outline: 2px solid var(--sba-post-green);
	outline-offset: 1px;
}

body.page-id-2074 .sba-community-content .sba-media-item__remove:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2074 .sba-community-content .sba-media-item__removed {
	display: block;
	padding: 7px 9px 0;
	color: #9f2d24;
	font-size: 11px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .sba-media-item__details {
	display: grid;
	gap: 5px;
	padding: 9px;
}

body.page-id-2074 .sba-community-content .sba-media-item__type {
	color: var(--sba-post-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.page-id-2074 .sba-community-content .sba-media-item__name,
body.page-id-2074 .sba-community-content .sba-media-item__status {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.page-id-2074 .sba-community-content .sba-media-item__name {
	color: var(--sba-post-ink);
	font-size: 12px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .sba-media-item__status {
	color: var(--sba-post-muted);
	font-size: 11px;
}

body.page-id-2074 .sba-community-content .sba-media-item.is-error .sba-media-item__status {
	color: #b42318;
}

body.page-id-2074 .sba-community-content .sba-media-item__controls {
	display: flex;
	gap: 4px;
}

body.page-id-2074 .sba-community-content .sba-media-item__control {
	min-width: 34px;
	min-height: 34px;
	padding: 4px 7px;
	border: 1px solid var(--sba-post-border);
	border-radius: 7px;
	background: #fff;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-media-item__control:hover,
body.page-id-2074 .sba-community-content .sba-media-item__control:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-content .sba-media-item__control:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2074 .sba-community-content .sba-media-review-add {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	min-height: 150px;
	padding: 14px;
	border: 1px dashed #a7bda9;
	border-radius: 10px;
	background: #fff;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-media-review-add span {
	font-size: 30px;
	line-height: 1;
}

body.page-id-2074 .sba-community-content .sba-media-review-add:hover,
body.page-id-2074 .sba-community-content .sba-media-review-add:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-edit-dialog {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(16 28 19 / 62%);
}

body.page-id-2074 .sba-community-edit-dialog[hidden] {
	display: none;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__panel {
	width: min(100%, 560px);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	border: 1px solid var(--sba-post-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 80px rgb(16 28 19 / 24%);
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--sba-post-border);
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__header h2 {
	margin: 0;
	color: var(--sba-post-ink);
	font-size: 20px;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__close {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--sba-post-ink);
	font-size: 28px;
	cursor: pointer;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__close:hover,
body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__close:focus-visible {
	background: var(--sba-post-green-soft);
	color: var(--sba-post-green-dark);
	outline: none;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone {
	display: grid;
	justify-items: center;
	gap: 9px;
	margin: 20px;
	padding: 36px 24px 28px;
	border: 2px dashed #b8cbb9;
	border-radius: 12px;
	background: #fbfdf9;
	color: var(--sba-post-muted);
	text-align: center;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone.is-dragover,
body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background: var(--sba-post-green);
	color: #fff;
	font-size: 31px;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone p {
	margin: 8px 0 0;
	color: var(--sba-post-ink);
	font-size: 16px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone > span,
body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone small {
	font-size: 13px;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__actions {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__choose {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sba-post-green);
	border-radius: 8px;
	background: var(--sba-post-green);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__choose:hover,
body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__choose:focus-visible {
	border-color: var(--sba-post-green-dark);
	background: var(--sba-post-green-dark);
	outline: none;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__choose:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__availability {
	margin-top: 5px;
	color: #1f9fca;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone small {
	max-width: 390px;
	margin-top: 8px;
	line-height: 1.5;
}

/* Reply media composer (Community Content page 2074 only). The native reply
 * editor keeps its link and image buttons, while formatting controls are
 * hidden to match the Community Post composer. */
body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="bold"],
body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="italic"],
body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="code"],
body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="quote"] {
	display: none !important;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="image"],
body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor-bar [data-cmd="link"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .jt-editor.sba-media-dragover {
	border-color: var(--sba-post-green);
	box-shadow: 0 0 0 4px rgb(47 123 68 / 16%);
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-stage {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid var(--sba-post-border);
	border-radius: 12px;
	background: #fbfdf9;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-stage__header {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--sba-post-muted);
	font-size: 12px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-stage__header h3 {
	margin: 0;
	color: var(--sba-post-green-dark);
	font-size: 17px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-stage__count {
	color: var(--sba-post-ink);
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sba-post-border);
	border-radius: 10px;
	background: #fff;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item[draggable="true"] {
	cursor: grab;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item.is-error {
	border-color: #b42318;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__preview {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #18231b;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__preview img,
body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__preview video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__preview video {
	object-fit: contain;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__remove {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	min-width: 34px;
	min-height: 34px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgb(255 255 255 / 94%);
	color: var(--sba-post-green-dark);
	font-size: 21px;
	line-height: 1;
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__remove:hover,
body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__remove:focus-visible {
	background: var(--sba-post-green-soft);
	outline: 2px solid var(--sba-post-green);
	outline-offset: 1px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__details {
	display: grid;
	gap: 5px;
	padding: 9px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__type {
	color: var(--sba-post-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__name,
body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__status {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__name {
	color: var(--sba-post-ink);
	font-size: 12px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__status {
	color: var(--sba-post-muted);
	font-size: 11px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item.is-error .sba-media-item__status {
	color: #b42318;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__controls {
	display: flex;
	gap: 4px;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__control {
	min-width: 34px;
	min-height: 34px;
	padding: 4px 7px;
	border: 1px solid var(--sba-post-border);
	border-radius: 7px;
	background: #fff;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__control:hover,
body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-item__control:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-add {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	min-height: 150px;
	padding: 14px;
	border: 1px dashed #a7bda9;
	border-radius: 10px;
	background: #fff;
	color: var(--sba-post-green-dark);
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-add span {
	font-size: 30px;
	line-height: 1;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-add:hover,
body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-add:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review__footer {
	margin-top: 12px;
	color: var(--sba-post-muted);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgb(16 28 19 / 62%);
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog[hidden] {
	display: none;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog__panel,
body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__panel {
	width: min(100%, 560px);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	border: 1px solid var(--sba-post-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 80px rgb(16 28 19 / 24%);
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--sba-post-border);
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__header h2 {
	margin: 0;
	color: var(--sba-post-ink);
	font-size: 20px;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__close {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--sba-post-ink);
	font-size: 28px;
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__close:hover,
body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__close:focus-visible {
	background: var(--sba-post-green-soft);
	color: var(--sba-post-green-dark);
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone {
	display: grid;
	justify-items: center;
	gap: 9px;
	margin: 20px;
	padding: 36px 24px 28px;
	border: 2px dashed #b8cbb9;
	border-radius: 12px;
	background: #fbfdf9;
	color: var(--sba-post-muted);
	text-align: center;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone.is-dragover,
body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone:focus-visible {
	border-color: var(--sba-post-green);
	background: var(--sba-post-green-soft);
	outline: none;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background: var(--sba-post-green);
	color: #fff;
	font-size: 31px;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone p {
	margin: 8px 0 0;
	color: var(--sba-post-ink);
	font-size: 16px;
	font-weight: 700;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone > span,
body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone small {
	font-size: 13px;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__actions {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__choose {
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--sba-post-green);
	border-radius: 8px;
	background: var(--sba-post-green);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__choose:hover,
body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__choose:focus-visible {
	border-color: var(--sba-post-green-dark);
	background: var(--sba-post-green-dark);
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__choose:disabled {
	opacity: .45;
	cursor: not-allowed;
}

body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__availability {
	margin-top: 5px;
	color: #1f9fca;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

/* The progress overlay is appended to <body>, not inside the composer. */
body.page-id-2074 .sba-reply-media-progress {
	z-index: 100002;
}

body.page-id-2074 .sba-community-content .jt-post-media,
body.page-id-2119 .sba-community-post .jt-post-media {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	margin-top: 18px;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	/* background: #18231b; */
}

/* wpautop can leave an empty paragraph beside a block-level video. */
body.page-id-2074 .sba-community-content .jt-post-media > p:empty,
body.page-id-2119 .sba-community-post .jt-post-media > p:empty {
	display: none !important;
}

body.page-id-2074 .sba-community-content .jt-post-media > .jt-post-media-image,
body.page-id-2074 .sba-community-content .jt-post-media > .jt-post-media-video,
body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap,
body.page-id-2119 .sba-community-post .jt-post-media > .jt-post-media-image,
body.page-id-2119 .sba-community-post .jt-post-media > .jt-post-media-video,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap {
	display: block;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #edf3ed;
}

body.page-id-2074 .sba-community-content .jt-post-media > .jt-post-media-image,
body.page-id-2074 .sba-community-content .jt-post-media > .jt-post-media-video,
body.page-id-2119 .sba-community-post .jt-post-media > .jt-post-media-image,
body.page-id-2119 .sba-community-post .jt-post-media > .jt-post-media-video {
	width: 100%;
	height: 100% !important;
}

body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap > .jt-post-media-image,
body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap > .jt-post-media-video,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap > .jt-post-media-image,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap > .jt-post-media-video {
	display: block;
	width: 100%;
	height: 100% !important;
	aspect-ratio: auto;
}

body.page-id-2074 .sba-community-content .jt-post-media-image img,
body.page-id-2119 .sba-community-post .jt-post-media-image img {
	display: block;
	width: 100%;
	height: 100% !important;
	min-height: 0;
	object-fit: cover;
	transition: transform .2s ease;
}

body.page-id-2074 .sba-community-content .jt-post-media-image:hover img,
body.page-id-2074 .sba-community-content .jt-post-media-image:focus-visible img,
body.page-id-2119 .sba-community-post .jt-post-media-image:hover img,
body.page-id-2119 .sba-community-post .jt-post-media-image:focus-visible img {
	transform: scale(1.02);
}

body.page-id-2074 .sba-community-content .jt-post-media-video,
body.page-id-2119 .sba-community-post .jt-post-media-video {
	position: relative;
	min-width: 0;
	min-height: 0;
	height: 100% !important;
	background: #18231b;
}

body.page-id-2074 .sba-community-content .jt-post-media-video video,
body.page-id-2119 .sba-community-post .jt-post-media-video video {
	display: block;
	width: 100%;
	height: 100% !important;
	max-height: none;
	object-fit: cover;
	background: #18231b;
}

/* Reply media uses a full-width three-column row without changing the post grid. */
body.page-id-2074 .sba-community-content .jt-reply-body .jt-post-media {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	align-self: flex-start;
}

body.page-id-2074 .sba-community-content .jt-post-media-video {
	cursor: zoom-in;
}

body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap {
	position: relative;
}

body.page-id-2074 .sba-community-content .jt-post-media.sba-media-grid--collapsed .sba-media-grid-item--hidden,
body.page-id-2119 .sba-community-post .jt-post-media.sba-media-grid--collapsed .sba-media-grid-item--hidden {
	display: none !important;
}

body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more,
body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	padding: 12px;
	border: 0;
	background: linear-gradient(180deg, rgb(24 35 27 / 48%), rgb(24 35 27 / 82%));
	color: #fff !important;
	font: inherit;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background .2s ease;
}

body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap > .jt-post-media-image img,
body.page-id-2074 .sba-community-content .jt-post-media > .sba-media-more-wrap > .jt-post-media-video video,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap > .jt-post-media-image img,
body.page-id-2119 .sba-community-post .jt-post-media > .sba-media-more-wrap > .jt-post-media-video video {
	opacity: .2;
}

body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more:hover,
body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more:focus-visible,
body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more:hover,
body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more:focus-visible {
	background: linear-gradient(180deg, rgb(24 35 27 / 58%), rgb(24 35 27 / 90%));
	outline: 3px solid #b9e8c2;
	outline-offset: -3px;
}

body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more__count,
body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more__count {
	display: block;
	color: #000000 !important;
	font-size: clamp(28px, 5vw, 52px);
	font-weight: 700;
	line-height: 1;
	/* text-shadow: 0 2px 8px rgb(0 0 0 / 38%); */
}

body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more__label,
body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more__label {
	display: block;
	color: #000000 !important;
	font-size: clamp(12px, 1.8vw, 16px);
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	/* text-shadow: 0 1px 4px rgb(0 0 0 / 38%); */
}

.jt-media-video-error,
.jt-media-lightbox__video-error {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 8px;
	width: 100%;
	height: 100%;
	padding: 18px;
	background: #18231b;
	color: #fff;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.jt-media-video-error a,
.jt-media-lightbox__video-error a {
	color: #b9e8c2;
	font-weight: 600;
	text-decoration: underline;
}

.jt-post-media-video.sba-media-video-error video {
	display: none;
}

.jt-media-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 64px 56px 72px;
	background: rgb(0 0 0 / 92%);
}

.jt-media-lightbox__stage {
	position: relative;
	display: grid;
	place-items: center;
	width: min(86vw, 1200px);
	height: min(78vh, 780px);
	max-width: 100%;
	max-height: 100%;
	min-width: 0;
	min-height: 0;
}

.jt-media-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	user-select: none;
}

.jt-media-lightbox__video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	background: #000;
}

/* Keep tall media inside the viewer stage instead of honoring its intrinsic grid minimum. */
body.page-id-2074 .jt-media-lightbox__image,
body.page-id-2074 .jt-media-lightbox__video,
body.page-id-2782 .jt-media-lightbox__image,
body.page-id-2782 .jt-media-lightbox__video {
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	place-self: center;
}

.jt-media-lightbox__video-error {
	position: absolute;
	inset: 0;
}

.jt-media-lightbox__counter {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.jt-media-lightbox__close,
.jt-media-lightbox__prev,
.jt-media-lightbox__next {
	position: absolute;
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: #2f7b44;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
}

.jt-media-lightbox__zoom-in,
.jt-media-lightbox__zoom-out {
	position: absolute;
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid #b9e8c2;
	border-radius: 999px;
	background: #eaf5eb;
	color: #2f7b44;
	font-size: 20px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgb(0 0 0 / 22%);
}

body.page-id-2074 .jt-media-lightbox__download,
body.page-id-2782 .jt-media-lightbox__download {
	position: absolute;
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: #2f7b44;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgb(0 0 0 / 28%);
}

body.page-id-2074 .jt-media-lightbox__download:hover,
body.page-id-2782 .jt-media-lightbox__download:hover {
	background: #246137;
}

.jt-media-lightbox__close:hover,
.jt-media-lightbox__prev:hover,
.jt-media-lightbox__next:hover {
	background: #246137;
}

.jt-media-lightbox__zoom-in:hover,
.jt-media-lightbox__zoom-out:hover {
	background: #d8efdc;
}

.jt-media-lightbox__close:focus-visible,
.jt-media-lightbox__prev:focus-visible,
.jt-media-lightbox__next:focus-visible,
.jt-media-lightbox__zoom-in:focus-visible,
.jt-media-lightbox__zoom-out:focus-visible,
body.page-id-2074 .jt-media-lightbox__download:focus-visible,
body.page-id-2782 .jt-media-lightbox__download:focus-visible {
	outline: 3px solid #b9e8c2;
	outline-offset: 3px;
}

.jt-media-lightbox__close { top: 18px; right: 18px; }
.jt-media-lightbox__prev { top: 50%; left: 18px; transform: translateY(-50%); }
.jt-media-lightbox__next { top: 50%; right: 18px; transform: translateY(-50%); }
.jt-media-lightbox__zoom-in { right: 74px; bottom: 18px; font-size: 20px; }
.jt-media-lightbox__zoom-out { right: 18px; bottom: 18px; font-size: 20px; }
body.page-id-2074 .jt-media-lightbox__download,
body.page-id-2782 .jt-media-lightbox__download { right: 130px; bottom: 18px; }

@media (max-width: 640px) {
	.jt-media-lightbox {
		padding: 56px 12px 64px;
	}

	body.page-id-2074 .sba-community-content .sba-community-edit__stage .sba-media-stage__header {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	body.page-id-2074 .sba-community-content .sba-media-review-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-2119 .sba-community-post .sba-media-stage__header {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	body.page-id-2119 .sba-media-dialog {
		padding: 10px;
	}

	body.page-id-2119 .sba-media-dialog__panel {
		max-height: calc(100vh - 20px);
	}

	body.page-id-2119 .sba-media-dialog__dropzone {
		margin: 14px;
		padding: 30px 16px 24px;
	}

	body.page-id-2119 .sba-media-dialog__actions {
		width: 100%;
		flex-direction: column;
	}

	body.page-id-2119 .sba-media-dialog__choose {
		width: 100%;
	}

	body.page-id-2074 .sba-community-edit-dialog {
		padding: 10px;
	}

	body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__panel {
		max-height: calc(100vh - 20px);
	}

	body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__dropzone {
		margin: 14px;
		padding: 30px 16px 24px;
	}

	body.page-id-2074 .sba-community-edit-dialog .sba-media-dialog__choose {
		width: 100%;
	}

	body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-stage__header {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	body.page-id-2074 .sba-community-content .jt-reply-composer .sba-media-review-grid {
		grid-template-columns: 1fr;
	}

	body.page-id-2074 .sba-community-content .sba-reply-media-dialog {
		padding: 10px;
	}

	body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__panel {
		max-height: calc(100vh - 20px);
	}

	body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__dropzone {
		margin: 14px;
		padding: 30px 16px 24px;
	}

	body.page-id-2074 .sba-community-content .sba-reply-media-dialog .sba-media-dialog__choose {
		width: 100%;
	}

	body.page-id-2074 .sba-community-content .jt-post-media-image img,
	body.page-id-2119 .sba-community-post .jt-post-media-image img {
		height: 100% !important;
	}

	.jt-media-lightbox__prev { left: 8px; }
	.jt-media-lightbox__next { right: 8px; }
	.jt-media-lightbox__close { top: 8px; right: 8px; }
	.jt-media-lightbox__stage { width: 92vw; height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
	body.page-id-2074 .sba-community-content .jt-post-media-image img,
	body.page-id-2119 .sba-community-post .jt-post-media-image img {
		transition: none;
	}

	body.page-id-2074 .sba-community-content .jt-post-media .sba-media-more,
	body.page-id-2119 .sba-community-post .jt-post-media .sba-media-more {
		transition: none;
	}
}

/* A blocked reply carries this marker from the server.  Marking every
 * descendant lets the native threaded wrappers disappear as one subtree,
 * including quote/vote/report controls and accepted-answer callouts. */
body.page-id-2074 .sba-community-content .jt-reply[data-sba-blocked-reply="1"],
body.page-id-2074 .sba-community-content .jt-replies-list > div:has(> .jt-reply[data-sba-blocked-reply="1"]),
body.page-id-2074 .sba-community-content .jt-thread-children > div:has(> .jt-reply[data-sba-blocked-reply="1"]),
body.page-id-2074 .sba-community-content .jt-accepted-callout:has(.jt-reply[data-sba-blocked-reply="1"]) {
	display: none !important;
}

/* Trashed or spam posts are read-only: hide Reply, the share link, Report, the more menu (Edit / Delete) and the reply composer for the post and every reply. */
body.page-id-2074 .sba-community-content:is([data-sba-post-status="trash"], [data-sba-post-status="spam"]) :is(
	.jt-reply-to-btn,
	.jt-share-btn,
	.jt-more-menu,
	.jt-reply-composer,
	[data-wp-on--click*="flag" i],
	[data-wp-on--click="actions.sbaPendingReportNotice"],
	/* The page script can strip the action attribute from a report button, so also match its state markers and label. */
	[data-flagged],
	[data-sba-report-pending],
	[data-sba-report-role-blocked],
	button.jt-act[aria-label^="Report" i],
	button.jt-act[aria-label="You have reported this"],
	[data-wp-on--click="actions.quoteReply"]
) {
	display: none !important;
}

/* Post detail: hide Jetonomy's post Follow button (both the title-row and meta-row variants). Space Follow is not affected. */
.sba-community-content button[data-wp-on--click="actions.followPost"] {
	display: none !important;
}
