/*
Theme Name: Bloody Loser
Description: Editorial department-store style theme for bloodyloser.com.
Version: 1.0.55
Requires PHP: 7.4
Text Domain: bloodyloser
*/

:root {
	--ink: #111111;
	--paper: #ffffff;
	--soft: #f4f2ee;
	--muted: #5c5c5c;
	--line: #dedbd4;
	--red: #b3001b;
	--red-dark: #8a0015;
	--gutter: clamp(16px, 3vw, 40px);
	--display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--serif: "Newsreader", Georgia, "Times New Roman", serif;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.6 var(--display);
	-webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible, button:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
}

.bl-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--paper);
}
.bl-skip:focus { left: 8px; top: 8px; }

/* Header */
.bl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.bl-top {
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 48px);
	padding: clamp(12px, 1.4vw, 20px) var(--gutter);
	background: var(--ink);
	color: var(--paper);
}

/* Red focus rings and hovers are too faint on the dark bar. */
.bl-top .bl-logo:focus-visible,
.bl-top .bl-icons a:focus-visible,
.bl-top .bl-burger:focus-visible { outline-color: var(--paper); }

.bl-search {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 640px;
	margin: 0 auto;
	transition: max-width .3s ease;
}

@media (min-width: 901px) {
	.bl-search:focus-within { max-width: 720px; }
}

.bl-search input {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 60px 0 50px;
	border: 0;
	border-radius: 999px;
	background: #f1f0ec;
	color: var(--ink);
	font: 500 16px/1 var(--display);
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .2s ease, box-shadow .25s ease;
}
.bl-search input::placeholder { color: var(--muted); opacity: 1; }
.bl-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.bl-search input:hover { background: #e9e7e1; }
.bl-search input:focus,
.bl-search input:focus-visible {
	outline: 0;
	background: var(--paper);
	box-shadow: 0 0 0 2px var(--red), 0 10px 28px rgba(179, 0, 27, .2);
}

.bl-search__icon {
	position: absolute;
	top: 50%;
	left: 18px;
	display: flex;
	color: var(--muted);
	pointer-events: none;
	transform: translateY(-50%);
	transition: color .2s ease;
}
.bl-search__icon svg { width: 21px; height: 21px; }
.bl-search:focus-within .bl-search__icon { color: var(--red); }

.bl-search button {
	position: absolute;
	top: 6px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.bl-search button svg { width: 19px; height: 19px; }
.bl-search:focus-within button { background: var(--red); }
.bl-search button:hover { background: var(--red); transform: translateX(2px); }

.bl-icons { display: flex; flex: none; align-items: center; }

.bl-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 44px;
	color: var(--paper);
}
.bl-icons a:hover { color: #ff5a6e; }

.bl-logo {
	flex: none;
	font-family: var(--display);
	font-size: clamp(25px, 4.4vw, 56px);
	font-stretch: 125%;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

/* The logo files have empty space around the artwork; negative margins take it back. */
.bl-top .bl-logo-img {
	--h: clamp(50px, 5.4vw, 76px);
	width: auto;
	max-width: 100%;
	height: var(--h);
	margin: calc(var(--h) * -.16) auto calc(var(--h) * -.1);
}

.bl-foot .bl-logo-img {
	--h: clamp(25px, 3.25vw, 43px);
	width: auto;
	max-width: 100%;
	height: var(--h);
	margin: calc(var(--h) * -.16) 0 calc(var(--h) * -.1);
}

.bl-burger {
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	margin-left: -10px;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--paper);
	cursor: pointer;
}
.bl-burger span {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
}

.bl-nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.admin-bar .bl-nav { top: 32px; }

.bl-nav > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 clamp(14px, 2.6vw, 42px);
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
}

.bl-nav > ul > li > a {
	display: block;
	padding: 14px 0 12px;
	border-bottom: 2px solid transparent;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}
.bl-nav > ul > li > a:hover { color: var(--red); }
.bl-nav > ul > .current-menu-item > a,
.bl-nav > ul > .current-menu-ancestor > a,
.bl-nav > ul > .current_page_parent > a { border-bottom-color: var(--red); }

/* Desktop drop-down panels. Links stay out of the phone menu, where each section page lists them. */
.bl-mega { display: none; }

@media (min-width: 901px) {
	.bl-nav > ul > li:hover > a,
	.bl-nav > ul > li:focus-within > a { border-bottom-color: var(--ink); }

	.bl-nav > ul > li:hover > .bl-mega,
	.bl-nav > ul > li:focus-within > .bl-mega {
		display: block;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: var(--paper);
		border-top: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(0, 0, 0, .14);
		animation: bl-mega-in .16s ease;
	}
}

@keyframes bl-mega-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.bl-mega__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: clamp(32px, 5vw, 80px);
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px var(--gutter) 36px;
}

.bl-mega__title {
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--ink);
	font-size: 24px;
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.bl-mega ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-mega li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	font-size: 18px;
	text-decoration: none;
}
.bl-mega .bl-mega__sub a { font-size: 16px; }
.bl-mega__icon { flex: none; color: var(--red); }
.bl-mega li a:hover { color: var(--red); text-decoration: underline; }

/* Items with their own sub-links (Men, Women) become column headings. */
.bl-mega .bl-mega__sub { display: block; }

.bl-mega li.menu-item-has-children > a {
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.bl-mega__feature { display: block; text-decoration: none; }

.bl-mega__feature img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.bl-mega__feature span {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.bl-mega__feature:hover span { color: var(--red); }

/* Sub-section links on section pages */
.bl-sublinks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.bl-sublinks a {
	display: block;
	padding: 8px 14px;
	border: 1px solid var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.bl-sublinks a:hover { background: var(--ink); color: var(--paper); }

.bl-back { margin: 0 0 8px; font-size: 14px; }
.bl-back a::before { content: "\2190\00a0"; }

/* Hero slider: all slides share one grid cell, so the hero is as tall as the tallest slide. */
.bl-hero { position: relative; display: grid; background: var(--ink); }

.bl-slide {
	grid-area: 1 / 1;
	position: relative;
	min-width: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility .7s;
}
.bl-slide.is-active { opacity: 1; visibility: visible; }

.bl-slide--art {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* text half, image half */
	height: clamp(460px, 78vh, 860px);
	background: var(--ink);
}
.bl-slide__art {
	grid-area: 1 / 2;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover; /* fills the whole column; edges of the artwork are cropped */
	object-position: 50% 50%;
}
/* Two images on one slide: stacked in the image column on desktop, side by side on phones. */
.bl-slide__arts {
	grid-area: 1 / 2;
	display: grid;
	grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4px;
	min-height: 0;
	height: 100%;
}
.bl-slide__arts .bl-slide__art { grid-area: auto; min-height: 0; }
.bl-slide--art .bl-hero__panel {
	grid-area: 1 / 1;
	position: static;
	align-self: center;
	width: auto;
	padding: 0 clamp(16px, 2.4vw, 40px) 0 var(--gutter);
	background: none;
}
.bl-slide--art h2 {
	margin: 0 0 26px;
	font-size: clamp(36px, min(5vw, 8vh), 68px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}
.bl-slide--art h2 span { display: block; }
/* Slide 4: images left, text right. */
.bl-slide--flip .bl-slide__art,
.bl-slide--flip .bl-slide__arts { grid-area: 1 / 1; }
.bl-slide--flip .bl-slide__arts .bl-slide__art { grid-area: auto; }
.bl-slide--flip .bl-hero__panel { grid-area: 1 / 2; padding: 0 var(--gutter) 0 clamp(16px, 2.4vw, 40px); }

/* Slide 2 on wider screens: photo left half (cropped to the couple), black text half on the right. Phones keep the photo with the box over it. */
@media (min-width: 721px) {
	.bl-slide--photo {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		height: clamp(460px, 78vh, 860px);
		background: var(--ink);
	}
	.bl-slide--photo .bl-hero__img { grid-area: 1 / 1; height: 100%; object-position: 100% 0; }
	.bl-slide--photo .bl-hero__panel {
		grid-area: 1 / 2;
		position: static;
		align-self: center;
		width: auto;
		padding: 0 var(--gutter) 0 clamp(16px, 2.4vw, 40px);
	}
}

/* Slides 2 and 4: red text half with black buttons (the other slides are black with red buttons). */
.bl-slide--photo .bl-hero__panel,
.bl-slide--flip .bl-hero__panel { background: var(--red); }
.bl-slide--photo .bl-btn,
.bl-slide--flip .bl-btn { background: var(--ink); color: var(--paper); }
.bl-slide--photo .bl-btn:hover,
.bl-slide--flip .bl-btn:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 721px) {
	.bl-slide--photo .bl-hero__panel,
	.bl-slide--flip .bl-hero__panel {
		align-self: stretch;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		padding-left: clamp(24px, 3.4vw, 56px);
	}
}

.bl-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-hero__btns .bl-btn { padding: 14px 20px; }
.bl-slide--art h2 mark {
	background: none;
	color: #f0182b; /* brighter than the brand red (#b3001b), which is too dark to read on black */
}

.bl-hero__controls { display: none; }
.bl-hero.is-js .bl-hero__controls {
	grid-area: 2 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px var(--gutter);
	background: var(--ink);
	color: var(--paper);
}
.bl-hero__controls button {
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	font: 600 13px/1 var(--display);
}
.bl-hero__arrow { width: 40px; height: 40px; font-size: 20px !important; }
.bl-hero__dot { width: 32px; height: 32px; position: relative; }
.bl-hero__dot::before {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -5px;
	border: 2px solid var(--paper);
	border-radius: 50%;
}
.bl-hero__dot[aria-current="true"]::before { background: var(--red); border-color: var(--red); }
.bl-hero__pause { margin-left: 10px; padding: 8px 4px; text-decoration: underline; text-underline-offset: 3px; }
.bl-hero__controls button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.bl-slide { transition: none; }
}

.bl-hero__img {
	width: 100%;
	height: clamp(460px, 78vh, 860px);
	object-fit: cover;
	object-position: 100% 0;
}

.bl-hero__panel {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(24px, 5vw, 64px);
	width: min(560px, calc(100% - 2 * var(--gutter)));
	padding: clamp(24px, 3.4vw, 44px);
	background: var(--ink);
	color: var(--paper);
}

.bl-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(36px, min(5vw, 8vh), 68px); /* vh keeps the 4-line panel inside the hero on short screens */
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}

.bl-hero h1 span { display: block; }

.bl-hero p {
	margin: 0 0 22px;
	font: italic 400 clamp(18px, 1.7vw, 22px)/1.35 var(--serif);
}

.bl-btn {
	display: inline-block;
	padding: 14px 26px;
	background: var(--red);
	color: var(--paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}
.bl-btn:hover { background: var(--red-dark); }

/* Sections */
.bl-section { padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }

.bl-section__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: clamp(20px, 3vw, 36px);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
}

.bl-section__head h2 {
	margin: 0;
	font-size: clamp(26px, 3.4vw, 44px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.05;
	text-transform: uppercase;
}

.bl-section__head p {
	margin: 0;
	color: var(--muted);
	font: italic 400 clamp(17px, 1.5vw, 20px)/1.3 var(--serif);
}

.bl-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.bl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Tiles */
.bl-tile { display: block; text-decoration: none; }

.bl-tile__media { overflow: hidden; background: var(--soft); }

.bl-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.bl-tile:hover .bl-tile__media img { transform: scale(1.03); }

/* 3:2 matches the brand images, and contain keeps their text and products whole. */
.bl-grid--2 .bl-tile__media { aspect-ratio: 3 / 2; }
.bl-grid--wide .bl-tile__media { aspect-ratio: 16 / 9; } /* Community and Stories artwork is 16:9, with text near its edges. */
.bl-grid--3 .bl-tile__media { aspect-ratio: 3 / 2; background: var(--ink); }
.bl-grid--3 .bl-tile__media img { object-fit: contain; }

.bl-tile__title {
	display: block;
	margin-top: 14px;
	font-size: clamp(18px, 1.7vw, 22px);
	font-weight: 700;
	letter-spacing: .03em;
	line-height: 1.2;
	text-transform: uppercase;
}
.bl-tile:hover .bl-tile__title { color: var(--red); }

.bl-tile__line {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font: italic 400 18px/1.35 var(--serif);
}

/* Full-width split */
.bl-split {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	margin-top: clamp(48px, 7vw, 96px);
	background: var(--red);
	color: var(--paper);
}

.bl-split__media { min-height: 420px; }
.bl-split__media img { width: 100%; height: 100%; object-fit: cover; }

.bl-split__text {
	align-self: center;
	padding: clamp(32px, 5vw, 72px);
}

.bl-split h2 {
	margin: 0 0 14px;
	font-size: clamp(36px, 5vw, 72px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}

.bl-split p {
	margin: 0 0 24px;
	font: italic 400 clamp(19px, 1.8vw, 24px)/1.35 var(--serif);
}

.bl-split .bl-btn { background: var(--paper); color: var(--ink); }
.bl-split .bl-btn:hover { background: var(--ink); color: var(--paper); }

/* Black, mirrored split, so it stands apart from the red one above it. */
.bl-split--flip { background: var(--ink); }
.bl-split--flip .bl-btn:hover { background: var(--red); color: var(--paper); }

@media (min-width: 901px) {
	.bl-split--flip { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.bl-split--flip .bl-split__text { order: -1; }
}

/* Inner pages */
/* Whole image, never cropped: brand images carry text right to their edges. */
.bl-banner img {
	width: 100%;
	max-height: 60vh;
	object-fit: contain;
}

.bl-page {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(32px, 5vw, 64px) var(--gutter) 0;
}

.bl-page h1 {
	margin: 0 0 20px;
	font-size: clamp(34px, 5vw, 64px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.02;
	text-transform: uppercase;
}

.bl-page__body { font-size: 17px; }

.bl-list { display: grid; gap: 32px; margin-top: 32px; }
.bl-list h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.bl-list h2 a { text-decoration: none; }
.bl-list h2 a:hover { color: var(--red); }
.bl-list p { margin: 0; color: var(--muted); }

/* Footer */
.bl-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	margin-top: clamp(56px, 8vw, 112px);
	padding: clamp(40px, 5vw, 64px) var(--gutter) 28px;
	background: var(--ink);
	color: var(--paper);
}

.bl-foot__logo {
	display: block;
	flex: none;
	font-size: clamp(28px, 7.6vw, 104px);
	font-stretch: 125%;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.bl-foot ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bl-foot ul a {
	font-size: 12.2px;
	font-weight: 600;
	text-decoration: none;
}
.bl-foot ul a:hover { text-decoration: underline; }

.bl-foot__legal {
	flex: 1 0 100%;
	margin: 12px 0 0;
	padding-top: 18px;
	border-top: 1px solid #3a3a3a;
	color: #b5b5b5;
	font-size: 13px;
}

.bl-cookie-settings {
	margin-left: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.bl-cookie-settings:hover { text-decoration: underline; }
.bl-foot__legal a { margin-left: 14px; color: inherit; text-decoration: none; }
.bl-foot__legal a:hover { text-decoration: underline; }
.bl-cookie-banner p a { color: inherit; text-decoration: underline; }

/* Cookie banner */
.bl-cookie-banner {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 400px;
	max-width: calc(100% - 48px);
	padding: 20px;
	border: 10px solid #000;
	background: var(--red);
	color: var(--paper);
	font-size: 14.5px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
	line-height: 1.55;
}
.bl-cookie-banner[hidden] { display: none; }
.bl-cookie-banner p { margin: 0; }
.bl-cookie-banner__actions { display: flex; gap: 10px; }
.bl-cookie-banner button {
	flex: 1;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, .7);
	background: transparent;
	color: var(--paper);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.bl-cookie-banner button:hover { border-color: var(--paper); }
.bl-cookie-banner button.is-accept { border-color: var(--paper); background: var(--paper); color: var(--red); }
.bl-cookie-banner button.is-accept:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.bl-cookie-banner button:focus-visible, .bl-cookie-settings:focus-visible { outline-color: var(--paper); }

@media (max-width: 560px) {
	.bl-cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 16px; }
}

/* Tablet and phone */
@media (max-width: 900px) {
	.bl-burger { display: block; }

	.bl-top {
		position: sticky;
		top: 0;
		z-index: 50;
		flex-wrap: wrap;
		gap: 8px;
		padding: 8px var(--gutter) 12px;
	}
	.bl-top .bl-logo-img { --h: 37px; }
	.bl-icons { margin-left: auto; }
	.bl-icons a { width: 36px; }
	.bl-search { order: 5; flex: 1 1 100%; max-width: none; margin: 0; }
	.admin-bar .bl-top { top: 46px; }

	.bl-nav {
		display: none;
		position: fixed;
		top: var(--bl-nav-top, 64px);
		right: 0;
		bottom: 0;
		left: 0;
		overflow-y: auto;
		border-top: 0;
		border-bottom: 0;
	}
	.admin-bar .bl-nav { top: var(--bl-nav-top, 110px); }
	.bl-nav.is-open { display: block; }

	.bl-nav > ul { display: block; padding: 8px var(--gutter) 32px; }
	.bl-nav > ul > li { border-bottom: 1px solid var(--line); }
	.bl-nav > ul > li > a { padding: 16px 0; border-bottom: 0; font-size: 15px; }
	.bl-nav > ul > .current-menu-item > a,
	.bl-nav > ul > .current-menu-ancestor > a,
	.bl-nav > ul > .current_page_parent > a { color: var(--red); }

	.bl-split { grid-template-columns: minmax(0, 1fr); }
	.bl-split__media { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
	.bl-grid--2 { grid-template-columns: minmax(0, 1fr); }
	.bl-grid--3 { grid-template-columns: minmax(0, 1fr); }

	.bl-hero__img { height: 74vh; min-height: 520px; object-position: 88% 0; }

	.bl-slide--art {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: auto;
	}
	.bl-slide__art { height: auto; }
	.bl-slide__arts { grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: auto; }
	.bl-slide--art .bl-hero__panel { padding: 24px var(--gutter) 28px; align-self: stretch; }

	.bl-section__head { display: block; }
	.bl-section__head p { margin-top: 4px; }
}

@media (max-width: 600px) {
	.admin-bar .bl-top { top: 0; }
}

/* Keeps burger, logo and all four icons on one row on the narrowest phones. */
@media (max-width: 400px) {
	.bl-top { gap: 6px; }
	.bl-top .bl-logo-img { --h: 32px; }
	.bl-icons a { width: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.bl-nav > ul > li > .bl-mega { animation: none !important; }
	.bl-search, .bl-search input, .bl-search__icon, .bl-search button { transition: none; }
	.bl-search button:hover { transform: none; }
	.bl-tile__media img { transition: none; }
	.bl-tile:hover .bl-tile__media img { transform: none; }
}

/* Dating page (page-dating.php) */
.bl-dating__hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 7vw, 110px) var(--gutter) clamp(56px, 9vw, 140px);
	background: var(--ink);
	color: var(--paper);
}
.bl-dating__hero-inner { position: relative; z-index: 1; max-width: 900px; }
.bl-dating__hero .bl-back a { color: rgba(255, 255, 255, .75); }
.bl-dating__hero .bl-back a:hover { color: var(--paper); }
.bl-dating__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 18px 0 18px;
	color: #ff4d5e;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.bl-dating__kicker span {
	padding: 5px 10px;
	border: 1px solid currentColor;
	color: var(--paper);
	letter-spacing: .1em;
}
.bl-dating__hero h1 {
	margin: 0 0 22px;
	font-size: clamp(44px, 8vw, 112px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: .95;
	text-transform: uppercase;
}
.bl-dating__hero h1 span { display: block; }
.bl-dating__hero h1 mark { background: none; color: #f0182b; }
.bl-dating__lead {
	max-width: 620px;
	margin: 0 0 30px;
	font: italic 400 clamp(20px, 2vw, 26px)/1.35 var(--serif);
}
.bl-dating__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bl-btn--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--paper); }
.bl-btn--ghost:hover { background: var(--paper); color: var(--ink); }
.bl-dating__in { padding: 12px 0; font-weight: 700; }
/* Huge outlined words behind the hero text. */
.bl-dating__big {
	position: absolute;
	right: -.04em;
	bottom: -.2em;
	margin: 0;
	color: transparent;
	font-size: clamp(90px, 17vw, 260px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .16);
	pointer-events: none;
}

.bl-dating__section {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--gutter) 0;
}
.bl-dating__section > h2,
.bl-dating__cta h2 {
	margin: 0 0 clamp(24px, 3vw, 40px);
	font-size: clamp(30px, 4vw, 52px);
	font-stretch: 112%;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1;
	text-transform: uppercase;
}
.bl-dating__section h3 { margin: 0 0 8px; font-size: 21px; font-stretch: 112%; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.bl-dating__section p { margin: 0; font-size: 17px; }
.bl-dating__section a { color: inherit; }

.bl-dating__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: bl-step;
}
.bl-dating__steps li { padding-top: 18px; border-top: 4px solid var(--ink); counter-increment: bl-step; }
.bl-dating__steps li::before {
	content: counter(bl-step, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	color: var(--red);
	font-size: 56px;
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1;
}

.bl-dating__quote {
	margin-top: clamp(48px, 7vw, 96px);
	padding: clamp(48px, 7vw, 100px) var(--gutter);
	background: var(--red);
	color: var(--paper);
}
.bl-dating__quote blockquote { max-width: 980px; margin: 0 auto; }
.bl-dating__quote p {
	margin: 0;
	font: italic 400 clamp(24px, 3.2vw, 42px)/1.25 var(--serif);
}
.bl-dating__quote strong { font-style: normal; font-weight: 700; font-family: var(--display); }

.bl-dating__rules {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
	background: var(--ink);
	border: 2px solid var(--ink);
}
.bl-dating__rules li { padding: clamp(20px, 2.5vw, 32px); background: var(--paper); }
.bl-dating__rules span {
	display: block;
	margin-bottom: 18px;
	color: var(--red);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .1em;
}
.bl-dating__small { color: var(--muted); font-size: 14px !important; }

.bl-dating__cta {
	margin-top: clamp(48px, 7vw, 96px);
	padding: clamp(56px, 8vw, 120px) var(--gutter);
	background: var(--ink);
	color: var(--paper);
	text-align: center;
}
.bl-dating__cta h2 span { display: block; }
.bl-dating__cta h2 span + span { color: #f0182b; }
.bl-dating__cta p { max-width: 560px; margin: 0 auto 28px; font: italic 400 clamp(19px, 1.8vw, 23px)/1.4 var(--serif); }

@media (max-width: 900px) {
	.bl-dating__steps { grid-template-columns: minmax(0, 1fr); }
	.bl-dating__rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.bl-dating__rules { grid-template-columns: minmax(0, 1fr); }
	.bl-dating__btns .bl-btn { flex: 1 1 100%; text-align: center; }
}

/* Account drop-down in the top bar (hover or keyboard focus; touch just opens My account). */
.bl-acct { position: relative; }
.bl-acct__btn { position: relative; }
/* Logged in: the person icon is solid red (no green dot). */
.bl-acct--in .bl-acct__btn svg { fill: #f0182b; stroke: #f0182b; }
.bl-acct--in .bl-acct__btn:hover svg { fill: #ff4d5e; stroke: #ff4d5e; }
.bl-acct__menu {
	position: absolute;
	z-index: 60;
	top: 100%;
	right: -6px;
	width: 250px;
	padding: 16px;
	background: var(--paper);
	color: var(--ink);
	border-top: 4px solid var(--red);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.bl-acct__menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 10px; } /* keeps hover alive across the gap */
@media (hover: hover) {
	.bl-acct:hover .bl-acct__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.bl-acct:focus-within .bl-acct__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bl-acct__title { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bl-acct__primary,
.bl-acct__secondary { display: block; margin-bottom: 8px; padding: 12px 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; }
.bl-acct__primary { background: var(--red); color: var(--paper); }
.bl-acct__primary:hover { background: var(--red-dark); }
.bl-acct__secondary { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.bl-acct__secondary:hover { background: var(--ink); color: var(--paper); }
.bl-acct__note { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.bl-acct__hello { margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.bl-acct__menu ul { margin: 0; padding: 0; list-style: none; }
.bl-acct__menu li a { display: block; padding: 8px 0; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.bl-acct__menu li a:hover { color: var(--red); }
.bl-acct__out { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.bl-acct__out button { padding: 6px 0; border: 0; background: none; color: var(--muted); font: 600 15px/1.2 var(--display); text-decoration: underline; cursor: pointer; }
.bl-acct__out button:hover { color: var(--red); }
.bl-icons .bl-acct__menu a { display: block; width: auto; height: auto; color: var(--ink); }
.bl-icons .bl-acct__menu a:hover,
.bl-icons .bl-acct__menu li a:hover { color: var(--red); }
.bl-icons .bl-acct__menu .bl-acct__primary,
.bl-icons .bl-acct__menu .bl-acct__primary:hover,
.bl-icons .bl-acct__menu .bl-acct__secondary:hover { color: var(--paper); }
.bl-top .bl-icons .bl-acct__menu a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* 1.0.46: phones and tablets show a search icon in the top bar; the search box opens under the header when it is tapped. */
.bl-search-toggle { display: none; }
@media (max-width: 900px) {
	.bl-search-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 44px; padding: 0; border: 0; background: none; color: var(--paper); cursor: pointer; }
	.bl-search-toggle svg { width: 22px; height: 22px; }
	.bl-search-toggle:hover, .bl-search-toggle[aria-expanded="true"] { color: #ff5a6e; }
	.bl-search-toggle:focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }
	.bl-top .bl-search { display: none; }
	.bl-top.is-searching .bl-search { display: flex; }
	.bl-top:not(.is-searching) { padding-bottom: 8px; }
}
@media (max-width: 400px) {
	.bl-search-toggle { width: 30px; }
}

/* 1.0.47: member offer line at the bottom of the left column of every menu flyout. */
.bl-mega__links { display: flex; flex-direction: column; }
.bl-mega__offer { margin: auto 0 0; padding-top: 24px; color: var(--red); font-size: 15px; font-weight: 800; letter-spacing: .02em; }

/* 1.0.49: on phones the footer logo sits in the middle (user's request). */
@media (max-width: 720px) {
	.bl-foot__logo { flex: 1 0 100%; display: flex; justify-content: center; }
}

/* 1.0.51: "not live yet" pop-up, shown once per visit (assets/site.js). Remove the <dialog> in header.php at launch. */
.bl-prelaunch { width: min(440px, calc(100% - 32px)); padding: 30px 28px 26px; border: 0; border-top: 6px solid var(--red, #b3001b); border-radius: 0; background: var(--paper, #fff); color: var(--ink, #111); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.bl-prelaunch::backdrop { background: rgba(0, 0, 0, .65); }
.bl-prelaunch__kicker { margin: 0 0 8px; color: var(--red, #b3001b); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.bl-prelaunch__title { margin: 0 0 12px; font-size: clamp(24px, 6vw, 30px); font-stretch: 112%; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.bl-prelaunch p:not(.bl-prelaunch__kicker) { margin: 0 0 22px; font-size: 16px; line-height: 1.5; }
.bl-prelaunch form { margin: 0; }
.bl-prelaunch .bl-btn { min-width: 160px; border: 0; cursor: pointer; }

/* 1.0.52: Dating page hero is a short banner (user's request), not a full-screen block. */
.bl-dating__hero { padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(28px, 3.5vw, 44px); }
.bl-dating__hero .bl-back { margin: 0; }
.bl-dating__kicker { margin: 10px 0 10px; font-size: 12px; }
.bl-dating__kicker span { padding: 3px 8px; }
.bl-dating__hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4.6vw, 58px); line-height: 1; }
.bl-dating__hero h1 span { display: inline; }
.bl-dating__lead { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 21px); }
.bl-dating__big { display: none; }
@media (max-width: 560px) {
	.bl-dating__hero .bl-btn { padding: 12px 16px; }
}
@media (max-width: 560px) {
	.bl-dating__hero .bl-dating__btns { flex-wrap: nowrap; gap: 8px; }
	.bl-dating__hero .bl-dating__btns .bl-btn { flex: 1 1 0; width: auto; min-width: 0; padding: 12px 8px; font-size: 12px; text-align: center; }
}
/* 1.0.54: room for "There is a Loser for Everyone" on one line on desktop. */
.bl-dating__hero-inner { max-width: 1240px; }
/* 1.0.55: Dating subtitle on one line (desktop; phones still wrap). */
.bl-dating__lead { max-width: none; }
