/*
Theme Name: Paper Elephant 2026
Theme URI: https://paperelephant.co.uk/
Author: Lee Shields – Apogee Technology
Author URI: https://apogeetechnology.com
Description: Responsive rebuild of the Paper Elephant theme. Same content model, menus, widget areas and admin as the original; no page builder, no jQuery, one stylesheet and one small script.
Version: 1.0.29
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: paperelephant
*/

/* ------------------------------------------------------------------
   Fonts – Gilda Display 400 (headings) and Jost 400 + 500 (body),
   self-hosted (SIL Open Font Licence). Only the weights the theme uses;
   italics (blockquotes, <em>) are slanted by the browser.
------------------------------------------------------------------ */
@font-face {
	font-family: "Gilda Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/gilda-display-latin-ext-400-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Gilda Display";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/gilda-display-latin-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/jost-latin-ext-400-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/jost-latin-400-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/jost-latin-ext-500-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/jost-latin-500-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Tokens
------------------------------------------------------------------ */
:root {
	--teal: #97aaa8;
	--teal-dark: #7f9492;
	--slate: #5b5d6d;
	--slate-dark: #4b4d5c;
	--lime: #a3ad01;
	--lime-text: #848c00;      /* lime darkened for small text on white */
	--ink: #55565a;
	--ink-soft: #7d7d7b;
	--rule: #d9dcdc;
	--panel: #e4e8e9;
	--paper: #fff;

	--serif: "Gilda Display", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--wrap: 1240px;
	--pad: clamp(16px, 3.2vw, 40px);
	--header-h: 128px;
	--topbar-h: 32px;
}

/* ------------------------------------------------------------------
   Base
------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font: 16px/1.6 var(--sans);
	color: var(--ink);
	/* the slate band that runs behind the header, full width (starts under the top bar) */
	background:
		url(assets/images/wide-header-bg.jpg) 0 var(--topbar-h) / 2400px 128px repeat-x,
		var(--paper) linear-gradient(var(--slate), var(--slate)) 0 var(--topbar-h) / 100% var(--header-h) no-repeat;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

a { color: var(--lime-text); text-decoration: none; }
a:hover, a:focus { color: var(--slate); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.2;
	color: var(--ink-soft);
}
h1 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, dl, blockquote, table { margin: 0 0 1em; }
hr { border: 0; border-top: 1px dotted #aaa; margin: 2em 0; }
.small { font-size: .75em; }
.pale { color: #bbb; }
strong, b, th { font-weight: 500; }
.meta { color: #999; font-size: .9rem; }

.screen-reader-text, .skip-link {
	position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	left: 8px; top: 8px; width: auto; height: auto; z-index: 100;
	padding: 8px 14px; background: #fff; color: var(--slate);
}

/* ------------------------------------------------------------------
   Frame
------------------------------------------------------------------ */
.site {
	max-width: var(--wrap);
	margin: 0 auto;
	background: var(--paper);
	box-shadow: 0 0 14px rgba(0, 0, 0, .14);
}

/* Top bar (contact details, hard-coded in header.php) -------------- */
.top-bar { background: var(--slate-dark); font-size: .8125rem; line-height: 1; }
.top-bar__inner {
	display: flex; justify-content: flex-end; align-items: center; gap: 0 24px;
	max-width: var(--wrap); height: var(--topbar-h); margin: 0 auto; padding: 0 var(--pad);
}
.top-bar a { display: inline-flex; align-items: center; gap: 7px; color: #fff; white-space: nowrap; letter-spacing: .02em; }
.top-bar a:hover, .top-bar a:focus { color: #c5cf2a; text-decoration: none; }
.top-bar svg { display: block; flex: none; width: 14px; height: 14px; opacity: .75; }

/* Header ---------------------------------------------------------- */


.site-header__top {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: var(--header-h);
	padding: 0 var(--pad) 18px;
	/* dots, then a grainy paper texture, over the flat teal */
	background:
		url(assets/images/header-dots.svg) no-repeat 6px 4px / auto 56px,
		url(assets/images/grain.png) 0 0 / 128px 128px,
		var(--teal);
}

.site-logo { display: block; width: min(518px, 100%); }
.site-logo img { display: block; width: 100%; }

/* Main navigation -------------------------------------------------- */
.main-nav {
	background: var(--slate) url(assets/images/wide-header-bg.jpg) 0 0 / 2400px 128px;
	padding: 0 var(--pad);
	font-family: var(--serif);
}
.main-nav__toggle, .main-nav .main-nav__list--utility { display: none; }

.main-nav__list { display: flex; flex-wrap: wrap; gap: 0 1.9em; margin: 0; padding: 0; list-style: none; }
.main-nav__list li { position: relative; }
.main-nav__list a {
	display: block;
	padding: .62em 0;
	font-size: 1.15rem;
	color: #fff;
}
.main-nav__list a:hover,
.main-nav__list a:focus,
.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-ancestor > a,
.main-nav__list .current-post-ancestor > a {
	color: #c5cf2a;
	text-decoration: none;
}

.main-nav__list ul {
	position: absolute; left: -14px; top: 100%; z-index: 20;
	min-width: 220px; margin: 0; padding: 6px 14px; list-style: none;
	background: var(--slate-dark);
	visibility: hidden; opacity: 0; transition: opacity .15s;
}
.main-nav__list li:hover > ul,
.main-nav__list li:focus-within > ul { visibility: visible; opacity: 1; }
.main-nav__list ul a { font-size: 1rem; padding: .4em 0; }

/* Main -------------------------------------------------------------- */


.site-main {
	padding: calc(var(--pad) + 4px) var(--pad) var(--pad);
	border-top: 12px solid var(--teal);
	min-height: 40vh;
}

.breadcrumbs { margin: 0 0 14px; font-size: .8125rem; color: #999; }
.breadcrumbs a { color: var(--ink-soft); }

.page-title { margin-bottom: .7em; }
.page-title--accent, .entry h1 { color: var(--lime); }

.layout--side { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: var(--pad); align-items: start; }
.layout--side-right { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--pad); align-items: start; }

/* Content typography ------------------------------------------------ */
.entry { max-width: 78ch; }
.layout--side .entry, .home-box.entry, .home-extra.entry, .home-about.entry { max-width: none; }
.entry--narrow { max-width: 78ch; }
.entry::after { content: ""; display: table; clear: both; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .3em; }
.entry img.alignleft, .entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry img.alignright, .entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry .aligncenter { display: block; margin: 1em auto; }
.entry .wp-caption { max-width: 100%; }
.entry .wp-caption-text { font-size: .8125rem; color: #999; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
.entry blockquote { margin-left: 0; padding-left: 1.2em; border-left: 3px solid var(--teal); font-style: italic; }
.term-bio { margin-bottom: 1.8em; }
.profile { margin-bottom: 1.4em; }
.profile__works { margin: 0 0 .9em; padding-top: .9em; border-top: 1px solid var(--rule); font-size: 1.25rem; }
.profile__count { color: var(--ink-soft); font-size: .8em; }
.feature { margin-top: 2em; padding-top: 1.6em; border-top: 1px solid var(--rule); }
.videoContainer { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1em; }
.videoContainer iframe, .videoContainer object, .videoContainer embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pe-image-stack img { display: block; margin: 0 0 1em; }
.divider { clear: both; border-top: 1px solid var(--rule); margin: 1.5em 0; }

/* Old column shortcodes */
.one_half, .one_third, .two_third, .one_fourth, .three_fourth { float: left; margin-right: 4%; }
.one_half { width: 48%; } .one_third { width: 30.66%; } .two_third { width: 65.33%; }
.one_fourth { width: 22%; } .three_fourth { width: 74%; }
.last { margin-right: 0 !important; }
.clearboth, .clearfix::after { content: ""; display: block; clear: both; }
.left { float: left; } .right { float: right; }

/* Buttons & forms ---------------------------------------------------- */
.button, button.button, input[type="submit"] {
	display: inline-block;
	padding: .62em 1.5em;
	font: 500 .9rem/1.2 var(--sans);
	color: #fff;
	background: var(--lime);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color .15s;
}
.button:hover, .button:focus, input[type="submit"]:hover { background: var(--slate); color: #fff; text-decoration: none; }

input[type="text"], input[type="search"], input[type="email"], input[type="tel"], textarea, select {
	width: 100%; max-width: 100%;
	padding: .55em .7em;
	font: inherit; color: var(--ink);
	background: #fff; border: 1px solid #c5c9c9; border-radius: 3px;
}
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 0 0 1.6em; }

/* ------------------------------------------------------------------
   Artwork grid
------------------------------------------------------------------ */
.art-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)); /* listings beside the sidebar */
	gap: 34px 26px;
	margin: 0 0 2em;
}
.art-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.art-card { text-align: center; }
.art-card__frame {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 14px;
	background: #fff;
	border: 1px solid #c8c8c5;
	transition: border-color .15s, box-shadow .15s;
}
.art-card__frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.art-card:hover .art-card__frame { border-color: var(--teal-dark); box-shadow: 0 3px 12px rgba(0, 0, 0, .12); }
.art-card__title { margin: .75em 0 .1em; font: 400 1.1rem/1.3 var(--sans); }
.art-card__title a { color: var(--ink); }
.art-card__artist { margin: 0; font-size: .95rem; line-height: 1.4; }
.art-card__artist, .art-card__artist a { color: var(--ink-soft); }
.art-card__title a:hover, .art-card__artist a:hover { color: var(--lime-text); text-decoration: none; }

/* Pagination ------------------------------------------------------- */
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.pagination a, .pagination span {
	display: block; min-width: 36px; padding: 6px 10px;
	font-size: .8125rem; text-align: center; color: var(--ink);
	border: 1px solid var(--rule); border-radius: 3px;
}
.pagination a:hover, .pagination .current { background: var(--panel); text-decoration: none; }
.pagination .dots { border-color: transparent; }

/* Browse filters (artist / series lists) ---------------------------- */
.side__toggle { display: none; }
.browse { margin: 0 0 1.8em; font-size: .9rem; }
.browse__title { font-size: 1.2rem; padding-bottom: .4em; border-bottom: 1px dotted #aaa; }
.browse__list { margin: 0; padding: 0; list-style: none; }
.browse__list li { line-height: 1.35; break-inside: avoid; }
.browse__list a { display: block; padding: .28em 0 .28em 12px; color: var(--ink); border-left: 3px solid transparent; margin-left: -12px; }
.browse__list a:hover { color: var(--lime-text); text-decoration: none; }
.browse__list .is-active a { color: var(--lime-text); font-weight: 500; border-left-color: var(--lime); }
.browse__all { margin-bottom: .2em; }
.browse__all a { color: var(--ink-soft); }
/* The names below "All …" scroll inside their own box (450px). The negative margin/padding pair keeps
   the lime active marker (which hangs 12px to the left) inside the scrolling area. */
.browse__list--scroll {
	position: relative; max-height: 600px; overflow-y: auto; overscroll-behavior: contain;
	margin-left: -12px; padding: 0 6px 0 12px;
	scrollbar-width: thin; scrollbar-color: #c3c8c9 transparent;
}
/* When the list is long enough to scroll (theme.js adds .is-scrollable) the scrollbar shows in
   teal and a "Scroll for more" prompt sits underneath until the end is reached. */
.browse__list--scroll.is-scrollable { scrollbar-width: auto; scrollbar-color: var(--teal) #eef1f1; }
.browse__more {
	margin: .45em 0 0; font-size: .8rem; color: var(--ink-soft); text-align: center;
	transition: opacity .2s;
}
.browse__more::after { content: " \2193"; color: var(--teal); }
.browse__more.is-done { opacity: 0; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -.4em 0 1.6em; padding: 0; list-style: none; font-size: .9rem; }
.filters__label { color: var(--ink-soft); }
.filters li:not(.filters__label) { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 12px; background: var(--panel); border-radius: 3px; }
.filters__name { font-weight: 500; }
.filters__clear { display: block; width: 24px; height: 24px; font-size: 1.1rem; line-height: 24px; text-align: center; color: var(--ink); border-radius: 50%; }
.filters__clear:hover { background: var(--slate); color: #fff; text-decoration: none; }

/* Widgets (page sidebar, footer) */
.widget { margin: 0 0 1.8em; font-size: .9rem; }
.widget-title { font-size: 1.2rem; padding-bottom: .4em; border-bottom: 1px dotted #aaa; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: .28em 0; line-height: 1.35; }
.widget a { color: var(--ink); }
.widget a:hover { color: var(--lime-text); text-decoration: none; }

/* ------------------------------------------------------------------
   Single artwork
------------------------------------------------------------------ */
.singlenav {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
	margin: 0 0 22px; padding-bottom: 12px;
	font-size: .9rem; border-bottom: 1px dotted #aaa;
}
.singlenav__back a { display: inline-block; margin-right: 1.2em; }
.singlenav__step > * + * { margin-left: 1em; }

.artwork { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.artwork__image { text-align: center; }
.artwork__image a { display: inline-block; padding: clamp(10px, 2vw, 22px); border: 1px solid #c8c8c5; cursor: zoom-in; }
.artwork__image img { max-height: 76vh; width: auto; }
.artwork__hint { margin: .6em 0 0; font-size: .75rem; color: #999; }
.artwork__title { margin-bottom: .15em; }
.artwork__artist { font: 400 1.25rem/1.3 var(--serif); margin-bottom: 1.1em; }
.artwork__artist, .artwork__artist a { color: var(--ink-soft); }
.artwork__artist a:hover { color: var(--lime-text); }
.artwork__specs div { display: flex; gap: .4em; }
.artwork__specs dt { color: var(--ink-soft); }
.artwork__specs dd { margin: 0; }
.artwork__price { font: 400 1.4rem/1.3 var(--serif); color: var(--ink); margin: 1em 0; }
.artwork__gallery { grid-column: 1 / -1; padding-top: 22px; border-top: 1px dotted #aaa; }
.artwork__thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.artwork__thumbs a { display: block; padding: 5px; border: 1px solid #c8c8c5; cursor: zoom-in; }
.artwork__thumbs a:hover { border-color: var(--teal-dark); }
.artwork__thumbs img { display: block; width: 110px; height: 110px; object-fit: cover; }

/* Lightbox ------------------------------------------------------- */
.pe-lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: none; align-items: center; justify-content: center;
	padding: 48px 12px 16px;
	background: rgba(52, 54, 66, .94);
}
.pe-lightbox.is-open { display: flex; }
.pe-lightbox-open { overflow: hidden; }
.pe-lightbox figure { margin: 0; text-align: center; }
.pe-lightbox img {
	display: block; margin: 0 auto;
	max-width: min(94vw, 1500px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px);
	background: #fff; padding: 8px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, .4);
}
.pe-lightbox figcaption { margin-top: 10px; font-size: .9rem; color: #e6e8ea; }
.pe-lightbox figcaption:empty { display: none; }
.pe-lightbox button {
	position: absolute; width: 46px; height: 46px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	line-height: 0; color: #fff;
	background: rgba(0, 0, 0, .28); border: 0; border-radius: 50%; cursor: pointer;
}
.pe-lightbox button:hover, .pe-lightbox button:focus-visible { background: var(--lime); outline: 0; }
.pe-lightbox__close { top: 8px; right: 10px; }
.pe-lightbox__prev { left: 10px; top: 50%; margin-top: -23px; }
.pe-lightbox__next { right: 10px; top: 50%; margin-top: -23px; }
.pe-lightbox button svg { display: block; }
.pe-lightbox button[hidden] { display: none; }

/* ------------------------------------------------------------------
   Home
------------------------------------------------------------------ */
.call-to-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px; margin: 0 0 30px; background: #f0f0f0; border-radius: 3px; }
.call-to-action p { margin: 0; font-size: 1.1rem; }

.home-intro { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px dotted #aaa; }
.homesplash { max-width: 40ch; margin: 0; font: 400 clamp(1.5rem, 3.1vw, 2.15rem)/1.22 var(--serif); color: var(--lime); }
.home-widgets { margin-bottom: 26px; }

/* About panel: the Home page's own content, under New Arrivals */
.home-about { margin: 0 0 26px; padding: clamp(20px, 3vw, 36px); background: var(--panel); }
.home-about h1, .home-about h2 { color: var(--lime); }
.home-about > :last-child { margin-bottom: 0; }

.home-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad); margin: 12px 0 26px; }
.home-box { padding: 20px 22px; background: var(--panel); }
.home-box h2 { color: var(--lime); }
.home-box > :last-child { margin-bottom: 0; }
.home-box a { font-weight: 500; }

/* News / fallback lists --------------------------------------------- */
.post-summary { padding-bottom: 1.4em; margin-bottom: 1.4em; border-bottom: 1px dotted #aaa; }
.post-summary:last-of-type { border: 0; }
.post-summary__thumb { float: left; margin: 0 1.2em .6em 0; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer { padding: 30px var(--pad) 20px; color: #e9eaee; background: var(--slate); font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.site-footer a:hover, .site-footer a:focus { color: #c5cf2a; text-decoration-color: currentColor; }
.site-footer h3 { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }

/* Footer1–Footer4 widget areas (Appearance → Widgets); only the ones with widgets are output */
.site-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 var(--pad); margin-bottom: 8px; }
.site-footer .widget { margin-bottom: 1.4em; }
.site-footer .widget-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .3); }
.site-footer .widget p:last-child { margin-bottom: 0; }
.site-footer .widget a { color: #fff; text-decoration: none; }
.site-footer .widget a:hover, .site-footer .widget a:focus { color: #c5cf2a; }

.site-footer__accreditations { margin-bottom: 14px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; font-size: .8125rem; color: rgba(255, 255, 255, .78); }
.site-footer__widgets ~ .site-footer__base, .site-footer__accreditations ~ .site-footer__base { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); }
.site-footer__base p { margin: 0; }

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 1000px) {
	.art-grid, .art-grid--four { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

@media (max-width: 860px) {
	/* Wide header texture doesn't suit the taller open menu: back to the plain grain. */
	.main-nav { background: var(--slate) url(assets/images/grain.png) 0 0 / 128px 128px; }
	:root { --header-h: 112px; }

	/* Main menu collapses behind a button */
	.main-nav__toggle {
		display: flex; align-items: center; gap: 10px;
		width: 100%; padding: 12px 0;
		font: 400 1.15rem/1 var(--serif); color: #fff;
		background: none; border: 0; cursor: pointer;
	}
	.main-nav__bars, .main-nav__bars::before, .main-nav__bars::after {
		display: block; width: 22px; height: 2px; background: #fff; content: "";
	}
	.main-nav__bars { position: relative; }
	.main-nav__bars::before { position: absolute; top: -7px; }
	.main-nav__bars::after { position: absolute; top: 7px; }

	.main-nav__list { display: none; }
	.main-nav.is-open .main-nav__list { display: block; }

	/* The utility menu links sit under the main menu */
	.main-nav__list--utility { padding-bottom: 10px; }
	.main-nav__list--utility li:first-child a { border-top-color: rgba(255, 255, 255, .45); }
	.main-nav__list a { padding: .55em 0; border-top: 1px solid rgba(255, 255, 255, .14); }
	.main-nav__list ul { position: static; visibility: visible; opacity: 1; min-width: 0; padding: 0 0 0 1.2em; background: none; }

	/* Browse lists collapse behind a button */
	.layout--side, .layout--side-right { display: block; }
	.side:not(.side--static) { margin-bottom: 22px; }
	.side__toggle {
		display: flex; justify-content: space-between; align-items: center;
		width: 100%; padding: 11px 14px;
		font: 400 1.1rem/1.2 var(--serif); color: var(--ink); text-align: left;
		background: var(--panel); border: 0; border-radius: 3px; cursor: pointer;
	}
	.side__toggle::after { content: "+"; font: 400 1.4rem/1 var(--sans); }
	.side__toggle[aria-expanded="true"]::after { content: "\2013"; }
	.side:not(.side--static) .side__body { display: none; padding: 14px 14px 0; }
	.side.is-open .side__body { display: block; }
	.side--static { margin-top: 28px; padding-top: 22px; border-top: 1px dotted #aaa; }

	.artwork { grid-template-columns: 1fr; }
	.artwork__image img { max-height: 70vh; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }

	:root { --header-h: 104px; }
	.top-bar__inner { justify-content: center; gap: 0 18px; }
	.top-bar__email .top-bar__text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
	.top-bar__email svg { width: 17px; height: 17px; }
	.site-header__top { padding-bottom: 14px; background-size: auto 44px, 128px 128px, auto; background-position: 4px 6px, 0 0, 0 0; }

	.home-intro, .home-boxes { grid-template-columns: 1fr; }
	.art-grid, .art-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.art-card__frame { padding: 9px; }
	.art-card__title { font-size: .9375rem; }

	.one_half, .one_third, .two_third, .one_fourth, .three_fourth { float: none; width: auto; margin-right: 0; }
	.entry img.alignleft, .entry img.alignright { float: none; display: block; margin: 0 0 1em; }
	.artwork__thumbs img { width: 84px; height: 84px; }
	.pe-lightbox { padding: 56px 6px 12px; }
	.pe-lightbox img { padding: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

@media print {
	body { background: #fff; }
	.site-header__top, .site-footer { background-image: none; }
	.site { box-shadow: none; }
	.top-bar, .main-nav, .side, .singlenav, .button, .pagination { display: none !important; }
}
