/*
Theme Name: Ramblings of a Madman
Theme URI: https://apig.monster/rambling-madman/
Author: API Group
Description: Bespoke social-profile theme for Ramblings of a Madman, Rudy Rudolph's independent civic-oversight outlet covering Carmi and White County, Illinois. Cream, amber and deep petrol palette taken from the publication wordmark.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ramblings
*/

/* ---------------------------------------------------------------
   Tokens
   --------------------------------------------------------------- */
:root {
	--rom-ivory: #f6e7bf;
	--rom-amber: #ffa313;
	--rom-amber-deep: #e08a00;
	--rom-petrol: #071f22;
	--rom-petrol-soft: #0e2f33;
	--rom-paper: #fbf4e2;
	--rom-card: #fffdf6;
	--rom-ink: #0b2427;
	--rom-muted: #55696a;
	--rom-line: rgba(7, 31, 34, 0.14);
	--rom-shadow: 0 1px 2px rgba(7, 31, 34, 0.06), 0 10px 26px -18px rgba(7, 31, 34, 0.45);
	--rom-radius: 14px;
	--rom-serif: "Bitter", Georgia, "Times New Roman", serif;
	--rom-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--rom-max: 1000px;
	--rom-feed: 680px;
}

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

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

body {
	margin: 0;
	background: var(--rom-paper);
	color: var(--rom-ink);
	font-family: var(--rom-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--rom-petrol); text-decoration-color: rgba(255, 163, 19, 0.7); text-underline-offset: 3px; }
a:hover { color: var(--rom-amber-deep); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rom-serif);
	font-weight: 700;
	line-height: 1.18;
	margin: 0 0 0.5em;
	color: var(--rom-petrol);
	letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

hr { border: 0; border-top: 1px solid var(--rom-line); margin: 2rem 0; }

blockquote {
	margin: 1.6rem 0;
	padding: 0.2rem 0 0.2rem 1.2rem;
	border-left: 4px solid var(--rom-amber);
	font-family: var(--rom-serif);
	font-size: 1.08em;
	color: var(--rom-petrol-soft);
}

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

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999;
	width: auto; height: auto; clip: auto;
	background: var(--rom-petrol); color: var(--rom-ivory);
	padding: 10px 16px; border-radius: 8px;
}

/* ---------------------------------------------------------------
   Cover + profile header
   --------------------------------------------------------------- */
.rom-profile {
	background: var(--rom-paper);
	border-bottom: 1px solid var(--rom-line);
}

.rom-cover {
	position: relative;
	width: 100%;
	aspect-ratio: 1535 / 393;      /* the header keeps its own shape, never cropped */
	background-color: #0b1a1b;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.rom-cover::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(to top, rgba(7, 31, 34, 0.55), rgba(7, 31, 34, 0));
	pointer-events: none;
}

.rom-profile-inner {
	width: min(100% - 2rem, var(--rom-max));
	margin: 0 auto;
	padding: 0 0 1.3rem;
}

.rom-identity {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "avatar names actions";
	align-items: start;
	gap: 0 1.25rem;
	margin-top: -56px;
	position: relative;
	z-index: 2;
}

.rom-avatar { grid-area: avatar; }
.rom-names { grid-area: names; }
.rom-bio { grid-area: bio; }
.rom-actions { grid-area: actions; }

.rom-avatar {
	width: 168px;
	height: 168px;
	border-radius: 50%;
	background: var(--rom-ivory);
	border: 5px solid var(--rom-paper);
	box-shadow: 0 2px 0 rgba(7, 31, 34, 0.18), var(--rom-shadow);
	overflow: hidden;
	flex: none;
}

.rom-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 25px;
}

.rom-names { padding-top: 88px; min-width: 0; }

.rom-name {
	font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.7rem);
	margin: 0 0 0.15em;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.rom-masthead-kicker {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.45rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--rom-amber-deep);
}

.rom-masthead-kicker::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--rom-amber);
	flex: none;
}

.rom-masthead-kicker .rom-kicker-sep {
	color: rgba(7, 31, 34, 0.35);
	font-weight: 400;
}

.rom-masthead-kicker .rom-kicker-place { color: var(--rom-muted); }

.rom-meta {
	margin: 0 0 0.55rem;
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-bio {
	margin: 0.55rem 0 0;
	max-width: 64ch;
	font-size: 1rem;
	color: #24393b;
}

.rom-actions { padding-top: 96px; }

.rom-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.72rem 1.15rem;
	border-radius: 999px;
	font-family: var(--rom-sans);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
	white-space: nowrap;
}

.rom-btn--amber {
	background: var(--rom-amber);
	color: var(--rom-petrol);
	box-shadow: 0 2px 0 var(--rom-petrol);
}

.rom-btn--amber:hover {
	background: #ffb43f;
	color: var(--rom-petrol);
	transform: translateY(-1px);
}

.rom-btn--ghost {
	border-color: var(--rom-petrol);
	color: var(--rom-petrol);
	background: transparent;
}

.rom-btn--ghost:hover { background: var(--rom-petrol); color: var(--rom-ivory); }

.rom-btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }

.rom-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: var(--rom-muted);
}

.rom-stats strong { color: var(--rom-petrol); font-weight: 700; }

/* ---------------------------------------------------------------
   Tabs
   --------------------------------------------------------------- */
.rom-tabbar {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(251, 244, 226, 0.96);
	backdrop-filter: saturate(140%) blur(8px);
	border-top: 1px solid var(--rom-line);
	border-bottom: 1px solid var(--rom-line);
}

.rom-tabbar-inner {
	width: min(100% - 2rem, var(--rom-max));
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.rom-brand {
	display: none;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--rom-serif);
	font-weight: 800;
	font-size: 0.98rem;
	color: var(--rom-petrol);
	text-decoration: none;
	letter-spacing: -0.01em;
	padding-right: 0.5rem;
}

.rom-brand img { width: 30px; height: 30px; border-radius: 50%; }

.rom-tabs {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.rom-tabs::-webkit-scrollbar { display: none; }

.rom-tabs a {
	display: block;
	padding: 0.95rem 1.05rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--rom-muted);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}

.rom-tabs a:hover { color: var(--rom-petrol); background: rgba(246, 231, 191, 0.55); }

.rom-tabs .is-current a,
.rom-tabs a[aria-current="page"] {
	color: var(--rom-petrol);
	border-bottom-color: var(--rom-amber);
}

/* ---------------------------------------------------------------
   Layout
   --------------------------------------------------------------- */
/* Wall with the sidebar on the left, feed on the right. */
.rom-main {
	width: min(100% - 2rem, var(--rom-max));
	margin: 0 auto;
	padding: 1.6rem 0 3rem;
	display: grid;
	grid-template-columns: 300px minmax(0, var(--rom-feed));
	gap: 2rem;
	justify-content: center;
	align-items: start;
}

.rom-feed { min-width: 0; display: grid; gap: 1.15rem; grid-column: 2; grid-row: 1; }
.rom-rail { grid-column: 1; grid-row: 1; }

.rom-main--single {
	grid-template-columns: minmax(0, var(--rom-feed)) 300px;
}

.rom-single {
	grid-column: 1;
	grid-row: 1;
	min-width: 0;
	display: grid;
	gap: 1.15rem;
}

/* Article pages carry the sidebar on the right. */
.rom-main--single .rom-rail {
	grid-column: 2;
	grid-row: 1;
}

.rom-section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 0.2rem;
	font-size: 0.82rem;
	font-family: var(--rom-sans);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

/* ---------------------------------------------------------------
   Post cards
   --------------------------------------------------------------- */
.rom-card {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	overflow: hidden;
}

.rom-card-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.15rem 0.35rem;
}

.rom-card-avatar {
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 2px solid var(--rom-ivory);
	background: var(--rom-ivory);
	object-fit: contain;
	padding: 3px;
	flex: none;
}

.rom-card-who { min-width: 0; }

.rom-card-name {
	display: block;
	font-weight: 700;
	font-size: 0.97rem;
	color: var(--rom-petrol);
	line-height: 1.25;
}

.rom-card-date {
	display: block;
	font-size: 0.79rem;
	color: var(--rom-muted);
	letter-spacing: 0.02em;
}

.rom-chip {
	margin-left: auto;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: var(--rom-ivory);
	border: 1px solid rgba(7, 31, 34, 0.18);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-petrol);
	white-space: nowrap;
}

.rom-card-body { padding: 0.55rem 1.15rem 1.1rem; }

.rom-story-kicker {
	margin: 0 0 0.32rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--rom-amber-deep);
}

.rom-card-title {
	font-size: 1.32rem;
	margin: 0 0 0.45rem;
	line-height: 1.24;
}

.rom-card-title a { color: var(--rom-petrol); text-decoration: none; }
.rom-card-title a:hover { text-decoration: underline; text-decoration-color: var(--rom-amber); }

.rom-card-text { color: #22383a; font-size: 1rem; }

.rom-dateline {
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.82rem;
	color: var(--rom-petrol);
}
.rom-card-text p:last-child { margin-bottom: 0; }

.rom-card-photo {
	display: block;
	margin: 0.9rem -1.15rem 0;
	border-top: 1px solid var(--rom-line);
	border-bottom: 1px solid var(--rom-line);
	background: var(--rom-ivory);
}

.rom-card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.rom-card-source {
	margin: 0.9rem 0 0;
	font-size: 0.82rem;
	color: var(--rom-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	align-items: baseline;
}

.rom-card-source a { font-weight: 600; }

.rom-video-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.95rem;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	background: var(--rom-petrol);
	color: var(--rom-ivory);
	font-weight: 700;
	font-size: 0.87rem;
	text-decoration: none;
}

.rom-video-btn:hover { background: var(--rom-petrol-soft); color: #fff; }

.rom-video-btn svg { width: 14px; height: 14px; fill: currentColor; }

.rom-card-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
	padding: 0.75rem 1.15rem;
	border-top: 1px solid var(--rom-line);
	background: rgba(246, 231, 191, 0.28);
	font-size: 0.85rem;
	font-weight: 600;
}

.rom-card-foot a { color: var(--rom-petrol); text-decoration: none; }
.rom-card-foot a:hover { text-decoration: underline; text-decoration-color: var(--rom-amber); }

/* Pinned introduction */
.rom-card--pinned {
	border-left: 5px solid var(--rom-amber);
}

.rom-card--pinned .rom-card-body { padding-top: 0.7rem; }

.rom-card--pinned .rom-card-text { font-size: 1.02rem; }

.rom-pinned-label {
	display: inline-block;
	margin: 0 0 0.5rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rom-amber-deep);
}

/* ---------------------------------------------------------------
   Sponsored card inside the wall
   --------------------------------------------------------------- */
.rom-adcard {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	overflow: hidden;
}

.rom-adcard-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.9rem 1.15rem 0.55rem;
}

.rom-adcard-label {
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-adcard-who {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--rom-petrol);
}

.rom-adcard img { display: block; width: 100%; height: auto; }

.rom-adcard-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 1.15rem;
	border-top: 1px solid var(--rom-line);
	background: rgba(246, 231, 191, 0.3);
	font-size: 0.82rem;
	color: var(--rom-muted);
}

.rom-adcard-foot a {
	font-weight: 700;
	color: var(--rom-petrol);
	text-decoration: none;
	border-bottom: 2px solid var(--rom-amber);
}

/* ---------------------------------------------------------------
   Rail panels (unused in the single-feed layout, kept for widgets)
   --------------------------------------------------------------- */
.rom-rail { display: grid; gap: 1.15rem; position: sticky; top: 76px; }

.rom-panel {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	padding: 1.15rem;
}

.rom-panel h2 {
	font-family: var(--rom-sans);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rom-muted);
	margin: 0 0 0.8rem;
}

.rom-panel p { font-size: 0.94rem; }

.rom-panel .rom-btn { width: 100%; justify-content: center; margin-top: 0.35rem; }

.rom-rail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.rom-rail-list a {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 0.65rem;
	align-items: center;
	text-decoration: none;
	color: var(--rom-petrol);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}

.rom-rail-list img,
.rom-rail-thumb {
	width: 74px; height: 52px;
	object-fit: cover;
	border-radius: 6px;
	background: var(--rom-ivory);
}

.rom-rail-empty { font-size: 0.9rem; color: var(--rom-muted); margin: 0; }

.rom-panel--tip { border-color: rgba(255, 163, 19, 0.55); background: rgba(255, 163, 19, 0.08); }

.rom-panel--tip h2 { color: var(--rom-amber-deep); }

.rom-panel--ad {
	padding: 0;
	overflow: hidden;
	background: var(--rom-card);
}

.rom-panel--ad .rom-ad-label {
	padding: 0.55rem 0.4rem 0;
}

.rom-ad-label {
	margin: 0 0 0.55rem;
	text-align: center;
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-ad-image,
.rom-ad-link img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.rom-ad-link { display: block; }

.rom-composer-ads {
	margin-left: auto;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

/* Ads manager */
.rom-ads-block { margin-top: 1.6rem; }

.rom-ads-heading {
	margin: 0 0 0.7rem;
	font-size: 0.8rem;
	font-family: var(--rom-sans);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-ads-empty,
.rom-ads-hint { font-size: 0.85rem; color: var(--rom-muted); display: block; }

.rom-ads-notice {
	margin: 0 0 1rem;
	padding: 0.7rem 0.9rem;
	border-radius: 8px;
	background: rgba(255, 163, 19, 0.18);
	border: 1px solid rgba(255, 163, 19, 0.5);
	font-size: 0.92rem;
}

.rom-ads-notice--error { background: rgba(180, 30, 30, 0.1); border-color: rgba(180, 30, 30, 0.4); }

.rom-ads-table-wrap { overflow-x: auto; }

.rom-ads-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	overflow: hidden;
}

.rom-ads-table th,
.rom-ads-table td { padding: 0.55rem 0.6rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rom-line); }
.rom-ads-table th { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rom-muted); }
.rom-ads-table tr:last-child td { border-bottom: 0; }

.rom-ads-cell { display: flex; gap: 0.55rem; align-items: center; min-width: 190px; }
.rom-ads-cell img { width: 72px; height: auto; border-radius: 4px; }
.rom-ads-cell strong { display: block; font-weight: 700; }
.rom-ads-url { display: block; font-size: 0.72rem; color: var(--rom-muted); word-break: break-all; }

.rom-ads-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.rom-ads-actions form { margin: 0; }

.rom-ads-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--rom-petrol);
	text-decoration: underline;
	text-decoration-color: rgba(255, 163, 19, 0.7);
	cursor: pointer;
}

.rom-ads-link--danger { color: #a31616; }

.rom-ads-form { display: grid; gap: 0.9rem; max-width: 460px; }

.rom-ads-form label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.25rem; }

.rom-ads-form input[type="text"],
.rom-ads-form input[type="url"],
.rom-ads-form input[type="number"],
.rom-ads-form select,
.rom-ads-form input[type="file"] {
	width: 100%;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--rom-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.92rem;
}

.rom-ads-form .rom-ads-check { display: flex; gap: 0.5rem; align-items: center; font-weight: 600; }
.rom-ads-form .rom-ads-check input { width: auto; }
.rom-ads-submit { display: flex; gap: 0.6rem; }
.rom-ads-current img { max-width: 240px; height: auto; border-radius: 6px; margin-bottom: 0.4rem; }

.rom-newsroom-note {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

/* ---------------------------------------------------------------
   Single post / page
   --------------------------------------------------------------- */
.rom-article {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	padding: clamp(1.25rem, 1rem + 1.6vw, 2.6rem);
}

.rom-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--rom-amber-deep);
}

.rom-article-title {
	font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
	margin: 0 0 0.6rem;
	line-height: 1.14;
}

.rom-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.4rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid var(--rom-line);
	font-size: 0.88rem;
	color: var(--rom-muted);
}

.rom-byline img { width: 36px; height: 36px; border-radius: 50%; }

.rom-hero {
	margin: 0 0 1.5rem;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--rom-line);
}

.rom-content { font-size: 1.09rem; line-height: 1.72; }

.rom-content > * + * { margin-top: 1.15em; }

.rom-content h2 { font-size: 1.55rem; margin-top: 1.8rem; }
.rom-content h3 { font-size: 1.28rem; margin-top: 1.6rem; }

.rom-content a { font-weight: 600; }

.rom-content img,
.rom-content iframe { border-radius: 8px; }

.rom-content .wp-block-embed { margin: 1.6rem 0; }

.rom-content ul,
.rom-content ol { padding-left: 1.3rem; }
.rom-content li + li { margin-top: 0.4em; }

.rom-content blockquote p:last-child { margin-bottom: 0; }

.rom-source-box {
	margin: 1.8rem 0 0;
	padding: 0.9rem 1rem;
	border: 1px dashed rgba(7, 31, 34, 0.3);
	border-radius: 8px;
	background: rgba(246, 231, 191, 0.4);
	font-size: 0.9rem;
}

.rom-source-box strong { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.74rem; }

.rom-video-embed { margin: 1.6rem 0; }

.rom-video-embed iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
	background: var(--rom-petrol);
}

.rom-share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 2rem;
	padding-top: 1.3rem;
	border-top: 1px solid var(--rom-line);
}

.rom-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.2rem;
}

.rom-pager a {
	display: block;
	padding: 1rem 1.1rem;
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.35;
}

.rom-pager span {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--rom-muted);
	margin-bottom: 0.3rem;
}

.rom-pager .is-next { text-align: right; }

/* ---------------------------------------------------------------
   Archive / videos grid
   --------------------------------------------------------------- */
.rom-archive-head {
	margin: 0 0 1.4rem;
	padding: 0 0.2rem;
}

.rom-archive-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0 0 0.3rem; }

.rom-archive-head p { margin: 0; color: var(--rom-muted); max-width: 62ch; }

.rom-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.15rem;
}

.rom-grid .rom-card-photo { margin: 0.9rem -1.15rem 0; }

.rom-empty {
	padding: 2.2rem 1.4rem;
	text-align: center;
	color: var(--rom-muted);
	background: var(--rom-card);
	border: 1px dashed rgba(7, 31, 34, 0.25);
	border-radius: var(--rom-radius);
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.rom-footer {
	margin-top: 2rem;
	background: var(--rom-petrol);
	color: rgba(246, 231, 191, 0.86);
	padding: 2.6rem 1rem 2rem;
}

.rom-footer-inner {
	width: min(100%, var(--rom-max));
	margin: 0 auto;
	display: grid;
	gap: 1.6rem;
	grid-template-columns: 1.4fr 1fr;
	align-items: start;
}

.rom-footer h2 {
	font-family: var(--rom-serif);
	color: var(--rom-ivory);
	font-size: 1.35rem;
	margin: 0 0 0.4rem;
}

.rom-footer p { margin: 0 0 0.35rem; font-size: 0.92rem; }

.rom-footer a { color: var(--rom-ivory); }
.rom-footer a:hover { color: var(--rom-amber); }

.rom-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
	font-weight: 600;
}

.rom-footer-publisher {
	font-size: 0.8rem !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(246, 231, 191, 0.6) !important;
	margin-top: 0.6rem !important;
}

.rom-footer-bottom {
	width: min(100%, var(--rom-max));
	margin: 1.8rem auto 0;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(246, 231, 191, 0.18);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: rgba(246, 231, 191, 0.62);
	text-align: center;
}

.rom-footer-credit { margin: 0; }

.rom-footer-powered {
	margin: 0.4rem 0 0;
	font-family: var(--rom-serif);
	font-size: calc(0.78rem + 2px);
	letter-spacing: 0.03em;
}

.rom-footer-bottom a { color: rgba(246, 231, 191, 0.8); }

.rom-footer-powered,
.rom-footer-powered a {
	color: var(--rom-amber);
	text-decoration-color: rgba(255, 163, 19, 0.55);
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
	.rom-main { grid-template-columns: minmax(0, var(--rom-feed)); }
	.rom-feed { grid-column: 1; }
	.rom-rail { display: none; }
	/* Articles keep their sidebar on small screens: it moves under the piece. */
	.rom-main--single .rom-rail { display: grid; grid-column: 1; grid-row: 2; margin-top: 1.4rem; }
	.rom-single { grid-column: 1; grid-row: 1; }
	.rom-brand { display: flex; }
}

@media (max-width: 760px) {
	body { font-size: 16.5px; }

	.rom-profile-inner,
	.rom-tabbar-inner,
	.rom-main { width: 100%; }

	.rom-main { padding: 1.15rem 0.8rem 2.4rem; }

	.rom-identity {
		grid-template-columns: 124px minmax(0, 1fr);
		grid-template-areas:
			"avatar names"
			"actions actions";
		gap: 0 0.9rem;
		margin-top: -46px;
		padding: 0 0.9rem;
		align-items: start;
	}

	.rom-masthead-kicker .rom-kicker-sep,
	.rom-masthead-kicker .rom-kicker-place { display: none; }

	.rom-bio { margin-top: 0.7rem; max-width: none; }

	.rom-avatar { width: 124px; height: 124px; border-width: 4px; }

	.rom-names { padding-top: 66px; }

	.rom-bio { font-size: 0.95rem; }

	.rom-actions { padding: 0.75rem 0 0; }

	.rom-actions .rom-btn { width: 100%; justify-content: center; }

	.rom-stats { padding: 0 0.9rem; margin-top: 0.9rem; gap: 0.3rem 1rem; }

	.rom-cover {
		height: auto;
		aspect-ratio: 1535 / 393;
		background-size: cover;
	}

	.rom-tabbar-inner { padding: 0 0.35rem; gap: 0.4rem; }

	.rom-brand span { display: none; }

	.rom-tabs a { padding: 0.85rem 0.8rem; font-size: 0.76rem; letter-spacing: 0.08em; }

	.rom-card { border-radius: 12px; }

	.rom-card-head { padding: 0.85rem 0.95rem 0.25rem; }
	.rom-card-body { padding: 0.5rem 0.95rem 0.95rem; }
	.rom-card-photo { margin-left: -0.95rem; margin-right: -0.95rem; }
	.rom-card-foot { padding: 0.7rem 0.95rem; }
	.rom-card-title { font-size: 1.2rem; }

	.rom-article { border-radius: 12px; padding: 1.15rem 1rem 1.4rem; }

	.rom-footer-inner { grid-template-columns: 1fr; }

	.rom-pager { grid-template-columns: 1fr; }
	.rom-pager .is-next { text-align: left; }
}

@media (max-width: 420px) {
	.rom-identity { grid-template-columns: 104px 1fr; }
	.rom-avatar { width: 104px; height: 104px; }
	.rom-names { padding-top: 58px; }
	.rom-name { font-size: 1.65rem; }
}

/* Wide block editor content inside posts */
.rom-content .alignwide { margin-left: -1.5rem; margin-right: -1.5rem; max-width: none; }



/* Three dots: edit / unpublish / delete, for whoever runs the page. */
.rom-post-menu {
	position: relative;
	margin-left: auto;
	align-self: flex-start;
	flex: none;
}

.rom-menu-toggle {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--rom-muted);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.rom-menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.rom-menu-toggle:hover,
.rom-post-menu.is-open .rom-menu-toggle {
	background: rgba(7, 31, 34, 0.07);
	color: var(--rom-petrol);
	border-color: var(--rom-line);
}

.rom-menu-panel {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	z-index: 30;
	min-width: 190px;
	padding: 0.35rem;
	background: var(--rom-paper);
	border: 1px solid var(--rom-line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(7, 31, 34, 0.16);
}

.rom-menu-panel[hidden] { display: none; }

.rom-menu-panel button {
	display: block;
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 0;
	border-radius: 8px;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-align: left;
	color: var(--rom-petrol);
	cursor: pointer;
}

.rom-menu-panel button:hover { background: rgba(7, 31, 34, 0.06); }
.rom-menu-panel button.is-danger { color: #9c2b1f; }
.rom-menu-panel button.is-danger:hover { background: rgba(156, 43, 31, 0.09); }

/* Inline editor */
.rom-edit-form {
	margin: 0 1.15rem 1.15rem;
	padding: 1rem;
	border: 1px solid var(--rom-line);
	border-radius: 12px;
	background: var(--rom-paper);
}

.rom-edit-form[hidden] { display: none; }

.rom-edit-label {
	display: block;
	margin: 0 0 0.85rem;
}

.rom-edit-label > span {
	display: block;
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-edit-title,
.rom-edit-body {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--rom-line);
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--rom-petrol);
}

.rom-edit-title { font-weight: 700; }
.rom-edit-body { resize: vertical; }

.rom-edit-title:focus,
.rom-edit-body:focus {
	outline: 2px solid var(--rom-amber);
	outline-offset: 1px;
}

.rom-edit-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.rom-edit-status { font-size: 0.85rem; color: var(--rom-muted); }


/* Media inside the inline editor */
.rom-edit-media {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.85rem 0.4rem;
	border: 1px dashed var(--rom-line);
	border-radius: 10px;
}

.rom-edit-media legend {
	padding: 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-media-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rom-media-item {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.45rem 0;
	border-top: 1px solid rgba(7, 31, 34, 0.08);
}

.rom-media-item:first-child { border-top: 0; }

.rom-media-thumb {
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 8px;
	object-fit: cover;
	background: var(--rom-ivory);
	border: 1px solid var(--rom-line);
}

.rom-media-thumb--video {
	display: grid;
	place-items: center;
	color: var(--rom-amber-deep);
	background: rgba(7, 31, 34, 0.06);
}

.rom-media-thumb--video svg { width: 22px; height: 22px; }

.rom-media-thumb--doc {
	display: grid;
	place-items: center;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--rom-petrol);
	background: var(--rom-ivory);
}

.rom-media-name {
	flex: 1;
	min-width: 0;
	font-size: 0.85rem;
	line-height: 1.3;
}

.rom-media-name strong { display: block; font-size: 0.85rem; }

.rom-media-sub {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--rom-muted);
	font-size: 0.78rem;
}

.rom-media-rename {
	width: 100%;
	margin-top: 0.15rem;
	padding: 0.28rem 0.45rem;
	border: 1px solid var(--rom-line);
	border-radius: 6px;
	background: #fff;
	font-family: inherit;
	font-size: 0.8rem;
	line-height: 1.3;
	color: var(--rom-ink);
}

.rom-media-rename:focus {
	outline: 2px solid rgba(199, 122, 30, 0.35);
	outline-offset: 1px;
}

.rom-media-remove {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex: none;
	font-size: 0.78rem;
	font-weight: 700;
	color: #9c2b1f;
	cursor: pointer;
}

.rom-media-remove input { width: 16px; height: 16px; accent-color: #9c2b1f; }

.rom-edit-add {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.6rem;
	margin: 0 0 0.7rem;
}

.rom-edit-add .rom-attach {
	border: 1px solid var(--rom-line);
	background: #fff;
}

@media (max-width: 760px) {
	.rom-media-item { gap: 0.5rem; }
	.rom-media-thumb { width: 40px; height: 40px; }
	.rom-edit-add .rom-attach { font-size: 0.8rem; padding: 0.4rem 0.5rem; }
}

@media (max-width: 760px) {
	.rom-edit-form { margin: 0 0.95rem 0.95rem; padding: 0.85rem; }
	.rom-menu-toggle { width: 34px; height: 34px; }
}

/* ---------------------------------------------------------------
   Front-end composer (logged-in publisher only)
   --------------------------------------------------------------- */
.rom-composer {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: 12px;
	box-shadow: var(--rom-shadow);
	padding: 1rem 1.15rem;
}

.rom-composer-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.rom-composer-title {
	flex: 1;
	min-width: 0;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--rom-line);
	border-radius: 999px;
	background: var(--rom-paper);
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	color: var(--rom-petrol);
}

.rom-composer-title::placeholder { color: var(--rom-muted); font-weight: 500; }

.rom-composer-body {
	width: 100%;
	margin-top: 0.75rem;
	padding: 0.8rem 0.95rem;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	background: var(--rom-paper);
	font: inherit;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--rom-petrol);
	resize: vertical;
	min-height: 120px;
}

.rom-composer-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.75rem;
	margin-top: 0.75rem;
	padding-top: 0.7rem;
	border-top: 1px solid var(--rom-line);
}

.rom-attach {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.7rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--rom-petrol);
	cursor: pointer;
}

.rom-attach:hover { background: rgba(7, 31, 34, 0.06); }
.rom-attach svg { width: 18px; height: 18px; }

.rom-pin {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: auto;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--rom-petrol);
	cursor: pointer;
}

.rom-pin input { width: 16px; height: 16px; accent-color: var(--rom-amber-deep); }

.rom-picked {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.8rem;
	margin: 0.7rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
	color: var(--rom-muted);
}

.rom-composer-submit {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-top: 0.9rem;
}

.rom-composer-submit .rom-btn { padding: 0.55rem 1.6rem; }
.rom-composer-submit .rom-btn[disabled] { opacity: 0.6; cursor: default; }

.rom-composer-status { font-size: 0.85rem; color: var(--rom-muted); }

.rom-progress {
	margin-top: 0.6rem;
	height: 5px;
	border-radius: 999px;
	background: rgba(7, 31, 34, 0.12);
	overflow: hidden;
}

.rom-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--rom-amber);
	transition: width 0.15s linear;
}

@media (max-width: 760px) {
	.rom-composer { padding: 0.85rem 0.95rem; }
	.rom-composer-title { font-size: 0.95rem; }
	.rom-composer-actions { gap: 0.3rem 0.4rem; }
	.rom-attach { padding: 0.45rem 0.55rem; font-size: 0.82rem; }
	.rom-pin { margin-left: 0; width: 100%; }
}

/* ---------------------------------------------------------------
   Send a tip page
   --------------------------------------------------------------- */
.rom-tip-intro p { margin-bottom: 1.5rem; }

.rom-tip-form {
	display: grid;
	gap: 1.05rem;
	margin-top: 1.6rem;
}

/* Honeypot: bots only. */
.rom-tip-trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rom-tip-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.05rem;
}

.rom-tip-field {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.rom-tip-field label {
	font-family: var(--rom-sans);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-tip-field input,
.rom-tip-field textarea {
	width: 100%;
	padding: 0.72rem 0.95rem;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	background: var(--rom-paper);
	font: inherit;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--rom-ink);
}

.rom-tip-field input:focus,
.rom-tip-field textarea:focus {
	outline: none;
	border-color: var(--rom-amber-deep);
	box-shadow: 0 0 0 3px rgba(255, 163, 19, 0.25);
}

.rom-tip-field textarea { min-height: 150px; resize: vertical; }

.rom-tip-attach { margin-top: 0.15rem; }

.rom-tip-picked { margin-top: 0; }

.rom-tip-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
	margin-top: 0.4rem;
}

.rom-tip-form .rom-btn { cursor: pointer; }

.rom-tip-note {
	font-size: 0.85rem;
	color: var(--rom-muted);
}

.rom-tips-inbox {
	margin-top: 2.4rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--rom-line);
}

.rom-tips-inbox .rom-ads-heading { margin-bottom: 1rem; }

.rom-tip-item {
	margin-bottom: 0.9rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	background: var(--rom-paper);
}

.rom-tip-item:last-child { margin-bottom: 0; }

.rom-tip-item-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.2rem 0.9rem;
}

.rom-tip-item-head h3 {
	margin: 0;
	font-size: 1.02rem;
	font-family: var(--rom-sans);
	font-weight: 700;
}

.rom-tip-item-date {
	font-size: 0.76rem;
	color: var(--rom-muted);
	white-space: nowrap;
}

.rom-tip-item-contact {
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
}

.rom-tip-item-body {
	margin-top: 0.5rem;
	font-size: 0.95rem;
}

.rom-tip-item-body > :last-child { margin-bottom: 0; }

.rom-tip-item-files {
	margin: 0.6rem 0 0;
	padding-left: 1.15rem;
	font-size: 0.84rem;
}

.rom-tip-item-files li { margin-bottom: 0.15rem; }

.rom-tip-item form { margin-top: 0.7rem; }

@media (max-width: 620px) {
	.rom-tip-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Accounts: sign-in control in the nav bar, front-end sign-in page
   --------------------------------------------------------------- */
.rom-tabbar-inner .rom-account {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding-left: 0.4rem;
	flex: none;
}

.rom-account-in {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	background: var(--rom-petrol);
	color: var(--rom-ivory);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
}

.rom-account-in:hover { background: var(--rom-petrol-soft); color: #fff; }

.rom-google-g {
	width: 16px;
	height: 16px;
	flex: none;
	background: #fff;
	border-radius: 50%;
	padding: 1px;
}

.rom-account-label--short { display: none; }

.rom-account--in { font-size: 0.8rem; }

.rom-account-who {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--rom-petrol);
	font-weight: 700;
}

.rom-account-who img { border-radius: 50%; width: 26px; height: 26px; object-fit: cover; }

.rom-account-out {
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--rom-muted);
	text-decoration: none;
	border-left: 1px solid var(--rom-line);
	padding-left: 0.65rem;
	white-space: nowrap;
}

.rom-account-out:hover { color: var(--rom-amber-deep); }

.rom-main--account {
	display: block;
	width: min(100% - 2rem, 520px);
	padding-top: 2.6rem;
}

.rom-account-card {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	padding: 2rem 1.9rem 2.1rem;
}

.rom-account-title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.15rem); }

.rom-account-lead { color: var(--rom-muted); font-size: 0.98rem; }

.rom-account-error {
	background: #fff2ee;
	border-left: 4px solid #b3341a;
	padding: 0.7rem 0.9rem;
	border-radius: 8px;
	font-size: 0.92rem;
	color: #7d2412;
}

.rom-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	width: 100%;
	margin: 1.4rem 0 0.9rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	color: var(--rom-ink);
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(7, 31, 34, 0.08);
}

.rom-google-btn:hover { background: #fdfaf2; border-color: rgba(7, 31, 34, 0.28); color: var(--rom-ink); }
.rom-google-btn .rom-google-g { width: 20px; height: 20px; background: none; padding: 0; }

.rom-account-terms { margin: 1.2rem 0 0; font-size: 0.82rem; color: var(--rom-muted); }

.rom-account-note { background: var(--rom-ivory); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.9rem; }

.rom-account-setup {
	margin-top: 1.6rem;
	border-top: 1px solid var(--rom-line);
	padding-top: 1.1rem;
	font-size: 0.86rem;
	color: var(--rom-muted);
}

.rom-account-setup h2 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.rom-account-setup ol { margin: 0 0 0.6rem 1.1rem; padding: 0; }
.rom-account-setup code {
	display: block;
	margin: 0.35rem 0;
	padding: 0.4rem 0.5rem;
	background: var(--rom-ivory);
	border-radius: 6px;
	font-size: 0.78rem;
	word-break: break-all;
	color: var(--rom-petrol);
}

.rom-account-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.2rem; }

.rom-account-form { margin-top: 1.1rem; display: grid; gap: 0.75rem; }
.rom-account-field { margin: 0; }

.rom-account-field label {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rom-muted);
	margin-bottom: 0.3rem;
}

.rom-account-field label span { font-weight: 400; letter-spacing: 0; text-transform: none; }

.rom-account-field input {
	width: 100%;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	padding: 0.65rem 0.75rem;
	font: inherit;
	font-size: 0.95rem;
	background: #fff;
	color: var(--rom-ink);
}

.rom-account-field input:focus { outline: 3px solid rgba(255, 163, 19, 0.4); outline-offset: 1px; }

.rom-account-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }

.rom-account-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.35rem; }
.rom-account-buttons .rom-btn { cursor: pointer; }

.rom-account-or {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 1.1rem 0 0.1rem;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rom-muted);
}

.rom-account-or::before,
.rom-account-or::after { content: ""; height: 1px; background: var(--rom-line); flex: 1; }

@media (max-width: 760px) {
	.rom-account-label { display: none; }
	.rom-account-label--short { display: inline; }
	.rom-account-in { padding: 0.38rem 0.7rem; }
	.rom-account-name {
		max-width: 6.5rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.rom-main--account { padding: 1.2rem 0.8rem 2rem; }
	.rom-account-card { padding: 1.5rem 1.2rem 1.7rem; }
}

/* ---------------------------------------------------------------
   Comments
   --------------------------------------------------------------- */
.rom-comments {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: var(--rom-radius);
	box-shadow: var(--rom-shadow);
	padding: 1.4rem 1.5rem 1.6rem;
	margin-top: 1.2rem;
}

.rom-comments-title { font-size: 1.12rem; margin: 0 0 0.9rem; }

.rom-comment-list {
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

.rom-comment {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 0.8rem;
	align-items: start;
}

.rom-comment-avatar img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }

.rom-comment-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55rem;
	margin: 0 0 0.15rem;
}

.rom-comment-author { font-weight: 700; color: var(--rom-petrol); font-size: 0.95rem; }
.rom-comment-date { font-size: 0.76rem; color: var(--rom-muted); }
.rom-comment-text { font-size: 0.95rem; line-height: 1.55; }
.rom-comment-text p:last-child { margin-bottom: 0; }

.rom-comment-form { border-top: 1px solid var(--rom-line); padding-top: 1.1rem; }

.rom-comment-form .comment-reply-title {
	font-family: var(--rom-serif);
	font-size: 1.02rem;
	margin: 0 0 0.5rem;
}

.rom-comment-form .logged-in-as { font-size: 0.84rem; color: var(--rom-muted); margin-bottom: 0.7rem; }

.rom-comment-form textarea {
	width: 100%;
	border: 1px solid var(--rom-line);
	border-radius: 10px;
	padding: 0.7rem 0.8rem;
	font: inherit;
	font-size: 0.95rem;
	background: #fff;
	color: var(--rom-ink);
	resize: vertical;
}

.rom-comment-form textarea:focus { outline: 3px solid rgba(255, 163, 19, 0.4); outline-offset: 1px; }
.rom-comment-form .form-submit { margin: 0.8rem 0 0; }

.rom-comment-signin { border-top: 1px solid var(--rom-line); padding-top: 1rem; }
.rom-comment-signin p { font-size: 0.92rem; color: var(--rom-muted); }
.rom-comment-signin .rom-google-btn { max-width: 320px; margin: 0.8rem 0 0; }

@media (max-width: 760px) {
	.rom-comments { padding: 1.2rem 1rem 1.3rem; }
	.rom-comment-form textarea { font-size: 16px; }
}

@media print {
	.rom-account { display: none; }
	.rom-comments { display: none; }

	.rom-cover, .rom-tabbar, .rom-rail, .rom-footer, .rom-share, .rom-pager { display: none !important; }
	body { background: #fff; }
}

/* ---------------------------------------------------------------
   Facebook-style posts
   --------------------------------------------------------------- */
.rom-post {
	background: var(--rom-card);
	border: 1px solid var(--rom-line);
	border-radius: 12px;
	box-shadow: var(--rom-shadow);
	overflow: hidden;
}

.rom-post--pinned { border-left: 4px solid var(--rom-amber); }

.rom-post-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 1rem 1.15rem 0.35rem;
}

.rom-post-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--rom-ivory);
	object-fit: contain;
	padding: 8px;
	border: 2px solid var(--rom-ivory);
	flex: none;
}

.rom-post-who { min-width: 0; }

.rom-post-name {
	display: block;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.25;
	color: var(--rom-petrol);
	text-decoration: none;
}

.rom-post-name:hover { text-decoration: underline; text-decoration-color: var(--rom-amber); }

.rom-post-meta {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	color: var(--rom-muted);
}

.rom-post-globe { width: 12px; height: 12px; fill: currentColor; flex: none; }

.rom-post-chip {
	margin-left: 0.35rem;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--rom-ivory);
	border: 1px solid rgba(7, 31, 34, 0.18);
	font-size: 0.64rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rom-petrol);
}

.rom-post-body { padding: 0.55rem 1.15rem 1rem; }

.rom-post-title {
	margin: 0.35rem 1.15rem 0.6rem;
	font-family: var(--rom-serif, Georgia, serif);
	font-size: 1.32rem;
	line-height: 1.24;
	letter-spacing: -0.01em;
	color: var(--rom-petrol);
}

.rom-post-title a { color: inherit; text-decoration: none; }
.rom-post-title a:hover { text-decoration: underline; text-decoration-color: var(--rom-amber); }

.rom-post-title--single {
	font-size: clamp(1.6rem, 3.4vw, 2.1rem);
	margin-top: 0.7rem;
}

.rom-text-toggle {
	margin-top: 0.5rem;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--rom-petrol);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--rom-amber);
	text-underline-offset: 3px;
}

.rom-text-toggle:hover { text-decoration-color: var(--rom-petrol); }

.rom-post-text {
	font-size: 1.02rem;
	line-height: 1.62;
	color: #1d3335;
}

.rom-post-text p { margin: 0 0 0.85em; }
.rom-post-text p:last-child { margin-bottom: 0; }
.rom-post-text a { color: var(--rom-petrol); }

.rom-post-text.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 14;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rom-see-more {
	margin-top: 0.35rem;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 700;
	color: var(--rom-petrol);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--rom-amber);
	text-underline-offset: 3px;
}

.rom-post-photo {
	display: block;
	margin: 0;
	border-top: 1px solid var(--rom-line);
	background: var(--rom-ivory);
}

.rom-post-photo img { display: block; width: 100%; height: auto; }

.rom-post-files {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.3rem;
	margin: 0 1.15rem 0.9rem;
	font-size: 0.92rem;
	line-height: 1.45;
}

.rom-post-files-label {
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.66rem;
	color: var(--rom-muted);
}

.rom-post-files a {
	color: var(--rom-petrol);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--rom-amber);
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.rom-file-ext {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--rom-muted);
}

.rom-gallery {
	display: grid;
	gap: 3px;
	background: var(--rom-petrol);
	border-top: 1px solid var(--rom-line);
	overflow: hidden;
}

.rom-gallery.is-one { grid-template-columns: 1fr; }
.rom-gallery.is-two { grid-template-columns: 1fr 1fr; }
.rom-gallery.is-three,
.rom-gallery.is-grid { grid-template-columns: 1fr 1fr; }

.rom-gallery.is-three .rom-gallery-item:first-child { grid-row: span 2; }

.rom-gallery-item {
	position: relative;
	display: block;
	background: var(--rom-petrol);
	isolation: isolate;
}

.rom-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rom-gallery.is-one .rom-gallery-item img { max-height: 620px; height: auto; object-fit: contain; }
.rom-gallery.is-two .rom-gallery-item,
.rom-gallery.is-three .rom-gallery-item,
.rom-gallery.is-grid .rom-gallery-item { aspect-ratio: 1 / 1; background: #fffdf6; }

.rom-gallery.is-two .rom-gallery-item img,
.rom-gallery.is-three .rom-gallery-item img,
.rom-gallery.is-grid .rom-gallery-item img { object-fit: contain; }

.rom-gallery-more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(7, 31, 34, 0.62);
	color: #fff;
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Photo tiles under a video: four across, square, cropped to fill. */
.rom-gallery.is-tiles {
	grid-template-columns: repeat(4, 1fr);
	background: #fff;
	gap: 4px;
	padding-top: 4px;
}

.rom-gallery.is-tiles .rom-gallery-item {
	aspect-ratio: 1 / 1;
	background: var(--rom-ivory);
}

.rom-gallery.is-tiles .rom-gallery-item img { object-fit: cover; }

@media (max-width: 760px) {
	.rom-gallery.is-tiles { grid-template-columns: repeat(2, 1fr); }
	.rom-gallery.is-tiles .rom-gallery-more { font-size: 1.4rem; }
}

.rom-post-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--rom-petrol);
	border-top: 1px solid var(--rom-line);
}

.rom-post-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

/* Local files keep their own shape: reels are vertical, not 16:9. */
.rom-post-video video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 82vh;
	border: 0;
	background: #000;
}

.rom-post-video:has(video) { aspect-ratio: auto; }

.rom-post-actions {
	display: flex;
	gap: 0.25rem;
	padding: 0.45rem 0.6rem;
	border-top: 1px solid var(--rom-line);
	background: rgba(246, 231, 191, 0.28);
}

.rom-action {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.55rem 0.4rem;
	border: 0;
	border-radius: 8px;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--rom-petrol);
	cursor: pointer;
}

.rom-action:hover { background: rgba(7, 31, 34, 0.07); }

.rom-action svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linejoin: round;
}

.rom-like.is-on { color: #b5552f; }
.rom-like.is-on svg { fill: currentColor; stroke: currentColor; }

.rom-post--single .rom-post-text { font-size: 1.08rem; }
.rom-post--single .rom-post-head { padding-top: 1.3rem; }

.rom-backlink { margin: 1.2rem 0 0; font-size: 0.9rem; }

@media (max-width: 760px) {
	.rom-post-head { padding: 0.9rem 0.95rem 0.3rem; }
	.rom-post-body { padding: 0.5rem 0.95rem 0.9rem; }
	.rom-post-text { font-size: 1rem; }
	.rom-post-text.is-clamped { -webkit-line-clamp: 10; }
	.rom-post-avatar { width: 46px; height: 46px; padding: 7px; }
}

/* Lead media and secondary video attachments. */
.rom-post:has(.rom-title-card) .rom-post-files,
.rom-post:has(.rom-attachment-videos) .rom-post-files { flex-wrap: wrap; }
.rom-title-card { margin: 0 0 1rem; }
.rom-title-card-image { display: block; width: 100%; height: auto; }
.rom-post-video video { width: auto; max-width: 100%; max-height: 65vh; max-height: 65svh; margin-inline: auto; object-fit: contain; }
.rom-attachment-videos { display: grid; grid-template-columns: repeat(auto-fill,minmax(100px,1fr)); gap: .5rem; margin-block: .75rem; }
.rom-video-thumb { display: grid; gap: .25rem; overflow-wrap: anywhere; }
.rom-video-thumb video { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #071f22; pointer-events: none; }

/* Keep the native file input over each compact attachment control. */
.rom-composer .rom-attach { position: relative; }
.rom-composer .rom-attach input[type="file"] {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.rom-composer .rom-attach:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.rom-composer .rom-attach.is-dragover { outline: 2px dashed currentColor; outline-offset: 2px; }

/* Compact composer media rows. */
.rom-composer .rom-composer-card-row,
.rom-composer .rom-composer-attachment-row {
	display: grid;
	gap: .35rem;
	padding-block: .25rem;
}
.rom-composer .rom-composer-card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rom-composer .rom-composer-attachment-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rom-composer .rom-composer-actions .rom-attach {
	box-sizing: border-box;
	justify-content: center;
	min-width: 0;
	min-height: 36px;
	padding: .25rem .2rem;
	margin: 0;
	gap: .25rem;
	font-size: .84rem;
	line-height: 1.15;
	text-align: center;
}
.rom-composer .rom-composer-actions .rom-attach svg { width: 1rem; height: 1rem; flex: none; }

.rom-composer .rom-attach input[hidden] { display: none; }
.rom-composer .rom-composer-actions .rom-attach { padding: 0; }
.rom-composer .rom-picker-button {
	display: flex; align-items: center; justify-content: center; gap: .25rem;
	width: 100%; min-height: 36px; padding: .25rem .2rem;
	border: 0; border-radius: inherit; background: transparent;
	color: inherit; font: inherit; cursor: pointer;
}

/* Fill the composer avatar circle with the profile image. */
.rom-composer-head .rom-post-avatar {
	padding: 0;
	border: 0;
	background: transparent;
	object-fit: cover;
}

/* Keep Rudy's portrait readable at small avatar sizes. */
.rom-post-avatar[src*="rudy-truth-avatar.jpg"] {
	padding: 0;
	border: 0;
	object-fit: cover;
	filter: brightness(1.42) contrast(.92);
}

/* Keep public navigation independent from member controls. */
.rom-tabbar .rom-tabbar-inner { justify-content: center; }

.rom-member-bar {
	box-sizing: border-box;
	width: min(100% - 2rem, var(--rom-max));
	margin-inline: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	min-height: 3rem;
	padding: .4rem clamp(.75rem, 4vw, 2rem);
	background: transparent;
	color: var(--rom-petrol);
	border-bottom: 1px solid var(--rom-petrol);
}
.rom-member-bar-title { font-weight: 700; }
.rom-member-bar .rom-account { display: flex; align-items: center; margin: 0; }
.rom-member-bar .rom-account--in { position: relative; }
.rom-member-bar .rom-account-who { cursor: pointer; list-style: none; color: var(--rom-petrol); }
.rom-member-bar .rom-account-name { display: inline; }
.rom-member-bar .rom-account-who::-webkit-details-marker { display: none; }
.rom-member-bar .rom-account-who::after { content: '\25be'; margin-inline-start: .35rem; }
.rom-member-bar .rom-account-out {
	position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + .35rem);
	padding: .55rem .8rem; background: var(--rom-card); color: var(--rom-petrol);
	border: 1px solid var(--rom-line); border-radius: .35rem; white-space: nowrap;
}

.rom-profile-utilities { display: grid; gap: .65rem; }
.rom-profile-utilities .rom-stats { margin-block-end: 0; }
.rom-profile-search { display: flex; align-items: stretch; gap: .3rem; min-width: 0; }
.rom-profile-search input { flex: 1; min-width: 0; padding: .4rem .55rem; border: 1px solid var(--rom-line); border-radius: .35rem; background: var(--rom-card); color: var(--rom-petrol); font: inherit; }
.rom-profile-search button { padding: .4rem .65rem; border: 0; border-radius: .35rem; background: var(--rom-petrol); color: var(--rom-card); font: inherit; cursor: pointer; }

.rom-member-bar--guest { justify-content: flex-end; }

.rom-member-bar--guest .rom-account-in:hover { text-decoration: underline; }

.rom-main--profile .rom-feed { grid-column: 1; }

.rom-member-links { display: flex; flex-wrap: wrap; gap: .35rem clamp(.55rem, 2vw, 1.15rem); }
.rom-member-links a { color: var(--rom-petrol); font-weight: 700; }
.rom-member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rom-member-list li { display: flex; align-items: center; gap: .6rem; }
.rom-member-list img { border-radius: 50%; }

.rom-member-profile { width: min(100% - 2rem, var(--rom-max)); margin: 0 auto; }
.rom-member-cover { aspect-ratio: 960 / 246; background: var(--rom-petrol); position: relative; }
.rom-member-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rom-member-identity { display: flex; gap: 1rem; align-items: center; padding: .8rem 0; }
.rom-member-identity img { flex: none; border-radius: 50%; object-fit: cover; }
.rom-member-identity h1 { margin: 0; }
.rom-member-image-settings { margin-block-end: .75rem; }
.rom-member-image-settings summary { cursor: pointer; }
.rom-member-image-settings form { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; padding-top: .6rem; }
.rom-member-image-settings label { display: grid; gap: .25rem; }

.rom-member-avatar-frame { position: relative; width: 80px; height: 80px; flex: none; }
.rom-profile-image-frame { width: 100%; height: 100%; overflow: hidden; }
.rom-profile-image-frame img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	object-position: var(--crop-x, 50%) var(--crop-y, 50%);
	transform: scale(var(--crop-z, 1));
	transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
}
.rom-member-avatar-frame .rom-profile-image-frame { border-radius: 50%; }
.rom-profile-camera {
	position: absolute; right: .5rem; bottom: .5rem; display: grid; place-items: center;
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rom-line);
	background: var(--rom-card); color: var(--rom-petrol); cursor: pointer;
}
.rom-member-avatar-frame .rom-profile-camera { right: -3px; bottom: -3px; }
.rom-profile-crop { width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 1px solid var(--rom-line); border-radius: .65rem; padding: 1rem; background: var(--rom-card); color: var(--rom-petrol); }
.rom-profile-crop::backdrop { background: rgb(0 0 0 / .55); }
.rom-profile-crop form, .rom-profile-crop label { display: grid; gap: .45rem; }
.rom-profile-crop-preview { height: auto; aspect-ratio: 960 / 246; background: var(--rom-petrol); touch-action: none; cursor: grab; }
.rom-profile-crop-preview img { user-select: none; pointer-events: none; }
.rom-profile-crop-preview[data-kind="avatar"] { width: min(14rem, 100%); aspect-ratio: 1; border-radius: 50%; justify-self: center; }

.rom-account-avatar { width: 26px; height: 26px; flex: none; overflow: hidden; border-radius: 50%; }
.rom-account-who .rom-account-avatar img { display: block; border-radius: 0; object-position: var(--crop-x, 50%) var(--crop-y, 50%); transform: scale(var(--crop-z, 1)); transform-origin: var(--crop-x, 50%) var(--crop-y, 50%); }

/* Short previews on member walls. */
.rom-main--profile .rom-post-text.is-clamped { -webkit-line-clamp: 6; }

.rom-member-post-avatar { display: block; width: 52px; height: 52px; flex: none; overflow: hidden; border-radius: 50%; }
.rom-member-post-avatar img, .rom-rail-list .rom-member-post-avatar img {
	display: block; width: 100%; height: 100%; border: 0; border-radius: 0; padding: 0; object-fit: cover;
	object-position: var(--crop-x, 50%) var(--crop-y, 50%);
	transform: scale(var(--crop-z, 1)); transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
}
.rom-rail-list .rom-member-post-avatar { width: 38px; height: 38px; }
@media (max-width: 760px) {
	.rom-post-head .rom-member-post-avatar { width: 46px; height: 46px; }
}

.rom-member-bar .rom-account-dropdown {
	position: absolute; inset-inline-end: 0; top: calc(100% + .4rem); z-index: 10;
	min-width: 10rem; padding: .35rem; border: 1px solid var(--rom-line); border-radius: .45rem;
	background: var(--rom-card); box-shadow: var(--rom-shadow);
}
.rom-member-bar .rom-account-dropdown a {
	position: static; display: block; padding: .55rem .7rem; border: 0; border-radius: .25rem;
	color: var(--rom-petrol); font-size: .95rem; font-weight: 650; white-space: nowrap;
}
.rom-member-bar .rom-account-dropdown a:hover { background: var(--rom-ivory); }
.rom-member-identity-text { min-width: 0; overflow-wrap: anywhere; }
.rom-member-identity-text p { margin: .25rem 0 0; color: var(--rom-muted); }
.rom-profile-edit-panel form { display: grid; gap: .55rem; margin-block: .85rem; }
.rom-profile-edit-panel input[type="text"] { max-width: 100%; padding: .55rem; border: 1px solid var(--rom-line); border-radius: .35rem; font: inherit; }
.rom-profile-edit-panel button { justify-self: start; }
.rom-member-list .rom-member-post-avatar { width: 32px; height: 32px; }

.rom-member-about dl { margin: 0; }
.rom-member-about dt { font-weight: 650; }
.rom-member-about dd { margin: 0 0 .55rem; overflow-wrap: anywhere; }

.rom-member-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.rom-member-gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: .25rem; }
.rom-member-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rom-main.rom-main--full-page { grid-template-columns: minmax(0, 1fr); }
