/*
Theme Name: SFZY Gallery — Artly Child
Theme URI: https://sfzygallery.org/
Description: A scoped, image-led gallery presentation layer for SFZY Gallery. The audited SFZY site header is preserved unchanged.
Author: SFZY Gallery
Template: artly
Version: 0.3.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: sfzy-gallery-artly-child
*/

/*
 * Scope contract
 * --------------------------------------------------------------------------
 * Every visual rule in this file begins at .sfzy-site-surface,
 * .sfzy-site-main or .sfzy-minimal-footer. The preserved SFZY site chrome is
 * intentionally not selected here.
 */

.sfzy-site-surface,
.sfzy-site-main,
.sfzy-minimal-footer {
	--sfzy-ink: var(--wp--custom--sfzy--color--ink, #010101);
	--sfzy-muted: var(--wp--custom--sfzy--color--muted, #585858);
	--sfzy-footer-ink: var(--wp--custom--sfzy--color--footer, #737373);
	--sfzy-rule: var(--wp--custom--sfzy--color--rule, #ebebeb);
	--sfzy-paper: var(--wp--custom--sfzy--color--paper, #ffffff);
	--sfzy-gutter: var(--wp--custom--sfzy--spacing--gutter-desktop, 80px);
	--sfzy-section-space: var(--wp--custom--sfzy--spacing--section-desktop, 60px);
	--sfzy-grid-gap: var(--wp--custom--sfzy--spacing--grid-gap, 40px);
	--sfzy-card-gap: var(--wp--custom--sfzy--spacing--card-gap, 50px);
	--sfzy-serif: var(--wp--preset--font-family--newsreader, "Newsreader"), "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, Georgia, "Times New Roman", serif;
	box-sizing: border-box;
}

.sfzy-site-surface {
	display: flow-root;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	background: var(--sfzy-paper);
}

.sfzy-site-surface > * {
	margin-block-start: 0 !important;
}

.sfzy-site-main *,
.sfzy-site-main *::before,
.sfzy-site-main *::after,
.sfzy-minimal-footer *,
.sfzy-minimal-footer *::before,
.sfzy-minimal-footer *::after {
	box-sizing: inherit;
}

.sfzy-site-main {
	width: auto;
	max-width: none;
	margin: 0 var(--sfzy-gutter) var(--sfzy-section-space) !important;
	padding: var(--sfzy-section-space) 0 0;
	color: var(--sfzy-ink);
	background: var(--sfzy-paper);
	font-family: var(--sfzy-serif);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 31px;
}

.sfzy-site-main > .wp-block-shortcode,
.sfzy-site-main > .wp-block-group,
.sfzy-site-main > .wp-block-query {
	margin-block: 0;
}

.sfzy-site-main :where(h1, h2, h3, h4, h5, p, figure, ul, ol) {
	margin-top: 0;
}

/* Defensive fallback for empty paragraphs injected by block formatting. */
.sfzy-site-main p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sfzy-site-main :where(img, video) {
	display: block;
	max-width: 100%;
	height: auto;
}

.sfzy-site-main a,
.sfzy-minimal-footer a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.sfzy-site-main a:hover,
.sfzy-minimal-footer a:hover {
	text-decoration: none;
}

.sfzy-site-main :where(a, button, input, select, textarea):focus-visible,
.sfzy-minimal-footer :where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.sfzy-site-main .sfzy-page-intro,
.sfzy-site-main .sfzy-page-header {
	margin: 0 0 50px;
}

.sfzy-site-main .sfzy-page-title,
.sfzy-site-main .sfzy-page-header__title,
.sfzy-site-main .sfzy-generic-title,
.sfzy-site-main .wp-block-query-title.sfzy-generic-title,
.sfzy-site-main .wp-block-post-title.sfzy-generic-title {
	margin: 0 0 10px;
	font-family: var(--sfzy-serif);
	font-size: 21px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 3.36px;
	line-height: 23.5px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-page-subtitle,
.sfzy-site-main .sfzy-page-header__subtitle {
	margin: 0;
	color: var(--sfzy-ink);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 31px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-section + .sfzy-section {
	margin-top: 80px;
}

.sfzy-site-main .sfzy-section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0 0 50px;
	color: var(--sfzy-muted);
	font-size: 12.5px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 31px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-section-heading::after {
	flex: 1 1 auto;
	height: 1px;
	background: var(--sfzy-rule);
	content: "";
}

.sfzy-site-main .sfzy-section-heading__label {
	flex: 0 0 auto;
}

.sfzy-site-main .sfzy-card-grid,
.sfzy-site-main .sfzy-query-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sfzy-card-gap) var(--sfzy-grid-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfzy-site-main--news .sfzy-query-grid > * {
	margin-block: 0;
}

.sfzy-site-main .sfzy-card,
.sfzy-site-main .sfzy-query-card {
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.sfzy-site-main .sfzy-card__link {
	display: block;
	text-decoration: none;
}

.sfzy-site-main .sfzy-card__media,
.sfzy-site-main .sfzy-query-card__media {
	position: relative;
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
	aspect-ratio: 1;
	background: #f5f5f5;
}

.sfzy-site-main .sfzy-card__media img,
.sfzy-site-main .sfzy-query-card__media img,
.sfzy-site-main .wp-block-post-featured-image.sfzy-query-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sfzy-site-main .sfzy-card__title,
.sfzy-site-main .sfzy-query-card__title,
.sfzy-site-main .wp-block-post-title.sfzy-query-card__title {
	margin: 0 0 15px;
	font-family: var(--sfzy-serif);
	font-size: 16.5px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 2.64px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-card__title a,
.sfzy-site-main .sfzy-query-card__title a {
	text-decoration: none;
}

.sfzy-site-main :where(dl, div).sfzy-card__meta,
.sfzy-site-main :where(dl, div).sfzy-featured__meta,
.sfzy-site-main .sfzy-card__meta :where(dl, div, dt, dd),
.sfzy-site-main .sfzy-featured__meta :where(dl, div, dt, dd) {
	margin: 0;
	padding: 0;
}

.sfzy-site-main .sfzy-card__meta,
.sfzy-site-main .sfzy-query-card__meta,
.sfzy-site-main .wp-block-post-date.sfzy-query-card__meta {
	margin: 0;
	color: var(--sfzy-muted);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-card__meta + .sfzy-card__meta {
	margin-top: 4px;
}

.sfzy-site-main .sfzy-card__excerpt {
	margin: 15px 0 0;
	font-size: 14.5px;
	line-height: 31px;
}

.sfzy-site-main .sfzy-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
	gap: 60px;
	align-items: center;
	margin: 0 0 75px;
}

.sfzy-site-main .sfzy-featured__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #f5f5f5;
}

.sfzy-site-main .sfzy-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sfzy-site-main .sfzy-featured__body,
.sfzy-site-main .sfzy-featured__content {
	min-width: 0;
}

.sfzy-site-main .sfzy-featured__title {
	margin: 0 0 25px;
	font-family: var(--sfzy-serif);
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 4.8px;
	line-height: 40px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-featured__title a {
	text-decoration: none;
}

.sfzy-site-main .sfzy-featured__meta {
	margin: 0;
	padding: 9px 0;
	color: var(--sfzy-muted);
	border-bottom: 1px solid var(--sfzy-rule);
	font-size: 12.5px;
	letter-spacing: 2px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-featured__excerpt {
	margin: 25px 0 0;
	font-size: 14.5px;
	line-height: 31px;
}

.sfzy-site-main .sfzy-text-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-top: 14px;
	font-size: 11.5px;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main--home {
	margin-inline: 0 !important;
	padding: clamp(42px, 6vw, 92px) var(--sfzy-gutter) clamp(58px, 8vw, 120px);
	background: #f2efeb;
}

.sfzy-site-main .sfzy-home-feature {
	width: 100%;
	max-width: 1265px;
	margin-inline: auto;
}

.sfzy-site-main .sfzy-home-feature__masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: clamp(22px, 3vw, 42px);
	padding-bottom: 13px;
	border-bottom: 1px solid currentColor;
}

.sfzy-site-main .sfzy-home-feature__eyebrow,
.sfzy-site-main .sfzy-home-feature__edition {
	margin: 0;
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 2.3px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-home-feature__edition {
	font-family: var(--sfzy-serif);
	font-size: 18px;
	letter-spacing: 1px;
}

.sfzy-site-main .sfzy-home-feature__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: clamp(44px, 7vw, 105px);
	align-items: center;
}

.sfzy-site-main .sfzy-home-feature__media {
	position: relative;
	display: grid;
	min-height: min(78svh, 820px);
	place-items: center;
	padding: clamp(22px, 3.4vw, 48px);
	overflow: hidden;
	background: #171717;
}

.sfzy-site-main .sfzy-home-feature__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(70svh, 740px);
	object-fit: contain;
}

.sfzy-site-main .sfzy-home-feature__image-caption {
	position: absolute;
	right: 16px;
	bottom: 12px;
	color: #bcb7b0;
	font-size: 9.5px;
	letter-spacing: 1.5px;
	line-height: 16px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-home-feature__copy {
	min-width: 0;
	padding-block: 20px;
}

.sfzy-site-main .sfzy-home-feature__kicker,
.sfzy-site-main .sfzy-home-feature__artist,
.sfzy-site-main .sfzy-home-feature__meta {
	margin: 0;
	font-size: 11.5px;
	letter-spacing: 1.9px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-home-feature__kicker {
	margin-bottom: clamp(20px, 3vw, 38px);
	color: var(--sfzy-muted);
}

.sfzy-site-main .sfzy-home-feature__title {
	max-width: 560px;
	margin: 0;
	font-family: var(--sfzy-serif);
	font-size: clamp(38px, 4.15vw, 60px);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1.15;
}

.sfzy-site-main .sfzy-home-feature__artist {
	margin-top: 28px;
}

.sfzy-site-main .sfzy-home-feature__meta {
	margin-top: 8px;
	color: var(--sfzy-muted);
}

.sfzy-site-main .sfzy-home-feature__rule {
	width: 54px;
	height: 1px;
	margin-block: clamp(28px, 4vw, 46px);
	background: currentColor;
}

.sfzy-site-main .sfzy-home-feature__summary {
	max-width: 500px;
	margin: 0;
	font-size: 15.5px;
	line-height: 30px;
}

.sfzy-site-main .sfzy-home-feature__summary--en {
	margin-top: 14px;
	color: var(--sfzy-muted);
	font-family: var(--sfzy-serif);
	font-size: 14px;
	font-style: italic;
	line-height: 26px;
}

.sfzy-site-main .sfzy-home-feature__cta {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	margin-top: clamp(30px, 4vw, 48px);
	padding-bottom: 7px;
	border-bottom: 1px solid currentColor;
	font-size: 11.5px;
	letter-spacing: 1.8px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1.086fr) minmax(0, 1fr);
	gap: 50px;
	align-items: start;
}

.sfzy-site-main .sfzy-editorial__copy,
.sfzy-site-main .sfzy-editorial__content,
.sfzy-site-main .sfzy-editorial__media {
	min-width: 0;
}

.sfzy-site-main .sfzy-editorial__copy > :last-child,
.sfzy-site-main .sfzy-editorial__content > :last-child {
	margin-bottom: 0;
}

.sfzy-site-main .sfzy-editorial__copy p,
.sfzy-site-main .sfzy-editorial__content p {
	margin-bottom: 31px;
}

.sfzy-site-main .sfzy-editorial__media {
	margin: 0;
}

.sfzy-site-main .sfzy-editorial__frame {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #f5f5f5;
}

.sfzy-site-main .sfzy-editorial__frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sfzy-site-main .sfzy-editorial__thumbs {
	display: grid;
	grid-template-columns: repeat(4, 60px);
	gap: 21px;
	justify-content: center;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.sfzy-site-main .sfzy-editorial__thumbs img {
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.sfzy-site-main .sfzy-info-group + .sfzy-info-group,
.sfzy-site-main .sfzy-contact-details__item + .sfzy-contact-details__item {
	margin-top: 20px;
}

.sfzy-site-main .sfzy-info-group__title,
.sfzy-site-main .sfzy-contact-details__item h2 {
	margin: 0 0 6px;
	font-family: var(--sfzy-serif);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 2.24px;
	line-height: 15.4px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-info-group p,
.sfzy-site-main .sfzy-contact-details__item p {
	margin: 0;
	font-size: 14.5px;
	line-height: 31px;
}

.sfzy-site-main .sfzy-action-list {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.sfzy-site-main .sfzy-action-list li + li {
	margin-top: 8px;
}

.sfzy-site-main .sfzy-action-list a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	font-size: 11.5px;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-content-shell {
	max-width: 850px;
}

.sfzy-site-main .sfzy-generic-featured {
	margin: 0 0 50px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.sfzy-site-main .sfzy-generic-featured img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sfzy-site-main .sfzy-generic-meta {
	margin: 15px 0 0;
	color: var(--sfzy-muted);
	font-size: 11.5px;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main .sfzy-prose {
	max-width: 760px;
	font-size: 14.5px;
	line-height: 31px;
}

.sfzy-site-main .sfzy-prose > * + * {
	margin-block-start: 31px;
}

.sfzy-site-main .sfzy-prose :where(h2, h3, h4) {
	font-family: var(--sfzy-serif);
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.25;
}

/* SFZY standard News post detail: begin */
.sfzy-site-main--news-single .sfzy-news-article {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.sfzy-site-main--news-single .sfzy-news-article > * {
	margin-block: 0;
}

.sfzy-site-main--news-single .sfzy-news-article__header {
	width: min(100%, 860px);
	margin: 0 auto;
}

.sfzy-site-main--news-single .sfzy-news-article__header > * {
	margin-block: 0;
}

.sfzy-site-main--news-single .sfzy-news-article__title,
.sfzy-site-main--news-single .wp-block-post-title.sfzy-news-article__title {
	margin: 0;
	font-family: var(--sfzy-serif);
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 1.8px;
	line-height: 40px;
	overflow-wrap: anywhere;
	text-transform: none;
	text-wrap: balance;
}

.sfzy-site-main--news-single .sfzy-news-article__date,
.sfzy-site-main--news-single .wp-block-post-date.sfzy-news-article__date {
	margin: 14px 0 0;
	color: var(--sfzy-muted);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main--news-single .sfzy-news-article__hero,
.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero {
	display: flex;
	width: 100%;
	max-width: 1180px;
	align-items: flex-start;
	justify-content: center;
	margin: 32px auto 64px;
	overflow: visible;
	background: transparent;
	aspect-ratio: auto;
}

.sfzy-site-main--news-single .sfzy-news-article__hero img,
.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(88svh, 980px);
	margin: 0 auto;
	object-fit: contain;
}

.sfzy-site-main--news-single .sfzy-news-article__body {
	display: grid;
	width: min(100%, 1040px);
	grid-template-columns:
		[media-start] minmax(0, 1fr)
		[text-start] min(760px, 100%)
		[text-end] minmax(0, 1fr)
		[media-end];
	margin: 0 auto;
	font-size: 14.5px;
	line-height: 31px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > * {
	min-width: 0;
	grid-column: text-start / text-end;
	margin-block: 0;
}

.sfzy-site-main--news-single .sfzy-news-article__body > * + * {
	margin-block-start: 24px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table,
	.alignwide,
	.alignfull
) {
	width: 100%;
	max-width: none;
	grid-column: media-start / media-end;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table
):not(:first-child) {
	margin-block-start: 48px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table
) + :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table
) {
	margin-block-start: 24px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table
) + :not(:where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-video,
	.wp-block-embed,
	.wp-block-table
)) {
	margin-block-start: 32px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(h2, h3, h4) {
	font-family: var(--sfzy-serif);
	font-style: normal;
	font-weight: 400;
	overflow-wrap: anywhere;
	text-transform: none;
}

.sfzy-site-main--news-single .sfzy-news-article__body > h2 {
	font-size: 22px;
	letter-spacing: 1.1px;
	line-height: 31px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(h3, h4) {
	font-size: 18px;
	letter-spacing: 0.7px;
	line-height: 27px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(h2, h3, h4):not(:first-child) {
	margin-block-start: 52px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > :where(h2, h3, h4) + * {
	margin-block-start: 18px;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(p, li, figcaption) {
	overflow-wrap: anywhere;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(ul, ol) {
	padding-inline-start: 1.5em;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(li + li) {
	margin-block-start: 8px;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(li > ul, li > ol) {
	margin-block-start: 8px;
}

.sfzy-site-main--news-single .sfzy-news-article__body > figure.wp-block-image {
	display: grid;
	justify-items: center;
	float: none;
}

.sfzy-site-main--news-single .sfzy-news-article__body > figure.wp-block-image > a {
	display: flex;
	max-width: 100%;
	justify-content: center;
}

.sfzy-site-main--news-single .sfzy-news-article__body > figure.wp-block-image img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(88svh, 980px);
	margin: 0 auto;
	object-fit: contain;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(
	figure.wp-block-image figcaption,
	.wp-block-gallery figcaption,
	.wp-block-gallery .wp-element-caption,
	.blocks-gallery-caption
) {
	position: static;
	width: auto;
	max-width: 760px;
	margin: 10px auto 0;
	padding: 0;
	color: var(--sfzy-muted);
	background: transparent;
	font-size: 12px;
	font-style: normal;
	letter-spacing: 0.48px;
	line-height: 20px;
	text-align: center;
}

.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery,
.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery :where(figure.wp-block-image) {
	display: grid;
	width: auto !important;
	max-width: none;
	justify-items: center;
	margin: 0 !important;
	flex-basis: auto !important;
}

.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery :where(a, img) {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery img {
	object-fit: contain;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(.wp-block-table, pre) {
	max-width: 100%;
	overflow-x: auto;
}

.sfzy-site-main--news-single .sfzy-news-article__body :where(iframe, video) {
	max-width: 100%;
}
/* SFZY standard News post detail: end */

/* SFZY Exhibition/Fair event detail: begin */
.sfzy-site-main--event-single .sfzy-event-article {
	width: min(100%, 1180px);
	margin: 0 auto;
}

.sfzy-site-main--event-single .sfzy-event-article > * {
	margin-block: 0;
}

.sfzy-site-main--event-single .sfzy-event-article__header {
	width: min(100%, 860px);
	margin: 0 auto;
}

.sfzy-site-main--event-single .sfzy-event-article__header > * {
	margin-block: 0;
}

.sfzy-site-main--event-single .sfzy-event-article__title,
.sfzy-site-main--event-single .wp-block-post-title.sfzy-event-article__title {
	margin: 0;
	font-family: var(--sfzy-serif);
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 1.8px;
	line-height: 40px;
	overflow-wrap: anywhere;
	text-transform: none;
	text-wrap: balance;
}

.sfzy-site-main--event-single .sfzy-event-article__date,
.sfzy-site-main--event-single .wp-block-post-date.sfzy-event-article__date {
	margin: 14px 0 0;
	color: var(--sfzy-muted);
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main--event-single .sfzy-event-article__hero,
.sfzy-site-main--event-single .wp-block-post-featured-image.sfzy-event-article__hero {
	display: flex;
	width: 100%;
	max-width: 1180px;
	align-items: flex-start;
	justify-content: center;
	margin: 32px auto 64px;
	overflow: visible;
	background: transparent;
	aspect-ratio: auto;
}

.sfzy-site-main--event-single .sfzy-event-article__hero img,
.sfzy-site-main--event-single .wp-block-post-featured-image.sfzy-event-article__hero img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(88svh, 980px);
	margin: 0 auto;
	object-fit: contain;
	overflow: visible;
}

.sfzy-site-main--event-single .sfzy-event-article__content {
	width: min(100%, 1040px);
	margin: 0 auto;
	font-size: 14.5px;
	line-height: 31px;
	overflow: visible;
}

.sfzy-site-main--event-single .sfzy-event-article__content > * {
	margin-block: 0;
}

.sfzy-site-main--event-single .sfzy-event-article__content > .sfzy-single__meta {
	width: min(100%, 760px);
	margin-inline: auto;
}

.sfzy-site-main--event-single .sfzy-single__meta:empty {
	display: none;
}

.sfzy-site-main--event-single .sfzy-single__meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	color: var(--sfzy-muted);
	font-size: 11.5px;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

.sfzy-site-main--event-single .sfzy-single__meta-list :where(div, dd) {
	margin: 0;
}

.sfzy-site-main--event-single .sfzy-event-article__content > .sfzy-prose {
	display: grid;
	width: 100%;
	max-width: none;
	margin: 40px auto 0;
}

.sfzy-site-main--event-single .sfzy-single__meta:empty + .sfzy-prose {
	margin-top: 0;
}

.sfzy-site-main--event-single .sfzy-event-article__content > .sfzy-prose > * {
	width: min(100%, 760px);
	max-width: 760px;
	margin-inline: auto;
}

.sfzy-site-main--event-single .sfzy-event-article__content > .sfzy-prose > :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.alignwide,
	.alignfull
) {
	width: 100%;
	max-width: none;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose :where(
	figure.wp-block-image,
	.wp-block-gallery,
	.wp-block-gallery figure.wp-block-image
) {
	overflow: visible;
	aspect-ratio: auto;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose figure.wp-block-image {
	display: grid;
	justify-items: center;
	float: none;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose figure.wp-block-image > a,
.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery figure.wp-block-image > a {
	display: flex;
	max-width: 100%;
	justify-content: center;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose figure.wp-block-image img,
.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery img {
	width: auto !important;
	max-width: 100%;
	height: auto !important;
	max-height: min(88svh, 980px);
	margin-inline: auto;
	object-fit: contain !important;
	overflow: visible;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery,
.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	overflow: visible;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery figure.wp-block-image {
	display: grid;
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	justify-items: center;
	margin: 0 !important;
	flex-basis: auto !important;
	overflow: visible;
	aspect-ratio: auto !important;
}

.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose :where(
	figure.wp-block-image figcaption,
	.wp-block-gallery figcaption,
	.wp-block-gallery .wp-element-caption,
	.blocks-gallery-caption
) {
	position: static;
	width: auto;
	max-width: 760px;
	margin: 10px auto 0;
	padding: 0;
	color: var(--sfzy-muted);
	background: transparent;
	font-size: 12px;
	font-style: normal;
	letter-spacing: 0.48px;
	line-height: 20px;
	text-align: center;
}

.sfzy-site-main--event-single .sfzy-single-gallery {
	display: grid;
	width: 100%;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	margin: 48px auto 0;
	overflow: visible;
}

.sfzy-site-main--event-single .sfzy-single-gallery__item {
	display: flex;
	width: 100%;
	align-items: flex-start;
	justify-content: center;
	margin: 0;
	overflow: visible;
	background: transparent;
	aspect-ratio: auto;
}

.sfzy-site-main--event-single .sfzy-single-gallery__item img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(88svh, 980px);
	margin: 0 auto;
	object-fit: contain;
	overflow: visible;
}
/* SFZY Exhibition/Fair event detail: end */

.sfzy-site-main .sfzy-query-pagination {
	margin-top: 80px;
	padding-top: 30px;
	border-top: 1px solid var(--sfzy-rule);
	font-size: 12.5px;
	letter-spacing: 2px;
	line-height: 31px;
	text-transform: uppercase;
}

.sfzy-site-main .wp-element-button {
	min-height: 44px;
	padding: 10px 16px;
	color: var(--sfzy-ink);
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0;
	font-family: inherit;
	font-size: 11.5px;
	letter-spacing: 1.84px;
	text-transform: uppercase;
}

.sfzy-minimal-footer {
	width: auto;
	max-width: none;
	margin: 0 var(--sfzy-gutter) 30px !important;
	padding: 30px 0;
	color: var(--sfzy-footer-ink);
	background: var(--sfzy-paper);
	border-top: 1px solid var(--sfzy-rule);
	font-family: var(--sfzy-serif);
	font-size: 14.5px;
	font-weight: 400;
	line-height: 31px;
}

.sfzy-minimal-footer .sfzy-minimal-footer__inner {
	margin: 0;
}

.sfzy-minimal-footer .sfzy-minimal-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 1.1fr) minmax(180px, 0.6fr);
	gap: 40px;
	margin: 0;
}

.sfzy-minimal-footer .sfzy-minimal-footer__brand,
.sfzy-minimal-footer .sfzy-minimal-footer__title {
	margin: 0 0 6px;
	color: var(--sfzy-footer-ink);
	font-family: var(--sfzy-serif);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 2.24px;
	line-height: 15.4px;
	text-transform: uppercase;
}

.sfzy-minimal-footer .sfzy-minimal-footer__tagline,
.sfzy-minimal-footer .sfzy-minimal-footer__contact,
.sfzy-minimal-footer .sfzy-minimal-footer__copyright {
	margin: 0;
}

.sfzy-minimal-footer .sfzy-minimal-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sfzy-minimal-footer .sfzy-minimal-footer__links li {
	margin: 0;
}

.sfzy-minimal-footer .sfzy-minimal-footer__links a {
	display: inline-flex;
	min-height: 31px;
	align-items: center;
}

.sfzy-minimal-footer .sfzy-minimal-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid var(--sfzy-rule);
	font-size: 11.5px;
	letter-spacing: 1.84px;
	line-height: 20px;
	text-transform: uppercase;
}

@media (max-width: 1279px) {
	.sfzy-site-main,
	.sfzy-minimal-footer {
		--sfzy-gutter: var(--wp--custom--sfzy--spacing--gutter-tablet, 40px);
	}

	.sfzy-site-main .sfzy-featured {
		gap: 40px;
	}
}

@media (max-width: 1023px) {
	.sfzy-site-main .sfzy-card-grid,
	.sfzy-site-main .sfzy-query-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sfzy-site-main--news-single .sfzy-news-article__title,
	.sfzy-site-main--news-single .wp-block-post-title.sfzy-news-article__title {
		font-size: 28px;
		letter-spacing: 1.6px;
		line-height: 38px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__hero,
	.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero {
		margin-top: 28px;
		margin-bottom: 56px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__hero img,
	.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero img,
	.sfzy-site-main--news-single .sfzy-news-article__body > figure.wp-block-image img {
		max-height: min(84svh, 860px);
	}

	.sfzy-site-main--event-single .sfzy-event-article__title,
	.sfzy-site-main--event-single .wp-block-post-title.sfzy-event-article__title {
		font-size: 28px;
		letter-spacing: 1.6px;
		line-height: 38px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__hero,
	.sfzy-site-main--event-single .wp-block-post-featured-image.sfzy-event-article__hero {
		margin-top: 28px;
		margin-bottom: 56px;
	}

	.sfzy-minimal-footer .sfzy-minimal-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sfzy-site-main,
	.sfzy-minimal-footer {
		--sfzy-gutter: var(--wp--custom--sfzy--spacing--gutter-mobile, 15px);
		--sfzy-section-space: var(--wp--custom--sfzy--spacing--section-mobile, 30px);
	}

	.sfzy-site-main {
		--sfzy-preserved-header-height: 65px;
		margin-inline: 0 !important;
		padding: var(--sfzy-section-space) var(--sfzy-gutter) 0;
	}

	.sfzy-site-main--home {
		padding: 0 var(--sfzy-gutter);
	}

	.sfzy-site-main .sfzy-page-intro,
	.sfzy-site-main .sfzy-page-header {
		margin-bottom: 20px;
	}

	.sfzy-site-main .sfzy-page-title,
	.sfzy-site-main .sfzy-page-header__title,
	.sfzy-site-main .sfzy-generic-title,
	.sfzy-site-main .wp-block-query-title.sfzy-generic-title,
	.sfzy-site-main .wp-block-post-title.sfzy-generic-title {
		font-size: 19px;
		letter-spacing: 3.04px;
		line-height: 22px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__title,
	.sfzy-site-main--news-single .wp-block-post-title.sfzy-news-article__title {
		font-size: 22px;
		letter-spacing: 1.1px;
		line-height: 30px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__date,
	.sfzy-site-main--news-single .wp-block-post-date.sfzy-news-article__date {
		margin-top: 12px;
		font-size: 12px;
		letter-spacing: 1.6px;
		line-height: 18px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__hero,
	.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero {
		margin-top: 24px;
		margin-bottom: 40px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__hero img,
	.sfzy-site-main--news-single .wp-block-post-featured-image.sfzy-news-article__hero img,
	.sfzy-site-main--news-single .sfzy-news-article__body > figure.wp-block-image img {
		max-height: none;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body {
		font-size: 14.5px;
		line-height: 29px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body > :where(
		figure.wp-block-image,
		.wp-block-gallery,
		.wp-block-video,
		.wp-block-embed,
		.wp-block-table
	):not(:first-child) {
		margin-block-start: 32px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body > :where(
		figure.wp-block-image,
		.wp-block-gallery,
		.wp-block-video,
		.wp-block-embed,
		.wp-block-table
	) + :where(
		figure.wp-block-image,
		.wp-block-gallery,
		.wp-block-video,
		.wp-block-embed,
		.wp-block-table
	),
	.sfzy-site-main--news-single .sfzy-news-article__body > :where(
		figure.wp-block-image,
		.wp-block-gallery,
		.wp-block-video,
		.wp-block-embed,
		.wp-block-table
	) + :not(:where(
		figure.wp-block-image,
		.wp-block-gallery,
		.wp-block-video,
		.wp-block-embed,
		.wp-block-table
	)) {
		margin-block-start: 24px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body > h2 {
		font-size: 20px;
		line-height: 29px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body > :where(h3, h4) {
		font-size: 17px;
		line-height: 25px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body > :where(h2, h3, h4):not(:first-child) {
		margin-block-start: 40px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery,
	.sfzy-site-main--news-single .sfzy-news-article__body .wp-block-gallery.has-nested-images {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.sfzy-site-main--news-single .sfzy-news-article__body :where(
		figure.wp-block-image figcaption,
		.wp-block-gallery figcaption,
		.wp-block-gallery .wp-element-caption,
		.blocks-gallery-caption
	) {
		line-height: 19px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__title,
	.sfzy-site-main--event-single .wp-block-post-title.sfzy-event-article__title {
		font-size: 22px;
		letter-spacing: 1.1px;
		line-height: 30px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__date,
	.sfzy-site-main--event-single .wp-block-post-date.sfzy-event-article__date {
		margin-top: 12px;
		font-size: 12px;
		letter-spacing: 1.6px;
		line-height: 18px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__hero,
	.sfzy-site-main--event-single .wp-block-post-featured-image.sfzy-event-article__hero {
		margin-top: 24px;
		margin-bottom: 40px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__content {
		font-size: 14.5px;
		line-height: 29px;
	}

	.sfzy-site-main--event-single .sfzy-event-article__content > .sfzy-prose {
		margin-top: 30px;
	}

	.sfzy-site-main--event-single .sfzy-single__meta:empty + .sfzy-prose {
		margin-top: 0;
	}

	.sfzy-site-main--event-single .sfzy-event-article__hero img,
	.sfzy-site-main--event-single .wp-block-post-featured-image.sfzy-event-article__hero img,
	.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose figure.wp-block-image img,
	.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery img,
	.sfzy-site-main--event-single .sfzy-single-gallery__item img {
		max-height: none;
	}

	.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery,
	.sfzy-site-main--event-single .sfzy-event-article__content .sfzy-prose .wp-block-gallery.has-nested-images,
	.sfzy-site-main--event-single .sfzy-single-gallery {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.sfzy-site-main--event-single .sfzy-single-gallery {
		margin-top: 40px;
	}

	.sfzy-site-main .sfzy-section + .sfzy-section {
		margin-top: 50px;
	}

	.sfzy-site-main .sfzy-card-grid,
	.sfzy-site-main .sfzy-query-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sfzy-site-main .sfzy-featured,
	.sfzy-site-main .sfzy-editorial {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.sfzy-site-main .sfzy-featured {
		margin-bottom: 50px;
	}

	.sfzy-site-main .sfzy-featured__title {
		margin-bottom: 15px;
		font-size: 17px;
		letter-spacing: 2.72px;
		line-height: 22px;
	}

	.sfzy-site-main .sfzy-featured__excerpt {
		margin-top: 20px;
	}

	.sfzy-site-main--home {
		padding: 30px 15px 56px;
	}

	.sfzy-site-main .sfzy-home-feature__masthead {
		margin-bottom: 20px;
	}

	.sfzy-site-main .sfzy-home-feature__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.sfzy-site-main .sfzy-home-feature__media {
		min-height: 0;
		padding: 16px;
	}

	.sfzy-site-main .sfzy-home-feature__image {
		width: 100%;
		max-height: none;
	}

	.sfzy-site-main .sfzy-home-feature__image-caption {
		right: 10px;
		bottom: 7px;
	}

	.sfzy-site-main .sfzy-home-feature__copy {
		padding-block: 0;
	}

	.sfzy-site-main .sfzy-home-feature__kicker {
		margin-bottom: 18px;
	}

	.sfzy-site-main .sfzy-home-feature__title {
		font-size: 34px;
		letter-spacing: 1.2px;
		line-height: 1.18;
	}

	.sfzy-site-main .sfzy-home-feature__artist {
		margin-top: 22px;
	}

	.sfzy-site-main .sfzy-home-feature__rule {
		margin-block: 28px;
	}

	.sfzy-site-main .sfzy-home-feature__summary {
		font-size: 15px;
		line-height: 29px;
	}

	.sfzy-site-main .sfzy-home-feature__cta {
		width: 100%;
		margin-top: 30px;
	}

	.sfzy-site-main .sfzy-editorial__media {
		order: -1;
	}

	.sfzy-site-main .sfzy-editorial__thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 10px;
		margin-top: 20px;
	}

	.sfzy-site-main .sfzy-editorial__thumbs img {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
	}

	.sfzy-minimal-footer {
		margin-inline: 0 !important;
		padding-inline: var(--sfzy-gutter);
	}

	.sfzy-minimal-footer .sfzy-minimal-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.sfzy-minimal-footer .sfzy-minimal-footer__bottom {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 479px) {
	.sfzy-site-main .sfzy-card-grid,
	.sfzy-site-main .sfzy-query-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfzy-site-main *,
	.sfzy-site-main *::before,
	.sfzy-site-main *::after,
	.sfzy-minimal-footer *,
	.sfzy-minimal-footer *::before,
	.sfzy-minimal-footer *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
