/*
Theme Name:   Men Club
Theme URI:    https://menclub.shakilansary.com/
Description:  Men Club — a GeneratePress child theme. Picture-first boards for men's haircuts, beards, outfits and grooming. Requires the GeneratePress parent theme to be installed (it does not need to be active).
Author:       Shakil Ansary
Template:     generatepress
Version:      1.5.2
Requires PHP: 7.4
Text Domain:  menclub
*/

:root {
	--mc-paper: #f1eee7;
	--mc-card: #fffdf8;
	--mc-ink: #17191c;
	--mc-ink-2: #2b2e33;
	--mc-muted: #6d6a63;
	--mc-line: #dcd6c9;
	--mc-accent: #b4502a;
	--mc-accent-ink: #8f3d1f;
	--mc-olive: #55603f;
	--mc-tape-1: #e7c98a;
	--mc-tape-2: #b9c7ae;
	--mc-tape-3: #d9b2a0;
	--mc-radius: 14px;
	--mc-wrap: 1220px;
	--mc-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--mc-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mc-mono: "DM Sans", system-ui, sans-serif;
	--mc-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

/* ---------- Base / GeneratePress resets ---------- */
body {
	background: var(--mc-paper);
	background-image: radial-gradient(rgba(23, 25, 28, .06) 1px, transparent 1px);
	background-size: 22px 22px;
	color: var(--mc-ink);
	font-family: var(--mc-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.site.grid-container,
.site-content,
.grid-container { max-width: none; padding: 0; }
.site-content { display: block; }
.site-footer { background: none; padding: 0; }
a { color: inherit; }
a:hover, a:focus { color: var(--mc-accent); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--mc-accent); outline-offset: 2px; }

.mc-wrap { max-width: var(--mc-wrap); margin: 0 auto; padding: 0 24px; }
.mc-wrap--narrow { max-width: 760px; }
.mc-main { padding-bottom: 72px; }

.mc-kicker {
	display: inline-block;
	font-family: var(--mc-body);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--mc-accent);
	margin: 0 0 10px;
}

/* ---------- Follow button ---------- */
.mc-btn.mc-btn--follow {
	background: var(--mc-follow);
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 700;
	gap: 8px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .08);
}
.mc-btn.mc-btn--follow:hover,
.mc-btn.mc-btn--follow:focus { background: var(--mc-follow); color: #fff; filter: brightness(.9); }
.mc-btn--follow svg { flex-shrink: 0; }
.mc-btn--follow.is-empty { opacity: .55; outline: 2px dashed rgba(23, 25, 28, .35); outline-offset: 2px; }

/* ---------- Header ---------- */
.mc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(241, 238, 231, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid rgba(23, 25, 28, .06);
}
.admin-bar .mc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mc-header { top: 0; position: relative; } }

.mc-header__row { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 10px; }
.mc-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mc-ink); flex-shrink: 0; }
.mc-logo:hover { color: var(--mc-ink); }
.mc-logo__mark {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	background: var(--mc-ink);
	color: var(--mc-paper);
	border-radius: 10px;
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: 22px;
	transform: rotate(-4deg);
	box-shadow: 3px 3px 0 var(--mc-accent);
}
.mc-logo__text {
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: 29px;
	letter-spacing: -.01em;
	line-height: 1;
}
.mc-logo__text em { font-family: var(--mc-hand); font-style: normal; font-weight: 700; font-size: 1.08em; color: var(--mc-accent); margin-left: 4px; }
.mc-logo--light { color: var(--mc-paper); }
.mc-logo--light:hover { color: var(--mc-paper); }
.mc-logo--light .mc-logo__mark { background: var(--mc-paper); color: var(--mc-ink); }

.mc-search {
	flex: 1;
	max-width: 520px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #e6e1d6;
	border-radius: 999px;
	padding: 0 18px;
	color: var(--mc-muted);
	transition: background .2s, box-shadow .2s;
}
.mc-search:focus-within { background: var(--mc-card); box-shadow: 0 0 0 2px var(--mc-ink); }
.mc-search input[type="search"] {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 0;
	font: inherit;
	font-size: 14px;
	color: var(--mc-ink);
	outline: none;
	min-width: 0;
}
.mc-search input::placeholder { color: var(--mc-muted); }

.mc-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--mc-accent);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: transform .15s, background .15s;
	flex-shrink: 0;
}
.mc-btn:hover, .mc-btn:focus { background: var(--mc-accent-ink); color: #fff; transform: translateY(-1px); }
.mc-btn--ink { background: var(--mc-ink); }
.mc-btn--ink:hover, .mc-btn--ink:focus { background: var(--mc-ink-2); }

.mc-pillbar { padding-bottom: 12px; }
.mc-pills {
	display: flex; gap: 8px;
	list-style: none; margin: 0; padding: 2px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.mc-pills::-webkit-scrollbar { display: none; }
.mc-pills li { margin: 0; flex-shrink: 0; }
.mc-pills a {
	display: block;
	padding: 7px 15px;
	border: 1px solid var(--mc-line);
	border-radius: 999px;
	background: var(--mc-card);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color .15s, background .15s;
}
.mc-pills a:hover { border-color: var(--mc-ink); color: var(--mc-ink); }
.mc-pills .is-active a,
.mc-pills .current-menu-item a { background: var(--mc-ink); border-color: var(--mc-ink); color: var(--mc-paper); }

/* ---------- Hero ---------- */
.mc-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 40px;
	align-items: center;
	padding-top: 56px;
	padding-bottom: 40px;
}
.mc-hero__title {
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: clamp(40px, 6vw, 72px);
	line-height: 1.04;
	letter-spacing: -.01em;
	margin: 0 0 20px;
	color: var(--mc-ink);
}
.mc-hero__title em {
	font-style: italic;
	color: var(--mc-accent);
	background: linear-gradient(transparent 62%, rgba(180, 80, 42, .18) 62%);
}
.mc-hero__lede { max-width: 470px; color: var(--mc-muted); font-size: 17px; margin: 0 0 18px; }
.mc-scroll {
	font-family: var(--mc-hand);
	font-size: 22px;
	font-weight: 700;
	color: var(--mc-accent);
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}

.mc-hero__stack { position: relative; height: 420px; }
.mc-polaroid {
	position: absolute;
	width: 46%;
	background: #fff;
	padding: 10px 10px 34px;
	box-shadow: 0 10px 30px rgba(23, 25, 28, .14);
	text-decoration: none;
	transition: transform .25s;
}
.mc-polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
.mc-polaroid span {
	position: absolute; left: 12px; bottom: 9px;
	font-family: var(--mc-hand); font-size: 19px; font-weight: 700; color: var(--mc-ink-2);
}
.mc-polaroid::before {
	content: ""; position: absolute; top: -10px; left: 50%;
	width: 70px; height: 20px; margin-left: -35px;
	background: var(--mc-tape-1); opacity: .85;
	transform: rotate(-3deg);
}
.mc-polaroid--0 { left: 0; top: 30px; transform: rotate(-5deg); z-index: 1; }
.mc-polaroid--1 { left: 27%; top: 90px; transform: rotate(2deg); z-index: 3; }
.mc-polaroid--1::before { background: var(--mc-tape-2); }
.mc-polaroid--2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.mc-polaroid--2::before { background: var(--mc-tape-3); }
.mc-polaroid:hover { transform: rotate(0) translateY(-6px); z-index: 4; }

/* ---------- Boards ---------- */
.mc-board { padding-top: 36px; }
.mc-board-head { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.mc-board-head__text { flex: 1; min-width: 0; }
.mc-board-head__title {
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.05;
	letter-spacing: -.01em;
	margin: 0 0 4px;
	color: var(--mc-ink);
}
h1.mc-board-head__title { font-size: clamp(36px, 5vw, 56px); font-weight: 400; }
.mc-board-head__meta { font-size: 13px; color: var(--mc-muted); }
.mc-board-desc { max-width: 720px; color: var(--mc-muted); margin: -6px 0 24px; }
.mc-board-desc p { margin: 0; }
.mc-open {
	font-weight: 600; font-size: 14px; text-decoration: none;
	border-bottom: 2px solid var(--mc-ink);
	padding-bottom: 2px; flex-shrink: 0;
}
.mc-open:hover { border-color: var(--mc-accent); }

.mc-mosaic {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 3px;
	width: 78px; height: 62px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--mc-line);
}
.mc-mosaic span { background: #e3ddd0; overflow: hidden; }
.mc-mosaic__0 { grid-row: 1 / 3; }
.mc-mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards / grids ---------- */
.mc-grid--row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }
.mc-grid--masonry { columns: 5 210px; column-gap: 18px; }
.mc-grid--masonry .mc-card { break-inside: avoid; margin-bottom: 22px; display: inline-block; width: 100%; }
.mc-grid--masonry .mc-card.has-tape { padding-top: 10px; }
.mc-grid--masonry .mc-card__img img { aspect-ratio: auto; object-fit: cover; height: auto; }

/* Pinboard details */
.mc-card { position: relative; }
.mc-card__link { position: relative; }
.mc-card__img { display: block; }
.mc-card__title { display: block; }
.mc-tape {
	position: absolute; top: -9px; left: 50%; z-index: 3;
	width: 72px; height: 20px; margin-left: -36px;
	background: var(--mc-tape-1); opacity: .9;
	transform: rotate(-3deg);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.mc-card.has-tape .mc-tape { top: 1px; }
.mc-tape--1 { background: var(--mc-tape-2); transform: rotate(2deg); }
.mc-tape--2 { background: var(--mc-tape-3); transform: rotate(-1deg); }
.mc-save {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	background: #e60023; color: #fff;
	font-size: 13px; font-weight: 700;
	padding: 7px 14px; border-radius: 999px;
	opacity: 0; transform: translateY(-4px);
	transition: opacity .2s, transform .2s;
}
.mc-card__link:hover .mc-save, .mc-card__link:focus .mc-save { opacity: 1; transform: none; }
.mc-memo {
	display: inline-block;
	font-family: var(--mc-hand);
	font-size: 21px; font-weight: 700;
	color: #e60023;
	transform: rotate(-3deg);
	margin: 6px 2px 0;
	line-height: 1.1;
}

.mc-card__link { display: block; text-decoration: none; color: var(--mc-ink); }
.mc-card__img {
	position: relative;
	border-radius: var(--mc-radius);
	overflow: hidden;
	background: #e3ddd0;
}
.mc-card__img img { width: 100%; transition: transform .4s ease, filter .3s; }
.mc-grid--row .mc-card__img img { aspect-ratio: 3 / 4; object-fit: cover; }
.mc-card__link:hover .mc-card__img img { transform: scale(1.035); filter: brightness(.94); }
.mc-card__link:hover { color: var(--mc-ink); }
.mc-card__link:hover .mc-card__title { text-decoration: underline; text-underline-offset: 3px; }
.mc-card__ph {
	display: grid; place-items: center;
	aspect-ratio: 3 / 4;
	font-family: var(--mc-display); font-weight: 400; font-size: 64px;
	color: var(--mc-paper); background: var(--mc-ink-2);
}
.mc-tag {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	background: var(--mc-card);
	color: var(--mc-ink);
	font-size: 11px; font-weight: 600;
	padding: 4px 10px; border-radius: 999px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.mc-card__title {
	display: block;
	font-family: var(--mc-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 10px 2px 3px;
	color: var(--mc-ink);
}
.mc-card__meta { display: block; font-size: 12px; color: var(--mc-muted); margin: 0 2px; }

.mc-note { padding-top: 64px; }
.mc-note__card {
	background: var(--mc-ink);
	color: var(--mc-paper);
	border-radius: 22px;
	padding: 48px clamp(24px, 5vw, 64px);
	position: relative;
	overflow: hidden;
}
.mc-note__card::after {
	content: "M";
	position: absolute; right: -20px; bottom: -70px;
	font-family: var(--mc-display); font-weight: 400;
	font-size: 300px; line-height: 1;
	color: rgba(241, 238, 231, .05);
}
.mc-note__card h2 {
	font-family: var(--mc-display); font-weight: 400;
	font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05;
	color: var(--mc-paper); margin: 0 0 14px; max-width: 640px;
}
.mc-note__card p { max-width: 620px; color: #c9c4b9; margin: 0 0 24px; }
.mc-note__card strong { color: var(--mc-paper); }

/* ---------- Breadcrumbs / pager / misc ---------- */
.mc-crumbs { font-size: 13px; color: var(--mc-muted); padding: 26px 0 14px; }
.mc-crumbs a { text-decoration: none; }
.mc-crumbs span { margin: 0 4px; opacity: .6; }
.mc-pager { margin-top: 30px; text-align: center; }
.mc-pager .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 12px; margin: 0 3px;
	border-radius: 999px; border: 1px solid var(--mc-line);
	background: var(--mc-card); text-decoration: none; font-weight: 600; font-size: 14px;
}
.mc-pager .page-numbers.current { background: var(--mc-ink); color: var(--mc-paper); border-color: var(--mc-ink); }
.mc-empty, .mc-404 { padding: 40px 0; }
.mc-404 { max-width: 680px; padding-top: 70px; }
.mc-404 p, .mc-empty p { color: var(--mc-muted); }
.mc-404 .mc-pills, .mc-empty .mc-pills { flex-wrap: wrap; }

/* ---------- Single ---------- */
.mc-single__head {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 32px;
	align-items: center;
	padding-top: 28px;
	padding-bottom: 36px;
}
.mc-headcard {
	position: relative;
	background: var(--mc-card);
	border-radius: 22px;
	padding: 6px 34px 30px;
	box-shadow: 0 1px 0 var(--mc-line), 0 14px 40px rgba(23, 25, 28, .07);
}
.mc-headcard::before {
	content: ""; position: absolute; top: -10px; left: 50%;
	width: 90px; height: 22px; margin-left: -45px;
	background: var(--mc-tape-3); opacity: .85; transform: rotate(2deg);
}
.mc-headcard .mc-crumbs { padding: 22px 0 14px; }
.mc-stamp {
	display: inline-block;
	font-family: var(--mc-hand);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	background: var(--mc-tape-1);
	padding: 4px 10px;
	text-decoration: none;
	transform: rotate(-1.5deg);
	margin-bottom: 14px;
}
.mc-single__title {
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.02;
	letter-spacing: -.012em;
	margin: 0 0 22px;
	color: var(--mc-ink);
}
.mc-byline { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; margin-bottom: 18px; }
.mc-byline small { color: var(--mc-muted); font-size: 12.5px; }
.mc-byline__avatar {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--mc-olive); color: var(--mc-paper);
	font-family: var(--mc-display); font-weight: 400; font-size: 14px;
}
.mc-chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed var(--mc-line); }
.mc-chip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #ebe6db; }
.mc-chip--accent { background: var(--mc-accent); color: #fff; }
.mc-single__cover { margin: 0; }
.mc-single__cover img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 22px;
	transform: rotate(1.5deg);
	box-shadow: 0 14px 40px rgba(23, 25, 28, .15);
}

/* ---------- Prose ---------- */
.mc-prose { font-size: 17.5px; line-height: 1.75; color: var(--mc-ink-2); }
.mc-prose > * + * { margin-top: 1.1em; }
.mc-prose p { margin-bottom: 0; }
.mc-prose a { color: var(--mc-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.mc-prose h2 {
	font-family: var(--mc-display);
	font-weight: 400;
	font-size: clamp(24px, 2.8vw, 30px);
	line-height: 1.15;
	letter-spacing: -.005em;
	color: var(--mc-ink);
	margin: 2.2em 0 .5em;
}
.mc-prose h3 { font-family: var(--mc-display); font-weight: 400; font-size: 21px; color: var(--mc-ink); margin: 1.6em 0 .4em; }
.mc-prose ul, .mc-prose ol { padding-left: 1.3em; margin-left: 0; }
.mc-prose li { margin-bottom: .35em; }
.mc-prose strong { color: var(--mc-ink); }
.mc-prose blockquote {
	margin: 1.6em 0; padding: 18px 22px;
	border: 0; border-left: 4px solid var(--mc-accent);
	background: var(--mc-card); border-radius: 0 12px 12px 0;
	font-style: normal; font-size: 16.5px;
}
.mc-prose blockquote p { margin: 0; }
.mc-prose img { border-radius: var(--mc-radius); }

/* Numbered "idea" headings in guides */
.mc-prose--ideas { counter-reset: idea; }
.mc-prose--ideas h2 {
	counter-increment: idea;
	display: flex; align-items: baseline; gap: 14px;
	padding-top: 1.2em;
	border-top: 1px solid var(--mc-line);
}
.mc-prose--ideas h2::before {
	content: counter(idea, decimal-leading-zero);
	font-family: var(--mc-mono);
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	background: var(--mc-ink);
	border-radius: 6px;
	padding: 2px 8px;
	flex-shrink: 0;
	transform: translateY(-3px);
}
.mc-prose--ideas h2.no-count::before { content: none; }
.mc-prose .mc-say {
	background: #ebe6db; border-radius: 12px; padding: 14px 18px; font-size: 15.5px;
}
.mc-prose .mc-say strong { font-family: var(--mc-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mc-accent); display: block; margin-bottom: 2px; }

.mc-related { padding-top: 56px; }

/* ---------- Pages ---------- */
.mc-page { max-width: 820px; padding-top: 40px; }
.mc-page__title {
	font-family: var(--mc-display); font-weight: 400;
	font-size: clamp(38px, 5vw, 58px); line-height: 1.05; margin: 0 0 28px;
}
.mc-page .mc-prose { background: var(--mc-card); border-radius: 22px; padding: 36px clamp(22px, 4vw, 48px); box-shadow: 0 1px 0 var(--mc-line); }
.mc-page .mc-prose h2 { font-size: 24px; margin-top: 1.6em; }
.mc-page .mc-prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.mc-footer { background: var(--mc-card); border-top: 1px solid var(--mc-line); color: var(--mc-muted); margin-top: 40px; font-size: 14px; }
.mc-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 54px; padding-bottom: 40px; }
.mc-footer__brand p { max-width: 360px; margin: 16px 0 20px; line-height: 1.6; }
.mc-footer__h { font-family: var(--mc-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--mc-ink); margin: 8px 0 16px; }
.mc-footer ul { list-style: none; margin: 0; padding: 0; }
.mc-footer li { margin: 0 0 10px; }
.mc-footer a { text-decoration: none; color: var(--mc-muted); }
.mc-footer a:hover { color: var(--mc-ink); }
.mc-footer .mc-logo, .mc-footer .mc-logo:hover { color: var(--mc-ink); }
.mc-footer .mc-btn.mc-btn--footer { color: #fff; font-size: 14px; padding: 11px 18px; }
.mc-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--mc-line); padding-top: 18px; padding-bottom: 26px; font-size: 13px; color: var(--mc-muted); }
.mc-footer__note { font-family: var(--mc-hand); font-size: 22px; font-weight: 700; color: var(--mc-follow, #e60023); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mc-grid--row { grid-template-columns: repeat(4, 1fr); }
	.mc-grid--row .mc-card:nth-child(n+5) { display: none; }
}
@media (max-width: 900px) {
	.mc-hero { grid-template-columns: 1fr; padding-top: 32px; }
	.mc-hero__stack { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
	.mc-single__head { grid-template-columns: 1fr; }
	.mc-single__cover { max-width: 460px; }
	.mc-grid--row { grid-template-columns: repeat(3, 1fr); }
	.mc-grid--row .mc-card:nth-child(n+4) { display: none; }
	.mc-footer__grid { grid-template-columns: 1fr 1fr; }
	.mc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.mc-wrap { padding: 0 16px; }

	/* Header: compact, even rhythm, not sticky (saves screen space) */
	.mc-header { position: relative; top: 0; }
	.admin-bar .mc-header { top: 0; }
	.mc-header__row { flex-wrap: wrap; gap: 12px 10px; padding-top: 14px; padding-bottom: 12px; }
	.mc-logo { gap: 8px; }
	.mc-logo__mark { width: 34px; height: 34px; font-size: 20px; border-radius: 9px; box-shadow: 2px 2px 0 var(--mc-accent); }
	.mc-logo__text { font-size: 25px; }
	.mc-header .mc-btn { margin-left: auto; padding: 8px 16px; font-size: 14px; }
	.mc-header .mc-btn svg { width: 14px; height: 14px; }
	.mc-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; padding: 0 14px; }
	.mc-search input[type="search"] { padding: 11px 0; font-size: 14px; text-overflow: ellipsis; }
	.mc-pillbar { padding: 0 16px 12px; }
	.mc-pills {
		margin: 0 -16px;
		padding: 2px 16px;
		scroll-padding: 0 16px;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}
	.mc-pills a { padding: 7px 14px; font-size: 13px; }

	/* Space between header and page content */
	.mc-hero { padding-top: 28px; gap: 28px; padding-bottom: 24px; }
	.mc-hero__title { font-size: clamp(34px, 9.4vw, 44px); margin-bottom: 16px; }
	.mc-hero__lede { font-size: 16px; }
	.mc-hero__stack { height: 360px; max-width: 380px; }
	.mc-polaroid { width: 47%; padding: 8px 8px 30px; }
	.mc-polaroid--0 { top: 34px; }
	.mc-polaroid--1 { top: 96px; left: 26%; }
	.mc-polaroid span { font-size: 17px; bottom: 6px; left: 10px; }

	.mc-single__head { padding-top: 30px; gap: 24px; padding-bottom: 28px; }
	.mc-headcard { padding: 4px 20px 22px; }
	.mc-single__cover { max-width: 340px; margin: 0 auto; width: 88%; }
	.mc-crumbs { padding-top: 22px; }
	.mc-page { padding-top: 28px; }

	.mc-board { padding-top: 28px; }
	.mc-board-head { gap: 12px; margin-bottom: 16px; }
	.mc-board-head .mc-mosaic { width: 58px; height: 48px; }
	.mc-open { font-size: 13px; }

	.mc-grid--row {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 62%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
		scrollbar-width: none;
	}
	.mc-grid--row::-webkit-scrollbar { display: none; }
	.mc-grid--row .mc-card { scroll-snap-align: start; }
	.mc-grid--row .mc-card:nth-child(n) { display: block; }
	.mc-grid--masonry { columns: 2; column-gap: 12px; }
	.mc-grid--masonry .mc-card { margin-bottom: 18px; }
	.mc-card__title { font-size: 14px; }
	.mc-memo { font-size: 19px; }

	.mc-prose { font-size: 16.5px; }
	.mc-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; }
	.mc-footer__brand { grid-column: 1 / -1; }
	.mc-footer__base { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
