/* Shared Styles for Event List and Repertoire Widgets */

/* Shared Typography */
.event-title,
.repertoire-card-title {
	font-family: 'AreaInktrapExtended', Sans-serif;
	font-size: 36px;
	font-weight: 900;
	font-style: normal;
	text-decoration: none;
	line-height: 1em;
	letter-spacing: -1.5px;
	word-spacing: 0em;
	margin: 0.1em 0 0.25rem 0;
}

.repertoire-card-title {
	margin: 0 0 0.15em;
}

.event-subtitle,
.repertoire-card-subtitle {
	font-size: 1rem;
	font-weight: 400;
	margin: 0;
	line-height: 1.5;
	color: inherit;
}

.event-description {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	color: inherit;
}

.event-description p {
	margin: 0;
}

/* Shared Category Tags */
.event-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 4px;
	align-items: center;
	margin-top: 1.1rem;
}

.event-category-tag {
	background-color: transparent;
}

.category-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.category-name {
	font-family: 'AreaExtended', Sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	font-style: normal;
	text-decoration: none;
	line-height: 1.5em;
	letter-spacing: 0px;
	word-spacing: 0em;
	margin: 0;
	padding: 0.65em 0.6em 0.35em;
	border-style: solid;
	border-width: 2px 2px 2px 2px;
	border-radius: 30px 30px 30px 30px;
	text-transform: uppercase;
}

/* Shared Button Styles */
.event-tickets-button,
.repertoire-link-text {
	background-color: #000;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 12px;
	padding: 12px 20px 11px !important;
	border-radius: 9999px !important;
	line-height: 1 !important;
	font-family: 'AreaInktrapExtended', Sans-serif;
	letter-spacing: -0.25px;
	font-size: var(--e-global-typography-button-font-size, 16px) !important;
	font-weight: var(--e-global-typography-button-font-weight, 700) !important;
	color: var(--e-global-color-buttontext, #fff) !important;
	background: var(--e-global-color-buttonbg, #000) !important;
	border: 2px solid var(--e-global-color-buttonborder, #000) !important;
	transition:
		background var(--btn-trans-dur) var(--btn-trans-ease),
		color var(--btn-trans-dur) var(--btn-trans-ease),
		border-color var(--btn-trans-dur) var(--btn-trans-ease) !important;
}

.event-tickets-button:hover,
.event-tickets-button:focus,
.repertoire-card:hover .repertoire-link-text {
	background-color: var(--e-global-color-accent) !important;
	border-color: var(--e-global-color-accent) !important;
	text-decoration: none;
}

.event-tickets-button svg,
.repertoire-link-text svg {
	display: block;
	height: 1em;
	width: auto;
	transition: transform var(--btn-trans-dur) var(--btn-trans-ease);
}

.event-tickets-button:hover svg,
.event-tickets-button:focus svg,
.repertoire-card:hover .repertoire-link-text svg {
	transform: translateX(2px);
}

.button-content-wrapper {
	display: flex;
	align-items: end;
	gap: 8px;
}

.button-icon {
	display: flex;
	align-items: center;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.button-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.button-text {
	font-size: inherit;
	font-weight: inherit;
	white-space: nowrap;
}

.text-base {
	font-family: 'SurtExpanded', Sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	text-decoration: none;
	line-height: 1.2em;
	letter-spacing: 0px;
	word-spacing: 0em;
}

.premiere-image {
	height: 32px;
	width: 35px;
	margin-right: -3px;
}

.premiere-image img {
	width: 32px;
	object-fit: contain;
}

.backbutton-wrapper {
	display: flex;
	justify-content: center;
}

.backbutton {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px;
	border: 2px solid #000;
	border-radius: 999px;
	font-family: var(--e-global-typography-62e2199-font-family, 'AreaExtended'), sans-serif;
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #000;
	background: transparent;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.backbutton-text {
	padding-top: 0.23em;
}

.backbutton:hover,
.backbutton:focus-visible {
	background-color: #fff;
	color: #000 !important;
}

.backbutton:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.backbutton-icon svg {
	display: block;
	width: 1.2em;
}

body:not(.elementor-editor-active) .fade-animation:not(.fadeIn) {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.fade-animation:not(.fadeIn) {
		opacity: 1;
	}
}

@media (max-width: 1024px) {
	.text-base {
		font-size: 14px;
	}

	.event-title,
	.repertoire-card-title {
		font-size: 24px;
	}

	.category-name {
		font-size: 10px;
	}
}

/* Produktion Media Section */
.produktion-media {
	background-color: var(--e-global-color-673ccbc, #ffe48c);
}

/* Mobile Typography Adjustments */
@media (max-width: 767px) {
	.text-base {
		font-size: 18px;
		line-height: 1.1em;
	}

	.event-title,
	.repertoire-card-title {
		font-size: 30px;
		line-height: 1.15em;
		margin: 0.3em 0 0.45rem 0;
	}

	.event-subtitle,
	.repertoire-card-subtitle {
		font-size: 16px;
	}

	.backbutton {
		justify-content: center;
	}
}
