
/* REVELARTEURS editorial single entry
   v0.1.16 — clean media/alignment baseline ------------------------------ */

#top.rv-site .rv-entry-shell {
	border-top: 0;
	background: var(--rv-paper);
}

#top.rv-site .rv-entry-container {
	padding-top: clamp(48px, 5.2vw, 76px);
	padding-bottom: clamp(64px, 6.6vw, 104px);
}

#top.rv-site .rv-entry-content {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
}

#top.rv-site .rv-entry {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--rv-ink);
}

/* Header ---------------------------------------------------------------- */

#top.rv-site .rv-entry-header {
	width: min(100%, 860px);
	margin: 0 auto;
	text-align: center;
}

#top.rv-site .rv-entry-meta {
	display: grid;
	justify-items: center;
	gap: .42rem;
	margin: 0 0 .92rem;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .68rem;
	line-height: 1.3;
	letter-spacing: .11em;
	text-transform: uppercase;
	text-align: center;
	color: var(--rv-ink-soft);
}

#top.rv-site .rv-entry-meta-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .42rem;
}

#top.rv-site .rv-entry-type {
	color: var(--rv-blue-gray);
}

#top.rv-site .rv-entry-more {
	color: var(--rv-blue-gray);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
	transition: color .18s ease, text-decoration-color .18s ease;
}

#top.rv-site .rv-entry-more:hover,
#top.rv-site .rv-entry-more:focus-visible {
	color: var(--rv-rust);
	text-decoration-color: currentColor;
}

#top.rv-site .rv-entry-title {
	max-width: 15ch;
	margin: 0 auto;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 5.25vw, 5.25rem);
	font-weight: 400;
	line-height: .96;
	letter-spacing: -.022em;
	text-transform: none;
	text-wrap: balance;
	color: var(--rv-ink);
}

#top.rv-site .rv-entry-standfirst {
	width: min(100%, 800px);
	max-width: 800px;
	margin: 1.35rem auto 36px;
	text-align: left;
	font-size: clamp(1.05rem, 1.28vw, 1.22rem);
	line-height: 1.58;
	color: var(--rv-ink-soft);
}

/* Featured image -------------------------------------------------------- */

#top.rv-site .rv-entry-hero {
	width: min(100%, 980px);
	margin: clamp(34px, 4.4vw, 58px) auto clamp(42px, 5vw, 68px);
	padding: 0;
}

#top.rv-site .rv-entry-hero img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: min(74vh, 920px);
	height: auto;
	margin: 0 auto;
	object-fit: contain;
}

/* Reading column -------------------------------------------------------- */

#top.rv-site .rv-entry-body {
	width: min(100%, 720px);
	margin: 0 auto;
	font-size: 1.06rem;
	line-height: 1.72;
	color: var(--rv-ink);
	display: flow-root;
}

#top.rv-site .rv-entry-body > *:first-child {
	margin-top: 0;
}

#top.rv-site .rv-entry-body p,
#top.rv-site .rv-entry-body ul,
#top.rv-site .rv-entry-body ol,
#top.rv-site .rv-entry-body blockquote {
	margin-top: 0;
	margin-bottom: 1.35em;
}

#top.rv-site .rv-entry-body h2,
#top.rv-site .rv-entry-body h3,
#top.rv-site .rv-entry-body h4 {
	clear: both;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	color: var(--rv-ink);
}

#top.rv-site .rv-entry-body h2 {
	margin: 2.15em 0 .62em;
	font-size: clamp(2rem, 2.8vw, 2.7rem);
	line-height: 1.04;
}

#top.rv-site .rv-entry-body h3 {
	margin: 1.8em 0 .58em;
	font-size: 1.5rem;
	line-height: 1.1;
}

#top.rv-site .rv-entry-body blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: .15rem 0 .15rem 1.15rem;
	border-left: 1px solid var(--rv-blue-gray);
	color: var(--rv-ink-soft);
	font-style: italic;
}

#top.rv-site .rv-entry-body a {
	color: var(--rv-blue-gray);
	text-underline-offset: .16em;
}

#top.rv-site .rv-entry-body a:hover,
#top.rv-site .rv-entry-body a:focus-visible {
	color: var(--rv-rust);
}

/* Media -----------------------------------------------------------------
   No inferred breakout logic. WordPress/TinyMCE alignment is authoritative.
   ----------------------------------------------------------------------- */

#top.rv-site .rv-entry-body figure,
#top.rv-site .rv-entry-body .wp-caption {
	display: block;
	float: none;
	width: auto;
	max-width: 100%;
	margin: 1.5rem 0;
	padding: 0;
	transform: none;
}

#top.rv-site .rv-entry-body img {
	height: auto;
	max-width: 100%;
}

/* Alignment on image itself. */
#top.rv-site .rv-entry-body img.alignleft {
	display: block;
	float: left;
	width: auto;
	max-width: 46%;
	margin: .3em 1.4em .9em 0;
}

#top.rv-site .rv-entry-body img.alignright {
	display: block;
	float: right;
	width: auto;
	max-width: 46%;
	margin: .3em 0 .9em 1.4em;
}

#top.rv-site .rv-entry-body img.aligncenter {
	display: block;
	float: none;
	width: auto;
	max-width: 100%;
	margin: 1.4rem auto;
}

#top.rv-site .rv-entry-body img.alignnone {
	display: block;
	float: none;
	width: auto;
	max-width: 100%;
	margin: 1.4rem 0;
}

/* Alignment on figure/caption wrapper. */
#top.rv-site .rv-entry-body figure.alignleft,
#top.rv-site .rv-entry-body .wp-caption.alignleft {
	display: block;
	float: left;
	width: auto;
	max-width: 46%;
	margin: .3em 1.4em .9em 0;
}

#top.rv-site .rv-entry-body figure.alignright,
#top.rv-site .rv-entry-body .wp-caption.alignright {
	display: block;
	float: right;
	width: auto;
	max-width: 46%;
	margin: .3em 0 .9em 1.4em;
}

#top.rv-site .rv-entry-body figure.aligncenter,
#top.rv-site .rv-entry-body .wp-caption.aligncenter {
	display: block;
	float: none;
	width: auto;
	max-width: 100%;
	margin: 1.5rem auto;
}

/* If wrapper owns the alignment, child image must stay ordinary. */
#top.rv-site .rv-entry-body figure.alignleft img,
#top.rv-site .rv-entry-body figure.alignright img,
#top.rv-site .rv-entry-body .wp-caption.alignleft img,
#top.rv-site .rv-entry-body .wp-caption.alignright img {
	display: block;
	float: none;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
}

/* Explicitly neutralize legacy Enfold/WordPress auto widths on captions. */
#top.rv-site .rv-entry-body .wp-caption {
	border: 0;
	background: transparent;
}

#top.rv-site .rv-entry-body figcaption,
#top.rv-site .rv-entry-body .wp-caption-text {
	margin: .62rem 0 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: .7rem;
	line-height: 1.45;
	color: var(--rv-ink-soft);
	text-align: left;
}

/* Footer/navigation -----------------------------------------------------
   v0.1.18 — restrained Previous / Next polish.
   Keep this as quiet continuation navigation, not a competing content block. */

#top.rv-site .rv-entry-footer {
	width: min(100%, 980px);
	margin: clamp(58px, 6.4vw, 88px) auto 0;
	padding-top: clamp(1.15rem, 1.6vw, 1.45rem);
	border-top: 1px solid var(--rv-rule);
}

#top.rv-site .rv-entry-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

#top.rv-site .rv-entry-nav-item {
	display: grid;
	gap: .44rem;
	min-width: 0;
}

#top.rv-site .rv-entry-nav-item:empty {
	display: none;
}

#top.rv-site .rv-entry-nav-item.is-prev {
	grid-column: 1;
}

#top.rv-site .rv-entry-nav-item.is-next {
	grid-column: 2;
	justify-items: end;
	text-align: right;
}

#top.rv-site .rv-entry-nav-label {
	font-family: Arial, Helvetica, sans-serif;
	font-size: .61rem;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rv-blue-gray);
}

#top.rv-site .rv-entry-nav a {
	display: inline;
	max-width: 30ch;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.04rem;
	line-height: 1.28;
	color: var(--rv-ink);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	text-wrap: balance;
	transition: color .18s ease, text-decoration-color .18s ease;
}

#top.rv-site .rv-entry-nav a:hover,
#top.rv-site .rv-entry-nav a:focus-visible {
	color: var(--rv-rust);
	text-decoration-color: currentColor;
}

/* Responsive ------------------------------------------------------------ */

@media only screen and (max-width: 989px) {
	#top.rv-site .rv-entry-container {
		padding-top: 44px;
	}
}

@media only screen and (max-width: 767px) {
	#top.rv-site .rv-entry-container {
		padding-top: 36px;
		padding-bottom: 60px;
	}

	#top.rv-site .rv-entry-header {
		text-align: left;
	}

	#top.rv-site .rv-entry-meta {
		justify-items: center;
		margin-bottom: .9rem;
	}

	#top.rv-site .rv-entry-title,
	#top.rv-site .rv-entry-standfirst {
		margin-left: 0;
	}

	#top.rv-site .rv-entry-title {
		font-size: clamp(2.7rem, 13vw, 4.4rem);
	}

	#top.rv-site .rv-entry-hero {
		margin-top: 28px;
		margin-bottom: 34px;
	}

	#top.rv-site .rv-entry-body {
		font-size: 1rem;
		line-height: 1.68;
	}

	#top.rv-site .rv-entry-body img.alignleft,
	#top.rv-site .rv-entry-body img.alignright,
	#top.rv-site .rv-entry-body figure.alignleft,
	#top.rv-site .rv-entry-body figure.alignright,
	#top.rv-site .rv-entry-body .wp-caption.alignleft,
	#top.rv-site .rv-entry-body .wp-caption.alignright {
		float: none;
		width: auto;
		max-width: 100%;
		margin: 1.35rem auto;
	}

	#top.rv-site .rv-entry-footer {
		margin-top: 52px;
	}

	#top.rv-site .rv-entry-nav {
		grid-template-columns: 1fr;
		gap: 1.3rem;
	}

	#top.rv-site .rv-entry-nav-item.is-prev,
	#top.rv-site .rv-entry-nav-item.is-next {
		grid-column: 1;
	}

	#top.rv-site .rv-entry-nav-item.is-next {
		justify-items: start;
		padding-top: 1.15rem;
		border-top: 1px solid var(--rv-rule-soft);
		text-align: left;
	}

	#top.rv-site .rv-entry-nav-item.is-prev:empty + .rv-entry-nav-item.is-next {
		padding-top: 0;
		border-top: 0;
	}

	#top.rv-site .rv-entry-nav a {
		max-width: 32ch;
	}
}


/* v0.1.17 — Studio entry footer cleanup ---------------------------------
   Enfold's widget footer is unnecessary on editorial entries.
   Keep the socket/copyright untouched. */

body.rv-studio-entry #footer {
	display: none !important;
}
