/*
Theme Name: SoleFinds
Theme URI: https://solefinds.boutique
Author: Cherry Nash
Author URI: https://solefinds.boutique
Description: Retro print theme for a curated shoe index. Duotone registration offset on display type, halftone dot texture, narrow 62ch measure, old-advertisement rules and numerals, tangerine spot colour.
Version: 1.0.0
Style ID: acb33f
Requires at least: 6.0
Tested up to: 7.1
License: GNU General Public License v2 or later
Text Domain: solefinds
*/

/* ---------------------------------------------------------------
   1. Tokens
--------------------------------------------------------------- */
:root {
	--bg: #ffffff;
	--bg-alt: #f6f7f9;
	--bg-deep: #eceef2;
	--text: #1a1d21;
	--text-muted: #6b7280;
	--accent: #EF7D2A;
	--border: rgba(0, 0, 0, .10);

	--ink: #14171b;
	--ink-soft: rgba(20, 23, 27, .16);
	--spacing: 18px;
	--wrap: 1080px;
	--measure: 62ch;

	--font-display: 'Times New Roman', Times, Georgia, serif;
	--font: -apple-system, 'Segoe UI', 'Microsoft YaHei', sans-serif;
	--font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

	--rule: 3px double var(--ink);
	--hair: 1px solid var(--border);
	--reg: 2px 2px 0 rgba(239, 125, 42, .45), 3px 3px 0 rgba(20, 23, 27, .10);
	--reg-sm: 1px 1px 0 rgba(239, 125, 42, .50);
	--dots: radial-gradient(rgba(239, 125, 42, .30) 1px, transparent 1.4px);
}

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

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

.acb33f-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.acb33f-skip { position: absolute; left: -9999px; top: 0; }
.acb33f-skip:focus {
	left: 12px; top: 12px; z-index: 200;
	background: #fff; border: 2px solid var(--ink); padding: 8px 12px;
	font-weight: 700;
}

.acb33f-main { display: block; }

/* Halftone field: used behind the hero and once mid-page. */
.acb33f-halftone {
	background-color: var(--bg-alt);
	background-image: var(--dots);
	background-size: 6px 6px;
	background-position: 0 0;
	position: relative;
}
.acb33f-halftone::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .92));
	pointer-events: none;
}
.acb33f-halftone > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------
   3. Display type
--------------------------------------------------------------- */
.acb33f-display {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	line-height: 1.02;
	text-shadow: var(--reg);
}

.acb33f-label {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.acb33f-kicker {
	display: inline-block;
	margin: 0 0 10px;
	padding: 3px 8px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	line-height: 1.5;
}

/* ---------------------------------------------------------------
   4. Header
--------------------------------------------------------------- */
.acb33f-head { background: var(--bg); border-bottom: var(--rule); }

.acb33f-flag {
	border-bottom: var(--hair);
	background: var(--bg-alt);
}
.acb33f-flag .acb33f-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 34px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.acb33f-flag b { color: var(--accent); font-weight: 700; letter-spacing: .2em; }

.acb33f-head-in {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 74px;
	padding: 12px 0;
}

.acb33f-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 9px;
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	text-shadow: var(--reg-sm);
}
.acb33f-brand i { font-style: normal; color: var(--accent); }
.acb33f-brand .acb33f-est {
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .18em;
	color: var(--text-muted);
	text-shadow: none;
	text-transform: uppercase;
}

.acb33f-nav { margin-left: auto; }
.acb33f-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.acb33f-nav a {
	display: block;
	padding: 8px 9px;
	font-family: var(--font-display);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.2;
	border-bottom: 2px solid transparent;
}
.acb33f-nav a:hover,
.acb33f-nav .current-menu-item > a {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.acb33f-head-tools { flex: 0 0 auto; }

/* Search */
.acb33f-search { display: flex; margin: 0; }
.acb33f-search input[type="search"] {
	width: 140px;
	height: 36px;
	padding: 0 9px;
	border: 2px solid var(--ink);
	border-right: 0;
	border-radius: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font);
	font-size: 13px;
}
.acb33f-search input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: -4px; }
.acb33f-search button {
	height: 36px;
	padding: 0 12px;
	border: 2px solid var(--ink);
	border-left-width: 1px;
	border-radius: 0;
	background: var(--ink);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	cursor: pointer;
}
.acb33f-search button:hover { background: var(--accent); border-color: var(--accent); }

/* ---------------------------------------------------------------
   5. Section chrome
--------------------------------------------------------------- */
.acb33f-sec { margin: 0 0 62px; }

.acb33f-sec-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	border-top: var(--rule);
	border-bottom: var(--hair);
	padding: 13px 0 11px;
	margin: 0 0 26px;
}
.acb33f-sec-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(21px, 2.5vw, 28px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.08;
}
.acb33f-sec-name {
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.acb33f-sec-num {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	color: var(--accent);
}
.acb33f-sec-more {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
	border-bottom: 1px solid var(--ink-soft);
	padding-bottom: 2px;
}
.acb33f-sec-more:hover { color: var(--accent); border-color: var(--accent); }

.acb33f-btn {
	display: inline-block;
	padding: 13px 20px;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	line-height: 1.2;
	box-shadow: 3px 3px 0 var(--accent);
	transition: transform .1s linear, box-shadow .1s linear, background .1s linear;
}
.acb33f-btn:hover { background: var(--accent); border-color: var(--accent); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------------------------------------------------------------
   6. Card, style E: magazine overlap
--------------------------------------------------------------- */
.acb33f-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 26px;
}

.acb33f-card { display: flex; flex-direction: column; }

.acb33f-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--bg-deep);
	border: 2px solid var(--ink);
}
.acb33f-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(.92) contrast(1.04);
	transition: transform .3s ease;
}
.acb33f-card:hover .acb33f-card-media img { transform: scale(1.035); }

.acb33f-card-cat {
	position: absolute;
	left: 0;
	top: 0;
	padding: 4px 7px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	line-height: 1.5;
}

/* The overlap: title plate rides up over the cover. */
.acb33f-card-plate {
	position: relative;
	z-index: 2;
	margin: -26px 14px 0;
	padding: 10px 12px 9px;
	background: var(--bg);
	border-top: 2px solid var(--ink);
	border-bottom: var(--hair);
}
.acb33f-card-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.acb33f-card-title a:hover { color: var(--accent); }

.acb33f-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	padding: 10px 14px 0;
}
.acb33f-card-excerpt {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--text-muted);
}
.acb33f-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px dotted var(--border);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.acb33f-card-meta .acb33f-dot { color: var(--accent); }

/* ---------------------------------------------------------------
   7. Archive / index
--------------------------------------------------------------- */
.acb33f-arch-head {
	border-bottom: var(--rule);
	padding: 44px 0 24px;
	margin: 0 0 34px;
}
.acb33f-arch-head h1 {
	margin: 0 0 12px;
	font-family: var(--font-display);
	font-size: clamp(30px, 4.2vw, 46px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-shadow: var(--reg);
}
.acb33f-arch-head p { margin: 0; max-width: 60ch; color: var(--text-muted); font-size: 15.5px; }

.acb33f-pager { display: flex; flex-wrap: wrap; gap: 7px; margin: 46px 0 0; }
.acb33f-pager .page-numbers {
	display: inline-block;
	min-width: 38px;
	padding: 8px 11px;
	border: 2px solid var(--ink);
	background: #fff;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-align: center;
}
.acb33f-pager .current { background: var(--ink); color: #fff; }
.acb33f-pager a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.acb33f-empty {
	border: var(--rule);
	padding: 30px;
	background-color: var(--bg-alt);
	background-image: var(--dots);
	background-size: 6px 6px;
}
.acb33f-empty p { margin: 0 0 16px; max-width: 54ch; }

/* ---------------------------------------------------------------
   8. Single post and pages
--------------------------------------------------------------- */
.acb33f-single {
	max-width: 760px;
	margin: 0 auto;
	padding: 44px 0 70px;
}

.acb33f-single-head { margin: 0 0 24px; }
.acb33f-single-head h1 {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: clamp(29px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .05em;
	text-transform: uppercase;
	max-width: 22ch;
	text-shadow: var(--reg);
}

.acb33f-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	border-top: var(--hair);
	border-bottom: var(--rule);
	padding: 10px 0;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.acb33f-meta .acb33f-avatar {
	width: 32px;
	height: 32px;
	border: 2px solid var(--ink);
	object-fit: cover;
	filter: grayscale(.15);
}
.acb33f-meta a { color: var(--text); }
.acb33f-meta a:hover { color: var(--accent); }
.acb33f-meta .acb33f-sep { color: var(--accent); }
.acb33f-meta .acb33f-rt { color: var(--ink); font-weight: 600; }

.acb33f-fig {
	margin: 28px 0 32px;
	border: 2px solid var(--ink);
	background: #fff;
	box-shadow: 6px 6px 0 var(--bg-deep);
}
.acb33f-fig img { width: 100%; height: auto; filter: saturate(.95) contrast(1.03); }
.acb33f-fig figcaption {
	padding: 8px 11px;
	border-top: var(--hair);
	font-family: var(--font-mono);
	font-size: 10px;
	line-height: 1.6;
	letter-spacing: .04em;
	color: var(--text-muted);
	background: var(--bg-alt);
}
.acb33f-fig figcaption a { color: var(--accent); text-decoration: underline; }

/* Narrow measure, standard density. */
.acb33f-prose { max-width: var(--measure); counter-reset: sec; }
.acb33f-prose p {
	margin: 0 0 var(--spacing);
	font-size: 17.5px;
	line-height: 1.74;
}
.acb33f-prose h2 {
	position: relative;
	margin: calc(var(--spacing) * 2) 0 12px;
	padding: 0 0 8px 0;
	border-bottom: var(--hair);
	font-family: var(--font-display);
	font-size: clamp(19px, 2.2vw, 24px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: .05em;
	text-transform: uppercase;
	counter-increment: sec;
}
.acb33f-prose h2::before {
	content: counter(sec, decimal-leading-zero);
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	color: var(--accent);
	text-shadow: 1px 1px 0 rgba(20, 23, 27, .18);
}
.acb33f-prose h3 {
	margin: calc(var(--spacing) * 1.4) 0 9px;
	font-family: var(--font-display);
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.acb33f-prose ul,
.acb33f-prose ol { margin: 0 0 var(--spacing); padding-left: 20px; }
.acb33f-prose li { margin: 0 0 8px; font-size: 17px; line-height: 1.7; }
.acb33f-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.acb33f-prose blockquote {
	margin: 0 0 var(--spacing);
	padding: 16px 18px;
	border-left: 4px solid var(--accent);
	background: var(--bg-alt);
	font-family: var(--font-display);
	font-size: 18px;
	font-style: italic;
}
.acb33f-prose img { border: 2px solid var(--ink); }

.acb33f-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 32px 0 0;
	padding-top: 20px;
	border-top: var(--rule);
	max-width: var(--measure);
}
.acb33f-tags a {
	display: inline-block;
	padding: 5px 9px;
	border: 1px solid var(--ink);
	background: #fff;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.acb33f-tags a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.acb33f-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 38px 0 0;
	max-width: var(--measure);
}
.acb33f-postnav a {
	display: block;
	padding: 14px 15px;
	border: 2px solid var(--ink);
	background: #fff;
	box-shadow: 4px 4px 0 var(--bg-deep);
}
.acb33f-postnav a:hover { background: var(--bg-alt); }
.acb33f-postnav small {
	display: block;
	margin-bottom: 5px;
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
}
.acb33f-postnav .acb33f-navt {
	display: block;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.acb33f-postnav .acb33f-next { text-align: right; }

/* ---------------------------------------------------------------
   9. Footer
--------------------------------------------------------------- */
.acb33f-foot {
	margin-top: 68px;
	border-top: var(--rule);
	background: var(--bg-alt);
}
.acb33f-foot-in {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 26px;
	padding: 38px 0 26px;
}
.acb33f-foot-brand {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.acb33f-foot-note {
	margin: 0;
	max-width: 44ch;
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--text-muted);
}
.acb33f-foot-mail { margin: 12px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.acb33f-foot-mail a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.acb33f-foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: flex-end;
	align-content: flex-start;
}
.acb33f-foot-links a {
	display: inline-block;
	padding: 5px 9px;
	border: 1px solid var(--ink);
	background: #fff;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.acb33f-foot-links a:hover { background: var(--ink); color: #fff; }
.acb33f-foot-bottom {
	border-top: var(--hair);
	background: var(--ink);
	color: #fff;
}
.acb33f-foot-bottom .acb33f-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	padding-top: 12px;
	padding-bottom: 12px;
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------
   10. 404
--------------------------------------------------------------- */
.acb33f-404 { padding: 72px 0 86px; }
.acb33f-404 .acb33f-code {
	display: inline-block;
	margin: 0 0 16px;
	padding: 5px 9px;
	border: 2px solid var(--ink);
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.acb33f-404 h1 {
	margin: 0 0 14px;
	max-width: 24ch;
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-shadow: var(--reg);
}
.acb33f-404 p { max-width: 54ch; color: var(--text-muted); }
.acb33f-404 .acb33f-search { margin: 20px 0 24px; }
.acb33f-404 .acb33f-search input[type="search"] { width: 250px; }

.acb33f-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.acb33f-chips a {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid var(--ink);
	background: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.acb33f-chips a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------------------------------------------------------------
   11. Responsive
--------------------------------------------------------------- */
@media (max-width: 1000px) {
	.acb33f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
	.acb33f-head-in { flex-wrap: wrap; gap: 10px; }
	.acb33f-nav { order: 3; margin-left: 0; width: 100%; }
	.acb33f-head-tools { margin-left: auto; }
	.acb33f-flag .acb33f-wrap span:last-child { display: none; }
}

@media (max-width: 720px) {
	body { font-size: 16.5px; }
	:root { --spacing: 16px; }
	.acb33f-wrap { padding: 0 18px; }
	.acb33f-flag { display: none; }
	.acb33f-head-in { min-height: 60px; padding: 8px 0; }
	.acb33f-brand { font-size: 22px; }
	.acb33f-brand .acb33f-est { display: none; }
	.acb33f-nav a { padding: 6px 7px; font-size: 11.5px; letter-spacing: .12em; }
	.acb33f-single { max-width: 100%; }
	.acb33f-grid { grid-template-columns: minmax(0, 1fr); }
	.acb33f-prose p { font-size: 17px; }
	.acb33f-prose { max-width: 100%; }
	.acb33f-single-head h1 { max-width: 100%; }
	.acb33f-postnav { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
	.acb33f-postnav .acb33f-next { text-align: left; }
	.acb33f-foot-in { grid-template-columns: minmax(0, 1fr); }
	.acb33f-foot-links { justify-content: flex-start; }
	.acb33f-search input[type="search"] { width: 112px; }
	.acb33f-sec-head { flex-direction: column; align-items: flex-start; gap: 7px; }
	.acb33f-tags { max-width: 100%; }
	.acb33f-card-plate { margin: -22px 12px 0; }
}
