/**
 * jmattphotos — Main Stylesheet
 *
 * Design system variables → base resets → typography → layout
 * utilities → site header → site footer → global components.
 *
 * Page-specific styles are in separate files loaded conditionally:
 *   front-page.css, single-photo.css, archive.css, woocommerce.css
 */

/* ─────────────────────────────────────────────────────────────────────────────
   DESIGN SYSTEM TOKENS
   ───────────────────────────────────────────────────────────────────────────── */

:root {
	/* Colors */
	--color-bg:            #F8F6F1;
	--color-text:          #1A1A1A;
	--color-text-muted:    #6B6560;
	--color-text-faint:    #9C9690;
	--color-accent:        #3D3530;
	--color-accent-hover:  #1A1A1A;
	--color-rule:          #D4D0C8;
	--color-footer-bg:     #1C1C1C;
	--color-footer-text:   #E8E4DC;
	--color-footer-muted:  #8A8580;

	/* Typography */
	--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body:    'Source Serif 4', Georgia, 'Times New Roman', serif;
	--font-ui:      'DM Sans', system-ui, -apple-system, sans-serif;

	/* Sizing */
	--max-content:  700px;   /* comfortable prose width */
	--max-photo:    1200px;  /* single photo max width */
	--max-site:     1400px;  /* outer site boundary */

	/* Spacing scale */
	--space-xs:    0.375rem;
	--space-sm:    0.75rem;
	--space-md:    1.5rem;
	--space-lg:    3rem;
	--space-xl:    5rem;
	--space-2xl:   8rem;

	/* Transitions */
	--ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
	--duration:    220ms;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────────────────────── */

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

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1.125rem;   /* 18px */
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video, picture {
	display: block;
	max-width: 100%;
	height: auto;
}

img {
	vertical-align: middle;
}

a {
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	transition: color var(--duration) var(--ease);
}

a:hover,
a:focus-visible {
	color: var(--color-accent-hover);
}

a:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

ul, ol {
	padding-left: 1.5em;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }

h4, h5, h6 {
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

p {
	margin-top: 0;
	margin-bottom: 1.25em;
}

p:last-child {
	margin-bottom: 0;
}

blockquote {
	margin: var(--space-lg) 0;
	padding-left: var(--space-md);
	border-left: 2px solid var(--color-rule);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--color-text);
}

blockquote cite {
	display: block;
	margin-top: 0.75em;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	font-style: normal;
	color: var(--color-text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   LAYOUT UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */

.container {
	width: 100%;
	max-width: var(--max-site);
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--space-md);
	padding-left: var(--space-md);
}

.container--narrow { max-width: calc(var(--max-content) + var(--space-md) * 2); }
.container--prose  { max-width: calc(var(--max-content) + var(--space-md) * 2); }
.container--wide   { max-width: calc(var(--max-photo) + var(--space-md) * 2); }

@media (min-width: 768px) {
	.container {
		padding-right: var(--space-lg);
		padding-left: var(--space-lg);
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   SITE HEADER
   ───────────────────────────────────────────────────────────────────────────── */

.site-header {
	background-color: var(--color-bg);
	text-align: center;
}

.site-header__inner {
	max-width: var(--max-site);
	margin: 0 auto;
	padding: var(--space-lg) var(--space-md) 0;
}

@media (min-width: 768px) {
	.site-header__inner {
		padding-left: var(--space-lg);
		padding-right: var(--space-lg);
	}
}

/* Masthead */
.site-header__masthead {
	margin-bottom: var(--space-md);
}

.site-header__logo img {
	max-height: 80px;
	width: auto;
	margin: 0 auto var(--space-sm);
}

.site-header__name {
	margin: 0 0 var(--space-xs);
}

.site-header__name a {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text);
	text-decoration: none;
	line-height: 1;
}

.site-header__name a:hover {
	color: var(--color-accent);
}

.site-header__tagline {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

/* Navigation */
.site-header__nav {
	position: relative;
}

.nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--color-rule);
}

.nav-menu li {
	position: relative;
}

.nav-menu > li > a {
	display: block;
	padding: var(--space-sm) var(--space-md);
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-text-muted);
	transition: color var(--duration) var(--ease);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-ancestor > a {
	color: var(--color-text);
}

/* Dropdown menus */
.nav-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 180px;
	margin: 0;
	padding: var(--space-sm) 0;
	background: var(--color-bg);
	border: 1px solid var(--color-rule);
	border-top: none;
	list-style: none;
	z-index: 100;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
	display: block;
}

.nav-menu .sub-menu a {
	display: block;
	padding: var(--space-xs) var(--space-md);
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	text-decoration: none;
	color: var(--color-text-muted);
	transition: color var(--duration) var(--ease);
}

.nav-menu .sub-menu a:hover {
	color: var(--color-text);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: 1px solid var(--color-rule);
	border-radius: 2px;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.nav-toggle__bar {
	display: block;
	width: 20px;
	height: 1.5px;
	background-color: var(--color-text);
	transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Cart link */
.cart-link {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	padding: var(--space-sm) var(--space-md);
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	text-decoration: none;
	color: var(--color-text-muted);
}

.cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	background: var(--color-accent);
	color: #fff;
	border-radius: 9px;
	font-size: 0.6875rem;
	font-weight: 500;
}

/* Ruled separator below header */
.site-header__rule {
	height: 1px;
	background: var(--color-rule);
	margin-top: 0;
}

/* Mobile nav */
@media (max-width: 767px) {
	.nav-toggle {
		display: flex;
	}

	.site-header__nav {
		padding-top: var(--space-sm);
		border-top: 1px solid var(--color-rule);
	}

	.nav-menu--primary {
		display: none;
		flex-direction: column;
		width: 100%;
		border-top: none;
		padding: var(--space-sm) 0;
	}

	.nav-menu--primary.is-open {
		display: flex;
	}

	.nav-menu--primary > li > a {
		padding: var(--space-sm) 0;
		justify-content: center;
	}

	.site-header__rule {
		display: none; /* the nav border-top serves as the rule on mobile */
	}
}

/* ─────────────────────────────────────────────────────────────────────────────
   SITE FOOTER
   ───────────────────────────────────────────────────────────────────────────── */

.site-footer {
	background-color: var(--color-footer-bg);
	color: var(--color-footer-text);
	margin-top: var(--space-2xl);
}

.site-footer__rule {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	max-width: var(--max-site);
	margin: 0 auto;
	padding: var(--space-xl) var(--space-md);
}

@media (min-width: 768px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr 1fr;
		padding: var(--space-xl) var(--space-lg);
	}
}

.site-footer__name {
	margin: 0 0 var(--space-sm);
}

.site-footer__name a {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-footer-text);
	transition: opacity var(--duration) var(--ease);
}

.site-footer__name a:hover {
	opacity: 0.7;
}

.site-footer__tagline {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	color: var(--color-footer-muted);
}

.site-footer__copyright {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	color: var(--color-footer-muted);
}

/* Footer nav */
.footer-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav li + li {
	margin-top: var(--space-sm);
}

.footer-nav a {
	font-family: var(--font-ui);
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--color-footer-muted);
	transition: color var(--duration) var(--ease);
}

.footer-nav a:hover {
	color: var(--color-footer-text);
}

/* Social links */
.site-footer__social-label {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-footer-muted);
}

.site-footer__social-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-link {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	text-decoration: none;
	color: var(--color-footer-muted);
	transition: color var(--duration) var(--ease);
}

.social-link:hover {
	color: var(--color-footer-text);
}

.social-link svg {
	fill: currentColor;
	flex-shrink: 0;
}

.social-link__label {
	font-family: var(--font-ui);
	font-size: 0.8125rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PICTURE ELEMENT
   ───────────────────────────────────────────────────────────────────────────── */

.jmp-picture {
	display: block;
	line-height: 0;
}

.jmp-picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PHOTO CARD
   ───────────────────────────────────────────────────────────────────────────── */

.photo-card {
	position: relative;
	overflow: hidden;
	background-color: var(--color-rule);
}

.photo-card__link {
	display: block;
	text-decoration: none;
}

.photo-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.photo-card__image .jmp-picture,
.photo-card__image .jmp-picture img {
	width: 100%;
	height: 100%;
}

.photo-card__image .jmp-picture img {
	transition: transform 0.6s var(--ease);
}

.photo-card:hover .photo-card__image .jmp-picture img {
	transform: scale(1.03);
}

/* Title overlay */
.photo-card__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--space-lg) var(--space-md) var(--space-md);
	background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
	opacity: 0;
	transition: opacity var(--duration) var(--ease);
}

.photo-card:hover .photo-card__overlay,
.photo-card:focus-within .photo-card__overlay {
	opacity: 1;
}

.photo-card__title {
	margin: 0 0 var(--space-xs);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}

.photo-card__dateline {
	margin: 0;
	font-family: var(--font-ui);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.75);
}

.photo-card__image--placeholder {
	background-color: #E0DDD6;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARTICLE CARD
   ───────────────────────────────────────────────────────────────────────────── */

.article-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-rule);
}

.article-card__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.article-card__image {
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.article-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.article-card:hover .article-card__img {
	transform: scale(1.03);
}

.article-card__body {
	padding: var(--space-md);
	flex: 1;
	display: flex;
	flex-direction: column;
}

.article-card__label {
	display: inline-block;
	margin-bottom: var(--space-sm);
	font-family: var(--font-ui);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	border: 1px solid var(--color-rule);
	padding: 2px 8px;
	border-radius: 2px;
}

.article-card__title {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.25;
}

.article-card:hover .article-card__title {
	color: var(--color-accent);
}

.article-card__date {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	color: var(--color-text-muted);
}

.article-card__excerpt {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--color-text-muted);
	flex: 1;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PHOTO GRID
   ───────────────────────────────────────────────────────────────────────────── */

.photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
}

@media (min-width: 640px) {
	.photo-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.photo-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Variants */
.photo-grid--related {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARCHIVE HEADER
   ───────────────────────────────────────────────────────────────────────────── */

.archive-header {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-lg);
}

.archive-header__title {
	margin-bottom: var(--space-sm);
}

.archive-header__description {
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: var(--color-text-muted);
	max-width: 60ch;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ARCHIVE FILTER
   ───────────────────────────────────────────────────────────────────────────── */

.archive-filter {
	padding-top: 0;
	padding-bottom: var(--space-md);
}

.archive-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-sm);
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--color-rule);
	padding-bottom: var(--space-md);
}

.archive-filter__link {
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-text-muted);
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.archive-filter__link:hover {
	color: var(--color-text);
	border-bottom-color: var(--color-text);
}

.archive-filter__link.is-active {
	color: var(--color-text);
	border-bottom-color: var(--color-text);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────────────────────────────────────── */

.pagination {
	padding: var(--space-xl) 0;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers li {
	display: inline;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	text-decoration: none;
	color: var(--color-text-muted);
	border: 1px solid var(--color-rule);
	transition: all var(--duration) var(--ease);
}

.pagination .page-numbers a:hover {
	color: var(--color-text);
	border-color: var(--color-text);
}

.pagination .page-numbers .current {
	color: var(--color-text);
	border-color: var(--color-text);
	background: transparent;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ENTRY CONTENT (Gutenberg / wp_kses_post blocks)
   ───────────────────────────────────────────────────────────────────────────── */

.entry-content {
	max-width: var(--max-content);
	margin-left: auto;
	margin-right: auto;
}

.entry-content > * + * {
	margin-top: 1.5em;
}

.entry-content p {
	font-size: 1.125rem;
	line-height: 1.8;
}

.entry-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Full-width and wide blocks break out of the prose container */
.entry-content .alignwide,
.entry-content .wp-block-image.alignwide {
	max-width: var(--max-photo);
	margin-right: calc(-1 * ((var(--max-photo) - var(--max-content)) / 2));
	margin-left: calc(-1 * ((var(--max-photo) - var(--max-content)) / 2));
}

.entry-content .alignfull,
.entry-content .wp-block-image.alignfull {
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TAXONOMY TAGS
   ───────────────────────────────────────────────────────────────────────────── */

.photo-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-xs);
	margin-bottom: var(--space-md);
}

.photo-terms__label {
	font-family: var(--font-ui);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	margin-right: var(--space-xs);
}

.photo-term-tag {
	display: inline-block;
	padding: 2px 10px;
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	text-decoration: none;
	color: var(--color-text-muted);
	border: 1px solid var(--color-rule);
	border-radius: 2px;
	transition: all var(--duration) var(--ease);
}

.photo-term-tag:hover {
	color: var(--color-text);
	border-color: var(--color-text);
}

/* ─────────────────────────────────────────────────────────────────────────────
   STATIC PAGES
   ───────────────────────────────────────────────────────────────────────────── */

.site-main--page .page-entry {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-2xl);
}

.page-entry__header {
	padding-bottom: var(--space-lg);
}

.page-entry__title {
	margin-bottom: var(--space-sm);
}

.page-entry__hero {
	margin-bottom: var(--space-xl);
}

.page-entry__hero-img {
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
}

.page-entry__content {
	max-width: calc(var(--max-content) + var(--space-md) * 2);
	margin: 0 auto;
	padding: 0 var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────────
   404 PAGE
   ───────────────────────────────────────────────────────────────────────────── */

.error-404 {
	padding-top: var(--space-2xl);
	padding-bottom: var(--space-2xl);
	text-align: center;
}

.error-404__code {
	font-family: var(--font-display);
	font-size: clamp(6rem, 20vw, 12rem);
	font-weight: 700;
	line-height: 1;
	color: var(--color-rule);
	margin: 0 0 var(--space-sm);
	letter-spacing: -0.04em;
}

.error-404__title {
	font-size: clamp(1.75rem, 4vw, 3rem);
	margin-bottom: var(--space-lg);
}

.error-404__body {
	max-width: 36ch;
	margin: 0 auto;
}

.error-404__body > p {
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}

.error-404__links {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	align-items: center;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SHOOT / COLLECTION HERO
   ───────────────────────────────────────────────────────────────────────────── */

.shoot-hero,
.collection-hero {
	position: relative;
	max-height: 65vh;
	overflow: hidden;
}

.shoot-hero__img,
.collection-hero__img {
	width: 100%;
	height: 65vh;
	object-fit: cover;
}

/* Shoot tile / collection tile shared styles */
.shoot-header,
.collection-header {
	padding-top: var(--space-xl);
	padding-bottom: var(--space-lg);
}

.shoot-header__title,
.collection-header__title {
	margin-bottom: var(--space-sm);
}

.shoot-header__meta {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	font-family: var(--font-ui);
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin: 0 0 var(--space-md);
}

.shoot-header__description,
.collection-header__description {
	font-size: 1.0625rem;
	color: var(--color-text-muted);
	max-width: 60ch;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SEARCH RESULTS
   ───────────────────────────────────────────────────────────────────────────── */

.search-results {
	padding: var(--space-md) 0;
}

.search-result + .search-result {
	border-top: 1px solid var(--color-rule);
	margin-top: var(--space-lg);
	padding-top: var(--space-lg);
}

.search-result__title {
	font-size: 1.5rem;
	margin-bottom: var(--space-xs);
}

.search-result__title a {
	text-decoration: none;
	color: var(--color-text);
}

.search-result__title a:hover {
	color: var(--color-accent);
}

.search-result__meta {
	font-family: var(--font-ui);
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-sm);
}

.search-result__type {
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.search-result__excerpt {
	color: var(--color-text-muted);
	font-size: 1rem;
}

.search-term {
	font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ADMIN NOTICES (visible only to logged-in editors)
   ───────────────────────────────────────────────────────────────────────────── */

.admin-notice {
	padding: var(--space-md);
	background: #fffbe6;
	border: 1px solid #f0d080;
	border-radius: 3px;
	font-family: var(--font-ui);
	font-size: 0.875rem;
	color: #7a6000;
	margin: var(--space-lg) auto;
	max-width: var(--max-content);
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCREEN READER / ACCESSIBILITY UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.screen-reader-text:focus {
	clip: auto !important;
	display: block;
	height: auto;
	width: auto;
	top: 5px;
	left: 5px;
	background: var(--color-bg);
	border: 1px solid var(--color-accent);
	padding: var(--space-sm) var(--space-md);
	z-index: 100000;
}

/* ─────────────────────────────────────────────────────────────────────────────
   MISC GUTENBERG OVERRIDES
   ───────────────────────────────────────────────────────────────────────────── */

/* Remove default WP block padding on full-width layouts */
.wp-site-blocks {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

figure.wp-block-image {
	margin: 0;
}

.wp-block-image figcaption {
	font-family: var(--font-ui);
	font-size: 0.875rem;
	color: var(--color-text-muted);
	text-align: center;
	margin-top: var(--space-xs);
}
