:root {
	--accent1: #0c04ee;
	--accent2: #f22804;
	--lightgrey: #dbdbdb;
	--page-padding: 30px;
	--grid-gap: 24px;
	--narrow-width: 60%;
}

body {
	font-family: sans-serif;
	line-height: 1.2;
	background: #f9f9f9;
	color: #000;
}
a img {
	display: block;
}

a:link, a:visited {
	color: var(--accent1);
	transition: 0.5s;
	text-decoration: none;
}
a:hover {
	color: var(--accent1);	
}
img {
	max-width: 100%;
}
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	font-weight: normal;
	color: var(--accent1) !important;
}
h1, .h1 {
	font-size: 28px;
}
h2, .h2 {
	font-size: 24px;
}
h3, .h3 {
	font-size: 20px;
}
ul:not(.entry-content li) {
	padding: 0;
	margin: 0;
}
li:not(.entry-content li) {
	list-style: none;
}
address {
	font-style: normal;
}
button {
	background: var(--accent1);
	color: #fff;
	border-radius: 100px;
	font-size: 18px;
	padding: 14px 20px;
	border: 0;
}
hr {
	display: block;
	overflow-x: hidden;
	overflow-y: hidden;
	color: gray;
	margin-block-start: 0.5em;
	margin-inline-start: auto;
	border-top-style: inset !important;
	border-top-width: 1px !important;
}
.no-margin {
	margin: 0 !important;
}
header {
	h1, h2 {
		margin-top: 0;	
	}
}

/* LAYOUT */
#page {
	padding-inline: var(--page-padding);
}
.layout-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 50px var(--grid-gap);
}
.layout-grid > * {
	min-width: 0;
}
/* Layout 1: sidebar plus three-column listing */
.layout-one > :first-child {
	grid-column: 1;
}
.layout-one__content {
	grid-column: 2 / -1;
	display: grid;
	grid-template-columns: subgrid;
	gap: inherit;
}
.layout-one__content header {
	grid-column: 1 / -1;
}
/* Layout 2: four-column listing */
.layout-two > * {
	grid-column: span 1;
}
/* Layout 3: sidebar plus large content area */
.layout-three > :first-child {
	grid-column: 1;
}
.layout-three > :last-child {
	grid-column: 2 / -1;
}
/* Layout 4: two equal columns */
.layout-four > * {
	grid-column: span 2;
}
/* Layout 5: centred two-column listing */
.layout-five > * {
	grid-column: span 1;
}
.layout-five > :nth-child(odd) {
	grid-column-start: 2;
}
.layout-five > :nth-child(even) {
	grid-column-start: 3;
}
/* Layout 6: three-column main area plus one-column sidebar */
.layout-six > :first-child {
	grid-column: 1 / span 3;
}
.layout-six > :last-child {
	grid-column: 4;
}
/* Layout 7: one column, two columns, one empty column */

.layout-seven > :first-child {
	grid-column: 1;
}
.layout-seven > :last-child {
	grid-column: 2 / span 2;
}
.layout-item img {
	display: block;
	width: 100%;
	height: auto;
}
.two-column-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--grid-gap);
}
.layout-grid-max-width {
	max-width: 900px;
	margin: 0 auto;
}
@media (max-width: 1000px) {
	.layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.layout-one > :first-child,
	.layout-three > :first-child {
		grid-column: 1;
	}
	.layout-one__content,
	.layout-three > :last-child {
		grid-column: 2;
	}
	.layout-one__content {
		grid-template-columns: minmax(0, 1fr);
	}
	.layout-two > *,
	.layout-four > *,
	.layout-five > * {
		grid-column: span 1;
	}
	.layout-five > :nth-child(odd),
	.layout-five > :nth-child(even) {
		grid-column-start: auto;
	}
	.layout-six > :first-child {
		grid-column: 1;
	}
	.layout-six > :last-child {
		grid-column: 2;
	}
}
@media (max-width: 700px) {
	:root {
		--page-padding: 20px;
		--grid-gap: 20px;
	}
	.layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.layout-one > :first-child,
	.layout-one__content,
	.layout-three > :first-child,
	.layout-three > :last-child,
	.layout-two > *,
	.layout-four > *,
	.layout-five > *,
	.layout-six > *,
	.layout-seven > * {
		grid-column: 1  !important;;
	}
	.two-column-grid {
		grid-template-columns: 1fr;
	}
}
#colophon {
	margin: 4rem -30px -40px -30px;
	.wp-block-columns:last-child {
		margin-bottom: 0;
	}
}
@media (max-width: 700px) {
	#colophon {
		margin-left: calc(var(--page-padding) * -1);
		margin-right: calc(var(--page-padding) * -1);
	}
}
.page-template-page-festival-home #colophon {
	margin-top: 0;
}

/* NAVIGATION */
#masthead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--page-padding);
	background-color: var(--accent2);
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
	
	.site-title {
		margin: 0;
	}
	.site-mark {
		width: 75px;
		height: auto;
		display: block;
		fill: var(--accent1);
	}
	
	.site-branding a:hover .site-mark {
		fill: #fff;
	}
	ul#primary-menu {
		gap: 25px;
		font-size: 24px;
		align-items: baseline;
		a {
			color: var(--accent1);
		}
	}
}
#site-navigation {
	a {
		padding-bottom: 2px;
	}
	a:hover {
		color: #fff !important;
	}
	.current-page-ancestor a, .current-menu-item a, a.current-menu-item, .single-exhibition #menu-item-247 a {
		border-bottom: 2px solid var(--accent1);
		padding-bottom: 0;
	}
	.current-page-ancestor a:hover, .current-menu-item a:hover, a.current-menu-item:hover, .single-exhibition #menu-item-247 a:hover {
		border-color: #fff;
	}
}
.archive #menu-item-1366 a {
	border-bottom: 2px solid #000;
	padding-bottom: 0;
}

/*
.secondary-navigation {
	background: var(--accent2);
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
	padding: var(--page-padding);
	padding-top: 0;
	ul {
		display: flex;
		flex-wrap: wrap;
		gap: 25px;
		font-size: 24px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	a {
		color: var(--accent1);
		text-decoration: none;
	}
	a[aria-current="page"] {
		border-bottom: 2px solid var(--accent1);
	}
	a[aria-current="page"]:hover {
		border-color: #fff;
	}
	
	a:hover {
		color: #fff;
	}
}

.page-id-1353 .menu-item-1093 a {
	border-bottom: 2px solid var(--accent1);
}
.page-template-page-festival-home .secondary-navigation {
	margin-bottom: 0;	
}
*/
@media screen and (min-width: 800px) {
	.single-exhibition .menu-item-1093 a,
	.single-event .menu-item-1094 a {
		color: var(--accent1)!important;
	}
}
.sub-nav ul {
	margin: 2rem 0 2rem 0 !important;
	padding: 0 !important;
	display: flex;
	gap: 20px 5px;
	font-size: 18px;
	flex-wrap: wrap;
}
.sub-nav li {
	list-style: none;
}
.sub-nav a {
	color: var(--accent1);
	border: 1px solid var(--accent1);
	border-radius: 100px;
	padding: 6px 12px;
}
.sub-nav a.is-active, .sub-nav a:hover, .tag-photo-fringe-projects a.link-photo-fringe-projects, .page-id-1353 a.link-curated-trails, .sub-nav a[aria-current="page"]  {
	color: #fff;
	background-color: var(--accent1);
	border-color: var(--accent1);
}
.facebook, .instagram {
	text-indent: -9999px;
	width: 25px;
	height: 25px;
	background-color: #000;
	transform: translateY(1px);
}
.facebook {
	-webkit-mask: url('../images/logo-facebook-blue.svg') center / contain no-repeat;
	mask: url('../images/logo-facebook-blue.svg') center / contain no-repeat;
	background-color: var(--accent1);	
}
.instagram {
	-webkit-mask: url('../images/logo-instagram-blue.svg') center / contain no-repeat;
	mask: url('../images/logo-instagram-blue.svg') center / contain no-repeat;
	background-color: var(--accent1);	
}

.facebook:hover, .instagram:hover {
	background-color: #fff;	
}
/*.search-icon a {
	display: block;
	text-indent: -9999px;
	width: 25px;
	background: transparent url('../images/search.svg') no-repeat center center;
}*/
.desktop-menu {
	display: block;
}
.mobile-menu {
	display: none;
}
.mobile-menu.toggled {
	display: block;
}

#menu-item-1363.current-page-ancestor a {
	border-bottom: none !important;
}
@media screen and (max-width: 799px) {
	#masthead {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%; 
		padding: 10px var(--page-padding);
		z-index: 9997;
		margin: 0;
		background: #f02508;
	}
	.admin-bar #masthead {
		top: 46px;
	}
	#page {
		padding-top: 70px;
	}
	.site-mark {
		width: 50px !important;
	}
	.secondary-navigation {
		display: none;
	}
	.desktop-menu {
		display: none;
	}
	#site-navigation {
		position: relative;
		z-index: 10000;
	}
	.menu-toggle {
		position: fixed;
		top: 20px;
		right: 25px;
		background: none;
		border: 0;
		padding: 0;
		cursor: pointer;
		color: var(--accent1);
		z-index: 9999;
	}
	.admin-bar .menu-toggle {
		top: 66px;
	}
	.menu-icon {
		width: 32px;
		height: 32px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
	}
	
	.menu-icon-close {
		display: none;
	}
	
	.menu-toggle[aria-expanded="true"] .menu-icon-open {
		display: none;
	}
	
	.menu-toggle[aria-expanded="true"] .menu-icon-close {
		display: block;
		color: var(--accent1);
	}
	.mobile-menu {
		position: fixed;
		inset: 0;
		top: 69px;
		width: 100%;
		height: calc(100dvh - 60px);
		background: var(--accent2);
		z-index: 9998;
		overflow-y: auto;
		padding: 25px var(--page-padding) 40px;
		box-sizing: border-box;
		color: #fff;
	}
	
	/* Top level */
	.mobile-menu #mobile-menu > li {
		margin-bottom: 18px;
	}
	
	.mobile-menu #mobile-menu > li > a {
		display: block;
		color: var(--accent1);
		font-size: 24px;
		line-height: 1.1;
	}
	
	/* Child pages */
	.mobile-menu #mobile-menu > li > .sub-menu {
		margin-top: 8px;
		padding-left: 24px;
	}
	
	.mobile-menu #mobile-menu > li > .sub-menu > li {
		margin-bottom: 4px;
	}
	
	.mobile-menu #mobile-menu > li > .sub-menu > li > a {
		color: var(--accent1);
		font-size: 20px;
		line-height: 1.2;
	}
	
	/* Social links */
	.mobile-menu .facebook,
	.mobile-menu .instagram {
		display: inline-block;
		margin-top: 15px;
		width: 30px;
		height: 30px;
		margin-right: 15px;
	}
}

/* DETAILS */
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	text-transform: capitalize;
}
.tags a {
	border: 1px solid var(--accent1);
	color: var(--accent1);
	padding: 6px 10px;
	border-radius: 20px;
	font-size: 12px;
	display: block;
}
.tags a:hover {
	background: var(--accent1);
	color: #fff;
}
.venue {
	padding-left: 20px;
	background: transparent url('../images/map-marker.svg') no-repeat left top;
	background-size: 15px;
	color: var(--accent1);
}
section.border {
	border-bottom: 1px solid var(--accent1);
	margin-bottom: 30px;
	padding-bottom: 30px;
}
.exhibition-card, .event-card {
	img {
		margin-bottom: 15px;
		max-height: 390px;
		width: auto;
	}
	h3, .h3 {
		margin: 0;
	}
	.tags {
		margin-top: 20px;
	}
}
.exhibition-card:hover, .event-card:hover {
	opacity: 0.7;
}

.post-thumbnail img, .news img {
	aspect-ratio: 1;
	overflow: hidden;
	object-fit: cover;
}
.news img {
	width: 100%;
	transition: 0.5s;
}
.news a:hover img {
	opacity: 0.7;
}
.navigation {
	margin: 30px auto;
}
a.button {
	background: var(--accent1);
	color: #fff !important;
	font-size: 18px;
	padding: 14px 20px;
	border-radius: 100px;
	display: inline-block;
}
a.button:hover {
	background: var(--accent2);	
}
.content-card a {
	color: #000;
}
.content-card a:hover {
	color: var(--accent1);
}
.content-card a:hover img {
	opacity: 0.7;	
}

section.bg-accent2 {
	background: var(--accent2);
	
	border-color: var(--accent2);
	padding-top: 50px !important;
	/*
	color: #fff;
	a {
		color: #fff;
	}
	.button {
		background: #fff;
		color: var(--accent2) !important;
	}
	h2 {
		color: #fff !important;
	}*/
}
section.accent2 {
	color: var(--accent2);
	a {
		color: var(--accent2) !important;
	}
	a.button {
		color: #fff !important;
	}
	
	.venue {
		color: var(--accent1);
		background: transparent url('../images/map-marker-active.svg') no-repeat left top;
		background-size: 15px;
	}
}

.tag-photo-fringe-projects h1.page-title {
	display: none;
}

.single article {
	margin-top: 2rem;
}

/* CALENDAR */
.festival-calendar {
	background: #fff;
	padding: var(--grid-gap);
}
.festival-calendar__header {
	/*display: grid;*/
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin: 5px 0 1rem 0;
}
.festival-calendar__header h1 {
	margin: 0;
	text-align: center;
	font-size: 16px;
}
.festival-calendar__navigation {
	display: none;
}
.festival-calendar__navigation:last-child {
	justify-self: end;
}
.festival-calendar__weekdays,
.festival-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}
.festival-calendar__weekdays span {
	padding: 0.75rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--accent1)
}
.festival-calendar__day {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.75rem;
	color: inherit;
	text-decoration: none;
	border-radius: 100px;
	aspect-ratio: 1;
}
.festival-calendar__day--empty {
	pointer-events: none;
}
.festival-calendar__day--selected {
	background: var(--accent1) !important;
	color: #fff !important;
}
.exhibitions-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 50px var(--grid-gap);
}
@media (max-width: 700px) {
	.festival-calendar {
		margin-top: -2rem;
		margin-left: calc(var(--page-padding) * -1);
		margin-right: calc(var(--page-padding) * -1);
	}
	.exhibitions-grid-3 {
		display: flex;
		flex-direction: column;
	}
	.exhibition-card, .event-card, .content-card a {
		display: grid;
		grid-template-columns: 2fr 3fr;
		gap: var(--grid-gap);
	}
	.layout-grid article {
		margin: 0;
	}
}

/* MAP PAGE */

.festival-map-page {
	.layout-grid {
		height: calc(100vh - 280px);
		background: var(--accent1);
	}
	#festival-exhibition-map {
		height: 100%;
	}
	.festival-map-panel {
		height: 100%;
		overflow-y: scroll;
		padding: var(--grid-gap);
		padding-left: 0;
		color: #fff;
		a, h2, h3 {
			color: #fff !important;
		}
	}
	.festival-map-panel__link {
		display: flex;
		align-items: center;
		gap: 1rem;
		border-bottom: 1px solid var(--lightgrey);
		margin: 0 0 1rem 0;
		padding: 0 0 1rem 0;
		img {
			width: 100px;
		}
	}
	.festival-map-filter {
		margin-bottom: 2rem;
	}
	@media (min-width: 701px) {
	.festival-map-filter {
		margin: 0 0 2rem 0;
	}
	}
}
.festival-map-panel__exhibition-name,
.festival-map-panel__artist {
	display: block;
}
.festival-map-panel__exhibition-name {
	opacity: 0.8;
}
@media (max-width: 700px) {
	.festival-map-filter {
		text-align: center;
	}
	.festival-map-page {
		.layout-grid {
			height: calc(100dvh - 180px);
			margin: 0 -20px 0 -20px;
			gap: 0;
			display: flex;
			flex-direction: column;
		}
		.layout-six > * {
			grid-column: 1;
		}
		#festival-exhibition-map {
			display: block;
		}
		.festival-map-panel {
			padding-left: var(--grid-gap);
		}
	}
	
	
	
}


/* EXHIBITION TEMPLATE */
.exhibition__header {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
}
@media (min-width: 701px) {
	.exhibition__header {
		flex-direction: row;
		justify-content: space-between;
		margin-bottom: 0;
		align-items: center;
	}
}
.exhibition__venue-map {
	width: 80%;
	height: 400px;
	margin: 1.5rem 0;
	filter: contrast(2.20>);
}
.exhibition__venue-map .marker {
	display: none;
}
.exhibition__venue-map .leaflet-popup-content h3 {
	margin: 0 0 0.35rem;
}
.exhibition__venue-map .leaflet-popup-content p {
	margin: 0;
}
.exhibition__main-image {
	text-align: center;
 	img {
		max-height: 60vh;
		width: auto;
		margin: 0 auto;
		max-width: 90%;
	}
}
.exhibition__image-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.exhibition__image-button img {
	display: block;
	width: auto;
	height: auto;
}
.exhibition__opening-table {
	text-align: left;
	border-collapse: collapse;
	th {
		font-weight: normal;
	}
}
.custom-exhibition {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100vh;
	.exhibition-gallery__header {
		margin-bottom: 1rem;
	}
}
.custom-exhibition__iframe {
	flex: 1;
	display: block;
	width: 100%;
	min-height: 0;
	border: 0;
}
.exhibition__tag-list a {
	font-size: 16px;
}
@media (max-width: 700px) {
	.exhibition__article {
		.layout-grid > :first-child {
			order: 2;
		}
		.layout-grid > :last-child {
			order: 1;
		}
	}
}
/* EVENTS */
.event-layout {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--grid-gap);
	border-bottom: 1px solid var(--accent1);
	margin-bottom: 30px;
	padding-bottom: 30px;
	figure {
		margin-top: 0;
		img {
			aspect-ratio: 1;
			overflow: hidden;
			object-fit: cover;
		}
	}
}
@media (max-width: 700px) {
	.event-layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.event-layout > :first-child,
	.event-layout > :nth-child(2),
	.event-layout > :last-child {
		grid-column: 1;
	}

}

/* FESTIVAL HOMEPAGE */

.festival-brand {
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
	background-color: var(--accent2);
	margin-bottom: 2rem;
	position: relative;
	text-align: center;
	min-height: calc(100vh - 135px);
	display: flex;
	align-items: center;
}
@media (max-width: 699px) {
	.festival-brand {
		background-color: #f02508;
		min-height: calc(100vh - 10px);
		box-sizing: border-box;
		padding: 0 20px;
	}
}

.video-desktop {
	display: none;
}
@media (min-width: 600px) {
.video-mobile {
	display: none;
}
.video-desktop {
	display: inherit;
}
}


.video-mobile {
	display: none;
}

.video-wrapper {
	overflow: hidden;
	max-width: 1000px;
	margin: 0 auto;
}

.video-wrapper video {
	display: block;
	width: 100%;
	height: auto;
	clip-path: inset(2px);
}
.festival-brand a {
}

.home-intro-text {
	font-size: 36px;
	color: var(--accent1);
}
.home-intro {
	align-items: center;
}
.home-intro-text p {
	max-width: 1000px;
	margin: 0;	
	a {
	font-size: 50%;	
	}
}
@media (max-width: 700px) {
	.home-intro-text {
		font-size: 28px;
	}
}

/*
.block {
	margin: 1rem;
}
.home-link {
	background: var(--accent1);
	color: #fff !important;
	font-size: 36px;
	text-align: center;
	padding: calc(50% - 20px) 10px;
	border-radius: 50%;
	aspect-ratio: 1;
	width: 100%;
	display: block;
	position: relative;
	overflow: hidden;
	z-index: 0;
}
.home-link:hover {
	transform: scale(0.98);	
}

.home-link::before {
	content: "";
	position: absolute;
	width: 70.7%;
	aspect-ratio: 1;
	background: var(--accent2);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.25s ease;
	z-index: -1;
}

.home-link:hover::before {
	transform: translate(-50%, -50%) scale(1);
}
*/

.festival-home-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	border-top: 1px solid var(--accent1);
	margin: 3rem 0;
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
}

.festival-home-nav__link {
	color: var(--accent1) !important;
	background: transparent;
	font-size: 36px;
	line-height: 1;
	padding: 1em var(--page-padding);
	border-bottom: 1px solid var(--accent1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-decoration: none;
	transition:
		background-color 0.15s,
		color 0.15s;
}

.festival-home-nav__link::after {
	content: "";
	width: 50px;
	height: 50px;
	flex: 0 0 50px;

	background-color: currentColor;

	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 16h20M18 9l7 7-7 7' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;

	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 16h20M18 9l7 7-7 7' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
}

.festival-home-nav__link:hover {
	background: var(--accent1);
	color: #fff !important;
}
@media (max-width: 700px) {
	.festival-home-nav {
		grid-template-columns: 1fr;
	}

	.festival-home-nav__link {
		min-height: 90px;
	}
}

.home-v2 {
	section.border {
		margin-left: calc(var(--page-padding) * -1);
		margin-right: calc(var(--page-padding) * -1);
		padding-left: var(--page-padding);
		padding-right: var(--page-padding);

	}
}

section.dark {
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
	padding: 40px var(--page-padding) 0 var(--page-padding) !important;
	background: var(--accent1);
	color: #fff;
	a, a:hover {
		color: #fff;
	}
	h2 {
		color: #fff !important;
	}
	.button {
		background: #fff;
		color: var(--accent1) !important;
	}
	.button:hover {
		background: var(--accent2);
	}
}

.home-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: var(--page-padding);
	div {
		display: flex;
		gap: 5px;
	}
	h2 {
		font-size: 36px;
		margin-bottom: 0;
	}
	.button {
		margin: 0 !important;
	}
}
@media (max-width: 700px) {
	.home-header {
		flex-direction: column;	
		align-items:flex-start;
		gap: 20px;
		padding-bottom: 60px;
		div {
			flex-direction: column;	
			align-items:flex-start;
		}
	}

}



/*
.festival-home-buttons div:nth-child(2) .home-link {
	border-top-left-radius: 0;	
	border-bottom-left-radius: 0;	
}
.festival-home-buttons div:nth-child(3) .home-link {
	border-top-left-radius: 0;	
	border-top-right-radius: 0;	
}
.festival-home-buttons div:nth-child(4) .home-link {
	border-bottom-left-radius: 0;	
	border-bottom-right-radius: 0;	
}*/


.home-featured {
	.tags {
		display: none;
	}
}


.featured-exhibition-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.featured-exhibition-tags a {
	padding: 14px 20px;
	border: 1px solid var(--accent1);
	border-radius: 100px;
}
.featured-exhibition-tags a:hover {
	background: var(--accent1);
	color: #fff;	
}

.page-template-page-festival-home section {
	margin-bottom: 2rem;
	padding: 1rem 0 3rem;
}

.browse-map {
	margin-left: calc(var(--page-padding) * -1);
	margin-right: calc(var(--page-padding) * -1);
	background: #fff url('../images/map.jpg') no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	height: 40vh;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
}

.page-template-page-festival-home .exhibition-card img,
.page-template-page-festival-home .event-card img
 {
	aspect-ratio: 1;
	overflow: hidden;
	object-fit: cover;
}

.page-template-page-festival-home .button {
	margin-top: 40px;
}


.home-intro-images {
	position: relative;
	height: 420px;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.home-intro-images__link {

	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 1.6s ease;

}

.home-intro-images__link.is-active {
	opacity: 1;
	pointer-events: auto;
}

.home-intro-images__image {

	display: block;
	width: auto;
	height: auto;
	max-width: 85%;
	max-height: 360px;
	object-fit: contain;

}
@media (max-width: 700px) {
	.home-intro-images {
		height: 300px;
	}

	.home-intro-images__link {
		width: 100%;
		max-width: 100%;
	}

	.home-intro-images__image {
		max-width: 90%;
		max-height: 260px;
		margin: 0 auto;
	}
}

/* FESTIVAL HOMEPAGE OLD 
.page-template-page-festival-home {
	article {
		height: calc(100vh - 174px);
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 50px 0 30px 0;
		img {
			height: calc(100vh - 330px);
			width: auto;
		}
		.featured-exhibition__content {
			width: 100%;
			display: flex;
			justify-content: space-between;
			align-content: center;
		}
		.tags {
			margin: 0;
		}
	}
	.pf-brand-spacer {
		height: calc(100vh - 230px);
		background: var(--accent2) url('../images/brand.png') no-repeat center center;
		background-size: 1000px;
		background-attachment: fixed;
		margin: 0 -35px;
	}
	.secondary-navigation ul {
		margin-bottom: 0;
	}
}
*/

/* POSTS */
.single-post {
	.entry-header, .post-thumbnail {
		max-width: 500px
	}
	.entry-content {
		margin-top: -0.8rem;
	}
}
.layout-three h1 {
	margin-top: 0.5em;
}
.layout-three .entry-content {
	margin-top: 0;
}

.entry-content h1 {
	margin-top: 0.4em;
}

/* WORDPRESS BLOCKS */

:where(.is-layout-grid) {
	gap: var(--grid-gap);
}

/* SEARCH */

.search-form {
	width: 100%;
	max-width: 500px;
	margin: 3rem auto 3rem auto;
	.search-field {
		width: calc(100% - 110px);
		padding: 1rem 1.5rem;
		border-radius: 100px;
	}
	.search-submit {
		background: var(--accent1);
		color: #fff;
		border:0;
		border-radius: 100px;
		padding: 1.3rem;
	}
}




/* PAGES */

.page-template-default .entry-content p,
.page-template-default .entry-content ul,
.page-template-default .entry-content ol {
	max-width: 800px;
}
.entry-content ul {
	padding-left: 1em !important;
}
.entry-content li {
	padding-left: 0.2em !important;
}


:where(.wp-block-columns.has-background) {
	padding-inline: var(--page-padding) !important;
}