/**
 * Cultural calendar. All rules are scoped to this widget.
 * Breakpoints match the Q+A kit: tablet landscape 1200, tablet 834, mobile 767.
 */

.qa-cc {
	--qa-intro: 25%;
	--qa-cols: 2;
	--qa-gap: 0px;
	--qa-inset: 0px;
	--qa-sticky-top: 70px;
	--qa-filter-color: #000000;
	--qa-filter-bg: transparent;
	--qa-filter-hover: #000000;
	--qa-filter-hover-bg: transparent;
	--qa-space-title: 20px;
	--qa-space-meta: 10px;
	--qa-space-desc: 0px;
	--qa-item-gap: 5%;
	--qa-row-gap: 24px;
	--qa-lines: 3;
	--qa-group-gap: 5%;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding-inline: 5%;
	color: #111111;
	background: transparent;
}

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

.qa-cc__inner {
	display: grid;
	grid-template-columns: minmax(280px, var(--qa-intro)) minmax(0, 1fr);
	column-gap: var(--qa-gap);
	align-items: start;
	width: 100%;
	max-width: 1800px;
	margin-inline: auto;
	padding-top: 10%;
	padding-bottom: 10%;
}

.qa-cc__intro {
	position: sticky;
	top: var(--qa-sticky-top);
	align-self: start;
	min-width: 0;
	max-width: 100%;
	max-height: calc(100vh - var(--qa-sticky-top) - 16px);
	padding-inline-end: 40px;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 2;
}

.qa-cc__listings {
	min-width: 0;
	max-width: 100%;
	container-type: inline-size;
}

.qa-cc__spacer {
	display: none;
}

.qa-cc__heading,
.qa-cc__group-heading,
.qa-cc__title {
	font-family: var(--e-global-typography-primary-font-family, "bricolage-grotesque"), sans-serif;
}

.qa-cc__heading {
	margin: 0;
	color: #000000;
	font-size: 45px;
	font-weight: 800;
	line-height: 0.9;
	text-align: start;
}

.qa-cc__introduction {
	margin-top: 10px;
	color: #111111;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
	text-align: start;
}

.qa-cc__introduction p {
	margin: 0;
}

.qa-cc__filter {
	position: relative;
	margin-top: 28px;
	color: #000000;
	font-size: 16px;
	line-height: 1.4;
}

.qa-cc__filter-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}

.qa-cc .qa-cc__filter button.qa-cc__filter-btn,
.qa-cc .qa-cc__filter select.qa-cc__filter-select {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	padding: 6px 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: var(--qa-filter-bg);
	color: var(--qa-filter-color);
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-family: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-align: start;
	text-decoration: none;
	white-space: normal;
	overflow-wrap: break-word;
	cursor: pointer;
	appearance: none;
}

.qa-cc .qa-cc__filter button.qa-cc__filter-btn.is-active {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.qa-cc .qa-cc__filter button.qa-cc__filter-btn:hover,
.qa-cc .qa-cc__filter button.qa-cc__filter-btn:focus-visible {
	background: var(--qa-filter-hover-bg);
	color: var(--qa-filter-hover);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.qa-cc__filter-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.qa-cc .qa-cc__filter select.qa-cc__filter-select {
	display: none;
	padding: 10px 12px;
	border: 1px solid currentColor;
	cursor: auto;
}

.qa-cc__group-heading {
	margin: 0 0 var(--qa-group-gap);
	color: #000000;
	font-size: 40px;
	font-weight: 500;
	line-height: 0.9;
	text-align: start;
}

.qa-cc__group {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--qa-item-gap);
	row-gap: var(--qa-row-gap);
}

.qa-cc__group-heading {
	grid-column: 1 / -1;
}

@container (min-width: 680px) {
	.qa-cc__group {
		grid-template-columns: repeat(var(--qa-cols, 2), minmax(0, 1fr));
	}
}

.qa-cc__group + .qa-cc__group {
	margin-top: var(--qa-group-gap);
}

.qa-cc__media {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1.777777;
	overflow: hidden;
	background: #e4e4e4;
}

.qa-cc__media img,
.qa-cc__media video,
.qa-cc__media iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	border: 0;
	object-fit: var(--qa-fit, cover);
	object-position: var(--qa-focal, center center);
}

.qa-cc__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #8d8d8d;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.qa-cc__play {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #1c1c1c;
	color: #ffffff;
	cursor: pointer;
}

.qa-cc__play-icon {
	position: absolute;
	inset: 0;
	width: 58px;
	height: 58px;
	margin: auto;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
}

.qa-cc__play-icon::after {
	content: "";
	position: absolute;
	inset-inline-start: 23px;
	top: 18px;
	border-style: solid;
	border-width: 11px 0 11px 16px;
	border-color: transparent transparent transparent #ffffff;
}

.qa-cc__play-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.qa-cc__media--has-caption::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 25%, rgba(0, 0, 0, 0.1) 50%, transparent 75%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.qa-cc__media--has-caption:hover::after,
.qa-cc__media--has-caption.is-open::after {
	opacity: 1;
}

.qa-cc .qa-cc__item button.qa-cc__caption-toggle {
	position: absolute;
	right: 12px;
	bottom: 10px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: #ffffff;
	font-family: "Open Sans", sans-serif;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: 0;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
	cursor: pointer;
	appearance: none;
}

.qa-cc__media--has-caption:hover .qa-cc__caption-toggle,
.qa-cc__media--has-caption.is-open .qa-cc__caption-toggle {
	opacity: 0;
}

.qa-cc .qa-cc__item button.qa-cc__caption-toggle:focus-visible {
	opacity: 1;
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.elementor .qa-cc .qa-cc__media p.qa-cc__caption,
.qa-cc .qa-cc__media p.qa-cc__caption {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	margin: 0;
	margin-block: 0;
	padding: 10px;
	background: rgba(0, 0, 0, 0.65);
	color: #ffffff;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.elementor .qa-cc .qa-cc__media--has-caption:hover p.qa-cc__caption,
.elementor .qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption,
.qa-cc .qa-cc__media--has-caption:hover p.qa-cc__caption,
.qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption {
	opacity: 1;
	visibility: visible;
}

.elementor .qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption,
.qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption {
	pointer-events: auto;
}

@media (hover: none) {
	.qa-cc__media--has-caption:hover::after {
		opacity: 0;
	}

	.elementor .qa-cc .qa-cc__media--has-caption:hover p.qa-cc__caption,
	.qa-cc .qa-cc__media--has-caption:hover p.qa-cc__caption {
		opacity: 0;
		visibility: hidden;
	}

	.qa-cc .qa-cc__media--has-caption:hover button.qa-cc__caption-toggle {
		opacity: 1;
	}

	.qa-cc__media--has-caption.is-open::after,
	.elementor .qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption,
	.qa-cc .qa-cc__media--has-caption.is-open p.qa-cc__caption {
		opacity: 1;
		visibility: visible;
	}

	.qa-cc .qa-cc__media--has-caption.is-open button.qa-cc__caption-toggle {
		opacity: 0;
	}
}

.qa-cc__title {
	margin: var(--qa-space-title) 0 var(--qa-space-meta);
	color: #000000;
	font-size: 25px;
	font-weight: 500;
	line-height: 1;
	text-align: start;
}

.qa-cc__meta {
	margin: 0;
	color: #000000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.qa-cc__meta p,
.qa-cc__description p,
.qa-cc__more,
.qa-cc__noscript,
.qa-cc__empty,
.qa-cc__warning {
	margin: 0;
}

.qa-cc__description {
	margin-top: var(--qa-space-desc);
	color: #111111;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	overflow-wrap: break-word;
}

.qa-cc__description.is-clamp:not(.is-open) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--qa-lines, 3);
	overflow: hidden;
}

.qa-cc .qa-cc__item button.qa-cc__read {
	display: inline-block;
	width: auto;
	max-width: 100%;
	margin: 8px 0 0;
	padding-block: 0;
	padding-inline: var(--qa-inset);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: #000000;
	font: inherit;
	font-weight: 500;
	line-height: inherit;
	letter-spacing: normal;
	text-align: start;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	white-space: normal;
	cursor: pointer;
	appearance: none;
}

.qa-cc a {
	color: #000000;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.qa-cc a:hover {
	color: #000000;
}

.qa-cc__more {
	margin-top: 12px;
}

.qa-cc__empty,
.qa-cc__noscript {
	margin-top: 12px;
}

.qa-cc__warning {
	margin-bottom: 8px;
	color: #8a3b12;
	font-size: 14px;
}

.qa-cc__status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.qa-cc__heading,
.qa-cc__introduction,
.qa-cc__filter,
.qa-cc__title,
.qa-cc__meta,
.qa-cc__description,
.qa-cc__read,
.qa-cc__group-heading,
.qa-cc__more,
.qa-cc__empty,
.qa-cc__noscript,
.qa-cc__warning {
	padding-inline: var(--qa-inset);
}

html[dir="rtl"] .qa-cc__heading,
html[dir="rtl"] .qa-cc__group-heading,
html[dir="rtl"] .qa-cc__title,
html[dir="rtl"] .qa-cc__introduction,
html[dir="rtl"] .qa-cc__description,
html[dir="rtl"] .qa-cc__meta,
html[dir="rtl"] .qa-cc__filter,
html[dir="rtl"] .qa-cc__empty {
	font-family: inherit;
}

@media (max-width: 1200px) {
	.qa-cc {
		padding-inline: 3%;
	}

	.qa-cc__inner {
		padding-top: 6%;
		padding-bottom: 6%;
	}

	.qa-cc__intro {
		padding-inline-end: 10px;
	}

	.qa-cc__heading,
	.qa-cc__group-heading {
		font-size: 30px;
	}

	.qa-cc__introduction {
		font-size: 16px;
	}
}

@media (max-width: 834px) {
	.qa-cc {
		--qa-cols: 1;
		padding-inline: 3%;
	}

	.qa-cc__inner {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 15%;
		padding-bottom: 0;
	}

	.qa-cc__intro {
		position: static;
		max-height: none;
		padding-inline-end: 0;
		overflow: visible;
	}

	.qa-cc__listings {
		margin-top: 20px;
	}

	.qa-cc__spacer {
		display: none;
	}

	.qa-cc__heading,
	.qa-cc__introduction {
		font-size: 35px;
		text-align: center;
	}

	.qa-cc__introduction {
		font-size: 18px;
	}

	.qa-cc__group-heading {
		font-size: 35px;
	}
}

@media (max-width: 767px) {
	.qa-cc {
		--qa-inset: 20px;
		margin-top: 70px;
		padding-inline: 0;
	}

	.qa-cc__inner {
		padding-top: 0;
		padding-bottom: 0;
	}

	.qa-cc__heading {
		margin-top: 20px;
		font-size: 35px;
		line-height: 1.1;
		text-align: start;
	}

	.qa-cc__introduction {
		font-size: 18px;
		line-height: 1.3;
		text-align: start;
	}

	.qa-cc__group-heading {
		font-size: 35px;
		line-height: 1.1;
	}

	.qa-cc .qa-cc__filter .qa-cc__filter-list {
		display: none;
	}

	.qa-cc .qa-cc__filter select.qa-cc__filter-select {
		display: block;
	}

	.qa-cc__title {
		margin-top: 0;
		padding-top: var(--qa-space-title);
	}
}
