/*
Theme Name: JC Owen
Theme URI: https://jeffreycowen.me
Author: Jeffrey C Owen
Description: Lightweight block theme for jeffreycowen.me: portfolio pages and technical journal. Warm editorial palette, purple accents, system fonts, no external requests.
Version: 0.5.1
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: jcowen
*/

/* Site chrome. Backgrounds and spacing live here, not in block attributes,
   so template markup stays attribute-free and never fails block validation. */
.site-header {
	background: var(--wp--preset--color--surface);
	padding-block: var(--wp--preset--spacing--30);
	border-bottom: 2px solid transparent;
	border-image: var(--wp--preset--gradient--brand) 1; /* the one gradient on the site */
}
.site-main {
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
}
.site-footer {
	background: var(--wp--preset--color--surface);
	padding-block: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}
.site-header .wp-block-site-title a,
.site-footer .wp-block-site-title a {
	color: var(--wp--preset--color--heading);
	text-decoration: none;
}

/* Journal index: entries separated by a quiet rule, no cards. */
.wp-block-post-template {
	list-style: none;
	padding: 0;
}
.wp-block-post-template > li + li {
	border-top: 1px solid var(--wp--preset--color--surface-raised);
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--40);
}

/* Mobile navigation overlay defaults to white; keep it on-palette. */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--text);
}

/* Code: horizontal scroll inside the block, never the page. */
.wp-block-code,
.wp-block-preformatted {
	overflow-x: auto;
	tab-size: 4;
}

:focus-visible {
	outline: 2px solid var(--wp--preset--color--cyan);
	outline-offset: 2px;
}
::selection {
	background: var(--wp--preset--color--cyan);
	color: var(--wp--preset--color--base);
}

/* Name and tagline stack tightly; tagline is secondary. */
.site-brand {
	gap: 0.125rem;
}

/* ---------- Portfolio home (template: portfolio-home) ---------- */
.site-main-home {
	padding-bottom: var(--wp--preset--spacing--60);
}
/* Hero: dark-to-navy gradient with the Blue Ridge ridgeline drawn as an
   inline SVG background (~1.3 KB, no extra request). The cyan crest line is
   the circuit trace; the front ridge matches the page base so it blends in. */
.hero {
	background:
		url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 240' preserveAspectRatio='none'><path d='M0 108 C16 99 60 52 96 53 C133 54 176 116 219 113 C262 110 308 37 354 33 C401 30 460 90 498 92 C536 95 549 45 583 48 C618 51 668 108 707 110 C745 112 770 63 816 60 C863 57 939 94 986 90 C1033 87 1066 35 1098 38 C1131 40 1143 105 1182 106 C1220 106 1285 43 1328 40 C1371 38 1421 81 1440 90 L1440 240 L0 240 Z' fill='%230A2A4A' fill-opacity='.45'/><path d='M0 154 C25 148 92 120 150 122 C208 124 294 169 349 165 C404 161 437 100 480 98 C523 96 552 147 606 151 C661 156 752 126 809 125 C867 125 899 151 950 148 C1001 144 1066 102 1116 104 C1167 106 1199 156 1253 159 C1307 162 1409 129 1440 123 L1440 240 L0 240 Z' fill='%230A2A4A'/><path d='M0 154 C25 148 92 120 150 122 C208 124 294 169 349 165 C404 161 437 100 480 98 C523 96 552 147 606 151 C661 156 752 126 809 125 C867 125 899 151 950 148 C1001 144 1066 102 1116 104 C1167 106 1199 156 1253 159 C1307 162 1409 129 1440 123' fill='none' stroke='%2300D0F0' stroke-width='1.5' stroke-opacity='.85' vector-effect='non-scaling-stroke'/><path d='M0 204 C42 203 190 196 252 197 C313 197 304 207 369 206 C434 204 569 187 641 188 C714 188 737 208 803 208 C869 208 974 189 1040 189 C1106 189 1132 210 1199 210 C1266 211 1400 195 1440 192 L1440 240 L0 240 Z' fill='%2300071A'/></svg>") center bottom / 100% clamp(6rem, 16vw, 15rem) no-repeat,
		linear-gradient(180deg, var(--wp--preset--color--base) 0%, var(--wp--preset--color--surface) 100%);
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: clamp(8rem, 20vw, 17rem);
	margin-block-start: 0 !important;
}
.hero h1 {
	font-size: var(--wp--preset--font-size--xx-large);
	max-width: 20ch;
}
.hero p {
	font-size: var(--wp--preset--font-size--large);
	max-width: 44ch;
}
/* Alternating band for section rhythm without cards. */
.band {
	background: var(--wp--preset--color--surface);
	padding-block: var(--wp--preset--spacing--60);
}
.section {
	padding-block: var(--wp--preset--spacing--60);
}
.focus-areas h3 {
	font-size: var(--wp--preset--font-size--large);
	border-top: 2px solid var(--wp--preset--color--cyan);
	padding-top: var(--wp--preset--spacing--20);
}
.wp-block-image img {
	border-radius: 4px;
}
.home-latest {
	padding-top: var(--wp--preset--spacing--60);
}
/* Secondary (outline) button style. */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--heading);
	border: 1px solid var(--wp--preset--color--heading);
}

/* Private journal: a muted banner so it is never mistaken for the public page. */
.private-banner {
	border: 1px dashed var(--wp--preset--color--muted);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	border-radius: 4px;
}

/* Purple journal design — approved October 25, 2026. */

#jo-purple-journal{--jo-paper:#faf7f1;--jo-ink:#302b36;--jo-soft:#665f6e;--jo-purple:#7041a0;--jo-lavender:#eee5f5;--jo-line:#ded6e2;color-scheme:light;background:var(--jo-paper);color:var(--jo-ink);font:16px/1.7 Arial,sans-serif;padding:34px 54px 25px;border-top:5px solid var(--jo-purple)}
#jo-purple-journal *{box-sizing:border-box}#jo-purple-journal h1,#jo-purple-journal h2,#jo-purple-journal h3,#jo-purple-journal p{margin:0}#jo-purple-journal a{color:inherit;text-decoration:none}#jo-purple-journal a:hover{text-decoration:underline;text-underline-offset:5px}#jo-purple-journal button{font:inherit}#jo-purple-journal header{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--jo-line);padding-bottom:23px}#jo-purple-journal .jo-name{font:25px/1.2 Georgia,serif;letter-spacing:-.8px}#jo-purple-journal .jo-name span{color:var(--jo-purple)}#jo-purple-journal nav{display:flex;flex-wrap:wrap;gap:23px;font-size:13px}#jo-purple-journal .jo-kicker{font:11px/1.6 monospace;letter-spacing:1.7px;text-transform:uppercase;color:var(--jo-purple)}#jo-purple-journal .jo-hero{padding:56px 0 43px;position:relative}#jo-purple-journal h1{font:normal clamp(42px,6.2vw,67px)/1.07 Georgia,serif;letter-spacing:-2.2px;margin:17px 0 23px;max-width:720px}#jo-purple-journal h1 em{color:var(--jo-purple);font-weight:normal}#jo-purple-journal .jo-intro{max-width:590px;color:var(--jo-soft);font-size:17px;line-height:1.8}#jo-purple-journal .jo-links{display:flex;gap:25px;flex-wrap:wrap;align-items:center;margin-top:25px;font-size:13px;color:var(--jo-purple)}#jo-purple-journal .jo-button{display:inline-block;padding:9px 17px;border:1px solid var(--jo-purple);border-radius:3px}#jo-purple-journal .jo-interests-line{display:flex;gap:10px 20px;flex-wrap:wrap;margin-top:35px;font:11px/1.6 monospace;color:var(--jo-soft)}#jo-purple-journal .jo-interests-line span:before{content:'+';color:var(--jo-purple);margin-right:8px}#jo-purple-journal .jo-main-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;border-top:1px solid var(--jo-line);padding:31px 0 35px}#jo-purple-journal h2{font:normal 32px/1.2 Georgia,serif;letter-spacing:-.7px;margin:12px 0 16px}#jo-purple-journal .jo-work p{color:var(--jo-soft);font-size:14px;max-width:390px}#jo-purple-journal .jo-topics{margin-top:22px;font-size:13px}#jo-purple-journal .jo-topic{padding:10px 0;border-bottom:1px solid var(--jo-line);display:flex;justify-content:space-between;gap:16px}#jo-purple-journal .jo-topic span:last-child{color:var(--jo-purple)}#jo-purple-journal .jo-personal-item{padding:14px 0;border-bottom:1px solid var(--jo-line)}#jo-purple-journal .jo-personal-item:first-of-type{padding-top:0}#jo-purple-journal h3{font:normal 21px/1.3 Georgia,serif;margin-bottom:5px}#jo-purple-journal .jo-personal-item p{color:var(--jo-soft);font-size:12px;line-height:1.7}#jo-purple-journal .jo-note-row{display:grid;grid-template-columns:1fr 1.1fr;gap:44px;padding:27px 0;border-top:1px solid var(--jo-line)}#jo-purple-journal .jo-note-row h2{font-size:26px;margin-bottom:12px}#jo-purple-journal .jo-note-row p{font-size:13px;color:var(--jo-soft)}#jo-purple-journal .jo-now{padding:23px 25px;background:var(--jo-lavender);border-radius:3px}#jo-purple-journal .jo-now .jo-now-list{font-size:12px;line-height:1.8;margin-top:13px;color:var(--jo-soft)}#jo-purple-journal .jo-now-list div{display:grid;grid-template-columns:66px 1fr;gap:12px;padding:5px 0}#jo-purple-journal .jo-now-list b{font-weight:400;color:var(--jo-purple)}#jo-purple-journal footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:22px;margin-top:9px;border-top:1px solid var(--jo-line);font-size:11px;color:var(--jo-soft)}#jo-purple-journal .jo-footer-title{font:19px/1.3 Georgia,serif;color:var(--jo-ink);margin-bottom:5px}#jo-purple-journal .jo-footer-links{display:flex;gap:19px;align-items:center}#jo-purple-journal .jo-social-label{color:var(--jo-purple)}
@media(max-width:640px){#jo-purple-journal{padding:25px 24px}#jo-purple-journal header{align-items:flex-start;flex-direction:column;gap:16px}#jo-purple-journal nav{gap:21px}#jo-purple-journal .jo-hero{padding-top:37px}#jo-purple-journal h1{letter-spacing:-1.5px}#jo-purple-journal .jo-intro{font-size:16px}#jo-purple-journal .jo-main-grid,#jo-purple-journal .jo-note-row{grid-template-columns:1fr;gap:30px}#jo-purple-journal .jo-main-grid{padding-bottom:30px}#jo-purple-journal .jo-links{gap:20px}#jo-purple-journal .jo-interests-line{gap:10px 16px}#jo-purple-journal .jo-footer-links{flex-wrap:wrap}}
#jo-purple-journal h2,#jo-purple-journal h3{font-weight:700;color:#302438}#jo-purple-journal .jo-kicker{font-weight:700;color:#63318f}#jo-purple-journal .jo-footer-title{font-weight:700}
#jo-purple-journal h1{font-weight:700;color:#302438}#jo-purple-journal h1 em{font-weight:700;color:#63318f}
#jo-purple-journal .jo-hero{display:grid;grid-template-columns:1fr 1.14fr;gap:30px;align-items:center;padding:44px 0 36px}#jo-purple-journal .jo-hero h1{font-size:49px;letter-spacing:-1.8px}#jo-purple-journal .jo-hero .jo-intro{font-size:15px;line-height:1.8}#jo-purple-journal .jo-hero-art{margin:0;min-width:0}#jo-purple-journal .jo-hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:4px}#jo-purple-journal .jo-art-rule{height:3px;background:var(--jo-purple);width:48px;margin-top:15px}#jo-purple-journal .jo-interests-line{grid-column:1/-1;margin-top:0}#jo-purple-journal .jo-fraternity{margin-top:16px;font-size:12px;color:var(--jo-soft)}
@media(max-width:700px){#jo-purple-journal .jo-hero{grid-template-columns:1fr;gap:25px}#jo-purple-journal .jo-hero h1{font-size:44px}#jo-purple-journal .jo-interests-line{margin-top:0}}

body.home{padding:0}.home .wp-site-blocks{padding:0}.home .wp-site-blocks > *{margin-block-start:0}#jo-purple-journal{max-width:1200px;margin:0 auto}#jo-purple-journal .jo-skip-link{position:absolute;left:-10000px}#jo-purple-journal .jo-skip-link:focus{left:20px;top:20px;background:#faf7f1;padding:12px;z-index:100}#jo-purple-journal .jo-links a{min-height:44px;display:inline-flex;align-items:center}#jo-purple-journal .jo-footer-links a{min-height:44px;display:inline-flex;align-items:center}#jo-purple-journal nav a{min-height:44px;display:inline-flex;align-items:center}#jo-purple-journal nav{row-gap:0}#jo-purple-journal a:focus-visible{outline:3px solid #7041a0;outline-offset:4px}

.journal-site-header,.journal-site-footer{max-width:1092px;margin:0 auto;padding:28px 0;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-bottom:1px solid #ded6e2}.journal-site-footer{border-bottom:0;border-top:1px solid #ded6e2;font-size:14px}.journal-name{font:bold 26px/1.2 Georgia,serif;text-decoration:none;color:#302438}.journal-name span{color:#7041a0}.journal-site-header nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}.journal-site-header nav a,.journal-site-footer a{min-height:44px;display:inline-flex;align-items:center}


/* Interior rooms — progressive enhancement of the existing light editorial theme.
   A shared study image is used until the approved room-specific artwork is added.
   No page builder and no remote assets are required. */
.jc-interior-main {
	padding-top: 0;
}
.jc-room {
	--jc-room-ink: #f9f4fb;
	--jc-room-violet: #c8a0ec;
	background: #181225;
	background-image:
		linear-gradient(90deg, rgba(15, 12, 27, .97) 0%, rgba(20, 14, 36, .90) 39%, rgba(22, 15, 39, .44) 72%, rgba(22, 15, 39, .22) 100%),
		var(--jc-room-image);
	background-position: center, center 44%;
	background-size: cover;
	color: var(--jc-room-ink);
	min-height: clamp(19rem, 34vw, 28rem);
	display: flex;
	align-items: center;
	padding: clamp(2.5rem, 6vw, 5rem) max(1.5rem, calc((100vw - 72rem) / 2));
	isolation: isolate;
}
.jc-room__copy {
	max-width: 41rem;
}
.jc-room__eyebrow {
	color: var(--jc-room-violet);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .17em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
.jc-room h1 {
	color: var(--jc-room-ink);
	font: 700 clamp(2.5rem, 5.2vw, 4.4rem)/1.07 Georgia, serif;
	letter-spacing: -.035em;
	margin: 0 0 1.3rem;
	text-wrap: balance;
}
.jc-room__intro {
	color: #f1e9fa;
	font-size: clamp(1rem, 1.3vw, 1.125rem);
	line-height: 1.7;
	max-width: 43ch;
	margin: 0;
}
.jc-room-content {
	padding-block: clamp(2rem, 5vw, 4rem);
}
.jc-room-content > .wp-block-post-content > :first-child {
	margin-block-start: 0;
}
.jc-standard-page-heading {
	max-width: 72rem;
	padding: 2rem 1.5rem 0;
	margin-inline: auto;
}
.jc-standard-page-heading h1 {
	margin: 0;
}
.jc-room-content .wp-block-image,
.jc-room-content .wp-block-cover,
.jc-room-content .wp-block-media-text {
	margin-block: clamp(1.5rem, 4vw, 3rem);
}
.jc-room-content .wp-block-image img,
.jc-room-content .wp-block-post-featured-image img,
.wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: .4rem;
}
.jc-room-content .wp-block-media-text {
	gap: clamp(1rem, 3vw, 2rem);
}
.jc-room-content .wp-block-quote {
	border-left: 3px solid #7041a0;
}
.jc-article-index .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1.5rem;
}
.jc-article-index .wp-block-post-template > li {
	border: 1px solid #ded6e2;
	padding: 1rem;
	margin: 0;
	border-radius: .5rem;
	background: #fffdfb;
}
.jc-article-index .wp-block-post-featured-image {
	margin: 0 0 1rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.jc-article-index .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
}
.jc-article-index .wp-block-post-title {
	margin-top: .35rem;
}
@media (max-width: 680px) {
	.jc-room {
		min-height: 18rem;
		background-image:
			linear-gradient(90deg, rgba(15,12,27,.96), rgba(20,14,36,.73)),
			var(--jc-room-image);
		background-position: center, 60% center;
		padding: 2.5rem 1.5rem;
	}
	.jc-room h1 {
		font-size: clamp(2.15rem, 10vw, 3rem);
	}
	.jc-room-content .wp-block-media-text {
		display: block;
	}
}
@media (prefers-reduced-motion: reduce) {
	.jc-room, .jc-room * { scroll-behavior: auto; }
}

/* The connected chambers — homepage navigation by illustrated room. */
#jo-purple-journal .jo-rooms{padding:clamp(2rem,5vw,3.5rem) 0;border-top:1px solid var(--jo-line)}
#jo-purple-journal .jo-rooms-intro{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem 3rem;align-items:end;margin-bottom:1.6rem}
#jo-purple-journal .jo-rooms-intro h2{margin:.45rem 0 0;font-size:clamp(1.75rem,3vw,2.5rem)}
#jo-purple-journal .jo-rooms-intro p{font-size:.92rem;line-height:1.7;color:var(--jo-soft)}
#jo-purple-journal .jo-room-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
#jo-purple-journal .jo-room-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--jo-line);border-radius:8px;background:#fffdfb;min-width:0;transition:box-shadow .2s ease,transform .2s ease}
#jo-purple-journal .jo-room-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(35,19,52,.14);text-decoration:none}
#jo-purple-journal .jo-room-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center}
#jo-purple-journal .jo-room-card-content{display:flex;flex-direction:column;gap:.35rem;padding:1rem;flex:1}
#jo-purple-journal .jo-room-card-kicker{font:.7rem/1.5 monospace;letter-spacing:.13em;text-transform:uppercase;color:#63318f}
#jo-purple-journal .jo-room-card strong{font:700 1.15rem/1.25 Georgia,serif;color:#302438}
#jo-purple-journal .jo-room-card-desc{font:.82rem/1.55 Arial,sans-serif;color:#665f6e}
#jo-purple-journal .jo-rooms-outro{margin-top:1.25rem;text-align:right;color:#63318f;font-size:.9rem}
@media(max-width:1000px){#jo-purple-journal .jo-room-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#jo-purple-journal .jo-rooms-intro{grid-template-columns:1fr;gap:.5rem}#jo-purple-journal .jo-room-cards{grid-template-columns:1fr 1fr;gap:.65rem}#jo-purple-journal .jo-room-card-content{padding:.8rem}#jo-purple-journal .jo-room-card strong{font-size:1rem}#jo-purple-journal .jo-room-card-desc{font-size:.75rem}}
@media(max-width:430px){#jo-purple-journal .jo-room-cards{grid-template-columns:1fr}#jo-purple-journal .jo-room-card{display:grid;grid-template-columns:40% 1fr}#jo-purple-journal .jo-room-card img{height:100%;aspect-ratio:auto;object-fit:cover}}
@media(prefers-reduced-motion:reduce){#jo-purple-journal .jo-room-card{transition:none}#jo-purple-journal .jo-room-card:hover{transform:none}}


/* Entryway homepage v2 — architecturally continuous with the interior rooms.
   Keep the content immediately under the opening illustration; use miniature
   room thumbnails instead of oversized visual cards. */
#jo-entryway{--je-dark:#181225;--je-ink:#302438;--je-paper:#faf7f1;--je-muted:#625c6b;--je-purple:#7041a0;--je-rule:#ddd5e2;background:var(--je-paper);color:var(--je-ink);font:16px/1.6 Arial,sans-serif;width:100%;min-width:0}
#jo-entryway *,#jo-entryway *::before,#jo-entryway *::after{box-sizing:border-box}
#jo-entryway a{color:inherit;text-decoration:none}
#jo-entryway a:hover{text-decoration:underline;text-underline-offset:4px}
#jo-entryway a:focus-visible{outline:3px solid #d8b5f3;outline-offset:3px}
#jo-entryway h1,#jo-entryway h2,#jo-entryway p{margin:0}
#jo-entryway .je-skip{position:absolute;left:-9999px;top:0;z-index:20;background:#fff;padding:.6rem}
#jo-entryway .je-skip:focus{left:1rem;top:.5rem}
#jo-entryway .je-header{background:#181225;color:#f9f4fb;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:.65rem max(1.5rem,calc((100vw - 72rem)/2));border-bottom:1px solid rgba(220,196,239,.16)}
#jo-entryway .je-brand{font:700 1.45rem/1.2 Georgia,serif;white-space:nowrap}
#jo-entryway .je-brand span{color:#d3a8ed}
#jo-entryway .je-header nav{display:flex;gap:clamp(.5rem,1.5vw,1.25rem);flex-wrap:wrap}
#jo-entryway .je-header nav a{display:inline-flex;align-items:center;min-height:40px;font-size:.82rem;color:#f0e6f6}
#jo-entryway .je-entrance{background-color:#181225;background-image:linear-gradient(90deg,rgba(15,12,27,.97) 0%,rgba(20,14,36,.89) 40%,rgba(22,15,39,.42) 76%,rgba(22,15,39,.18) 100%),url('/wp-content/themes/jcowen/assets/rooms/connections.webp');background-position:center,center 48%;background-size:cover;color:#f9f4fb;min-height:clamp(19rem,27vw,24rem);display:flex;align-items:center;padding:clamp(2.2rem,4vw,3.2rem) max(1.5rem,calc((100vw - 72rem)/2))}
#jo-entryway .je-entrance-inner{max-width:40rem}
#jo-entryway .je-eyebrow{font:700 .72rem/1.5 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#72409a;margin:0 0 .55rem}
#jo-entryway .je-entrance .je-eyebrow{color:#d5b1f0}
#jo-entryway h1,#jo-entryway h2{font-family:Georgia,serif;letter-spacing:-.025em}
#jo-entryway .je-entrance h1{font-size:clamp(2.4rem,4.6vw,4.1rem);font-weight:700;line-height:1.07;color:#fff;margin:.4rem 0 1rem}
#jo-entryway .je-entrance h1 em{color:#d6b2ef;font-weight:700}
#jo-entryway .je-lead{max-width:49ch;color:#f1e8f8;font-size:clamp(.93rem,1.23vw,1.08rem);line-height:1.7}
#jo-entryway .je-actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin-top:1.25rem;font-size:.9rem}
#jo-entryway .je-actions a{display:inline-flex;align-items:center;min-height:44px;color:#f6e6ff}
#jo-entryway .je-actions .je-button{border:1px solid #cfabed;border-radius:4px;padding:.45rem 1rem;background:rgba(39,19,66,.48)}
#jo-entryway .je-body{max-width:72rem;margin:auto;padding:0 1.5rem}
#jo-entryway .je-introduction{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);padding:clamp(1.35rem,2.6vw,2.2rem) 0;border-bottom:1px solid var(--je-rule)}
#jo-entryway .je-intro-column h2,#jo-entryway .je-lower-panel h2{font-size:clamp(1.4rem,2.3vw,1.95rem);line-height:1.17;margin:.1rem 0 .55rem}
#jo-entryway .je-intro-column > p:not(.je-eyebrow),#jo-entryway .je-lower-panel > p:not(.je-eyebrow){color:var(--je-muted);font-size:.9rem;line-height:1.65;max-width:60ch}
#jo-entryway .je-pills{display:flex;gap:.4rem;flex-wrap:wrap;margin:.75rem 0}
#jo-entryway .je-pills span{font-size:.72rem;border:1px solid #d5cbdc;border-radius:2rem;padding:.2rem .6rem}
#jo-entryway .je-text-link{display:inline-flex;align-items:center;min-height:40px;font-size:.82rem;font-weight:700;color:#60318b;margin-top:.45rem}
#jo-entryway .je-mini-links{display:flex;gap:1.1rem;flex-wrap:wrap;margin-top:.7rem;font-size:.84rem;font-weight:700;color:#60318b}
#jo-entryway .je-mini-links a{display:inline-flex;align-items:center;min-height:40px}
#jo-entryway .je-rooms{padding:1.2rem 0 1.6rem;border-bottom:1px solid var(--je-rule)}
#jo-entryway .je-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.85rem}
#jo-entryway .je-section-heading h2{font-size:clamp(1.4rem,2.4vw,1.9rem);line-height:1.2}
#jo-entryway .je-section-heading > p{color:var(--je-muted);font-size:.82rem}
#jo-entryway .je-room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}
#jo-entryway .je-room-link{display:flex;align-items:center;gap:.65rem;min-width:0;min-height:76px;background:#fffdfa;border:1px solid var(--je-rule);border-radius:5px;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
#jo-entryway .je-room-link:hover{border-color:#ad88c8;box-shadow:0 3px 12px rgba(52,28,73,.08);text-decoration:none}
#jo-entryway .je-room-link img{display:block;width:78px;min-width:78px;height:74px;object-fit:cover;object-position:75% center}
#jo-entryway .je-room-label{display:flex;flex-direction:column;gap:.08rem;min-width:0}
#jo-entryway .je-room-label strong{font-size:.84rem;line-height:1.25}
#jo-entryway .je-room-label small{font-size:.7rem;color:var(--je-muted);line-height:1.25}
#jo-entryway .je-arrow{font-size:.78rem;color:#7041a0;margin-left:auto;margin-right:.55rem}
#jo-entryway .je-lower{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);padding:1.6rem 0 2rem}
#jo-entryway .je-latest ul{padding:0;margin:.65rem 0 0;list-style:none}
#jo-entryway .je-latest li{display:flex;gap:.8rem;justify-content:space-between;align-items:baseline;padding:.28rem 0;border-bottom:1px solid var(--je-rule);font-size:.8rem}
#jo-entryway .je-latest li strong{min-width:5.6rem;color:#60318b}
#jo-entryway .je-latest li span{flex:1;color:var(--je-muted)}
#jo-entryway .je-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1.1rem max(1.5rem,calc((100vw - 72rem)/2));background:#181225;color:#f9f4fb}
#jo-entryway .je-footer strong{font:700 1.15rem Georgia,serif}
#jo-entryway .je-footer p{font-size:.75rem;color:#d1c4dc;margin-top:.2rem}
#jo-entryway .je-footer nav{display:flex;gap:1rem;flex-wrap:wrap;font-size:.78rem}
#jo-entryway .je-footer nav a{display:inline-flex;min-height:40px;align-items:center}
@media(max-width:1020px){#jo-entryway .je-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#jo-entryway .je-header{align-items:flex-start;flex-direction:column;gap:.4rem}#jo-entryway .je-entrance{background-image:linear-gradient(90deg,rgba(15,12,27,.96),rgba(20,14,36,.7)),url('/wp-content/themes/jcowen/assets/rooms/connections.webp');min-height:18rem;padding:2rem 1.5rem}#jo-entryway .je-introduction,#jo-entryway .je-lower{grid-template-columns:1fr;gap:1.5rem}#jo-entryway .je-section-heading{align-items:flex-start;flex-direction:column;gap:.25rem}}
@media(max-width:440px){#jo-entryway .je-room-grid{grid-template-columns:1fr 1fr}#jo-entryway .je-room-link{min-height:60px;gap:.4rem}#jo-entryway .je-room-link img{width:48px;min-width:48px;height:62px}#jo-entryway .je-room-label strong{font-size:.78rem}#jo-entryway .je-room-label small{display:none}#jo-entryway .je-arrow{margin-right:.25rem}}
@media(prefers-reduced-motion:reduce){#jo-entryway .je-room-link{transition:none}}

/* Keep the staircase introduction heading on one line on wider screens. */
@media (min-width: 900px) {
  #jo-entryway .je-section-heading { display:grid; grid-template-columns:max-content minmax(0,1fr); column-gap:clamp(1.5rem,3vw,3rem); align-items:center; }
  #jo-entryway .je-section-heading h2 { white-space:nowrap; font-size:clamp(1.4rem,2vw,1.85rem); }
  #jo-entryway .je-section-heading > p { max-width:none; }
}
@media (max-width:899px) {
  #jo-entryway .je-section-heading h2 { white-space:normal; }
}

/* Room introduction: heading first; staircase invitation below, right aligned. */
#jo-entryway .je-section-heading {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .45rem;
}
#jo-entryway .je-section-heading > p {
  align-self: flex-end;
  max-width: 78ch;
  text-align: right;
  line-height: 1.55;
}
@media (max-width: 720px) {
  #jo-entryway .je-section-heading { align-items: stretch; }
  #jo-entryway .je-section-heading > p { max-width: 100%; }
}

/* Full-width staircase row outside the heading grid (separate DOM sibling). */
#jo-entryway .je-rooms .je-section-heading {
  display: block;
  margin-bottom: 0;
}
#jo-entryway .je-staircase-row {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: .3rem 0 1rem;
}
#jo-entryway .je-staircase-row p {
  margin: 0;
  width: 100%;
  max-width: none;
  text-align: right;
  color: var(--je-muted);
  font-size: .82rem;
  line-height: 1.55;
}
@media (min-width: 1080px) {
  #jo-entryway .je-staircase-row p { white-space: nowrap; }
}
@media (max-width: 1079px) {
  #jo-entryway .je-staircase-row p { white-space: normal; }
}

/* November homepage refresh: entrance, living previews and footer. */
#jo-entryway .je-entrance {min-height:22rem}
#jo-entryway .je-entrance-inner {max-width: 55rem}
#jo-entryway .je-entrance h1 {font-size:clamp(1.9rem,3.3vw,3.25rem);line-height:1.17}
#jo-entryway .je-lead {max-width:78ch;font-size:clamp(.9rem,1.15vw,1.02rem);line-height:1.65}
#jo-entryway .je-welcome-close {font-weight:700;color:#f8e4d6;margin:1rem 0 0;line-height:1.5}
#jo-entryway .je-rooms {padding-top:1.5rem}
#jo-entryway .je-introduction {border-bottom:1px solid var(--je-rule)}
#jo-entryway .je-feature-note {padding:.7rem .85rem;margin:.85rem 0;background:#f5f0f7;border-left:3px solid #8b5aaa;border-radius:0 4px 4px 0}
#jo-entryway .je-feature-note strong {display:block;color:#30223d;font-size:.85rem}
#jo-entryway .je-feature-note p {font-size:.78rem;color:var(--je-muted);line-height:1.5;margin:.35rem 0 0}
#jo-entryway .je-interest-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:.8rem 0}
#jo-entryway .je-interest-grid a {display:flex;flex-direction:column;gap:.3rem;padding:.65rem;border:1px solid var(--je-rule);border-radius:5px;background:#fffdfa;color:#342744;text-decoration:none;min-height:90px}
#jo-entryway .je-interest-grid a:hover,#jo-entryway .je-interest-grid a:focus-visible {border-color:#9c6dbe;box-shadow:0 2px 8px rgba(53,29,78,.1)}
#jo-entryway .je-interest-grid strong {font-size:.8rem}
#jo-entryway .je-interest-grid span {font-size:.72rem;color:var(--je-muted);line-height:1.45}
#jo-entryway .je-footer {display:block;padding-top:2rem;padding-bottom:1.3rem}
#jo-entryway .je-footer-content {width:100%;max-width:72rem;margin:auto}
#jo-entryway .je-footer-identity p {font-size:.84rem;max-width:75ch;line-height:1.6}
#jo-entryway .je-footer-identity .je-footer-welcome {color:#f7e7ff;font-weight:700}
#jo-entryway .je-footer nav {border-top:1px solid rgba(236,221,248,.22);padding-top:.8rem;margin-top:1.1rem;gap:1.3rem}
#jo-entryway .je-footer-legal {font-size:.76rem;color:#d1c4dc;border-top:1px solid rgba(236,221,248,.18);padding-top:.8rem;margin-top:.5rem}
#jo-entryway .je-staircase-row {justify-content:flex-start}
#jo-entryway .je-staircase-row p {text-align:left}
@media(max-width:720px) {
 #jo-entryway .je-entrance {min-height:0;padding:2rem 1.5rem}
 #jo-entryway .je-interest-grid {grid-template-columns:1fr}
 #jo-entryway .je-interest-grid a {min-height:0}
 #jo-entryway .je-rooms {padding-top:1.25rem}
}

/* Personal JCO staircase insignia: small and secondary to the welcome. */
#jo-entryway .je-brand {display:inline-flex;align-items:center;gap:.55rem}
#jo-entryway .je-brand-mark,.journal-site-header .jc-header-mark {display:inline-block;width:32px;height:32px;object-fit:cover;flex:none;border-radius:5px}
#jo-entryway .je-footer-mark,.journal-site-footer .jc-footer-mark {display:block;width:64px;height:64px;object-fit:cover;border-radius:5px;margin-bottom:.6rem}
.journal-site-header .journal-name {display:inline-flex;align-items:center;gap:.5rem}
.journal-site-footer .jc-footer-main p {line-height:1.6;margin:.4rem 0;color:inherit}
.journal-site-footer .jc-footer-main strong {display:block}
.journal-site-footer nav {display:flex;flex-wrap:wrap;gap:.35rem .7rem;margin:.9rem 0}
.journal-site-footer .jc-footer-copyright {font-size:.76rem;opacity:.78;margin-top:.8rem;padding-top:.6rem;border-top:1px solid rgba(196,169,211,.3)}

/* Restored room content: public posts, Goodreads shelves and Spotify activity. */
.jc-room-content .jc-room-post-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.2rem 0 2rem}
.jc-room-content .jc-room-post {padding:1rem 1.15rem;background:#fcf9fd;border:1px solid #e7ddea;border-radius:6px}
.jc-room-content .jc-room-post h3 {font-size:clamp(1.1rem,1.6vw,1.35rem);line-height:1.3;margin:.3rem 0 .6rem}
.jc-room-content .jc-room-post h3 a {color:#47265f}
.jc-room-content .jc-room-post p {font-size:.88rem;line-height:1.6;color:#4f4359}
.jc-room-content .jc-room-post-date {font-size:.72rem!important;color:#755c88!important;text-transform:uppercase;letter-spacing:.06em;margin:0}
.jc-room-content .jc-room-read-more {display:inline-block;font-size:.82rem;font-weight:700;color:#60318b;margin-top:.25rem}
.jc-room-content .jc-empty-room-posts {padding:1rem;background:#f7f2f9;border-left:3px solid #9674a9;font-size:.9rem;color:#564961}
.jc-room-content .jc-external-public-feed {border:1px solid #e6ddeb;background:#fdfbfd;border-radius:6px;padding:1rem 1.2rem;margin:1rem 0 1.4rem;overflow-wrap:anywhere}
.jc-room-content .jc-external-public-feed h4 {color:#3c244e;font-size:1.03rem;margin:.35rem 0 .8rem}
.jc-room-content .jc-external-public-feed ul {margin:.5rem 0 1.2rem;padding-left:1.1rem;list-style:none}
.jc-room-content .jc-external-public-feed li {margin:.6rem 0;padding:.45rem 0;border-bottom:1px solid #eee5f2}
.jc-room-content .jc-external-public-feed a {color:#60318b}
.jc-room-content .jc-external-public-feed img {max-width:100%;height:auto}
.jc-room-content .jo-reading-book {display:flex;gap:.6rem;align-items:flex-start}
.jc-room-content .jo-reading-book span {display:block}
.jc-room-content .jo-reading-author {color:#74607f;font-size:.86rem}
.jc-room-content .jc-external-public-feed--spotify .jo-spotify-brand img {width:82px;height:auto;max-width:100%;background:#21152f;border-radius:4px}
.jc-room-content .jc-feed-unavailable {padding:1rem;background:#f7f2f9;border-radius:4px}
@media(max-width:720px){.jc-room-content .jc-room-post-list{grid-template-columns:1fr}}


/* ============================================================
   The Scriptorium — shared published-story template.
   Category selects a room identity; post content is never rewritten.
   ============================================================ */
body.single-post {
    background: #eee7e0;
}
body.single-post .jc-article-page {
    --jc-story-accent: #ad8bc6;
    --jc-story-deep: #291b37;
    --jc-story-ink: #372d36;
    --jc-story-link: #623a84;
    --jc-story-paper: #f9f3e9;
    --jc-story-rule: #d8c6ae;
    padding: 0 0 clamp(2.5rem,6vw,5rem);
    margin: 0;
}
body.jc-story-fitness .jc-article-page {
    --jc-story-accent: #dab36f;
    --jc-story-deep: #2c1a3d;
    --jc-story-link: #654085;
}
body.jc-story-technology .jc-article-page {
    --jc-story-accent: #a7cad7;
    --jc-story-deep: #17283b;
    --jc-story-link: #265475;
}
body.jc-story-books .jc-article-page {
    --jc-story-accent: #dbc18a;
    --jc-story-deep: #342638;
    --jc-story-link: #765a3e;
}
body.jc-story-music .jc-article-page {
    --jc-story-accent: #d8a2d7;
    --jc-story-deep: #27182f;
    --jc-story-link: #763975;
}
body.jc-story-life .jc-article-page {
    --jc-story-accent: #c9b08c;
    --jc-story-deep: #352936;
    --jc-story-link: #74516a;
}
body.jc-story-writing .jc-article-page {
    --jc-story-accent: #c5a4d0;
    --jc-story-deep: #30213c;
    --jc-story-link: #66427c;
}
.jc-article-page > .wp-block-shortcode,
.jc-article-page > .wp-block-group {
    margin-block: 0;
}
.jc-article-hero {
    background-color: var(--jc-story-deep);
    background-image:
        linear-gradient(90deg, rgba(16,12,23,.97) 0%, rgba(20,14,28,.92) 35%, rgba(18,13,27,.74) 69%, rgba(18,13,27,.63) 100%),
        var(--jc-article-room-image, linear-gradient(118deg, var(--jc-story-deep), #211728));
    background-position: center, center 44%;
    background-size: cover;
    background-repeat: no-repeat;
    color: #f8f0e4;
    padding: clamp(2.75rem,6vw,5rem) max(1.25rem, calc((100vw - 72rem) / 2));
    border-top: 1px solid rgba(213,181,114,.15);
    border-bottom: 4px solid var(--jc-story-accent);
    position: relative;
    isolation: isolate;
}
.jc-article-hero:after {
    content:"";
    position:absolute;
    right:max(1rem,calc((100vw - 73rem) / 2));
    top: 12%;
    width: clamp(90px,17vw,220px);
    aspect-ratio:1;
    opacity:.11;
    pointer-events:none;
    border:1px solid var(--jc-story-accent);
    border-radius:50%;
    box-shadow: 0 0 0 18px transparent, 0 0 0 19px var(--jc-story-accent), 0 0 0 38px transparent, 0 0 0 39px var(--jc-story-accent);
}
.jc-article-hero-inner {
    max-width: 57rem;
    position: relative;
    z-index: 1;
}
.jc-article-breadcrumb {
    display:inline-flex;
    color: #f5e4c4;
    text-decoration: none;
    font-size: .86rem;
    line-height: 1.5;
    font-weight:600;
    border-bottom:1px solid rgba(246,219,173,.45);
    padding-bottom:.15rem;
    margin-bottom:clamp(2rem,4vw,3rem);
}
.jc-article-breadcrumb:hover,
.jc-article-breadcrumb:focus-visible {color:#fff;border-bottom-color:#fff}
.jc-article-eyebrow {
    font:700 .7rem/1.4 system-ui,sans-serif;
    text-transform:uppercase;
    letter-spacing:.18em;
    color:var(--jc-story-accent);
    margin:0 0 1rem;
}
.jc-article-hero h1 {
    font: 700 clamp(2.25rem,5.1vw,4.55rem)/1.12 Georgia,"Times New Roman",serif;
    letter-spacing:-.034em;
    color:#fff8ee;
    max-width:19ch;
    margin:0 0 1.5rem;
    overflow-wrap:break-word;
    text-wrap:balance;
}
.jc-article-metadata {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:.55rem;
    color:#e4d8e7;
    font:500 .86rem/1.6 system-ui,sans-serif;
}
body.single-post .jc-article-paper {
    max-width: min(100% - 2rem, 62.5rem);
    width:100%;
    margin:-.01rem auto 0;
    padding:clamp(1.5rem,4.5vw,4.5rem) clamp(1.25rem,5vw,5.25rem);
    background:var(--jc-story-paper);
    border:1px solid #e1d6c7;
    border-top:0;
    box-shadow:0 20px 70px rgba(38,24,38,.09);
    color:var(--jc-story-ink);
    position:relative;
}
body.single-post .jc-article-paper:before {
    content:"";
    display:block;
    width:5rem;
    height:2px;
    background:var(--jc-story-accent);
    margin-bottom:clamp(1.5rem,3vw,2.5rem);
}
.jc-article-paper .wp-block-post-content {
    max-width:100%;
    font:400 clamp(1rem,1.45vw,1.13rem)/1.85 system-ui,-apple-system,Segoe UI,sans-serif;
    color:var(--jc-story-ink);
}
.jc-article-paper .wp-block-post-content > :first-child {margin-top:0}
.jc-article-paper .wp-block-post-content p {
    margin-top:0;
    margin-bottom:1.35em;
    line-height:inherit;
}
.jc-article-paper .wp-block-post-content h2,
.jc-article-paper .wp-block-post-content h3,
.jc-article-paper .wp-block-post-content h4 {
    font-family:Georgia,"Times New Roman",serif;
    color:#342539;
    line-height:1.23;
    margin-top:1.8em;
    margin-bottom:.7em;
    text-wrap:balance;
}
.jc-article-paper .wp-block-post-content h2 {font-size:clamp(1.55rem,2.5vw,2.05rem)}
.jc-article-paper .wp-block-post-content h3 {font-size:clamp(1.25rem,2vw,1.65rem)}
.jc-article-paper .wp-block-post-content a {
    color:var(--jc-story-link);
    text-decoration-color:var(--jc-story-accent);
    text-underline-offset:.18em;
}
.jc-article-paper .wp-block-post-content blockquote,
.jc-article-paper .wp-block-post-content .wp-block-quote {
    margin:clamp(1.5rem,3.5vw,2.8rem) 0;
    padding:clamp(1.25rem,3vw,2rem);
    background:#f1e8da;
    border:0;
    border-left:4px solid var(--jc-story-accent);
    border-radius:0 5px 5px 0;
    font:italic 1.05em/1.7 Georgia,serif;
    color:#3d3044;
}
.jc-article-paper .wp-block-post-content blockquote p {margin-bottom:.75em}
.jc-article-paper .wp-block-post-content blockquote cite {
    display:block;
    font:600 .82rem/1.6 system-ui,sans-serif;
    color:#66506b;
    margin-top:.8rem;
}
.jc-article-paper .wp-block-image,
.jc-article-paper .wp-block-video,
.jc-article-paper .wp-block-gallery,
.jc-article-paper .wp-block-embed,
.jc-article-paper .wp-block-cover {
    margin-top:clamp(1.5rem,3vw,2.6rem);
    margin-bottom:clamp(1.5rem,3vw,2.6rem);
}
.jc-article-paper figure img,
.jc-article-paper .wp-block-video video,
.jc-article-paper .wp-block-embed iframe {
    max-width:100%;
    height:auto;
    border-radius:5px;
}
.jc-article-paper .wp-block-video {text-align:center}
.jc-article-paper .wp-block-video video {
    display:block;
    width:auto;
    max-width:100%;
    max-height:min(72vh,750px);
    margin:auto;
    background:#1d1721;
    box-shadow:0 12px 30px rgba(20,15,23,.15);
}
.jc-article-paper figcaption,
.jc-article-paper .wp-element-caption {
    font:.82rem/1.5 system-ui,sans-serif;
    color:#675b64;
    text-align:center;
    margin-top:.6rem;
}
.jc-article-paper .wp-block-gallery {
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
}
.jc-article-paper .wp-block-gallery figure {min-width:0}
.jc-article-paper .wp-block-separator {border-color:var(--jc-story-rule)}
.jc-article-paper .wp-block-code,
.jc-article-paper pre {
    overflow-x:auto;
    max-width:100%;
    background:#251e2a;
    color:#f8eee2;
    border-radius:5px;
    padding:1rem;
    font-size:.86rem;
}
.jc-article-paper table {display:block;overflow-x:auto;max-width:100%}
.jc-article-end {
    max-width:min(100% - 2rem, 62.5rem);
    margin:0 auto;
    padding:0;
}
.jc-article-end-inner {
    background:#eee5db;
    padding:clamp(1.5rem,4vw,3rem) clamp(1.25rem,5vw,5.25rem);
    border:1px solid #dcd0c3;
    border-top:0;
}
.jc-article-end-return {
    padding:0 0 1.4rem;
}
.jc-article-end-mark {color:var(--jc-story-link);font-size:1.25rem}
.jc-article-end-return p {
    margin:.25rem 0 .75rem;
    color:#59445a;
    font:italic 1.15rem/1.4 Georgia,serif;
}
.jc-article-end-return a {
    color:var(--jc-story-link);
    font-weight:700;
    font-size:.92rem;
    text-decoration:underline;
    text-underline-offset:.22rem;
}
.jc-article-related {
    border-top:1px solid #d6c6b6;
    padding-top:1.5rem;
}
.jc-article-related h2 {
    font:700 clamp(1.3rem,2.3vw,1.7rem)/1.2 Georgia,serif;
    color:#342539;
    margin:0 0 1rem;
}
.jc-article-related-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.jc-article-related-list article {
    background:#faf4ec;
    border:1px solid #d9cbbb;
    border-top:3px solid var(--jc-story-accent);
    padding:1rem;
    min-width:0;
}
.jc-article-related-date {
    font:.68rem/1.3 system-ui,sans-serif;
    letter-spacing:.07em;
    text-transform:uppercase;
    color:#665765;
    margin:0 0 .5rem;
}
.jc-article-related-list h3 {
    font:700 1.04rem/1.42 Georgia,serif;
    margin:0;
}
.jc-article-related-list a {color:var(--jc-story-link)}
@media(max-width:740px) {
    .jc-article-hero {padding:2rem 1.2rem 2.6rem}
    .jc-article-hero:after {opacity:.05}
    .jc-article-breadcrumb {margin-bottom:2rem}
    .jc-article-hero h1 {max-width:100%;font-size:clamp(2rem,9vw,3.1rem)}
    .jc-article-paper {max-width:calc(100% - 1rem)!important}
    .jc-article-end {max-width:calc(100% - 1rem)}
    .jc-article-related-list {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {
    .jc-article-hero,.jc-article-paper {scroll-behavior:auto}
}

/* Keep room art atmospheric and type accessible on narrow screens. */
@media (max-width: 740px) {
    .jc-article-hero {
        background-image:
            linear-gradient(90deg, rgba(16,12,23,.97), rgba(18,13,27,.83)),
            var(--jc-article-room-image, linear-gradient(118deg,var(--jc-story-deep),#211728));
        background-position: center, 60% center;
    }
}


/* Optional compact featured image on Writing room cards only. */
.jc-room-content .jc-writing-thumb-link{display:block;float:right;width:112px;height:84px;margin:0 0 .6rem .9rem;overflow:hidden;border-radius:5px;background:#ede6f0}
.jc-room-content .jc-writing-thumb{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.jc-room-content .jc-writing-thumb-link:focus-visible{outline:3px solid #7041a0;outline-offset:2px}
.jc-room-content .jc-room-post:after{content:"";display:block;clear:both}
@media(max-width:420px){.jc-room-content .jc-writing-thumb-link{width:92px;height:70px}}
