/**
 * Herkimer County IDA Board Meetings
 * Every rule is scoped under .hcbm so nothing leaks into Elementor or the theme,
 * and selectors carry enough specificity to beat theme/kit table, link, button
 * and select styles. Override the custom properties below to retheme.
 */

.hcbm {
	--hcbm-navy: #1f2738;
	--hcbm-navy-2: #2b3447;
	--hcbm-text: #1f2738;
	--hcbm-muted: #5b6474;
	--hcbm-faint: #6b7280;
	--hcbm-border: #e4e7ec;
	--hcbm-head-bg: #f3f4f6;
	--hcbm-row-hl: #f8f9fb;
	--hcbm-surface: #ffffff;
	--hcbm-chip: #f1f3f5;
	--hcbm-yellow: #ffcf06;
	--hcbm-yellow-hover: #e6ba05;
	--hcbm-green: #139a68;
	--hcbm-green-dark: #0d6b48;
	--hcbm-red: #c62828;
	--hcbm-radius: 1em;
	--hcbm-focus: #1f2738;
	--hcbm-play-glyph: #1f2738;
	--hcbm-font-heading: var(--e-global-typography-primary-font-family, "Montserrat"), system-ui, sans-serif;
	--hcbm-font-body: inherit;

	container-type: inline-size;
	container-name: hcbm;
	font-family: var(--hcbm-font-body);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--hcbm-text);
	text-align: left;
}

.hcbm *,
.hcbm *::before,
.hcbm *::after {
	box-sizing: border-box;
}

.hcbm .hcbm-sr-only {
	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;
}

.hcbm .hcbm-icon {
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: middle;
}

.hcbm a {
	text-decoration: none;
	box-shadow: none;
}

/* Visible keyboard focus everywhere (two-tone ring works on light and dark). */
.hcbm a:focus-visible,
.hcbm button:focus-visible,
.hcbm select:focus-visible,
.hcbm [tabindex="-1"]:focus-visible {
	outline: 0.1875em solid var(--hcbm-focus);
	outline-offset: 0.1875em;
	box-shadow: 0 0 0 0.125em #fff;
}

.hcbm [tabindex="-1"]:focus:not(:focus-visible) {
	outline: none;
}

/* ==========================================================================
   Toolbar (year filter)
   ========================================================================== */

.hcbm .hcbm-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75em 1.25em;
	margin: 0 0 1.5em;
	padding: 0;
	background: none;
	border: 0;
}

.hcbm .hcbm-toolbar__label {
	margin: 0;
	font-family: var(--hcbm-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hcbm-text);
}

.hcbm .hcbm-select {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-width: 11em;
}

.hcbm .hcbm-select select {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	min-height: 2.75em;
	margin: 0;
	padding: 0.55em 2.75em 0.55em 1em;
	font-family: inherit;
	font-size: 1.125rem;
	line-height: 1.3;
	color: var(--hcbm-text);
	background: var(--hcbm-surface);
	border: 0.0625em solid #8a93a3;
	border-radius: 0.375em;
	cursor: pointer;
	box-shadow: none;
}

.hcbm .hcbm-select .hcbm-icon {
	position: absolute;
	right: 0.9em;
	width: 1.1em;
	height: 1.1em;
	pointer-events: none;
	color: currentColor;
}

.hcbm .hcbm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 2.75em;
	margin: 0;
	padding: 0.6em 1.4em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--hcbm-navy);
	background: var(--hcbm-yellow);
	border: 0;
	border-radius: 0.375em;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.hcbm .hcbm-btn:hover {
	background: var(--hcbm-yellow-hover);
	color: var(--hcbm-navy);
}

/* With JS the filter applies instantly, so the Apply button is hidden. */
.hcbm.hcbm--js .hcbm-toolbar__submit {
	display: none;
}

.hcbm .hcbm-toolbar__group {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em 1em;
}

.hcbm .hcbm-select--type {
	min-width: 15em;
}

/* Dark theme: toolbar sits on the navy section background. */
.hcbm--theme-dark {
	--hcbm-focus: var(--hcbm-yellow);
}

.hcbm--theme-dark .hcbm-toolbar .hcbm-toolbar__label {
	color: #fff;
}

.hcbm--theme-dark .hcbm-toolbar .hcbm-select {
	color: #fff;
}

.hcbm--theme-dark .hcbm-toolbar .hcbm-select select {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.55);
}

.hcbm--theme-dark .hcbm-toolbar .hcbm-select select:hover {
	border-color: #fff;
}

.hcbm--theme-dark .hcbm-toolbar .hcbm-select option {
	color: var(--hcbm-navy);
	background: #fff;
}

/* Inside the white card the focus ring always uses navy. */
.hcbm .hcbm-card {
	--hcbm-focus: var(--hcbm-navy);
}

/* ==========================================================================
   Card + table
   ========================================================================== */

.hcbm .hcbm-results {
	transition: opacity 0.2s ease;
}

.hcbm .hcbm-results[aria-busy="true"] {
	opacity: 0.55;
	cursor: progress;
}

.hcbm .hcbm-card {
	overflow: hidden;
	background: var(--hcbm-surface);
	border-radius: var(--hcbm-radius);
	box-shadow: 0 1.25em 3em rgba(10, 15, 30, 0.25);
}

.hcbm .hcbm-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	background: none;
	font-size: 1rem;
}

.hcbm .hcbm-table th,
.hcbm .hcbm-table td {
	padding: 1.5em 1.5em;
	margin: 0;
	border: 0;
	background: none;
	vertical-align: middle;
	text-align: left;
	line-height: 1.4;
	color: var(--hcbm-text);
}

.hcbm .hcbm-table thead th {
	padding-top: 1.75em;
	padding-bottom: 1.75em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hcbm-navy);
	background: var(--hcbm-head-bg);
	border-bottom: 0.1875em solid var(--hcbm-border);
	white-space: nowrap;
}

.hcbm .hcbm-table .hcbm-col--date { width: 34%; }
.hcbm .hcbm-table .hcbm-col--status { width: 30%; }
.hcbm .hcbm-table .hcbm-col--agenda,
.hcbm .hcbm-table .hcbm-col--minutes { width: 18%; }

.hcbm .hcbm-table .hcbm-col--agenda,
.hcbm .hcbm-table .hcbm-col--minutes,
.hcbm .hcbm-table .hcbm-cell--agenda,
.hcbm .hcbm-table .hcbm-cell--minutes {
	text-align: center;
}

.hcbm .hcbm-table tbody tr {
	border-top: 0.0625em solid var(--hcbm-border);
	background: none;
}

.hcbm .hcbm-table tbody tr:first-child {
	border-top: 0;
}

.hcbm .hcbm-table tbody tr.hcbm-row--upcoming,
.hcbm .hcbm-table tbody tr.hcbm-row--upcoming > * {
	background: var(--hcbm-row-hl);
}

/* Date cell */
.hcbm .hcbm-table .hcbm-cell--date {
	font-weight: 400;
}

.hcbm .hcbm-table a.hcbm-date {
	display: inline-block;
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--hcbm-navy);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 0.08em;
	transition: text-decoration-color 0.15s ease;
}

.hcbm .hcbm-table a.hcbm-date:hover {
	color: var(--hcbm-navy);
	text-decoration-color: currentColor;
}

.hcbm .hcbm-table .hcbm-date__meta {
	display: block;
	margin-top: 0.35em;
	font-size: 1rem;
	font-weight: 400;
	color: var(--hcbm-muted);
}

.hcbm .hcbm-table .hcbm-date__type {
	display: block;
	margin-bottom: 0.35em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--hcbm-green-dark);
}

/* Status badge */
.hcbm .hcbm-badge {
	display: inline-block;
	padding: 0.4em 0.95em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 0.3em;
	color: #374151;
	background: #e5e7eb;
}

.hcbm .hcbm-badge--upcoming {
	color: var(--hcbm-navy);
	background: var(--hcbm-yellow);
}

.hcbm .hcbm-badge--cancelled {
	color: #8a1c1c;
	background: #fde8e8;
}

.hcbm .hcbm-badge--postponed {
	color: #6b4d00;
	background: #fff1c2;
}

/* Round icon buttons */
.hcbm a.hcbm-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3em;
	height: 3em;
	border-radius: 50%;
	background: var(--hcbm-chip);
	color: var(--hcbm-green-dark);
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.hcbm a.hcbm-icon-btn .hcbm-icon {
	width: 1.375em;
	height: 1.375em;
}

.hcbm a.hcbm-icon-btn:hover {
	background: #e3e7ec;
	transform: translateY(-0.0625em);
}

.hcbm a.hcbm-icon-btn--agenda {
	color: var(--hcbm-green-dark);
}

.hcbm a.hcbm-icon-btn--minutes {
	color: var(--hcbm-red);
}

.hcbm a.hcbm-icon-btn--video {
	color: var(--hcbm-yellow);
	background: var(--hcbm-navy);
	box-shadow: 0 0.375em 0.875em rgba(31, 39, 56, 0.3);
}

.hcbm a.hcbm-icon-btn--video:hover {
	background: var(--hcbm-navy-2);
}

.hcbm a.hcbm-icon-btn--video .hcbm-icon {
	width: 1.5em;
	height: 1.5em;
}

.hcbm .hcbm-na {
	font-size: 0.9375rem;
	font-style: italic;
	color: var(--hcbm-faint);
}

/* Footer: summary + pagination */
.hcbm .hcbm-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1em 1.5em;
	padding: 1.25em 1.5em;
	border-top: 0.0625em solid var(--hcbm-border);
	background: var(--hcbm-surface);
}

.hcbm .hcbm-footer__summary {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--hcbm-muted);
}

.hcbm .hcbm-pagination__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcbm .hcbm-pagination__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcbm .hcbm-pagination__list li::before,
.hcbm .hcbm-pagination__list li::marker {
	content: none;
}

.hcbm .hcbm-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35em;
	min-width: 2.75em;
	min-height: 2.75em;
	padding: 0 0.85em;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	color: var(--hcbm-navy);
	background: var(--hcbm-surface);
	border: 0.0625em solid var(--hcbm-border);
	border-radius: 0.5em;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hcbm a.hcbm-page:hover {
	color: var(--hcbm-navy);
	background: var(--hcbm-head-bg);
	border-color: #c9ced6;
}

.hcbm a.hcbm-page.is-current {
	color: var(--hcbm-navy);
	background: var(--hcbm-yellow);
	border-color: var(--hcbm-yellow);
}

.hcbm .hcbm-page.is-disabled {
	color: #9aa1ad;
	background: transparent;
	cursor: not-allowed;
}

.hcbm .hcbm-page--gap {
	min-width: 1.5em;
	padding: 0;
	border-color: transparent;
	background: transparent;
}

.hcbm .hcbm-page .hcbm-icon {
	width: 1em;
	height: 1em;
}

/* Empty state */
.hcbm .hcbm-empty {
	padding: 3em 1.5em;
	text-align: center;
}

.hcbm .hcbm-empty__title {
	margin: 0 0 0.35em;
	font-family: var(--hcbm-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--hcbm-navy);
}

.hcbm .hcbm-empty__text {
	margin: 0;
	color: var(--hcbm-muted);
}

/* ==========================================================================
   Narrow containers: the table becomes stacked cards.
   (Container query, so it adapts to the Elementor column, not just the viewport.)
   ========================================================================== */

@container hcbm (max-width: 52em) {
	.hcbm .hcbm-table th,
	.hcbm .hcbm-table td {
		padding: 1em 1.25em;
	}

	.hcbm .hcbm-table thead th {
		letter-spacing: 0.08em;
		font-size: 0.8125rem;
	}

	.hcbm .hcbm-table a.hcbm-date {
		font-size: 1.125rem;
	}
}

@container hcbm (max-width: 40em) {
	.hcbm .hcbm-toolbar {
		justify-content: flex-start;
	}

	.hcbm .hcbm-toolbar__group {
		display: flex;
		flex: 1 1 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0.5em;
	}

	.hcbm .hcbm-select,
	.hcbm .hcbm-select--type {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
	}

	.hcbm .hcbm-table,
	.hcbm .hcbm-table tbody {
		display: block;
	}

	.hcbm .hcbm-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.hcbm .hcbm-table tbody tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1em 1em;
		padding: 1.25em;
	}

	.hcbm .hcbm-table tbody tr > * {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 0.5em;
		padding: 0;
		text-align: left;
	}

	.hcbm .hcbm-table .hcbm-cell--date {
		grid-column: 1 / -1;
		gap: 0;
	}

	.hcbm .hcbm-table .hcbm-cell--agenda,
	.hcbm .hcbm-table .hcbm-cell--minutes {
		text-align: left;
	}

	.hcbm .hcbm-table td[data-label]::before {
		content: attr(data-label);
		font-family: var(--hcbm-font-heading);
		font-size: 0.75rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: var(--hcbm-muted);
	}

	.hcbm .hcbm-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.25em;
	}

	.hcbm .hcbm-page--prev span:not(.hcbm-sr-only),
	.hcbm .hcbm-page--next span:not(.hcbm-sr-only) {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.hcbm .hcbm-page--prev,
	.hcbm .hcbm-page--next {
		padding: 0;
	}
}

/* ==========================================================================
   Single meeting
   ========================================================================== */

.hcbm-single .hcbm-single__back {
	margin: 0 0 1.5em;
}

.hcbm-single a.hcbm-link-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	color: var(--hcbm-green-dark);
}

.hcbm-single a.hcbm-link-back:hover {
	color: var(--hcbm-navy);
	text-decoration: underline;
}

.hcbm-single .hcbm-single__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75em;
	margin: 0 0 1.75em;
}

.hcbm-single .hcbm-single__title {
	margin: 0;
	font-family: var(--hcbm-font-heading);
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--hcbm-navy);
}

.hcbm-single .hcbm-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18em, 22em);
	gap: 2em;
	align-items: start;
}

.hcbm-single .hcbm-single__main {
	display: flex;
	flex-direction: column;
	gap: 2em;
	min-width: 0;
}

.hcbm-single .hcbm-panel {
	margin: 0;
	scroll-margin-top: 7em;
}

.hcbm-single .hcbm-panel__title,
.hcbm-single .hcbm-details__title {
	margin: 0 0 1em;
	font-family: var(--hcbm-font-heading);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--hcbm-navy);
}

.hcbm-single .hcbm-prose {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--hcbm-text);
}

.hcbm-single .hcbm-prose > :first-child { margin-top: 0; }
.hcbm-single .hcbm-prose > :last-child { margin-bottom: 0; }

.hcbm-single .hcbm-prose a {
	color: var(--hcbm-green-dark);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.hcbm-single .hcbm-prose iframe,
.hcbm-single .hcbm-prose img,
.hcbm-single .hcbm-prose video {
	max-width: 100%;
}

.hcbm-single .hcbm-prose--embeds iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 0.75em;
}

.hcbm-single .hcbm-embed {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--hcbm-navy);
	border-radius: var(--hcbm-radius);
	box-shadow: 0 1em 2.5em rgba(10, 15, 30, 0.18);
}

.hcbm-single .hcbm-embed iframe,
.hcbm-single .hcbm-embed video,
.hcbm-single .hcbm-embed object,
.hcbm-single .hcbm-embed embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.hcbm-single .hcbm-placeholder {
	margin: 0;
	padding: 1.25em 1.5em;
	font-style: italic;
	color: var(--hcbm-muted);
	background: var(--hcbm-row-hl);
	border: 0.0625em dashed #c9ced6;
	border-radius: 0.75em;
}

.hcbm-single .hcbm-btn--primary {
	text-decoration: none;
}

/* Details sidebar */
.hcbm-single .hcbm-details {
	padding: 1.75em;
	background: var(--hcbm-surface);
	border: 0.0625em solid var(--hcbm-border);
	border-top: 0.3em solid var(--hcbm-yellow);
	border-radius: var(--hcbm-radius);
	box-shadow: 0 0.75em 2em rgba(10, 15, 30, 0.08);
}

.hcbm-single .hcbm-dl {
	margin: 0 0 1.5em;
	padding: 0;
}

.hcbm-single .hcbm-dl__row {
	padding: 0.85em 0;
	border-bottom: 0.0625em solid var(--hcbm-border);
}

.hcbm-single .hcbm-dl__row:first-child {
	padding-top: 0;
}

.hcbm-single .hcbm-dl dt {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 0.25em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hcbm-muted);
}

.hcbm-single .hcbm-dl dt .hcbm-icon {
	width: 1.1em;
	height: 1.1em;
	color: var(--hcbm-green-dark);
}

.hcbm-single .hcbm-dl dd {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--hcbm-navy);
}

.hcbm-single .hcbm-dl dd a {
	color: var(--hcbm-navy);
	text-decoration: underline;
	text-decoration-color: rgba(31, 39, 56, 0.35);
	text-underline-offset: 0.18em;
}

.hcbm-single .hcbm-dl dd a:hover {
	text-decoration-color: currentColor;
}

.hcbm-single .hcbm-details__subtitle {
	margin: 0 0 0.75em;
	font-family: var(--hcbm-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hcbm-navy);
}

.hcbm-single .hcbm-docs {
	display: grid;
	gap: 0.625em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcbm-single .hcbm-docs li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hcbm-single .hcbm-docs li::before {
	content: none;
}

.hcbm-single a.hcbm-doc {
	display: flex;
	align-items: center;
	gap: 0.875em;
	padding: 0.75em 1em;
	color: var(--hcbm-navy);
	background: var(--hcbm-row-hl);
	border: 0.0625em solid var(--hcbm-border);
	border-radius: 0.75em;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.hcbm-single a.hcbm-doc:hover {
	color: var(--hcbm-navy);
	background: #fff;
	border-color: var(--hcbm-green);
}

.hcbm-single .hcbm-doc__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	flex: none;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 0.0625em var(--hcbm-border);
}

.hcbm-single .hcbm-doc--agenda .hcbm-doc__icon { color: var(--hcbm-green-dark); }
.hcbm-single .hcbm-doc--minutes .hcbm-doc__icon { color: var(--hcbm-red); }

.hcbm-single .hcbm-doc__text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
}

.hcbm-single .hcbm-doc__name {
	font-weight: 700;
}

.hcbm-single .hcbm-doc__meta {
	font-size: 0.875rem;
	color: var(--hcbm-muted);
}

.hcbm-single a.hcbm-doc > .hcbm-icon--download {
	color: var(--hcbm-muted);
}

.hcbm-single .hcbm-note {
	margin: 0.875em 0 0;
	font-size: 0.9375rem;
	font-style: italic;
	color: var(--hcbm-muted);
}

@container hcbm (max-width: 50em) {
	.hcbm-single .hcbm-single__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hcbm-single .hcbm-single__aside {
		order: -1;
	}

	.hcbm-single .hcbm-single__title {
		font-size: 1.75rem;
	}
}

/* ==========================================================================
   Preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.hcbm *,
	.hcbm *::before,
	.hcbm *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

@media (forced-colors: active) {
	.hcbm .hcbm-badge,
	.hcbm a.hcbm-icon-btn,
	.hcbm .hcbm-page,
	.hcbm-single .hcbm-details {
		border: 1px solid CanvasText;
	}

	.hcbm .hcbm-icon--play rect {
		fill: LinkText;
	}
}

@media print {
	.hcbm .hcbm-toolbar,
	.hcbm .hcbm-pagination {
		display: none;
	}

	.hcbm .hcbm-card {
		box-shadow: none;
		border: 1px solid #999;
	}
}
