/*
Theme Name: Split This Rock
Description: Split This Rock's site design (originally by Ideal Design, 2013), rebuilt as a responsive, accessible WordPress block theme for The Quarry.
Author: Howard Development & Consulting
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: split-this-rock
*/

/* =====================================================================
   Tokens and base
   ================================================================== */

:root {
	--str-red: #9c0006;
	--str-yellow: #f7ff21;
	--str-gray-text: #757575;   /* 4.6:1 on white */
	--str-tagline: #9d9d9d;     /* 7.4:1 on black */
	--str-box: #efefef;
	--str-box-2: #e8e8e8;
	--str-border: #8e8e8e;
	--str-lato: Lato, Arial, Helvetica, sans-serif;
	--str-sans: 'Source Sans 3', 'Source Sans Pro', Arial, Helvetica, sans-serif;
	--str-poem: Arial, Helvetica, sans-serif;
}

/* Text size buttons (Zoom: A A A) scale everything set in rem. */
html { font-size: 100%; }
html[data-zoom="2"] { font-size: 112.5%; }
html[data-zoom="3"] { font-size: 125%; }

body {
	margin: 0;
	min-width: 320px;
	background: #000 url(assets/images/backgroundimage.png) no-repeat center top;
	color: #000;
	font-family: var(--str-sans);
	-webkit-text-size-adjust: 100%;
}
@media (max-width: 1000px) { body { background-image: none; } }

.wp-site-blocks {
	max-width: 982px;
	margin: 0 auto;
	padding: 0;
}
.wp-site-blocks > * + * { margin-block-start: 0; }

img { max-width: 100%; height: auto; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* Focus: yellow on the black header, red on white. */
:focus-visible { outline: 3px solid var(--str-red); outline-offset: 2px; }
.str-header :focus-visible,
.wp-block-navigation__responsive-container.is-menu-open :focus-visible { outline-color: var(--str-yellow); }

.skip-link.screen-reader-text:focus {
	background: var(--str-yellow) !important;
	color: #000 !important;
	font: 700 1rem var(--str-lato) !important;
	padding: 0.75rem 1rem !important;
	clip-path: none;
	z-index: 100000;
}

/* =====================================================================
   Header
   ================================================================== */

.str-header {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"brand util"
		"nav nav";
	align-items: start;
	column-gap: 1rem;
	padding: 22px 19px 6px 0;
	color: #fff;
}
.str-header > * { margin: 0 !important; }
.str-header__brand {
	grid-area: brand;
	display: flex;
	align-items: center;
	gap: 15px;
	padding-top: 5px;
}
.str-logo { margin: 0 !important; flex: none; }
.str-logo img { width: 132px; height: auto; display: block; }
.str-tagline {
	margin: 0 !important;
	max-width: 23.5rem;
	color: var(--str-tagline);
	font: 700 0.9375rem/1.33 var(--str-lato);
}

.str-header__util { grid-area: util; text-align: right; }
.str-newsletter { margin: 0 0 0.45rem !important; font-size: 0.8125rem; }
.str-newsletter a {
	display: inline-block;
	padding: 3px 30px 3px 0;
	min-height: 24px;
	box-sizing: border-box;
	background: url(assets/images/sprite-mail.png) no-repeat right top;
	color: var(--str-tagline);
	font-weight: 400;
	text-decoration: none;
}
.str-newsletter a:hover, .str-newsletter a:focus { color: var(--str-yellow); background-position: right -26px; }

.str-header__row { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 0 !important; }
.str-donate-link { margin: 0 !important; }
.str-donate-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--str-yellow);
	font: 700 0.9375rem/24px var(--str-lato);
	text-transform: uppercase;
	text-decoration: none;
}
.str-donate-link a::after {
	content: "";
	width: 24px;
	height: 24px;
	background: url(assets/images/sprite.png) no-repeat -32px -26px;
}
.str-donate-link a:hover, .str-donate-link a:focus { text-decoration: underline; }

.str-social { gap: 4px !important; margin: 0 !important; }
.str-social .wp-social-link svg { width: 16px; height: 16px; }
.str-social .wp-social-link a { padding: 4px !important; }
.str-social .wp-social-link:hover,
.str-social .wp-social-link:focus-within { background-color: var(--str-yellow) !important; }

/* Main menu */
.str-nav { grid-area: nav; margin-top: -6px !important; justify-self: end; }
.str-nav .wp-block-navigation__container { gap: 0 !important; }
.str-nav .wp-block-navigation-item__content {
	color: #fdfdfd;
	font: 700 0.9375rem/1.15 var(--str-lato);
	text-transform: uppercase;
	text-decoration: none;
	padding: 4px 0;
}
.str-nav .wp-block-navigation-item__content:hover,
.str-nav .wp-block-navigation-item__content:focus { color: var(--str-yellow); }
.str-nav .wp-block-navigation__container > .wp-block-navigation-item + .wp-block-navigation-item::before {
	content: "/";
	color: var(--str-red);
	font: 400 1.1rem/1 var(--str-lato);
	margin: 0 11px 0 9px;
}
.str-nav .wp-block-navigation__submenu-icon { display: none; }
.str-nav .wp-block-navigation__submenu-container {
	background: #fff !important;
	border: 1px solid var(--str-border) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
	min-width: 15rem !important;
	padding: 6px 0;
}
.str-nav .wp-block-navigation__container > .wp-block-navigation-item:last-child > .wp-block-navigation__submenu-container { left: auto !important; right: 0; }
.str-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #000;
	font: 600 0.875rem/1.3 var(--str-sans);
	text-transform: none;
	padding: 6px 14px !important;
}
.str-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.str-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus { color: var(--str-red); background: var(--str-box); }

/* Mobile menu (core overlay) */
.str-nav .wp-block-navigation__responsive-container-open,
.str-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.str-nav .wp-block-navigation__responsive-container-open svg { width: 32px; height: 32px; }
.str-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: #4e4e4e !important;
	color: #fff !important;
	padding: 1rem;
}
.str-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item + .wp-block-navigation-item::before { content: none; }
.str-nav .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-size: 1rem; padding: 10px 0 !important; }
.str-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important; border: 0 !important; box-shadow: none; padding: 0 0 0 1rem !important;
}
.str-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font: 400 1rem var(--str-sans); color: #fff !important; }
.str-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: transparent; color: var(--str-yellow) !important; }

/* =====================================================================
   Page body: white column with a torn-paper top edge
   ================================================================== */

.str-main {
	position: relative;
	margin-top: 30px !important;
	background: #fff;
	padding: 14px 20px 30px 24px;
	box-shadow: 0 66px 70px 35px rgba(0, 0, 0, 0.6);
}
.str-main::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -30px;
	height: 32px;
	background: url(assets/images/bg-main.png) no-repeat center top;
	background-size: 100% 32px;
	pointer-events: none;
}
.str-main > * + * { margin-block-start: 0; }

/* Zoom control */
.str-zoom {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 2px;
	margin: 0 0 10px;
	font: 700 0.75rem var(--str-lato);
}
.str-zoom__label { margin-right: 4px; }
.str-zoom__btn {
	border: 0;
	background: none;
	padding: 2px 3px;
	min-width: 24px;
	min-height: 24px;
	color: var(--str-red);
	font-family: Georgia, 'Times New Roman', serif;
	text-decoration: underline;
	cursor: pointer;
	line-height: 1;
}
.str-zoom__btn.is-small { font-size: 13px; }
.str-zoom__btn.is-medium { font-size: 17px; }
.str-zoom__btn.is-large { font-size: 22px; }
.str-zoom__btn[aria-pressed="true"] { color: #000; text-decoration: none; }

/* Two columns: content 620px + sidebar 300px */
.str-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 20px;
	align-items: start;
}
.str-cols > * { margin: 0 !important; }

.str-content { font-size: 1rem; line-height: 1.5; min-width: 0; }
.str-content > * + * { margin-block-start: 1rem; }
.str-content h1,
.str-main > h1,
.str-content .wp-block-post-title,
.str-content .wp-block-query-title {
	color: var(--str-red);
	font: 900 1.625rem/1.15 var(--str-lato);
	margin: 0 0 0.75rem;
}
.str-content h2 { font: 900 1.125rem/1.25 var(--str-lato); margin: 1.25rem 0 0.5rem; }
.str-content h3 { font: 900 1rem/1.3 var(--str-lato); margin: 1rem 0 0.4rem; }
.str-content p { margin: 0 0 1rem; }
.str-content a { color: var(--str-red); font-weight: 700; }
.str-content hr { border: 0; border-top: 1px solid #000; margin: 1rem 0; }
.str-content ul, .str-content ol { padding-left: 1.5rem; }
.str-content blockquote { margin: 1rem 0 1rem 1.5rem; }
.str-content iframe { max-width: 100%; }

.str-backtop { text-align: right; font-size: 0.8125rem; }
.str-backtop a::before { content: "^ "; }
.str-backtop a { font-weight: 400 !important; text-decoration: none; }
.str-backtop a:hover, .str-backtop a:focus { text-decoration: underline; }

/* =====================================================================
   Sidebar
   ================================================================== */

.str-sidebar { padding-top: 3px; }
.str-sidebar > .wp-block-template-part > * + * { margin-top: 2.25rem; }

.str-side-title {
	font: 900 0.8125rem/1.2 var(--str-lato) !important;
	color: var(--str-gray-text);
	text-transform: uppercase;
	margin: 0 0 0.6rem -1px !important;
}
.str-side-head { display: flex; justify-content: space-between; align-items: baseline; }

/* Section menu */
.str-sidenav .str-side-title a { color: #000; text-decoration: none; }
.str-sidenav .str-side-title a:hover, .str-sidenav .str-side-title a:focus { text-decoration: underline; }
.str-sidenav .str-side-title span { color: var(--str-gray-text); }
.str-sidenav ul { list-style: none; margin: 0; padding: 0; }
.str-sidenav li { position: relative; padding: 0 0 0 20px; margin: 0 0 8px; }
.str-sidenav li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.5em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #6d6d6d;
}
.str-sidenav li.is-current::before { background: var(--str-red); }
.str-sidenav li a { color: #000; font: 900 0.9375rem/1.25 var(--str-lato); text-decoration: none; }
.str-sidenav li a:hover, .str-sidenav li a:focus { color: var(--str-red); text-decoration: underline; }
.str-sidenav li.is-current a { color: var(--str-red); }

/* Poem of the Week */
.str-potw__nav { display: flex; gap: 4px; align-items: baseline; font: 700 0.75rem var(--str-lato); color: #595959; }
.str-potw__nav button {
	border: 0;
	cursor: pointer;
	color: var(--str-red);
	font: inherit;
	min-height: 24px;
}
.str-potw__prev { padding: 0 0 0 20px; background: url(assets/images/arrow2.png) no-repeat 0 -41px; }
.str-potw__next { padding: 0 20px 0 0; background: url(assets/images/arrow.png) no-repeat 100% -41px; }
.str-potw__prev:disabled { color: #767676; background-position: 0 0; cursor: default; }
.str-potw__next:disabled { color: #767676; background-position: 100% 0; cursor: default; }
.str-potw__slide { border: 1px solid var(--str-border); background: var(--str-box); }
.str-potw__slide[hidden] { display: none; }
.str-potw__head { display: flex; justify-content: space-between; background: var(--str-red); color: #fff; min-height: 80px; }
.str-potw__titles { padding: 12px 12px 8px; }
.str-potw__title { margin: 0 0 2px; font: 700 1rem/1.2 var(--str-lato); }
.str-potw__title a { color: #fff; text-decoration: none; }
.str-potw__title a:hover, .str-potw__title a:focus { text-decoration: underline; }
.str-potw__by { margin: 0; font: 700 0.75rem var(--str-lato); }
.str-potw__photo { width: 80px; height: 80px; object-fit: cover; flex: none; }
.str-potw__body { padding: 12px 14px 10px; font: 1rem/1.25 var(--str-poem); }
.str-potw__body p { margin: 0 0 0.6rem; }
.str-potw__more { text-align: right; font: 0.75rem var(--str-sans); margin: 0 !important; }
.str-potw__more a { color: var(--str-red); text-decoration: none; }
.str-potw__more a:hover, .str-potw__more a:focus { text-decoration: underline; }

/* Upcoming events */
.str-events__box { background: var(--str-box-2); border: 1px solid var(--str-border); padding: 10px 11px 4px; }
.str-events__row { display: flex; gap: 10px; margin: 0 0 10px; }
.str-events__date { flex: none; width: 4.2rem; color: var(--str-red); font: 700 0.875rem/1.3 var(--str-lato); }
.str-events__title { display: block; color: #000; font: 900 1rem/1.15 var(--str-lato); text-decoration: none; }
.str-events__title:hover, .str-events__title:focus { color: var(--str-red); text-decoration: underline; }
.str-events__details { color: var(--str-red); font-size: 0.75rem; text-decoration: none; }
.str-events__details:hover, .str-events__details:focus { text-decoration: underline; }
.str-events__none { margin: 0 0 10px; }
.str-events__all { text-align: right; margin: 6px 0 0; }
.str-events__all a {
	color: var(--str-gray-text);
	font: 700 0.875rem var(--str-lato);
	text-decoration: none;
	padding-left: 22px;
	background: url(assets/images/ico8.png) no-repeat 0 3px;
}
.str-events__all a:hover, .str-events__all a:focus { color: #000; text-decoration: underline; }

/* Quarry search box */
.str-qbox { background: var(--str-box); border: 1px solid var(--str-border); }
.str-qbox__title {
	margin: 0 0 13px !important;
	background: var(--str-red);
	color: #fff;
	font: 900 0.75rem/1.3 var(--str-lato) !important;
	text-transform: uppercase;
	padding: 6px 12px 8px;
}
.str-qbox__form { display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.str-qbox__form input[type="search"] {
	flex: 1;
	min-width: 0;
	font: 700 0.8125rem var(--str-lato);
	color: #000;
	background: #fff;
	border: 1px solid #777;
	padding: 5px 6px;
	border-radius: 0;
}
.str-qbox__form input::placeholder { color: #4a4a4a; opacity: 1; }
.str-qbox__go {
	flex: none;
	width: 24px;
	height: 24px;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: url(assets/images/sprite.png) no-repeat -228px 0;
}
.str-qbox__go:hover, .str-qbox__go:focus { background-position: -228px -26px; }
.str-qbox__filters { padding: 8px 12px 14px 22px; }
.str-qbox__label { margin: 0 0 4px; color: #595959; font: 900 0.75rem var(--str-lato); text-transform: uppercase; }
.str-qbox__filters > ul { list-style: none; margin: 0; padding: 0; }
.str-qbox details { margin: 0 0 4px; }
.str-qbox summary {
	list-style: none;
	cursor: pointer;
	font: 700 0.8125rem/1.6 var(--str-lato);
	padding-left: 17px;
	position: relative;
}
.str-qbox summary::-webkit-details-marker { display: none; }
.str-qbox summary::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.4em;
	border: 5px solid transparent;
	border-left: 6px solid #4a4a4a;
}
.str-qbox details[open] > summary::before { left: 0; top: 0.65em; border: 5px solid transparent; border-top: 6px solid #4a4a4a; }
.str-qbox details ul { list-style: none; margin: 4px 0 8px; padding: 0 0 0 17px; max-height: 22rem; overflow-y: auto; }
.str-qbox details li { margin: 0 0 3px; font-size: 0.8125rem; }
.str-qbox details li.depth-1 { padding-left: 0.9rem; }
.str-qbox details li.depth-2 { padding-left: 1.8rem; }
.str-qbox details li a { color: #000; text-decoration: none; font-weight: 600; }
.str-qbox details li a:hover, .str-qbox details li a:focus { color: var(--str-red); text-decoration: underline; }
.str-qbox details li.is-active a { color: var(--str-red); font-weight: 700; }
.str-qbox details li.is-active a::after { content: " ×"; }
.str-qbox__count { color: #595959; font-weight: 400; }

/* =====================================================================
   Home
   ================================================================== */

.str-home-content > * + * { margin-block-start: 0; }

.str-slideshow { position: relative; margin: 4px 0 30px !important; max-width: 620px; }
.str-slideshow figure { margin: 0 0 1rem; position: relative; }
.str-slideshow figure img { display: block; width: 100%; height: auto; }
.str-slideshow figcaption,
.str-slideshow .wp-element-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 !important;
	padding: 14px 14px 16px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font: 1.125rem/1.15 var(--str-sans);
	text-align: left;
}
.str-slideshow figcaption a { color: #fff; }
.str-slideshow.is-enhanced .str-slideshow__track { display: grid; }
.str-slideshow.is-enhanced .str-slideshow__track > figure { grid-area: 1 / 1; margin: 0; visibility: hidden; opacity: 0; transition: opacity 0.6s, visibility 0.6s; }
.str-slideshow.is-enhanced .str-slideshow__track > figure.is-active { visibility: visible; opacity: 1; }
.str-slideshow__controls { display: flex; justify-content: flex-end; align-items: center; gap: 2px; margin-top: 8px; }
.str-slideshow__dot, .str-slideshow__pause {
	width: 24px;
	height: 24px;
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	position: relative;
}
.str-slideshow__dot::before {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: #7a7a7a;
}
.str-slideshow__dot[aria-current="true"]::before { background: var(--str-red); }
.str-slideshow__pause { margin-right: auto; }
.str-slideshow__pause::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 6px;
	width: 3px;
	height: 12px;
	border-left: 3px solid #4a4a4a;
	border-right: 3px solid #4a4a4a;
}
.str-slideshow__pause.is-paused::before {
	left: 8px;
	top: 5px;
	width: 0;
	height: 0;
	border: 7px solid transparent;
	border-left: 11px solid #4a4a4a;
	border-right: 0;
}
.str-banner { margin: 0 !important; }
.str-banner img { border: 2px solid #4a4a4a; display: block; width: 100%; height: auto; box-sizing: border-box; }

/* =====================================================================
   Poems
   ================================================================== */

.str-poem-title { margin-bottom: 0.25rem !important; }
.str-byline {
	margin: 0 !important;
	padding: 0 0 6px;
	border-bottom: 1px solid var(--str-red);
	font-size: 0.8125rem;
}
.str-byline a { color: var(--str-red); font: 900 0.9375rem var(--str-lato); text-decoration: none; margin-left: 3px; }
.str-byline a:hover, .str-byline a:focus { text-decoration: underline; }
.str-byline__translator { color: #000; font-weight: 400; }

.str-poem-text {
	margin: 0 !important;
	padding: 25px 45px 17px;
	border-bottom: 1px solid var(--str-red);
	font: 1rem/1.4 var(--str-poem);
	overflow-wrap: break-word;
}
.str-poem-text p { margin: 0 0 1.15em; }
.str-poem-text hr { border: 0; border-top: 1px solid #555; margin: 1.5rem 0; }
.str-poem-text audio { width: 100%; max-width: 300px; margin: 0.5rem 0 1rem; }
.str-poem-text iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.str-poem-text .embed_media { margin: 0 0 1rem; }

.str-poem-foot { margin-top: 0.75rem !important; }
.str-poem-foot__meta { font-size: 0.75rem; font-style: italic; margin: 0 0 1rem !important; }
.str-poem-foot__bio { overflow: hidden; margin: 0 0 0.5rem; }
.str-poem-foot__photo { float: left; width: 140px; margin: 0 12px 6px 0; }
.str-poem-foot__photo img { display: block; width: 100%; height: auto; }
.str-poem-foot__photo figcaption { font-size: 0.6875rem; line-height: 1.25; color: #4a4a4a; margin-top: 3px; }
.str-poem-foot__other { clear: both; }
.str-poem-foot__other a { font-weight: 400 !important; }
.str-poem-foot__cats ul { display: inline; list-style: none; margin: 0; padding: 0; }
.str-poem-foot__cats li { display: inline; }
.str-poem-foot__cats li + li::before { content: ", "; }
.str-poem-foot__cats a { font-weight: 400 !important; }

/* Search results */
.str-qactive { margin: 0 0 1rem !important; }
.str-qactive__count { font: 900 1rem var(--str-lato); margin: 0 0 0.4rem !important; }
.str-qactive__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0.4rem; padding: 0 !important; }
.str-qactive__list a {
	display: inline-block;
	background: var(--str-box);
	border: 1px solid var(--str-border);
	padding: 2px 8px;
	color: #000 !important;
	font-weight: 600 !important;
	text-decoration: none;
	font-size: 0.875rem;
}
.str-qactive__list a:hover, .str-qactive__list a:focus { border-color: var(--str-red); color: var(--str-red) !important; }
.str-qactive__list .str-qactive__clear { background: none; border-color: transparent; color: var(--str-red) !important; text-decoration: underline; }
.str-qactive__sort { font-size: 0.8125rem; margin: 0 !important; }

.str-results .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.str-results .wp-block-post { margin: 0; }
.str-result { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #ccc; }
.str-result__photo { flex: none; width: 80px; }
.str-result__photo img { width: 80px; height: 80px; object-fit: cover; display: block; }
.str-result__photo.is-empty { height: 80px; background: var(--str-box); }
.str-result__body { min-width: 0; }
.str-result__title { margin: 0 0 2px !important; font: 900 1.0625rem/1.2 var(--str-lato) !important; }
.str-result__title a { color: var(--str-red) !important; text-decoration: none; }
.str-result__title a:hover, .str-result__title a:focus { text-decoration: underline; }
.str-result__by { margin: 0 0 6px !important; font-size: 0.8125rem; }
.str-result__by a { color: #000 !important; font-weight: 700; text-decoration: none; }
.str-result__by a:hover, .str-result__by a:focus { text-decoration: underline; }
.str-result .str-poem-lines { font: 0.9375rem/1.35 var(--str-poem); color: #222; margin: 0 0 4px; }
.str-result__more { margin: 0 !important; font-size: 0.75rem; }
.str-result__more a { font-weight: 400 !important; text-decoration: none; }
.str-result__more a:hover, .str-result__more a:focus { text-decoration: underline; }

.str-pager { margin-top: 1.25rem !important; gap: 2px !important; font: 700 0.875rem var(--str-lato); }
.str-pager a, .str-pager .page-numbers {
	display: inline-block;
	min-width: 24px;
	min-height: 24px;
	padding: 2px 6px;
	text-align: center;
	background: #6d6d6d;
	color: #fff !important;
	text-decoration: none;
	box-sizing: border-box;
}
.str-pager a:hover, .str-pager a:focus { background: var(--str-red); }
.str-pager .page-numbers.current { background: #fff; color: #000 !important; }
.str-pager .page-numbers.dots { background: none; color: #000 !important; }

.str-subhead { border-bottom: 1px solid var(--str-red); padding-bottom: 4px; }
.str-quarry-intro { margin: 0 0 1.5rem !important; }

/* Poet page bio */
.str-poets { margin: 0 0 1rem !important; }
.str-poet { display: block; overflow: hidden; }
.str-poet__figure, .str-poet > img.str-poet__photo { float: left; width: 140px; margin: 0 12px 6px 0; }
.str-poet__figure img { width: 100%; display: block; }
.str-poet__figure figcaption { font-size: 0.6875rem; color: #4a4a4a; margin-top: 3px; }

/* =====================================================================
   News
   ================================================================== */

.str-added { font-size: 0.75rem; font-style: italic; margin: -0.25rem 0 1rem !important; }
.str-news-list .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.str-news-item { padding: 14px 0; border-top: 1px solid #ccc; }
.str-news-item > * { margin: 0 0 0.35rem !important; }
.str-news-item .wp-block-post-title { font: 900 1.125rem/1.25 var(--str-lato) !important; color: #000; }
.str-news-item .wp-block-post-title a { color: var(--str-red); text-decoration: none; }
.str-news-item .wp-block-post-title a:hover, .str-news-item .wp-block-post-title a:focus { text-decoration: underline; }
.str-news-item .wp-block-post-excerpt__more-link { font-weight: 400; font-size: 0.8125rem; text-decoration: none; }
.str-media-list { padding-left: 1.2rem; }
.str-media-list li { margin: 0 0 0.4rem; }
.str-media-list__date { color: var(--str-gray-text); font-size: 0.8125rem; }

.wp-block-search__input { border: 1px solid #777; padding: 6px; font: inherit; }
.wp-block-search__button { background: var(--str-red); color: #fff; border: 0; font: 900 0.8125rem var(--str-lato); text-transform: uppercase; padding: 8px 14px; }

/* =====================================================================
   Footer
   ================================================================== */

.str-footer {
	position: relative;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 20px;
	background: var(--str-box);
	border-top: 1px solid #dcdcdc;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
	padding: 23px 26px 70px 22px;
	color: #040000;
	font-size: 0.8125rem;
}
.str-footer > * { margin: 0 !important; }
.str-footer a { color: #040000; text-decoration: none; }
.str-footer a:hover, .str-footer a:focus { color: var(--str-red); text-decoration: underline; }
.str-footer__info > * { margin: 0 0 0.8rem !important; }
.str-footer__logo img { width: 83px; height: auto; }
.str-footer__address, .str-footer__phone { font-weight: 600; font-size: 0.875rem; line-height: 1.35; }
.str-footer__social { gap: 4px !important; }
.str-footer__social .wp-social-link a { padding: 4px !important; }
.str-footer__social .wp-social-link svg { width: 14px; height: 14px; }
.str-footer__social .wp-social-link:hover { opacity: 0.75; }
.str-footer__copy { font-size: 0.75rem; }

.str-sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.str-sitemap h2 { font: 700 0.8125rem/1.3 var(--str-lato); text-transform: uppercase; margin: 0 0 0.9rem; }
.str-sitemap ul { list-style: none; margin: -0.4rem 0 1rem; padding: 0; }
.str-sitemap li { margin: 0 0 0.5rem; font: 600 0.8125rem/1.2 var(--str-sans); }

.str-totop { position: absolute; right: 20px; bottom: 0; margin: 0 !important; }
.str-totop a {
	display: block;
	width: 60px;
	height: 57px;
	background: url(assets/images/bg-up.png) no-repeat;
	text-indent: -9999px;
	overflow: hidden;
}
.str-totop a:focus { outline-offset: -3px; }

/* Quarry jump link (phones and tablets only; see the 860px block). */
.str-qjump { display: none; margin: 0 0 1rem !important; }
.str-qjump a {
	display: inline-block;
	background: var(--str-red);
	color: #fff !important;
	font: 900 0.8125rem var(--str-lato) !important;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 12px;
}
.str-qjump a:hover, .str-qjump a:focus { background: #000; }

/* =====================================================================
   Tablet and phone
   ================================================================== */

@media (max-width: 860px) {
	.str-header {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"brand nav"
			"util util";
		padding: 15px 16px 4px;
		row-gap: 10px;
	}
	.str-logo img { width: 96px; }
	.str-tagline { font-size: 0.8125rem; }
	.str-nav { margin-top: 0 !important; align-self: center; }
	.str-header__util { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; text-align: left; }
	.str-newsletter { margin: 0 !important; }

	.str-main { padding: 10px 16px 30px; box-shadow: none; margin-top: 24px !important; }
	.str-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.str-sidebar { margin-top: 2rem !important; padding-top: 1.5rem; border-top: 1px solid #6d6d6d; }
	/* Quarry: a jump link to the search box (kept in reading order, after the results). */
	.str-qjump { display: block !important; }

	.str-footer { grid-template-columns: 1fr; padding: 24px 20px 80px; }
	.str-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.str-tagline { display: none; }
	.str-poem-text { padding: 18px 4px 14px; }
	.str-poem-foot__photo, .str-poet__figure { width: 110px; }
	.str-slideshow figcaption, .str-slideshow .wp-element-caption { position: static; font-size: 1rem; padding: 10px 12px; }
	.str-result__photo, .str-result__photo img, .str-result__photo.is-empty { width: 60px; height: 60px; }
	.str-zoom { display: none; } /* phones have their own zoom */
}

@media (max-width: 420px) {
	.str-sitemap { grid-template-columns: 1fr; }
	.str-qbox details ul { max-height: none; }
}

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

@media print {
	body { background: #fff; }
	.str-header, .str-sidebar, .str-footer, .str-zoom { display: none; }
	.str-main { box-shadow: none; margin: 0 !important; }
}

/* Mobile menu: left-aligned, readable list. */
.str-nav .is-menu-open .wp-block-navigation__container,
.str-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; text-align: left; }
.str-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
