/* =========================================================
   Jennifer Confidence – site design
   Fonts: Bricolage Grotesque (headings) + Source Sans 3 (body)
   ========================================================= */

:root {
	--jc-gold: #dfad3a;
	--jc-gold-light: #ecc35e;
	--jc-green: #155c3e;
	--jc-ink: #17140f;
	--jc-ink-2: #2a241c;
	--jc-text: #4a4238;
	--jc-subtle: #5e5448;
	--jc-line: #ddd3c3;
	--jc-line-2: #cfc3b0;
	--jc-ground: #ffffff;
	--jc-sand: #f6f5f1;
	--jc-white: #ffffff;
	--jc-accent: #dfad3a;
	--jc-accent-text: #c4451c;
	--jc-accent-dark: #ecc35e;
	--jc-accent-on-dark: #dfad3a;
	--jc-on-dark: #f6f1e9;
	--jc-on-dark-2: #cfc5b5;
	--jc-dark-line: #3d362c;

	--jc-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jc-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	--jc-gutter: clamp(20px, 5.5vw, 80px);
	--jc-space: clamp(64px, 8.5vw, 120px);
	--jc-radius: 8px;

	/* Kadence global tokens, so the theme's own elements match the brand */
	--global-palette1: var(--jc-accent-text);
	--global-palette2: #6b4d0b;
	--global-palette3: var(--jc-ink);
	--global-palette4: var(--jc-ink-2);
	--global-palette5: var(--jc-text);
	--global-palette6: var(--jc-subtle);
	--global-palette7: var(--jc-sand);
	--global-palette8: var(--jc-ground);
	--global-palette9: var(--jc-white);
	--global-body-font-family: var(--jc-body);
	--global-heading-font-family: var(--jc-head);
}

/* ---------- Base ---------- */
.jc-section *, .jc-section *::before, .jc-section *::after, .jc-footer * { box-sizing: border-box; }
body {
	background: var(--jc-ground);
	color: var(--jc-ink);
	font-family: var(--jc-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.site-title {
	font-family: var(--jc-head);
	color: inherit;
	letter-spacing: -0.02em;
}
a { color: var(--jc-ink); }
a:hover, a:focus { color: var(--jc-accent-dark); }
:focus-visible { outline: 2px solid var(--jc-accent); outline-offset: 3px; }

/* Kadence: let the homepage bands run edge to edge */
.content-bg,
.site-main .entry-content-wrap,
body.content-style-unboxed .site { background: transparent; }

/* ---------- Kadence header ---------- */
body:not(.transparent-header) .site-header,
body:not(.transparent-header) #masthead .site-header-row-container-inner { background: var(--jc-ground); }
body:not(.transparent-header) #masthead .site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--jc-line); }
.site-branding .site-title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.header-navigation .menu > li > a {
	font-family: var(--jc-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--jc-ink);
}
.header-navigation .menu > li > a:hover,
.header-navigation .menu > li.current-menu-item > a { color: var(--jc-accent-dark); }
.header-button-wrap .header-button,
.mobile-header-button-wrap .mobile-header-button {
	background: var(--jc-ink);
	color: var(--jc-ground);
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 600;
}
.header-button-wrap .header-button:hover,
.mobile-header-button-wrap .mobile-header-button:hover { background: var(--jc-accent-dark); color: var(--jc-white); }

/* ---------- Layout ---------- */
/* Classic themes (Kadence) wrap group contents in an extra inner div.
   Let its children take part in our flex and grid layouts directly. */
.jc-section .wp-block-group__inner-container,
.jc-footer .wp-block-group__inner-container,
.jc-site-footer .wp-block-group__inner-container { display: contents; }

.jc-section {
	box-sizing: border-box;
	padding: var(--jc-space) var(--jc-gutter);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.jc-section.alignfull { width: 100%; max-width: none; }
.entry-content > .jc-section.alignfull:first-child { margin-top: 0; }
.jc-container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}
:is(.jc-section, .jc-footer) .jc-container :is(p, h1, h2, h3, h4, figure, ul, .wp-block-buttons, .wp-block-columns, .wp-block-group, .wp-block-image) { margin: 0; }

/* Vertical rhythm comes from flex gaps, so spacing does not depend on theme margins */
.jc-container,
.jc-card-plain,
.jc-card,
.jc-head-text,
.jc-ep-text,
.jc-focus-item,
.jc-cta-text,
.jc-stat-item,
.jc-section .wp-block-column,
.jc-footer .wp-block-column { display: flex; flex-direction: column; gap: 20px; }
.jc-container { gap: 48px; }
.jc-section .wp-block-columns,
.jc-footer .wp-block-columns { gap: 32px; }

.jc-grid { display: grid; gap: 32px; }
.jc-grid > *,
.jc-grid > .wp-block-group__inner-container > * { margin: 0 !important; }
.jc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.jc-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	flex-wrap: wrap;
}
.jc-head-text { gap: 14px; }
.jc-work .jc-head-text { max-width: 760px; }
.jc-work .jc-container { gap: 32px; }
.jc-work .jc-head-text { padding-bottom: 16px; }

/* ---------- Type ---------- */
.jc-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jc-accent);
}
.jc-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--jc-subtle);
}
.jc-display {
	font-size: clamp(44px, 6vw, 84px);
	line-height: 1.02;
	font-weight: 500;
	letter-spacing: -0.03em;
}
.jc-h2 {
	font-size: clamp(34px, 4vw, 56px);
	line-height: 1.08;
	font-weight: 500;
}
.jc-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 500; }
.jc-h3-lg { font-size: clamp(24px, 2.4vw, 34px); }
.jc-h4 { font-size: 20px; line-height: 1.3; font-weight: 500; }
.jc-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--jc-text); max-width: 600px; }
.jc-body { font-size: 16.5px; line-height: 1.6; color: var(--jc-text); }
.jc-body-lg { font-size: 18px; line-height: 1.7; color: var(--jc-text); }
.jc-meta {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jc-subtle);
}
.jc-textlink a { color: var(--jc-accent); font-weight: 600; text-decoration: none; }
.jc-textlink a:hover { color: var(--jc-accent-dark); text-decoration: underline; }
.jc-underline-link a {
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1.5px solid currentColor;
	padding-bottom: 4px;
}

/* ---------- Buttons ---------- */
.jc-section .wp-block-buttons { gap: 14px; }
.jc-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 54px;
	padding: 0 28px;
	border-radius: 999px;
	font-family: var(--jc-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: background-color .15s ease, color .15s ease;
}
.jc-btn-primary .wp-block-button__link { background: var(--jc-accent); color: var(--jc-white); }
.jc-btn-primary .wp-block-button__link:hover { background: var(--jc-accent-dark); color: var(--jc-white); }
.jc-btn-dark .wp-block-button__link { background: var(--jc-ink); color: var(--jc-ground); }
.jc-btn-dark .wp-block-button__link:hover { background: var(--jc-accent-dark); color: var(--jc-white); }
.jc-btn-outline .wp-block-button__link { background: transparent; color: var(--jc-ink); border-color: var(--jc-ink); }
.jc-btn-outline .wp-block-button__link:hover { background: var(--jc-ink); color: var(--jc-ground); }

/* ---------- Media ---------- */
.jc-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	background: #e6ddcf;
}
.jc-media-dark img { background: var(--jc-ink-2); }
.jc-portrait img { aspect-ratio: 4 / 5; }
.jc-candid img { aspect-ratio: 4 / 5; }
.jc-card-plain .jc-media img,
.jc-latest .jc-media img { aspect-ratio: 16 / 9; }
.jc-thumb { flex: 0 0 200px; }

/* ---------- Sections ---------- */
.jc-hero { padding-top: clamp(40px, 6vw, 88px); }
.jc-hero .wp-block-column:first-child { gap: 28px; }
.jc-hero-cols { justify-content: space-between; }

.jc-logos {
	padding-top: 32px;
	padding-bottom: 32px;
	border-top: 1px solid var(--jc-line);
	border-bottom: 1px solid var(--jc-line);
}
.jc-logos .jc-container { flex-direction: row; align-items: center; gap: 48px; }
.jc-logo-row { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.jc-logo-row > *,
.jc-logo-row > .wp-block-group__inner-container > * { margin: 0 !important; }
.jc-logo img { height: 40px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; }

.jc-dark { background: var(--jc-ink); color: var(--jc-on-dark); }
.jc-dark .jc-eyebrow, .jc-dark .jc-num { color: var(--jc-accent-on-dark); }
.jc-dark .jc-body { color: var(--jc-on-dark-2); }
.jc-dark h2, .jc-dark h3 { color: var(--jc-on-dark); }
.jc-focus-cols { justify-content: space-between; }
.jc-focus-grid { gap: 0; }
.jc-focus-item { padding: 32px 32px 32px 0; border-top: 1px solid var(--jc-dark-line); }
.jc-focus-item:nth-child(2n) { padding: 32px 0 32px 32px; border-left: 1px solid var(--jc-dark-line); }
.jc-focus-item { gap: 12px; }
.jc-num { font-size: 14px; font-weight: 600; }

.jc-ep-row {
	display: flex;
	gap: 20px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--jc-line);
}
.jc-ep-row:last-child { border-bottom: 0; padding-bottom: 0; }
.jc-ep-text { gap: 8px; }
.jc-latest .wp-block-column:last-child { gap: 28px; }

.jc-sand { background: var(--jc-sand); }
.jc-about-cols { justify-content: space-between; }
.jc-stats { gap: 24px; padding-top: 28px; margin-top: 8px !important; border-top: 1px solid var(--jc-line-2); }
.jc-stat { font-family: var(--jc-head); font-size: 36px; font-weight: 500; line-height: 1.1; }
.jc-stat-item { gap: 4px; }
.jc-stat-label { font-size: 14px; color: var(--jc-subtle); }

.jc-card {
	padding: 40px;
	background: var(--jc-white);
	border: 1px solid var(--jc-line);
	border-radius: var(--jc-radius);
}
.jc-card { gap: 14px; }
.jc-card-plain { gap: 16px; }
.jc-cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 40px 48px;
	background: var(--jc-sand);
	border-radius: var(--jc-radius);
}
.jc-cta-text { gap: 6px; }
.jc-cta-text a { text-decoration: underline; font-weight: 600; }

.jc-newsletter { padding-top: 0; }
.jc-news-card {
	background: var(--jc-accent);
	color: var(--jc-white);
	border-radius: var(--jc-radius);
	padding: clamp(40px, 5vw, 72px) clamp(24px, 5.5vw, 80px);
}
.jc-news-card h2 { color: var(--jc-white); }
.jc-news-card .jc-body { color: #fbede6; font-size: 18px; }
.jc-news-cols { justify-content: space-between; }

.jc-signup label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--jc-white); }
.jc-signup-row { display: flex; gap: 12px; }
.jc-signup input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 56px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 16px;
	color: var(--jc-ink);
	background: var(--jc-white);
}
.jc-signup button {
	height: 56px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--jc-ink);
	color: var(--jc-white);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.jc-signup button:hover { background: #000; }
.jc-signup-note { font-size: 13px; color: #fbede6; margin: 10px 0 0; }

/* ---------- Footer ---------- */
.jc-site-footer {
	display: block;
	background: var(--jc-ground);
	border-top: 1px solid var(--jc-line);
	padding: 0 var(--jc-gutter);
}
.jc-site-footer .jc-footer { max-width: 1280px; margin: 0 auto; }
.site-footer,
.site-footer .site-footer-row-container-inner { background: var(--jc-ground); }
.jc-footer { padding: clamp(56px, 7vw, 96px) 0 40px; }
.jc-footer .jc-container { gap: 56px; }
.jc-footer .wp-block-column { gap: 14px; }
.jc-footer-name { font-family: var(--jc-head); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.jc-links { list-style: none; margin: 0; padding: 0; }
.jc-links li { margin: 0; }
.jc-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-size: 16px;
	text-decoration: none;
}
.jc-footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--jc-line);
}
.jc-legal, .jc-legal a { font-size: 14px; color: var(--jc-subtle); }
.jc-legal-links a { margin-left: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.jc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jc-logos .jc-container { flex-direction: column; align-items: flex-start; gap: 16px; }
	.jc-container { gap: 36px; }
	.jc-logo-row { width: 100%; }
}
@media (max-width: 781px) {
	.jc-grid-2, .jc-grid-3 { grid-template-columns: minmax(0, 1fr); }
	.jc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.jc-stat { font-size: 26px; }
	.jc-stat-label { font-size: 12px; }
	.jc-logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.jc-logo-row figure:nth-of-type(n+4) { display: none; }
	.jc-focus-item,
	.jc-focus-item:nth-child(2n) { padding: 22px 0; border-left: 0; }
	.jc-focus-item:last-child { border-bottom: 1px solid var(--jc-dark-line); }
	.jc-thumb { flex-basis: 128px; }
	.jc-h4 { font-size: 18px; }
	.jc-card { padding: 28px; }
	.jc-cta-band { padding: 28px 24px; }
	.jc-cta-band .wp-block-buttons,
	.jc-hero .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.jc-btn .wp-block-button__link { width: 100%; justify-content: center; min-height: 52px; }
	.jc-signup-row { flex-direction: column; }
	.jc-signup input[type="email"], .jc-signup button { flex: none; width: 100%; height: 52px; }
	.jc-footer-cols { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.jc-footer-cols > .wp-block-column:first-child { grid-column: 1 / -1; }
	.jc-legal-links a { margin: 0 20px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.jc-page-hero { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--jc-line); }
.jc-page-hero .jc-container { gap: 24px; }
.jc-page-hero .wp-block-column:first-child { gap: 24px; }
.jc-page-title {
	font-size: clamp(40px, 5.2vw, 72px);
	line-height: 1.04;
	font-weight: 500;
	letter-spacing: -0.03em;
	max-width: 900px;
}
.jc-page-hero .jc-lead { max-width: 680px; }

.jc-story-cols, .jc-contact-cols, .jc-series-detail { justify-content: space-between; }
.jc-story .wp-block-column:last-child { gap: 24px; }

.jc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.jc-list li { position: relative; padding-left: 22px; color: var(--jc-text); font-size: 16.5px; line-height: 1.5; margin: 0; }
.jc-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--jc-accent); }
.jc-list-sm li { font-size: 15.5px; }

.jc-timeline { display: flex; flex-direction: column; }
.jc-tl-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 24px;
	padding: 24px 0;
	border-top: 1px solid var(--jc-line-2);
}
.jc-tl-row:last-child { border-bottom: 1px solid var(--jc-line-2); }
.jc-tl-year { font-family: var(--jc-head); font-size: 20px; font-weight: 500; color: var(--jc-accent); }
.jc-tl-text { gap: 6px; }

.jc-series-list .jc-container { gap: clamp(56px, 7vw, 104px); }
.jc-series-art img { aspect-ratio: 16 / 10; }
.jc-series-detail .wp-block-column { gap: 20px; }

.jc-step { gap: 12px; padding-top: 24px; border-top: 2px solid var(--jc-ink); }
.jc-step .jc-num { color: var(--jc-accent); font-size: 15px; }
.jc-process .jc-steps { margin-bottom: 16px; }

.jc-contact-item { gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--jc-line); }
.jc-contact-item:last-child { border-bottom: 0; }
.jc-contact .wp-block-column:first-child { gap: 24px; }
.jc-contact-item a { font-weight: 600; }
.jc-form-card { padding: clamp(28px, 3.5vw, 48px); gap: 20px; }

.jc-section .jc-container .jc-form p { margin: 0 0 18px; }
.jc-section .jc-container .jc-form > p:last-child { margin-bottom: 0; }
.jc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.jc-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--jc-ink); }
.jc-form input, .jc-form select, .jc-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--jc-line-2);
	border-radius: 6px;
	background: var(--jc-ground);
	padding: 12px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--jc-ink);
	min-height: 48px;
}
.jc-form textarea { resize: vertical; }
.jc-form input:focus, .jc-form select:focus, .jc-form textarea:focus { outline: 2px solid var(--jc-accent); outline-offset: 1px; border-color: var(--jc-accent); }
.jc-form button {
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--jc-ink);
	color: var(--jc-white);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.jc-form button:hover { background: var(--jc-accent-dark); }

.jc-press { padding-top: clamp(56px, 6vw, 96px); }

@media (max-width: 781px) {
	.jc-tl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.jc-form-row { grid-template-columns: minmax(0, 1fr); }
	.jc-series-detail > .wp-block-column:has(.jc-series-art) { order: -1; }
	.jc-form button { width: 100%; }
	.jc-contact-cols > .wp-block-column:has(.jc-form-card) { order: -1; }
}

/* =========================================================
   Side gutters: Kadence's full-width layout can strip the
   left/right padding from full-width blocks, so enforce it.
   ========================================================= */
.entry-content .jc-section.alignfull,
.jc-section.alignfull,
.jc-section {
	padding-left: var(--jc-gutter) !important;
	padding-right: var(--jc-gutter) !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}
.jc-site-footer { padding-left: var(--jc-gutter) !important; padding-right: var(--jc-gutter) !important; }
.jc-news-card { box-sizing: border-box; }

@media (max-width: 781px) {
	:root { --jc-gutter: 20px; --jc-space: 56px; }
	.jc-portrait img, .jc-candid img { aspect-ratio: 1 / 1; }
	.jc-hero .wp-block-column:first-child { gap: 22px; }
	.jc-logos { padding-top: 24px; padding-bottom: 24px; }
	.jc-news-card { padding: 36px 24px; }
	.jc-page-hero { padding-top: 32px; padding-bottom: 40px; }
}

/* =========================================================
   Latest stories (WordPress Latest Posts block)
   ========================================================= */
.jc-section .wp-block-latest-posts.jc-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.jc-section .wp-block-latest-posts.jc-posts li {
	margin: 0;
	width: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.jc-posts .wp-block-latest-posts__featured-image { margin: 0 0 6px; }
.jc-posts .wp-block-latest-posts__featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 4px;
	background: var(--jc-ink-2);
}
.jc-posts .wp-block-latest-posts__post-title {
	font-family: var(--jc-head);
	font-size: clamp(20px, 1.7vw, 24px);
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--jc-ink);
	text-decoration: none;
	order: 2;
}
.jc-posts .wp-block-latest-posts__post-title:hover { color: var(--jc-accent-dark); }
.jc-posts .wp-block-latest-posts__post-date {
	order: 1;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jc-subtle);
}
.jc-posts .wp-block-latest-posts__featured-image { order: 0; }
.jc-posts .wp-block-latest-posts__post-excerpt {
	order: 3;
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--jc-text);
}
.jc-posts .wp-block-latest-posts__post-excerpt a { color: var(--jc-accent); font-weight: 600; }

/* Forms carried over from the existing site */
.jc-site-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.jc-site-form select,
.jc-site-form textarea {
	border-radius: 6px;
	border: 1px solid var(--jc-line-2);
	min-height: 48px;
	font: inherit;
	font-size: 16px;
}
.jc-site-form button,
.jc-site-form input[type="submit"],
.jc-site-form .kb-button,
.jc-site-form .wp-block-button__link {
	border-radius: 999px !important;
	min-height: 52px;
	padding: 0 28px;
	background: var(--jc-ink) !important;
	color: var(--jc-white) !important;
	font-weight: 600;
	border: 0;
}
.jc-news-card .jc-site-form,
.jc-news-card .jc-site-form label,
.jc-news-card .jc-site-form p { color: var(--jc-white); }

.jc-tl-year { font-size: 17px; line-height: 1.35; }

@media (max-width: 1024px) {
	.jc-section .wp-block-latest-posts.jc-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
	.jc-section .wp-block-latest-posts.jc-posts { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* The Gorée cover has text at the top and bottom: show it whole */
.jc-media img[src*="playlist-african-stories"] { object-fit: contain; background: #f4efe2; }

/* =========================================================
   Video hero
   ========================================================= */
.jc-video-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: min(100svh, 940px);
	padding-top: clamp(130px, 16vh, 180px) !important;
	padding-bottom: clamp(72px, 11vh, 130px) !important;
	background: #0f0d0a;
	color: #fff;
	overflow: hidden;
}
.jc-video-hero .jc-container { position: relative; z-index: 2; width: 100%; }
.jc-vh-media { position: absolute; inset: 0; z-index: 0; }
.jc-vh-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.jc-vh-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(12, 10, 8, 0.7) 0, rgba(12, 10, 8, 0) 170px),
		linear-gradient(90deg, rgba(12, 10, 8, 0.86) 0%, rgba(12, 10, 8, 0.66) 50%, rgba(12, 10, 8, 0.4) 100%),
		linear-gradient(0deg, rgba(12, 10, 8, 0.55) 0%, rgba(12, 10, 8, 0) 45%);
}
.jc-section .jc-container .jc-vh-content { display: flex; flex-direction: column; align-items: flex-start; max-width: 780px; gap: 26px; }
.jc-vh-content .wp-block-buttons { margin-top: 6px !important; }
.jc-section .jc-container .jc-vh-pill {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--jc-gold);
	color: var(--jc-ink);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.jc-vh-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jc-ink); }
.jc-video-hero .jc-vh-title { color: #fff; font-size: clamp(46px, 6.6vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.jc-video-hero .jc-vh-title mark { background: none !important; color: var(--jc-gold); }
.jc-video-hero .jc-vh-lead { color: rgba(255, 255, 255, 0.86); max-width: 600px; }
.jc-btn-gold .wp-block-button__link { background: var(--jc-gold); color: var(--jc-ink); }
.jc-btn-gold .wp-block-button__link:hover { background: var(--jc-gold-light); color: var(--jc-ink); }
.jc-btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.jc-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--jc-ink); }
.jc-vh-toggle {
	position: absolute;
	right: var(--jc-gutter);
	bottom: 28px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: rgba(12, 10, 8, 0.45);
	color: #fff;
	cursor: pointer;
}
.jc-vh-toggle:hover { background: rgba(12, 10, 8, 0.75); }
.jc-vh-toggle .jc-ico-play { display: none; }
.jc-vh-toggle[aria-pressed="true"] .jc-ico-play { display: block; }
.jc-vh-toggle[aria-pressed="true"] .jc-ico-pause { display: none; }

/* Kadence header sitting over the video */
body.transparent-header #masthead .site-header-row-container-inner { background: transparent; border-bottom: 0; }
body.transparent-header #masthead .site-title,
body.transparent-header #masthead .header-navigation .menu > li > a,
body.transparent-header #masthead .menu-toggle-open { color: #fff; }
body.transparent-header #masthead .header-navigation .menu > li > a:hover,
body.transparent-header #masthead .header-navigation .menu > li.current-menu-item > a { color: var(--jc-gold); }
body.transparent-header #masthead .header-button-wrap .header-button { background: var(--jc-gold); color: var(--jc-ink); }

/* YouTube players */
.jc-video .wp-block-embed__wrapper { border-radius: 6px; overflow: hidden; background: #0f0d0a; }
.jc-section .jc-video { margin: 0; }

@media (max-width: 781px) {
	.jc-video-hero { min-height: 88svh; padding-top: 112px !important; padding-bottom: 88px !important; }
	.jc-vh-media::after { background: linear-gradient(0deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.6) 55%, rgba(12, 10, 8, 0.45) 100%); }
	.jc-vh-toggle { bottom: 18px; }
	.jc-section .jc-container .jc-vh-content { gap: 20px; }
	.jc-video-hero .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.jc-video-hero .jc-btn .wp-block-button__link { width: 100%; justify-content: center; }
	.jc-section .jc-container .jc-vh-pill { font-size: 12.5px; padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.jc-vh-media video { display: none; }
	.jc-vh-media { background: url("../img/photos/hero-poster.jpg") center / cover no-repeat; }
}

/* =========================================================
   v1.5: white site, gold accent from the hero
   ========================================================= */
a:hover, a:focus { color: var(--jc-accent-text); }
:focus-visible { outline-color: var(--jc-accent-text); }
.header-navigation .menu > li.current-menu-item > a,
.header-navigation .menu > li > a:hover { color: var(--jc-accent-text); }
.jc-eyebrow,
.jc-textlink a,
.jc-tl-year,
.jc-step .jc-num,
.jc-posts .wp-block-latest-posts__post-excerpt a { color: var(--jc-accent-text); }
.jc-textlink a:hover { color: #93330f; }
.jc-posts .wp-block-latest-posts__post-title:hover { color: var(--jc-accent-text); }
.jc-dark .jc-eyebrow, .jc-dark .jc-num { color: var(--jc-gold); }

.jc-btn-primary .wp-block-button__link { background: var(--jc-gold); color: var(--jc-ink); }
.jc-btn-primary .wp-block-button__link:hover { background: var(--jc-gold-light); color: var(--jc-ink); }
.jc-btn-dark .wp-block-button__link { color: #fff; }
.jc-btn-dark .wp-block-button__link:hover,
.jc-form button:hover { background: #3a332a; color: #fff; }
.header-button-wrap .header-button:hover,
.mobile-header-button-wrap .mobile-header-button:hover { background: #3a332a; }
.jc-form input:focus, .jc-form select:focus, .jc-form textarea:focus { outline-color: var(--jc-accent-text); border-color: var(--jc-accent-text); }
.jc-list li::before { background: var(--jc-gold); }

/* Newsletter band in hero gold with dark text */
.jc-news-card { background: var(--jc-gold); color: var(--jc-ink); }
.jc-news-card h2 { color: var(--jc-ink); }
.jc-news-card .jc-body,
.jc-news-card .jc-signup-note,
.jc-news-card .jc-signup label,
.jc-news-card .jc-site-form,
.jc-news-card .jc-site-form label,
.jc-news-card .jc-site-form p { color: var(--jc-ink); }
.jc-news-card .jc-signup input[type="email"] { border: 1px solid rgba(23, 20, 15, 0.15); }

/* White site with quiet section dividers */
body, .site, .content-bg { background: #fff; }
.jc-sand { background: var(--jc-sand); }
.jc-card { border-color: #e7e3da; box-shadow: 0 1px 2px rgba(23, 20, 15, 0.04); }
.jc-site-footer { border-top: 1px solid #e7e3da; }

/* Playlist cards: two-line descriptions so the links line up */
.jc-series .jc-card-plain .jc-body {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2 * 1.6em);
}

/* "What I cover" as boxes, matching the travel security cards */
.jc-section .jc-focus-grid { gap: 20px; }
.jc-section .jc-focus-grid .jc-focus-item,
.jc-section .jc-focus-grid .jc-focus-item:nth-child(2n) {
	padding: 30px;
	border: 1px solid var(--jc-dark-line);
	border-radius: var(--jc-radius);
	background: #211d18;
}
@media (max-width: 781px) {
	.jc-section .jc-focus-grid { gap: 14px; }
	.jc-section .jc-focus-grid .jc-focus-item,
	.jc-section .jc-focus-grid .jc-focus-item:nth-child(2n),
	.jc-section .jc-focus-grid .jc-focus-item:last-child { padding: 24px; border: 1px solid var(--jc-dark-line); }
}

/* Story cards: titles max two lines, excerpts max three, so cards line up */
.jc-posts .wp-block-latest-posts__post-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2 * 1.25em);
}
.jc-posts .wp-block-latest-posts__post-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Story dates as gold pills */
.jc-posts .wp-block-latest-posts__post-date {
	align-self: flex-start;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--jc-gold);
	color: var(--jc-ink);
	font-size: 12px;
	line-height: 1.3;
}

/* Travel security intro: heading left, description right, spanning the card row */
.jc-section#travel-security .jc-head-text {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	column-gap: 64px;
	row-gap: 14px;
	max-width: none;
	padding-bottom: 8px;
}
.jc-section#travel-security .jc-head-text .jc-eyebrow,
.jc-section#travel-security .jc-head-text h2 { grid-column: 1; }
.jc-section#travel-security .jc-head-text .jc-lead {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: end;
	max-width: 640px;
}
@media (max-width: 900px) {
	.jc-section#travel-security .jc-head-text { grid-template-columns: minmax(0, 1fr); }
	.jc-section#travel-security .jc-head-text .jc-lead { grid-column: 1; grid-row: auto; }
}

/* ---------- Accessibility (WCAG 2.2 AA) ---------- */
/* Screen-reader-only headings keep the heading order correct */
.jc-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Form field borders at 3:1 or better so fields are easy to find */
.jc-form input, .jc-form select, .jc-form textarea,
.jc-site-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.jc-site-form select, .jc-site-form textarea { border-color: #857a6b; }
.jc-news-card .jc-signup input[type="email"] { border-color: rgba(23, 20, 15, 0.6); }
/* Header links over the video get a soft shadow for extra legibility */
body.transparent-header #masthead .site-title,
body.transparent-header #masthead .header-navigation .menu > li > a { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45); }
/* Clear keyboard focus on dark and gold backgrounds */
.jc-dark :focus-visible, .jc-video-hero :focus-visible { outline-color: #fff; }
.jc-news-card :focus-visible, .jc-btn-gold :focus-visible, .jc-btn-primary :focus-visible { outline-color: var(--jc-ink); }

/* ---------- About page (v1.8) ---------- */
.jc-about-intro { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 110px); }
.jc-about-intro-cols { justify-content: space-between; gap: clamp(32px, 5vw, 80px) !important; }
.jc-about-intro .jc-page-title { margin-top: 14px; }
.jc-about-intro .jc-lead { margin-top: 20px; }
.jc-section .jc-container .jc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.jc-roles span { display: inline-block; padding: 6px 14px; border: 1px solid var(--jc-line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--jc-ink); background: var(--jc-white); }
.jc-about-intro .wp-block-buttons { margin-top: 28px; gap: 12px; }
.jc-about-portrait { position: relative; isolation: isolate; margin: 0 24px 24px 0 !important; }
.jc-about-portrait::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--jc-gold); border-radius: var(--jc-radius); z-index: -1; }
.jc-about-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--jc-radius); }

.jc-about-roles .jc-head-text, .jc-about-work .jc-head-text { margin-bottom: 40px; }
.jc-role-card { background: var(--jc-white); }
.jc-role-card .jc-num { color: var(--jc-accent-text); font-family: var(--jc-head); font-weight: 600; font-size: 15px; margin: 0; }
.jc-role-card .jc-textlink { margin-top: auto; padding-top: 8px; }
.jc-role-card, .jc-work-card { display: flex; flex-direction: column; }
.jc-work-card .wp-block-buttons { margin-top: auto; padding-top: 12px; }

.jc-story .jc-story-cols { align-items: flex-start; }
.jc-section .jc-container .jc-pullquote { font-family: var(--jc-head); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.22; letter-spacing: -0.02em; font-weight: 500; color: var(--jc-ink); margin: 18px 0 0; padding-left: 22px; border-left: 4px solid var(--jc-gold); }
.jc-story-title { margin-bottom: 16px; }
.jc-welcome { font-weight: 600; color: var(--jc-ink); }

.jc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.jc-road-fig { margin: 0 !important; }
.jc-road-fig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--jc-radius); }
.jc-road-fig figcaption { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--jc-ink); text-align: left; }

@media (min-width: 1100px) {
	.jc-story .jc-story-cols > .wp-block-column:first-child { position: sticky; top: 110px; }
}
@media (max-width: 900px) {
	.jc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.jc-about-intro-cols { flex-direction: column-reverse; }
	.jc-about-portrait { max-width: 440px; }
}
@media (max-width: 600px) {
	.jc-about-portrait { margin: 0 14px 14px 0 !important; }
	.jc-about-portrait::before { inset: 14px -14px -14px 14px; }
	.jc-about-intro .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.jc-about-intro .wp-block-button__link { width: 100%; justify-content: center; }
}

/* ---------- Destinations hub (v1.9) ---------- */
#senegal, #west-africa, #europe, #rest-of-the-world { scroll-margin-top: 96px; }
.jc-section .jc-container .jc-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; }
.jc-jump-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jc-subtle); margin-right: 6px; }
.jc-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--jc-ink); color: var(--jc-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.jc-jump a:hover, .jc-jump a:focus-visible { background: var(--jc-gold); border-color: var(--jc-gold); color: var(--jc-ink); }

.jc-feature-cols { justify-content: space-between; gap: clamp(32px, 5vw, 72px) !important; }
.jc-feature-img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--jc-radius); }
.jc-section .jc-container .jc-feature-title { font-size: clamp(44px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; margin: 12px 0 20px; }
.jc-dest-feature .jc-meta { margin-top: 24px; }
.jc-places { margin-top: 10px !important; }
.jc-places span { background: transparent; }
.jc-dest-feature .wp-block-buttons { margin-top: 28px; gap: 12px; }

.jc-start { margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--jc-line-2); }
.jc-section .jc-container .jc-start-title { margin: 0 0 24px; font-size: 22px; }
.jc-guide-card { display: flex; flex-direction: column; gap: 10px; }
.jc-guide-img { margin: 0 0 6px !important; }
.jc-guide-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--jc-radius); }
.jc-section .jc-container .jc-guide-title { font-size: 20px; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jc-guide-title a { color: var(--jc-ink); text-decoration: none; }
.jc-guide-title a:hover, .jc-guide-title a:focus-visible { color: var(--jc-accent-text); text-decoration: underline; }
.jc-guide-card .jc-meta { margin: 0; }

.jc-dest-regions .jc-head-text { margin-bottom: 40px; }
.jc-region-card { display: flex; flex-direction: column; }
.jc-region-card .jc-meta { margin: -4px 0 0; }
.jc-region-card .jc-textlink { margin-top: auto; padding-top: 8px; }

@media (max-width: 900px) {
	.jc-feature-cols { flex-direction: column; }
	.jc-feature-img img { aspect-ratio: 4 / 3; }
}

/* ---------- Topic sections (v2.0) ---------- */
.jc-focus-head { margin-bottom: 40px; max-width: 640px; }
.jc-pillars .jc-focus-item { display: flex; flex-direction: column; }
.jc-section .jc-container .jc-on-dark-link { margin-top: auto; padding-top: 8px; }
.jc-on-dark-link a { color: var(--jc-gold); }
.jc-on-dark-link a:hover, .jc-on-dark-link a:focus-visible { color: var(--jc-gold-light); text-decoration: underline; }
.jc-theme-card { background: var(--jc-white); }
.jc-themes .jc-head-text, .jc-stories .jc-head-text { margin-bottom: 32px; }
.jc-series-tight { padding-top: 0 !important; }
#documentaries, #conversations, #articles, #travel-films, #regions, #travel-stories, #safety-articles { scroll-margin-top: 96px; }
/* YouTube item in the Kadence menu */
.header-navigation .menu > li.jc-menu-yt > a { background: var(--jc-gold); color: var(--jc-ink) !important; border-radius: 999px; padding: 8px 18px !important; margin-left: 8px; }
.header-navigation .menu > li.jc-menu-yt > a:hover { background: var(--jc-gold-light); }

/* Home About section mirrors the About page intro */
.jc-about .jc-about-cols { justify-content: space-between; gap: clamp(32px, 5vw, 72px) !important; }
.jc-about .jc-about-portrait { max-width: 460px; }
.jc-about .jc-roles { margin: 22px 0 22px; }
.jc-about .jc-welcome { margin-bottom: 18px; }

/* ---------- Footer (v2.1): dark, grouped, with legal links ---------- */
.jc-site-footer { background: #17140f; border-top: 0; color: var(--jc-on-dark-2); }
.site-footer, .site-footer .site-footer-row-container-inner { background: #17140f; }
.jc-footer { padding: clamp(56px, 6vw, 88px) 0 32px; }
.jc-footer .jc-container { gap: 48px; }
.jc-footer, .jc-footer .jc-body { color: var(--jc-on-dark-2); }
.jc-footer .jc-footer-name { color: var(--jc-on-dark); }
.jc-footer .jc-kicker { color: var(--jc-gold); }
.jc-footer a { color: var(--jc-on-dark); text-decoration: none; }
.jc-footer a:hover, .jc-footer a:focus-visible { color: var(--jc-gold); text-decoration: underline; }
.jc-footer :focus-visible { outline-color: #fff; }
.jc-footer .jc-footer-mail { margin-top: 6px; font-weight: 600; }
.jc-footer .jc-footer-mail a { color: var(--jc-gold); }
.jc-footer-cols { justify-content: space-between; }
.jc-footer-bottom { border-top-color: var(--jc-dark-line); }
.jc-footer .jc-legal, .jc-footer .jc-legal a { color: var(--jc-on-dark-2); }
.jc-footer .jc-legal-links a { margin-left: 24px; }
@media (max-width: 600px) {
	.jc-footer .jc-legal-links a { margin: 0 20px 0 0; }
}

/* Travel: "Where next" band */
.jc-where { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(24px, 3vw, 48px); }
.jc-where-next { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; }
.jc-where-next .jc-head-text { max-width: 640px; }
.jc-where-next .jc-head-text .jc-body-lg { margin-top: 14px; }
.jc-where-next .wp-block-buttons { gap: 12px; }
@media (max-width: 600px) { .jc-where-next .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; } .jc-where-next .wp-block-button__link { width: 100%; justify-content: center; } }
.jc-where-next .jc-head-text { flex: 1 1 460px; }
.jc-where-next .wp-block-buttons { flex: 0 0 auto; }

/* ---------- Travel slider hero (v2.3) ---------- */
.jc-travel-slider { position: relative; background: #17140f; color: #fff; padding: 0 !important; overflow: hidden; }
.jc-slide { position: relative; display: flex; align-items: center; box-sizing: border-box; min-height: min(100svh, 900px); background: #17140f; padding: clamp(120px, 16vh, 170px) var(--jc-gutter) clamp(104px, 13vh, 140px); }
.jc-slide .jc-slide-img { position: absolute; top: 0; right: 0; bottom: 0; width: min(66%, 940px); margin: 0 !important; z-index: 0; }
.jc-slide .jc-slide-img img { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: #17140f; object-fit: cover; object-position: 50% 45%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.jc-slide .jc-slide-img img[src*="slide-lacrose"] { object-position: 35% 62%; }
.jc-slide .jc-slide-img img[src*="slide-dakar"] { object-position: 50% 58%; }
.jc-slide .jc-slide-img img[src*="slide-bandia"] { object-position: 62% 55%; }
.jc-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(0deg, rgba(12, 10, 8, 0.7) 0, rgba(12, 10, 8, 0) 32%), linear-gradient(180deg, rgba(12, 10, 8, 0.65) 0, rgba(12, 10, 8, 0) 180px); }
.jc-slide .jc-container { position: relative; z-index: 2; width: 100%; }
.jc-section .jc-container .jc-slide-content { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 540px; }
.jc-section .jc-container .jc-slide-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jc-gold); }
.jc-slide-eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--jc-gold); }
.jc-section .jc-container .jc-slide-title { margin: 0; color: #fff; font-size: clamp(48px, 6.4vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.jc-slide-title mark { background: none !important; color: var(--jc-gold); }
.jc-section .jc-container .jc-slide-lead { margin: 0; max-width: 460px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.jc-slide .wp-block-buttons { margin-top: 6px !important; gap: 12px; }
.jc-slide :focus-visible { outline-color: #fff; }

/* Slider behaviour once the script is ready (html.jc-js is set in the page head) */
.jc-js .jc-travel-slider .jc-slides { position: relative; min-height: min(100svh, 900px); }
.jc-js .jc-travel-slider .jc-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.jc-js .jc-travel-slider .jc-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 0.7s ease; }

.jc-slider-ui { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 10px; }
.jc-slider-ui button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; background: rgba(12, 10, 8, 0.45); color: #fff; cursor: pointer; }
.jc-slider-ui button:hover, .jc-slider-ui button:focus-visible { background: #fff; color: var(--jc-ink); outline: 2px solid #fff; outline-offset: 2px; }
.jc-slider-ui .jc-dots { display: flex; align-items: center; }
.jc-slider-ui .jc-dots button { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 0; }
.jc-slider-ui .jc-dots button::after { content: ""; display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transition: width 0.25s ease, background 0.25s ease; }
.jc-slider-ui .jc-dots button[aria-current="true"]::after { width: 26px; background: var(--jc-gold); }
.jc-slider-ui .jc-dots button:hover, .jc-slider-ui .jc-dots button:focus-visible { background: transparent; }
.jc-slider-ui .jc-ico-play { display: none; }
.jc-slider-ui .jc-pause[aria-pressed="true"] .jc-ico-pause { display: none; }
.jc-slider-ui .jc-pause[aria-pressed="true"] .jc-ico-play { display: block; }

@media (max-width: 760px) {
	.jc-slide { align-items: flex-end; padding-bottom: 112px; padding-top: 110px; }
	.jc-slide .jc-slide-img { width: 100%; }
	.jc-slide .jc-slide-img img { -webkit-mask-image: none; mask-image: none; object-position: 50% 30%; }
	.jc-slide .jc-slide-img img[src*="slide-lacrose"] { object-position: 30% 50%; }
	.jc-slide::after { background: linear-gradient(0deg, rgba(12, 10, 8, 0.95) 0, rgba(12, 10, 8, 0.75) 45%, rgba(12, 10, 8, 0.15) 75%, rgba(12, 10, 8, 0.55) 100%); }
	.jc-section .jc-container .jc-slide-content { max-width: none; }
	.jc-slide .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.jc-slide .wp-block-button__link { width: 100%; justify-content: center; }
	.jc-slider-ui { bottom: 24px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.jc-js .jc-travel-slider .jc-slide, .jc-js .jc-travel-slider .jc-slide.is-active { transition: none; }
}

/* Travel filter (v2.6): faceted toolbar */
.jc-toolbar, .jc-applied, .jc-more-wrap { display: none; }
.jc-js .jc-filter-wrap .jc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin: 0 0 4px; border-top: 1px solid var(--jc-line-2); border-bottom: 1px solid var(--jc-line-2); }
.jc-js .jc-filter-wrap .jc-applied:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.jc-js .jc-filter-wrap .jc-more-wrap:not([hidden]) { display: block; text-align: center; margin: 36px 0 0; }
.jc-filter-wrap .jc-posts { margin-top: 28px; }
.jc-count { margin: 0; font-size: 16px; font-weight: 600; color: var(--jc-ink); }
.jc-tools { display: flex; align-items: center; gap: 12px; }
.jc-facet { position: relative; }
.jc-facet-btn, .jc-sort-sel { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 16px; border: 1px solid var(--jc-line-2); border-radius: 10px; background: var(--jc-white); color: var(--jc-ink); cursor: pointer; }
.jc-facet-btn { display: inline-flex; align-items: center; gap: 10px; }
.jc-facet-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.jc-facet-btn[aria-expanded="true"] { border-color: var(--jc-ink); }
.jc-facet-btn[aria-expanded="true"]::after { transform: rotate(-135deg); }
.jc-facet-n { min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--jc-gold); color: #1a1a1a; font-size: 13px; line-height: 22px; text-align: center; }
.jc-facet-btn:hover, .jc-sort-sel:hover { border-color: var(--jc-ink); }
.jc-facet-btn:focus-visible, .jc-sort-sel:focus-visible, .jc-facet-search:focus-visible, .jc-opt input:focus-visible, .jc-pill:focus-visible, .jc-clear-all:focus-visible, .jc-facet-clear:focus-visible, .jc-facet-done:focus-visible, .jc-facet-close:focus-visible { outline: 3px solid var(--jc-ink); outline-offset: 2px; }
.jc-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--jc-ink); }
.jc-facet-panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(380px, 90vw); background: var(--jc-white); border: 1px solid var(--jc-line-2); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.16); padding: 14px; box-sizing: border-box; }
.jc-facet-head { display: none; }
.jc-facet-search { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 14px; font: inherit; font-size: 16px; border: 1px solid var(--jc-line-2); border-radius: 10px; }
.jc-facet-list { max-height: 300px; overflow-y: auto; margin: 10px -4px 0; padding: 0 4px; }
.jc-facet-group { border: 0; margin: 0; padding: 0 0 6px; min-width: 0; }
.jc-facet-group[hidden], .jc-opt[hidden] { display: none; }
.jc-facet-group legend { padding: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5a554d; }
.jc-opt { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px; border-radius: 8px; cursor: pointer; font-size: 16px; }
.jc-opt:hover { background: #f4f1ec; }
.jc-opt input { width: 20px; height: 20px; margin: 0; accent-color: #1a1a1a; flex: none; }
.jc-opt-name { flex: 1; }
.jc-opt-n { font-size: 14px; color: #5a554d; }
.jc-facet-none { margin: 12px 0; }
.jc-facet-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--jc-line-2); }
.jc-facet-clear { font: inherit; font-weight: 600; background: none; border: 0; padding: 10px 4px; text-decoration: underline; cursor: pointer; color: var(--jc-ink); }
.jc-facet-done { font: inherit; font-weight: 700; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: var(--jc-gold); color: #1a1a1a; cursor: pointer; }
.jc-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px 4px 16px; font: inherit; font-size: 15px; font-weight: 600; border: 1px solid var(--jc-ink); border-radius: 999px; background: var(--jc-white); color: var(--jc-ink); cursor: pointer; }
.jc-pill i { font-style: normal; font-size: 20px; line-height: 1; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.jc-pill:hover i { background: #ece7de; }
.jc-clear-all { font: inherit; font-weight: 600; background: none; border: 0; padding: 8px; color: var(--jc-accent-text); text-decoration: underline; cursor: pointer; }
.jc-filter-empty { padding: 40px 0; text-align: center; font-size: 18px; }
.jc-filter-wrap li[hidden], .jc-filter-wrap ul[hidden] { display: none !important; }
.jc-facet-bg { display: none; }
@media (max-width: 700px) {
	.jc-tools { width: 100%; justify-content: space-between; }
	.jc-facet-bg:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.5); }
	.jc-facet-panel { position: fixed; z-index: 100; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 85vh; border-radius: 18px 18px 0 0; padding: 16px; display: flex; flex-direction: column; }
	.jc-facet-panel[hidden] { display: none; }
	.jc-facet-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
	.jc-facet-close { font: inherit; font-size: 28px; line-height: 1; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
	.jc-facet-list { max-height: none; flex: 1; }
}
.jc-filter-wrap ul.jc-posts { margin-top: 28px !important; }
.jc-footer .jc-footer-logo { margin: 0 0 4px; } .jc-footer .jc-footer-logo img { width: 64px; height: 64px; border-radius: 14px; display: block; }

/* Story date pill: win over older site CSS that styled dates gold on gold */
.jc-posts .wp-block-latest-posts__post-date,
.jc-posts time.wp-block-latest-posts__post-date {
	background: var(--jc-gold) !important;
	color: #17130e !important;
	-webkit-text-fill-color: #17130e !important;
	text-shadow: none !important;
	opacity: 1 !important;
	text-transform: uppercase;
}

/* History slider (v2.8.0) */
.jc-slide .jc-slide-img img[src*="slide-history-2"] { object-position: 28% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.jc-slide .jc-slide-img img[src*="slide-history-3"] { object-position: 78% 50%; filter: brightness(0.8); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%); mask-image: linear-gradient(90deg, transparent 0, #000 46%); }
@media (max-width: 760px) { .jc-slide .jc-slide-img img[src*="slide-history-3"] { filter: brightness(0.5); object-position: 85% 50%; } }
/* History hero slider: intro band under the slider */
.jc-page-intro { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(24px, 3vw, 40px); }

/* Photo credit on slider images */
.jc-slide .jc-slide-img { position: absolute; }
.jc-slide .jc-photo-credit { position: absolute; right: 14px; bottom: 74px; z-index: 3; margin: 0; padding: 3px 8px; border-radius: 4px; background: rgba(12, 10, 8, 0.6); font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }
.jc-slide .jc-photo-credit a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.jc-slide .jc-slide-img img[src*="slide-history-1"] { object-fit: contain; object-position: 100% 50%; background: transparent; filter: brightness(0.66) contrast(1.1) sepia(0.2); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-composite: intersect; }
@media (max-width: 760px) { .jc-slide .jc-slide-img img[src*="slide-history-1"] { object-position: 50% 14%; filter: brightness(0.6) contrast(1.1) sepia(0.2); -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); } }
@media (max-width: 760px) { .jc-slide .jc-photo-credit { right: 8px; bottom: 80px; font-size: 11px; } }

/* Slim "Jump to" bar under the History slider */
.jc-page-intro.jc-jump-bar { padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--jc-line, rgba(0,0,0,0.12)); }
.jc-section .jc-container .jc-jump-bar .jc-jump, .jc-jump-bar .jc-jump { margin: 0; }

/* Cookie notice and legal pages (v2.8.0) */
.jc-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; max-width: 880px; margin: 0 auto; padding: 16px 20px; background: #17140f; color: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); font-size: 15px; line-height: 1.5; }
.jc-cookie[hidden] { display: none; }
.jc-cookie p { flex: 1 1 340px; margin: 0; }
.jc-cookie a { color: var(--jc-gold, #DFAD3A); text-decoration: underline; text-underline-offset: 2px; }
.jc-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.jc-cookie-btn { min-height: 44px; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid #fff; background: transparent; color: #fff; }
.jc-cookie-btn.jc-cookie-all { background: var(--jc-gold, #DFAD3A); border-color: var(--jc-gold, #DFAD3A); color: #17140f; }
.jc-cookie-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.jc-cookie-reopen { min-height: 44px; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--jc-ink, #17140f); background: transparent; color: var(--jc-ink, #17140f); }
.jc-cookie-reopen:hover, .jc-cookie-reopen:focus-visible { background: var(--jc-gold, #DFAD3A); border-color: var(--jc-gold, #DFAD3A); }
.jc-legal-hero { padding-bottom: 8px; }
.jc-legal-body .jc-prose { max-width: 760px; }
.jc-legal-body .jc-h3 { margin-top: 2.2rem; }
.jc-legal-body .jc-h4 { margin: 1.4rem 0 0.4rem; font-size: 1.1rem; }
.jc-legal-body .jc-list { margin: 0 0 1rem 1.2rem; }
@media (max-width: 600px) { .jc-cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; } .jc-cookie-actions { width: 100%; } .jc-cookie-btn { flex: 1; } }
.jc-legal-body .wp-block-heading { margin-bottom: 0.5rem; }
.jc-legal-body .jc-body { margin: 0 0 1rem; }
.jc-legal-body .wp-block-group.jc-prose > * + * { margin-block-start: 0; }
.jc-gate-note { margin: 24px 0; padding: 16px 20px; border: 1px dashed var(--jc-line, rgba(0,0,0,0.25)); border-radius: 12px; background: #faf7f0; font-size: 15px; }
.jc-gate-note p { margin: 0; }

/* ---------- Blog post template (v2.9.0) ---------- */
.jc-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80; background: transparent; pointer-events: none; }
.jc-progress span { display: block; height: 100%; width: 0; background: var(--jc-gold); }
.jc-post { color: var(--jc-ink); }
.jc-post-wrap, .jc-post-hero, .jc-post-grid, .jc-post-author, .jc-post-next { width: min(1280px, 100% - 2 * var(--jc-gutter)); margin-left: auto; margin-right: auto; }
.jc-post-head { padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.jc-post-wrap { max-width: 860px; margin-left: max(var(--jc-gutter), calc((100% - 1280px) / 2)); }
.jc-post-crumb { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jc-subtle); }
.jc-post-crumb a { color: var(--jc-accent-text); text-decoration: none; }
.jc-post-crumb a:hover { text-decoration: underline; }
.jc-post-title { margin: 0 0 18px; font-family: var(--jc-head); font-weight: 600; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; color: var(--jc-ink); text-wrap: balance; }
.jc-post-deck { margin: 0 0 26px; max-width: 700px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--jc-text); }
.jc-post-by { display: flex; align-items: center; gap: 14px; }
.jc-post-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.jc-post-by p { margin: 0; }
.jc-post-name { font-weight: 600; font-size: 16px; }
.jc-post-name a { color: var(--jc-ink); text-decoration: none; }
.jc-post-name a:hover { color: var(--jc-accent-text); }
.jc-post-meta { display: flex; gap: 8px; font-size: 14px; color: var(--jc-subtle); }
.jc-post-hero img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 18px; }
.jc-post-hero figcaption { margin-top: 10px; font-size: 14px; color: var(--jc-subtle); }
.jc-post-grid { display: grid; grid-template-columns: 120px minmax(0, 720px); gap: 40px; padding: clamp(32px, 4vw, 56px) 0; justify-content: start; }
.jc-post-rail { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.jc-post-rail-label { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-subtle); }
.jc-post-rail a { color: var(--jc-ink); text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 1px solid var(--jc-line); }
.jc-post-rail a:hover { color: var(--jc-accent-text); border-color: var(--jc-accent-text); }
.jc-post-body { font-size: 20px; line-height: 1.72; color: var(--jc-ink-2); }
.jc-post-body p { margin: 0 0 1.25em; }
.jc-post-body h2 { margin: 2em 0 0.6em; font-family: var(--jc-head); font-weight: 600; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--jc-ink); }
.jc-post-brief { margin: 0 0 2em; padding: 22px 26px; background: var(--jc-sand); border-left: 4px solid var(--jc-gold); border-radius: 0 14px 14px 0; font-size: 18px; line-height: 1.55; }
.jc-post-brief-label { margin: 0 0 8px !important; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-accent-text); }
.jc-post-brief ul { margin: 0; padding-left: 1.1em; }
.jc-post-brief li + li { margin-top: 6px; }
.jc-post-quote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--jc-gold); }
.jc-post-quote p { margin: 0 !important; font-family: var(--jc-head); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--jc-ink); }
.jc-post-offer { margin: 2em 0; padding: 20px 24px; border: 1px solid var(--jc-line); border-radius: 14px; background: #fff; font-size: 17px; line-height: 1.55; }
.jc-post-offer p { margin: 0 0 0.6em; }
.jc-post-offer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-subtle); }
.jc-post-disclose { margin: 0 !important; font-size: 14px; color: var(--jc-subtle); }
.jc-post-disclose a { color: var(--jc-accent-text); }
.jc-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2.2em !important; padding-top: 1.2em; border-top: 1px solid var(--jc-line); font-size: 14px; }
.jc-post-tags span { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; color: var(--jc-subtle); margin-right: 2px; }
.jc-post-tags span:not(:first-child) { margin-left: 12px; }
.jc-post-tags a { padding: 6px 14px; border: 1px solid var(--jc-ink); border-radius: 999px; color: var(--jc-ink); text-decoration: none; font-weight: 600; }
.jc-post-tags a:hover { background: var(--jc-gold); border-color: var(--jc-gold); }
.jc-post-author { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; margin-bottom: 40px; padding: 28px; background: var(--jc-sand); border-radius: 20px; }
.jc-post-author img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.jc-post-author h2 { margin: 2px 0 8px; font-family: var(--jc-head); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.jc-post-author p { margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--jc-text); }
.jc-post-author .jc-eyebrow { margin: 0; font-size: 13px; }
.jc-post-author-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.jc-btn-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--jc-ink); border-radius: 999px; color: var(--jc-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.jc-btn-link:hover, .jc-btn-link:focus-visible { background: var(--jc-gold); border-color: var(--jc-gold); }
.jc-post-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.jc-post-next a { display: block; padding: 18px 22px; border: 1px solid var(--jc-line); border-radius: 14px; color: var(--jc-ink); text-decoration: none; font-family: var(--jc-head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.jc-post-next a:last-child { text-align: right; }
.jc-post-next a:hover { border-color: var(--jc-ink); }
.jc-post-next span { display: block; margin-bottom: 6px; font-family: var(--jc-body); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jc-subtle); }
@media (max-width: 980px) {
	.jc-post-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.jc-post-rail { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--jc-line); }
	.jc-post-rail-label { margin: 0; }
	.jc-post-rail a { border: 0; padding: 4px 0; }
	.jc-post-body { font-size: 19px; }
}
@media (max-width: 640px) {
	.jc-post-hero img { aspect-ratio: 4 / 3; border-radius: 12px; }
	.jc-post-author { grid-template-columns: 1fr; text-align: left; padding: 22px; }
	.jc-post-author img { width: 104px; height: 104px; }
	.jc-post-next { grid-template-columns: 1fr; }
	.jc-post-next a:last-child { text-align: left; }
}

/* Single post: remove the theme's sidebar, title card, featured image, author box (v2.9.0) */
.jc-post-page #secondary, .jc-post-page .primary-sidebar, .jc-post-page aside.sidebar,
.jc-post-page .entry-hero, .jc-post-page .post-hero-section, .jc-post-page .entry-header,
.jc-post-page .post-thumbnail, .jc-post-page .entry-meta, .jc-post-page .entry-taxonomies,
.jc-post-page .entry-author, .jc-post-page .author-box, .jc-post-page .post-navigation,
.jc-post-page .entry-related, .jc-post-page .entry-footer { display: none !important; }
.jc-post-page .content-container, .jc-post-page .site-container.content-container { max-width: none !important; padding: 0 !important; }
.jc-post-page #primary, .jc-post-page .content-area { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.jc-post-page .entry-content-wrap, .jc-post-page .entry.single-entry, .jc-post-page .entry-content { padding: 0 !important; margin: 0 !important; max-width: none !important; background: transparent !important; box-shadow: none !important; }
.jc-post-page .content-wrap { padding-top: 0 !important; }
.jc-post-page .comments-area { width: min(860px, 100% - 2 * var(--jc-gutter)); margin: 0 auto 60px; }
.jc-post-more .jc-container { width: min(1280px, 100% - 2 * var(--jc-gutter)); margin: 0 auto; }
.jc-post-more { padding: clamp(40px, 5vw, 72px) 0; }
.jc-post-news { background: var(--jc-sand, #f6f1e7); padding: clamp(36px, 5vw, 64px) 0; }
.jc-post-news .jc-container { width: min(1280px, 100% - 2 * var(--jc-gutter)); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.jc-post-news h2 { margin: 0 0 6px; }
.jc-post-news p { margin: 0; }
.jc-post-body img, .jc-post-body figure { max-width: 100%; height: auto; }
.jc-post-body a { color: var(--jc-accent-text); }

/* Posts always get a solid header, even if the theme has a transparent header switched on for posts */
body.jc-post-page.transparent-header #masthead .site-header-row-container-inner { background: var(--jc-ground, #fff); border-bottom: 1px solid var(--jc-line, #e7e3da); }
body.jc-post-page.transparent-header #masthead .header-navigation .menu > li > a { color: var(--jc-ink, #17140f); text-shadow: none; }
body.jc-post-page.transparent-header #masthead .site-branding a, body.jc-post-page.transparent-header #masthead .site-title { color: var(--jc-ink, #17140f); }
body.jc-post-page.transparent-header .transparent-header-logo, body.jc-post-page .site-branding .custom-logo-link { display: inline-block !important; opacity: 1 !important; }


/* Header: the logo or icon always comes before the site name (v2.9.0) */
.site-branding a.brand, .mobile-site-branding a.brand { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 12px; }
.site-branding a.brand > img, .site-branding a.brand > .kadence-site-logo, .site-branding a.brand > picture,
.mobile-site-branding a.brand > img, .mobile-site-branding a.brand > picture, .site-branding a.brand::before, .mobile-site-branding a.brand::before { order: -1 !important; }
.site-branding a.brand > .site-title-wrap, .mobile-site-branding a.brand > .site-title-wrap { order: 1 !important; margin: 0 !important; }


/* Posts: one centred column, about 900px, like the old post width (v2.9.1) */
.jc-post-wrap, .jc-post-hero, .jc-post-grid, .jc-post-author, .jc-post-next { width: min(900px, 100% - 2 * var(--jc-gutter)); max-width: none; margin-left: auto; margin-right: auto; }
.jc-post-title { max-width: none; font-size: clamp(30px, 4vw, 46px); }
.jc-post-deck { max-width: none; }
.jc-post-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.jc-post-rail { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-bottom: 14px; border-bottom: 1px solid var(--jc-line); }
.jc-post-rail-label { margin: 0; }
.jc-post-rail a { border: 0; padding: 4px 0; }
.jc-post-body { max-width: none; font-size: 20px; line-height: 1.72; }
@media (max-width: 980px) { .jc-post-body { font-size: 19px; } }

/* Share links back in the left margin, text still lines up with the title (v2.9.3) */
@media (min-width: 1180px) {
	.jc-post-grid { width: 1040px; max-width: none; margin-left: calc(50% - 590px); margin-right: auto; grid-template-columns: 120px minmax(0, 900px); gap: 20px; }
	.jc-post-rail { position: sticky; top: 96px; align-self: start; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding-bottom: 0; border-bottom: 0; }
	.jc-post-rail-label { margin: 0 0 4px; }
	.jc-post-rail a { border-bottom: 1px solid var(--jc-line); padding: 6px 0; }
}

/* Pages without a dark hero keep a solid header with dark text, even if the theme setting says transparent (v2.9.4) */
body.jc-solid-header.transparent-header #masthead .site-header-row-container-inner { background: var(--jc-ground, #fff) !important; border-bottom: 1px solid var(--jc-line, #e7e3da); }
body.jc-solid-header.transparent-header #masthead .header-navigation .menu > li > a { color: var(--jc-ink, #17140f) !important; text-shadow: none !important; }
body.jc-solid-header.transparent-header #masthead .header-navigation .menu > li.current-menu-item > a,
body.jc-solid-header.transparent-header #masthead .header-navigation .menu > li > a:hover { color: var(--jc-accent-text, #c4451c) !important; }
body.jc-solid-header.transparent-header #masthead .header-navigation .menu > li.jc-menu-yt > a { color: var(--jc-ink, #17140f) !important; }
body.jc-solid-header.transparent-header #masthead .site-title, body.jc-solid-header.transparent-header #masthead .site-title a, body.jc-solid-header.transparent-header #masthead .site-branding a { color: var(--jc-ink, #17140f) !important; text-shadow: none !important; }
body.jc-solid-header.transparent-header #masthead .header-button-wrap .header-button { background: var(--jc-gold); color: var(--jc-ink, #17140f); }
body.jc-solid-header.transparent-header #masthead .site-header-item .kadence-svg-iconset, body.jc-solid-header.transparent-header #masthead .social-button { color: var(--jc-ink, #17140f); }
