/* title */
body:not(.single-ak_object) .plura-wp-title {
	text-align: center;
}

.plura-wp-breadcrumbs {
	align-items: center;
	font-size: var(--wp--preset--font-size--small);
}

.plura-wp-title + .plura-wp-breadcrumbs {
	margin-block-start: 0;
}


/* layout */
@media all and (max-width: 767px) {
	.ak-object-info-holder {
		padding-right: var(--wp--style--root--padding-right) !important;
		padding-left: var(--wp--style--root--padding-left) !important;
	}
}

@media all and (min-width: 768px) {
	.ak-object-info-holder {
		padding-left: calc( 2 * var(--ak-globals-theme-gap) ) !important;
		padding-top: calc( 2 * var(--ak-globals-theme-gap) ) !important;
	}
}

.ak-has-bg {
	background-image: var(--ak-config-bg);
}

.wp-block-group {
	background-color: transparent;
}


/* blurb */
.ak-blurb {
	align-items: center;
	display: grid;
	grid-gap: 10px;
	grid-template-columns: auto 1fr;
}

.ak-blurb::before {
	font-size: 1.6rem;
}


/* icons */
.ak-icon::before {
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
}

.ak-icon.ak-icon-instagram::before {
	font-family: "Font Awesome 5 Brands";
	content: "\f16d";
}

.ak-icon.ak-icon-mail::before {
	content: "\f0e0";
}


/* header */
header > .wp-block-group {
	background-color: transparent;
	padding-bottom: 30px !important;
	padding-top: 30px !important;
	transition: background-color .2s ease-out, padding-bottom .2s ease-out, padding-top .2s ease-out;
}

header.ak-sticky > .wp-block-group {
	background-color: white;
	padding-bottom: 15px !important;
	padding-top: 15px !important;
}

header > .wp-block-group nav .wp-block-navigation-item a {
	transition: color .4s ease-out;
}


/* object: info labels */
.single-ak_object :is(
	.plura-wp-post-meta .plura-wp-post-meta-item[data-label],
	.plura-wp-post-terms .plura-wp-post-terms-taxonomy[data-taxonomy]
)::before {
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
}

.single-ak_object .plura-wp-post-term:not(:only-child):not(:last-child) .plura-wp-post-term-link::after,
.single-ak_object .plura-wp-post-term:not(:only-child):last-child .plura-wp-post-term-link::before {
	text-decoration: unset;
	display: inline-block;
}

.single-ak_object .plura-wp-post-term:not(:only-child):not(:last-child):not(:nth-last-child(2)) .plura-wp-post-term-link::after {
	content: ', ';
}

.single-ak_object .plura-wp-post-term:not(:only-child):last-child .plura-wp-post-term-link::before {
	content: " and\00a0";
}


/* group: labels */
:is(.plura-wp-posts, .plura-wp-terms)[data-label]::before {
	font-size: var(--ak-globals-theme-font-size-small);
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
	text-transform: uppercase;
}

/* group: essential grid label */
.ak-eg-holder[data-label]::before {
	font-size: var(--ak-globals-theme-font-size-small);
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
	margin-bottom: var(--ak-globals-theme-gap-small);
	text-transform: uppercase;
}


/* group: list */
:is(.plura-wp-posts, .plura-wp-terms)[data-layout="list"]::before {
	color: var(--ak-globals-theme-color-orange);
}

:is(.plura-wp-posts, .plura-wp-terms)[data-layout="list"] :is(.plura-wp-post, .plura-wp-term) {
	color: var(--ak-globals-theme-color-grey-dark);
	font-size: var(--ak-globals-theme-font-size-xsmall);
	text-transform: uppercase;
}


/* exhibition: datetime */
.single-ak_exhibition .ak-datetime {
	font-size: var(--ak-globals-theme-font-size-xsmall);
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
	text-transform: uppercase;
}

.ak-datetime .ak-datetime-item.opening::before {
	font-weight: var(--ak-globals-theme-font-size-weight-body);
}


/* object: single */
.single-ak_object .ak-title-breadcrumbs {
	align-items: start;
}

.single-ak_object .ak-object-image {
	border: 1px solid rgba( var(--ak-globals-theme-color-orange-rgb), .2);
}

.single-ak_object .ak-eg-holder .plura-wp-post-meta-item.title {
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
}


/* object: info toggle icons */
@media (min-width: 768px) {

	.single-ak_object .ak-object-core .ak-object-info-toggle-trigger {
		gap: 5px;
	}

	.single-ak_object .ak-object-core .ak-object-info-toggle-trigger::before {
		content: '\f05a';
		font-weight: 900;
	}

	.single-ak_object .ak-object-core[data-info="1"] .ak-object-info-toggle-trigger::before {
		content: '\f056';
	}

}


/* object: related */
.plura-wp-posts[data-related] {
	gap: var(--ak-globals-grid-gap);
}

.plura-wp-posts[data-related]::before {
	grid-column: 1 / -1;
	margin-bottom: calc( var(--ak-globals-theme-gap) / 2);
}


/* form (CF7) */
.wpcf7-form {
	--n: 40px;
}

.wpcf7-form > p {
	display: contents;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: calc( var(--n) / 2);
}

.wpcf7-form input[type="email"],
.wpcf7-form input[type="submit"],
.wpcf7-form input[type="text"],
.wpcf7-form textarea {
	width: 100%;
}

.wpcf7-form input[type="email"],
.wpcf7-form input[type="text"],
.wpcf7-form input[type="submit"] {
	height: var(--n);
}

.wpcf7-form input[type="email"],
.wpcf7-form input[type="text"],
.wpcf7-form textarea {
	padding: calc( var(--n) / 4);
}

.wpcf7-form input[type="submit"] {
	border: none;
	font-size: var(--ak-globals-theme-font-size-small);
	font-weight: var(--ak-globals-theme-font-size-weight-xtra-bold);
	text-transform: uppercase;
}

.wpcf7-form .wpcf7-not-valid-tip {
	font-size: var(--ak-globals-theme-font-size-xsmall);
}


/* font family applications — must come last to override weight/size set above */
header nav .wp-block-navigation-item .wp-block-navigation-item__content,
.ak-title-breadcrumbs .p-title,
:is(.plura-wp-posts, .plura-wp-terms)[data-label]::before,
.single-ak_object .ak-object-core .ak-object-info-toggle-trigger::after {
	font-family: var(--ak-globals-theme-font-heading);
	font-weight: 400;
	font-style: normal;
}

:is(.plura-wp-posts, .plura-wp-terms)[data-label]::before,
.single-ak_object .ak-object-core .ak-object-info-toggle-trigger::after {
	font-size: var(--ak-globals-theme-font-size-small);
	letter-spacing: 2px;
	text-transform: none;
}

.ak-title-breadcrumbs .p-title {
	font-size: var(--ak-globals-theme-font-size-h1);
	line-height: var(--ak-globals-theme-font-line-height-h1);
}

.ak-object-info-holder .ak-title-breadcrumbs .p-title {
	font-size: var(--ak-globals-theme-font-size-h2);
	line-height: var(--ak-globals-theme-font-line-height-h2);
}
