/*
Theme Name: Rawblock
Author: Rawblock Studio
Description: A deliberately raw, brutalist crypto-exchange theme. Thick black borders, hard offset shadows, oversized type, scattered rotations and instant state changes. No frills, no fluff.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rawblock
Tags: blog, news, one-column, custom-logo, translation-ready
*/

/* Space Grotesk - the single brutalist display/body face. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

/* =========================================================
 * 0. TOKENS
 * ========================================================= */
:root {
	--rbk-white:     #ffffff;
	--rbk-black:     #000000;
	--rbk-red:       #ff0000;
	--rbk-blue:      #0000ff;
	--rbk-concrete:  #f0ece4;

	--rbk-border:    3px solid var(--rbk-black);
	--rbk-border-thick: 6px solid var(--rbk-black);

	--rbk-shadow:    8px 8px 0 var(--rbk-black);
	--rbk-shadow-sm: 5px 5px 0 var(--rbk-black);
	--rbk-shadow-lg: 14px 14px 0 var(--rbk-black);
	--rbk-shadow-red: 8px 8px 0 var(--rbk-red);
	--rbk-shadow-blue: 8px 8px 0 var(--rbk-blue);

	--rbk-wrap:      1240px;
	--rbk-gap:       24px;

	--rbk-display:   'Space Grotesk', 'Helvetica Neue', Helvetica, sans-serif;
	--rbk-mono:      'Space Grotesk', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	/* oversized type scale */
	--rbk-mega:  clamp(4rem, 12vw, 10rem);
	--rbk-xl:    clamp(2.6rem, 6vw, 5rem);
	--rbk-lg:    clamp(2rem, 4vw, 3.4rem);
	--rbk-md:    clamp(1.5rem, 2.6vw, 2.2rem);
	--rbk-sm:    clamp(1.05rem, 1.6vw, 1.35rem);
}

/* =========================================================
 * 1. RESET + BASE
 * ========================================================= */
*, *::before, *::after {
	box-sizing: border-box;
	border-radius: 0 !important;   /* brutalist: zero radius everywhere */
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: auto;         /* no smooth scrolling */
}

body {
	margin: 0;
	background: var(--rbk-white);
	color: var(--rbk-black);
	font-family: var(--rbk-display);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* Instant state changes everywhere - the one brutalist rule.
   The ticker marquee re-enables animation locally. */
*, *::before, *::after {
	transition: none !important;
	animation-duration: 0s;
}

a {
	color: var(--rbk-black);
	text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 0.95;
	margin: 0 0 0.5em;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

button, input, select, textarea {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	border-radius: 0 !important;
}

::selection {
	background: var(--rbk-red);
	color: var(--rbk-white);
}

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

/* =========================================================
 * 2. LAYOUT PRIMITIVES
 * ========================================================= */
.rbk-wrap {
	width: 100%;
	max-width: var(--rbk-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.rbk-wrap--wide {
	max-width: 1440px;
}

.rbk-section {
	padding: 84px 0;
	position: relative;
}

.rbk-section--concrete { background: var(--rbk-concrete); }
.rbk-section--black    { background: var(--rbk-black); color: var(--rbk-white); }

/* =========================================================
 * 3. UTILITIES
 * ========================================================= */
/* borders */
.rbk-boxed   { border: var(--rbk-border); }
.rbk-boxed-t { border: var(--rbk-border-thick); }

/* hard shadows (no blur, ever) */
.rbk-hard    { box-shadow: var(--rbk-shadow); }
.rbk-hard-sm { box-shadow: var(--rbk-shadow-sm); }
.rbk-hard-lg { box-shadow: var(--rbk-shadow-lg); }

/* rotations - scattered / unfinished feel */
.rbk-rot--a { transform: rotate(-1deg); }
.rbk-rot--b { transform: rotate(0.5deg); }
.rbk-rot--c { transform: rotate(-0.5deg); }
.rbk-rot--d { transform: rotate(1deg); }
.rbk-rot--e { transform: rotate(-2deg); }

/* outlined / highlighted type */
.rbk-outline {
	color: transparent;
	-webkit-text-stroke: 3px var(--rbk-black);
}
.rbk-hl-red  { background: var(--rbk-red); color: var(--rbk-white); padding: 0 0.08em; }
.rbk-hl-blue { background: var(--rbk-blue); color: var(--rbk-white); padding: 0 0.08em; }

/* oversized monospace label */
.rbk-tagline {
	font-family: var(--rbk-mono);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	display: inline-block;
	border: var(--rbk-border);
	padding: 6px 12px;
	background: var(--rbk-white);
}

/* =========================================================
 * 4. BUTTONS
 * ========================================================= */
.rbk-btn {
	display: inline-block;
	font-family: var(--rbk-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
	padding: 16px 26px;
	border: var(--rbk-border);
	background: var(--rbk-white);
	color: var(--rbk-black);
	box-shadow: var(--rbk-shadow);
	cursor: pointer;
	line-height: 1;
}

/* instant invert on hover - pressed feel */
.rbk-btn:hover,
.rbk-btn:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
	box-shadow: 2px 2px 0 var(--rbk-black);
	transform: translate(4px, 4px);
	outline: none;
}

.rbk-btn--red {
	background: var(--rbk-red);
	color: var(--rbk-white);
}
.rbk-btn--red:hover,
.rbk-btn--red:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
}

.rbk-btn--blue {
	background: var(--rbk-blue);
	color: var(--rbk-white);
}
.rbk-btn--blue:hover,
.rbk-btn--blue:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
}

.rbk-btn--ghost {
	background: var(--rbk-white);
	color: var(--rbk-black);
}

.rbk-btn--sm {
	padding: 11px 16px;
	font-size: 0.85rem;
	box-shadow: var(--rbk-shadow-sm);
}

.rbk-btn--block {
	display: block;
	width: 100%;
}

/* =========================================================
 * 5. TOPBAR / NAV
 * ========================================================= */
.rbk-topbar {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--rbk-white);
	border-bottom: var(--rbk-border-thick);
}

.rbk-topbar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 82px;
	padding: 12px 0;
}

.rbk-brand {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.rbk-brand__img {
	height: 40px;
	width: auto;
	border: var(--rbk-border);
	margin-right: 12px;
}

.rbk-brand__text {
	font-size: 2.1rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}

/* red period after the wordmark */
.rbk-brand__dot {
	color: var(--rbk-red);
	font-size: 2.6rem;
	line-height: 0.6;
	margin-left: 2px;
}

.rbk-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.rbk-nav__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.rbk-nav__item { margin: 0; }

/* each link sits in its own 3px border box */
.rbk-navlink,
.rbk-nav__list li a {
	display: block;
	padding: 10px 14px;
	border: var(--rbk-border);
	font-weight: 500;
	font-size: 0.86rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--rbk-white);
	color: var(--rbk-black);
}

.rbk-navlink:hover,
.rbk-navlink:focus,
.rbk-nav__list li a:hover,
.rbk-nav__list li a:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
	outline: none;
}

.rbk-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

/* burger */
.rbk-burger {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 52px;
	height: 48px;
	padding: 0;
	border: var(--rbk-border);
	background: var(--rbk-white);
	cursor: pointer;
}
.rbk-burger:hover { background: var(--rbk-black); }
.rbk-burger:hover .rbk-burgerline { background: var(--rbk-white); }

.rbk-burgerline {
	display: block;
	width: 26px;
	height: 3px;
	background: var(--rbk-black);
}

.rbk-crossline {
	position: absolute;
	width: 26px;
	height: 3px;
	background: var(--rbk-black);
}
.rbk-crossline--a { transform: rotate(45deg); }
.rbk-crossline--b { transform: rotate(-45deg); }

.rbk-glyph { display: inline-block; line-height: 1; }

/* =========================================================
 * 6. LANGUAGE SWITCHER (boxes variant)
 * ========================================================= */
.rbk-langswitch {
	display: flex;
	gap: 6px;
}

.rbk-langbox {
	display: inline-block;
	min-width: 42px;
	text-align: center;
	padding: 9px 8px;
	border: var(--rbk-border);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	background: var(--rbk-white);
	color: var(--rbk-black);
}

.rbk-langbox:hover,
.rbk-langbox:focus {
	background: var(--rbk-blue);
	color: var(--rbk-white);
	outline: none;
}

.rbk-langbox.is-active {
	background: var(--rbk-black);
	color: var(--rbk-white);
}

.rbk-langswitch--footer .rbk-langbox {
	border-color: var(--rbk-white);
	background: var(--rbk-black);
	color: var(--rbk-white);
}
.rbk-langswitch--footer .rbk-langbox.is-active {
	background: var(--rbk-white);
	color: var(--rbk-black);
}
.rbk-langswitch--footer .rbk-langbox:hover {
	background: var(--rbk-red);
	color: var(--rbk-white);
}

/* =========================================================
 * 7. MOBILE NAV PANEL
 * ========================================================= */
.rbk-mobilenav {
	display: none;
	border-top: var(--rbk-border);
	background: var(--rbk-concrete);
	padding: 18px 24px 26px;
}

.rbk-topbar.is-open .rbk-mobilenav { display: block; }

.rbk-mobilenav .rbk-nav__list {
	flex-direction: column;
	gap: 10px;
}
.rbk-mobilenav .rbk-navlink,
.rbk-mobilenav .rbk-nav__list li a {
	font-size: 1.1rem;
	padding: 14px 16px;
}
.rbk-mobilenav__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
	align-items: center;
}


/* =========================================================
 * 8. HERO - oversized overlapping type + rotated image
 * ========================================================= */
.rbk-hero {
	position: relative;
	padding: 70px 0 40px;
	overflow: hidden;
	border-bottom: var(--rbk-border-thick);
	background:
		repeating-linear-gradient(45deg, transparent 0 26px, rgba(0,0,0,0.03) 26px 28px),
		var(--rbk-white);
}

.rbk-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 20px;
	align-items: start;
	position: relative;
}

.rbk-hero__eyebrow {
	display: inline-block;
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.3em;
	background: var(--rbk-black);
	color: var(--rbk-white);
	padding: 8px 16px;
	border: var(--rbk-border);
	box-shadow: var(--rbk-shadow-sm);
}

/* giant stacked wordmark, words overlap via negative margins */
.rbk-hero__title {
	margin: 18px 0 0;
	font-size: var(--rbk-mega);
	font-weight: 700;
	line-height: 0.85;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.rbk-hero__word {
	display: block;
}
.rbk-hero__word--b {
	margin-top: -0.12em;   /* overlap the previous line */
	margin-left: 0.06em;
}
.rbk-hero__word--outline {
	color: transparent;
	-webkit-text-stroke: 3px var(--rbk-black);
}
.rbk-hero__word--hl {
	display: inline-block;
	background: var(--rbk-red);
	color: var(--rbk-white);
	padding: 0 0.06em;
	box-shadow: var(--rbk-shadow);
}

/* subtitle deliberately overlaps the title */
.rbk-hero__sub {
	position: relative;
	z-index: 3;
	margin: -26px 0 28px;
	max-width: 40ch;
	font-family: var(--rbk-mono);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.02em;
	background: var(--rbk-white);
	border-left: var(--rbk-border-thick);
	padding: 14px 18px;
}

/* CTAs stacked VERTICALLY, not horizontal */
.rbk-hero__ctas {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.rbk-hero__ctas .rbk-btn { min-width: 260px; }

.rbk-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin-top: 40px;
	border: var(--rbk-border);
	box-shadow: var(--rbk-shadow);
	background: var(--rbk-white);
}
.rbk-hero__stat {
	flex: 1 1 0;
	padding: 18px 20px;
	border-right: var(--rbk-border);
}
.rbk-hero__stat:last-child { border-right: 0; }
.rbk-hero__stat-val {
	display: block;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 700;
	line-height: 1;
}
.rbk-hero__stat:nth-child(2) .rbk-hero__stat-val { color: var(--rbk-red); }
.rbk-hero__stat:nth-child(3) .rbk-hero__stat-val { color: var(--rbk-blue); }
.rbk-hero__stat-label {
	display: block;
	margin-top: 8px;
	font-family: var(--rbk-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	font-weight: 500;
}

/* rotated banner overlapping the type column */
.rbk-hero__media {
	position: relative;
	z-index: 2;
	margin-top: 30px;
}
.rbk-hero__frame {
	transform: rotate(-2deg);
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow-lg);
	background: var(--rbk-white);
	padding: 10px;
}
.rbk-hero__frame img { width: 100%; }
.rbk-hero__stamp {
	position: absolute;
	top: -22px;
	left: -22px;
	transform: rotate(-6deg);
	background: var(--rbk-blue);
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	padding: 10px 14px;
	border: var(--rbk-border);
	box-shadow: var(--rbk-shadow-sm);
}

/* =========================================================
 * 9. TICKER - loud red strip (the ONE animated element)
 * ========================================================= */
.rbk-ticker {
	background: var(--rbk-red);
	border-top: var(--rbk-border);
	border-bottom: var(--rbk-border);
	overflow: hidden;
	position: relative;
}
.rbk-ticker__label {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	background: var(--rbk-black);
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	padding: 0 16px;
	border-right: var(--rbk-border);
}
.rbk-ticker__viewport {
	overflow: hidden;
	padding-left: 90px;
}
.rbk-ticker__track {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	animation: rbk-marquee 32s linear infinite;
}
.rbk-ticker:hover .rbk-ticker__track { animation-play-state: paused; }

@keyframes rbk-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.rbk-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--rbk-mono);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--rbk-white);
	padding: 14px 22px;
	border-right: 2px solid var(--rbk-black);
}
.rbk-ticker__item strong { font-weight: 700; letter-spacing: 0.06em; }
.rbk-ticker__up   { color: var(--rbk-black); background: #00ff66; padding: 1px 6px; font-weight: 700; }
.rbk-ticker__down { color: var(--rbk-white); background: var(--rbk-black); padding: 1px 6px; font-weight: 700; }

/* =========================================================
 * 10. BLOCK FEATURES - 2x2 colored boxes
 * ========================================================= */
.rbk-feathead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 44px;
}
.rbk-feathead h2 {
	font-size: var(--rbk-lg);
	margin: 12px 0 0;
	max-width: 18ch;
}

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

.rbk-featbox {
	position: relative;
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow);
	padding: 28px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}
.rbk-featbox--white   { background: var(--rbk-white); color: var(--rbk-black); }
.rbk-featbox--concrete{ background: var(--rbk-concrete); color: var(--rbk-black); }
.rbk-featbox--red     { background: var(--rbk-red); color: var(--rbk-white); border-color: var(--rbk-black); }
.rbk-featbox--blue    { background: var(--rbk-blue); color: var(--rbk-white); border-color: var(--rbk-black); }

.rbk-featbox:hover { transform: translate(-4px, -4px); box-shadow: var(--rbk-shadow-lg); }

/* oversized number takes ~half the box height */
.rbk-featbox__num {
	position: absolute;
	top: -0.14em;
	right: 0.04em;
	font-size: clamp(5rem, 12vw, 9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	opacity: 0.16;
}
.rbk-featbox--red  .rbk-featbox__num,
.rbk-featbox--blue .rbk-featbox__num { opacity: 0.28; }

.rbk-featbox__title {
	font-size: var(--rbk-md);
	margin: 0 0 12px;
	position: relative;
	z-index: 2;
}
.rbk-featbox__desc {
	font-family: var(--rbk-mono);
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.65;
	letter-spacing: 0.02em;
	margin: 0;
	position: relative;
	z-index: 2;
	max-width: 34ch;
}

/* =========================================================
 * 11. RAW PANELS - overlapping split rows
 * ========================================================= */
.rbk-panel {
	position: relative;
	padding: 90px 0;
}
.rbk-panel--concrete { background: var(--rbk-concrete); }

.rbk-panel__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	position: relative;
}

.rbk-panel__media {
	position: relative;
	z-index: 2;
}
.rbk-panel__media img {
	width: 100%;
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow-lg);
}
.rbk-panel__media--rot { transform: rotate(1deg); }
.rbk-panel__media--rot2 { transform: rotate(-1deg); }

/* the content block overlaps the media by 40px */
.rbk-panel__content {
	position: relative;
	z-index: 3;
	background: var(--rbk-white);
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow);
	padding: 40px 36px;
	margin-left: -40px;
}
.rbk-panel--reverse .rbk-panel__content {
	margin-left: 0;
	margin-right: -40px;
}

.rbk-panel__eyebrow {
	display: inline-block;
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.2em;
	background: var(--rbk-blue);
	color: var(--rbk-white);
	padding: 6px 12px;
	border: var(--rbk-border);
	margin-bottom: 16px;
}
.rbk-panel__title {
	font-size: var(--rbk-md);
	line-height: 0.98;
	margin: 0 0 14px;
}
.rbk-panel__text {
	font-family: var(--rbk-mono);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.7;
	margin: 0 0 20px;
}
.rbk-panel__list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}
.rbk-panel__list li {
	position: relative;
	padding: 10px 0 10px 34px;
	border-bottom: 2px solid var(--rbk-black);
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}
.rbk-panel__list li:last-child { border-bottom: 0; }
.rbk-panel__list li::before {
	content: "\25A0";           /* solid square bullet - brutalist */
	position: absolute;
	left: 0; top: 8px;
	color: var(--rbk-red);
	font-size: 1.1rem;
	line-height: 1;
}


/* =========================================================
 * 12. SECTION HEADS / KICKERS
 * ========================================================= */
.rbk-pagehead {
	padding: 60px 0 34px;
	border-bottom: var(--rbk-border-thick);
	background: var(--rbk-concrete);
}
.rbk-pagehead h1 {
	font-size: var(--rbk-xl);
	margin: 10px 0 0;
	line-height: 0.9;
}
.rbk-pagehead p {
	font-family: var(--rbk-mono);
	font-size: 0.95rem;
	font-weight: 500;
	max-width: 60ch;
	margin: 14px 0 0;
}
.rbk-pagehead__count {
	display: inline-block;
	margin-top: 16px !important;
	font-family: var(--rbk-mono);
	font-weight: 700;
	letter-spacing: 0.12em;
	background: var(--rbk-black);
	color: var(--rbk-white);
	padding: 6px 14px;
	border: var(--rbk-border);
}

.rbk-kicker {
	display: inline-block;
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.24em;
	background: var(--rbk-red);
	color: var(--rbk-white);
	padding: 6px 12px;
	border: var(--rbk-border);
}

/* =========================================================
 * 13. INSIGHTS / SCATTERED ARTICLE BLOCKS
 * ========================================================= */
.rbk-insights { padding: 84px 0; }

.rbk-insights__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 46px;
}
.rbk-insights__head h2 {
	font-size: var(--rbk-lg);
	margin: 12px 0 0;
}
.rbk-insights__head p {
	font-family: var(--rbk-mono);
	font-size: 0.9rem;
	max-width: 46ch;
	margin: 12px 0 0;
}

.rbk-insights__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}

/* thick-bordered scattered post card */
.rbk-postcard {
	border: var(--rbk-border-thick);
	background: var(--rbk-white);
	box-shadow: var(--rbk-shadow);
	display: flex;
	flex-direction: column;
}
.rbk-postcard:hover {
	transform: translate(-4px, -4px) rotate(0deg);
	box-shadow: var(--rbk-shadow-lg);
}
/* JS-driven hand-placed tilt (overrides the fixed class rotation). */
.rbk-postcard[data-rand] { transform: rotate(var(--rbk-rand, 0deg)); }
.rbk-postcard[data-rand]:hover {
	transform: translate(-4px, -4px) rotate(var(--rbk-rand, 0deg));
}

.rbk-postcard__thumb {
	display: block;
	border-bottom: var(--rbk-border-thick);
	overflow: hidden;
	background: var(--rbk-concrete);
}
.rbk-postcard__thumb img {
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.rbk-postcard__body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.rbk-postcard__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 14px;
}
.rbk-postcard__num {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--rbk-red);
}
.rbk-postcard__cat {
	font-family: var(--rbk-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	background: var(--rbk-black);
	color: var(--rbk-white);
	padding: 5px 10px;
	border: 2px solid var(--rbk-black);
}
.rbk-postcard__title {
	font-size: 1.45rem;
	line-height: 1.02;
	margin: 0 0 12px;
}
.rbk-postcard__title a:hover {
	background: var(--rbk-black);
	color: var(--rbk-white);
}
.rbk-postcard__excerpt {
	font-family: var(--rbk-mono);
	font-size: 0.83rem;
	font-weight: 500;
	line-height: 1.6;
	margin: 0 0 18px;
	flex: 1 1 auto;
}
.rbk-postcard__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	border-top: 2px solid var(--rbk-black);
	padding-top: 14px;
	font-family: var(--rbk-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
}
.rbk-postcard__author {
	background: var(--rbk-blue);
	color: var(--rbk-white);
	font-weight: 700;
	padding: 4px 8px;
}

/* =========================================================
 * 14. GIANT RED CTA BLOCK
 * ========================================================= */
.rbk-ctablock {
	background: var(--rbk-red);
	border-top: var(--rbk-border-thick);
	border-bottom: var(--rbk-border-thick);
	padding: 90px 0;
	position: relative;
	overflow: hidden;
}
.rbk-ctablock::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-45deg, transparent 0 40px, rgba(0,0,0,0.06) 40px 42px);
	pointer-events: none;
}
.rbk-ctablock__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
}
.rbk-ctablock__title {
	color: var(--rbk-white);
	font-size: var(--rbk-xl);
	line-height: 0.88;
	margin: 0;
	max-width: 16ch;
	text-shadow: 6px 6px 0 var(--rbk-black);
}
.rbk-ctablock__text {
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.7;
	max-width: 44ch;
	margin: 20px 0 0;
}
.rbk-ctablock__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 0 0 auto;
}
.rbk-ctablock__actions .rbk-btn { min-width: 280px; }

/* white button on red - inverts to black */
.rbk-ctablock .rbk-btn--white {
	background: var(--rbk-white);
	color: var(--rbk-black);
	box-shadow: 8px 8px 0 var(--rbk-black);
}
.rbk-ctablock .rbk-btn--white:hover,
.rbk-ctablock .rbk-btn--white:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
	box-shadow: 2px 2px 0 var(--rbk-white);
	transform: translate(4px, 4px);
}
.rbk-ctablock .rbk-btn--black {
	background: var(--rbk-black);
	color: var(--rbk-white);
	border-color: var(--rbk-white);
	box-shadow: 8px 8px 0 var(--rbk-white);
}
.rbk-ctablock .rbk-btn--black:hover,
.rbk-ctablock .rbk-btn--black:focus {
	background: var(--rbk-white);
	color: var(--rbk-black);
	box-shadow: 2px 2px 0 var(--rbk-black);
	transform: translate(4px, 4px);
}

/* =========================================================
 * 15. BREADCRUMB (oversized slashes)
 * ========================================================= */
.rbk-crumbbar {
	background: var(--rbk-white);
	border-bottom: var(--rbk-border);
	padding: 16px 0;
}
.rbk-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-family: var(--rbk-mono);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}
.rbk-crumb a:hover { background: var(--rbk-black); color: var(--rbk-white); padding: 2px 6px; }
.rbk-crumb__home {
	font-weight: 700;
	border: 2px solid var(--rbk-black);
	padding: 2px 8px;
}
.rbk-crumb__sep {
	font-size: 1.6rem;      /* oversized slash separators */
	font-weight: 700;
	line-height: 0.8;
	color: var(--rbk-red);
	padding: 0 2px;
}
.rbk-crumb__current {
	font-weight: 700;
	background: var(--rbk-concrete);
	border: 2px solid var(--rbk-black);
	padding: 2px 8px;
}


/* =========================================================
 * 16. MAIN + SINGLE POST
 * ========================================================= */
.rbk-main { padding-bottom: 90px; }

.rbk-backlink {
	display: inline-block;
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	border: var(--rbk-border);
	padding: 10px 16px;
	background: var(--rbk-white);
	box-shadow: var(--rbk-shadow-sm);
	margin: 34px 0 30px;
}
.rbk-backlink:hover { background: var(--rbk-black); color: var(--rbk-white); }

.rbk-single {
	max-width: 860px;
	margin: 0 auto;
}

.rbk-single__title {
	font-size: clamp(2.4rem, 6vw, 3.8rem);
	line-height: 0.92;
	letter-spacing: -0.03em;
	margin: 0 0 26px;
}

/* meta in a thick top/bottom border strip */
.rbk-single__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	border-top: var(--rbk-border-thick);
	border-bottom: var(--rbk-border-thick);
	padding: 16px 0;
	margin-bottom: 40px;
	font-family: var(--rbk-mono);
	font-size: 0.82rem;
	letter-spacing: 0.06em;
}
.rbk-single__byline .rbk-badge {
	background: var(--rbk-blue);
	color: var(--rbk-white);
	font-weight: 700;
	padding: 5px 10px;
	border: 2px solid var(--rbk-black);
}
.rbk-single__byline span,
.rbk-single__byline time { font-weight: 500; }

/* polaroid frame for the lead image */
.rbk-polaroid {
	background: var(--rbk-white);
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow-lg);
	padding: 12px 12px 46px;
	margin: 0 0 44px;
	transform: rotate(-1deg);
	position: relative;
}
.rbk-polaroid img { width: 100%; border: 2px solid var(--rbk-black); }
.rbk-polaroid__cap {
	position: absolute;
	left: 0; right: 0; bottom: 12px;
	text-align: center;
	font-family: var(--rbk-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* banner strip (used on archives/single/page) */
.rbk-banner { padding: 30px 0 0; }
.rbk-banner__frame {
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow);
	background: var(--rbk-white);
	padding: 8px;
	transform: rotate(-1deg);
}
.rbk-banner__frame img { width: 100%; }

/* =========================================================
 * 17. ENTRY CONTENT
 * ========================================================= */
.rbk-entry {
	font-size: 1.08rem;
	line-height: 1.8;
	max-width: 74ch;
}
.rbk-entry h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.3rem);
	margin: 1.6em 0 0.6em;
	padding-bottom: 10px;
	border-bottom: var(--rbk-border);
}
.rbk-entry h3 {
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	margin: 1.5em 0 0.5em;
}
.rbk-entry h4 { font-size: 1.15rem; margin: 1.4em 0 0.5em; }
.rbk-entry p { margin: 0 0 1.2em; }
.rbk-entry a {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-underline-offset: 3px;
	color: var(--rbk-black);
	background: rgba(255,0,0,0.12);
}
.rbk-entry a:hover { background: var(--rbk-red); color: var(--rbk-white); }
.rbk-entry strong { font-weight: 700; }
.rbk-entry ul, .rbk-entry ol { margin: 0 0 1.3em; }
.rbk-entry li { margin-bottom: 0.5em; }
.rbk-entry ul li::marker { content: "\25A0  "; color: var(--rbk-red); }

.rbk-entry blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.rbk-entry img {
	border: var(--rbk-border-thick);
	box-shadow: var(--rbk-shadow);
	margin: 1.6em 0;
}

.rbk-entry pre,
.rbk-entry code {
	font-family: var(--rbk-mono);
	background: var(--rbk-concrete);
	border: 2px solid var(--rbk-black);
}
.rbk-entry code { padding: 2px 6px; font-size: 0.9em; }
.rbk-entry pre {
	padding: 18px;
	overflow-x: auto;
	box-shadow: var(--rbk-shadow-sm);
	margin: 1.6em 0;
}
.rbk-entry pre code { border: 0; background: none; padding: 0; }

.rbk-entry table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
	border: var(--rbk-border);
}
.rbk-entry th, .rbk-entry td {
	border: 2px solid var(--rbk-black);
	padding: 12px;
	text-align: left;
}
.rbk-entry th { background: var(--rbk-black); color: var(--rbk-white); text-transform: uppercase; letter-spacing: 0.06em; }

/* pull-quote BREAKS OUT of the container: wider + rotated */
.rbk-entry .rbk-pullquote,
.rbk-pullquote {
	position: relative;
	width: 118%;
	max-width: none;
	margin: 2.2em -9%;
	padding: 34px 30px;
	background: var(--rbk-black);
	color: var(--rbk-white);
	border: var(--rbk-border-thick);
	box-shadow: 12px 12px 0 var(--rbk-red);
	transform: rotate(-1.2deg);
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}
.rbk-pullquote::before {
	content: "\201C";
	position: absolute;
	top: -0.15em;
	left: 0.1em;
	font-size: 5rem;
	line-height: 1;
	color: var(--rbk-red);
}

/* tags */
.rbk-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 40px 0;
}
.rbk-tagchip {
	font-family: var(--rbk-mono);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	border: var(--rbk-border);
	padding: 8px 12px;
	background: var(--rbk-white);
}
.rbk-tagchip:hover { background: var(--rbk-blue); color: var(--rbk-white); }

/* prev / next footer nav */
.rbk-single__footnav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	border-top: var(--rbk-border-thick);
	padding-top: 26px;
	margin-top: 40px;
}
.rbk-single__footnav a {
	flex: 1 1 240px;
	border: var(--rbk-border);
	padding: 18px 20px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--rbk-white);
	box-shadow: var(--rbk-shadow-sm);
}
.rbk-single__footnav a:hover { background: var(--rbk-black); color: var(--rbk-white); }
.rbk-single__footnav .rbk-footnav__label {
	display: block;
	font-family: var(--rbk-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	color: var(--rbk-red);
	margin-bottom: 6px;
}
.rbk-single__footnav a:hover .rbk-footnav__label { color: var(--rbk-white); }

/* related block on single */
.rbk-related { margin-top: 60px; }
.rbk-related h2 {
	font-size: var(--rbk-md);
	border-bottom: var(--rbk-border-thick);
	padding-bottom: 12px;
	margin-bottom: 30px;
}

/* =========================================================
 * 18. ARCHIVE LOOP - stacked bordered boxes, NO thumbs
 * ========================================================= */
.rbk-loop {
	display: flex;
	flex-direction: column;
	gap: 26px;
	padding: 40px 0;
}

.rbk-loopitem {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 0;
	border: var(--rbk-border-thick);
	background: var(--rbk-white);
	box-shadow: var(--rbk-shadow);
}
.rbk-loopitem:nth-child(odd)  { transform: rotate(-0.4deg); }
.rbk-loopitem:nth-child(even) { transform: rotate(0.4deg); }
.rbk-loopitem:hover {
	transform: translate(-4px, -4px) rotate(0deg);
	box-shadow: var(--rbk-shadow-lg);
}

.rbk-loopitem__index {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rbk-black);
	color: var(--rbk-white);
	border-right: var(--rbk-border-thick);
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
}
.rbk-loopitem:nth-child(3n+2) .rbk-loopitem__index { background: var(--rbk-red); }
.rbk-loopitem:nth-child(3n)   .rbk-loopitem__index { background: var(--rbk-blue); }

.rbk-loopitem__body { padding: 26px 28px; }
.rbk-loopitem__cat {
	display: inline-block;
	font-family: var(--rbk-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	border: 2px solid var(--rbk-black);
	padding: 4px 10px;
	margin-bottom: 14px;
	background: var(--rbk-concrete);
}
.rbk-loopitem__title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	line-height: 1;
	margin: 0 0 12px;
}
.rbk-loopitem__title a:hover { background: var(--rbk-black); color: var(--rbk-white); }
.rbk-loopitem__excerpt {
	font-family: var(--rbk-mono);
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.65;
	margin: 0 0 16px;
	max-width: 68ch;
}
.rbk-loopitem__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	border-top: 2px solid var(--rbk-black);
	padding-top: 12px;
	font-family: var(--rbk-mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
}
.rbk-loopitem__more {
	font-weight: 700;
	border-bottom: 3px solid var(--rbk-red);
}
.rbk-loopitem__more:hover { background: var(--rbk-red); color: var(--rbk-white); }

.rbk-empty {
	border: var(--rbk-border-thick);
	background: var(--rbk-concrete);
	box-shadow: var(--rbk-shadow);
	padding: 60px 30px;
	text-align: center;
	margin: 40px 0;
}
.rbk-empty p {
	font-size: var(--rbk-md);
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
}

/* =========================================================
 * 19. PAGINATION - huge bordered numbers
 * ========================================================= */
.rbk-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 50px 0 10px;
	padding: 0;
	list-style: none;
}
.rbk-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rbk-pagination li { margin: 0; }
.rbk-pagination a,
.rbk-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 62px;
	height: 62px;
	padding: 0 14px;
	border: var(--rbk-border-thick);
	background: var(--rbk-white);
	color: var(--rbk-black);
	font-family: var(--rbk-mono);
	font-size: 1.3rem;
	font-weight: 700;
	box-shadow: var(--rbk-shadow-sm);
}
.rbk-pagination a:hover,
.rbk-pagination a:focus {
	background: var(--rbk-black);
	color: var(--rbk-white);
	transform: translate(3px, 3px);
	box-shadow: 2px 2px 0 var(--rbk-black);
}
.rbk-pagination .current,
.rbk-pagination span.current {
	background: var(--rbk-red);
	color: var(--rbk-white);
}
.rbk-pagination .dots { border: 0; box-shadow: none; background: none; }


/* =========================================================
 * 20. SEARCH FORM
 * ========================================================= */
.rbk-searchform {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 30px 0;
	max-width: 640px;
}
.rbk-searchinput {
	flex: 1 1 260px;
	padding: 16px 18px;
	border: var(--rbk-border-thick);
	border-right: 0;
	background: var(--rbk-white);
	color: var(--rbk-black);
	font-family: var(--rbk-mono);
	font-size: 1rem;
	font-weight: 500;
}
.rbk-searchinput:focus {
	outline: none;
	background: var(--rbk-concrete);
	box-shadow: inset 4px 4px 0 var(--rbk-red);
}
.rbk-searchbtn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 26px;
	border: var(--rbk-border-thick);
	background: var(--rbk-black);
	color: var(--rbk-white);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}
.rbk-searchbtn:hover { background: var(--rbk-red); color: var(--rbk-white); }

/* =========================================================
 * 21. 404
 * ========================================================= */
.rbk-404 {
	padding: 80px 0;
	text-align: left;
	max-width: 760px;
}
.rbk-404__code {
	font-size: clamp(6rem, 26vw, 16rem);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 4px var(--rbk-black);
	margin-bottom: 10px;
}
.rbk-404__title {
	font-size: var(--rbk-lg);
	margin: 0 0 16px;
}
.rbk-404__text {
	font-family: var(--rbk-mono);
	font-size: 1rem;
	line-height: 1.7;
	max-width: 52ch;
	margin-bottom: 26px;
}
.rbk-404 .rbk-searchform { margin-bottom: 26px; }

/* =========================================================
 * 22. INVERTED FOOTER (black bg, white text)
 * ========================================================= */
.rbk-footer {
	background: var(--rbk-black);
	color: var(--rbk-white);
	border-top: var(--rbk-border-thick);
	margin-top: 0;
}

.rbk-footer__marker {
	font-family: var(--rbk-mono);
	font-size: clamp(1.4rem, 5vw, 2.6rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--rbk-white);
	opacity: 0.4;
	padding: 26px 0 6px;
	border-bottom: 2px solid rgba(255,255,255,0.2);
	overflow-wrap: anywhere;
}

.rbk-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 30px;
	padding: 50px 0 40px;
}

.rbk-footer__brand .rbk-brand__text {
	color: var(--rbk-white);
	font-size: 2.4rem;
}
.rbk-footer__brand .rbk-brand__dot { color: var(--rbk-red); }
.rbk-footer__about {
	font-family: var(--rbk-mono);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.7;
	color: rgba(255,255,255,0.82);
	margin: 16px 0 22px;
	max-width: 40ch;
}
.rbk-footer__cta { margin-bottom: 24px; }
.rbk-footer__cta .rbk-btn {
	background: var(--rbk-red);
	color: var(--rbk-white);
	border-color: var(--rbk-white);
	box-shadow: 6px 6px 0 var(--rbk-white);
}
.rbk-footer__cta .rbk-btn:hover {
	background: var(--rbk-white);
	color: var(--rbk-black);
	box-shadow: 2px 2px 0 var(--rbk-red);
	transform: translate(4px, 4px);
}

.rbk-social { display: flex; flex-wrap: wrap; gap: 8px; }
.rbk-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 44px;
	padding: 0 10px;
	border: 2px solid var(--rbk-white);
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
}
.rbk-social a:hover { background: var(--rbk-red); border-color: var(--rbk-red); color: var(--rbk-white); }

.rbk-footer__col-title {
	font-size: 1rem;
	letter-spacing: 0.1em;
	color: var(--rbk-white);
	border-bottom: 2px solid var(--rbk-red);
	padding-bottom: 10px;
	margin-bottom: 16px;
}
.rbk-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
/* footer links in bordered boxes */
.rbk-footer__col a {
	display: block;
	border: 2px solid rgba(255,255,255,0.5);
	padding: 8px 12px;
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
}
.rbk-footer__col a:hover {
	background: var(--rbk-white);
	color: var(--rbk-black);
	border-color: var(--rbk-white);
}

.rbk-legal {
	border-top: 2px solid rgba(255,255,255,0.25);
	padding: 30px 0 40px;
}
.rbk-legal__risk {
	font-family: var(--rbk-mono);
	font-size: 0.78rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.6);
	max-width: 90ch;
	margin-bottom: 22px;
}
.rbk-legal__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}
.rbk-legal__links a {
	border: 2px solid rgba(255,255,255,0.5);
	padding: 8px 12px;
	color: var(--rbk-white);
	font-family: var(--rbk-mono);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.rbk-legal__links a:hover { background: var(--rbk-white); color: var(--rbk-black); }

.rbk-legal__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.rbk-legal__copy {
	font-family: var(--rbk-mono);
	font-size: clamp(0.9rem, 2.4vw, 1.3rem);   /* oversized monospace copyright */
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--rbk-white);
	margin: 0;
}

/* =========================================================
 * 23. COMMENTS (minimal brutalist)
 * ========================================================= */
.rbk-comments { margin-top: 60px; }
.rbk-comments .comment-list { list-style: none; padding: 0; }
.rbk-comments .comment {
	border: var(--rbk-border);
	padding: 20px;
	margin-bottom: 18px;
	background: var(--rbk-concrete);
	box-shadow: var(--rbk-shadow-sm);
}
.rbk-comments .comment-respond { margin-top: 24px; }
.rbk-comments input[type="text"],
.rbk-comments input[type="email"],
.rbk-comments input[type="url"],
.rbk-comments textarea {
	width: 100%;
	border: var(--rbk-border);
	padding: 12px 14px;
	margin-bottom: 14px;
	background: var(--rbk-white);
	font-family: var(--rbk-mono);
}
.rbk-comments textarea { min-height: 140px; }

/* =========================================================
 * 24. RESPONSIVE
 * ========================================================= */
@media (max-width: 1080px) {
	.rbk-hero__grid { grid-template-columns: 1fr; }
	.rbk-hero__media { margin-top: 46px; }
	.rbk-insights__grid { grid-template-columns: repeat(2, 1fr); }
	.rbk-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.rbk-footer__brand { grid-column: 1 / -1; }

	.rbk-panel__grid { grid-template-columns: 1fr; gap: 30px; }
	.rbk-panel__content,
	.rbk-panel--reverse .rbk-panel__content { margin-left: 0; margin-right: 0; }
	.rbk-panel__media--rot, .rbk-panel__media--rot2 { transform: none; }
}

@media (max-width: 860px) {
	.rbk-nav, .rbk-header-actions .rbk-desktop-only { display: none; }
	.rbk-burger { display: inline-flex; }
	.rbk-topbar__inner { min-height: 70px; }
	.rbk-brand__text { font-size: 1.7rem; }
	.rbk-brand__img { height: 34px; }

	.rbk-featgrid { grid-template-columns: 1fr; gap: 22px; }
	.rbk-featbox { min-height: 240px; }

	.rbk-hero__sub { margin-top: -12px; }
	.rbk-hero__ctas .rbk-btn { min-width: 0; width: 100%; }

	.rbk-entry .rbk-pullquote,
	.rbk-pullquote {
		width: 100%;
		margin: 2em 0;
		transform: rotate(-0.6deg);
	}

	.rbk-ctablock__actions .rbk-btn { min-width: 0; width: 100%; }
	.rbk-ctablock__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
	.rbk-section { padding: 56px 0; }
	.rbk-wrap { padding: 0 16px; }

	.rbk-insights__grid { grid-template-columns: 1fr; gap: 30px; }
	/* keep the scattered rotations on mobile too */
	.rbk-postcard.rbk-rot--a { transform: rotate(-0.8deg); }
	.rbk-postcard.rbk-rot--b { transform: rotate(0.6deg); }
	.rbk-postcard.rbk-rot--c { transform: rotate(-0.4deg); }

	.rbk-hero__stats { flex-direction: column; }
	.rbk-hero__stat { border-right: 0; border-bottom: var(--rbk-border); }
	.rbk-hero__stat:last-child { border-bottom: 0; }

	.rbk-loopitem { grid-template-columns: 70px 1fr; }
	.rbk-loopitem__body { padding: 20px; }

	.rbk-footer__grid { grid-template-columns: 1fr; gap: 24px; }

	.rbk-pagination a, .rbk-pagination span { min-width: 52px; height: 52px; font-size: 1.1rem; }

	.rbk-searchform { flex-direction: column; }
	.rbk-searchinput { border-right: var(--rbk-border-thick); border-bottom: 0; }
	.rbk-searchbtn { justify-content: center; }

	.rbk-single__footnav a { flex: 1 1 100%; }
}
