/**
* Tablet Portrait: > 768px (< 1024px)
*/

@media (max-width: 1024px) {
	/**
	 *
	 * MARK: ROOT VARIABLES
	 *
	 */
	/* :root {} */

	/* ---------------------------------

	MARK: GENERAL

	---------------------------------- */

	/* ---------------------------------

	MARK: TYPOGRAPHY

	---------------------------------- */

	/*  Display 3XL: DaVinci Italic 700px  */
	:where([class*="t--"][class*="--display"])[class*="--3xl"] {
		font-size: var(--f-2xl);
	}

	/* ---------------------------------

	MARK: LAYOUT

	---------------------------------- */

	:where([class*="--grid"]):is(
			[class*="--12"],
			[class*="--11"],
			[class*="--10"],
			[class*="--9"],
			[class*="--8"],
			[class*="--6"],
			[class*="--5"]
		) {
		grid-template-columns: repeat(4, 1fr);
	}

	:where(
			:is([class*="wrapper--"], [class*="container--"])[class*="--grid"]
				> [class*="content--"]
		):is(
			[class*="--five"],
			[class*="--six"],
			[class*="--seven"],
			[class*="--eight"],
			[class*="--nine"],
			[class*="--ten"],
			[class*="--eleven"]
		) {
		grid-column-start: span 4;
	}

	:where(
			:is([class*="wrapper--"], [class*="container--"])[class*="--grid"]
				> [class*="content--"][class*="--shift-"]
		):is(
			[class*="--five"],
			[class*="--six"],
			[class*="--seven"],
			[class*="--eight"],
			[class*="--nine"],
			[class*="--ten"],
			[class*="--eleven"]
		) {
		grid-column-end: -1;
	}

	:where(
			:is([class*="wrapper--"], [class*="container--"])[class*="--grid"]
				> [class*="content--"]
		):is(
			[class*="--shift-1"],
			[class*="--shift-2"],
			[class*="--shift-3"],
			[class*="--shift-4"],
			[class*="--shift-5"],
			[class*="--shift-6"],
			[class*="--shift-7"],
			[class*="--shift-8"],
			[class*="--shift-9"],
			[class*="--shift-10"]
		) {
		grid-column-start: 1;
	}

	:where(
			:is([class*="wrapper--"], [class*="container--"])[class*="--grid"]
		).container-main_sidebar
		> :is(header, article, footer, aside) {
		grid-column: 1 / -1;
	}

	:where(
			:is([class*="wrapper--"], [class*="container--"])[class*="--grid"]
		).container-main_sidebar
		> aside {
		position: initial;
		top: unset;
		grid-row: auto;
	}

	/**
	 *
	 * MARK: COMPS
	 *
	 */

	.grid-group:is(.news, .people, .events) :is(.grid-item, .grid-sizer) {
		width: 100%;
	}

	.grid-group .grid-item:last-child {
		margin-block-end: 0;
	}

	.grid-group .comp__person:nth-last-child(-n + 4) {
		margin-block-end: var(--gutter);
	}

	.grid-group .comp__news:nth-last-child(-n + 4) {
		margin-block-end: var(--size-md);
	}

	.grid-group:is(.news, .people) :is(.grid-item, .grid-sizer) {
		width: calc((100% - var(--gutter)) / 2);
	}

	.comp__error__message {
		font-size: var(--f-xl);
	}

	.comp__accordion__section {
		gap: var(--size-sm);
	}

	.video-controls.playing {
		opacity: 0.5;
	}

	.person__events__list {
		gap: var(--size-md);
	}

	.comp__event {
		row-gap: unset;
	}

	.comp__event__title {
		font-size: var(--f-lg);
	}

	.comp__event__heading {
		padding: var(--size-sm) var(--size-sm) var(--size-md);
	}

	.comp__event__sidebar {
		grid-column: 1 / -1;
		padding: var(--size-sm) var(--size-sm) var(--size-md);
	}

	.comp__partners__media .logo {
		max-height: var(--size-xl);
	}

	/* Tablet-optimized grid: max 4 per row for better readability */

	/* 1-4 items: natural fit */
	:where(.comp__partners__grid:has(:nth-child(1):last-child))
		> .comp__partners__media {
		--logo-flex-basis: 100%;
	}

	:where(.comp__partners__grid:has(:nth-child(2):last-child))
		> .comp__partners__media {
		--logo-flex-basis: calc((100% - var(--gutter)) / 2);
	}

	:where(.comp__partners__grid:has(:nth-child(3):last-child))
		> .comp__partners__media {
		--logo-flex-basis: calc((100% - (var(--gutter) * 2)) / 3);
	}

	:where(.comp__partners__grid:has(:nth-child(4):last-child))
		> .comp__partners__media {
		--logo-flex-basis: calc((100% - (var(--gutter) * 3)) / 4);
	}

	/* 5+ items: default 4 per row */
	:where(.comp__partners__grid:has(:nth-child(n + 5)))
		> .comp__partners__media {
		--logo-flex-basis: calc((100% - (var(--gutter) * 3)) / 4);
	}

	/* ---------------------------------

	MARK: BUTTONS

	---------------------------------- */

	/* HEADER */

	:where([class*="btn--"][class*="--header"])[class*="--item"] {
		line-height: var(--lh-xs);
	}

	:where(
			[class*="btn--"][class*="--header"]
		)[class*="--item"].menu-item-has-children
		> a {
		padding-right: calc(var(--px-32) + var(--size-2xs));
	}

	:where(
			[class*="btn--"][class*="--header"]
		)[class*="--item"].menu-item-has-children
		> a::after {
		height: var(--px-32);
		width: var(--px-32);
		margin-left: var(--size-2xs);
		bottom: 0;
	}

	:where([class*="btn--"][class*="--header"])[class*="--item"]:not(
			.menu-item-has-children
		)
		> :is(a, a:hover) {
		padding-inline-end: calc(var(--px-36) + var(--size-xs));
	}

	:where([class*="btn--"][class*="--header"])[class*="--item"]:not(
			.menu-item-has-children
		)
		> a::after {
		height: var(--px-16);
		width: var(--px-36);
		margin-left: var(--size-xs);
		bottom: var(--px-8);
		opacity: 1;
		translate: 0 0;
	}

	/* ---------------------------------

	MARK: FORM

	---------------------------------- */

	.field-group {
		flex-basis: 100%;
	}

	/* ---------------------------------

	MARK: FILTERS

	---------------------------------- */

	.filters-wrapper {
		grid-template-columns: 1fr;
	}

	.comp__filters {
		grid-template-columns: 1fr;
	}

	:is(.comp__filters__controls .filters-submit, .comp__filters__tax) {
		display: none;
	}

	:is(.comp__filters__controls, .comp__filters__results) {
		grid-column: 1 / -1;
		grid-row: 2 / 3;
	}

	:is(
			.comp__filters__searchbar ~ .comp__filters__controls,
			.comp__filters__searchbar ~ .comp__filters__results
		) {
		grid-row: 3 / 4;
	}

	.filters-reset {
		margin-left: auto;
	}

	.fullscreen-trigger {
		display: flex;
	}

	.comp__filters__mobile {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100dvh;
		z-index: 300;
		translate: 0 100%;
		transition: var(--t-fonts);
		display: flex;
	}

	.comp__filters__mobile.open {
		translate: 0 0;
	}

	.comp__filters__results {
		justify-self: start;
	}

	.search-bar {
		height: var(--px-56);
		gap: var(--size-xs);
	}

	.search-input {
		font-family: var(--f-arial);
		font-style: normal;
		font-size: var(--f-md);
		letter-spacing: var(--ls-0);
		line-height: var(--lh-2xl);
		padding-inline-start: calc((var(--size-xs) * 2) + var(--px-32));
	}

	.search-toggle {
		left: var(--size-xs);
	}

	/**
	 *
	 * MARK: FADER
	 *
	 */

	/**
	 *
	 * MARK: BLOCKS
	 *
	 */

	.editorial-blocks {
		gap: var(--size-xs);
	}

	:is(.block__gallery, .block__news_carousel, .block__tickets_carousel) {
		gap: var(--size-md);
	}

	.block__side_image > * {
		flex: 1;
	}

	:is(.block__side_image__img) {
		aspect-ratio: 1 / 1;
	}

	/**
	 *
	 * MARK: HEADER
	 *
	 */

	.header__left_btn {
		display: none;
	}

	.header__logo {
		position: initial;
		margin: unset;
	}

	.header__right_btn {
		margin-left: unset;
	}

	/* .header.is-menu :is(.header__logo, .header__left_btn) {
		display: none;
	} */
	/*
	.header.is-menu .header__right_btn {
		margin: auto;
	} */

	.header__nav__menu {
		padding: var(--size-lg) var(--gutter-outer);
		gap: var(--size-xs);
	}

	.header__nav__top_item {
		font-size: var(--f-xl);
	}

	/**
	 *
	 * MARK: FOOTER
	 *
	 */

	.footer__nav {
		row-gap: var(--size-2xl);
	}

	.footer__nav__social {
		grid-column-end: unset;
	}

	/**
	 *
	 * MARK: FRONT
	 *
	 */

	.front__hero__heading .separator::after {
		content: "\00A0";
	}

	/**
	*
	* MARK: FAQ
	*
	*/

	.faq__main {
		gap: var(--size-lg);
		padding-block-start: var(--size-sm);
		padding-inline-end: 0;
	}

	.faq__sidebar {
		display: none;
	}

	/**
	*
	* MARK: NEWS
	*
	*/

	/**
	*
	* MARK: ARTICLE
	*
	*/

	.news__article {
		padding-inline-end: unset;
	}

	/**
	*
	* MARK: PROGRAM LIST
	*
	*/

	/**
	*
	* MARK: PERSON
	*
	*/

	.person__container {
		gap: var(--size-sm);
	}

	.person__main {
		padding-inline-end: unset;
	}

	/**
	*
	* MARK: SCHEDULE
	*
	*/

	.schedule-grid {
		grid-template-columns: 1fr 3fr;
	}

	/* :is(.schedule__grid, .schedule__toolbar) {
		display: none;
	} */

	/* :is(.schedule__grid__mobile, .schedule__toolbar__mobile) {
		display: flex;
	} */

	/**
	*
	* MARK: TICKETS
	*
	*/

	.tickets__section__row:not(.mobile) {
		flex-direction: column;
		align-items: stretch;
		gap: var(--size-2xs);
	}

	.tickets__section__heading:not(.mobile) > * + *::before {
		content: unset;
	}

	.tickets__section__purchase {
		flex-direction: column;
		align-items: start;
		gap: var(--size-sm);
	}

	.tickets__section__ticket .mobile {
		display: flex;
	}

	.tickets__section__ticket .label {
		font-size: var(--f-sm);
		letter-spacing: var(--ls-1);
		line-height: var(--lh-sm);
	}

	.tickets__section__row
		:is(
			.tickets__section__title,
			.tickets__section__venue,
			.tickets__section__date,
			.tickets__section__info
		):not(.mobile) {
		display: none;
	}

	.tickets__section__row .tickets__section__purchase .link {
		display: none;
	}

	:is(.tickets__section__row.mobile, .tickets__footer) .link {
		width: 100%;
	}

	.tickets__section__heading:not(
			.mobile,
			:has(> .tickets__section__release)
		) {
		display: none;
	}

	:is(.tickets__section__purchase, .tickets__section__heading) > * {
		height: auto;
		min-height: var(--px-24);
	}

	/**
	*
	* MARK: CONTACT
	*
	*/

	.contact__container {
		row-gap: var(--size-md);
		overflow-x: hidden;
	}

	.contact__content {
		padding-inline-end: var(--size-sm);
	}

	.contact__form {
		padding: unset;
	}

	/**
	*
	* MARK: 404
	*
	*/
}

/**
* Tablet Portrait: > 768px (< 900px)
*/
@media (max-width: 900px) {
	/**
	 *
	 * MARK: ROOT VARIABLES
	 *
	 */

	/**
	 *
	 * MARK: HEADER
	 *
	 */

	/**
	 *
	 * MARK: POLICIES GLOBALS
	 *
	 */
}

/**
* Landscape Devices: > 768px (< 1024px)
*/
@media (min-aspect-ratio: 5/4) and (max-width: 1024px) {
}
